
int usage_argful_short_opt(argp_option *opt,argp_option *real,char *domain,void *cookie)

{
  char cVar1;
  uint uVar2;
  ulong uVar3;
  char *pcVar4;
  char *pcVar5;
  
  pcVar4 = opt->arg;
  if (((pcVar4 != (char *)0x0) || (pcVar4 = real->arg, pcVar4 != (char *)0x0)) &&
     (uVar2 = opt->flags | real->flags, (uVar2 & 0x10) == 0)) {
    if ((uVar2 & 1) == 0) {
      uVar3 = 0xffffffffffffffff;
      pcVar5 = pcVar4;
      do {
        if (uVar3 == 0) break;
        uVar3 = uVar3 - 1;
        cVar1 = *pcVar5;
        pcVar5 = pcVar5 + 1;
      } while (cVar1 != '\0');
      space((argp_fmtstream_t)cookie,~uVar3 + 5);
      argp_fmtstream_printf((argp_fmtstream *)cookie,"[-%c %s]",(ulong)(uint)opt->key,pcVar4);
    }
    else {
      argp_fmtstream_printf((argp_fmtstream *)cookie," [-%c[%s]]",(ulong)(uint)opt->key,pcVar4);
    }
  }
  return 0;
}



undefined8 FUN_00106f3f(long param_1,long param_2,undefined8 param_3,undefined8 param_4)

{
  char cVar1;
  uint uVar2;
  ulong uVar3;
  char *pcVar4;
  char *pcVar5;
  
  pcVar4 = *(char **)(param_1 + 0x10);
  if (((pcVar4 != (char *)0x0) || (pcVar4 = *(char **)(param_2 + 0x10), pcVar4 != (char *)0x0)) &&
     (uVar2 = *(uint *)(param_1 + 0x18) | *(uint *)(param_2 + 0x18), (uVar2 & 0x10) == 0)) {
    if ((uVar2 & 1) == 0) {
      uVar3 = 0xffffffffffffffff;
      pcVar5 = pcVar4;
      do {
        if (uVar3 == 0) break;
        uVar3 = uVar3 - 1;
        cVar1 = *pcVar5;
        pcVar5 = pcVar5 + 1;
      } while (cVar1 != '\0');
      FUN_00106ea5(param_4,~uVar3 + 5);
      FUN_0010b8f7(param_4,"[-%c %s]",*(undefined4 *)(param_1 + 8),pcVar4);
    }
    else {
      FUN_0010b8f7(param_4," [-%c[%s]]",*(undefined4 *)(param_1 + 8),pcVar4);
    }
  }
  return 0;
}


