
SHELL_VAR * get_comp_wordbreaks(SHELL_VAR *var)

{
  undefined *puVar1;
  SHELL_VAR *pSVar2;
  int iVar3;
  undefined4 uVar4;
  char *pcVar5;
  
  if ((*(int *)PTR_rl_completer_word_break_characters_00156ed0 == 0) &&
     (*(int *)PTR_bash_readline_initialized_001568e4 == 0)) {
    (*(code *)PTR_enable_hostname_completion_00156f20)
              (*(undefined4 *)PTR_perform_hostname_completion_00156f1c);
    pcVar5 = var->value;
  }
  else {
    pcVar5 = var->value;
  }
  puVar1 = PTR_rl_completer_word_break_characters_00156ed0;
  if (pcVar5 != (char *)0x0) {
    pSVar2 = (SHELL_VAR *)(*(code *)PTR_free_001585ac)();
    return pSVar2;
  }
  iVar3 = (*(code *)PTR_strlen_00158444)
                    (*(undefined4 *)PTR_rl_completer_word_break_characters_00156ed0);
  uVar4 = (*(code *)PTR_xmalloc_001565b8)(iVar3 + 1);
  pcVar5 = (char *)(*(code *)PTR_strcpy_001584cc)(uVar4,*(undefined4 *)puVar1);
  var->value = pcVar5;
  return var;
}



int FUN_000567c4(int param_1)

{
  undefined *puVar1;
  undefined4 uVar2;
  int iVar3;
  
  if ((*(int *)PTR_rl_completer_word_break_characters_00156ed0 == 0) &&
     (*(int *)PTR_bash_readline_initialized_001568e4 == 0)) {
    (*(code *)PTR_enable_hostname_completion_00156f20)
              (*(undefined4 *)PTR_perform_hostname_completion_00156f1c);
    iVar3 = *(int *)(param_1 + 4);
  }
  else {
    iVar3 = *(int *)(param_1 + 4);
  }
  if (iVar3 != 0) {
    (*(code *)PTR_free_001585ac)();
  }
  puVar1 = PTR_rl_completer_word_break_characters_00156ed0;
  iVar3 = (*(code *)PTR_strlen_00158444)
                    (*(undefined4 *)PTR_rl_completer_word_break_characters_00156ed0);
  uVar2 = (*(code *)PTR_xmalloc_001565b8)(iVar3 + 1);
  uVar2 = (*(code *)PTR_strcpy_001584cc)(uVar2,*(undefined4 *)puVar1);
  *(undefined4 *)(param_1 + 4) = uVar2;
  return param_1;
}


