
int rpl_re_compile_fastmap(re_pattern_buffer *bufp)

{
  regex_t *bufp_00;
  re_dfa_t *prVar1;
  re_dfastate_t *prVar2;
  uint uVar3;
  undefined4 *puVar4;
  re_dfastate_t *in_stack_ffffffd8;
  char *in_stack_ffffffdc;
  re_dfastate_t *in_stack_ffffffe0;
  
  bufp_00 = (regex_t *)bufp->fastmap;
  prVar1 = bufp->buffer;
  bufp_00->buffer = (re_dfa_t *)0x0;
  *(undefined4 *)&bufp_00[7].field_0x1c = 0;
  puVar4 = (undefined4 *)((uint)&bufp_00->allocated & 0xfffffffc);
  uVar3 = (uint)((int)bufp_00 + (0x100 - (int)puVar4)) >> 2;
  for (; uVar3 != 0; uVar3 = uVar3 - 1) {
    *puVar4 = 0;
    puVar4 = puVar4 + 1;
  }
  re_compile_fastmap_iter(bufp_00,in_stack_ffffffd8,in_stack_ffffffdc,in_stack_ffffffe0);
  prVar2 = prVar1->init_state_word;
  if (prVar1->init_state != prVar2) {
    re_compile_fastmap_iter(bufp_00,in_stack_ffffffd8,in_stack_ffffffdc,in_stack_ffffffe0);
    prVar2 = prVar1->init_state;
  }
  if (prVar1->init_state_nl != prVar2) {
    re_compile_fastmap_iter(bufp_00,in_stack_ffffffd8,in_stack_ffffffdc,in_stack_ffffffe0);
    prVar2 = prVar1->init_state;
  }
  if (prVar1->init_state_begbuf != prVar2) {
    re_compile_fastmap_iter(bufp_00,in_stack_ffffffd8,in_stack_ffffffdc,in_stack_ffffffe0);
  }
  bufp->field_0x1c = bufp->field_0x1c | 8;
  return 0;
}



undefined4 FUN_00023950(int *param_1)

{
  undefined4 *puVar1;
  int iVar2;
  int iVar3;
  uint uVar4;
  undefined4 *puVar5;
  
  puVar1 = (undefined4 *)param_1[4];
  iVar2 = *param_1;
  *puVar1 = 0;
  puVar1[0x3f] = 0;
  puVar5 = (undefined4 *)((uint)(puVar1 + 1) & 0xfffffffc);
  for (uVar4 = (uint)((int)puVar1 + (0x100 - (int)((uint)(puVar1 + 1) & 0xfffffffc))) >> 2;
      uVar4 != 0; uVar4 = uVar4 - 1) {
    *puVar5 = 0;
    puVar5 = puVar5 + 1;
  }
  FUN_0001c6e0(puVar1);
  iVar3 = *(int *)(iVar2 + 0x28);
  if (*(int *)(iVar2 + 0x24) != iVar3) {
    FUN_0001c6e0(puVar1);
    iVar3 = *(int *)(iVar2 + 0x24);
  }
  if (*(int *)(iVar2 + 0x2c) != iVar3) {
    FUN_0001c6e0(puVar1);
    iVar3 = *(int *)(iVar2 + 0x24);
  }
  if (*(int *)(iVar2 + 0x30) != iVar3) {
    FUN_0001c6e0(puVar1);
  }
  *(byte *)(param_1 + 7) = *(byte *)(param_1 + 7) | 8;
  return 0;
}