PUSH R12
PUSH RBP
PUSH RBX
MOV RBP,qword ptr [RDI + 0x10]
TEST RBP,RBP
JZ 0x00106f7c
MOV EAX,dword ptr [RDI + 0x18]
OR EAX,dword ptr [RSI + 0x18]
TEST AL,0x10
JNZ 0x00106f85
MOV R12,RCX
MOV RBX,RDI
TEST AL,0x1
JZ 0x00106f8f
MOV EDX,dword ptr [RDI + 0x8]
MOV RCX,RBP
LEA RSI,[0x10df1b]
MOV RDI,R12
MOV EAX,0x0
CALL 0x0010b8f7
JMP 0x00106f85
MOV RBP,qword ptr [RSI + 0x10]
TEST RBP,RBP
JNZ 0x00106f4c
MOV EAX,0x0
POP RBX
POP RBP
POP R12
RET
MOV RCX,-0x1
MOV EAX,0x0
MOV RDI,RBP
SCASB.REPNE RDI
MOV RDX,RCX
NOT RDX
LEA RSI,[RDX + 0x5]
MOV RDI,R12
CALL 0x00106ea5
MOV EDX,dword ptr [RBX + 0x8]
MOV RCX,RBP
LEA RSI,[0x10df26]
MOV RDI,R12
MOV EAX,0x0
CALL 0x0010b8f7
JMP 0x00106f85
(translation_unit "undefined8 FUN_00106f3f(long param_1,long param_2,undefined8 param_3,undefined8 param_4)\n\n{\n  char cVar1;\n  uint uVar2;\n  ulong uVar3;\n  char *pcVar4;\n  char *pcVar5;\n  \n  pcVar4 = *(char **)(param_1 + 0x10);\n  if (((pcVar4 != (char *)0x0) || (pcVar4 = *(char **)(param_2 + 0x10), pcVar4 != (char *)0x0)) &&\n     (uVar2 = *(uint *)(param_1 + 0x18) | *(uint *)(param_2 + 0x18), (uVar2 & 0x10) == 0)) {\n    if ((uVar2 & 1) == 0) {\n      uVar3 = 0xffffffffffffffff;\n      pcVar5 = pcVar4;\n      do {\n        if (uVar3 == 0) break;\n        uVar3 = uVar3 - 1;\n        cVar1 = *pcVar5;\n        pcVar5 = pcVar5 + 1;\n      } while (cVar1 != '\0');\n      FUN_00106ea5(param_4,~uVar3 + 5);\n      FUN_0010b8f7(param_4,"[-%c %s]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }\n    else {\n      FUN_0010b8f7(param_4," [-%c[%s]]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }\n  }\n  return 0;\n}\n\n" (function_definition "undefined8 FUN_00106f3f(long param_1,long param_2,undefined8 param_3,undefined8 param_4)\n\n{\n  char cVar1;\n  uint uVar2;\n  ulong uVar3;\n  char *pcVar4;\n  char *pcVar5;\n  \n  pcVar4 = *(char **)(param_1 + 0x10);\n  if (((pcVar4 != (char *)0x0) || (pcVar4 = *(char **)(param_2 + 0x10), pcVar4 != (char *)0x0)) &&\n     (uVar2 = *(uint *)(param_1 + 0x18) | *(uint *)(param_2 + 0x18), (uVar2 & 0x10) == 0)) {\n    if ((uVar2 & 1) == 0) {\n      uVar3 = 0xffffffffffffffff;\n      pcVar5 = pcVar4;\n      do {\n        if (uVar3 == 0) break;\n        uVar3 = uVar3 - 1;\n        cVar1 = *pcVar5;\n        pcVar5 = pcVar5 + 1;\n      } while (cVar1 != '\0');\n      FUN_00106ea5(param_4,~uVar3 + 5);\n      FUN_0010b8f7(param_4,"[-%c %s]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }\n    else {\n      FUN_0010b8f7(param_4," [-%c[%s]]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00106f3f(long param_1,long param_2,undefined8 param_3,undefined8 param_4)" identifier (parameter_list "(long param_1,long param_2,undefined8 param_3,undefined8 param_4)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) , (parameter_declaration "undefined8 param_4" type_identifier identifier) ))) (compound_statement "{\n  char cVar1;\n  uint uVar2;\n  ulong uVar3;\n  char *pcVar4;\n  char *pcVar5;\n  \n  pcVar4 = *(char **)(param_1 + 0x10);\n  if (((pcVar4 != (char *)0x0) || (pcVar4 = *(char **)(param_2 + 0x10), pcVar4 != (char *)0x0)) &&\n     (uVar2 = *(uint *)(param_1 + 0x18) | *(uint *)(param_2 + 0x18), (uVar2 & 0x10) == 0)) {\n    if ((uVar2 & 1) == 0) {\n      uVar3 = 0xffffffffffffffff;\n      pcVar5 = pcVar4;\n      do {\n        if (uVar3 == 0) break;\n        uVar3 = uVar3 - 1;\n        cVar1 = *pcVar5;\n        pcVar5 = pcVar5 + 1;\n      } while (cVar1 != '\0');\n      FUN_00106ea5(param_4,~uVar3 + 5);\n      FUN_0010b8f7(param_4,"[-%c %s]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }\n    else {\n      FUN_0010b8f7(param_4," [-%c[%s]]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }\n  }\n  return 0;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "ulong uVar3;" type_identifier identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (expression_statement "pcVar4 = *(char **)(param_1 + 0x10);" (assignment_expression "pcVar4 = *(char **)(param_1 + 0x10)" identifier = (pointer_expression "*(char **)(param_1 + 0x10)" * (cast_expression "(char **)(param_1 + 0x10)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (((pcVar4 != (char *)0x0) || (pcVar4 = *(char **)(param_2 + 0x10), pcVar4 != (char *)0x0)) &&\n     (uVar2 = *(uint *)(param_1 + 0x18) | *(uint *)(param_2 + 0x18), (uVar2 & 0x10) == 0)) {\n    if ((uVar2 & 1) == 0) {\n      uVar3 = 0xffffffffffffffff;\n      pcVar5 = pcVar4;\n      do {\n        if (uVar3 == 0) break;\n        uVar3 = uVar3 - 1;\n        cVar1 = *pcVar5;\n        pcVar5 = pcVar5 + 1;\n      } while (cVar1 != '\0');\n      FUN_00106ea5(param_4,~uVar3 + 5);\n      FUN_0010b8f7(param_4,"[-%c %s]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }\n    else {\n      FUN_0010b8f7(param_4," [-%c[%s]]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }\n  }" if (parenthesized_expression "(((pcVar4 != (char *)0x0) || (pcVar4 = *(char **)(param_2 + 0x10), pcVar4 != (char *)0x0)) &&\n     (uVar2 = *(uint *)(param_1 + 0x18) | *(uint *)(param_2 + 0x18), (uVar2 & 0x10) == 0))" ( (binary_expression "((pcVar4 != (char *)0x0) || (pcVar4 = *(char **)(param_2 + 0x10), pcVar4 != (char *)0x0)) &&\n     (uVar2 = *(uint *)(param_1 + 0x18) | *(uint *)(param_2 + 0x18), (uVar2 & 0x10) == 0)" (parenthesized_expression "((pcVar4 != (char *)0x0) || (pcVar4 = *(char **)(param_2 + 0x10), pcVar4 != (char *)0x0))" ( (binary_expression "(pcVar4 != (char *)0x0) || (pcVar4 = *(char **)(param_2 + 0x10), pcVar4 != (char *)0x0)" (parenthesized_expression "(pcVar4 != (char *)0x0)" ( (binary_expression "pcVar4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(pcVar4 = *(char **)(param_2 + 0x10), pcVar4 != (char *)0x0)" ( (comma_expression "pcVar4 = *(char **)(param_2 + 0x10), pcVar4 != (char *)0x0" (assignment_expression "pcVar4 = *(char **)(param_2 + 0x10)" identifier = (pointer_expression "*(char **)(param_2 + 0x10)" * (cast_expression "(char **)(param_2 + 0x10)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) ))))) , (binary_expression "pcVar4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) && (parenthesized_expression "(uVar2 = *(uint *)(param_1 + 0x18) | *(uint *)(param_2 + 0x18), (uVar2 & 0x10) == 0)" ( (comma_expression "uVar2 = *(uint *)(param_1 + 0x18) | *(uint *)(param_2 + 0x18), (uVar2 & 0x10) == 0" (assignment_expression "uVar2 = *(uint *)(param_1 + 0x18) | *(uint *)(param_2 + 0x18)" identifier = (binary_expression "*(uint *)(param_1 + 0x18) | *(uint *)(param_2 + 0x18)" (pointer_expression "*(uint *)(param_1 + 0x18)" * (cast_expression "(uint *)(param_1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) | (pointer_expression "*(uint *)(param_2 + 0x18)" * (cast_expression "(uint *)(param_2 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))))) , (binary_expression "(uVar2 & 0x10) == 0" (parenthesized_expression "(uVar2 & 0x10)" ( (binary_expression "uVar2 & 0x10" identifier & number_literal) )) == number_literal)) ))) )) (compound_statement "{\n    if ((uVar2 & 1) == 0) {\n      uVar3 = 0xffffffffffffffff;\n      pcVar5 = pcVar4;\n      do {\n        if (uVar3 == 0) break;\n        uVar3 = uVar3 - 1;\n        cVar1 = *pcVar5;\n        pcVar5 = pcVar5 + 1;\n      } while (cVar1 != '\0');\n      FUN_00106ea5(param_4,~uVar3 + 5);\n      FUN_0010b8f7(param_4,"[-%c %s]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }\n    else {\n      FUN_0010b8f7(param_4," [-%c[%s]]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }\n  }" { (if_statement "if ((uVar2 & 1) == 0) {\n      uVar3 = 0xffffffffffffffff;\n      pcVar5 = pcVar4;\n      do {\n        if (uVar3 == 0) break;\n        uVar3 = uVar3 - 1;\n        cVar1 = *pcVar5;\n        pcVar5 = pcVar5 + 1;\n      } while (cVar1 != '\0');\n      FUN_00106ea5(param_4,~uVar3 + 5);\n      FUN_0010b8f7(param_4,"[-%c %s]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }\n    else {\n      FUN_0010b8f7(param_4," [-%c[%s]]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }" if (parenthesized_expression "((uVar2 & 1) == 0)" ( (binary_expression "(uVar2 & 1) == 0" (parenthesized_expression "(uVar2 & 1)" ( (binary_expression "uVar2 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      uVar3 = 0xffffffffffffffff;\n      pcVar5 = pcVar4;\n      do {\n        if (uVar3 == 0) break;\n        uVar3 = uVar3 - 1;\n        cVar1 = *pcVar5;\n        pcVar5 = pcVar5 + 1;\n      } while (cVar1 != '\0');\n      FUN_00106ea5(param_4,~uVar3 + 5);\n      FUN_0010b8f7(param_4,"[-%c %s]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }" { (expression_statement "uVar3 = 0xffffffffffffffff;" (assignment_expression "uVar3 = 0xffffffffffffffff" identifier = number_literal) ;) (expression_statement "pcVar5 = pcVar4;" (assignment_expression "pcVar5 = pcVar4" identifier = identifier) ;) (do_statement "do {\n        if (uVar3 == 0) break;\n        uVar3 = uVar3 - 1;\n        cVar1 = *pcVar5;\n        pcVar5 = pcVar5 + 1;\n      } while (cVar1 != '\0');" do (compound_statement "{\n        if (uVar3 == 0) break;\n        uVar3 = uVar3 - 1;\n        cVar1 = *pcVar5;\n        pcVar5 = pcVar5 + 1;\n      }" { (if_statement "if (uVar3 == 0) break;" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar3 = uVar3 - 1;" (assignment_expression "uVar3 = uVar3 - 1" identifier = (binary_expression "uVar3 - 1" identifier - number_literal)) ;) (expression_statement "cVar1 = *pcVar5;" (assignment_expression "cVar1 = *pcVar5" identifier = (pointer_expression "*pcVar5" * identifier)) ;) (expression_statement "pcVar5 = pcVar5 + 1;" (assignment_expression "pcVar5 = pcVar5 + 1" identifier = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) ;) (expression_statement "FUN_00106ea5(param_4,~uVar3 + 5);" (call_expression "FUN_00106ea5(param_4,~uVar3 + 5)" identifier (argument_list "(param_4,~uVar3 + 5)" ( identifier , (binary_expression "~uVar3 + 5" (unary_expression "~uVar3" ~ identifier) + number_literal) ))) ;) (expression_statement "FUN_0010b8f7(param_4,"[-%c %s]",*(undefined4 *)(param_1 + 8),pcVar4);" (call_expression "FUN_0010b8f7(param_4,"[-%c %s]",*(undefined4 *)(param_1 + 8),pcVar4)" identifier (argument_list "(param_4,"[-%c %s]",*(undefined4 *)(param_1 + 8),pcVar4)" ( identifier , (string_literal ""[-%c %s]"" " string_content ") , (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , identifier ))) ;) }) (else_clause "else {\n      FUN_0010b8f7(param_4," [-%c[%s]]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }" else (compound_statement "{\n      FUN_0010b8f7(param_4," [-%c[%s]]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }" { (expression_statement "FUN_0010b8f7(param_4," [-%c[%s]]",*(undefined4 *)(param_1 + 8),pcVar4);" (call_expression "FUN_0010b8f7(param_4," [-%c[%s]]",*(undefined4 *)(param_1 + 8),pcVar4)" identifier (argument_list "(param_4," [-%c[%s]]",*(undefined4 *)(param_1 + 8),pcVar4)" ( identifier , (string_literal "" [-%c[%s]]"" " string_content ") , (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , identifier ))) ;) }))) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "int usage_argful_short_opt(argp_option *opt,argp_option *real,char *domain,void *cookie)\n\n{\n  char cVar1;\n  uint uVar2;\n  ulong uVar3;\n  char *pcVar4;\n  char *pcVar5;\n  \n  pcVar4 = opt->arg;\n  if (((pcVar4 != (char *)0x0) || (pcVar4 = real->arg, pcVar4 != (char *)0x0)) &&\n     (uVar2 = opt->flags | real->flags, (uVar2 & 0x10) == 0)) {\n    if ((uVar2 & 1) == 0) {\n      uVar3 = 0xffffffffffffffff;\n      pcVar5 = pcVar4;\n      do {\n        if (uVar3 == 0) break;\n        uVar3 = uVar3 - 1;\n        cVar1 = *pcVar5;\n        pcVar5 = pcVar5 + 1;\n      } while (cVar1 != '\0');\n      space((argp_fmtstream_t)cookie,~uVar3 + 5);\n      argp_fmtstream_printf((argp_fmtstream *)cookie,"[-%c %s]",(ulong)(uint)opt->key,pcVar4);\n    }\n    else {\n      argp_fmtstream_printf((argp_fmtstream *)cookie," [-%c[%s]]",(ulong)(uint)opt->key,pcVar4);\n    }\n  }\n  return 0;\n}\n\n" (function_definition "int usage_argful_short_opt(argp_option *opt,argp_option *real,char *domain,void *cookie)\n\n{\n  char cVar1;\n  uint uVar2;\n  ulong uVar3;\n  char *pcVar4;\n  char *pcVar5;\n  \n  pcVar4 = opt->arg;\n  if (((pcVar4 != (char *)0x0) || (pcVar4 = real->arg, pcVar4 != (char *)0x0)) &&\n     (uVar2 = opt->flags | real->flags, (uVar2 & 0x10) == 0)) {\n    if ((uVar2 & 1) == 0) {\n      uVar3 = 0xffffffffffffffff;\n      pcVar5 = pcVar4;\n      do {\n        if (uVar3 == 0) break;\n        uVar3 = uVar3 - 1;\n        cVar1 = *pcVar5;\n        pcVar5 = pcVar5 + 1;\n      } while (cVar1 != '\0');\n      space((argp_fmtstream_t)cookie,~uVar3 + 5);\n      argp_fmtstream_printf((argp_fmtstream *)cookie,"[-%c %s]",(ulong)(uint)opt->key,pcVar4);\n    }\n    else {\n      argp_fmtstream_printf((argp_fmtstream *)cookie," [-%c[%s]]",(ulong)(uint)opt->key,pcVar4);\n    }\n  }\n  return 0;\n}" primitive_type (function_declarator "usage_argful_short_opt(argp_option *opt,argp_option *real,char *domain,void *cookie)" identifier (parameter_list "(argp_option *opt,argp_option *real,char *domain,void *cookie)" ( (parameter_declaration "argp_option *opt" type_identifier (pointer_declarator "*opt" * identifier)) , (parameter_declaration "argp_option *real" type_identifier (pointer_declarator "*real" * identifier)) , (parameter_declaration "char *domain" primitive_type (pointer_declarator "*domain" * identifier)) , (parameter_declaration "void *cookie" primitive_type (pointer_declarator "*cookie" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  uint uVar2;\n  ulong uVar3;\n  char *pcVar4;\n  char *pcVar5;\n  \n  pcVar4 = opt->arg;\n  if (((pcVar4 != (char *)0x0) || (pcVar4 = real->arg, pcVar4 != (char *)0x0)) &&\n     (uVar2 = opt->flags | real->flags, (uVar2 & 0x10) == 0)) {\n    if ((uVar2 & 1) == 0) {\n      uVar3 = 0xffffffffffffffff;\n      pcVar5 = pcVar4;\n      do {\n        if (uVar3 == 0) break;\n        uVar3 = uVar3 - 1;\n        cVar1 = *pcVar5;\n        pcVar5 = pcVar5 + 1;\n      } while (cVar1 != '\0');\n      space((argp_fmtstream_t)cookie,~uVar3 + 5);\n      argp_fmtstream_printf((argp_fmtstream *)cookie,"[-%c %s]",(ulong)(uint)opt->key,pcVar4);\n    }\n    else {\n      argp_fmtstream_printf((argp_fmtstream *)cookie," [-%c[%s]]",(ulong)(uint)opt->key,pcVar4);\n    }\n  }\n  return 0;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "ulong uVar3;" type_identifier identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (expression_statement "pcVar4 = opt->arg;" (assignment_expression "pcVar4 = opt->arg" identifier = (field_expression "opt->arg" identifier -> field_identifier)) ;) (if_statement "if (((pcVar4 != (char *)0x0) || (pcVar4 = real->arg, pcVar4 != (char *)0x0)) &&\n     (uVar2 = opt->flags | real->flags, (uVar2 & 0x10) == 0)) {\n    if ((uVar2 & 1) == 0) {\n      uVar3 = 0xffffffffffffffff;\n      pcVar5 = pcVar4;\n      do {\n        if (uVar3 == 0) break;\n        uVar3 = uVar3 - 1;\n        cVar1 = *pcVar5;\n        pcVar5 = pcVar5 + 1;\n      } while (cVar1 != '\0');\n      space((argp_fmtstream_t)cookie,~uVar3 + 5);\n      argp_fmtstream_printf((argp_fmtstream *)cookie,"[-%c %s]",(ulong)(uint)opt->key,pcVar4);\n    }\n    else {\n      argp_fmtstream_printf((argp_fmtstream *)cookie," [-%c[%s]]",(ulong)(uint)opt->key,pcVar4);\n    }\n  }" if (parenthesized_expression "(((pcVar4 != (char *)0x0) || (pcVar4 = real->arg, pcVar4 != (char *)0x0)) &&\n     (uVar2 = opt->flags | real->flags, (uVar2 & 0x10) == 0))" ( (binary_expression "((pcVar4 != (char *)0x0) || (pcVar4 = real->arg, pcVar4 != (char *)0x0)) &&\n     (uVar2 = opt->flags | real->flags, (uVar2 & 0x10) == 0)" (parenthesized_expression "((pcVar4 != (char *)0x0) || (pcVar4 = real->arg, pcVar4 != (char *)0x0))" ( (binary_expression "(pcVar4 != (char *)0x0) || (pcVar4 = real->arg, pcVar4 != (char *)0x0)" (parenthesized_expression "(pcVar4 != (char *)0x0)" ( (binary_expression "pcVar4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(pcVar4 = real->arg, pcVar4 != (char *)0x0)" ( (comma_expression "pcVar4 = real->arg, pcVar4 != (char *)0x0" (assignment_expression "pcVar4 = real->arg" identifier = (field_expression "real->arg" identifier -> field_identifier)) , (binary_expression "pcVar4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) && (parenthesized_expression "(uVar2 = opt->flags | real->flags, (uVar2 & 0x10) == 0)" ( (comma_expression "uVar2 = opt->flags | real->flags, (uVar2 & 0x10) == 0" (assignment_expression "uVar2 = opt->flags | real->flags" identifier = (binary_expression "opt->flags | real->flags" (field_expression "opt->flags" identifier -> field_identifier) | (field_expression "real->flags" identifier -> field_identifier))) , (binary_expression "(uVar2 & 0x10) == 0" (parenthesized_expression "(uVar2 & 0x10)" ( (binary_expression "uVar2 & 0x10" identifier & number_literal) )) == number_literal)) ))) )) (compound_statement "{\n    if ((uVar2 & 1) == 0) {\n      uVar3 = 0xffffffffffffffff;\n      pcVar5 = pcVar4;\n      do {\n        if (uVar3 == 0) break;\n        uVar3 = uVar3 - 1;\n        cVar1 = *pcVar5;\n        pcVar5 = pcVar5 + 1;\n      } while (cVar1 != '\0');\n      space((argp_fmtstream_t)cookie,~uVar3 + 5);\n      argp_fmtstream_printf((argp_fmtstream *)cookie,"[-%c %s]",(ulong)(uint)opt->key,pcVar4);\n    }\n    else {\n      argp_fmtstream_printf((argp_fmtstream *)cookie," [-%c[%s]]",(ulong)(uint)opt->key,pcVar4);\n    }\n  }" { (if_statement "if ((uVar2 & 1) == 0) {\n      uVar3 = 0xffffffffffffffff;\n      pcVar5 = pcVar4;\n      do {\n        if (uVar3 == 0) break;\n        uVar3 = uVar3 - 1;\n        cVar1 = *pcVar5;\n        pcVar5 = pcVar5 + 1;\n      } while (cVar1 != '\0');\n      space((argp_fmtstream_t)cookie,~uVar3 + 5);\n      argp_fmtstream_printf((argp_fmtstream *)cookie,"[-%c %s]",(ulong)(uint)opt->key,pcVar4);\n    }\n    else {\n      argp_fmtstream_printf((argp_fmtstream *)cookie," [-%c[%s]]",(ulong)(uint)opt->key,pcVar4);\n    }" if (parenthesized_expression "((uVar2 & 1) == 0)" ( (binary_expression "(uVar2 & 1) == 0" (parenthesized_expression "(uVar2 & 1)" ( (binary_expression "uVar2 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      uVar3 = 0xffffffffffffffff;\n      pcVar5 = pcVar4;\n      do {\n        if (uVar3 == 0) break;\n        uVar3 = uVar3 - 1;\n        cVar1 = *pcVar5;\n        pcVar5 = pcVar5 + 1;\n      } while (cVar1 != '\0');\n      space((argp_fmtstream_t)cookie,~uVar3 + 5);\n      argp_fmtstream_printf((argp_fmtstream *)cookie,"[-%c %s]",(ulong)(uint)opt->key,pcVar4);\n    }" { (expression_statement "uVar3 = 0xffffffffffffffff;" (assignment_expression "uVar3 = 0xffffffffffffffff" identifier = number_literal) ;) (expression_statement "pcVar5 = pcVar4;" (assignment_expression "pcVar5 = pcVar4" identifier = identifier) ;) (do_statement "do {\n        if (uVar3 == 0) break;\n        uVar3 = uVar3 - 1;\n        cVar1 = *pcVar5;\n        pcVar5 = pcVar5 + 1;\n      } while (cVar1 != '\0');" do (compound_statement "{\n        if (uVar3 == 0) break;\n        uVar3 = uVar3 - 1;\n        cVar1 = *pcVar5;\n        pcVar5 = pcVar5 + 1;\n      }" { (if_statement "if (uVar3 == 0) break;" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar3 = uVar3 - 1;" (assignment_expression "uVar3 = uVar3 - 1" identifier = (binary_expression "uVar3 - 1" identifier - number_literal)) ;) (expression_statement "cVar1 = *pcVar5;" (assignment_expression "cVar1 = *pcVar5" identifier = (pointer_expression "*pcVar5" * identifier)) ;) (expression_statement "pcVar5 = pcVar5 + 1;" (assignment_expression "pcVar5 = pcVar5 + 1" identifier = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) ;) (expression_statement "space((argp_fmtstream_t)cookie,~uVar3 + 5);" (call_expression "space((argp_fmtstream_t)cookie,~uVar3 + 5)" identifier (argument_list "((argp_fmtstream_t)cookie,~uVar3 + 5)" ( (cast_expression "(argp_fmtstream_t)cookie" ( (type_descriptor "argp_fmtstream_t" type_identifier) ) identifier) , (binary_expression "~uVar3 + 5" (unary_expression "~uVar3" ~ identifier) + number_literal) ))) ;) (expression_statement "argp_fmtstream_printf((argp_fmtstream *)cookie,"[-%c %s]",(ulong)(uint)opt->key,pcVar4);" (call_expression "argp_fmtstream_printf((argp_fmtstream *)cookie,"[-%c %s]",(ulong)(uint)opt->key,pcVar4)" identifier (argument_list "((argp_fmtstream *)cookie,"[-%c %s]",(ulong)(uint)opt->key,pcVar4)" ( (cast_expression "(argp_fmtstream *)cookie" ( (type_descriptor "argp_fmtstream *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""[-%c %s]"" " string_content ") , (cast_expression "(ulong)(uint)opt->key" ( (type_descriptor "ulong" type_identifier) ) (cast_expression "(uint)opt->key" ( (type_descriptor "uint" type_identifier) ) (field_expression "opt->key" identifier -> field_identifier))) , identifier ))) ;) }) (else_clause "else {\n      argp_fmtstream_printf((argp_fmtstream *)cookie," [-%c[%s]]",(ulong)(uint)opt->key,pcVar4);\n    }" else (compound_statement "{\n      argp_fmtstream_printf((argp_fmtstream *)cookie," [-%c[%s]]",(ulong)(uint)opt->key,pcVar4);\n    }" { (expression_statement "argp_fmtstream_printf((argp_fmtstream *)cookie," [-%c[%s]]",(ulong)(uint)opt->key,pcVar4);" (call_expression "argp_fmtstream_printf((argp_fmtstream *)cookie," [-%c[%s]]",(ulong)(uint)opt->key,pcVar4)" identifier (argument_list "((argp_fmtstream *)cookie," [-%c[%s]]",(ulong)(uint)opt->key,pcVar4)" ( (cast_expression "(argp_fmtstream *)cookie" ( (type_descriptor "argp_fmtstream *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal "" [-%c[%s]]"" " string_content ") , (cast_expression "(ulong)(uint)opt->key" ( (type_descriptor "ulong" type_identifier) ) (cast_expression "(uint)opt->key" ( (type_descriptor "uint" type_identifier) ) (field_expression "opt->key" identifier -> field_identifier))) , identifier ))) ;) }))) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined8 FUN_00106f3f(long param_1,long param_2,undefined8 param_3,undefined8 param_4)\n\n{\n  char cVar1;\n  uint uVar2;\n  ulong uVar3;\n  char *pcVar4;\n  char *pcVar5;\n  \n  pcVar4 = *(char **)(param_1 + 0x10);\n  if (((pcVar4 != (char *)0x0) || (pcVar4 = *(char **)(param_2 + 0x10), pcVar4 != (char *)0x0)) &&\n     (uVar2 = *(uint *)(param_1 + 0x18) | *(uint *)(param_2 + 0x18), (uVar2 & 0x10) == 0)) {\n    if ((uVar2 & 1) == 0) {\n      uVar3 = 0xffffffffffffffff;\n      pcVar5 = pcVar4;\n      do {\n        if (uVar3 == 0) break;\n        uVar3 = uVar3 - 1;\n        cVar1 = *pcVar5;\n        pcVar5 = pcVar5 + 1;\n      } while (cVar1 != '\0');\n      FUN_00106ea5(param_4,~uVar3 + 5);\n      FUN_0010b8f7(param_4,"[-%c %s]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }\n    else {\n      FUN_0010b8f7(param_4," [-%c[%s]]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }\n  }\n  return 0;\n}\n\n" (function_definition "undefined8 FUN_00106f3f(long param_1,long param_2,undefined8 param_3,undefined8 param_4)\n\n{\n  char cVar1;\n  uint uVar2;\n  ulong uVar3;\n  char *pcVar4;\n  char *pcVar5;\n  \n  pcVar4 = *(char **)(param_1 + 0x10);\n  if (((pcVar4 != (char *)0x0) || (pcVar4 = *(char **)(param_2 + 0x10), pcVar4 != (char *)0x0)) &&\n     (uVar2 = *(uint *)(param_1 + 0x18) | *(uint *)(param_2 + 0x18), (uVar2 & 0x10) == 0)) {\n    if ((uVar2 & 1) == 0) {\n      uVar3 = 0xffffffffffffffff;\n      pcVar5 = pcVar4;\n      do {\n        if (uVar3 == 0) break;\n        uVar3 = uVar3 - 1;\n        cVar1 = *pcVar5;\n        pcVar5 = pcVar5 + 1;\n      } while (cVar1 != '\0');\n      FUN_00106ea5(param_4,~uVar3 + 5);\n      FUN_0010b8f7(param_4,"[-%c %s]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }\n    else {\n      FUN_0010b8f7(param_4," [-%c[%s]]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00106f3f(long param_1,long param_2,undefined8 param_3,undefined8 param_4)" identifier (parameter_list "(long param_1,long param_2,undefined8 param_3,undefined8 param_4)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) , (parameter_declaration "undefined8 param_4" type_identifier identifier) ))) (compound_statement "{\n  char cVar1;\n  uint uVar2;\n  ulong uVar3;\n  char *pcVar4;\n  char *pcVar5;\n  \n  pcVar4 = *(char **)(param_1 + 0x10);\n  if (((pcVar4 != (char *)0x0) || (pcVar4 = *(char **)(param_2 + 0x10), pcVar4 != (char *)0x0)) &&\n     (uVar2 = *(uint *)(param_1 + 0x18) | *(uint *)(param_2 + 0x18), (uVar2 & 0x10) == 0)) {\n    if ((uVar2 & 1) == 0) {\n      uVar3 = 0xffffffffffffffff;\n      pcVar5 = pcVar4;\n      do {\n        if (uVar3 == 0) break;\n        uVar3 = uVar3 - 1;\n        cVar1 = *pcVar5;\n        pcVar5 = pcVar5 + 1;\n      } while (cVar1 != '\0');\n      FUN_00106ea5(param_4,~uVar3 + 5);\n      FUN_0010b8f7(param_4,"[-%c %s]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }\n    else {\n      FUN_0010b8f7(param_4," [-%c[%s]]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }\n  }\n  return 0;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "ulong uVar3;" type_identifier identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (expression_statement "pcVar4 = *(char **)(param_1 + 0x10);" (assignment_expression "pcVar4 = *(char **)(param_1 + 0x10)" identifier = (pointer_expression "*(char **)(param_1 + 0x10)" * (cast_expression "(char **)(param_1 + 0x10)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (((pcVar4 != (char *)0x0) || (pcVar4 = *(char **)(param_2 + 0x10), pcVar4 != (char *)0x0)) &&\n     (uVar2 = *(uint *)(param_1 + 0x18) | *(uint *)(param_2 + 0x18), (uVar2 & 0x10) == 0)) {\n    if ((uVar2 & 1) == 0) {\n      uVar3 = 0xffffffffffffffff;\n      pcVar5 = pcVar4;\n      do {\n        if (uVar3 == 0) break;\n        uVar3 = uVar3 - 1;\n        cVar1 = *pcVar5;\n        pcVar5 = pcVar5 + 1;\n      } while (cVar1 != '\0');\n      FUN_00106ea5(param_4,~uVar3 + 5);\n      FUN_0010b8f7(param_4,"[-%c %s]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }\n    else {\n      FUN_0010b8f7(param_4," [-%c[%s]]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }\n  }" if (parenthesized_expression "(((pcVar4 != (char *)0x0) || (pcVar4 = *(char **)(param_2 + 0x10), pcVar4 != (char *)0x0)) &&\n     (uVar2 = *(uint *)(param_1 + 0x18) | *(uint *)(param_2 + 0x18), (uVar2 & 0x10) == 0))" ( (binary_expression "((pcVar4 != (char *)0x0) || (pcVar4 = *(char **)(param_2 + 0x10), pcVar4 != (char *)0x0)) &&\n     (uVar2 = *(uint *)(param_1 + 0x18) | *(uint *)(param_2 + 0x18), (uVar2 & 0x10) == 0)" (parenthesized_expression "((pcVar4 != (char *)0x0) || (pcVar4 = *(char **)(param_2 + 0x10), pcVar4 != (char *)0x0))" ( (binary_expression "(pcVar4 != (char *)0x0) || (pcVar4 = *(char **)(param_2 + 0x10), pcVar4 != (char *)0x0)" (parenthesized_expression "(pcVar4 != (char *)0x0)" ( (binary_expression "pcVar4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(pcVar4 = *(char **)(param_2 + 0x10), pcVar4 != (char *)0x0)" ( (comma_expression "pcVar4 = *(char **)(param_2 + 0x10), pcVar4 != (char *)0x0" (assignment_expression "pcVar4 = *(char **)(param_2 + 0x10)" identifier = (pointer_expression "*(char **)(param_2 + 0x10)" * (cast_expression "(char **)(param_2 + 0x10)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) ))))) , (binary_expression "pcVar4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) && (parenthesized_expression "(uVar2 = *(uint *)(param_1 + 0x18) | *(uint *)(param_2 + 0x18), (uVar2 & 0x10) == 0)" ( (comma_expression "uVar2 = *(uint *)(param_1 + 0x18) | *(uint *)(param_2 + 0x18), (uVar2 & 0x10) == 0" (assignment_expression "uVar2 = *(uint *)(param_1 + 0x18) | *(uint *)(param_2 + 0x18)" identifier = (binary_expression "*(uint *)(param_1 + 0x18) | *(uint *)(param_2 + 0x18)" (pointer_expression "*(uint *)(param_1 + 0x18)" * (cast_expression "(uint *)(param_1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) | (pointer_expression "*(uint *)(param_2 + 0x18)" * (cast_expression "(uint *)(param_2 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))))) , (binary_expression "(uVar2 & 0x10) == 0" (parenthesized_expression "(uVar2 & 0x10)" ( (binary_expression "uVar2 & 0x10" identifier & number_literal) )) == number_literal)) ))) )) (compound_statement "{\n    if ((uVar2 & 1) == 0) {\n      uVar3 = 0xffffffffffffffff;\n      pcVar5 = pcVar4;\n      do {\n        if (uVar3 == 0) break;\n        uVar3 = uVar3 - 1;\n        cVar1 = *pcVar5;\n        pcVar5 = pcVar5 + 1;\n      } while (cVar1 != '\0');\n      FUN_00106ea5(param_4,~uVar3 + 5);\n      FUN_0010b8f7(param_4,"[-%c %s]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }\n    else {\n      FUN_0010b8f7(param_4," [-%c[%s]]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }\n  }" { (if_statement "if ((uVar2 & 1) == 0) {\n      uVar3 = 0xffffffffffffffff;\n      pcVar5 = pcVar4;\n      do {\n        if (uVar3 == 0) break;\n        uVar3 = uVar3 - 1;\n        cVar1 = *pcVar5;\n        pcVar5 = pcVar5 + 1;\n      } while (cVar1 != '\0');\n      FUN_00106ea5(param_4,~uVar3 + 5);\n      FUN_0010b8f7(param_4,"[-%c %s]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }\n    else {\n      FUN_0010b8f7(param_4," [-%c[%s]]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }" if (parenthesized_expression "((uVar2 & 1) == 0)" ( (binary_expression "(uVar2 & 1) == 0" (parenthesized_expression "(uVar2 & 1)" ( (binary_expression "uVar2 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      uVar3 = 0xffffffffffffffff;\n      pcVar5 = pcVar4;\n      do {\n        if (uVar3 == 0) break;\n        uVar3 = uVar3 - 1;\n        cVar1 = *pcVar5;\n        pcVar5 = pcVar5 + 1;\n      } while (cVar1 != '\0');\n      FUN_00106ea5(param_4,~uVar3 + 5);\n      FUN_0010b8f7(param_4,"[-%c %s]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }" { (expression_statement "uVar3 = 0xffffffffffffffff;" (assignment_expression "uVar3 = 0xffffffffffffffff" identifier = number_literal) ;) (expression_statement "pcVar5 = pcVar4;" (assignment_expression "pcVar5 = pcVar4" identifier = identifier) ;) (do_statement "do {\n        if (uVar3 == 0) break;\n        uVar3 = uVar3 - 1;\n        cVar1 = *pcVar5;\n        pcVar5 = pcVar5 + 1;\n      } while (cVar1 != '\0');" do (compound_statement "{\n        if (uVar3 == 0) break;\n        uVar3 = uVar3 - 1;\n        cVar1 = *pcVar5;\n        pcVar5 = pcVar5 + 1;\n      }" { (if_statement "if (uVar3 == 0) break;" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar3 = uVar3 - 1;" (assignment_expression "uVar3 = uVar3 - 1" identifier = (binary_expression "uVar3 - 1" identifier - number_literal)) ;) (expression_statement "cVar1 = *pcVar5;" (assignment_expression "cVar1 = *pcVar5" identifier = (pointer_expression "*pcVar5" * identifier)) ;) (expression_statement "pcVar5 = pcVar5 + 1;" (assignment_expression "pcVar5 = pcVar5 + 1" identifier = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) ;) (expression_statement "FUN_00106ea5(param_4,~uVar3 + 5);" (call_expression "FUN_00106ea5(param_4,~uVar3 + 5)" identifier (argument_list "(param_4,~uVar3 + 5)" ( identifier , (binary_expression "~uVar3 + 5" (unary_expression "~uVar3" ~ identifier) + number_literal) ))) ;) (expression_statement "FUN_0010b8f7(param_4,"[-%c %s]",*(undefined4 *)(param_1 + 8),pcVar4);" (call_expression "FUN_0010b8f7(param_4,"[-%c %s]",*(undefined4 *)(param_1 + 8),pcVar4)" identifier (argument_list "(param_4,"[-%c %s]",*(undefined4 *)(param_1 + 8),pcVar4)" ( identifier , (string_literal ""[-%c %s]"" " string_content ") , (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , identifier ))) ;) }) (else_clause "else {\n      FUN_0010b8f7(param_4," [-%c[%s]]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }" else (compound_statement "{\n      FUN_0010b8f7(param_4," [-%c[%s]]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }" { (expression_statement "FUN_0010b8f7(param_4," [-%c[%s]]",*(undefined4 *)(param_1 + 8),pcVar4);" (call_expression "FUN_0010b8f7(param_4," [-%c[%s]]",*(undefined4 *)(param_1 + 8),pcVar4)" identifier (argument_list "(param_4," [-%c[%s]]",*(undefined4 *)(param_1 + 8),pcVar4)" ( identifier , (string_literal "" [-%c[%s]]"" " string_content ") , (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , identifier ))) ;) }))) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) | (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) , (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT)) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression (unary_expression ~ IDENT) + LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))) ;) }))) })) (return_statement return LIT ;) })))
(function_definition "undefined8 FUN_00106f3f(long param_1,long param_2,undefined8 param_3,undefined8 param_4)\n\n{\n  char cVar1;\n  uint uVar2;\n  ulong uVar3;\n  char *pcVar4;\n  char *pcVar5;\n  \n  pcVar4 = *(char **)(param_1 + 0x10);\n  if (((pcVar4 != (char *)0x0) || (pcVar4 = *(char **)(param_2 + 0x10), pcVar4 != (char *)0x0)) &&\n     (uVar2 = *(uint *)(param_1 + 0x18) | *(uint *)(param_2 + 0x18), (uVar2 & 0x10) == 0)) {\n    if ((uVar2 & 1) == 0) {\n      uVar3 = 0xffffffffffffffff;\n      pcVar5 = pcVar4;\n      do {\n        if (uVar3 == 0) break;\n        uVar3 = uVar3 - 1;\n        cVar1 = *pcVar5;\n        pcVar5 = pcVar5 + 1;\n      } while (cVar1 != '\0');\n      FUN_00106ea5(param_4,~uVar3 + 5);\n      FUN_0010b8f7(param_4,"[-%c %s]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }\n    else {\n      FUN_0010b8f7(param_4," [-%c[%s]]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }\n  }\n  return 0;\n}" (type_identifier "undefined8") (function_declarator "FUN_00106f3f(long param_1,long param_2,undefined8 param_3,undefined8 param_4)" (identifier "FUN_00106f3f") (parameter_list "(long param_1,long param_2,undefined8 param_3,undefined8 param_4)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) (, ",") (parameter_declaration "undefined8 param_3" (type_identifier "undefined8") (identifier "param_3")) (, ",") (parameter_declaration "undefined8 param_4" (type_identifier "undefined8") (identifier "param_4")) () ")"))) (compound_statement "{\n  char cVar1;\n  uint uVar2;\n  ulong uVar3;\n  char *pcVar4;\n  char *pcVar5;\n  \n  pcVar4 = *(char **)(param_1 + 0x10);\n  if (((pcVar4 != (char *)0x0) || (pcVar4 = *(char **)(param_2 + 0x10), pcVar4 != (char *)0x0)) &&\n     (uVar2 = *(uint *)(param_1 + 0x18) | *(uint *)(param_2 + 0x18), (uVar2 & 0x10) == 0)) {\n    if ((uVar2 & 1) == 0) {\n      uVar3 = 0xffffffffffffffff;\n      pcVar5 = pcVar4;\n      do {\n        if (uVar3 == 0) break;\n        uVar3 = uVar3 - 1;\n        cVar1 = *pcVar5;\n        pcVar5 = pcVar5 + 1;\n      } while (cVar1 != '\0');\n      FUN_00106ea5(param_4,~uVar3 + 5);\n      FUN_0010b8f7(param_4,"[-%c %s]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }\n    else {\n      FUN_0010b8f7(param_4," [-%c[%s]]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }\n  }\n  return 0;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "ulong uVar3;" (type_identifier "ulong") (identifier "uVar3") (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (declaration "char *pcVar5;" (primitive_type "char") (pointer_declarator "*pcVar5" (* "*") (identifier "pcVar5")) (; ";")) (expression_statement "pcVar4 = *(char **)(param_1 + 0x10);" (assignment_expression "pcVar4 = *(char **)(param_1 + 0x10)" (identifier "pcVar4") (= "=") (pointer_expression "*(char **)(param_1 + 0x10)" (* "*") (cast_expression "(char **)(param_1 + 0x10)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if (((pcVar4 != (char *)0x0) || (pcVar4 = *(char **)(param_2 + 0x10), pcVar4 != (char *)0x0)) &&\n     (uVar2 = *(uint *)(param_1 + 0x18) | *(uint *)(param_2 + 0x18), (uVar2 & 0x10) == 0)) {\n    if ((uVar2 & 1) == 0) {\n      uVar3 = 0xffffffffffffffff;\n      pcVar5 = pcVar4;\n      do {\n        if (uVar3 == 0) break;\n        uVar3 = uVar3 - 1;\n        cVar1 = *pcVar5;\n        pcVar5 = pcVar5 + 1;\n      } while (cVar1 != '\0');\n      FUN_00106ea5(param_4,~uVar3 + 5);\n      FUN_0010b8f7(param_4,"[-%c %s]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }\n    else {\n      FUN_0010b8f7(param_4," [-%c[%s]]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }\n  }" (if "if") (parenthesized_expression "(((pcVar4 != (char *)0x0) || (pcVar4 = *(char **)(param_2 + 0x10), pcVar4 != (char *)0x0)) &&\n     (uVar2 = *(uint *)(param_1 + 0x18) | *(uint *)(param_2 + 0x18), (uVar2 & 0x10) == 0))" (( "(") (binary_expression "((pcVar4 != (char *)0x0) || (pcVar4 = *(char **)(param_2 + 0x10), pcVar4 != (char *)0x0)) &&\n     (uVar2 = *(uint *)(param_1 + 0x18) | *(uint *)(param_2 + 0x18), (uVar2 & 0x10) == 0)" (parenthesized_expression "((pcVar4 != (char *)0x0) || (pcVar4 = *(char **)(param_2 + 0x10), pcVar4 != (char *)0x0))" (( "(") (binary_expression "(pcVar4 != (char *)0x0) || (pcVar4 = *(char **)(param_2 + 0x10), pcVar4 != (char *)0x0)" (parenthesized_expression "(pcVar4 != (char *)0x0)" (( "(") (binary_expression "pcVar4 != (char *)0x0" (identifier "pcVar4") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(pcVar4 = *(char **)(param_2 + 0x10), pcVar4 != (char *)0x0)" (( "(") (comma_expression "pcVar4 = *(char **)(param_2 + 0x10), pcVar4 != (char *)0x0" (assignment_expression "pcVar4 = *(char **)(param_2 + 0x10)" (identifier "pcVar4") (= "=") (pointer_expression "*(char **)(param_2 + 0x10)" (* "*") (cast_expression "(char **)(param_2 + 0x10)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0x10)" (( "(") (binary_expression "param_2 + 0x10" (identifier "param_2") (+ "+") (number_literal "0x10")) () ")"))))) (, ",") (binary_expression "pcVar4 != (char *)0x0" (identifier "pcVar4") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(uVar2 = *(uint *)(param_1 + 0x18) | *(uint *)(param_2 + 0x18), (uVar2 & 0x10) == 0)" (( "(") (comma_expression "uVar2 = *(uint *)(param_1 + 0x18) | *(uint *)(param_2 + 0x18), (uVar2 & 0x10) == 0" (assignment_expression "uVar2 = *(uint *)(param_1 + 0x18) | *(uint *)(param_2 + 0x18)" (identifier "uVar2") (= "=") (binary_expression "*(uint *)(param_1 + 0x18) | *(uint *)(param_2 + 0x18)" (pointer_expression "*(uint *)(param_1 + 0x18)" (* "*") (cast_expression "(uint *)(param_1 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (| "|") (pointer_expression "*(uint *)(param_2 + 0x18)" (* "*") (cast_expression "(uint *)(param_2 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x18)" (( "(") (binary_expression "param_2 + 0x18" (identifier "param_2") (+ "+") (number_literal "0x18")) () ")")))))) (, ",") (binary_expression "(uVar2 & 0x10) == 0" (parenthesized_expression "(uVar2 & 0x10)" (( "(") (binary_expression "uVar2 & 0x10" (identifier "uVar2") (& "&") (number_literal "0x10")) () ")")) (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    if ((uVar2 & 1) == 0) {\n      uVar3 = 0xffffffffffffffff;\n      pcVar5 = pcVar4;\n      do {\n        if (uVar3 == 0) break;\n        uVar3 = uVar3 - 1;\n        cVar1 = *pcVar5;\n        pcVar5 = pcVar5 + 1;\n      } while (cVar1 != '\0');\n      FUN_00106ea5(param_4,~uVar3 + 5);\n      FUN_0010b8f7(param_4,"[-%c %s]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }\n    else {\n      FUN_0010b8f7(param_4," [-%c[%s]]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }\n  }" ({ "{") (if_statement "if ((uVar2 & 1) == 0) {\n      uVar3 = 0xffffffffffffffff;\n      pcVar5 = pcVar4;\n      do {\n        if (uVar3 == 0) break;\n        uVar3 = uVar3 - 1;\n        cVar1 = *pcVar5;\n        pcVar5 = pcVar5 + 1;\n      } while (cVar1 != '\0');\n      FUN_00106ea5(param_4,~uVar3 + 5);\n      FUN_0010b8f7(param_4,"[-%c %s]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }\n    else {\n      FUN_0010b8f7(param_4," [-%c[%s]]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }" (if "if") (parenthesized_expression "((uVar2 & 1) == 0)" (( "(") (binary_expression "(uVar2 & 1) == 0" (parenthesized_expression "(uVar2 & 1)" (( "(") (binary_expression "uVar2 & 1" (identifier "uVar2") (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar3 = 0xffffffffffffffff;\n      pcVar5 = pcVar4;\n      do {\n        if (uVar3 == 0) break;\n        uVar3 = uVar3 - 1;\n        cVar1 = *pcVar5;\n        pcVar5 = pcVar5 + 1;\n      } while (cVar1 != '\0');\n      FUN_00106ea5(param_4,~uVar3 + 5);\n      FUN_0010b8f7(param_4,"[-%c %s]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }" ({ "{") (expression_statement "uVar3 = 0xffffffffffffffff;" (assignment_expression "uVar3 = 0xffffffffffffffff" (identifier "uVar3") (= "=") (number_literal "0xffffffffffffffff")) (; ";")) (expression_statement "pcVar5 = pcVar4;" (assignment_expression "pcVar5 = pcVar4" (identifier "pcVar5") (= "=") (identifier "pcVar4")) (; ";")) (do_statement "do {\n        if (uVar3 == 0) break;\n        uVar3 = uVar3 - 1;\n        cVar1 = *pcVar5;\n        pcVar5 = pcVar5 + 1;\n      } while (cVar1 != '\0');" (do "do") (compound_statement "{\n        if (uVar3 == 0) break;\n        uVar3 = uVar3 - 1;\n        cVar1 = *pcVar5;\n        pcVar5 = pcVar5 + 1;\n      }" ({ "{") (if_statement "if (uVar3 == 0) break;" (if "if") (parenthesized_expression "(uVar3 == 0)" (( "(") (binary_expression "uVar3 == 0" (identifier "uVar3") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "uVar3 = uVar3 - 1;" (assignment_expression "uVar3 = uVar3 - 1" (identifier "uVar3") (= "=") (binary_expression "uVar3 - 1" (identifier "uVar3") (- "-") (number_literal "1"))) (; ";")) (expression_statement "cVar1 = *pcVar5;" (assignment_expression "cVar1 = *pcVar5" (identifier "cVar1") (= "=") (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5"))) (; ";")) (expression_statement "pcVar5 = pcVar5 + 1;" (assignment_expression "pcVar5 = pcVar5 + 1" (identifier "pcVar5") (= "=") (binary_expression "pcVar5 + 1" (identifier "pcVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(cVar1 != '\0')" (( "(") (binary_expression "cVar1 != '\0'" (identifier "cVar1") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (; ";")) (expression_statement "FUN_00106ea5(param_4,~uVar3 + 5);" (call_expression "FUN_00106ea5(param_4,~uVar3 + 5)" (identifier "FUN_00106ea5") (argument_list "(param_4,~uVar3 + 5)" (( "(") (identifier "param_4") (, ",") (binary_expression "~uVar3 + 5" (unary_expression "~uVar3" (~ "~") (identifier "uVar3")) (+ "+") (number_literal "5")) () ")"))) (; ";")) (expression_statement "FUN_0010b8f7(param_4,"[-%c %s]",*(undefined4 *)(param_1 + 8),pcVar4);" (call_expression "FUN_0010b8f7(param_4,"[-%c %s]",*(undefined4 *)(param_1 + 8),pcVar4)" (identifier "FUN_0010b8f7") (argument_list "(param_4,"[-%c %s]",*(undefined4 *)(param_1 + 8),pcVar4)" (( "(") (identifier "param_4") (, ",") (string_literal ""[-%c %s]"" (" """) (string_content "[-%c %s]") (" """)) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (, ",") (identifier "pcVar4") () ")"))) (; ";")) (} "}")) (else_clause "else {\n      FUN_0010b8f7(param_4," [-%c[%s]]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }" (else "else") (compound_statement "{\n      FUN_0010b8f7(param_4," [-%c[%s]]",*(undefined4 *)(param_1 + 8),pcVar4);\n    }" ({ "{") (expression_statement "FUN_0010b8f7(param_4," [-%c[%s]]",*(undefined4 *)(param_1 + 8),pcVar4);" (call_expression "FUN_0010b8f7(param_4," [-%c[%s]]",*(undefined4 *)(param_1 + 8),pcVar4)" (identifier "FUN_0010b8f7") (argument_list "(param_4," [-%c[%s]]",*(undefined4 *)(param_1 + 8),pcVar4)" (( "(") (identifier "param_4") (, ",") (string_literal "" [-%c[%s]]"" (" """) (string_content " [-%c[%s]]") (" """)) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (, ",") (identifier "pcVar4") () ")"))) (; ";")) (} "}")))) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

int function_1(type_1 *opt,type_1 *real,char *domain,void *cookie)

{
  char var_5;
  type_2 var_2;
  type_3 var_3;
  char *var_1;
  char *var_4;
  
  var_1 = opt->arg;
  if (((var_1 != (char *)0x0) || (var_1 = real->arg, var_1 != (char *)0x0)) &&
     (var_2 = opt->flags | real->flags, (var_2 & 0x10) == 0)) {
    if ((var_2 & 1) == 0) {
      var_3 = 0xffffffffffffffff;
      var_4 = var_1;
      do {
        if (var_3 == 0) break;
        var_3 = var_3 - 1;
        var_5 = *var_4;
        var_4 = var_4 + 1;
      } while (var_5 != '\0');
      var_6((type_4)cookie,~var_3 + 5);
      var_7((type_5 *)cookie,"[-%c %s]",(type_3)(type_2)opt->key,var_1);
    }
    else {
      var_7((type_5 *)cookie," [-%c[%s]]",(type_3)(type_2)opt->key,var_1);
    }
  }
  return 0;
}


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

undefined8 MASKED(long param_1,long param_2,undefined8 param_3,undefined8 param_4)

{
  char cVar1;
  uint uVar2;
  ulong uVar3;
  char *pcVar4;
  char *pcVar5;
  
  pcVar4 = *(char **)(param_1 + 0x10);
  if (((pcVar4 != (char *)0x0) || (pcVar4 = *(char **)(param_2 + 0x10), pcVar4 != (char *)0x0)) &&
     (uVar2 = *(uint *)(param_1 + 0x18) | *(uint *)(param_2 + 0x18), (uVar2 & 0x10) == 0)) {
    if ((uVar2 & 1) == 0) {
      uVar3 = 0xffffffffffffffff;
      pcVar5 = pcVar4;
      do {
        if (uVar3 == 0) break;
        uVar3 = uVar3 - 1;
        cVar1 = *pcVar5;
        pcVar5 = pcVar5 + 1;
      } while (cVar1 != '\0');
      FUN_00106ea5(param_4,~uVar3 + 5);
      FUN_0010b8f7(param_4,"[-%c %s]",*(undefined4 *)(param_1 + 8),pcVar4);
    }
    else {
      FUN_0010b8f7(param_4," [-%c[%s]]",*(undefined4 *)(param_1 + 8),pcVar4);
    }
  }
  return 0;
}

