
FTS * xfts_open(char **argv,int options,_func_int_FTSENT_ptr_ptr_FTSENT_ptr_ptr *compar)

{
  FTS *pFVar1;
  int *piVar2;
  
  pFVar1 = fts_open(argv,options | 0x200,compar);
  if (pFVar1 != (FTS *)0x0) {
    return pFVar1;
  }
  piVar2 = (int *)(*(code *)PTR___errno_location_00033378)();
  if (*piVar2 != 0x16) {
                    /* WARNING: Subroutine does not return */
    xalloc_die();
  }
  pFVar1 = (FTS *)(*(code *)PTR___assert_fail_000332dc)
                            (PTR_LAB_00033108 + 0x28e0,PTR_LAB_00033108 + 0x28d4,0x29,
                             PTR_LAB_00033108 + 0x28f0);
  return pFVar1;
}



void xfts_open(undefined4 param_1,uint param_2)

{
  int iVar1;
  int *piVar2;
  
  iVar1 = fts_open(param_1,param_2 | 0x200);
  if (iVar1 != 0) {
    return;
  }
  piVar2 = (int *)(*(code *)PTR___errno_location_00033378)();
  if (*piVar2 != 0x16) {
                    /* WARNING: Subroutine does not return */
    xalloc_die();
  }
  (*(code *)PTR___assert_fail_000332dc)
            (PTR_LAB_00033108 + 0x28e0,PTR_LAB_00033108 + 0x28d4,0x29,PTR_LAB_00033108 + 0x28f0);
  return;
}


