
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

error_t argp_version_parser(int key,char *arg,argp_state *state)

{
  error_t eVar1;
  undefined4 uVar2;
  
  eVar1 = 7;
  if (key == 0x56) {
    if (argp_program_version_hook == (_func_void_FILE_ptr_argp_state_ptr *)0x0) {
      if (argp_program_version == (char *)0x0) {
        uVar2 = dcgettext(state->root_argp->argp_domain,"(PROGRAM ERROR) No version known!?",5);
        argp_error(state,"%s",uVar2);
      }
      else {
        __fprintf_chk(state->out_stream,1,"%s\n",argp_program_version);
      }
    }
    else {
      (*argp_program_version_hook)(state->out_stream,state);
    }
    eVar1 = 0;
    if ((state->flags & 0x20) == 0) {
                    /* WARNING: Subroutine does not return */
      exit(0);
    }
  }
  return eVar1;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 FUN_000200d0(int param_1,undefined4 param_2,int *param_3)

{
  undefined4 uVar1;
  
  uVar1 = 7;
  if (param_1 == 0x56) {
    if (argp_program_version_hook == (code *)0x0) {
      if (argp_program_version == 0) {
        uVar1 = dcgettext(*(undefined4 *)(*param_3 + 0x18),"(PROGRAM ERROR) No version known!?",5);
        argp_error(param_3,"%s",uVar1);
      }
      else {
        __fprintf_chk(param_3[0xc],1,"%s\n",argp_program_version);
      }
    }
    else {
      (*argp_program_version_hook)(param_3[0xc],param_3);
    }
    uVar1 = 0;
    if ((*(byte *)(param_3 + 4) & 0x20) == 0) {
                    /* WARNING: Subroutine does not return */
      exit(0);
    }
  }
  return uVar1;
}


PUSH ESI
MOV EAX,0x7
PUSH EBX
CALL 0x00012800
ADD EBX,0x15d94
SUB ESP,0x4
CMP dword ptr [ESP + 0x10],0x56
MOV ESI,dword ptr [ESP + 0x18]
JZ 0x00020100
ADD ESP,0x4
POP EBX
POP ESI
RET
LEA EAX,[EBX + 0xbcc]
MOV EAX,dword ptr [EAX]
TEST EAX,EAX
JZ 0x00020130
SUB ESP,0x8
PUSH ESI
PUSH dword ptr [ESI + 0x30]
CALL EAX
ADD ESP,0x10
XOR EAX,EAX
TEST byte ptr [ESI + 0x10],0x20
JNZ 0x000200f0
SUB ESP,0xc
PUSH 0x0
CALL 0x00012230
LEA EAX,[EBX + 0xda8]
MOV EAX,dword ptr [EAX]
TEST EAX,EAX
JZ 0x00020158
PUSH EAX
LEA EAX,[EBX + 0xffff6734]
PUSH EAX
PUSH 0x1
PUSH dword ptr [ESI + 0x30]
CALL 0x000123f0
ADD ESP,0x10
JMP 0x00020118
SUB ESP,0x4
LEA EAX,[EBX + 0xffff65ac]
PUSH 0x5
PUSH EAX
MOV EAX,dword ptr [ESI]
PUSH dword ptr [EAX + 0x18]
CALL 0x00012110
ADD ESP,0xc
PUSH EAX
LEA EAX,[EBX + 0xffff63c0]
PUSH EAX
PUSH ESI
CALL 0x00027910
ADD ESP,0x10
JMP 0x00020118
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_000200d0(int param_1,undefined4 param_2,int *param_3)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = 7;\n  if (param_1 == 0x56) {\n    if (argp_program_version_hook == (code *)0x0) {\n      if (argp_program_version == 0) {\n        uVar1 = dcgettext(*(undefined4 *)(*param_3 + 0x18),"(PROGRAM ERROR) No version known!?",5);\n        argp_error(param_3,"%s",uVar1);\n      }\n      else {\n        __fprintf_chk(param_3[0xc],1,"%s\n",argp_program_version);\n      }\n    }\n    else {\n      (*argp_program_version_hook)(param_3[0xc],param_3);\n    }\n    uVar1 = 0;\n    if ((*(byte *)(param_3 + 4) & 0x20) == 0) {\n                    /* WARNING: Subroutine does not return */\n      exit(0);\n    }\n  }\n  return uVar1;\n}\n\n" comment (function_definition "undefined4 FUN_000200d0(int param_1,undefined4 param_2,int *param_3)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = 7;\n  if (param_1 == 0x56) {\n    if (argp_program_version_hook == (code *)0x0) {\n      if (argp_program_version == 0) {\n        uVar1 = dcgettext(*(undefined4 *)(*param_3 + 0x18),"(PROGRAM ERROR) No version known!?",5);\n        argp_error(param_3,"%s",uVar1);\n      }\n      else {\n        __fprintf_chk(param_3[0xc],1,"%s\n",argp_program_version);\n      }\n    }\n    else {\n      (*argp_program_version_hook)(param_3[0xc],param_3);\n    }\n    uVar1 = 0;\n    if ((*(byte *)(param_3 + 4) & 0x20) == 0) {\n                    /* WARNING: Subroutine does not return */\n      exit(0);\n    }\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_000200d0(int param_1,undefined4 param_2,int *param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,int *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = 7;\n  if (param_1 == 0x56) {\n    if (argp_program_version_hook == (code *)0x0) {\n      if (argp_program_version == 0) {\n        uVar1 = dcgettext(*(undefined4 *)(*param_3 + 0x18),"(PROGRAM ERROR) No version known!?",5);\n        argp_error(param_3,"%s",uVar1);\n      }\n      else {\n        __fprintf_chk(param_3[0xc],1,"%s\n",argp_program_version);\n      }\n    }\n    else {\n      (*argp_program_version_hook)(param_3[0xc],param_3);\n    }\n    uVar1 = 0;\n    if ((*(byte *)(param_3 + 4) & 0x20) == 0) {\n                    /* WARNING: Subroutine does not return */\n      exit(0);\n    }\n  }\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = 7;" (assignment_expression "uVar1 = 7" identifier = number_literal) ;) (if_statement "if (param_1 == 0x56) {\n    if (argp_program_version_hook == (code *)0x0) {\n      if (argp_program_version == 0) {\n        uVar1 = dcgettext(*(undefined4 *)(*param_3 + 0x18),"(PROGRAM ERROR) No version known!?",5);\n        argp_error(param_3,"%s",uVar1);\n      }\n      else {\n        __fprintf_chk(param_3[0xc],1,"%s\n",argp_program_version);\n      }\n    }\n    else {\n      (*argp_program_version_hook)(param_3[0xc],param_3);\n    }\n    uVar1 = 0;\n    if ((*(byte *)(param_3 + 4) & 0x20) == 0) {\n                    /* WARNING: Subroutine does not return */\n      exit(0);\n    }\n  }" if (parenthesized_expression "(param_1 == 0x56)" ( (binary_expression "param_1 == 0x56" identifier == number_literal) )) (compound_statement "{\n    if (argp_program_version_hook == (code *)0x0) {\n      if (argp_program_version == 0) {\n        uVar1 = dcgettext(*(undefined4 *)(*param_3 + 0x18),"(PROGRAM ERROR) No version known!?",5);\n        argp_error(param_3,"%s",uVar1);\n      }\n      else {\n        __fprintf_chk(param_3[0xc],1,"%s\n",argp_program_version);\n      }\n    }\n    else {\n      (*argp_program_version_hook)(param_3[0xc],param_3);\n    }\n    uVar1 = 0;\n    if ((*(byte *)(param_3 + 4) & 0x20) == 0) {\n                    /* WARNING: Subroutine does not return */\n      exit(0);\n    }\n  }" { (if_statement "if (argp_program_version_hook == (code *)0x0) {\n      if (argp_program_version == 0) {\n        uVar1 = dcgettext(*(undefined4 *)(*param_3 + 0x18),"(PROGRAM ERROR) No version known!?",5);\n        argp_error(param_3,"%s",uVar1);\n      }\n      else {\n        __fprintf_chk(param_3[0xc],1,"%s\n",argp_program_version);\n      }\n    }\n    else {\n      (*argp_program_version_hook)(param_3[0xc],param_3);\n    }" if (parenthesized_expression "(argp_program_version_hook == (code *)0x0)" ( (binary_expression "argp_program_version_hook == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if (argp_program_version == 0) {\n        uVar1 = dcgettext(*(undefined4 *)(*param_3 + 0x18),"(PROGRAM ERROR) No version known!?",5);\n        argp_error(param_3,"%s",uVar1);\n      }\n      else {\n        __fprintf_chk(param_3[0xc],1,"%s\n",argp_program_version);\n      }\n    }" { (if_statement "if (argp_program_version == 0) {\n        uVar1 = dcgettext(*(undefined4 *)(*param_3 + 0x18),"(PROGRAM ERROR) No version known!?",5);\n        argp_error(param_3,"%s",uVar1);\n      }\n      else {\n        __fprintf_chk(param_3[0xc],1,"%s\n",argp_program_version);\n      }" if (parenthesized_expression "(argp_program_version == 0)" ( (binary_expression "argp_program_version == 0" identifier == number_literal) )) (compound_statement "{\n        uVar1 = dcgettext(*(undefined4 *)(*param_3 + 0x18),"(PROGRAM ERROR) No version known!?",5);\n        argp_error(param_3,"%s",uVar1);\n      }" { (expression_statement "uVar1 = dcgettext(*(undefined4 *)(*param_3 + 0x18),"(PROGRAM ERROR) No version known!?",5);" (assignment_expression "uVar1 = dcgettext(*(undefined4 *)(*param_3 + 0x18),"(PROGRAM ERROR) No version known!?",5)" identifier = (call_expression "dcgettext(*(undefined4 *)(*param_3 + 0x18),"(PROGRAM ERROR) No version known!?",5)" identifier (argument_list "(*(undefined4 *)(*param_3 + 0x18),"(PROGRAM ERROR) No version known!?",5)" ( (pointer_expression "*(undefined4 *)(*param_3 + 0x18)" * (cast_expression "(undefined4 *)(*param_3 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + 0x18)" ( (binary_expression "*param_3 + 0x18" (pointer_expression "*param_3" * identifier) + number_literal) )))) , (string_literal ""(PROGRAM ERROR) No version known!?"" " string_content ") , number_literal )))) ;) (expression_statement "argp_error(param_3,"%s",uVar1);" (call_expression "argp_error(param_3,"%s",uVar1)" identifier (argument_list "(param_3,"%s",uVar1)" ( identifier , (string_literal ""%s"" " string_content ") , identifier ))) ;) }) (else_clause "else {\n        __fprintf_chk(param_3[0xc],1,"%s\n",argp_program_version);\n      }" else (compound_statement "{\n        __fprintf_chk(param_3[0xc],1,"%s\n",argp_program_version);\n      }" { (expression_statement "__fprintf_chk(param_3[0xc],1,"%s\n",argp_program_version);" (call_expression "__fprintf_chk(param_3[0xc],1,"%s\n",argp_program_version)" identifier (argument_list "(param_3[0xc],1,"%s\n",argp_program_version)" ( (subscript_expression "param_3[0xc]" identifier [ number_literal ]) , number_literal , (string_literal ""%s\n"" " string_content escape_sequence ") , identifier ))) ;) }))) }) (else_clause "else {\n      (*argp_program_version_hook)(param_3[0xc],param_3);\n    }" else (compound_statement "{\n      (*argp_program_version_hook)(param_3[0xc],param_3);\n    }" { (expression_statement "(*argp_program_version_hook)(param_3[0xc],param_3);" (call_expression "(*argp_program_version_hook)(param_3[0xc],param_3)" (parenthesized_expression "(*argp_program_version_hook)" ( (pointer_expression "*argp_program_version_hook" * identifier) )) (argument_list "(param_3[0xc],param_3)" ( (subscript_expression "param_3[0xc]" identifier [ number_literal ]) , identifier ))) ;) }))) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (if_statement "if ((*(byte *)(param_3 + 4) & 0x20) == 0) {\n                    /* WARNING: Subroutine does not return */\n      exit(0);\n    }" if (parenthesized_expression "((*(byte *)(param_3 + 4) & 0x20) == 0)" ( (binary_expression "(*(byte *)(param_3 + 4) & 0x20) == 0" (parenthesized_expression "(*(byte *)(param_3 + 4) & 0x20)" ( (binary_expression "*(byte *)(param_3 + 4) & 0x20" (pointer_expression "*(byte *)(param_3 + 4)" * (cast_expression "(byte *)(param_3 + 4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      exit(0);\n    }" { comment (expression_statement "exit(0);" (call_expression "exit(0)" identifier (argument_list "(0)" ( number_literal ))) ;) })) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nerror_t argp_version_parser(int key,char *arg,argp_state *state)\n\n{\n  error_t eVar1;\n  undefined4 uVar2;\n  \n  eVar1 = 7;\n  if (key == 0x56) {\n    if (argp_program_version_hook == (_func_void_FILE_ptr_argp_state_ptr *)0x0) {\n      if (argp_program_version == (char *)0x0) {\n        uVar2 = dcgettext(state->root_argp->argp_domain,"(PROGRAM ERROR) No version known!?",5);\n        argp_error(state,"%s",uVar2);\n      }\n      else {\n        __fprintf_chk(state->out_stream,1,"%s\n",argp_program_version);\n      }\n    }\n    else {\n      (*argp_program_version_hook)(state->out_stream,state);\n    }\n    eVar1 = 0;\n    if ((state->flags & 0x20) == 0) {\n                    /* WARNING: Subroutine does not return */\n      exit(0);\n    }\n  }\n  return eVar1;\n}\n\n" comment comment (function_definition "error_t argp_version_parser(int key,char *arg,argp_state *state)\n\n{\n  error_t eVar1;\n  undefined4 uVar2;\n  \n  eVar1 = 7;\n  if (key == 0x56) {\n    if (argp_program_version_hook == (_func_void_FILE_ptr_argp_state_ptr *)0x0) {\n      if (argp_program_version == (char *)0x0) {\n        uVar2 = dcgettext(state->root_argp->argp_domain,"(PROGRAM ERROR) No version known!?",5);\n        argp_error(state,"%s",uVar2);\n      }\n      else {\n        __fprintf_chk(state->out_stream,1,"%s\n",argp_program_version);\n      }\n    }\n    else {\n      (*argp_program_version_hook)(state->out_stream,state);\n    }\n    eVar1 = 0;\n    if ((state->flags & 0x20) == 0) {\n                    /* WARNING: Subroutine does not return */\n      exit(0);\n    }\n  }\n  return eVar1;\n}" type_identifier (function_declarator "argp_version_parser(int key,char *arg,argp_state *state)" identifier (parameter_list "(int key,char *arg,argp_state *state)" ( (parameter_declaration "int key" primitive_type identifier) , (parameter_declaration "char *arg" primitive_type (pointer_declarator "*arg" * identifier)) , (parameter_declaration "argp_state *state" type_identifier (pointer_declarator "*state" * identifier)) ))) (compound_statement "{\n  error_t eVar1;\n  undefined4 uVar2;\n  \n  eVar1 = 7;\n  if (key == 0x56) {\n    if (argp_program_version_hook == (_func_void_FILE_ptr_argp_state_ptr *)0x0) {\n      if (argp_program_version == (char *)0x0) {\n        uVar2 = dcgettext(state->root_argp->argp_domain,"(PROGRAM ERROR) No version known!?",5);\n        argp_error(state,"%s",uVar2);\n      }\n      else {\n        __fprintf_chk(state->out_stream,1,"%s\n",argp_program_version);\n      }\n    }\n    else {\n      (*argp_program_version_hook)(state->out_stream,state);\n    }\n    eVar1 = 0;\n    if ((state->flags & 0x20) == 0) {\n                    /* WARNING: Subroutine does not return */\n      exit(0);\n    }\n  }\n  return eVar1;\n}" { (declaration "error_t eVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "eVar1 = 7;" (assignment_expression "eVar1 = 7" identifier = number_literal) ;) (if_statement "if (key == 0x56) {\n    if (argp_program_version_hook == (_func_void_FILE_ptr_argp_state_ptr *)0x0) {\n      if (argp_program_version == (char *)0x0) {\n        uVar2 = dcgettext(state->root_argp->argp_domain,"(PROGRAM ERROR) No version known!?",5);\n        argp_error(state,"%s",uVar2);\n      }\n      else {\n        __fprintf_chk(state->out_stream,1,"%s\n",argp_program_version);\n      }\n    }\n    else {\n      (*argp_program_version_hook)(state->out_stream,state);\n    }\n    eVar1 = 0;\n    if ((state->flags & 0x20) == 0) {\n                    /* WARNING: Subroutine does not return */\n      exit(0);\n    }\n  }" if (parenthesized_expression "(key == 0x56)" ( (binary_expression "key == 0x56" identifier == number_literal) )) (compound_statement "{\n    if (argp_program_version_hook == (_func_void_FILE_ptr_argp_state_ptr *)0x0) {\n      if (argp_program_version == (char *)0x0) {\n        uVar2 = dcgettext(state->root_argp->argp_domain,"(PROGRAM ERROR) No version known!?",5);\n        argp_error(state,"%s",uVar2);\n      }\n      else {\n        __fprintf_chk(state->out_stream,1,"%s\n",argp_program_version);\n      }\n    }\n    else {\n      (*argp_program_version_hook)(state->out_stream,state);\n    }\n    eVar1 = 0;\n    if ((state->flags & 0x20) == 0) {\n                    /* WARNING: Subroutine does not return */\n      exit(0);\n    }\n  }" { (if_statement "if (argp_program_version_hook == (_func_void_FILE_ptr_argp_state_ptr *)0x0) {\n      if (argp_program_version == (char *)0x0) {\n        uVar2 = dcgettext(state->root_argp->argp_domain,"(PROGRAM ERROR) No version known!?",5);\n        argp_error(state,"%s",uVar2);\n      }\n      else {\n        __fprintf_chk(state->out_stream,1,"%s\n",argp_program_version);\n      }\n    }\n    else {\n      (*argp_program_version_hook)(state->out_stream,state);\n    }" if (parenthesized_expression "(argp_program_version_hook == (_func_void_FILE_ptr_argp_state_ptr *)0x0)" ( (binary_expression "argp_program_version_hook == (_func_void_FILE_ptr_argp_state_ptr *)0x0" identifier == (cast_expression "(_func_void_FILE_ptr_argp_state_ptr *)0x0" ( (type_descriptor "_func_void_FILE_ptr_argp_state_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if (argp_program_version == (char *)0x0) {\n        uVar2 = dcgettext(state->root_argp->argp_domain,"(PROGRAM ERROR) No version known!?",5);\n        argp_error(state,"%s",uVar2);\n      }\n      else {\n        __fprintf_chk(state->out_stream,1,"%s\n",argp_program_version);\n      }\n    }" { (if_statement "if (argp_program_version == (char *)0x0) {\n        uVar2 = dcgettext(state->root_argp->argp_domain,"(PROGRAM ERROR) No version known!?",5);\n        argp_error(state,"%s",uVar2);\n      }\n      else {\n        __fprintf_chk(state->out_stream,1,"%s\n",argp_program_version);\n      }" if (parenthesized_expression "(argp_program_version == (char *)0x0)" ( (binary_expression "argp_program_version == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        uVar2 = dcgettext(state->root_argp->argp_domain,"(PROGRAM ERROR) No version known!?",5);\n        argp_error(state,"%s",uVar2);\n      }" { (expression_statement "uVar2 = dcgettext(state->root_argp->argp_domain,"(PROGRAM ERROR) No version known!?",5);" (assignment_expression "uVar2 = dcgettext(state->root_argp->argp_domain,"(PROGRAM ERROR) No version known!?",5)" identifier = (call_expression "dcgettext(state->root_argp->argp_domain,"(PROGRAM ERROR) No version known!?",5)" identifier (argument_list "(state->root_argp->argp_domain,"(PROGRAM ERROR) No version known!?",5)" ( (field_expression "state->root_argp->argp_domain" (field_expression "state->root_argp" identifier -> field_identifier) -> field_identifier) , (string_literal ""(PROGRAM ERROR) No version known!?"" " string_content ") , number_literal )))) ;) (expression_statement "argp_error(state,"%s",uVar2);" (call_expression "argp_error(state,"%s",uVar2)" identifier (argument_list "(state,"%s",uVar2)" ( identifier , (string_literal ""%s"" " string_content ") , identifier ))) ;) }) (else_clause "else {\n        __fprintf_chk(state->out_stream,1,"%s\n",argp_program_version);\n      }" else (compound_statement "{\n        __fprintf_chk(state->out_stream,1,"%s\n",argp_program_version);\n      }" { (expression_statement "__fprintf_chk(state->out_stream,1,"%s\n",argp_program_version);" (call_expression "__fprintf_chk(state->out_stream,1,"%s\n",argp_program_version)" identifier (argument_list "(state->out_stream,1,"%s\n",argp_program_version)" ( (field_expression "state->out_stream" identifier -> field_identifier) , number_literal , (string_literal ""%s\n"" " string_content escape_sequence ") , identifier ))) ;) }))) }) (else_clause "else {\n      (*argp_program_version_hook)(state->out_stream,state);\n    }" else (compound_statement "{\n      (*argp_program_version_hook)(state->out_stream,state);\n    }" { (expression_statement "(*argp_program_version_hook)(state->out_stream,state);" (call_expression "(*argp_program_version_hook)(state->out_stream,state)" (parenthesized_expression "(*argp_program_version_hook)" ( (pointer_expression "*argp_program_version_hook" * identifier) )) (argument_list "(state->out_stream,state)" ( (field_expression "state->out_stream" identifier -> field_identifier) , identifier ))) ;) }))) (expression_statement "eVar1 = 0;" (assignment_expression "eVar1 = 0" identifier = number_literal) ;) (if_statement "if ((state->flags & 0x20) == 0) {\n                    /* WARNING: Subroutine does not return */\n      exit(0);\n    }" if (parenthesized_expression "((state->flags & 0x20) == 0)" ( (binary_expression "(state->flags & 0x20) == 0" (parenthesized_expression "(state->flags & 0x20)" ( (binary_expression "state->flags & 0x20" (field_expression "state->flags" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      exit(0);\n    }" { comment (expression_statement "exit(0);" (call_expression "exit(0)" identifier (argument_list "(0)" ( number_literal ))) ;) })) })) (return_statement "return eVar1;" return identifier ;) })))
(translation_unit "undefined4 FUN_000200d0(int param_1,undefined4 param_2,int *param_3)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = 7;\n  if (param_1 == 0x56) {\n    if (argp_program_version_hook == (code *)0x0) {\n      if (argp_program_version == 0) {\n        uVar1 = dcgettext(*(undefined4 *)(*param_3 + 0x18),"(PROGRAM ERROR) No version known!?",5);\n        argp_error(param_3,"%s",uVar1);\n      }\n      else {\n        __fprintf_chk(param_3[0xc],1,"%s\n",argp_program_version);\n      }\n    }\n    else {\n      (*argp_program_version_hook)(param_3[0xc],param_3);\n    }\n    uVar1 = 0;\n    if ((*(byte *)(param_3 + 4) & 0x20) == 0) {\n                    \n      exit(0);\n    }\n  }\n  return uVar1;\n}\n\n" (function_definition "undefined4 FUN_000200d0(int param_1,undefined4 param_2,int *param_3)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = 7;\n  if (param_1 == 0x56) {\n    if (argp_program_version_hook == (code *)0x0) {\n      if (argp_program_version == 0) {\n        uVar1 = dcgettext(*(undefined4 *)(*param_3 + 0x18),"(PROGRAM ERROR) No version known!?",5);\n        argp_error(param_3,"%s",uVar1);\n      }\n      else {\n        __fprintf_chk(param_3[0xc],1,"%s\n",argp_program_version);\n      }\n    }\n    else {\n      (*argp_program_version_hook)(param_3[0xc],param_3);\n    }\n    uVar1 = 0;\n    if ((*(byte *)(param_3 + 4) & 0x20) == 0) {\n                    \n      exit(0);\n    }\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_000200d0(int param_1,undefined4 param_2,int *param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,int *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = 7;\n  if (param_1 == 0x56) {\n    if (argp_program_version_hook == (code *)0x0) {\n      if (argp_program_version == 0) {\n        uVar1 = dcgettext(*(undefined4 *)(*param_3 + 0x18),"(PROGRAM ERROR) No version known!?",5);\n        argp_error(param_3,"%s",uVar1);\n      }\n      else {\n        __fprintf_chk(param_3[0xc],1,"%s\n",argp_program_version);\n      }\n    }\n    else {\n      (*argp_program_version_hook)(param_3[0xc],param_3);\n    }\n    uVar1 = 0;\n    if ((*(byte *)(param_3 + 4) & 0x20) == 0) {\n                    \n      exit(0);\n    }\n  }\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = 7;" (assignment_expression "uVar1 = 7" identifier = number_literal) ;) (if_statement "if (param_1 == 0x56) {\n    if (argp_program_version_hook == (code *)0x0) {\n      if (argp_program_version == 0) {\n        uVar1 = dcgettext(*(undefined4 *)(*param_3 + 0x18),"(PROGRAM ERROR) No version known!?",5);\n        argp_error(param_3,"%s",uVar1);\n      }\n      else {\n        __fprintf_chk(param_3[0xc],1,"%s\n",argp_program_version);\n      }\n    }\n    else {\n      (*argp_program_version_hook)(param_3[0xc],param_3);\n    }\n    uVar1 = 0;\n    if ((*(byte *)(param_3 + 4) & 0x20) == 0) {\n                    \n      exit(0);\n    }\n  }" if (parenthesized_expression "(param_1 == 0x56)" ( (binary_expression "param_1 == 0x56" identifier == number_literal) )) (compound_statement "{\n    if (argp_program_version_hook == (code *)0x0) {\n      if (argp_program_version == 0) {\n        uVar1 = dcgettext(*(undefined4 *)(*param_3 + 0x18),"(PROGRAM ERROR) No version known!?",5);\n        argp_error(param_3,"%s",uVar1);\n      }\n      else {\n        __fprintf_chk(param_3[0xc],1,"%s\n",argp_program_version);\n      }\n    }\n    else {\n      (*argp_program_version_hook)(param_3[0xc],param_3);\n    }\n    uVar1 = 0;\n    if ((*(byte *)(param_3 + 4) & 0x20) == 0) {\n                    \n      exit(0);\n    }\n  }" { (if_statement "if (argp_program_version_hook == (code *)0x0) {\n      if (argp_program_version == 0) {\n        uVar1 = dcgettext(*(undefined4 *)(*param_3 + 0x18),"(PROGRAM ERROR) No version known!?",5);\n        argp_error(param_3,"%s",uVar1);\n      }\n      else {\n        __fprintf_chk(param_3[0xc],1,"%s\n",argp_program_version);\n      }\n    }\n    else {\n      (*argp_program_version_hook)(param_3[0xc],param_3);\n    }" if (parenthesized_expression "(argp_program_version_hook == (code *)0x0)" ( (binary_expression "argp_program_version_hook == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if (argp_program_version == 0) {\n        uVar1 = dcgettext(*(undefined4 *)(*param_3 + 0x18),"(PROGRAM ERROR) No version known!?",5);\n        argp_error(param_3,"%s",uVar1);\n      }\n      else {\n        __fprintf_chk(param_3[0xc],1,"%s\n",argp_program_version);\n      }\n    }" { (if_statement "if (argp_program_version == 0) {\n        uVar1 = dcgettext(*(undefined4 *)(*param_3 + 0x18),"(PROGRAM ERROR) No version known!?",5);\n        argp_error(param_3,"%s",uVar1);\n      }\n      else {\n        __fprintf_chk(param_3[0xc],1,"%s\n",argp_program_version);\n      }" if (parenthesized_expression "(argp_program_version == 0)" ( (binary_expression "argp_program_version == 0" identifier == number_literal) )) (compound_statement "{\n        uVar1 = dcgettext(*(undefined4 *)(*param_3 + 0x18),"(PROGRAM ERROR) No version known!?",5);\n        argp_error(param_3,"%s",uVar1);\n      }" { (expression_statement "uVar1 = dcgettext(*(undefined4 *)(*param_3 + 0x18),"(PROGRAM ERROR) No version known!?",5);" (assignment_expression "uVar1 = dcgettext(*(undefined4 *)(*param_3 + 0x18),"(PROGRAM ERROR) No version known!?",5)" identifier = (call_expression "dcgettext(*(undefined4 *)(*param_3 + 0x18),"(PROGRAM ERROR) No version known!?",5)" identifier (argument_list "(*(undefined4 *)(*param_3 + 0x18),"(PROGRAM ERROR) No version known!?",5)" ( (pointer_expression "*(undefined4 *)(*param_3 + 0x18)" * (cast_expression "(undefined4 *)(*param_3 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + 0x18)" ( (binary_expression "*param_3 + 0x18" (pointer_expression "*param_3" * identifier) + number_literal) )))) , (string_literal ""(PROGRAM ERROR) No version known!?"" " string_content ") , number_literal )))) ;) (expression_statement "argp_error(param_3,"%s",uVar1);" (call_expression "argp_error(param_3,"%s",uVar1)" identifier (argument_list "(param_3,"%s",uVar1)" ( identifier , (string_literal ""%s"" " string_content ") , identifier ))) ;) }) (else_clause "else {\n        __fprintf_chk(param_3[0xc],1,"%s\n",argp_program_version);\n      }" else (compound_statement "{\n        __fprintf_chk(param_3[0xc],1,"%s\n",argp_program_version);\n      }" { (expression_statement "__fprintf_chk(param_3[0xc],1,"%s\n",argp_program_version);" (call_expression "__fprintf_chk(param_3[0xc],1,"%s\n",argp_program_version)" identifier (argument_list "(param_3[0xc],1,"%s\n",argp_program_version)" ( (subscript_expression "param_3[0xc]" identifier [ number_literal ]) , number_literal , (string_literal ""%s\n"" " string_content escape_sequence ") , identifier ))) ;) }))) }) (else_clause "else {\n      (*argp_program_version_hook)(param_3[0xc],param_3);\n    }" else (compound_statement "{\n      (*argp_program_version_hook)(param_3[0xc],param_3);\n    }" { (expression_statement "(*argp_program_version_hook)(param_3[0xc],param_3);" (call_expression "(*argp_program_version_hook)(param_3[0xc],param_3)" (parenthesized_expression "(*argp_program_version_hook)" ( (pointer_expression "*argp_program_version_hook" * identifier) )) (argument_list "(param_3[0xc],param_3)" ( (subscript_expression "param_3[0xc]" identifier [ number_literal ]) , identifier ))) ;) }))) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (if_statement "if ((*(byte *)(param_3 + 4) & 0x20) == 0) {\n                    \n      exit(0);\n    }" if (parenthesized_expression "((*(byte *)(param_3 + 4) & 0x20) == 0)" ( (binary_expression "(*(byte *)(param_3 + 4) & 0x20) == 0" (parenthesized_expression "(*(byte *)(param_3 + 4) & 0x20)" ( (binary_expression "*(byte *)(param_3 + 4) & 0x20" (pointer_expression "*(byte *)(param_3 + 4)" * (cast_expression "(byte *)(param_3 + 4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n                    \n      exit(0);\n    }" { (expression_statement "exit(0);" (call_expression "exit(0)" identifier (argument_list "(0)" ( number_literal ))) ;) })) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) , (string_literal " string_content ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , LIT , (string_literal " string_content escape_sequence ") , IDENT ))) ;) }))) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , IDENT ))) ;) }))) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) })) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_000200d0(int param_1,undefined4 param_2,int *param_3)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = 7;\n  if (param_1 == 0x56) {\n    if (argp_program_version_hook == (code *)0x0) {\n      if (argp_program_version == 0) {\n        uVar1 = dcgettext(*(undefined4 *)(*param_3 + 0x18),"(PROGRAM ERROR) No version known!?",5);\n        argp_error(param_3,"%s",uVar1);\n      }\n      else {\n        __fprintf_chk(param_3[0xc],1,"%s\n",argp_program_version);\n      }\n    }\n    else {\n      (*argp_program_version_hook)(param_3[0xc],param_3);\n    }\n    uVar1 = 0;\n    if ((*(byte *)(param_3 + 4) & 0x20) == 0) {\n                    \n      exit(0);\n    }\n  }\n  return uVar1;\n}" (type_identifier "undefined4") (function_declarator "FUN_000200d0(int param_1,undefined4 param_2,int *param_3)" (identifier "FUN_000200d0") (parameter_list "(int param_1,undefined4 param_2,int *param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = 7;\n  if (param_1 == 0x56) {\n    if (argp_program_version_hook == (code *)0x0) {\n      if (argp_program_version == 0) {\n        uVar1 = dcgettext(*(undefined4 *)(*param_3 + 0x18),"(PROGRAM ERROR) No version known!?",5);\n        argp_error(param_3,"%s",uVar1);\n      }\n      else {\n        __fprintf_chk(param_3[0xc],1,"%s\n",argp_program_version);\n      }\n    }\n    else {\n      (*argp_program_version_hook)(param_3[0xc],param_3);\n    }\n    uVar1 = 0;\n    if ((*(byte *)(param_3 + 4) & 0x20) == 0) {\n                    \n      exit(0);\n    }\n  }\n  return uVar1;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = 7;" (assignment_expression "uVar1 = 7" (identifier "uVar1") (= "=") (number_literal "7")) (; ";")) (if_statement "if (param_1 == 0x56) {\n    if (argp_program_version_hook == (code *)0x0) {\n      if (argp_program_version == 0) {\n        uVar1 = dcgettext(*(undefined4 *)(*param_3 + 0x18),"(PROGRAM ERROR) No version known!?",5);\n        argp_error(param_3,"%s",uVar1);\n      }\n      else {\n        __fprintf_chk(param_3[0xc],1,"%s\n",argp_program_version);\n      }\n    }\n    else {\n      (*argp_program_version_hook)(param_3[0xc],param_3);\n    }\n    uVar1 = 0;\n    if ((*(byte *)(param_3 + 4) & 0x20) == 0) {\n                    \n      exit(0);\n    }\n  }" (if "if") (parenthesized_expression "(param_1 == 0x56)" (( "(") (binary_expression "param_1 == 0x56" (identifier "param_1") (== "==") (number_literal "0x56")) () ")")) (compound_statement "{\n    if (argp_program_version_hook == (code *)0x0) {\n      if (argp_program_version == 0) {\n        uVar1 = dcgettext(*(undefined4 *)(*param_3 + 0x18),"(PROGRAM ERROR) No version known!?",5);\n        argp_error(param_3,"%s",uVar1);\n      }\n      else {\n        __fprintf_chk(param_3[0xc],1,"%s\n",argp_program_version);\n      }\n    }\n    else {\n      (*argp_program_version_hook)(param_3[0xc],param_3);\n    }\n    uVar1 = 0;\n    if ((*(byte *)(param_3 + 4) & 0x20) == 0) {\n                    \n      exit(0);\n    }\n  }" ({ "{") (if_statement "if (argp_program_version_hook == (code *)0x0) {\n      if (argp_program_version == 0) {\n        uVar1 = dcgettext(*(undefined4 *)(*param_3 + 0x18),"(PROGRAM ERROR) No version known!?",5);\n        argp_error(param_3,"%s",uVar1);\n      }\n      else {\n        __fprintf_chk(param_3[0xc],1,"%s\n",argp_program_version);\n      }\n    }\n    else {\n      (*argp_program_version_hook)(param_3[0xc],param_3);\n    }" (if "if") (parenthesized_expression "(argp_program_version_hook == (code *)0x0)" (( "(") (binary_expression "argp_program_version_hook == (code *)0x0" (identifier "argp_program_version_hook") (== "==") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      if (argp_program_version == 0) {\n        uVar1 = dcgettext(*(undefined4 *)(*param_3 + 0x18),"(PROGRAM ERROR) No version known!?",5);\n        argp_error(param_3,"%s",uVar1);\n      }\n      else {\n        __fprintf_chk(param_3[0xc],1,"%s\n",argp_program_version);\n      }\n    }" ({ "{") (if_statement "if (argp_program_version == 0) {\n        uVar1 = dcgettext(*(undefined4 *)(*param_3 + 0x18),"(PROGRAM ERROR) No version known!?",5);\n        argp_error(param_3,"%s",uVar1);\n      }\n      else {\n        __fprintf_chk(param_3[0xc],1,"%s\n",argp_program_version);\n      }" (if "if") (parenthesized_expression "(argp_program_version == 0)" (( "(") (binary_expression "argp_program_version == 0" (identifier "argp_program_version") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        uVar1 = dcgettext(*(undefined4 *)(*param_3 + 0x18),"(PROGRAM ERROR) No version known!?",5);\n        argp_error(param_3,"%s",uVar1);\n      }" ({ "{") (expression_statement "uVar1 = dcgettext(*(undefined4 *)(*param_3 + 0x18),"(PROGRAM ERROR) No version known!?",5);" (assignment_expression "uVar1 = dcgettext(*(undefined4 *)(*param_3 + 0x18),"(PROGRAM ERROR) No version known!?",5)" (identifier "uVar1") (= "=") (call_expression "dcgettext(*(undefined4 *)(*param_3 + 0x18),"(PROGRAM ERROR) No version known!?",5)" (identifier "dcgettext") (argument_list "(*(undefined4 *)(*param_3 + 0x18),"(PROGRAM ERROR) No version known!?",5)" (( "(") (pointer_expression "*(undefined4 *)(*param_3 + 0x18)" (* "*") (cast_expression "(undefined4 *)(*param_3 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_3 + 0x18)" (( "(") (binary_expression "*param_3 + 0x18" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (+ "+") (number_literal "0x18")) () ")")))) (, ",") (string_literal ""(PROGRAM ERROR) No version known!?"" (" """) (string_content "(PROGRAM ERROR) No version known!?") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "argp_error(param_3,"%s",uVar1);" (call_expression "argp_error(param_3,"%s",uVar1)" (identifier "argp_error") (argument_list "(param_3,"%s",uVar1)" (( "(") (identifier "param_3") (, ",") (string_literal ""%s"" (" """) (string_content "%s") (" """)) (, ",") (identifier "uVar1") () ")"))) (; ";")) (} "}")) (else_clause "else {\n        __fprintf_chk(param_3[0xc],1,"%s\n",argp_program_version);\n      }" (else "else") (compound_statement "{\n        __fprintf_chk(param_3[0xc],1,"%s\n",argp_program_version);\n      }" ({ "{") (expression_statement "__fprintf_chk(param_3[0xc],1,"%s\n",argp_program_version);" (call_expression "__fprintf_chk(param_3[0xc],1,"%s\n",argp_program_version)" (identifier "__fprintf_chk") (argument_list "(param_3[0xc],1,"%s\n",argp_program_version)" (( "(") (subscript_expression "param_3[0xc]" (identifier "param_3") ([ "[") (number_literal "0xc") (] "]")) (, ",") (number_literal "1") (, ",") (string_literal ""%s\n"" (" """) (string_content "%s") (escape_sequence "\n") (" """)) (, ",") (identifier "argp_program_version") () ")"))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n      (*argp_program_version_hook)(param_3[0xc],param_3);\n    }" (else "else") (compound_statement "{\n      (*argp_program_version_hook)(param_3[0xc],param_3);\n    }" ({ "{") (expression_statement "(*argp_program_version_hook)(param_3[0xc],param_3);" (call_expression "(*argp_program_version_hook)(param_3[0xc],param_3)" (parenthesized_expression "(*argp_program_version_hook)" (( "(") (pointer_expression "*argp_program_version_hook" (* "*") (identifier "argp_program_version_hook")) () ")")) (argument_list "(param_3[0xc],param_3)" (( "(") (subscript_expression "param_3[0xc]" (identifier "param_3") ([ "[") (number_literal "0xc") (] "]")) (, ",") (identifier "param_3") () ")"))) (; ";")) (} "}")))) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (if_statement "if ((*(byte *)(param_3 + 4) & 0x20) == 0) {\n                    \n      exit(0);\n    }" (if "if") (parenthesized_expression "((*(byte *)(param_3 + 4) & 0x20) == 0)" (( "(") (binary_expression "(*(byte *)(param_3 + 4) & 0x20) == 0" (parenthesized_expression "(*(byte *)(param_3 + 4) & 0x20)" (( "(") (binary_expression "*(byte *)(param_3 + 4) & 0x20" (pointer_expression "*(byte *)(param_3 + 4)" (* "*") (cast_expression "(byte *)(param_3 + 4)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 4)" (( "(") (binary_expression "param_3 + 4" (identifier "param_3") (+ "+") (number_literal "4")) () ")")))) (& "&") (number_literal "0x20")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      exit(0);\n    }" ({ "{") (expression_statement "exit(0);" (call_expression "exit(0)" (identifier "exit") (argument_list "(0)" (( "(") (number_literal "0") () ")"))) (; ";")) (} "}"))) (} "}"))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

type_1 function_1(int var_1,char *arg,type_2 *state)

{
  type_1 eVar1;
  type_3 uVar2;
  
  eVar1 = 7;
  if (var_1 == 0x56) {
    if (var_2 == (type_4 *)0x0) {
      if (var_3 == (char *)0x0) {
        uVar2 = var_4(state->root_argp->argp_domain,"(PROGRAM ERROR) No version known!?",5);
        var_5(state,"%s",uVar2);
      }
      else {
        var_6(state->out_stream,1,"%s\n",var_3);
      }
    }
    else {
      (*var_2)(state->out_stream,state);
    }
    eVar1 = 0;
    if ((state->flags & 0x20) == 0) {
                    /* WARNING: Subroutine does not return */
      var_7(0);
    }
  }
  return eVar1;
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 MASKED(int param_1,undefined4 param_2,int *param_3)

{
  undefined4 uVar1;
  
  uVar1 = 7;
  if (param_1 == 0x56) {
    if (argp_program_version_hook == (code *)0x0) {
      if (argp_program_version == 0) {
        uVar1 = dcgettext(*(undefined4 *)(*param_3 + 0x18),"(PROGRAM ERROR) No version known!?",5);
        argp_error(param_3,"%s",uVar1);
      }
      else {
        __fprintf_chk(param_3[0xc],1,"%s\n",argp_program_version);
      }
    }
    else {
      (*argp_program_version_hook)(param_3[0xc],param_3);
    }
    uVar1 = 0;
    if ((*(byte *)(param_3 + 4) & 0x20) == 0) {
                    /* WARNING: Subroutine does not return */
      exit(0);
    }
  }
  return uVar1;
}