lui gp,0x10
addiu gp,gp,0x7d7c
addu gp,gp,t9
addiu sp,sp,-0x28
sw ra,0x24(sp)
sw s1,0x20(sp)
sw s0,0x1c(sp)
sw gp,0x10(sp)
lw v0,-0x7670(gp)
lw v0,0x0(v0)
beq v0,zero,0x0005686c
_or s0,a0,zero
lw a0,0x4(s0)
beq a0,zero,0x0005680c
_lw t9,-0x5f94(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw s1,-0x7670(gp)
lw a0,0x0(s1)
lw t9,-0x60fc(gp)
jalr t9
_nop
lw gp,0x10(sp)
addiu a0,v0,0x1
lw t9,-0x7f88(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw a1,0x0(s1)
or a0,v0,zero
lw t9,-0x6074(gp)
jalr t9
_nop
lw gp,0x10(sp)
sw v0,0x4(s0)
or v0,s0,zero
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
lw v0,-0x7c5c(gp)
lw v0,0x0(v0)
bne v0,zero,0x000567f4
_lw v0,-0x7624(gp)
lw a0,0x0(v0)
lw t9,-0x7620(gp)
jalr t9
_nop
lw gp,0x10(sp)
b 0x000567f8
_lw a0,0x4(s0)
(translation_unit "int FUN_000567c4(int param_1)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  if ((*(int *)PTR_rl_completer_word_break_characters_00156ed0 == 0) &&\n     (*(int *)PTR_bash_readline_initialized_001568e4 == 0)) {\n    (*(code *)PTR_enable_hostname_completion_00156f20)\n              (*(undefined4 *)PTR_perform_hostname_completion_00156f1c);\n    iVar3 = *(int *)(param_1 + 4);\n  }\n  else {\n    iVar3 = *(int *)(param_1 + 4);\n  }\n  if (iVar3 != 0) {\n    (*(code *)PTR_free_001585ac)();\n  }\n  puVar1 = PTR_rl_completer_word_break_characters_00156ed0;\n  iVar3 = (*(code *)PTR_strlen_00158444)\n                    (*(undefined4 *)PTR_rl_completer_word_break_characters_00156ed0);\n  uVar2 = (*(code *)PTR_xmalloc_001565b8)(iVar3 + 1);\n  uVar2 = (*(code *)PTR_strcpy_001584cc)(uVar2,*(undefined4 *)puVar1);\n  *(undefined4 *)(param_1 + 4) = uVar2;\n  return param_1;\n}\n\n" (function_definition "int FUN_000567c4(int param_1)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  if ((*(int *)PTR_rl_completer_word_break_characters_00156ed0 == 0) &&\n     (*(int *)PTR_bash_readline_initialized_001568e4 == 0)) {\n    (*(code *)PTR_enable_hostname_completion_00156f20)\n              (*(undefined4 *)PTR_perform_hostname_completion_00156f1c);\n    iVar3 = *(int *)(param_1 + 4);\n  }\n  else {\n    iVar3 = *(int *)(param_1 + 4);\n  }\n  if (iVar3 != 0) {\n    (*(code *)PTR_free_001585ac)();\n  }\n  puVar1 = PTR_rl_completer_word_break_characters_00156ed0;\n  iVar3 = (*(code *)PTR_strlen_00158444)\n                    (*(undefined4 *)PTR_rl_completer_word_break_characters_00156ed0);\n  uVar2 = (*(code *)PTR_xmalloc_001565b8)(iVar3 + 1);\n  uVar2 = (*(code *)PTR_strcpy_001584cc)(uVar2,*(undefined4 *)puVar1);\n  *(undefined4 *)(param_1 + 4) = uVar2;\n  return param_1;\n}" primitive_type (function_declarator "FUN_000567c4(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  if ((*(int *)PTR_rl_completer_word_break_characters_00156ed0 == 0) &&\n     (*(int *)PTR_bash_readline_initialized_001568e4 == 0)) {\n    (*(code *)PTR_enable_hostname_completion_00156f20)\n              (*(undefined4 *)PTR_perform_hostname_completion_00156f1c);\n    iVar3 = *(int *)(param_1 + 4);\n  }\n  else {\n    iVar3 = *(int *)(param_1 + 4);\n  }\n  if (iVar3 != 0) {\n    (*(code *)PTR_free_001585ac)();\n  }\n  puVar1 = PTR_rl_completer_word_break_characters_00156ed0;\n  iVar3 = (*(code *)PTR_strlen_00158444)\n                    (*(undefined4 *)PTR_rl_completer_word_break_characters_00156ed0);\n  uVar2 = (*(code *)PTR_xmalloc_001565b8)(iVar3 + 1);\n  uVar2 = (*(code *)PTR_strcpy_001584cc)(uVar2,*(undefined4 *)puVar1);\n  *(undefined4 *)(param_1 + 4) = uVar2;\n  return param_1;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if ((*(int *)PTR_rl_completer_word_break_characters_00156ed0 == 0) &&\n     (*(int *)PTR_bash_readline_initialized_001568e4 == 0)) {\n    (*(code *)PTR_enable_hostname_completion_00156f20)\n              (*(undefined4 *)PTR_perform_hostname_completion_00156f1c);\n    iVar3 = *(int *)(param_1 + 4);\n  }\n  else {\n    iVar3 = *(int *)(param_1 + 4);\n  }" if (parenthesized_expression "((*(int *)PTR_rl_completer_word_break_characters_00156ed0 == 0) &&\n     (*(int *)PTR_bash_readline_initialized_001568e4 == 0))" ( (binary_expression "(*(int *)PTR_rl_completer_word_break_characters_00156ed0 == 0) &&\n     (*(int *)PTR_bash_readline_initialized_001568e4 == 0)" (parenthesized_expression "(*(int *)PTR_rl_completer_word_break_characters_00156ed0 == 0)" ( (binary_expression "*(int *)PTR_rl_completer_word_break_characters_00156ed0 == 0" (pointer_expression "*(int *)PTR_rl_completer_word_break_characters_00156ed0" * (cast_expression "(int *)PTR_rl_completer_word_break_characters_00156ed0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) && (parenthesized_expression "(*(int *)PTR_bash_readline_initialized_001568e4 == 0)" ( (binary_expression "*(int *)PTR_bash_readline_initialized_001568e4 == 0" (pointer_expression "*(int *)PTR_bash_readline_initialized_001568e4" * (cast_expression "(int *)PTR_bash_readline_initialized_001568e4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) ))) )) (compound_statement "{\n    (*(code *)PTR_enable_hostname_completion_00156f20)\n              (*(undefined4 *)PTR_perform_hostname_completion_00156f1c);\n    iVar3 = *(int *)(param_1 + 4);\n  }" { (expression_statement "(*(code *)PTR_enable_hostname_completion_00156f20)\n              (*(undefined4 *)PTR_perform_hostname_completion_00156f1c);" (call_expression "(*(code *)PTR_enable_hostname_completion_00156f20)\n              (*(undefined4 *)PTR_perform_hostname_completion_00156f1c)" (parenthesized_expression "(*(code *)PTR_enable_hostname_completion_00156f20)" ( (pointer_expression "*(code *)PTR_enable_hostname_completion_00156f20" * (cast_expression "(code *)PTR_enable_hostname_completion_00156f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_perform_hostname_completion_00156f1c)" ( (pointer_expression "*(undefined4 *)PTR_perform_hostname_completion_00156f1c" * (cast_expression "(undefined4 *)PTR_perform_hostname_completion_00156f1c" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "iVar3 = *(int *)(param_1 + 4);" (assignment_expression "iVar3 = *(int *)(param_1 + 4)" identifier = (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    iVar3 = *(int *)(param_1 + 4);\n  }" else (compound_statement "{\n    iVar3 = *(int *)(param_1 + 4);\n  }" { (expression_statement "iVar3 = *(int *)(param_1 + 4);" (assignment_expression "iVar3 = *(int *)(param_1 + 4)" identifier = (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) }))) (if_statement "if (iVar3 != 0) {\n    (*(code *)PTR_free_001585ac)();\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    (*(code *)PTR_free_001585ac)();\n  }" { (expression_statement "(*(code *)PTR_free_001585ac)();" (call_expression "(*(code *)PTR_free_001585ac)()" (parenthesized_expression "(*(code *)PTR_free_001585ac)" ( (pointer_expression "*(code *)PTR_free_001585ac" * (cast_expression "(code *)PTR_free_001585ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "puVar1 = PTR_rl_completer_word_break_characters_00156ed0;" (assignment_expression "puVar1 = PTR_rl_completer_word_break_characters_00156ed0" identifier = identifier) ;) (expression_statement "iVar3 = (*(code *)PTR_strlen_00158444)\n                    (*(undefined4 *)PTR_rl_completer_word_break_characters_00156ed0);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_00158444)\n                    (*(undefined4 *)PTR_rl_completer_word_break_characters_00156ed0)" identifier = (call_expression "(*(code *)PTR_strlen_00158444)\n                    (*(undefined4 *)PTR_rl_completer_word_break_characters_00156ed0)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_rl_completer_word_break_characters_00156ed0)" ( (pointer_expression "*(undefined4 *)PTR_rl_completer_word_break_characters_00156ed0" * (cast_expression "(undefined4 *)PTR_rl_completer_word_break_characters_00156ed0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )))) ;) (expression_statement "uVar2 = (*(code *)PTR_xmalloc_001565b8)(iVar3 + 1);" (assignment_expression "uVar2 = (*(code *)PTR_xmalloc_001565b8)(iVar3 + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001565b8)(iVar3 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3 + 1)" ( (binary_expression "iVar3 + 1" identifier + number_literal) )))) ;) (expression_statement "uVar2 = (*(code *)PTR_strcpy_001584cc)(uVar2,*(undefined4 *)puVar1);" (assignment_expression "uVar2 = (*(code *)PTR_strcpy_001584cc)(uVar2,*(undefined4 *)puVar1)" identifier = (call_expression "(*(code *)PTR_strcpy_001584cc)(uVar2,*(undefined4 *)puVar1)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" ( (pointer_expression "*(code *)PTR_strcpy_001584cc" * (cast_expression "(code *)PTR_strcpy_001584cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar2,*(undefined4 *)puVar1)" ( identifier , (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )))) ;) (expression_statement "*(undefined4 *)(param_1 + 4) = uVar2;" (assignment_expression "*(undefined4 *)(param_1 + 4) = uVar2" (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = identifier) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "SHELL_VAR * get_comp_wordbreaks(SHELL_VAR *var)\n\n{\n  undefined *puVar1;\n  SHELL_VAR *pSVar2;\n  int iVar3;\n  undefined4 uVar4;\n  char *pcVar5;\n  \n  if ((*(int *)PTR_rl_completer_word_break_characters_00156ed0 == 0) &&\n     (*(int *)PTR_bash_readline_initialized_001568e4 == 0)) {\n    (*(code *)PTR_enable_hostname_completion_00156f20)\n              (*(undefined4 *)PTR_perform_hostname_completion_00156f1c);\n    pcVar5 = var->value;\n  }\n  else {\n    pcVar5 = var->value;\n  }\n  puVar1 = PTR_rl_completer_word_break_characters_00156ed0;\n  if (pcVar5 != (char *)0x0) {\n    pSVar2 = (SHELL_VAR *)(*(code *)PTR_free_001585ac)();\n    return pSVar2;\n  }\n  iVar3 = (*(code *)PTR_strlen_00158444)\n                    (*(undefined4 *)PTR_rl_completer_word_break_characters_00156ed0);\n  uVar4 = (*(code *)PTR_xmalloc_001565b8)(iVar3 + 1);\n  pcVar5 = (char *)(*(code *)PTR_strcpy_001584cc)(uVar4,*(undefined4 *)puVar1);\n  var->value = pcVar5;\n  return var;\n}\n\n" (function_definition "SHELL_VAR * get_comp_wordbreaks(SHELL_VAR *var)\n\n{\n  undefined *puVar1;\n  SHELL_VAR *pSVar2;\n  int iVar3;\n  undefined4 uVar4;\n  char *pcVar5;\n  \n  if ((*(int *)PTR_rl_completer_word_break_characters_00156ed0 == 0) &&\n     (*(int *)PTR_bash_readline_initialized_001568e4 == 0)) {\n    (*(code *)PTR_enable_hostname_completion_00156f20)\n              (*(undefined4 *)PTR_perform_hostname_completion_00156f1c);\n    pcVar5 = var->value;\n  }\n  else {\n    pcVar5 = var->value;\n  }\n  puVar1 = PTR_rl_completer_word_break_characters_00156ed0;\n  if (pcVar5 != (char *)0x0) {\n    pSVar2 = (SHELL_VAR *)(*(code *)PTR_free_001585ac)();\n    return pSVar2;\n  }\n  iVar3 = (*(code *)PTR_strlen_00158444)\n                    (*(undefined4 *)PTR_rl_completer_word_break_characters_00156ed0);\n  uVar4 = (*(code *)PTR_xmalloc_001565b8)(iVar3 + 1);\n  pcVar5 = (char *)(*(code *)PTR_strcpy_001584cc)(uVar4,*(undefined4 *)puVar1);\n  var->value = pcVar5;\n  return var;\n}" type_identifier (pointer_declarator "* get_comp_wordbreaks(SHELL_VAR *var)" * (function_declarator "get_comp_wordbreaks(SHELL_VAR *var)" identifier (parameter_list "(SHELL_VAR *var)" ( (parameter_declaration "SHELL_VAR *var" type_identifier (pointer_declarator "*var" * identifier)) )))) (compound_statement "{\n  undefined *puVar1;\n  SHELL_VAR *pSVar2;\n  int iVar3;\n  undefined4 uVar4;\n  char *pcVar5;\n  \n  if ((*(int *)PTR_rl_completer_word_break_characters_00156ed0 == 0) &&\n     (*(int *)PTR_bash_readline_initialized_001568e4 == 0)) {\n    (*(code *)PTR_enable_hostname_completion_00156f20)\n              (*(undefined4 *)PTR_perform_hostname_completion_00156f1c);\n    pcVar5 = var->value;\n  }\n  else {\n    pcVar5 = var->value;\n  }\n  puVar1 = PTR_rl_completer_word_break_characters_00156ed0;\n  if (pcVar5 != (char *)0x0) {\n    pSVar2 = (SHELL_VAR *)(*(code *)PTR_free_001585ac)();\n    return pSVar2;\n  }\n  iVar3 = (*(code *)PTR_strlen_00158444)\n                    (*(undefined4 *)PTR_rl_completer_word_break_characters_00156ed0);\n  uVar4 = (*(code *)PTR_xmalloc_001565b8)(iVar3 + 1);\n  pcVar5 = (char *)(*(code *)PTR_strcpy_001584cc)(uVar4,*(undefined4 *)puVar1);\n  var->value = pcVar5;\n  return var;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "SHELL_VAR *pSVar2;" type_identifier (pointer_declarator "*pSVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (if_statement "if ((*(int *)PTR_rl_completer_word_break_characters_00156ed0 == 0) &&\n     (*(int *)PTR_bash_readline_initialized_001568e4 == 0)) {\n    (*(code *)PTR_enable_hostname_completion_00156f20)\n              (*(undefined4 *)PTR_perform_hostname_completion_00156f1c);\n    pcVar5 = var->value;\n  }\n  else {\n    pcVar5 = var->value;\n  }" if (parenthesized_expression "((*(int *)PTR_rl_completer_word_break_characters_00156ed0 == 0) &&\n     (*(int *)PTR_bash_readline_initialized_001568e4 == 0))" ( (binary_expression "(*(int *)PTR_rl_completer_word_break_characters_00156ed0 == 0) &&\n     (*(int *)PTR_bash_readline_initialized_001568e4 == 0)" (parenthesized_expression "(*(int *)PTR_rl_completer_word_break_characters_00156ed0 == 0)" ( (binary_expression "*(int *)PTR_rl_completer_word_break_characters_00156ed0 == 0" (pointer_expression "*(int *)PTR_rl_completer_word_break_characters_00156ed0" * (cast_expression "(int *)PTR_rl_completer_word_break_characters_00156ed0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) && (parenthesized_expression "(*(int *)PTR_bash_readline_initialized_001568e4 == 0)" ( (binary_expression "*(int *)PTR_bash_readline_initialized_001568e4 == 0" (pointer_expression "*(int *)PTR_bash_readline_initialized_001568e4" * (cast_expression "(int *)PTR_bash_readline_initialized_001568e4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) ))) )) (compound_statement "{\n    (*(code *)PTR_enable_hostname_completion_00156f20)\n              (*(undefined4 *)PTR_perform_hostname_completion_00156f1c);\n    pcVar5 = var->value;\n  }" { (expression_statement "(*(code *)PTR_enable_hostname_completion_00156f20)\n              (*(undefined4 *)PTR_perform_hostname_completion_00156f1c);" (call_expression "(*(code *)PTR_enable_hostname_completion_00156f20)\n              (*(undefined4 *)PTR_perform_hostname_completion_00156f1c)" (parenthesized_expression "(*(code *)PTR_enable_hostname_completion_00156f20)" ( (pointer_expression "*(code *)PTR_enable_hostname_completion_00156f20" * (cast_expression "(code *)PTR_enable_hostname_completion_00156f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_perform_hostname_completion_00156f1c)" ( (pointer_expression "*(undefined4 *)PTR_perform_hostname_completion_00156f1c" * (cast_expression "(undefined4 *)PTR_perform_hostname_completion_00156f1c" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "pcVar5 = var->value;" (assignment_expression "pcVar5 = var->value" identifier = (field_expression "var->value" identifier -> field_identifier)) ;) }) (else_clause "else {\n    pcVar5 = var->value;\n  }" else (compound_statement "{\n    pcVar5 = var->value;\n  }" { (expression_statement "pcVar5 = var->value;" (assignment_expression "pcVar5 = var->value" identifier = (field_expression "var->value" identifier -> field_identifier)) ;) }))) (expression_statement "puVar1 = PTR_rl_completer_word_break_characters_00156ed0;" (assignment_expression "puVar1 = PTR_rl_completer_word_break_characters_00156ed0" identifier = identifier) ;) (if_statement "if (pcVar5 != (char *)0x0) {\n    pSVar2 = (SHELL_VAR *)(*(code *)PTR_free_001585ac)();\n    return pSVar2;\n  }" if (parenthesized_expression "(pcVar5 != (char *)0x0)" ( (binary_expression "pcVar5 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pSVar2 = (SHELL_VAR *)(*(code *)PTR_free_001585ac)();\n    return pSVar2;\n  }" { (expression_statement "pSVar2 = (SHELL_VAR *)(*(code *)PTR_free_001585ac)();" (assignment_expression "pSVar2 = (SHELL_VAR *)(*(code *)PTR_free_001585ac)()" identifier = (cast_expression "(SHELL_VAR *)(*(code *)PTR_free_001585ac)()" ( (type_descriptor "SHELL_VAR *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_free_001585ac)()" (parenthesized_expression "(*(code *)PTR_free_001585ac)" ( (pointer_expression "*(code *)PTR_free_001585ac" * (cast_expression "(code *)PTR_free_001585ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (return_statement "return pSVar2;" return identifier ;) })) (expression_statement "iVar3 = (*(code *)PTR_strlen_00158444)\n                    (*(undefined4 *)PTR_rl_completer_word_break_characters_00156ed0);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_00158444)\n                    (*(undefined4 *)PTR_rl_completer_word_break_characters_00156ed0)" identifier = (call_expression "(*(code *)PTR_strlen_00158444)\n                    (*(undefined4 *)PTR_rl_completer_word_break_characters_00156ed0)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_rl_completer_word_break_characters_00156ed0)" ( (pointer_expression "*(undefined4 *)PTR_rl_completer_word_break_characters_00156ed0" * (cast_expression "(undefined4 *)PTR_rl_completer_word_break_characters_00156ed0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )))) ;) (expression_statement "uVar4 = (*(code *)PTR_xmalloc_001565b8)(iVar3 + 1);" (assignment_expression "uVar4 = (*(code *)PTR_xmalloc_001565b8)(iVar3 + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001565b8)(iVar3 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3 + 1)" ( (binary_expression "iVar3 + 1" identifier + number_literal) )))) ;) (expression_statement "pcVar5 = (char *)(*(code *)PTR_strcpy_001584cc)(uVar4,*(undefined4 *)puVar1);" (assignment_expression "pcVar5 = (char *)(*(code *)PTR_strcpy_001584cc)(uVar4,*(undefined4 *)puVar1)" identifier = (cast_expression "(char *)(*(code *)PTR_strcpy_001584cc)(uVar4,*(undefined4 *)puVar1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strcpy_001584cc)(uVar4,*(undefined4 *)puVar1)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" ( (pointer_expression "*(code *)PTR_strcpy_001584cc" * (cast_expression "(code *)PTR_strcpy_001584cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4,*(undefined4 *)puVar1)" ( identifier , (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))))) ;) (expression_statement "var->value = pcVar5;" (assignment_expression "var->value = pcVar5" (field_expression "var->value" identifier -> field_identifier) = identifier) ;) (return_statement "return var;" return identifier ;) })))
(translation_unit "int FUN_000567c4(int param_1)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  if ((*(int *)PTR_rl_completer_word_break_characters_00156ed0 == 0) &&\n     (*(int *)PTR_bash_readline_initialized_001568e4 == 0)) {\n    (*(code *)PTR_enable_hostname_completion_00156f20)\n              (*(undefined4 *)PTR_perform_hostname_completion_00156f1c);\n    iVar3 = *(int *)(param_1 + 4);\n  }\n  else {\n    iVar3 = *(int *)(param_1 + 4);\n  }\n  if (iVar3 != 0) {\n    (*(code *)PTR_free_001585ac)();\n  }\n  puVar1 = PTR_rl_completer_word_break_characters_00156ed0;\n  iVar3 = (*(code *)PTR_strlen_00158444)\n                    (*(undefined4 *)PTR_rl_completer_word_break_characters_00156ed0);\n  uVar2 = (*(code *)PTR_xmalloc_001565b8)(iVar3 + 1);\n  uVar2 = (*(code *)PTR_strcpy_001584cc)(uVar2,*(undefined4 *)puVar1);\n  *(undefined4 *)(param_1 + 4) = uVar2;\n  return param_1;\n}\n\n" (function_definition "int FUN_000567c4(int param_1)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  if ((*(int *)PTR_rl_completer_word_break_characters_00156ed0 == 0) &&\n     (*(int *)PTR_bash_readline_initialized_001568e4 == 0)) {\n    (*(code *)PTR_enable_hostname_completion_00156f20)\n              (*(undefined4 *)PTR_perform_hostname_completion_00156f1c);\n    iVar3 = *(int *)(param_1 + 4);\n  }\n  else {\n    iVar3 = *(int *)(param_1 + 4);\n  }\n  if (iVar3 != 0) {\n    (*(code *)PTR_free_001585ac)();\n  }\n  puVar1 = PTR_rl_completer_word_break_characters_00156ed0;\n  iVar3 = (*(code *)PTR_strlen_00158444)\n                    (*(undefined4 *)PTR_rl_completer_word_break_characters_00156ed0);\n  uVar2 = (*(code *)PTR_xmalloc_001565b8)(iVar3 + 1);\n  uVar2 = (*(code *)PTR_strcpy_001584cc)(uVar2,*(undefined4 *)puVar1);\n  *(undefined4 *)(param_1 + 4) = uVar2;\n  return param_1;\n}" primitive_type (function_declarator "FUN_000567c4(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  if ((*(int *)PTR_rl_completer_word_break_characters_00156ed0 == 0) &&\n     (*(int *)PTR_bash_readline_initialized_001568e4 == 0)) {\n    (*(code *)PTR_enable_hostname_completion_00156f20)\n              (*(undefined4 *)PTR_perform_hostname_completion_00156f1c);\n    iVar3 = *(int *)(param_1 + 4);\n  }\n  else {\n    iVar3 = *(int *)(param_1 + 4);\n  }\n  if (iVar3 != 0) {\n    (*(code *)PTR_free_001585ac)();\n  }\n  puVar1 = PTR_rl_completer_word_break_characters_00156ed0;\n  iVar3 = (*(code *)PTR_strlen_00158444)\n                    (*(undefined4 *)PTR_rl_completer_word_break_characters_00156ed0);\n  uVar2 = (*(code *)PTR_xmalloc_001565b8)(iVar3 + 1);\n  uVar2 = (*(code *)PTR_strcpy_001584cc)(uVar2,*(undefined4 *)puVar1);\n  *(undefined4 *)(param_1 + 4) = uVar2;\n  return param_1;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if ((*(int *)PTR_rl_completer_word_break_characters_00156ed0 == 0) &&\n     (*(int *)PTR_bash_readline_initialized_001568e4 == 0)) {\n    (*(code *)PTR_enable_hostname_completion_00156f20)\n              (*(undefined4 *)PTR_perform_hostname_completion_00156f1c);\n    iVar3 = *(int *)(param_1 + 4);\n  }\n  else {\n    iVar3 = *(int *)(param_1 + 4);\n  }" if (parenthesized_expression "((*(int *)PTR_rl_completer_word_break_characters_00156ed0 == 0) &&\n     (*(int *)PTR_bash_readline_initialized_001568e4 == 0))" ( (binary_expression "(*(int *)PTR_rl_completer_word_break_characters_00156ed0 == 0) &&\n     (*(int *)PTR_bash_readline_initialized_001568e4 == 0)" (parenthesized_expression "(*(int *)PTR_rl_completer_word_break_characters_00156ed0 == 0)" ( (binary_expression "*(int *)PTR_rl_completer_word_break_characters_00156ed0 == 0" (pointer_expression "*(int *)PTR_rl_completer_word_break_characters_00156ed0" * (cast_expression "(int *)PTR_rl_completer_word_break_characters_00156ed0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) && (parenthesized_expression "(*(int *)PTR_bash_readline_initialized_001568e4 == 0)" ( (binary_expression "*(int *)PTR_bash_readline_initialized_001568e4 == 0" (pointer_expression "*(int *)PTR_bash_readline_initialized_001568e4" * (cast_expression "(int *)PTR_bash_readline_initialized_001568e4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) ))) )) (compound_statement "{\n    (*(code *)PTR_enable_hostname_completion_00156f20)\n              (*(undefined4 *)PTR_perform_hostname_completion_00156f1c);\n    iVar3 = *(int *)(param_1 + 4);\n  }" { (expression_statement "(*(code *)PTR_enable_hostname_completion_00156f20)\n              (*(undefined4 *)PTR_perform_hostname_completion_00156f1c);" (call_expression "(*(code *)PTR_enable_hostname_completion_00156f20)\n              (*(undefined4 *)PTR_perform_hostname_completion_00156f1c)" (parenthesized_expression "(*(code *)PTR_enable_hostname_completion_00156f20)" ( (pointer_expression "*(code *)PTR_enable_hostname_completion_00156f20" * (cast_expression "(code *)PTR_enable_hostname_completion_00156f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_perform_hostname_completion_00156f1c)" ( (pointer_expression "*(undefined4 *)PTR_perform_hostname_completion_00156f1c" * (cast_expression "(undefined4 *)PTR_perform_hostname_completion_00156f1c" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "iVar3 = *(int *)(param_1 + 4);" (assignment_expression "iVar3 = *(int *)(param_1 + 4)" identifier = (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    iVar3 = *(int *)(param_1 + 4);\n  }" else (compound_statement "{\n    iVar3 = *(int *)(param_1 + 4);\n  }" { (expression_statement "iVar3 = *(int *)(param_1 + 4);" (assignment_expression "iVar3 = *(int *)(param_1 + 4)" identifier = (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) }))) (if_statement "if (iVar3 != 0) {\n    (*(code *)PTR_free_001585ac)();\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    (*(code *)PTR_free_001585ac)();\n  }" { (expression_statement "(*(code *)PTR_free_001585ac)();" (call_expression "(*(code *)PTR_free_001585ac)()" (parenthesized_expression "(*(code *)PTR_free_001585ac)" ( (pointer_expression "*(code *)PTR_free_001585ac" * (cast_expression "(code *)PTR_free_001585ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "puVar1 = PTR_rl_completer_word_break_characters_00156ed0;" (assignment_expression "puVar1 = PTR_rl_completer_word_break_characters_00156ed0" identifier = identifier) ;) (expression_statement "iVar3 = (*(code *)PTR_strlen_00158444)\n                    (*(undefined4 *)PTR_rl_completer_word_break_characters_00156ed0);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_00158444)\n                    (*(undefined4 *)PTR_rl_completer_word_break_characters_00156ed0)" identifier = (call_expression "(*(code *)PTR_strlen_00158444)\n                    (*(undefined4 *)PTR_rl_completer_word_break_characters_00156ed0)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_rl_completer_word_break_characters_00156ed0)" ( (pointer_expression "*(undefined4 *)PTR_rl_completer_word_break_characters_00156ed0" * (cast_expression "(undefined4 *)PTR_rl_completer_word_break_characters_00156ed0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )))) ;) (expression_statement "uVar2 = (*(code *)PTR_xmalloc_001565b8)(iVar3 + 1);" (assignment_expression "uVar2 = (*(code *)PTR_xmalloc_001565b8)(iVar3 + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001565b8)(iVar3 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3 + 1)" ( (binary_expression "iVar3 + 1" identifier + number_literal) )))) ;) (expression_statement "uVar2 = (*(code *)PTR_strcpy_001584cc)(uVar2,*(undefined4 *)puVar1);" (assignment_expression "uVar2 = (*(code *)PTR_strcpy_001584cc)(uVar2,*(undefined4 *)puVar1)" identifier = (call_expression "(*(code *)PTR_strcpy_001584cc)(uVar2,*(undefined4 *)puVar1)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" ( (pointer_expression "*(code *)PTR_strcpy_001584cc" * (cast_expression "(code *)PTR_strcpy_001584cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar2,*(undefined4 *)puVar1)" ( identifier , (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )))) ;) (expression_statement "*(undefined4 *)(param_1 + 4) = uVar2;" (assignment_expression "*(undefined4 *)(param_1 + 4) = uVar2" (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = identifier) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) == LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) == LIT) ))) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return IDENT ;) })))
(function_definition "int FUN_000567c4(int param_1)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  if ((*(int *)PTR_rl_completer_word_break_characters_00156ed0 == 0) &&\n     (*(int *)PTR_bash_readline_initialized_001568e4 == 0)) {\n    (*(code *)PTR_enable_hostname_completion_00156f20)\n              (*(undefined4 *)PTR_perform_hostname_completion_00156f1c);\n    iVar3 = *(int *)(param_1 + 4);\n  }\n  else {\n    iVar3 = *(int *)(param_1 + 4);\n  }\n  if (iVar3 != 0) {\n    (*(code *)PTR_free_001585ac)();\n  }\n  puVar1 = PTR_rl_completer_word_break_characters_00156ed0;\n  iVar3 = (*(code *)PTR_strlen_00158444)\n                    (*(undefined4 *)PTR_rl_completer_word_break_characters_00156ed0);\n  uVar2 = (*(code *)PTR_xmalloc_001565b8)(iVar3 + 1);\n  uVar2 = (*(code *)PTR_strcpy_001584cc)(uVar2,*(undefined4 *)puVar1);\n  *(undefined4 *)(param_1 + 4) = uVar2;\n  return param_1;\n}" (primitive_type "int") (function_declarator "FUN_000567c4(int param_1)" (identifier "FUN_000567c4") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  if ((*(int *)PTR_rl_completer_word_break_characters_00156ed0 == 0) &&\n     (*(int *)PTR_bash_readline_initialized_001568e4 == 0)) {\n    (*(code *)PTR_enable_hostname_completion_00156f20)\n              (*(undefined4 *)PTR_perform_hostname_completion_00156f1c);\n    iVar3 = *(int *)(param_1 + 4);\n  }\n  else {\n    iVar3 = *(int *)(param_1 + 4);\n  }\n  if (iVar3 != 0) {\n    (*(code *)PTR_free_001585ac)();\n  }\n  puVar1 = PTR_rl_completer_word_break_characters_00156ed0;\n  iVar3 = (*(code *)PTR_strlen_00158444)\n                    (*(undefined4 *)PTR_rl_completer_word_break_characters_00156ed0);\n  uVar2 = (*(code *)PTR_xmalloc_001565b8)(iVar3 + 1);\n  uVar2 = (*(code *)PTR_strcpy_001584cc)(uVar2,*(undefined4 *)puVar1);\n  *(undefined4 *)(param_1 + 4) = uVar2;\n  return param_1;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (if_statement "if ((*(int *)PTR_rl_completer_word_break_characters_00156ed0 == 0) &&\n     (*(int *)PTR_bash_readline_initialized_001568e4 == 0)) {\n    (*(code *)PTR_enable_hostname_completion_00156f20)\n              (*(undefined4 *)PTR_perform_hostname_completion_00156f1c);\n    iVar3 = *(int *)(param_1 + 4);\n  }\n  else {\n    iVar3 = *(int *)(param_1 + 4);\n  }" (if "if") (parenthesized_expression "((*(int *)PTR_rl_completer_word_break_characters_00156ed0 == 0) &&\n     (*(int *)PTR_bash_readline_initialized_001568e4 == 0))" (( "(") (binary_expression "(*(int *)PTR_rl_completer_word_break_characters_00156ed0 == 0) &&\n     (*(int *)PTR_bash_readline_initialized_001568e4 == 0)" (parenthesized_expression "(*(int *)PTR_rl_completer_word_break_characters_00156ed0 == 0)" (( "(") (binary_expression "*(int *)PTR_rl_completer_word_break_characters_00156ed0 == 0" (pointer_expression "*(int *)PTR_rl_completer_word_break_characters_00156ed0" (* "*") (cast_expression "(int *)PTR_rl_completer_word_break_characters_00156ed0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rl_completer_word_break_characters_00156ed0"))) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)PTR_bash_readline_initialized_001568e4 == 0)" (( "(") (binary_expression "*(int *)PTR_bash_readline_initialized_001568e4 == 0" (pointer_expression "*(int *)PTR_bash_readline_initialized_001568e4" (* "*") (cast_expression "(int *)PTR_bash_readline_initialized_001568e4" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_bash_readline_initialized_001568e4"))) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    (*(code *)PTR_enable_hostname_completion_00156f20)\n              (*(undefined4 *)PTR_perform_hostname_completion_00156f1c);\n    iVar3 = *(int *)(param_1 + 4);\n  }" ({ "{") (expression_statement "(*(code *)PTR_enable_hostname_completion_00156f20)\n              (*(undefined4 *)PTR_perform_hostname_completion_00156f1c);" (call_expression "(*(code *)PTR_enable_hostname_completion_00156f20)\n              (*(undefined4 *)PTR_perform_hostname_completion_00156f1c)" (parenthesized_expression "(*(code *)PTR_enable_hostname_completion_00156f20)" (( "(") (pointer_expression "*(code *)PTR_enable_hostname_completion_00156f20" (* "*") (cast_expression "(code *)PTR_enable_hostname_completion_00156f20" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_enable_hostname_completion_00156f20"))) () ")")) (argument_list "(*(undefined4 *)PTR_perform_hostname_completion_00156f1c)" (( "(") (pointer_expression "*(undefined4 *)PTR_perform_hostname_completion_00156f1c" (* "*") (cast_expression "(undefined4 *)PTR_perform_hostname_completion_00156f1c" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_perform_hostname_completion_00156f1c"))) () ")"))) (; ";")) (expression_statement "iVar3 = *(int *)(param_1 + 4);" (assignment_expression "iVar3 = *(int *)(param_1 + 4)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n    iVar3 = *(int *)(param_1 + 4);\n  }" (else "else") (compound_statement "{\n    iVar3 = *(int *)(param_1 + 4);\n  }" ({ "{") (expression_statement "iVar3 = *(int *)(param_1 + 4);" (assignment_expression "iVar3 = *(int *)(param_1 + 4)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (} "}")))) (if_statement "if (iVar3 != 0) {\n    (*(code *)PTR_free_001585ac)();\n  }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)PTR_free_001585ac)();\n  }" ({ "{") (expression_statement "(*(code *)PTR_free_001585ac)();" (call_expression "(*(code *)PTR_free_001585ac)()" (parenthesized_expression "(*(code *)PTR_free_001585ac)" (( "(") (pointer_expression "*(code *)PTR_free_001585ac" (* "*") (cast_expression "(code *)PTR_free_001585ac" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_001585ac"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "puVar1 = PTR_rl_completer_word_break_characters_00156ed0;" (assignment_expression "puVar1 = PTR_rl_completer_word_break_characters_00156ed0" (identifier "puVar1") (= "=") (identifier "PTR_rl_completer_word_break_characters_00156ed0")) (; ";")) (expression_statement "iVar3 = (*(code *)PTR_strlen_00158444)\n                    (*(undefined4 *)PTR_rl_completer_word_break_characters_00156ed0);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_00158444)\n                    (*(undefined4 *)PTR_rl_completer_word_break_characters_00156ed0)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_strlen_00158444)\n                    (*(undefined4 *)PTR_rl_completer_word_break_characters_00156ed0)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" (( "(") (pointer_expression "*(code *)PTR_strlen_00158444" (* "*") (cast_expression "(code *)PTR_strlen_00158444" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00158444"))) () ")")) (argument_list "(*(undefined4 *)PTR_rl_completer_word_break_characters_00156ed0)" (( "(") (pointer_expression "*(undefined4 *)PTR_rl_completer_word_break_characters_00156ed0" (* "*") (cast_expression "(undefined4 *)PTR_rl_completer_word_break_characters_00156ed0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rl_completer_word_break_characters_00156ed0"))) () ")")))) (; ";")) (expression_statement "uVar2 = (*(code *)PTR_xmalloc_001565b8)(iVar3 + 1);" (assignment_expression "uVar2 = (*(code *)PTR_xmalloc_001565b8)(iVar3 + 1)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_xmalloc_001565b8)(iVar3 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" (( "(") (pointer_expression "*(code *)PTR_xmalloc_001565b8" (* "*") (cast_expression "(code *)PTR_xmalloc_001565b8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xmalloc_001565b8"))) () ")")) (argument_list "(iVar3 + 1)" (( "(") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "uVar2 = (*(code *)PTR_strcpy_001584cc)(uVar2,*(undefined4 *)puVar1);" (assignment_expression "uVar2 = (*(code *)PTR_strcpy_001584cc)(uVar2,*(undefined4 *)puVar1)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_strcpy_001584cc)(uVar2,*(undefined4 *)puVar1)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" (( "(") (pointer_expression "*(code *)PTR_strcpy_001584cc" (* "*") (cast_expression "(code *)PTR_strcpy_001584cc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcpy_001584cc"))) () ")")) (argument_list "(uVar2,*(undefined4 *)puVar1)" (( "(") (identifier "uVar2") (, ",") (pointer_expression "*(undefined4 *)puVar1" (* "*") (cast_expression "(undefined4 *)puVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 4) = uVar2;" (assignment_expression "*(undefined4 *)(param_1 + 4) = uVar2" (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

type_1 * function_1(type_1 *var)

{
  type_2 *puVar1;
  type_1 *pSVar2;
  int var_2;
  type_3 uVar4;
  char *var_1;
  
  if ((*(int *)PTR_rl_completer_word_break_characters_00156ed0 == 0) &&
     (*(int *)PTR_bash_readline_initialized_001568e4 == 0)) {
    (*(type_4 *)PTR_enable_hostname_completion_00156f20)
              (*(type_3 *)PTR_perform_hostname_completion_00156f1c);
    var_1 = var->value;
  }
  else {
    var_1 = var->value;
  }
  puVar1 = PTR_rl_completer_word_break_characters_00156ed0;
  if (var_1 != (char *)0x0) {
    pSVar2 = (type_1 *)(*(type_4 *)PTR_free_001585ac)();
    return pSVar2;
  }
  var_2 = (*(type_4 *)PTR_strlen_00158444)
                    (*(type_3 *)PTR_rl_completer_word_break_characters_00156ed0);
  uVar4 = (*(type_4 *)PTR_xmalloc_001565b8)(var_2 + 1);
  var_1 = (char *)(*(type_4 *)PTR_strcpy_001584cc)(uVar4,*(type_3 *)puVar1);
  var->value = var_1;
  return var;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (return_statement (identifier)))))

int MASKED(int param_1)

{
  undefined *puVar1;
  undefined4 uVar2;
  int iVar3;
  
  if ((*(int *)PTR_rl_completer_word_break_characters_00156ed0 == 0) &&
     (*(int *)PTR_bash_readline_initialized_001568e4 == 0)) {
    (*(code *)PTR_enable_hostname_completion_00156f20)
              (*(undefined4 *)PTR_perform_hostname_completion_00156f1c);
    iVar3 = *(int *)(param_1 + 4);
  }
  else {
    iVar3 = *(int *)(param_1 + 4);
  }
  if (iVar3 != 0) {
    (*(code *)PTR_free_001585ac)();
  }
  puVar1 = PTR_rl_completer_word_break_characters_00156ed0;
  iVar3 = (*(code *)PTR_strlen_00158444)
                    (*(undefined4 *)PTR_rl_completer_word_break_characters_00156ed0);
  uVar2 = (*(code *)PTR_xmalloc_001565b8)(iVar3 + 1);
  uVar2 = (*(code *)PTR_strcpy_001584cc)(uVar2,*(undefined4 *)puVar1);
  *(undefined4 *)(param_1 + 4) = uVar2;
  return param_1;
}