PUSH EBP
XOR EAX,EAX
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x18
MOV EBX,dword ptr [ESP + 0x2c]
MOV ESI,dword ptr [EBX + 0x10]
MOV EBP,dword ptr [EBX]
LEA EDI,[ESI + 0x4]
MOV ECX,ESI
MOV dword ptr [ESI],0x0
MOV dword ptr [ESI + 0xfc],0x0
AND EDI,0xfffffffc
SUB ECX,EDI
ADD ECX,0x100
SHR ECX,0x2
STOSD.REP ES:EDI
MOV EAX,EBX
MOV EDX,dword ptr [EBP + 0x24]
PUSH ESI
LEA ECX,[EDX + 0xc]
ADD EDX,0x8
CALL 0x0001c6e0
MOV EAX,dword ptr [EBP + 0x28]
ADD ESP,0x10
CMP dword ptr [EBP + 0x24],EAX
JZ 0x000239ba
SUB ESP,0xc
LEA ECX,[EAX + 0xc]
LEA EDX,[EAX + 0x8]
MOV EAX,EBX
PUSH ESI
CALL 0x0001c6e0
MOV EAX,dword ptr [EBP + 0x24]
ADD ESP,0x10
MOV EDX,dword ptr [EBP + 0x2c]
CMP EDX,EAX
JZ 0x000239d8
SUB ESP,0xc
LEA ECX,[EDX + 0xc]
MOV EAX,EBX
ADD EDX,0x8
PUSH ESI
CALL 0x0001c6e0
MOV EAX,dword ptr [EBP + 0x24]
ADD ESP,0x10
MOV EDX,dword ptr [EBP + 0x30]
CMP EDX,EAX
JZ 0x000239f3
SUB ESP,0xc
LEA ECX,[EDX + 0xc]
MOV EAX,EBX
ADD EDX,0x8
PUSH ESI
CALL 0x0001c6e0
ADD ESP,0x10
OR byte ptr [EBX + 0x1c],0x8
ADD ESP,0xc
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "undefined4 FUN_00023950(int *param_1)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  undefined4 *puVar5;\n  \n  puVar1 = (undefined4 *)param_1[4];\n  iVar2 = *param_1;\n  *puVar1 = 0;\n  puVar1[0x3f] = 0;\n  puVar5 = (undefined4 *)((uint)(puVar1 + 1) & 0xfffffffc);\n  for (uVar4 = (uint)((int)puVar1 + (0x100 - (int)((uint)(puVar1 + 1) & 0xfffffffc))) >> 2;\n      uVar4 != 0; uVar4 = uVar4 - 1) {\n    *puVar5 = 0;\n    puVar5 = puVar5 + 1;\n  }\n  FUN_0001c6e0(puVar1);\n  iVar3 = *(int *)(iVar2 + 0x28);\n  if (*(int *)(iVar2 + 0x24) != iVar3) {\n    FUN_0001c6e0(puVar1);\n    iVar3 = *(int *)(iVar2 + 0x24);\n  }\n  if (*(int *)(iVar2 + 0x2c) != iVar3) {\n    FUN_0001c6e0(puVar1);\n    iVar3 = *(int *)(iVar2 + 0x24);\n  }\n  if (*(int *)(iVar2 + 0x30) != iVar3) {\n    FUN_0001c6e0(puVar1);\n  }\n  *(byte *)(param_1 + 7) = *(byte *)(param_1 + 7) | 8;\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_00023950(int *param_1)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  undefined4 *puVar5;\n  \n  puVar1 = (undefined4 *)param_1[4];\n  iVar2 = *param_1;\n  *puVar1 = 0;\n  puVar1[0x3f] = 0;\n  puVar5 = (undefined4 *)((uint)(puVar1 + 1) & 0xfffffffc);\n  for (uVar4 = (uint)((int)puVar1 + (0x100 - (int)((uint)(puVar1 + 1) & 0xfffffffc))) >> 2;\n      uVar4 != 0; uVar4 = uVar4 - 1) {\n    *puVar5 = 0;\n    puVar5 = puVar5 + 1;\n  }\n  FUN_0001c6e0(puVar1);\n  iVar3 = *(int *)(iVar2 + 0x28);\n  if (*(int *)(iVar2 + 0x24) != iVar3) {\n    FUN_0001c6e0(puVar1);\n    iVar3 = *(int *)(iVar2 + 0x24);\n  }\n  if (*(int *)(iVar2 + 0x2c) != iVar3) {\n    FUN_0001c6e0(puVar1);\n    iVar3 = *(int *)(iVar2 + 0x24);\n  }\n  if (*(int *)(iVar2 + 0x30) != iVar3) {\n    FUN_0001c6e0(puVar1);\n  }\n  *(byte *)(param_1 + 7) = *(byte *)(param_1 + 7) | 8;\n  return 0;\n}" type_identifier (function_declarator "FUN_00023950(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  undefined4 *puVar5;\n  \n  puVar1 = (undefined4 *)param_1[4];\n  iVar2 = *param_1;\n  *puVar1 = 0;\n  puVar1[0x3f] = 0;\n  puVar5 = (undefined4 *)((uint)(puVar1 + 1) & 0xfffffffc);\n  for (uVar4 = (uint)((int)puVar1 + (0x100 - (int)((uint)(puVar1 + 1) & 0xfffffffc))) >> 2;\n      uVar4 != 0; uVar4 = uVar4 - 1) {\n    *puVar5 = 0;\n    puVar5 = puVar5 + 1;\n  }\n  FUN_0001c6e0(puVar1);\n  iVar3 = *(int *)(iVar2 + 0x28);\n  if (*(int *)(iVar2 + 0x24) != iVar3) {\n    FUN_0001c6e0(puVar1);\n    iVar3 = *(int *)(iVar2 + 0x24);\n  }\n  if (*(int *)(iVar2 + 0x2c) != iVar3) {\n    FUN_0001c6e0(puVar1);\n    iVar3 = *(int *)(iVar2 + 0x24);\n  }\n  if (*(int *)(iVar2 + 0x30) != iVar3) {\n    FUN_0001c6e0(puVar1);\n  }\n  *(byte *)(param_1 + 7) = *(byte *)(param_1 + 7) | 8;\n  return 0;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (expression_statement "puVar1 = (undefined4 *)param_1[4];" (assignment_expression "puVar1 = (undefined4 *)param_1[4]" identifier = (cast_expression "(undefined4 *)param_1[4]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[4]" identifier [ number_literal ]))) ;) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "puVar1[0x3f] = 0;" (assignment_expression "puVar1[0x3f] = 0" (subscript_expression "puVar1[0x3f]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar5 = (undefined4 *)((uint)(puVar1 + 1) & 0xfffffffc);" (assignment_expression "puVar5 = (undefined4 *)((uint)(puVar1 + 1) & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)((uint)(puVar1 + 1) & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(puVar1 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(puVar1 + 1) & 0xfffffffc" (call_expression "(uint)(puVar1 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar1 + 1)" ( (binary_expression "puVar1 + 1" identifier + number_literal) ))) & number_literal) )))) ;) (for_statement "for (uVar4 = (uint)((int)puVar1 + (0x100 - (int)((uint)(puVar1 + 1) & 0xfffffffc))) >> 2;\n      uVar4 != 0; uVar4 = uVar4 - 1) {\n    *puVar5 = 0;\n    puVar5 = puVar5 + 1;\n  }" for ( (assignment_expression "uVar4 = (uint)((int)puVar1 + (0x100 - (int)((uint)(puVar1 + 1) & 0xfffffffc))) >> 2" identifier = (binary_expression "(uint)((int)puVar1 + (0x100 - (int)((uint)(puVar1 + 1) & 0xfffffffc))) >> 2" (call_expression "(uint)((int)puVar1 + (0x100 - (int)((uint)(puVar1 + 1) & 0xfffffffc)))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)puVar1 + (0x100 - (int)((uint)(puVar1 + 1) & 0xfffffffc)))" ( (binary_expression "(int)puVar1 + (0x100 - (int)((uint)(puVar1 + 1) & 0xfffffffc))" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(0x100 - (int)((uint)(puVar1 + 1) & 0xfffffffc))" ( (binary_expression "0x100 - (int)((uint)(puVar1 + 1) & 0xfffffffc)" number_literal - (cast_expression "(int)((uint)(puVar1 + 1) & 0xfffffffc)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uint)(puVar1 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(puVar1 + 1) & 0xfffffffc" (call_expression "(uint)(puVar1 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar1 + 1)" ( (binary_expression "puVar1 + 1" identifier + number_literal) ))) & number_literal) )))) ))) ))) >> number_literal)) ; (binary_expression "uVar4 != 0" identifier != number_literal) ; (assignment_expression "uVar4 = uVar4 - 1" identifier = (binary_expression "uVar4 - 1" identifier - number_literal)) ) (compound_statement "{\n    *puVar5 = 0;\n    puVar5 = puVar5 + 1;\n  }" { (expression_statement "*puVar5 = 0;" (assignment_expression "*puVar5 = 0" (pointer_expression "*puVar5" * identifier) = number_literal) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) })) (expression_statement "FUN_0001c6e0(puVar1);" (call_expression "FUN_0001c6e0(puVar1)" identifier (argument_list "(puVar1)" ( identifier ))) ;) (expression_statement "iVar3 = *(int *)(iVar2 + 0x28);" (assignment_expression "iVar3 = *(int *)(iVar2 + 0x28)" identifier = (pointer_expression "*(int *)(iVar2 + 0x28)" * (cast_expression "(int *)(iVar2 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x28)" ( (binary_expression "iVar2 + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar2 + 0x24) != iVar3) {\n    FUN_0001c6e0(puVar1);\n    iVar3 = *(int *)(iVar2 + 0x24);\n  }" if (parenthesized_expression "(*(int *)(iVar2 + 0x24) != iVar3)" ( (binary_expression "*(int *)(iVar2 + 0x24) != iVar3" (pointer_expression "*(int *)(iVar2 + 0x24)" * (cast_expression "(int *)(iVar2 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x24)" ( (binary_expression "iVar2 + 0x24" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n    FUN_0001c6e0(puVar1);\n    iVar3 = *(int *)(iVar2 + 0x24);\n  }" { (expression_statement "FUN_0001c6e0(puVar1);" (call_expression "FUN_0001c6e0(puVar1)" identifier (argument_list "(puVar1)" ( identifier ))) ;) (expression_statement "iVar3 = *(int *)(iVar2 + 0x24);" (assignment_expression "iVar3 = *(int *)(iVar2 + 0x24)" identifier = (pointer_expression "*(int *)(iVar2 + 0x24)" * (cast_expression "(int *)(iVar2 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x24)" ( (binary_expression "iVar2 + 0x24" identifier + number_literal) ))))) ;) })) (if_statement "if (*(int *)(iVar2 + 0x2c) != iVar3) {\n    FUN_0001c6e0(puVar1);\n    iVar3 = *(int *)(iVar2 + 0x24);\n  }" if (parenthesized_expression "(*(int *)(iVar2 + 0x2c) != iVar3)" ( (binary_expression "*(int *)(iVar2 + 0x2c) != iVar3" (pointer_expression "*(int *)(iVar2 + 0x2c)" * (cast_expression "(int *)(iVar2 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2c)" ( (binary_expression "iVar2 + 0x2c" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n    FUN_0001c6e0(puVar1);\n    iVar3 = *(int *)(iVar2 + 0x24);\n  }" { (expression_statement "FUN_0001c6e0(puVar1);" (call_expression "FUN_0001c6e0(puVar1)" identifier (argument_list "(puVar1)" ( identifier ))) ;) (expression_statement "iVar3 = *(int *)(iVar2 + 0x24);" (assignment_expression "iVar3 = *(int *)(iVar2 + 0x24)" identifier = (pointer_expression "*(int *)(iVar2 + 0x24)" * (cast_expression "(int *)(iVar2 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x24)" ( (binary_expression "iVar2 + 0x24" identifier + number_literal) ))))) ;) })) (if_statement "if (*(int *)(iVar2 + 0x30) != iVar3) {\n    FUN_0001c6e0(puVar1);\n  }" if (parenthesized_expression "(*(int *)(iVar2 + 0x30) != iVar3)" ( (binary_expression "*(int *)(iVar2 + 0x30) != iVar3" (pointer_expression "*(int *)(iVar2 + 0x30)" * (cast_expression "(int *)(iVar2 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x30)" ( (binary_expression "iVar2 + 0x30" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n    FUN_0001c6e0(puVar1);\n  }" { (expression_statement "FUN_0001c6e0(puVar1);" (call_expression "FUN_0001c6e0(puVar1)" identifier (argument_list "(puVar1)" ( identifier ))) ;) })) (expression_statement "*(byte *)(param_1 + 7) = *(byte *)(param_1 + 7) | 8;" (assignment_expression "*(byte *)(param_1 + 7) = *(byte *)(param_1 + 7) | 8" (pointer_expression "*(byte *)(param_1 + 7)" * (cast_expression "(byte *)(param_1 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 7)" ( (binary_expression "param_1 + 7" identifier + number_literal) )))) = (binary_expression "*(byte *)(param_1 + 7) | 8" (pointer_expression "*(byte *)(param_1 + 7)" * (cast_expression "(byte *)(param_1 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 7)" ( (binary_expression "param_1 + 7" identifier + number_literal) )))) | number_literal)) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "int rpl_re_compile_fastmap(re_pattern_buffer *bufp)\n\n{\n  regex_t *bufp_00;\n  re_dfa_t *prVar1;\n  re_dfastate_t *prVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  re_dfastate_t *in_stack_ffffffd8;\n  char *in_stack_ffffffdc;\n  re_dfastate_t *in_stack_ffffffe0;\n  \n  bufp_00 = (regex_t *)bufp->fastmap;\n  prVar1 = bufp->buffer;\n  bufp_00->buffer = (re_dfa_t *)0x0;\n  *(undefined4 *)&bufp_00[7].field_0x1c = 0;\n  puVar4 = (undefined4 *)((uint)&bufp_00->allocated & 0xfffffffc);\n  uVar3 = (uint)((int)bufp_00 + (0x100 - (int)puVar4)) >> 2;\n  for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar4 = 0;\n    puVar4 = puVar4 + 1;\n  }\n  re_compile_fastmap_iter(bufp_00,in_stack_ffffffd8,in_stack_ffffffdc,in_stack_ffffffe0);\n  prVar2 = prVar1->init_state_word;\n  if (prVar1->init_state != prVar2) {\n    re_compile_fastmap_iter(bufp_00,in_stack_ffffffd8,in_stack_ffffffdc,in_stack_ffffffe0);\n    prVar2 = prVar1->init_state;\n  }\n  if (prVar1->init_state_nl != prVar2) {\n    re_compile_fastmap_iter(bufp_00,in_stack_ffffffd8,in_stack_ffffffdc,in_stack_ffffffe0);\n    prVar2 = prVar1->init_state;\n  }\n  if (prVar1->init_state_begbuf != prVar2) {\n    re_compile_fastmap_iter(bufp_00,in_stack_ffffffd8,in_stack_ffffffdc,in_stack_ffffffe0);\n  }\n  bufp->field_0x1c = bufp->field_0x1c | 8;\n  return 0;\n}\n\n" (function_definition "int rpl_re_compile_fastmap(re_pattern_buffer *bufp)\n\n{\n  regex_t *bufp_00;\n  re_dfa_t *prVar1;\n  re_dfastate_t *prVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  re_dfastate_t *in_stack_ffffffd8;\n  char *in_stack_ffffffdc;\n  re_dfastate_t *in_stack_ffffffe0;\n  \n  bufp_00 = (regex_t *)bufp->fastmap;\n  prVar1 = bufp->buffer;\n  bufp_00->buffer = (re_dfa_t *)0x0;\n  *(undefined4 *)&bufp_00[7].field_0x1c = 0;\n  puVar4 = (undefined4 *)((uint)&bufp_00->allocated & 0xfffffffc);\n  uVar3 = (uint)((int)bufp_00 + (0x100 - (int)puVar4)) >> 2;\n  for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar4 = 0;\n    puVar4 = puVar4 + 1;\n  }\n  re_compile_fastmap_iter(bufp_00,in_stack_ffffffd8,in_stack_ffffffdc,in_stack_ffffffe0);\n  prVar2 = prVar1->init_state_word;\n  if (prVar1->init_state != prVar2) {\n    re_compile_fastmap_iter(bufp_00,in_stack_ffffffd8,in_stack_ffffffdc,in_stack_ffffffe0);\n    prVar2 = prVar1->init_state;\n  }\n  if (prVar1->init_state_nl != prVar2) {\n    re_compile_fastmap_iter(bufp_00,in_stack_ffffffd8,in_stack_ffffffdc,in_stack_ffffffe0);\n    prVar2 = prVar1->init_state;\n  }\n  if (prVar1->init_state_begbuf != prVar2) {\n    re_compile_fastmap_iter(bufp_00,in_stack_ffffffd8,in_stack_ffffffdc,in_stack_ffffffe0);\n  }\n  bufp->field_0x1c = bufp->field_0x1c | 8;\n  return 0;\n}" primitive_type (function_declarator "rpl_re_compile_fastmap(re_pattern_buffer *bufp)" identifier (parameter_list "(re_pattern_buffer *bufp)" ( (parameter_declaration "re_pattern_buffer *bufp" type_identifier (pointer_declarator "*bufp" * identifier)) ))) (compound_statement "{\n  regex_t *bufp_00;\n  re_dfa_t *prVar1;\n  re_dfastate_t *prVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  re_dfastate_t *in_stack_ffffffd8;\n  char *in_stack_ffffffdc;\n  re_dfastate_t *in_stack_ffffffe0;\n  \n  bufp_00 = (regex_t *)bufp->fastmap;\n  prVar1 = bufp->buffer;\n  bufp_00->buffer = (re_dfa_t *)0x0;\n  *(undefined4 *)&bufp_00[7].field_0x1c = 0;\n  puVar4 = (undefined4 *)((uint)&bufp_00->allocated & 0xfffffffc);\n  uVar3 = (uint)((int)bufp_00 + (0x100 - (int)puVar4)) >> 2;\n  for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar4 = 0;\n    puVar4 = puVar4 + 1;\n  }\n  re_compile_fastmap_iter(bufp_00,in_stack_ffffffd8,in_stack_ffffffdc,in_stack_ffffffe0);\n  prVar2 = prVar1->init_state_word;\n  if (prVar1->init_state != prVar2) {\n    re_compile_fastmap_iter(bufp_00,in_stack_ffffffd8,in_stack_ffffffdc,in_stack_ffffffe0);\n    prVar2 = prVar1->init_state;\n  }\n  if (prVar1->init_state_nl != prVar2) {\n    re_compile_fastmap_iter(bufp_00,in_stack_ffffffd8,in_stack_ffffffdc,in_stack_ffffffe0);\n    prVar2 = prVar1->init_state;\n  }\n  if (prVar1->init_state_begbuf != prVar2) {\n    re_compile_fastmap_iter(bufp_00,in_stack_ffffffd8,in_stack_ffffffdc,in_stack_ffffffe0);\n  }\n  bufp->field_0x1c = bufp->field_0x1c | 8;\n  return 0;\n}" { (declaration "regex_t *bufp_00;" type_identifier (pointer_declarator "*bufp_00" * identifier) ;) (declaration "re_dfa_t *prVar1;" type_identifier (pointer_declarator "*prVar1" * identifier) ;) (declaration "re_dfastate_t *prVar2;" type_identifier (pointer_declarator "*prVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "re_dfastate_t *in_stack_ffffffd8;" type_identifier (pointer_declarator "*in_stack_ffffffd8" * identifier) ;) (declaration "char *in_stack_ffffffdc;" primitive_type (pointer_declarator "*in_stack_ffffffdc" * identifier) ;) (declaration "re_dfastate_t *in_stack_ffffffe0;" type_identifier (pointer_declarator "*in_stack_ffffffe0" * identifier) ;) (expression_statement "bufp_00 = (regex_t *)bufp->fastmap;" (assignment_expression "bufp_00 = (regex_t *)bufp->fastmap" identifier = (cast_expression "(regex_t *)bufp->fastmap" ( (type_descriptor "regex_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "bufp->fastmap" identifier -> field_identifier))) ;) (expression_statement "prVar1 = bufp->buffer;" (assignment_expression "prVar1 = bufp->buffer" identifier = (field_expression "bufp->buffer" identifier -> field_identifier)) ;) (expression_statement "bufp_00->buffer = (re_dfa_t *)0x0;" (assignment_expression "bufp_00->buffer = (re_dfa_t *)0x0" (field_expression "bufp_00->buffer" identifier -> field_identifier) = (cast_expression "(re_dfa_t *)0x0" ( (type_descriptor "re_dfa_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "*(undefined4 *)&bufp_00[7].field_0x1c = 0;" (assignment_expression "*(undefined4 *)&bufp_00[7].field_0x1c = 0" (pointer_expression "*(undefined4 *)&bufp_00[7].field_0x1c" * (cast_expression "(undefined4 *)&bufp_00[7].field_0x1c" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&bufp_00[7].field_0x1c" & (field_expression "bufp_00[7].field_0x1c" (subscript_expression "bufp_00[7]" identifier [ number_literal ]) . field_identifier)))) = number_literal) ;) (expression_statement "puVar4 = (undefined4 *)((uint)&bufp_00->allocated & 0xfffffffc);" (assignment_expression "puVar4 = (undefined4 *)((uint)&bufp_00->allocated & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)((uint)&bufp_00->allocated & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)&bufp_00->allocated & 0xfffffffc)" ( (binary_expression "(uint)&bufp_00->allocated & 0xfffffffc" (binary_expression "(uint)&bufp_00->allocated" (parenthesized_expression "(uint)" ( identifier )) & (field_expression "bufp_00->allocated" identifier -> field_identifier)) & number_literal) )))) ;) (expression_statement "uVar3 = (uint)((int)bufp_00 + (0x100 - (int)puVar4)) >> 2;" (assignment_expression "uVar3 = (uint)((int)bufp_00 + (0x100 - (int)puVar4)) >> 2" identifier = (binary_expression "(uint)((int)bufp_00 + (0x100 - (int)puVar4)) >> 2" (call_expression "(uint)((int)bufp_00 + (0x100 - (int)puVar4))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)bufp_00 + (0x100 - (int)puVar4))" ( (binary_expression "(int)bufp_00 + (0x100 - (int)puVar4)" (cast_expression "(int)bufp_00" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(0x100 - (int)puVar4)" ( (binary_expression "0x100 - (int)puVar4" number_literal - (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))) >> number_literal)) ;) (for_statement "for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n    *puVar4 = 0;\n    puVar4 = puVar4 + 1;\n  }" for ( ; (binary_expression "uVar3 != 0" identifier != number_literal) ; (assignment_expression "uVar3 = uVar3 - 1" identifier = (binary_expression "uVar3 - 1" identifier - number_literal)) ) (compound_statement "{\n    *puVar4 = 0;\n    puVar4 = puVar4 + 1;\n  }" { (expression_statement "*puVar4 = 0;" (assignment_expression "*puVar4 = 0" (pointer_expression "*puVar4" * identifier) = number_literal) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) })) (expression_statement "re_compile_fastmap_iter(bufp_00,in_stack_ffffffd8,in_stack_ffffffdc,in_stack_ffffffe0);" (call_expression "re_compile_fastmap_iter(bufp_00,in_stack_ffffffd8,in_stack_ffffffdc,in_stack_ffffffe0)" identifier (argument_list "(bufp_00,in_stack_ffffffd8,in_stack_ffffffdc,in_stack_ffffffe0)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "prVar2 = prVar1->init_state_word;" (assignment_expression "prVar2 = prVar1->init_state_word" identifier = (field_expression "prVar1->init_state_word" identifier -> field_identifier)) ;) (if_statement "if (prVar1->init_state != prVar2) {\n    re_compile_fastmap_iter(bufp_00,in_stack_ffffffd8,in_stack_ffffffdc,in_stack_ffffffe0);\n    prVar2 = prVar1->init_state;\n  }" if (parenthesized_expression "(prVar1->init_state != prVar2)" ( (binary_expression "prVar1->init_state != prVar2" (field_expression "prVar1->init_state" identifier -> field_identifier) != identifier) )) (compound_statement "{\n    re_compile_fastmap_iter(bufp_00,in_stack_ffffffd8,in_stack_ffffffdc,in_stack_ffffffe0);\n    prVar2 = prVar1->init_state;\n  }" { (expression_statement "re_compile_fastmap_iter(bufp_00,in_stack_ffffffd8,in_stack_ffffffdc,in_stack_ffffffe0);" (call_expression "re_compile_fastmap_iter(bufp_00,in_stack_ffffffd8,in_stack_ffffffdc,in_stack_ffffffe0)" identifier (argument_list "(bufp_00,in_stack_ffffffd8,in_stack_ffffffdc,in_stack_ffffffe0)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "prVar2 = prVar1->init_state;" (assignment_expression "prVar2 = prVar1->init_state" identifier = (field_expression "prVar1->init_state" identifier -> field_identifier)) ;) })) (if_statement "if (prVar1->init_state_nl != prVar2) {\n    re_compile_fastmap_iter(bufp_00,in_stack_ffffffd8,in_stack_ffffffdc,in_stack_ffffffe0);\n    prVar2 = prVar1->init_state;\n  }" if (parenthesized_expression "(prVar1->init_state_nl != prVar2)" ( (binary_expression "prVar1->init_state_nl != prVar2" (field_expression "prVar1->init_state_nl" identifier -> field_identifier) != identifier) )) (compound_statement "{\n    re_compile_fastmap_iter(bufp_00,in_stack_ffffffd8,in_stack_ffffffdc,in_stack_ffffffe0);\n    prVar2 = prVar1->init_state;\n  }" { (expression_statement "re_compile_fastmap_iter(bufp_00,in_stack_ffffffd8,in_stack_ffffffdc,in_stack_ffffffe0);" (call_expression "re_compile_fastmap_iter(bufp_00,in_stack_ffffffd8,in_stack_ffffffdc,in_stack_ffffffe0)" identifier (argument_list "(bufp_00,in_stack_ffffffd8,in_stack_ffffffdc,in_stack_ffffffe0)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "prVar2 = prVar1->init_state;" (assignment_expression "prVar2 = prVar1->init_state" identifier = (field_expression "prVar1->init_state" identifier -> field_identifier)) ;) })) (if_statement "if (prVar1->init_state_begbuf != prVar2) {\n    re_compile_fastmap_iter(bufp_00,in_stack_ffffffd8,in_stack_ffffffdc,in_stack_ffffffe0);\n  }" if (parenthesized_expression "(prVar1->init_state_begbuf != prVar2)" ( (binary_expression "prVar1->init_state_begbuf != prVar2" (field_expression "prVar1->init_state_begbuf" identifier -> field_identifier) != identifier) )) (compound_statement "{\n    re_compile_fastmap_iter(bufp_00,in_stack_ffffffd8,in_stack_ffffffdc,in_stack_ffffffe0);\n  }" { (expression_statement "re_compile_fastmap_iter(bufp_00,in_stack_ffffffd8,in_stack_ffffffdc,in_stack_ffffffe0);" (call_expression "re_compile_fastmap_iter(bufp_00,in_stack_ffffffd8,in_stack_ffffffdc,in_stack_ffffffe0)" identifier (argument_list "(bufp_00,in_stack_ffffffd8,in_stack_ffffffdc,in_stack_ffffffe0)" ( identifier , identifier , identifier , identifier ))) ;) })) (expression_statement "bufp->field_0x1c = bufp->field_0x1c | 8;" (assignment_expression "bufp->field_0x1c = bufp->field_0x1c | 8" (field_expression "bufp->field_0x1c" identifier -> field_identifier) = (binary_expression "bufp->field_0x1c | 8" (field_expression "bufp->field_0x1c" identifier -> field_identifier) | number_literal)) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 FUN_00023950(int *param_1)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  undefined4 *puVar5;\n  \n  puVar1 = (undefined4 *)param_1[4];\n  iVar2 = *param_1;\n  *puVar1 = 0;\n  puVar1[0x3f] = 0;\n  puVar5 = (undefined4 *)((uint)(puVar1 + 1) & 0xfffffffc);\n  for (uVar4 = (uint)((int)puVar1 + (0x100 - (int)((uint)(puVar1 + 1) & 0xfffffffc))) >> 2;\n      uVar4 != 0; uVar4 = uVar4 - 1) {\n    *puVar5 = 0;\n    puVar5 = puVar5 + 1;\n  }\n  FUN_0001c6e0(puVar1);\n  iVar3 = *(int *)(iVar2 + 0x28);\n  if (*(int *)(iVar2 + 0x24) != iVar3) {\n    FUN_0001c6e0(puVar1);\n    iVar3 = *(int *)(iVar2 + 0x24);\n  }\n  if (*(int *)(iVar2 + 0x2c) != iVar3) {\n    FUN_0001c6e0(puVar1);\n    iVar3 = *(int *)(iVar2 + 0x24);\n  }\n  if (*(int *)(iVar2 + 0x30) != iVar3) {\n    FUN_0001c6e0(puVar1);\n  }\n  *(byte *)(param_1 + 7) = *(byte *)(param_1 + 7) | 8;\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_00023950(int *param_1)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  undefined4 *puVar5;\n  \n  puVar1 = (undefined4 *)param_1[4];\n  iVar2 = *param_1;\n  *puVar1 = 0;\n  puVar1[0x3f] = 0;\n  puVar5 = (undefined4 *)((uint)(puVar1 + 1) & 0xfffffffc);\n  for (uVar4 = (uint)((int)puVar1 + (0x100 - (int)((uint)(puVar1 + 1) & 0xfffffffc))) >> 2;\n      uVar4 != 0; uVar4 = uVar4 - 1) {\n    *puVar5 = 0;\n    puVar5 = puVar5 + 1;\n  }\n  FUN_0001c6e0(puVar1);\n  iVar3 = *(int *)(iVar2 + 0x28);\n  if (*(int *)(iVar2 + 0x24) != iVar3) {\n    FUN_0001c6e0(puVar1);\n    iVar3 = *(int *)(iVar2 + 0x24);\n  }\n  if (*(int *)(iVar2 + 0x2c) != iVar3) {\n    FUN_0001c6e0(puVar1);\n    iVar3 = *(int *)(iVar2 + 0x24);\n  }\n  if (*(int *)(iVar2 + 0x30) != iVar3) {\n    FUN_0001c6e0(puVar1);\n  }\n  *(byte *)(param_1 + 7) = *(byte *)(param_1 + 7) | 8;\n  return 0;\n}" type_identifier (function_declarator "FUN_00023950(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  undefined4 *puVar5;\n  \n  puVar1 = (undefined4 *)param_1[4];\n  iVar2 = *param_1;\n  *puVar1 = 0;\n  puVar1[0x3f] = 0;\n  puVar5 = (undefined4 *)((uint)(puVar1 + 1) & 0xfffffffc);\n  for (uVar4 = (uint)((int)puVar1 + (0x100 - (int)((uint)(puVar1 + 1) & 0xfffffffc))) >> 2;\n      uVar4 != 0; uVar4 = uVar4 - 1) {\n    *puVar5 = 0;\n    puVar5 = puVar5 + 1;\n  }\n  FUN_0001c6e0(puVar1);\n  iVar3 = *(int *)(iVar2 + 0x28);\n  if (*(int *)(iVar2 + 0x24) != iVar3) {\n    FUN_0001c6e0(puVar1);\n    iVar3 = *(int *)(iVar2 + 0x24);\n  }\n  if (*(int *)(iVar2 + 0x2c) != iVar3) {\n    FUN_0001c6e0(puVar1);\n    iVar3 = *(int *)(iVar2 + 0x24);\n  }\n  if (*(int *)(iVar2 + 0x30) != iVar3) {\n    FUN_0001c6e0(puVar1);\n  }\n  *(byte *)(param_1 + 7) = *(byte *)(param_1 + 7) | 8;\n  return 0;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (expression_statement "puVar1 = (undefined4 *)param_1[4];" (assignment_expression "puVar1 = (undefined4 *)param_1[4]" identifier = (cast_expression "(undefined4 *)param_1[4]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[4]" identifier [ number_literal ]))) ;) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "puVar1[0x3f] = 0;" (assignment_expression "puVar1[0x3f] = 0" (subscript_expression "puVar1[0x3f]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar5 = (undefined4 *)((uint)(puVar1 + 1) & 0xfffffffc);" (assignment_expression "puVar5 = (undefined4 *)((uint)(puVar1 + 1) & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)((uint)(puVar1 + 1) & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(puVar1 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(puVar1 + 1) & 0xfffffffc" (call_expression "(uint)(puVar1 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar1 + 1)" ( (binary_expression "puVar1 + 1" identifier + number_literal) ))) & number_literal) )))) ;) (for_statement "for (uVar4 = (uint)((int)puVar1 + (0x100 - (int)((uint)(puVar1 + 1) & 0xfffffffc))) >> 2;\n      uVar4 != 0; uVar4 = uVar4 - 1) {\n    *puVar5 = 0;\n    puVar5 = puVar5 + 1;\n  }" for ( (assignment_expression "uVar4 = (uint)((int)puVar1 + (0x100 - (int)((uint)(puVar1 + 1) & 0xfffffffc))) >> 2" identifier = (binary_expression "(uint)((int)puVar1 + (0x100 - (int)((uint)(puVar1 + 1) & 0xfffffffc))) >> 2" (call_expression "(uint)((int)puVar1 + (0x100 - (int)((uint)(puVar1 + 1) & 0xfffffffc)))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)puVar1 + (0x100 - (int)((uint)(puVar1 + 1) & 0xfffffffc)))" ( (binary_expression "(int)puVar1 + (0x100 - (int)((uint)(puVar1 + 1) & 0xfffffffc))" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(0x100 - (int)((uint)(puVar1 + 1) & 0xfffffffc))" ( (binary_expression "0x100 - (int)((uint)(puVar1 + 1) & 0xfffffffc)" number_literal - (cast_expression "(int)((uint)(puVar1 + 1) & 0xfffffffc)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uint)(puVar1 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(puVar1 + 1) & 0xfffffffc" (call_expression "(uint)(puVar1 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar1 + 1)" ( (binary_expression "puVar1 + 1" identifier + number_literal) ))) & number_literal) )))) ))) ))) >> number_literal)) ; (binary_expression "uVar4 != 0" identifier != number_literal) ; (assignment_expression "uVar4 = uVar4 - 1" identifier = (binary_expression "uVar4 - 1" identifier - number_literal)) ) (compound_statement "{\n    *puVar5 = 0;\n    puVar5 = puVar5 + 1;\n  }" { (expression_statement "*puVar5 = 0;" (assignment_expression "*puVar5 = 0" (pointer_expression "*puVar5" * identifier) = number_literal) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) })) (expression_statement "FUN_0001c6e0(puVar1);" (call_expression "FUN_0001c6e0(puVar1)" identifier (argument_list "(puVar1)" ( identifier ))) ;) (expression_statement "iVar3 = *(int *)(iVar2 + 0x28);" (assignment_expression "iVar3 = *(int *)(iVar2 + 0x28)" identifier = (pointer_expression "*(int *)(iVar2 + 0x28)" * (cast_expression "(int *)(iVar2 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x28)" ( (binary_expression "iVar2 + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar2 + 0x24) != iVar3) {\n    FUN_0001c6e0(puVar1);\n    iVar3 = *(int *)(iVar2 + 0x24);\n  }" if (parenthesized_expression "(*(int *)(iVar2 + 0x24) != iVar3)" ( (binary_expression "*(int *)(iVar2 + 0x24) != iVar3" (pointer_expression "*(int *)(iVar2 + 0x24)" * (cast_expression "(int *)(iVar2 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x24)" ( (binary_expression "iVar2 + 0x24" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n    FUN_0001c6e0(puVar1);\n    iVar3 = *(int *)(iVar2 + 0x24);\n  }" { (expression_statement "FUN_0001c6e0(puVar1);" (call_expression "FUN_0001c6e0(puVar1)" identifier (argument_list "(puVar1)" ( identifier ))) ;) (expression_statement "iVar3 = *(int *)(iVar2 + 0x24);" (assignment_expression "iVar3 = *(int *)(iVar2 + 0x24)" identifier = (pointer_expression "*(int *)(iVar2 + 0x24)" * (cast_expression "(int *)(iVar2 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x24)" ( (binary_expression "iVar2 + 0x24" identifier + number_literal) ))))) ;) })) (if_statement "if (*(int *)(iVar2 + 0x2c) != iVar3) {\n    FUN_0001c6e0(puVar1);\n    iVar3 = *(int *)(iVar2 + 0x24);\n  }" if (parenthesized_expression "(*(int *)(iVar2 + 0x2c) != iVar3)" ( (binary_expression "*(int *)(iVar2 + 0x2c) != iVar3" (pointer_expression "*(int *)(iVar2 + 0x2c)" * (cast_expression "(int *)(iVar2 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2c)" ( (binary_expression "iVar2 + 0x2c" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n    FUN_0001c6e0(puVar1);\n    iVar3 = *(int *)(iVar2 + 0x24);\n  }" { (expression_statement "FUN_0001c6e0(puVar1);" (call_expression "FUN_0001c6e0(puVar1)" identifier (argument_list "(puVar1)" ( identifier ))) ;) (expression_statement "iVar3 = *(int *)(iVar2 + 0x24);" (assignment_expression "iVar3 = *(int *)(iVar2 + 0x24)" identifier = (pointer_expression "*(int *)(iVar2 + 0x24)" * (cast_expression "(int *)(iVar2 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x24)" ( (binary_expression "iVar2 + 0x24" identifier + number_literal) ))))) ;) })) (if_statement "if (*(int *)(iVar2 + 0x30) != iVar3) {\n    FUN_0001c6e0(puVar1);\n  }" if (parenthesized_expression "(*(int *)(iVar2 + 0x30) != iVar3)" ( (binary_expression "*(int *)(iVar2 + 0x30) != iVar3" (pointer_expression "*(int *)(iVar2 + 0x30)" * (cast_expression "(int *)(iVar2 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x30)" ( (binary_expression "iVar2 + 0x30" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n    FUN_0001c6e0(puVar1);\n  }" { (expression_statement "FUN_0001c6e0(puVar1);" (call_expression "FUN_0001c6e0(puVar1)" identifier (argument_list "(puVar1)" ( identifier ))) ;) })) (expression_statement "*(byte *)(param_1 + 7) = *(byte *)(param_1 + 7) | 8;" (assignment_expression "*(byte *)(param_1 + 7) = *(byte *)(param_1 + 7) | 8" (pointer_expression "*(byte *)(param_1 + 7)" * (cast_expression "(byte *)(param_1 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 7)" ( (binary_expression "param_1 + 7" identifier + number_literal) )))) = (binary_expression "*(byte *)(param_1 + 7) | 8" (pointer_expression "*(byte *)(param_1 + 7)" * (cast_expression "(byte *)(param_1 + 7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 7)" ( (binary_expression "param_1 + 7" identifier + number_literal) )))) | number_literal)) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) & LIT) )))) ;) (for_statement for ( (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression LIT - (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) & LIT) )))) ))) ))) >> LIT)) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT - LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) | LIT)) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_00023950(int *param_1)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  undefined4 *puVar5;\n  \n  puVar1 = (undefined4 *)param_1[4];\n  iVar2 = *param_1;\n  *puVar1 = 0;\n  puVar1[0x3f] = 0;\n  puVar5 = (undefined4 *)((uint)(puVar1 + 1) & 0xfffffffc);\n  for (uVar4 = (uint)((int)puVar1 + (0x100 - (int)((uint)(puVar1 + 1) & 0xfffffffc))) >> 2;\n      uVar4 != 0; uVar4 = uVar4 - 1) {\n    *puVar5 = 0;\n    puVar5 = puVar5 + 1;\n  }\n  FUN_0001c6e0(puVar1);\n  iVar3 = *(int *)(iVar2 + 0x28);\n  if (*(int *)(iVar2 + 0x24) != iVar3) {\n    FUN_0001c6e0(puVar1);\n    iVar3 = *(int *)(iVar2 + 0x24);\n  }\n  if (*(int *)(iVar2 + 0x2c) != iVar3) {\n    FUN_0001c6e0(puVar1);\n    iVar3 = *(int *)(iVar2 + 0x24);\n  }\n  if (*(int *)(iVar2 + 0x30) != iVar3) {\n    FUN_0001c6e0(puVar1);\n  }\n  *(byte *)(param_1 + 7) = *(byte *)(param_1 + 7) | 8;\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_00023950(int *param_1)" (identifier "FUN_00023950") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  undefined4 *puVar5;\n  \n  puVar1 = (undefined4 *)param_1[4];\n  iVar2 = *param_1;\n  *puVar1 = 0;\n  puVar1[0x3f] = 0;\n  puVar5 = (undefined4 *)((uint)(puVar1 + 1) & 0xfffffffc);\n  for (uVar4 = (uint)((int)puVar1 + (0x100 - (int)((uint)(puVar1 + 1) & 0xfffffffc))) >> 2;\n      uVar4 != 0; uVar4 = uVar4 - 1) {\n    *puVar5 = 0;\n    puVar5 = puVar5 + 1;\n  }\n  FUN_0001c6e0(puVar1);\n  iVar3 = *(int *)(iVar2 + 0x28);\n  if (*(int *)(iVar2 + 0x24) != iVar3) {\n    FUN_0001c6e0(puVar1);\n    iVar3 = *(int *)(iVar2 + 0x24);\n  }\n  if (*(int *)(iVar2 + 0x2c) != iVar3) {\n    FUN_0001c6e0(puVar1);\n    iVar3 = *(int *)(iVar2 + 0x24);\n  }\n  if (*(int *)(iVar2 + 0x30) != iVar3) {\n    FUN_0001c6e0(puVar1);\n  }\n  *(byte *)(param_1 + 7) = *(byte *)(param_1 + 7) | 8;\n  return 0;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (expression_statement "puVar1 = (undefined4 *)param_1[4];" (assignment_expression "puVar1 = (undefined4 *)param_1[4]" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)param_1[4]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")))) (; ";")) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" (identifier "iVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1[0x3f] = 0;" (assignment_expression "puVar1[0x3f] = 0" (subscript_expression "puVar1[0x3f]" (identifier "puVar1") ([ "[") (number_literal "0x3f") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar5 = (undefined4 *)((uint)(puVar1 + 1) & 0xfffffffc);" (assignment_expression "puVar5 = (undefined4 *)((uint)(puVar1 + 1) & 0xfffffffc)" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)((uint)(puVar1 + 1) & 0xfffffffc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((uint)(puVar1 + 1) & 0xfffffffc)" (( "(") (binary_expression "(uint)(puVar1 + 1) & 0xfffffffc" (call_expression "(uint)(puVar1 + 1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(puVar1 + 1)" (( "(") (binary_expression "puVar1 + 1" (identifier "puVar1") (+ "+") (number_literal "1")) () ")"))) (& "&") (number_literal "0xfffffffc")) () ")")))) (; ";")) (for_statement "for (uVar4 = (uint)((int)puVar1 + (0x100 - (int)((uint)(puVar1 + 1) & 0xfffffffc))) >> 2;\n      uVar4 != 0; uVar4 = uVar4 - 1) {\n    *puVar5 = 0;\n    puVar5 = puVar5 + 1;\n  }" (for "for") (( "(") (assignment_expression "uVar4 = (uint)((int)puVar1 + (0x100 - (int)((uint)(puVar1 + 1) & 0xfffffffc))) >> 2" (identifier "uVar4") (= "=") (binary_expression "(uint)((int)puVar1 + (0x100 - (int)((uint)(puVar1 + 1) & 0xfffffffc))) >> 2" (call_expression "(uint)((int)puVar1 + (0x100 - (int)((uint)(puVar1 + 1) & 0xfffffffc)))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((int)puVar1 + (0x100 - (int)((uint)(puVar1 + 1) & 0xfffffffc)))" (( "(") (binary_expression "(int)puVar1 + (0x100 - (int)((uint)(puVar1 + 1) & 0xfffffffc))" (cast_expression "(int)puVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar1")) (+ "+") (parenthesized_expression "(0x100 - (int)((uint)(puVar1 + 1) & 0xfffffffc))" (( "(") (binary_expression "0x100 - (int)((uint)(puVar1 + 1) & 0xfffffffc)" (number_literal "0x100") (- "-") (cast_expression "(int)((uint)(puVar1 + 1) & 0xfffffffc)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((uint)(puVar1 + 1) & 0xfffffffc)" (( "(") (binary_expression "(uint)(puVar1 + 1) & 0xfffffffc" (call_expression "(uint)(puVar1 + 1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(puVar1 + 1)" (( "(") (binary_expression "puVar1 + 1" (identifier "puVar1") (+ "+") (number_literal "1")) () ")"))) (& "&") (number_literal "0xfffffffc")) () ")")))) () ")"))) () ")"))) (>> ">>") (number_literal "2"))) (; ";") (binary_expression "uVar4 != 0" (identifier "uVar4") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "uVar4 = uVar4 - 1" (identifier "uVar4") (= "=") (binary_expression "uVar4 - 1" (identifier "uVar4") (- "-") (number_literal "1"))) () ")") (compound_statement "{\n    *puVar5 = 0;\n    puVar5 = puVar5 + 1;\n  }" ({ "{") (expression_statement "*puVar5 = 0;" (assignment_expression "*puVar5 = 0" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" (identifier "puVar5") (= "=") (binary_expression "puVar5 + 1" (identifier "puVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "FUN_0001c6e0(puVar1);" (call_expression "FUN_0001c6e0(puVar1)" (identifier "FUN_0001c6e0") (argument_list "(puVar1)" (( "(") (identifier "puVar1") () ")"))) (; ";")) (expression_statement "iVar3 = *(int *)(iVar2 + 0x28);" (assignment_expression "iVar3 = *(int *)(iVar2 + 0x28)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar2 + 0x28)" (* "*") (cast_expression "(int *)(iVar2 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x28)" (( "(") (binary_expression "iVar2 + 0x28" (identifier "iVar2") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (if_statement "if (*(int *)(iVar2 + 0x24) != iVar3) {\n    FUN_0001c6e0(puVar1);\n    iVar3 = *(int *)(iVar2 + 0x24);\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar2 + 0x24) != iVar3)" (( "(") (binary_expression "*(int *)(iVar2 + 0x24) != iVar3" (pointer_expression "*(int *)(iVar2 + 0x24)" (* "*") (cast_expression "(int *)(iVar2 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x24)" (( "(") (binary_expression "iVar2 + 0x24" (identifier "iVar2") (+ "+") (number_literal "0x24")) () ")")))) (!= "!=") (identifier "iVar3")) () ")")) (compound_statement "{\n    FUN_0001c6e0(puVar1);\n    iVar3 = *(int *)(iVar2 + 0x24);\n  }" ({ "{") (expression_statement "FUN_0001c6e0(puVar1);" (call_expression "FUN_0001c6e0(puVar1)" (identifier "FUN_0001c6e0") (argument_list "(puVar1)" (( "(") (identifier "puVar1") () ")"))) (; ";")) (expression_statement "iVar3 = *(int *)(iVar2 + 0x24);" (assignment_expression "iVar3 = *(int *)(iVar2 + 0x24)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar2 + 0x24)" (* "*") (cast_expression "(int *)(iVar2 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x24)" (( "(") (binary_expression "iVar2 + 0x24" (identifier "iVar2") (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (} "}"))) (if_statement "if (*(int *)(iVar2 + 0x2c) != iVar3) {\n    FUN_0001c6e0(puVar1);\n    iVar3 = *(int *)(iVar2 + 0x24);\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar2 + 0x2c) != iVar3)" (( "(") (binary_expression "*(int *)(iVar2 + 0x2c) != iVar3" (pointer_expression "*(int *)(iVar2 + 0x2c)" (* "*") (cast_expression "(int *)(iVar2 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x2c)" (( "(") (binary_expression "iVar2 + 0x2c" (identifier "iVar2") (+ "+") (number_literal "0x2c")) () ")")))) (!= "!=") (identifier "iVar3")) () ")")) (compound_statement "{\n    FUN_0001c6e0(puVar1);\n    iVar3 = *(int *)(iVar2 + 0x24);\n  }" ({ "{") (expression_statement "FUN_0001c6e0(puVar1);" (call_expression "FUN_0001c6e0(puVar1)" (identifier "FUN_0001c6e0") (argument_list "(puVar1)" (( "(") (identifier "puVar1") () ")"))) (; ";")) (expression_statement "iVar3 = *(int *)(iVar2 + 0x24);" (assignment_expression "iVar3 = *(int *)(iVar2 + 0x24)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar2 + 0x24)" (* "*") (cast_expression "(int *)(iVar2 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x24)" (( "(") (binary_expression "iVar2 + 0x24" (identifier "iVar2") (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (} "}"))) (if_statement "if (*(int *)(iVar2 + 0x30) != iVar3) {\n    FUN_0001c6e0(puVar1);\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar2 + 0x30) != iVar3)" (( "(") (binary_expression "*(int *)(iVar2 + 0x30) != iVar3" (pointer_expression "*(int *)(iVar2 + 0x30)" (* "*") (cast_expression "(int *)(iVar2 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x30)" (( "(") (binary_expression "iVar2 + 0x30" (identifier "iVar2") (+ "+") (number_literal "0x30")) () ")")))) (!= "!=") (identifier "iVar3")) () ")")) (compound_statement "{\n    FUN_0001c6e0(puVar1);\n  }" ({ "{") (expression_statement "FUN_0001c6e0(puVar1);" (call_expression "FUN_0001c6e0(puVar1)" (identifier "FUN_0001c6e0") (argument_list "(puVar1)" (( "(") (identifier "puVar1") () ")"))) (; ";")) (} "}"))) (expression_statement "*(byte *)(param_1 + 7) = *(byte *)(param_1 + 7) | 8;" (assignment_expression "*(byte *)(param_1 + 7) = *(byte *)(param_1 + 7) | 8" (pointer_expression "*(byte *)(param_1 + 7)" (* "*") (cast_expression "(byte *)(param_1 + 7)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 7)" (( "(") (binary_expression "param_1 + 7" (identifier "param_1") (+ "+") (number_literal "7")) () ")")))) (= "=") (binary_expression "*(byte *)(param_1 + 7) | 8" (pointer_expression "*(byte *)(param_1 + 7)" (* "*") (cast_expression "(byte *)(param_1 + 7)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 7)" (( "(") (binary_expression "param_1 + 7" (identifier "param_1") (+ "+") (number_literal "7")) () ")")))) (| "|") (number_literal "8"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

int function_1(type_1 *bufp)

{
  type_2 *bufp_00;
  type_3 *prVar1;
  type_4 *var_4;
  type_5 var_1;
  type_6 *var_2;
  type_4 *in_stack_ffffffd8;
  char *in_stack_ffffffdc;
  type_4 *in_stack_ffffffe0;
  
  bufp_00 = (type_2 *)bufp->fastmap;
  prVar1 = bufp->buffer;
  bufp_00->buffer = (type_3 *)0x0;
  *(type_6 *)&bufp_00[7].field_0x1c = 0;
  var_2 = (type_6 *)((type_5)&bufp_00->allocated & 0xfffffffc);
  var_1 = (type_5)((int)bufp_00 + (0x100 - (int)var_2)) >> 2;
  for (; var_1 != 0; var_1 = var_1 - 1) {
    *var_2 = 0;
    var_2 = var_2 + 1;
  }
  var_3(bufp_00,in_stack_ffffffd8,in_stack_ffffffdc,in_stack_ffffffe0);
  var_4 = prVar1->init_state_word;
  if (prVar1->init_state != var_4) {
    var_3(bufp_00,in_stack_ffffffd8,in_stack_ffffffdc,in_stack_ffffffe0);
    var_4 = prVar1->init_state;
  }
  if (prVar1->init_state_nl != var_4) {
    var_3(bufp_00,in_stack_ffffffd8,in_stack_ffffffdc,in_stack_ffffffe0);
    var_4 = prVar1->init_state;
  }
  if (prVar1->init_state_begbuf != var_4) {
    var_3(bufp_00,in_stack_ffffffd8,in_stack_ffffffdc,in_stack_ffffffe0);
  }
  bufp->field_0x1c = bufp->field_0x1c | 8;
  return 0;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal)))))) (for_statement initializer: (assignment_expression left: (identifier) right: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal))))))))) right: (number_literal))) condition: (binary_expression left: (identifier) right: (number_literal)) update: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (return_statement (number_literal)))))

undefined4 MASKED(int *param_1)

{
  undefined4 *puVar1;
  int iVar2;
  int iVar3;
  uint uVar4;
  undefined4 *puVar5;
  
  puVar1 = (undefined4 *)param_1[4];
  iVar2 = *param_1;
  *puVar1 = 0;
  puVar1[0x3f] = 0;
  puVar5 = (undefined4 *)((uint)(puVar1 + 1) & 0xfffffffc);
  for (uVar4 = (uint)((int)puVar1 + (0x100 - (int)((uint)(puVar1 + 1) & 0xfffffffc))) >> 2;
      uVar4 != 0; uVar4 = uVar4 - 1) {
    *puVar5 = 0;
    puVar5 = puVar5 + 1;
  }
  FUN_0001c6e0(puVar1);
  iVar3 = *(int *)(iVar2 + 0x28);
  if (*(int *)(iVar2 + 0x24) != iVar3) {
    FUN_0001c6e0(puVar1);
    iVar3 = *(int *)(iVar2 + 0x24);
  }
  if (*(int *)(iVar2 + 0x2c) != iVar3) {
    FUN_0001c6e0(puVar1);
    iVar3 = *(int *)(iVar2 + 0x24);
  }
  if (*(int *)(iVar2 + 0x30) != iVar3) {
    FUN_0001c6e0(puVar1);
  }
  *(byte *)(param_1 + 7) = *(byte *)(param_1 + 7) | 8;
  return 0;
}

