
void code__init_buffer(YY_BUFFER_STATE b,FILE *file)

{
  int iVar1;
  int *piVar2;
  
  piVar2 = __errno_location();
  iVar1 = *piVar2;
  code__flush_buffer(b);
  b->yy_input_file = file;
  b->yy_fill_buffer = 1;
  if ((yy_buffer_stack == (YY_BUFFER_STATE *)0x0) || (b != yy_buffer_stack[yy_buffer_stack_top])) {
    b->yy_bs_lineno = 1;
    b->yy_bs_column = 0;
  }
  b->yy_is_interactive = 0;
  *piVar2 = iVar1;
  return;
}



void FUN_00126cd0(undefined8 *param_1,undefined8 param_2)

{
  int iVar1;
  int *piVar2;
  
  piVar2 = __errno_location();
  iVar1 = *piVar2;
  FUN_00126c7e(param_1);
  *param_1 = param_2;
  *(undefined4 *)((long)param_1 + 0x34) = 1;
  if ((DAT_00163460 == 0) || (param_1 != *(undefined8 **)(DAT_00163460 + DAT_00163470 * 8))) {
    *(undefined4 *)((long)param_1 + 0x2c) = 1;
    *(undefined4 *)(param_1 + 6) = 0;
  }
  *(undefined4 *)((long)param_1 + 0x24) = 0;
  *piVar2 = iVar1;
  return;
}


PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x8
MOV RBX,RDI
MOV R13,RSI
CALL 0x001050c0
MOV RBP,RAX
MOV R12D,dword ptr [RAX]
MOV RDI,RBX
CALL 0x00126c7e
MOV qword ptr [RBX],R13
MOV dword ptr [RBX + 0x34],0x1
MOV RAX,qword ptr [0x00163460]
TEST RAX,RAX
JZ 0x00126d16
MOV RDX,qword ptr [0x00163470]
CMP RBX,qword ptr [RAX + RDX*0x8]
JZ 0x00126d24
MOV dword ptr [RBX + 0x2c],0x1
MOV dword ptr [RBX + 0x30],0x0
MOV dword ptr [RBX + 0x24],0x0
MOV dword ptr [RBP],R12D
ADD RSP,0x8
POP RBX
POP RBP
POP R12
POP R13
RET
(translation_unit "void FUN_00126cd0(undefined8 *param_1,undefined8 param_2)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  piVar2 = __errno_location();\n  iVar1 = *piVar2;\n  FUN_00126c7e(param_1);\n  *param_1 = param_2;\n  *(undefined4 *)((long)param_1 + 0x34) = 1;\n  if ((DAT_00163460 == 0) || (param_1 != *(undefined8 **)(DAT_00163460 + DAT_00163470 * 8))) {\n    *(undefined4 *)((long)param_1 + 0x2c) = 1;\n    *(undefined4 *)(param_1 + 6) = 0;\n  }\n  *(undefined4 *)((long)param_1 + 0x24) = 0;\n  *piVar2 = iVar1;\n  return;\n}\n\n" (function_definition "void FUN_00126cd0(undefined8 *param_1,undefined8 param_2)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  piVar2 = __errno_location();\n  iVar1 = *piVar2;\n  FUN_00126c7e(param_1);\n  *param_1 = param_2;\n  *(undefined4 *)((long)param_1 + 0x34) = 1;\n  if ((DAT_00163460 == 0) || (param_1 != *(undefined8 **)(DAT_00163460 + DAT_00163470 * 8))) {\n    *(undefined4 *)((long)param_1 + 0x2c) = 1;\n    *(undefined4 *)(param_1 + 6) = 0;\n  }\n  *(undefined4 *)((long)param_1 + 0x24) = 0;\n  *piVar2 = iVar1;\n  return;\n}" primitive_type (function_declarator "FUN_00126cd0(undefined8 *param_1,undefined8 param_2)" identifier (parameter_list "(undefined8 *param_1,undefined8 param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  \n  piVar2 = __errno_location();\n  iVar1 = *piVar2;\n  FUN_00126c7e(param_1);\n  *param_1 = param_2;\n  *(undefined4 *)((long)param_1 + 0x34) = 1;\n  if ((DAT_00163460 == 0) || (param_1 != *(undefined8 **)(DAT_00163460 + DAT_00163470 * 8))) {\n    *(undefined4 *)((long)param_1 + 0x2c) = 1;\n    *(undefined4 *)(param_1 + 6) = 0;\n  }\n  *(undefined4 *)((long)param_1 + 0x24) = 0;\n  *piVar2 = iVar1;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (expression_statement "piVar2 = __errno_location();" (assignment_expression "piVar2 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (expression_statement "FUN_00126c7e(param_1);" (call_expression "FUN_00126c7e(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(undefined4 *)((long)param_1 + 0x34) = 1;" (assignment_expression "*(undefined4 *)((long)param_1 + 0x34) = 1" (pointer_expression "*(undefined4 *)((long)param_1 + 0x34)" * (cast_expression "(undefined4 *)((long)param_1 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x34)" ( (binary_expression "(long)param_1 + 0x34" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (if_statement "if ((DAT_00163460 == 0) || (param_1 != *(undefined8 **)(DAT_00163460 + DAT_00163470 * 8))) {\n    *(undefined4 *)((long)param_1 + 0x2c) = 1;\n    *(undefined4 *)(param_1 + 6) = 0;\n  }" if (parenthesized_expression "((DAT_00163460 == 0) || (param_1 != *(undefined8 **)(DAT_00163460 + DAT_00163470 * 8)))" ( (binary_expression "(DAT_00163460 == 0) || (param_1 != *(undefined8 **)(DAT_00163460 + DAT_00163470 * 8))" (parenthesized_expression "(DAT_00163460 == 0)" ( (binary_expression "DAT_00163460 == 0" identifier == number_literal) )) || (parenthesized_expression "(param_1 != *(undefined8 **)(DAT_00163460 + DAT_00163470 * 8))" ( (binary_expression "param_1 != *(undefined8 **)(DAT_00163460 + DAT_00163470 * 8)" identifier != (pointer_expression "*(undefined8 **)(DAT_00163460 + DAT_00163470 * 8)" * (cast_expression "(undefined8 **)(DAT_00163460 + DAT_00163470 * 8)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_00163460 + DAT_00163470 * 8)" ( (binary_expression "DAT_00163460 + DAT_00163470 * 8" identifier + (binary_expression "DAT_00163470 * 8" identifier * number_literal)) ))))) ))) )) (compound_statement "{\n    *(undefined4 *)((long)param_1 + 0x2c) = 1;\n    *(undefined4 *)(param_1 + 6) = 0;\n  }" { (expression_statement "*(undefined4 *)((long)param_1 + 0x2c) = 1;" (assignment_expression "*(undefined4 *)((long)param_1 + 0x2c) = 1" (pointer_expression "*(undefined4 *)((long)param_1 + 0x2c)" * (cast_expression "(undefined4 *)((long)param_1 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x2c)" ( (binary_expression "(long)param_1 + 0x2c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 6) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 6) = 0" (pointer_expression "*(undefined4 *)(param_1 + 6)" * (cast_expression "(undefined4 *)(param_1 + 6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 6)" ( (binary_expression "param_1 + 6" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "*(undefined4 *)((long)param_1 + 0x24) = 0;" (assignment_expression "*(undefined4 *)((long)param_1 + 0x24) = 0" (pointer_expression "*(undefined4 *)((long)param_1 + 0x24)" * (cast_expression "(undefined4 *)((long)param_1 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x24)" ( (binary_expression "(long)param_1 + 0x24" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*piVar2 = iVar1;" (assignment_expression "*piVar2 = iVar1" (pointer_expression "*piVar2" * identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void code__init_buffer(YY_BUFFER_STATE b,FILE *file)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  piVar2 = __errno_location();\n  iVar1 = *piVar2;\n  code__flush_buffer(b);\n  b->yy_input_file = file;\n  b->yy_fill_buffer = 1;\n  if ((yy_buffer_stack == (YY_BUFFER_STATE *)0x0) || (b != yy_buffer_stack[yy_buffer_stack_top])) {\n    b->yy_bs_lineno = 1;\n    b->yy_bs_column = 0;\n  }\n  b->yy_is_interactive = 0;\n  *piVar2 = iVar1;\n  return;\n}\n\n" (function_definition "void code__init_buffer(YY_BUFFER_STATE b,FILE *file)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  piVar2 = __errno_location();\n  iVar1 = *piVar2;\n  code__flush_buffer(b);\n  b->yy_input_file = file;\n  b->yy_fill_buffer = 1;\n  if ((yy_buffer_stack == (YY_BUFFER_STATE *)0x0) || (b != yy_buffer_stack[yy_buffer_stack_top])) {\n    b->yy_bs_lineno = 1;\n    b->yy_bs_column = 0;\n  }\n  b->yy_is_interactive = 0;\n  *piVar2 = iVar1;\n  return;\n}" primitive_type (function_declarator "code__init_buffer(YY_BUFFER_STATE b,FILE *file)" identifier (parameter_list "(YY_BUFFER_STATE b,FILE *file)" ( (parameter_declaration "YY_BUFFER_STATE b" type_identifier identifier) , (parameter_declaration "FILE *file" type_identifier (pointer_declarator "*file" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  \n  piVar2 = __errno_location();\n  iVar1 = *piVar2;\n  code__flush_buffer(b);\n  b->yy_input_file = file;\n  b->yy_fill_buffer = 1;\n  if ((yy_buffer_stack == (YY_BUFFER_STATE *)0x0) || (b != yy_buffer_stack[yy_buffer_stack_top])) {\n    b->yy_bs_lineno = 1;\n    b->yy_bs_column = 0;\n  }\n  b->yy_is_interactive = 0;\n  *piVar2 = iVar1;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (expression_statement "piVar2 = __errno_location();" (assignment_expression "piVar2 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (expression_statement "code__flush_buffer(b);" (call_expression "code__flush_buffer(b)" identifier (argument_list "(b)" ( identifier ))) ;) (expression_statement "b->yy_input_file = file;" (assignment_expression "b->yy_input_file = file" (field_expression "b->yy_input_file" identifier -> field_identifier) = identifier) ;) (expression_statement "b->yy_fill_buffer = 1;" (assignment_expression "b->yy_fill_buffer = 1" (field_expression "b->yy_fill_buffer" identifier -> field_identifier) = number_literal) ;) (if_statement "if ((yy_buffer_stack == (YY_BUFFER_STATE *)0x0) || (b != yy_buffer_stack[yy_buffer_stack_top])) {\n    b->yy_bs_lineno = 1;\n    b->yy_bs_column = 0;\n  }" if (parenthesized_expression "((yy_buffer_stack == (YY_BUFFER_STATE *)0x0) || (b != yy_buffer_stack[yy_buffer_stack_top]))" ( (binary_expression "(yy_buffer_stack == (YY_BUFFER_STATE *)0x0) || (b != yy_buffer_stack[yy_buffer_stack_top])" (parenthesized_expression "(yy_buffer_stack == (YY_BUFFER_STATE *)0x0)" ( (binary_expression "yy_buffer_stack == (YY_BUFFER_STATE *)0x0" identifier == (cast_expression "(YY_BUFFER_STATE *)0x0" ( (type_descriptor "YY_BUFFER_STATE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(b != yy_buffer_stack[yy_buffer_stack_top])" ( (binary_expression "b != yy_buffer_stack[yy_buffer_stack_top]" identifier != (subscript_expression "yy_buffer_stack[yy_buffer_stack_top]" identifier [ identifier ])) ))) )) (compound_statement "{\n    b->yy_bs_lineno = 1;\n    b->yy_bs_column = 0;\n  }" { (expression_statement "b->yy_bs_lineno = 1;" (assignment_expression "b->yy_bs_lineno = 1" (field_expression "b->yy_bs_lineno" identifier -> field_identifier) = number_literal) ;) (expression_statement "b->yy_bs_column = 0;" (assignment_expression "b->yy_bs_column = 0" (field_expression "b->yy_bs_column" identifier -> field_identifier) = number_literal) ;) })) (expression_statement "b->yy_is_interactive = 0;" (assignment_expression "b->yy_is_interactive = 0" (field_expression "b->yy_is_interactive" identifier -> field_identifier) = number_literal) ;) (expression_statement "*piVar2 = iVar1;" (assignment_expression "*piVar2 = iVar1" (pointer_expression "*piVar2" * identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00126cd0(undefined8 *param_1,undefined8 param_2)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  piVar2 = __errno_location();\n  iVar1 = *piVar2;\n  FUN_00126c7e(param_1);\n  *param_1 = param_2;\n  *(undefined4 *)((long)param_1 + 0x34) = 1;\n  if ((DAT_00163460 == 0) || (param_1 != *(undefined8 **)(DAT_00163460 + DAT_00163470 * 8))) {\n    *(undefined4 *)((long)param_1 + 0x2c) = 1;\n    *(undefined4 *)(param_1 + 6) = 0;\n  }\n  *(undefined4 *)((long)param_1 + 0x24) = 0;\n  *piVar2 = iVar1;\n  return;\n}\n\n" (function_definition "void FUN_00126cd0(undefined8 *param_1,undefined8 param_2)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  piVar2 = __errno_location();\n  iVar1 = *piVar2;\n  FUN_00126c7e(param_1);\n  *param_1 = param_2;\n  *(undefined4 *)((long)param_1 + 0x34) = 1;\n  if ((DAT_00163460 == 0) || (param_1 != *(undefined8 **)(DAT_00163460 + DAT_00163470 * 8))) {\n    *(undefined4 *)((long)param_1 + 0x2c) = 1;\n    *(undefined4 *)(param_1 + 6) = 0;\n  }\n  *(undefined4 *)((long)param_1 + 0x24) = 0;\n  *piVar2 = iVar1;\n  return;\n}" primitive_type (function_declarator "FUN_00126cd0(undefined8 *param_1,undefined8 param_2)" identifier (parameter_list "(undefined8 *param_1,undefined8 param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  \n  piVar2 = __errno_location();\n  iVar1 = *piVar2;\n  FUN_00126c7e(param_1);\n  *param_1 = param_2;\n  *(undefined4 *)((long)param_1 + 0x34) = 1;\n  if ((DAT_00163460 == 0) || (param_1 != *(undefined8 **)(DAT_00163460 + DAT_00163470 * 8))) {\n    *(undefined4 *)((long)param_1 + 0x2c) = 1;\n    *(undefined4 *)(param_1 + 6) = 0;\n  }\n  *(undefined4 *)((long)param_1 + 0x24) = 0;\n  *piVar2 = iVar1;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (expression_statement "piVar2 = __errno_location();" (assignment_expression "piVar2 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (expression_statement "FUN_00126c7e(param_1);" (call_expression "FUN_00126c7e(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(undefined4 *)((long)param_1 + 0x34) = 1;" (assignment_expression "*(undefined4 *)((long)param_1 + 0x34) = 1" (pointer_expression "*(undefined4 *)((long)param_1 + 0x34)" * (cast_expression "(undefined4 *)((long)param_1 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x34)" ( (binary_expression "(long)param_1 + 0x34" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (if_statement "if ((DAT_00163460 == 0) || (param_1 != *(undefined8 **)(DAT_00163460 + DAT_00163470 * 8))) {\n    *(undefined4 *)((long)param_1 + 0x2c) = 1;\n    *(undefined4 *)(param_1 + 6) = 0;\n  }" if (parenthesized_expression "((DAT_00163460 == 0) || (param_1 != *(undefined8 **)(DAT_00163460 + DAT_00163470 * 8)))" ( (binary_expression "(DAT_00163460 == 0) || (param_1 != *(undefined8 **)(DAT_00163460 + DAT_00163470 * 8))" (parenthesized_expression "(DAT_00163460 == 0)" ( (binary_expression "DAT_00163460 == 0" identifier == number_literal) )) || (parenthesized_expression "(param_1 != *(undefined8 **)(DAT_00163460 + DAT_00163470 * 8))" ( (binary_expression "param_1 != *(undefined8 **)(DAT_00163460 + DAT_00163470 * 8)" identifier != (pointer_expression "*(undefined8 **)(DAT_00163460 + DAT_00163470 * 8)" * (cast_expression "(undefined8 **)(DAT_00163460 + DAT_00163470 * 8)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_00163460 + DAT_00163470 * 8)" ( (binary_expression "DAT_00163460 + DAT_00163470 * 8" identifier + (binary_expression "DAT_00163470 * 8" identifier * number_literal)) ))))) ))) )) (compound_statement "{\n    *(undefined4 *)((long)param_1 + 0x2c) = 1;\n    *(undefined4 *)(param_1 + 6) = 0;\n  }" { (expression_statement "*(undefined4 *)((long)param_1 + 0x2c) = 1;" (assignment_expression "*(undefined4 *)((long)param_1 + 0x2c) = 1" (pointer_expression "*(undefined4 *)((long)param_1 + 0x2c)" * (cast_expression "(undefined4 *)((long)param_1 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x2c)" ( (binary_expression "(long)param_1 + 0x2c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 6) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 6) = 0" (pointer_expression "*(undefined4 *)(param_1 + 6)" * (cast_expression "(undefined4 *)(param_1 + 6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 6)" ( (binary_expression "param_1 + 6" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "*(undefined4 *)((long)param_1 + 0x24) = 0;" (assignment_expression "*(undefined4 *)((long)param_1 + 0x24) = 0" (pointer_expression "*(undefined4 *)((long)param_1 + 0x24)" * (cast_expression "(undefined4 *)((long)param_1 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x24)" ( (binary_expression "(long)param_1 + 0x24" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*piVar2 = iVar1;" (assignment_expression "*piVar2 = iVar1" (pointer_expression "*piVar2" * identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_00126cd0(undefined8 *param_1,undefined8 param_2)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  piVar2 = __errno_location();\n  iVar1 = *piVar2;\n  FUN_00126c7e(param_1);\n  *param_1 = param_2;\n  *(undefined4 *)((long)param_1 + 0x34) = 1;\n  if ((DAT_00163460 == 0) || (param_1 != *(undefined8 **)(DAT_00163460 + DAT_00163470 * 8))) {\n    *(undefined4 *)((long)param_1 + 0x2c) = 1;\n    *(undefined4 *)(param_1 + 6) = 0;\n  }\n  *(undefined4 *)((long)param_1 + 0x24) = 0;\n  *piVar2 = iVar1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00126cd0(undefined8 *param_1,undefined8 param_2)" (identifier "FUN_00126cd0") (parameter_list "(undefined8 *param_1,undefined8 param_2)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  \n  piVar2 = __errno_location();\n  iVar1 = *piVar2;\n  FUN_00126c7e(param_1);\n  *param_1 = param_2;\n  *(undefined4 *)((long)param_1 + 0x34) = 1;\n  if ((DAT_00163460 == 0) || (param_1 != *(undefined8 **)(DAT_00163460 + DAT_00163470 * 8))) {\n    *(undefined4 *)((long)param_1 + 0x2c) = 1;\n    *(undefined4 *)(param_1 + 6) = 0;\n  }\n  *(undefined4 *)((long)param_1 + 0x24) = 0;\n  *piVar2 = iVar1;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (expression_statement "piVar2 = __errno_location();" (assignment_expression "piVar2 = __errno_location()" (identifier "piVar2") (= "=") (call_expression "__errno_location()" (identifier "__errno_location") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" (identifier "iVar1") (= "=") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (; ";")) (expression_statement "FUN_00126c7e(param_1);" (call_expression "FUN_00126c7e(param_1)" (identifier "FUN_00126c7e") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(undefined4 *)((long)param_1 + 0x34) = 1;" (assignment_expression "*(undefined4 *)((long)param_1 + 0x34) = 1" (pointer_expression "*(undefined4 *)((long)param_1 + 0x34)" (* "*") (cast_expression "(undefined4 *)((long)param_1 + 0x34)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x34)" (( "(") (binary_expression "(long)param_1 + 0x34" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x34")) () ")")))) (= "=") (number_literal "1")) (; ";")) (if_statement "if ((DAT_00163460 == 0) || (param_1 != *(undefined8 **)(DAT_00163460 + DAT_00163470 * 8))) {\n    *(undefined4 *)((long)param_1 + 0x2c) = 1;\n    *(undefined4 *)(param_1 + 6) = 0;\n  }" (if "if") (parenthesized_expression "((DAT_00163460 == 0) || (param_1 != *(undefined8 **)(DAT_00163460 + DAT_00163470 * 8)))" (( "(") (binary_expression "(DAT_00163460 == 0) || (param_1 != *(undefined8 **)(DAT_00163460 + DAT_00163470 * 8))" (parenthesized_expression "(DAT_00163460 == 0)" (( "(") (binary_expression "DAT_00163460 == 0" (identifier "DAT_00163460") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(param_1 != *(undefined8 **)(DAT_00163460 + DAT_00163470 * 8))" (( "(") (binary_expression "param_1 != *(undefined8 **)(DAT_00163460 + DAT_00163470 * 8)" (identifier "param_1") (!= "!=") (pointer_expression "*(undefined8 **)(DAT_00163460 + DAT_00163470 * 8)" (* "*") (cast_expression "(undefined8 **)(DAT_00163460 + DAT_00163470 * 8)" (( "(") (type_descriptor "undefined8 **" (type_identifier "undefined8") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(DAT_00163460 + DAT_00163470 * 8)" (( "(") (binary_expression "DAT_00163460 + DAT_00163470 * 8" (identifier "DAT_00163460") (+ "+") (binary_expression "DAT_00163470 * 8" (identifier "DAT_00163470") (* "*") (number_literal "8"))) () ")"))))) () ")"))) () ")")) (compound_statement "{\n    *(undefined4 *)((long)param_1 + 0x2c) = 1;\n    *(undefined4 *)(param_1 + 6) = 0;\n  }" ({ "{") (expression_statement "*(undefined4 *)((long)param_1 + 0x2c) = 1;" (assignment_expression "*(undefined4 *)((long)param_1 + 0x2c) = 1" (pointer_expression "*(undefined4 *)((long)param_1 + 0x2c)" (* "*") (cast_expression "(undefined4 *)((long)param_1 + 0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x2c)" (( "(") (binary_expression "(long)param_1 + 0x2c" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 6) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 6) = 0" (pointer_expression "*(undefined4 *)(param_1 + 6)" (* "*") (cast_expression "(undefined4 *)(param_1 + 6)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 6)" (( "(") (binary_expression "param_1 + 6" (identifier "param_1") (+ "+") (number_literal "6")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)((long)param_1 + 0x24) = 0;" (assignment_expression "*(undefined4 *)((long)param_1 + 0x24) = 0" (pointer_expression "*(undefined4 *)((long)param_1 + 0x24)" (* "*") (cast_expression "(undefined4 *)((long)param_1 + 0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x24)" (( "(") (binary_expression "(long)param_1 + 0x24" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x24")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*piVar2 = iVar1;" (assignment_expression "*piVar2 = iVar1" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (identifier "iVar1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 var_4,type_2 *file)

{
  int iVar1;
  int *piVar2;
  
  piVar2 = var_1();
  iVar1 = *piVar2;
  var_2(var_4);
  var_4->yy_input_file = file;
  var_4->yy_fill_buffer = 1;
  if ((var_3 == (type_1 *)0x0) || (var_4 != var_3[yy_buffer_stack_top])) {
    var_4->yy_bs_lineno = 1;
    var_4->yy_bs_column = 0;
  }
  var_4->yy_is_interactive = 0;
  *piVar2 = iVar1;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (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: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (number_literal))))) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))))))) consequence: (compound_statement (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: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (number_literal))))) right: (number_literal))) (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: (number_literal))))) (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: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (return_statement))))

void MASKED(undefined8 *param_1,undefined8 param_2)

{
  int iVar1;
  int *piVar2;
  
  piVar2 = __errno_location();
  iVar1 = *piVar2;
  FUN_00126c7e(param_1);
  *param_1 = param_2;
  *(undefined4 *)((long)param_1 + 0x34) = 1;
  if ((DAT_00163460 == 0) || (param_1 != *(undefined8 **)(DAT_00163460 + DAT_00163470 * 8))) {
    *(undefined4 *)((long)param_1 + 0x2c) = 1;
    *(undefined4 *)(param_1 + 6) = 0;
  }
  *(undefined4 *)((long)param_1 + 0x24) = 0;
  *piVar2 = iVar1;
  return;
}

