
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

_Bool cmd_spec_prefer_family(char *com,char *val,void *place_ignored)

{
  char *pcVar1;
  int iVar2;
  char *pcVar3;
  undefined4 uVar4;
  decode_item *pdVar5;
  
  iVar2 = c_strcasecmp(val,"IPv4");
  if (iVar2 == 0) {
    pdVar5 = cmd_spec_prefer_family::choices;
  }
  else {
    iVar2 = c_strcasecmp(val,"IPv6");
    if (iVar2 == 0) {
      pdVar5 = (decode_item *)0xad218;
    }
    else {
      iVar2 = c_strcasecmp(val,"none");
      if (iVar2 != 0) {
        pcVar3 = quote(val);
        pcVar1 = exec_name;
        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);
        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,pcVar1,com,pcVar3);
        opt.prefer_family = AP_DECODE_ENTITIES;
        return false;
      }
      pdVar5 = (decode_item *)0xad220;
    }
  }
  opt.prefer_family = pdVar5->code;
  return true;
}



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

undefined4 FUN_0003b760(undefined4 param_1,undefined4 param_2)

{
  undefined4 uVar1;
  int iVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  undefined **ppuVar5;
  
  iVar2 = FUN_00059550(param_2,&DAT_00087e9d);
  if (iVar2 == 0) {
    ppuVar5 = &PTR_DAT_000ad210;
  }
  else {
    iVar2 = FUN_00059550(param_2,&DAT_00087ea2);
    if (iVar2 == 0) {
      ppuVar5 = &PTR_DAT_000ad218;
    }
    else {
      iVar2 = FUN_00059550(param_2,&DAT_0007b4e8);
      if (iVar2 != 0) {
        uVar3 = FUN_00062a10(param_2);
        uVar1 = DAT_000b6c74;
        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);
        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3);
        DAT_000b6c3c = (undefined *)0x2;
        return 0;
      }
      ppuVar5 = &PTR_DAT_000ad220;
    }
  }
  DAT_000b6c3c = ppuVar5[1];
  return 1;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV ESI,dword ptr [ESP + 0x14]