lui gp,0x2
addiu gp,gp,0x380
addu gp,gp,t9
addiu sp,sp,-0x20
lw t9,-0x7e70(gp)
sw gp,0x10(sp)
sw ra,0x1c(sp)
bal 0x0001cb7c
_ori a1,a1,0x200
beq v0,zero,0x0001ad88
_lw gp,0x10(sp)
lw ra,0x1c(sp)
jr ra
_addiu sp,sp,0x20
lw t9,-0x7d58(gp)
jalr t9
_nop
li v1,0x16
lw v0,0x0(v0)
beq v0,v1,0x0001adb0
_lw gp,0x10(sp)
lw t9,-0x7f28(gp)
bal 0x0001ace0
_nop
lw a3,-0x7fc8(gp)
li a2,0x29
lw a1,-0x7fc8(gp)
lw a0,-0x7fc8(gp)
lw t9,-0x7df4(gp)
addiu a3,a3,0x28f0
addiu a1,a1,0x28d4
jalr t9
_addiu a0,a0,0x28e0
(translation_unit "void xfts_open(undefined4 param_1,uint param_2)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  iVar1 = fts_open(param_1,param_2 | 0x200);\n  if (iVar1 != 0) {\n    return;\n  }\n  piVar2 = (int *)(*(code *)PTR___errno_location_00033378)();\n  if (*piVar2 != 0x16) {\n                    /* WARNING: Subroutine does not return */\n    xalloc_die();\n  }\n  (*(code *)PTR___assert_fail_000332dc)\n            (PTR_LAB_00033108 + 0x28e0,PTR_LAB_00033108 + 0x28d4,0x29,PTR_LAB_00033108 + 0x28f0);\n  return;\n}\n\n" (function_definition "void xfts_open(undefined4 param_1,uint param_2)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  iVar1 = fts_open(param_1,param_2 | 0x200);\n  if (iVar1 != 0) {\n    return;\n  }\n  piVar2 = (int *)(*(code *)PTR___errno_location_00033378)();\n  if (*piVar2 != 0x16) {\n                    /* WARNING: Subroutine does not return */\n    xalloc_die();\n  }\n  (*(code *)PTR___assert_fail_000332dc)\n            (PTR_LAB_00033108 + 0x28e0,PTR_LAB_00033108 + 0x28d4,0x29,PTR_LAB_00033108 + 0x28f0);\n  return;\n}" primitive_type (function_declarator "xfts_open(undefined4 param_1,uint param_2)" identifier (parameter_list "(undefined4 param_1,uint param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  \n  iVar1 = fts_open(param_1,param_2 | 0x200);\n  if (iVar1 != 0) {\n    return;\n  }\n  piVar2 = (int *)(*(code *)PTR___errno_location_00033378)();\n  if (*piVar2 != 0x16) {\n                    /* WARNING: Subroutine does not return */\n    xalloc_die();\n  }\n  (*(code *)PTR___assert_fail_000332dc)\n            (PTR_LAB_00033108 + 0x28e0,PTR_LAB_00033108 + 0x28d4,0x29,PTR_LAB_00033108 + 0x28f0);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (expression_statement "iVar1 = fts_open(param_1,param_2 | 0x200);" (assignment_expression "iVar1 = fts_open(param_1,param_2 | 0x200)" identifier = (call_expression "fts_open(param_1,param_2 | 0x200)" identifier (argument_list "(param_1,param_2 | 0x200)" ( identifier , (binary_expression "param_2 | 0x200" identifier | number_literal) )))) ;) (if_statement "if (iVar1 != 0) {\n    return;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "piVar2 = (int *)(*(code *)PTR___errno_location_00033378)();" (assignment_expression "piVar2 = (int *)(*(code *)PTR___errno_location_00033378)()" identifier = (cast_expression "(int *)(*(code *)PTR___errno_location_00033378)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_00033378)()" (parenthesized_expression "(*(code *)PTR___errno_location_00033378)" ( (pointer_expression "*(code *)PTR___errno_location_00033378" * (cast_expression "(code *)PTR___errno_location_00033378" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (if_statement "if (*piVar2 != 0x16) {\n                    /* WARNING: Subroutine does not return */\n    xalloc_die();\n  }" if (parenthesized_expression "(*piVar2 != 0x16)" ( (binary_expression "*piVar2 != 0x16" (pointer_expression "*piVar2" * identifier) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    xalloc_die();\n  }" { comment (expression_statement "xalloc_die();" (call_expression "xalloc_die()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "(*(code *)PTR___assert_fail_000332dc)\n            (PTR_LAB_00033108 + 0x28e0,PTR_LAB_00033108 + 0x28d4,0x29,PTR_LAB_00033108 + 0x28f0);" (call_expression "(*(code *)PTR___assert_fail_000332dc)\n            (PTR_LAB_00033108 + 0x28e0,PTR_LAB_00033108 + 0x28d4,0x29,PTR_LAB_00033108 + 0x28f0)" (parenthesized_expression "(*(code *)PTR___assert_fail_000332dc)" ( (pointer_expression "*(code *)PTR___assert_fail_000332dc" * (cast_expression "(code *)PTR___assert_fail_000332dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_00033108 + 0x28e0,PTR_LAB_00033108 + 0x28d4,0x29,PTR_LAB_00033108 + 0x28f0)" ( (binary_expression "PTR_LAB_00033108 + 0x28e0" identifier + number_literal) , (binary_expression "PTR_LAB_00033108 + 0x28d4" identifier + number_literal) , number_literal , (binary_expression "PTR_LAB_00033108 + 0x28f0" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "FTS * xfts_open(char **argv,int options,_func_int_FTSENT_ptr_ptr_FTSENT_ptr_ptr *compar)\n\n{\n  FTS *pFVar1;\n  int *piVar2;\n  \n  pFVar1 = fts_open(argv,options | 0x200,compar);\n  if (pFVar1 != (FTS *)0x0) {\n    return pFVar1;\n  }\n  piVar2 = (int *)(*(code *)PTR___errno_location_00033378)();\n  if (*piVar2 != 0x16) {\n                    /* WARNING: Subroutine does not return */\n    xalloc_die();\n  }\n  pFVar1 = (FTS *)(*(code *)PTR___assert_fail_000332dc)\n                            (PTR_LAB_00033108 + 0x28e0,PTR_LAB_00033108 + 0x28d4,0x29,\n                             PTR_LAB_00033108 + 0x28f0);\n  return pFVar1;\n}\n\n" (function_definition "FTS * xfts_open(char **argv,int options,_func_int_FTSENT_ptr_ptr_FTSENT_ptr_ptr *compar)\n\n{\n  FTS *pFVar1;\n  int *piVar2;\n  \n  pFVar1 = fts_open(argv,options | 0x200,compar);\n  if (pFVar1 != (FTS *)0x0) {\n    return pFVar1;\n  }\n  piVar2 = (int *)(*(code *)PTR___errno_location_00033378)();\n  if (*piVar2 != 0x16) {\n                    /* WARNING: Subroutine does not return */\n    xalloc_die();\n  }\n  pFVar1 = (FTS *)(*(code *)PTR___assert_fail_000332dc)\n                            (PTR_LAB_00033108 + 0x28e0,PTR_LAB_00033108 + 0x28d4,0x29,\n                             PTR_LAB_00033108 + 0x28f0);\n  return pFVar1;\n}" type_identifier (pointer_declarator "* xfts_open(char **argv,int options,_func_int_FTSENT_ptr_ptr_FTSENT_ptr_ptr *compar)" * (function_declarator "xfts_open(char **argv,int options,_func_int_FTSENT_ptr_ptr_FTSENT_ptr_ptr *compar)" identifier (parameter_list "(char **argv,int options,_func_int_FTSENT_ptr_ptr_FTSENT_ptr_ptr *compar)" ( (parameter_declaration "char **argv" primitive_type (pointer_declarator "**argv" * (pointer_declarator "*argv" * identifier))) , (parameter_declaration "int options" primitive_type identifier) , (parameter_declaration "_func_int_FTSENT_ptr_ptr_FTSENT_ptr_ptr *compar" type_identifier (pointer_declarator "*compar" * identifier)) )))) (compound_statement "{\n  FTS *pFVar1;\n  int *piVar2;\n  \n  pFVar1 = fts_open(argv,options | 0x200,compar);\n  if (pFVar1 != (FTS *)0x0) {\n    return pFVar1;\n  }\n  piVar2 = (int *)(*(code *)PTR___errno_location_00033378)();\n  if (*piVar2 != 0x16) {\n                    /* WARNING: Subroutine does not return */\n    xalloc_die();\n  }\n  pFVar1 = (FTS *)(*(code *)PTR___assert_fail_000332dc)\n                            (PTR_LAB_00033108 + 0x28e0,PTR_LAB_00033108 + 0x28d4,0x29,\n                             PTR_LAB_00033108 + 0x28f0);\n  return pFVar1;\n}" { (declaration "FTS *pFVar1;" type_identifier (pointer_declarator "*pFVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (expression_statement "pFVar1 = fts_open(argv,options | 0x200,compar);" (assignment_expression "pFVar1 = fts_open(argv,options | 0x200,compar)" identifier = (call_expression "fts_open(argv,options | 0x200,compar)" identifier (argument_list "(argv,options | 0x200,compar)" ( identifier , (binary_expression "options | 0x200" identifier | number_literal) , identifier )))) ;) (if_statement "if (pFVar1 != (FTS *)0x0) {\n    return pFVar1;\n  }" if (parenthesized_expression "(pFVar1 != (FTS *)0x0)" ( (binary_expression "pFVar1 != (FTS *)0x0" identifier != (cast_expression "(FTS *)0x0" ( (type_descriptor "FTS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return pFVar1;\n  }" { (return_statement "return pFVar1;" return identifier ;) })) (expression_statement "piVar2 = (int *)(*(code *)PTR___errno_location_00033378)();" (assignment_expression "piVar2 = (int *)(*(code *)PTR___errno_location_00033378)()" identifier = (cast_expression "(int *)(*(code *)PTR___errno_location_00033378)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_00033378)()" (parenthesized_expression "(*(code *)PTR___errno_location_00033378)" ( (pointer_expression "*(code *)PTR___errno_location_00033378" * (cast_expression "(code *)PTR___errno_location_00033378" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (if_statement "if (*piVar2 != 0x16) {\n                    /* WARNING: Subroutine does not return */\n    xalloc_die();\n  }" if (parenthesized_expression "(*piVar2 != 0x16)" ( (binary_expression "*piVar2 != 0x16" (pointer_expression "*piVar2" * identifier) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    xalloc_die();\n  }" { comment (expression_statement "xalloc_die();" (call_expression "xalloc_die()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "pFVar1 = (FTS *)(*(code *)PTR___assert_fail_000332dc)\n                            (PTR_LAB_00033108 + 0x28e0,PTR_LAB_00033108 + 0x28d4,0x29,\n                             PTR_LAB_00033108 + 0x28f0);" (assignment_expression "pFVar1 = (FTS *)(*(code *)PTR___assert_fail_000332dc)\n                            (PTR_LAB_00033108 + 0x28e0,PTR_LAB_00033108 + 0x28d4,0x29,\n                             PTR_LAB_00033108 + 0x28f0)" identifier = (cast_expression "(FTS *)(*(code *)PTR___assert_fail_000332dc)\n                            (PTR_LAB_00033108 + 0x28e0,PTR_LAB_00033108 + 0x28d4,0x29,\n                             PTR_LAB_00033108 + 0x28f0)" ( (type_descriptor "FTS *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___assert_fail_000332dc)\n                            (PTR_LAB_00033108 + 0x28e0,PTR_LAB_00033108 + 0x28d4,0x29,\n                             PTR_LAB_00033108 + 0x28f0)" (parenthesized_expression "(*(code *)PTR___assert_fail_000332dc)" ( (pointer_expression "*(code *)PTR___assert_fail_000332dc" * (cast_expression "(code *)PTR___assert_fail_000332dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_00033108 + 0x28e0,PTR_LAB_00033108 + 0x28d4,0x29,\n                             PTR_LAB_00033108 + 0x28f0)" ( (binary_expression "PTR_LAB_00033108 + 0x28e0" identifier + number_literal) , (binary_expression "PTR_LAB_00033108 + 0x28d4" identifier + number_literal) , number_literal , (binary_expression "PTR_LAB_00033108 + 0x28f0" identifier + number_literal) ))))) ;) (return_statement "return pFVar1;" return identifier ;) })))
(translation_unit "void xfts_open(undefined4 param_1,uint param_2)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  iVar1 = fts_open(param_1,param_2 | 0x200);\n  if (iVar1 != 0) {\n    return;\n  }\n  piVar2 = (int *)(*(code *)PTR___errno_location_00033378)();\n  if (*piVar2 != 0x16) {\n                    \n    xalloc_die();\n  }\n  (*(code *)PTR___assert_fail_000332dc)\n            (PTR_LAB_00033108 + 0x28e0,PTR_LAB_00033108 + 0x28d4,0x29,PTR_LAB_00033108 + 0x28f0);\n  return;\n}\n\n" (function_definition "void xfts_open(undefined4 param_1,uint param_2)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  iVar1 = fts_open(param_1,param_2 | 0x200);\n  if (iVar1 != 0) {\n    return;\n  }\n  piVar2 = (int *)(*(code *)PTR___errno_location_00033378)();\n  if (*piVar2 != 0x16) {\n                    \n    xalloc_die();\n  }\n  (*(code *)PTR___assert_fail_000332dc)\n            (PTR_LAB_00033108 + 0x28e0,PTR_LAB_00033108 + 0x28d4,0x29,PTR_LAB_00033108 + 0x28f0);\n  return;\n}" primitive_type (function_declarator "xfts_open(undefined4 param_1,uint param_2)" identifier (parameter_list "(undefined4 param_1,uint param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  \n  iVar1 = fts_open(param_1,param_2 | 0x200);\n  if (iVar1 != 0) {\n    return;\n  }\n  piVar2 = (int *)(*(code *)PTR___errno_location_00033378)();\n  if (*piVar2 != 0x16) {\n                    \n    xalloc_die();\n  }\n  (*(code *)PTR___assert_fail_000332dc)\n            (PTR_LAB_00033108 + 0x28e0,PTR_LAB_00033108 + 0x28d4,0x29,PTR_LAB_00033108 + 0x28f0);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (expression_statement "iVar1 = fts_open(param_1,param_2 | 0x200);" (assignment_expression "iVar1 = fts_open(param_1,param_2 | 0x200)" identifier = (call_expression "fts_open(param_1,param_2 | 0x200)" identifier (argument_list "(param_1,param_2 | 0x200)" ( identifier , (binary_expression "param_2 | 0x200" identifier | number_literal) )))) ;) (if_statement "if (iVar1 != 0) {\n    return;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "piVar2 = (int *)(*(code *)PTR___errno_location_00033378)();" (assignment_expression "piVar2 = (int *)(*(code *)PTR___errno_location_00033378)()" identifier = (cast_expression "(int *)(*(code *)PTR___errno_location_00033378)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_00033378)()" (parenthesized_expression "(*(code *)PTR___errno_location_00033378)" ( (pointer_expression "*(code *)PTR___errno_location_00033378" * (cast_expression "(code *)PTR___errno_location_00033378" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (if_statement "if (*piVar2 != 0x16) {\n                    \n    xalloc_die();\n  }" if (parenthesized_expression "(*piVar2 != 0x16)" ( (binary_expression "*piVar2 != 0x16" (pointer_expression "*piVar2" * identifier) != number_literal) )) (compound_statement "{\n                    \n    xalloc_die();\n  }" { (expression_statement "xalloc_die();" (call_expression "xalloc_die()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "(*(code *)PTR___assert_fail_000332dc)\n            (PTR_LAB_00033108 + 0x28e0,PTR_LAB_00033108 + 0x28d4,0x29,PTR_LAB_00033108 + 0x28f0);" (call_expression "(*(code *)PTR___assert_fail_000332dc)\n            (PTR_LAB_00033108 + 0x28e0,PTR_LAB_00033108 + 0x28d4,0x29,PTR_LAB_00033108 + 0x28f0)" (parenthesized_expression "(*(code *)PTR___assert_fail_000332dc)" ( (pointer_expression "*(code *)PTR___assert_fail_000332dc" * (cast_expression "(code *)PTR___assert_fail_000332dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_00033108 + 0x28e0,PTR_LAB_00033108 + 0x28d4,0x29,PTR_LAB_00033108 + 0x28f0)" ( (binary_expression "PTR_LAB_00033108 + 0x28e0" identifier + number_literal) , (binary_expression "PTR_LAB_00033108 + 0x28d4" identifier + number_literal) , number_literal , (binary_expression "PTR_LAB_00033108 + 0x28f0" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE 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 ( IDENT , (binary_expression IDENT | LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))) ;) (return_statement return ;) })))
(function_definition "void xfts_open(undefined4 param_1,uint param_2)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  iVar1 = fts_open(param_1,param_2 | 0x200);\n  if (iVar1 != 0) {\n    return;\n  }\n  piVar2 = (int *)(*(code *)PTR___errno_location_00033378)();\n  if (*piVar2 != 0x16) {\n                    \n    xalloc_die();\n  }\n  (*(code *)PTR___assert_fail_000332dc)\n            (PTR_LAB_00033108 + 0x28e0,PTR_LAB_00033108 + 0x28d4,0x29,PTR_LAB_00033108 + 0x28f0);\n  return;\n}" (primitive_type "void") (function_declarator "xfts_open(undefined4 param_1,uint param_2)" (identifier "xfts_open") (parameter_list "(undefined4 param_1,uint param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  \n  iVar1 = fts_open(param_1,param_2 | 0x200);\n  if (iVar1 != 0) {\n    return;\n  }\n  piVar2 = (int *)(*(code *)PTR___errno_location_00033378)();\n  if (*piVar2 != 0x16) {\n                    \n    xalloc_die();\n  }\n  (*(code *)PTR___assert_fail_000332dc)\n            (PTR_LAB_00033108 + 0x28e0,PTR_LAB_00033108 + 0x28d4,0x29,PTR_LAB_00033108 + 0x28f0);\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (expression_statement "iVar1 = fts_open(param_1,param_2 | 0x200);" (assignment_expression "iVar1 = fts_open(param_1,param_2 | 0x200)" (identifier "iVar1") (= "=") (call_expression "fts_open(param_1,param_2 | 0x200)" (identifier "fts_open") (argument_list "(param_1,param_2 | 0x200)" (( "(") (identifier "param_1") (, ",") (binary_expression "param_2 | 0x200" (identifier "param_2") (| "|") (number_literal "0x200")) () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "piVar2 = (int *)(*(code *)PTR___errno_location_00033378)();" (assignment_expression "piVar2 = (int *)(*(code *)PTR___errno_location_00033378)()" (identifier "piVar2") (= "=") (cast_expression "(int *)(*(code *)PTR___errno_location_00033378)()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___errno_location_00033378)()" (parenthesized_expression "(*(code *)PTR___errno_location_00033378)" (( "(") (pointer_expression "*(code *)PTR___errno_location_00033378" (* "*") (cast_expression "(code *)PTR___errno_location_00033378" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___errno_location_00033378"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (if_statement "if (*piVar2 != 0x16) {\n                    \n    xalloc_die();\n  }" (if "if") (parenthesized_expression "(*piVar2 != 0x16)" (( "(") (binary_expression "*piVar2 != 0x16" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (!= "!=") (number_literal "0x16")) () ")")) (compound_statement "{\n                    \n    xalloc_die();\n  }" ({ "{") (expression_statement "xalloc_die();" (call_expression "xalloc_die()" (identifier "xalloc_die") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR___assert_fail_000332dc)\n            (PTR_LAB_00033108 + 0x28e0,PTR_LAB_00033108 + 0x28d4,0x29,PTR_LAB_00033108 + 0x28f0);" (call_expression "(*(code *)PTR___assert_fail_000332dc)\n            (PTR_LAB_00033108 + 0x28e0,PTR_LAB_00033108 + 0x28d4,0x29,PTR_LAB_00033108 + 0x28f0)" (parenthesized_expression "(*(code *)PTR___assert_fail_000332dc)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_000332dc" (* "*") (cast_expression "(code *)PTR___assert_fail_000332dc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_000332dc"))) () ")")) (argument_list "(PTR_LAB_00033108 + 0x28e0,PTR_LAB_00033108 + 0x28d4,0x29,PTR_LAB_00033108 + 0x28f0)" (( "(") (binary_expression "PTR_LAB_00033108 + 0x28e0" (identifier "PTR_LAB_00033108") (+ "+") (number_literal "0x28e0")) (, ",") (binary_expression "PTR_LAB_00033108 + 0x28d4" (identifier "PTR_LAB_00033108") (+ "+") (number_literal "0x28d4")) (, ",") (number_literal "0x29") (, ",") (binary_expression "PTR_LAB_00033108 + 0x28f0" (identifier "PTR_LAB_00033108") (+ "+") (number_literal "0x28f0")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

type_1 * function_1(char **argv,int var_2,type_2 *compar)

{
  type_1 *var_3;
  int *piVar2;
  
  var_3 = var_1(argv,var_2 | 0x200,compar);
  if (var_3 != (type_1 *)0x0) {
    return var_3;
  }
  piVar2 = (int *)(*(type_3 *)PTR___errno_location_00033378)();
  if (*piVar2 != 0x16) {
                    /* WARNING: Subroutine does not return */
    var_4();
  }
  var_3 = (type_1 *)(*(type_3 *)PTR___assert_fail_000332dc)
                            (var_5 + 0x28e0,var_5 + 0x28d4,0x29,
                             var_5 + 0x28f0);
  return var_3;
}


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

void MASKED(undefined4 param_1,uint param_2)

{
  int iVar1;
  int *piVar2;
  
  iVar1 = fts_open(param_1,param_2 | 0x200);
  if (iVar1 != 0) {
    return;
  }
  piVar2 = (int *)(*(code *)PTR___errno_location_00033378)();
  if (*piVar2 != 0x16) {
                    /* WARNING: Subroutine does not return */
    xalloc_die();
  }
  (*(code *)PTR___assert_fail_000332dc)
            (PTR_LAB_00033108 + 0x28e0,PTR_LAB_00033108 + 0x28d4,0x29,PTR_LAB_00033108 + 0x28f0);
  return;
}