CALL 0x000190b0
ADD EBX,0x73464
SUB ESP,0x8
LEA EAX,[EBX + 0xfffd92cd]
PUSH EAX
PUSH ESI
CALL 0x00059550
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0003b820
SUB ESP,0x8
LEA EAX,[EBX + 0xfffd92d2]
PUSH EAX
PUSH ESI
CALL 0x00059550
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0003b840
SUB ESP,0x8
LEA EAX,[EBX + 0xfffcc918]
PUSH EAX
PUSH ESI
CALL 0x00059550
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0003b850
SUB ESP,0xc
PUSH ESI
CALL 0x00062a10
ADD ESP,0xc
MOV EDI,EAX
LEA EAX,[EBX + 0x80a4]
MOV ESI,dword ptr [EAX]
LEA EAX,[EBX + 0xfffd9262]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000166c0
POP EDX
POP ECX
PUSH EDI
PUSH dword ptr [ESP + 0x1c]
PUSH ESI
PUSH EAX
MOV EAX,dword ptr [EBX + 0x3f0]
PUSH 0x1
PUSH dword ptr [EAX]
CALL 0x00016270
LEA ECX,[EBX + 0x7e70]
ADD ESP,0x20
XOR EAX,EAX
MOV EDX,0x2
MOV dword ptr [ECX + 0x1fc],EDX
POP EBX
POP ESI
POP EDI
RET
LEA EAX,[EBX + 0xffffe640]
MOV EDX,dword ptr [EAX + 0x4]
LEA ECX,[EBX + 0x7e70]
MOV EAX,0x1
MOV dword ptr [ECX + 0x1fc],EDX
POP EBX
POP ESI
POP EDI
RET
LEA EAX,[EBX + 0xffffe648]
JMP 0x0003b826
LEA EAX,[EBX + 0xffffe650]
JMP 0x0003b826
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_0003b760(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined **ppuVar5;\n  \n  iVar2 = FUN_00059550(param_2,&DAT_00087e9d);\n  if (iVar2 == 0) {\n    ppuVar5 = &PTR_DAT_000ad210;\n  }\n  else {\n    iVar2 = FUN_00059550(param_2,&DAT_00087ea2);\n    if (iVar2 == 0) {\n      ppuVar5 = &PTR_DAT_000ad218;\n    }\n    else {\n      iVar2 = FUN_00059550(param_2,&DAT_0007b4e8);\n      if (iVar2 != 0) {\n        uVar3 = FUN_00062a10(param_2);\n        uVar1 = DAT_000b6c74;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3);\n        DAT_000b6c3c = (undefined *)0x2;\n        return 0;\n      }\n      ppuVar5 = &PTR_DAT_000ad220;\n    }\n  }\n  DAT_000b6c3c = ppuVar5[1];\n  return 1;\n}\n\n" comment (function_definition "undefined4 FUN_0003b760(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined **ppuVar5;\n  \n  iVar2 = FUN_00059550(param_2,&DAT_00087e9d);\n  if (iVar2 == 0) {\n    ppuVar5 = &PTR_DAT_000ad210;\n  }\n  else {\n    iVar2 = FUN_00059550(param_2,&DAT_00087ea2);\n    if (iVar2 == 0) {\n      ppuVar5 = &PTR_DAT_000ad218;\n    }\n    else {\n      iVar2 = FUN_00059550(param_2,&DAT_0007b4e8);\n      if (iVar2 != 0) {\n        uVar3 = FUN_00062a10(param_2);\n        uVar1 = DAT_000b6c74;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3);\n        DAT_000b6c3c = (undefined *)0x2;\n        return 0;\n      }\n      ppuVar5 = &PTR_DAT_000ad220;\n    }\n  }\n  DAT_000b6c3c = ppuVar5[1];\n  return 1;\n}" type_identifier (function_declarator "FUN_0003b760(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined **ppuVar5;\n  \n  iVar2 = FUN_00059550(param_2,&DAT_00087e9d);\n  if (iVar2 == 0) {\n    ppuVar5 = &PTR_DAT_000ad210;\n  }\n  else {\n    iVar2 = FUN_00059550(param_2,&DAT_00087ea2);\n    if (iVar2 == 0) {\n      ppuVar5 = &PTR_DAT_000ad218;\n    }\n    else {\n      iVar2 = FUN_00059550(param_2,&DAT_0007b4e8);\n      if (iVar2 != 0) {\n        uVar3 = FUN_00062a10(param_2);\n        uVar1 = DAT_000b6c74;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3);\n        DAT_000b6c3c = (undefined *)0x2;\n        return 0;\n      }\n      ppuVar5 = &PTR_DAT_000ad220;\n    }\n  }\n  DAT_000b6c3c = ppuVar5[1];\n  return 1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined **ppuVar5;" type_identifier (pointer_declarator "**ppuVar5" * (pointer_declarator "*ppuVar5" * identifier)) ;) (expression_statement "iVar2 = FUN_00059550(param_2,&DAT_00087e9d);" (assignment_expression "iVar2 = FUN_00059550(param_2,&DAT_00087e9d)" identifier = (call_expression "FUN_00059550(param_2,&DAT_00087e9d)" identifier (argument_list "(param_2,&DAT_00087e9d)" ( identifier , (pointer_expression "&DAT_00087e9d" & identifier) )))) ;) (if_statement "if (iVar2 == 0) {\n    ppuVar5 = &PTR_DAT_000ad210;\n  }\n  else {\n    iVar2 = FUN_00059550(param_2,&DAT_00087ea2);\n    if (iVar2 == 0) {\n      ppuVar5 = &PTR_DAT_000ad218;\n    }\n    else {\n      iVar2 = FUN_00059550(param_2,&DAT_0007b4e8);\n      if (iVar2 != 0) {\n        uVar3 = FUN_00062a10(param_2);\n        uVar1 = DAT_000b6c74;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3);\n        DAT_000b6c3c = (undefined *)0x2;\n        return 0;\n      }\n      ppuVar5 = &PTR_DAT_000ad220;\n    }\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    ppuVar5 = &PTR_DAT_000ad210;\n  }" { (expression_statement "ppuVar5 = &PTR_DAT_000ad210;" (assignment_expression "ppuVar5 = &PTR_DAT_000ad210" identifier = (pointer_expression "&PTR_DAT_000ad210" & identifier)) ;) }) (else_clause "else {\n    iVar2 = FUN_00059550(param_2,&DAT_00087ea2);\n    if (iVar2 == 0) {\n      ppuVar5 = &PTR_DAT_000ad218;\n    }\n    else {\n      iVar2 = FUN_00059550(param_2,&DAT_0007b4e8);\n      if (iVar2 != 0) {\n        uVar3 = FUN_00062a10(param_2);\n        uVar1 = DAT_000b6c74;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3);\n        DAT_000b6c3c = (undefined *)0x2;\n        return 0;\n      }\n      ppuVar5 = &PTR_DAT_000ad220;\n    }\n  }" else (compound_statement "{\n    iVar2 = FUN_00059550(param_2,&DAT_00087ea2);\n    if (iVar2 == 0) {\n      ppuVar5 = &PTR_DAT_000ad218;\n    }\n    else {\n      iVar2 = FUN_00059550(param_2,&DAT_0007b4e8);\n      if (iVar2 != 0) {\n        uVar3 = FUN_00062a10(param_2);\n        uVar1 = DAT_000b6c74;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3);\n        DAT_000b6c3c = (undefined *)0x2;\n        return 0;\n      }\n      ppuVar5 = &PTR_DAT_000ad220;\n    }\n  }" { (expression_statement "iVar2 = FUN_00059550(param_2,&DAT_00087ea2);" (assignment_expression "iVar2 = FUN_00059550(param_2,&DAT_00087ea2)" identifier = (call_expression "FUN_00059550(param_2,&DAT_00087ea2)" identifier (argument_list "(param_2,&DAT_00087ea2)" ( identifier , (pointer_expression "&DAT_00087ea2" & identifier) )))) ;) (if_statement "if (iVar2 == 0) {\n      ppuVar5 = &PTR_DAT_000ad218;\n    }\n    else {\n      iVar2 = FUN_00059550(param_2,&DAT_0007b4e8);\n      if (iVar2 != 0) {\n        uVar3 = FUN_00062a10(param_2);\n        uVar1 = DAT_000b6c74;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3);\n        DAT_000b6c3c = (undefined *)0x2;\n        return 0;\n      }\n      ppuVar5 = &PTR_DAT_000ad220;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      ppuVar5 = &PTR_DAT_000ad218;\n    }" { (expression_statement "ppuVar5 = &PTR_DAT_000ad218;" (assignment_expression "ppuVar5 = &PTR_DAT_000ad218" identifier = (pointer_expression "&PTR_DAT_000ad218" & identifier)) ;) }) (else_clause "else {\n      iVar2 = FUN_00059550(param_2,&DAT_0007b4e8);\n      if (iVar2 != 0) {\n        uVar3 = FUN_00062a10(param_2);\n        uVar1 = DAT_000b6c74;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3);\n        DAT_000b6c3c = (undefined *)0x2;\n        return 0;\n      }\n      ppuVar5 = &PTR_DAT_000ad220;\n    }" else (compound_statement "{\n      iVar2 = FUN_00059550(param_2,&DAT_0007b4e8);\n      if (iVar2 != 0) {\n        uVar3 = FUN_00062a10(param_2);\n        uVar1 = DAT_000b6c74;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3);\n        DAT_000b6c3c = (undefined *)0x2;\n        return 0;\n      }\n      ppuVar5 = &PTR_DAT_000ad220;\n    }" { (expression_statement "iVar2 = FUN_00059550(param_2,&DAT_0007b4e8);" (assignment_expression "iVar2 = FUN_00059550(param_2,&DAT_0007b4e8)" identifier = (call_expression "FUN_00059550(param_2,&DAT_0007b4e8)" identifier (argument_list "(param_2,&DAT_0007b4e8)" ( identifier , (pointer_expression "&DAT_0007b4e8" & identifier) )))) ;) (if_statement "if (iVar2 != 0) {\n        uVar3 = FUN_00062a10(param_2);\n        uVar1 = DAT_000b6c74;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3);\n        DAT_000b6c3c = (undefined *)0x2;\n        return 0;\n      }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n        uVar3 = FUN_00062a10(param_2);\n        uVar1 = DAT_000b6c74;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3);\n        DAT_000b6c3c = (undefined *)0x2;\n        return 0;\n      }" { (expression_statement "uVar3 = FUN_00062a10(param_2);" (assignment_expression "uVar3 = FUN_00062a10(param_2)" identifier = (call_expression "FUN_00062a10(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "uVar1 = DAT_000b6c74;" (assignment_expression "uVar1 = DAT_000b6c74" identifier = identifier) ;) (expression_statement "uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);" (assignment_expression "uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5)" identifier = (call_expression "dcgettext(0,"%s: %s: Invalid value %s.\n",5)" identifier (argument_list "(0,"%s: %s: Invalid value %s.\n",5)" ( number_literal , (string_literal ""%s: %s: Invalid value %s.\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3)" identifier (argument_list "(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3)" ( (pointer_expression "*(undefined4 *)PTR_stderr_000aefc0" * (cast_expression "(undefined4 *)PTR_stderr_000aefc0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , identifier , identifier , identifier ))) ;) (expression_statement "DAT_000b6c3c = (undefined *)0x2;" (assignment_expression "DAT_000b6c3c = (undefined *)0x2" identifier = (cast_expression "(undefined *)0x2" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "ppuVar5 = &PTR_DAT_000ad220;" (assignment_expression "ppuVar5 = &PTR_DAT_000ad220" identifier = (pointer_expression "&PTR_DAT_000ad220" & identifier)) ;) }))) }))) (expression_statement "DAT_000b6c3c = ppuVar5[1];" (assignment_expression "DAT_000b6c3c = ppuVar5[1]" identifier = (subscript_expression "ppuVar5[1]" identifier [ number_literal ])) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\n_Bool cmd_spec_prefer_family(char *com,char *val,void *place_ignored)\n\n{\n  char *pcVar1;\n  int iVar2;\n  char *pcVar3;\n  undefined4 uVar4;\n  decode_item *pdVar5;\n  \n  iVar2 = c_strcasecmp(val,"IPv4");\n  if (iVar2 == 0) {\n    pdVar5 = cmd_spec_prefer_family::choices;\n  }\n  else {\n    iVar2 = c_strcasecmp(val,"IPv6");\n    if (iVar2 == 0) {\n      pdVar5 = (decode_item *)0xad218;\n    }\n    else {\n      iVar2 = c_strcasecmp(val,"none");\n      if (iVar2 != 0) {\n        pcVar3 = quote(val);\n        pcVar1 = exec_name;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,pcVar1,com,pcVar3);\n        opt.prefer_family = AP_DECODE_ENTITIES;\n        return false;\n      }\n      pdVar5 = (decode_item *)0xad220;\n    }\n  }\n  opt.prefer_family = pdVar5->code;\n  return true;\n}\n\n" comment comment comment (function_definition "_Bool cmd_spec_prefer_family(char *com,char *val,void *place_ignored)\n\n{\n  char *pcVar1;\n  int iVar2;\n  char *pcVar3;\n  undefined4 uVar4;\n  decode_item *pdVar5;\n  \n  iVar2 = c_strcasecmp(val,"IPv4");\n  if (iVar2 == 0) {\n    pdVar5 = cmd_spec_prefer_family::choices;\n  }\n  else {\n    iVar2 = c_strcasecmp(val,"IPv6");\n    if (iVar2 == 0) {\n      pdVar5 = (decode_item *)0xad218;\n    }\n    else {\n      iVar2 = c_strcasecmp(val,"none");\n      if (iVar2 != 0) {\n        pcVar3 = quote(val);\n        pcVar1 = exec_name;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,pcVar1,com,pcVar3);\n        opt.prefer_family = AP_DECODE_ENTITIES;\n        return false;\n      }\n      pdVar5 = (decode_item *)0xad220;\n    }\n  }\n  opt.prefer_family = pdVar5->code;\n  return true;\n}" type_identifier (function_declarator "cmd_spec_prefer_family(char *com,char *val,void *place_ignored)" identifier (parameter_list "(char *com,char *val,void *place_ignored)" ( (parameter_declaration "char *com" primitive_type (pointer_declarator "*com" * identifier)) , (parameter_declaration "char *val" primitive_type (pointer_declarator "*val" * identifier)) , (parameter_declaration "void *place_ignored" primitive_type (pointer_declarator "*place_ignored" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  char *pcVar3;\n  undefined4 uVar4;\n  decode_item *pdVar5;\n  \n  iVar2 = c_strcasecmp(val,"IPv4");\n  if (iVar2 == 0) {\n    pdVar5 = cmd_spec_prefer_family::choices;\n  }\n  else {\n    iVar2 = c_strcasecmp(val,"IPv6");\n    if (iVar2 == 0) {\n      pdVar5 = (decode_item *)0xad218;\n    }\n    else {\n      iVar2 = c_strcasecmp(val,"none");\n      if (iVar2 != 0) {\n        pcVar3 = quote(val);\n        pcVar1 = exec_name;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,pcVar1,com,pcVar3);\n        opt.prefer_family = AP_DECODE_ENTITIES;\n        return false;\n      }\n      pdVar5 = (decode_item *)0xad220;\n    }\n  }\n  opt.prefer_family = pdVar5->code;\n  return true;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "decode_item *pdVar5;" type_identifier (pointer_declarator "*pdVar5" * identifier) ;) (expression_statement "iVar2 = c_strcasecmp(val,"IPv4");" (assignment_expression "iVar2 = c_strcasecmp(val,"IPv4")" identifier = (call_expression "c_strcasecmp(val,"IPv4")" identifier (argument_list "(val,"IPv4")" ( identifier , (string_literal ""IPv4"" " string_content ") )))) ;) (if_statement "if (iVar2 == 0) {\n    pdVar5 = cmd_spec_prefer_family::choices;\n  }\n  else {\n    iVar2 = c_strcasecmp(val,"IPv6");\n    if (iVar2 == 0) {\n      pdVar5 = (decode_item *)0xad218;\n    }\n    else {\n      iVar2 = c_strcasecmp(val,"none");\n      if (iVar2 != 0) {\n        pcVar3 = quote(val);\n        pcVar1 = exec_name;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,pcVar1,com,pcVar3);\n        opt.prefer_family = AP_DECODE_ENTITIES;\n        return false;\n      }\n      pdVar5 = (decode_item *)0xad220;\n    }\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    pdVar5 = cmd_spec_prefer_family::choices;\n  }" { (expression_statement "pdVar5 = cmd_spec_prefer_family::choices;" (assignment_expression "pdVar5 = cmd_spec_prefer_family" identifier = identifier) (ERROR "::choices" : : identifier) ;) }) (else_clause "else {\n    iVar2 = c_strcasecmp(val,"IPv6");\n    if (iVar2 == 0) {\n      pdVar5 = (decode_item *)0xad218;\n    }\n    else {\n      iVar2 = c_strcasecmp(val,"none");\n      if (iVar2 != 0) {\n        pcVar3 = quote(val);\n        pcVar1 = exec_name;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,pcVar1,com,pcVar3);\n        opt.prefer_family = AP_DECODE_ENTITIES;\n        return false;\n      }\n      pdVar5 = (decode_item *)0xad220;\n    }\n  }" else (compound_statement "{\n    iVar2 = c_strcasecmp(val,"IPv6");\n    if (iVar2 == 0) {\n      pdVar5 = (decode_item *)0xad218;\n    }\n    else {\n      iVar2 = c_strcasecmp(val,"none");\n      if (iVar2 != 0) {\n        pcVar3 = quote(val);\n        pcVar1 = exec_name;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,pcVar1,com,pcVar3);\n        opt.prefer_family = AP_DECODE_ENTITIES;\n        return false;\n      }\n      pdVar5 = (decode_item *)0xad220;\n    }\n  }" { (expression_statement "iVar2 = c_strcasecmp(val,"IPv6");" (assignment_expression "iVar2 = c_strcasecmp(val,"IPv6")" identifier = (call_expression "c_strcasecmp(val,"IPv6")" identifier (argument_list "(val,"IPv6")" ( identifier , (string_literal ""IPv6"" " string_content ") )))) ;) (if_statement "if (iVar2 == 0) {\n      pdVar5 = (decode_item *)0xad218;\n    }\n    else {\n      iVar2 = c_strcasecmp(val,"none");\n      if (iVar2 != 0) {\n        pcVar3 = quote(val);\n        pcVar1 = exec_name;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,pcVar1,com,pcVar3);\n        opt.prefer_family = AP_DECODE_ENTITIES;\n        return false;\n      }\n      pdVar5 = (decode_item *)0xad220;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      pdVar5 = (decode_item *)0xad218;\n    }" { (expression_statement "pdVar5 = (decode_item *)0xad218;" (assignment_expression "pdVar5 = (decode_item *)0xad218" identifier = (cast_expression "(decode_item *)0xad218" ( (type_descriptor "decode_item *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n      iVar2 = c_strcasecmp(val,"none");\n      if (iVar2 != 0) {\n        pcVar3 = quote(val);\n        pcVar1 = exec_name;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,pcVar1,com,pcVar3);\n        opt.prefer_family = AP_DECODE_ENTITIES;\n        return false;\n      }\n      pdVar5 = (decode_item *)0xad220;\n    }" else (compound_statement "{\n      iVar2 = c_strcasecmp(val,"none");\n      if (iVar2 != 0) {\n        pcVar3 = quote(val);\n        pcVar1 = exec_name;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,pcVar1,com,pcVar3);\n        opt.prefer_family = AP_DECODE_ENTITIES;\n        return false;\n      }\n      pdVar5 = (decode_item *)0xad220;\n    }" { (expression_statement "iVar2 = c_strcasecmp(val,"none");" (assignment_expression "iVar2 = c_strcasecmp(val,"none")" identifier = (call_expression "c_strcasecmp(val,"none")" identifier (argument_list "(val,"none")" ( identifier , (string_literal ""none"" " string_content ") )))) ;) (if_statement "if (iVar2 != 0) {\n        pcVar3 = quote(val);\n        pcVar1 = exec_name;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,pcVar1,com,pcVar3);\n        opt.prefer_family = AP_DECODE_ENTITIES;\n        return false;\n      }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n        pcVar3 = quote(val);\n        pcVar1 = exec_name;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,pcVar1,com,pcVar3);\n        opt.prefer_family = AP_DECODE_ENTITIES;\n        return false;\n      }" { (expression_statement "pcVar3 = quote(val);" (assignment_expression "pcVar3 = quote(val)" identifier = (call_expression "quote(val)" identifier (argument_list "(val)" ( identifier )))) ;) (expression_statement "pcVar1 = exec_name;" (assignment_expression "pcVar1 = exec_name" identifier = identifier) ;) (expression_statement "uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);" (assignment_expression "uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5)" identifier = (call_expression "dcgettext(0,"%s: %s: Invalid value %s.\n",5)" identifier (argument_list "(0,"%s: %s: Invalid value %s.\n",5)" ( number_literal , (string_literal ""%s: %s: Invalid value %s.\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,pcVar1,com,pcVar3);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,pcVar1,com,pcVar3)" identifier (argument_list "(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,pcVar1,com,pcVar3)" ( (pointer_expression "*(undefined4 *)PTR_stderr_000aefc0" * (cast_expression "(undefined4 *)PTR_stderr_000aefc0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , identifier , identifier , identifier ))) ;) (expression_statement "opt.prefer_family = AP_DECODE_ENTITIES;" (assignment_expression "opt.prefer_family = AP_DECODE_ENTITIES" (field_expression "opt.prefer_family" identifier . field_identifier) = identifier) ;) (return_statement "return false;" return false ;) })) (expression_statement "pdVar5 = (decode_item *)0xad220;" (assignment_expression "pdVar5 = (decode_item *)0xad220" identifier = (cast_expression "(decode_item *)0xad220" ( (type_descriptor "decode_item *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) }))) (expression_statement "opt.prefer_family = pdVar5->code;" (assignment_expression "opt.prefer_family = pdVar5->code" (field_expression "opt.prefer_family" identifier . field_identifier) = (field_expression "pdVar5->code" identifier -> field_identifier)) ;) (return_statement "return true;" return true ;) })))
(translation_unit "undefined4 FUN_0003b760(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined **ppuVar5;\n  \n  iVar2 = FUN_00059550(param_2,&DAT_00087e9d);\n  if (iVar2 == 0) {\n    ppuVar5 = &PTR_DAT_000ad210;\n  }\n  else {\n    iVar2 = FUN_00059550(param_2,&DAT_00087ea2);\n    if (iVar2 == 0) {\n      ppuVar5 = &PTR_DAT_000ad218;\n    }\n    else {\n      iVar2 = FUN_00059550(param_2,&DAT_0007b4e8);\n      if (iVar2 != 0) {\n        uVar3 = FUN_00062a10(param_2);\n        uVar1 = DAT_000b6c74;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3);\n        DAT_000b6c3c = (undefined *)0x2;\n        return 0;\n      }\n      ppuVar5 = &PTR_DAT_000ad220;\n    }\n  }\n  DAT_000b6c3c = ppuVar5[1];\n  return 1;\n}\n\n" (function_definition "undefined4 FUN_0003b760(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined **ppuVar5;\n  \n  iVar2 = FUN_00059550(param_2,&DAT_00087e9d);\n  if (iVar2 == 0) {\n    ppuVar5 = &PTR_DAT_000ad210;\n  }\n  else {\n    iVar2 = FUN_00059550(param_2,&DAT_00087ea2);\n    if (iVar2 == 0) {\n      ppuVar5 = &PTR_DAT_000ad218;\n    }\n    else {\n      iVar2 = FUN_00059550(param_2,&DAT_0007b4e8);\n      if (iVar2 != 0) {\n        uVar3 = FUN_00062a10(param_2);\n        uVar1 = DAT_000b6c74;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3);\n        DAT_000b6c3c = (undefined *)0x2;\n        return 0;\n      }\n      ppuVar5 = &PTR_DAT_000ad220;\n    }\n  }\n  DAT_000b6c3c = ppuVar5[1];\n  return 1;\n}" type_identifier (function_declarator "FUN_0003b760(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined **ppuVar5;\n  \n  iVar2 = FUN_00059550(param_2,&DAT_00087e9d);\n  if (iVar2 == 0) {\n    ppuVar5 = &PTR_DAT_000ad210;\n  }\n  else {\n    iVar2 = FUN_00059550(param_2,&DAT_00087ea2);\n    if (iVar2 == 0) {\n      ppuVar5 = &PTR_DAT_000ad218;\n    }\n    else {\n      iVar2 = FUN_00059550(param_2,&DAT_0007b4e8);\n      if (iVar2 != 0) {\n        uVar3 = FUN_00062a10(param_2);\n        uVar1 = DAT_000b6c74;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3);\n        DAT_000b6c3c = (undefined *)0x2;\n        return 0;\n      }\n      ppuVar5 = &PTR_DAT_000ad220;\n    }\n  }\n  DAT_000b6c3c = ppuVar5[1];\n  return 1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined **ppuVar5;" type_identifier (pointer_declarator "**ppuVar5" * (pointer_declarator "*ppuVar5" * identifier)) ;) (expression_statement "iVar2 = FUN_00059550(param_2,&DAT_00087e9d);" (assignment_expression "iVar2 = FUN_00059550(param_2,&DAT_00087e9d)" identifier = (call_expression "FUN_00059550(param_2,&DAT_00087e9d)" identifier (argument_list "(param_2,&DAT_00087e9d)" ( identifier , (pointer_expression "&DAT_00087e9d" & identifier) )))) ;) (if_statement "if (iVar2 == 0) {\n    ppuVar5 = &PTR_DAT_000ad210;\n  }\n  else {\n    iVar2 = FUN_00059550(param_2,&DAT_00087ea2);\n    if (iVar2 == 0) {\n      ppuVar5 = &PTR_DAT_000ad218;\n    }\n    else {\n      iVar2 = FUN_00059550(param_2,&DAT_0007b4e8);\n      if (iVar2 != 0) {\n        uVar3 = FUN_00062a10(param_2);\n        uVar1 = DAT_000b6c74;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3);\n        DAT_000b6c3c = (undefined *)0x2;\n        return 0;\n      }\n      ppuVar5 = &PTR_DAT_000ad220;\n    }\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    ppuVar5 = &PTR_DAT_000ad210;\n  }" { (expression_statement "ppuVar5 = &PTR_DAT_000ad210;" (assignment_expression "ppuVar5 = &PTR_DAT_000ad210" identifier = (pointer_expression "&PTR_DAT_000ad210" & identifier)) ;) }) (else_clause "else {\n    iVar2 = FUN_00059550(param_2,&DAT_00087ea2);\n    if (iVar2 == 0) {\n      ppuVar5 = &PTR_DAT_000ad218;\n    }\n    else {\n      iVar2 = FUN_00059550(param_2,&DAT_0007b4e8);\n      if (iVar2 != 0) {\n        uVar3 = FUN_00062a10(param_2);\n        uVar1 = DAT_000b6c74;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3);\n        DAT_000b6c3c = (undefined *)0x2;\n        return 0;\n      }\n      ppuVar5 = &PTR_DAT_000ad220;\n    }\n  }" else (compound_statement "{\n    iVar2 = FUN_00059550(param_2,&DAT_00087ea2);\n    if (iVar2 == 0) {\n      ppuVar5 = &PTR_DAT_000ad218;\n    }\n    else {\n      iVar2 = FUN_00059550(param_2,&DAT_0007b4e8);\n      if (iVar2 != 0) {\n        uVar3 = FUN_00062a10(param_2);\n        uVar1 = DAT_000b6c74;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3);\n        DAT_000b6c3c = (undefined *)0x2;\n        return 0;\n      }\n      ppuVar5 = &PTR_DAT_000ad220;\n    }\n  }" { (expression_statement "iVar2 = FUN_00059550(param_2,&DAT_00087ea2);" (assignment_expression "iVar2 = FUN_00059550(param_2,&DAT_00087ea2)" identifier = (call_expression "FUN_00059550(param_2,&DAT_00087ea2)" identifier (argument_list "(param_2,&DAT_00087ea2)" ( identifier , (pointer_expression "&DAT_00087ea2" & identifier) )))) ;) (if_statement "if (iVar2 == 0) {\n      ppuVar5 = &PTR_DAT_000ad218;\n    }\n    else {\n      iVar2 = FUN_00059550(param_2,&DAT_0007b4e8);\n      if (iVar2 != 0) {\n        uVar3 = FUN_00062a10(param_2);\n        uVar1 = DAT_000b6c74;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3);\n        DAT_000b6c3c = (undefined *)0x2;\n        return 0;\n      }\n      ppuVar5 = &PTR_DAT_000ad220;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      ppuVar5 = &PTR_DAT_000ad218;\n    }" { (expression_statement "ppuVar5 = &PTR_DAT_000ad218;" (assignment_expression "ppuVar5 = &PTR_DAT_000ad218" identifier = (pointer_expression "&PTR_DAT_000ad218" & identifier)) ;) }) (else_clause "else {\n      iVar2 = FUN_00059550(param_2,&DAT_0007b4e8);\n      if (iVar2 != 0) {\n        uVar3 = FUN_00062a10(param_2);\n        uVar1 = DAT_000b6c74;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3);\n        DAT_000b6c3c = (undefined *)0x2;\n        return 0;\n      }\n      ppuVar5 = &PTR_DAT_000ad220;\n    }" else (compound_statement "{\n      iVar2 = FUN_00059550(param_2,&DAT_0007b4e8);\n      if (iVar2 != 0) {\n        uVar3 = FUN_00062a10(param_2);\n        uVar1 = DAT_000b6c74;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3);\n        DAT_000b6c3c = (undefined *)0x2;\n        return 0;\n      }\n      ppuVar5 = &PTR_DAT_000ad220;\n    }" { (expression_statement "iVar2 = FUN_00059550(param_2,&DAT_0007b4e8);" (assignment_expression "iVar2 = FUN_00059550(param_2,&DAT_0007b4e8)" identifier = (call_expression "FUN_00059550(param_2,&DAT_0007b4e8)" identifier (argument_list "(param_2,&DAT_0007b4e8)" ( identifier , (pointer_expression "&DAT_0007b4e8" & identifier) )))) ;) (if_statement "if (iVar2 != 0) {\n        uVar3 = FUN_00062a10(param_2);\n        uVar1 = DAT_000b6c74;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3);\n        DAT_000b6c3c = (undefined *)0x2;\n        return 0;\n      }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n        uVar3 = FUN_00062a10(param_2);\n        uVar1 = DAT_000b6c74;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3);\n        DAT_000b6c3c = (undefined *)0x2;\n        return 0;\n      }" { (expression_statement "uVar3 = FUN_00062a10(param_2);" (assignment_expression "uVar3 = FUN_00062a10(param_2)" identifier = (call_expression "FUN_00062a10(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "uVar1 = DAT_000b6c74;" (assignment_expression "uVar1 = DAT_000b6c74" identifier = identifier) ;) (expression_statement "uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);" (assignment_expression "uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5)" identifier = (call_expression "dcgettext(0,"%s: %s: Invalid value %s.\n",5)" identifier (argument_list "(0,"%s: %s: Invalid value %s.\n",5)" ( number_literal , (string_literal ""%s: %s: Invalid value %s.\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3)" identifier (argument_list "(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3)" ( (pointer_expression "*(undefined4 *)PTR_stderr_000aefc0" * (cast_expression "(undefined4 *)PTR_stderr_000aefc0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , identifier , identifier , identifier ))) ;) (expression_statement "DAT_000b6c3c = (undefined *)0x2;" (assignment_expression "DAT_000b6c3c = (undefined *)0x2" identifier = (cast_expression "(undefined *)0x2" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "ppuVar5 = &PTR_DAT_000ad220;" (assignment_expression "ppuVar5 = &PTR_DAT_000ad220" identifier = (pointer_expression "&PTR_DAT_000ad220" & identifier)) ;) }))) }))) (expression_statement "DAT_000b6c3c = ppuVar5[1];" (assignment_expression "DAT_000b6c3c = ppuVar5[1]" identifier = (subscript_expression "ppuVar5[1]" identifier [ number_literal ])) ;) (return_statement "return 1;" return number_literal ;) })))
(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 IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , LIT , IDENT , IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) }))) }))) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_0003b760(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined **ppuVar5;\n  \n  iVar2 = FUN_00059550(param_2,&DAT_00087e9d);\n  if (iVar2 == 0) {\n    ppuVar5 = &PTR_DAT_000ad210;\n  }\n  else {\n    iVar2 = FUN_00059550(param_2,&DAT_00087ea2);\n    if (iVar2 == 0) {\n      ppuVar5 = &PTR_DAT_000ad218;\n    }\n    else {\n      iVar2 = FUN_00059550(param_2,&DAT_0007b4e8);\n      if (iVar2 != 0) {\n        uVar3 = FUN_00062a10(param_2);\n        uVar1 = DAT_000b6c74;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3);\n        DAT_000b6c3c = (undefined *)0x2;\n        return 0;\n      }\n      ppuVar5 = &PTR_DAT_000ad220;\n    }\n  }\n  DAT_000b6c3c = ppuVar5[1];\n  return 1;\n}" (type_identifier "undefined4") (function_declarator "FUN_0003b760(undefined4 param_1,undefined4 param_2)" (identifier "FUN_0003b760") (parameter_list "(undefined4 param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined **ppuVar5;\n  \n  iVar2 = FUN_00059550(param_2,&DAT_00087e9d);\n  if (iVar2 == 0) {\n    ppuVar5 = &PTR_DAT_000ad210;\n  }\n  else {\n    iVar2 = FUN_00059550(param_2,&DAT_00087ea2);\n    if (iVar2 == 0) {\n      ppuVar5 = &PTR_DAT_000ad218;\n    }\n    else {\n      iVar2 = FUN_00059550(param_2,&DAT_0007b4e8);\n      if (iVar2 != 0) {\n        uVar3 = FUN_00062a10(param_2);\n        uVar1 = DAT_000b6c74;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3);\n        DAT_000b6c3c = (undefined *)0x2;\n        return 0;\n      }\n      ppuVar5 = &PTR_DAT_000ad220;\n    }\n  }\n  DAT_000b6c3c = ppuVar5[1];\n  return 1;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined **ppuVar5;" (type_identifier "undefined") (pointer_declarator "**ppuVar5" (* "*") (pointer_declarator "*ppuVar5" (* "*") (identifier "ppuVar5"))) (; ";")) (expression_statement "iVar2 = FUN_00059550(param_2,&DAT_00087e9d);" (assignment_expression "iVar2 = FUN_00059550(param_2,&DAT_00087e9d)" (identifier "iVar2") (= "=") (call_expression "FUN_00059550(param_2,&DAT_00087e9d)" (identifier "FUN_00059550") (argument_list "(param_2,&DAT_00087e9d)" (( "(") (identifier "param_2") (, ",") (pointer_expression "&DAT_00087e9d" (& "&") (identifier "DAT_00087e9d")) () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n    ppuVar5 = &PTR_DAT_000ad210;\n  }\n  else {\n    iVar2 = FUN_00059550(param_2,&DAT_00087ea2);\n    if (iVar2 == 0) {\n      ppuVar5 = &PTR_DAT_000ad218;\n    }\n    else {\n      iVar2 = FUN_00059550(param_2,&DAT_0007b4e8);\n      if (iVar2 != 0) {\n        uVar3 = FUN_00062a10(param_2);\n        uVar1 = DAT_000b6c74;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3);\n        DAT_000b6c3c = (undefined *)0x2;\n        return 0;\n      }\n      ppuVar5 = &PTR_DAT_000ad220;\n    }\n  }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    ppuVar5 = &PTR_DAT_000ad210;\n  }" ({ "{") (expression_statement "ppuVar5 = &PTR_DAT_000ad210;" (assignment_expression "ppuVar5 = &PTR_DAT_000ad210" (identifier "ppuVar5") (= "=") (pointer_expression "&PTR_DAT_000ad210" (& "&") (identifier "PTR_DAT_000ad210"))) (; ";")) (} "}")) (else_clause "else {\n    iVar2 = FUN_00059550(param_2,&DAT_00087ea2);\n    if (iVar2 == 0) {\n      ppuVar5 = &PTR_DAT_000ad218;\n    }\n    else {\n      iVar2 = FUN_00059550(param_2,&DAT_0007b4e8);\n      if (iVar2 != 0) {\n        uVar3 = FUN_00062a10(param_2);\n        uVar1 = DAT_000b6c74;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3);\n        DAT_000b6c3c = (undefined *)0x2;\n        return 0;\n      }\n      ppuVar5 = &PTR_DAT_000ad220;\n    }\n  }" (else "else") (compound_statement "{\n    iVar2 = FUN_00059550(param_2,&DAT_00087ea2);\n    if (iVar2 == 0) {\n      ppuVar5 = &PTR_DAT_000ad218;\n    }\n    else {\n      iVar2 = FUN_00059550(param_2,&DAT_0007b4e8);\n      if (iVar2 != 0) {\n        uVar3 = FUN_00062a10(param_2);\n        uVar1 = DAT_000b6c74;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3);\n        DAT_000b6c3c = (undefined *)0x2;\n        return 0;\n      }\n      ppuVar5 = &PTR_DAT_000ad220;\n    }\n  }" ({ "{") (expression_statement "iVar2 = FUN_00059550(param_2,&DAT_00087ea2);" (assignment_expression "iVar2 = FUN_00059550(param_2,&DAT_00087ea2)" (identifier "iVar2") (= "=") (call_expression "FUN_00059550(param_2,&DAT_00087ea2)" (identifier "FUN_00059550") (argument_list "(param_2,&DAT_00087ea2)" (( "(") (identifier "param_2") (, ",") (pointer_expression "&DAT_00087ea2" (& "&") (identifier "DAT_00087ea2")) () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n      ppuVar5 = &PTR_DAT_000ad218;\n    }\n    else {\n      iVar2 = FUN_00059550(param_2,&DAT_0007b4e8);\n      if (iVar2 != 0) {\n        uVar3 = FUN_00062a10(param_2);\n        uVar1 = DAT_000b6c74;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3);\n        DAT_000b6c3c = (undefined *)0x2;\n        return 0;\n      }\n      ppuVar5 = &PTR_DAT_000ad220;\n    }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      ppuVar5 = &PTR_DAT_000ad218;\n    }" ({ "{") (expression_statement "ppuVar5 = &PTR_DAT_000ad218;" (assignment_expression "ppuVar5 = &PTR_DAT_000ad218" (identifier "ppuVar5") (= "=") (pointer_expression "&PTR_DAT_000ad218" (& "&") (identifier "PTR_DAT_000ad218"))) (; ";")) (} "}")) (else_clause "else {\n      iVar2 = FUN_00059550(param_2,&DAT_0007b4e8);\n      if (iVar2 != 0) {\n        uVar3 = FUN_00062a10(param_2);\n        uVar1 = DAT_000b6c74;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3);\n        DAT_000b6c3c = (undefined *)0x2;\n        return 0;\n      }\n      ppuVar5 = &PTR_DAT_000ad220;\n    }" (else "else") (compound_statement "{\n      iVar2 = FUN_00059550(param_2,&DAT_0007b4e8);\n      if (iVar2 != 0) {\n        uVar3 = FUN_00062a10(param_2);\n        uVar1 = DAT_000b6c74;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3);\n        DAT_000b6c3c = (undefined *)0x2;\n        return 0;\n      }\n      ppuVar5 = &PTR_DAT_000ad220;\n    }" ({ "{") (expression_statement "iVar2 = FUN_00059550(param_2,&DAT_0007b4e8);" (assignment_expression "iVar2 = FUN_00059550(param_2,&DAT_0007b4e8)" (identifier "iVar2") (= "=") (call_expression "FUN_00059550(param_2,&DAT_0007b4e8)" (identifier "FUN_00059550") (argument_list "(param_2,&DAT_0007b4e8)" (( "(") (identifier "param_2") (, ",") (pointer_expression "&DAT_0007b4e8" (& "&") (identifier "DAT_0007b4e8")) () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n        uVar3 = FUN_00062a10(param_2);\n        uVar1 = DAT_000b6c74;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3);\n        DAT_000b6c3c = (undefined *)0x2;\n        return 0;\n      }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        uVar3 = FUN_00062a10(param_2);\n        uVar1 = DAT_000b6c74;\n        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3);\n        DAT_000b6c3c = (undefined *)0x2;\n        return 0;\n      }" ({ "{") (expression_statement "uVar3 = FUN_00062a10(param_2);" (assignment_expression "uVar3 = FUN_00062a10(param_2)" (identifier "uVar3") (= "=") (call_expression "FUN_00062a10(param_2)" (identifier "FUN_00062a10") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "uVar1 = DAT_000b6c74;" (assignment_expression "uVar1 = DAT_000b6c74" (identifier "uVar1") (= "=") (identifier "DAT_000b6c74")) (; ";")) (expression_statement "uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);" (assignment_expression "uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5)" (identifier "uVar4") (= "=") (call_expression "dcgettext(0,"%s: %s: Invalid value %s.\n",5)" (identifier "dcgettext") (argument_list "(0,"%s: %s: Invalid value %s.\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%s: %s: Invalid value %s.\n"" (" """) (string_content "%s: %s: Invalid value %s.") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3)" (identifier "__fprintf_chk") (argument_list "(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3)" (( "(") (pointer_expression "*(undefined4 *)PTR_stderr_000aefc0" (* "*") (cast_expression "(undefined4 *)PTR_stderr_000aefc0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stderr_000aefc0"))) (, ",") (number_literal "1") (, ",") (identifier "uVar4") (, ",") (identifier "uVar1") (, ",") (identifier "param_1") (, ",") (identifier "uVar3") () ")"))) (; ";")) (expression_statement "DAT_000b6c3c = (undefined *)0x2;" (assignment_expression "DAT_000b6c3c = (undefined *)0x2" (identifier "DAT_000b6c3c") (= "=") (cast_expression "(undefined *)0x2" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x2"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "ppuVar5 = &PTR_DAT_000ad220;" (assignment_expression "ppuVar5 = &PTR_DAT_000ad220" (identifier "ppuVar5") (= "=") (pointer_expression "&PTR_DAT_000ad220" (& "&") (identifier "PTR_DAT_000ad220"))) (; ";")) (} "}")))) (} "}")))) (expression_statement "DAT_000b6c3c = ppuVar5[1];" (assignment_expression "DAT_000b6c3c = ppuVar5[1]" (identifier "DAT_000b6c3c") (= "=") (subscript_expression "ppuVar5[1]" (identifier "ppuVar5") ([ "[") (number_literal "1") (] "]"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

type_1 function_1(char *com,char *val,void *place_ignored)

{
  char *pcVar1;
  int var_2;
  char *pcVar3;
  type_2 uVar4;
  type_3 *pdVar5;
  
  var_2 = var_1(val,"IPv4");
  if (var_2 == 0) {
    pdVar5 = function_1::choices;
  }
  else {
    var_2 = var_1(val,"IPv6");
    if (var_2 == 0) {
      pdVar5 = (type_3 *)0xad218;
    }
    else {
      var_2 = var_1(val,"none");
      if (var_2 != 0) {
        pcVar3 = var_3(val);
        pcVar1 = exec_name;
        uVar4 = var_4(0,"%s: %s: Invalid value %s.\n",5);
        var_5(*(type_2 *)PTR_stderr_000aefc0,1,uVar4,pcVar1,com,pcVar3);
        opt.prefer_family = AP_DECODE_ENTITIES;
        return false;
      }
      pdVar5 = (type_3 *)0xad220;
    }
  }
  opt.prefer_family = pdVar5->code;
  return true;
}


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

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

undefined4 MASKED(undefined4 param_1,undefined4 param_2)

{
  undefined4 uVar1;
  int iVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  undefined **ppuVar5;
  
  iVar2 = FUN_00059550(param_2,&DAT_00087e9d);
  if (iVar2 == 0) {
    ppuVar5 = &PTR_DAT_000ad210;
  }
  else {
    iVar2 = FUN_00059550(param_2,&DAT_00087ea2);
    if (iVar2 == 0) {
      ppuVar5 = &PTR_DAT_000ad218;
    }
    else {
      iVar2 = FUN_00059550(param_2,&DAT_0007b4e8);
      if (iVar2 != 0) {
        uVar3 = FUN_00062a10(param_2);
        uVar1 = DAT_000b6c74;
        uVar4 = dcgettext(0,"%s: %s: Invalid value %s.\n",5);
        __fprintf_chk(*(undefined4 *)PTR_stderr_000aefc0,1,uVar4,uVar1,param_1,uVar3);
        DAT_000b6c3c = (undefined *)0x2;
        return 0;
      }
      ppuVar5 = &PTR_DAT_000ad220;
    }
  }
  DAT_000b6c3c = ppuVar5[1];
  return 1;
}

