
void Curl_freeaddrinfo(Curl_addrinfo *cahead)

{
  undefined *puVar1;
  Curl_addrinfo *ca;
  Curl_addrinfo *pCVar2;
  
  puVar1 = PTR_Curl_cfree_000a6144;
  if (cahead == (Curl_addrinfo *)0x0) {
    return;
  }
  do {
    (**(code **)puVar1)(cahead->ai_addr);
    (**(code **)puVar1)(cahead->ai_canonname);
    pCVar2 = cahead->ai_next;
    (**(code **)puVar1)(cahead);
    cahead = pCVar2;
  } while (pCVar2 != (Curl_addrinfo *)0x0);
  return;
}



void FUN_00054760(int param_1)

{
  undefined *puVar1;
  int iVar2;
  
  puVar1 = PTR_PTR_free_000a6144;
  if (param_1 == 0) {
    return;
  }
  do {
    (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x18));
    (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x14));
    iVar2 = *(int *)(param_1 + 0x1c);
    (**(code **)puVar1)(param_1);
    param_1 = iVar2;
  } while (iVar2 != 0);
  return;
}


lui gp,0x6
addiu gp,gp,-0x6650
addu gp,gp,t9
beq a0,zero,0x000547d0
_nop
addiu sp,sp,-0x28
sw s1,0x20(sp)
sw s0,0x1c(sp)
or s0,a0,zero
sw gp,0x10(sp)
sw ra,0x24(sp)
lw s1,-0x7fcc(gp)
lw t9,0x0(s1)
jalr t9
_lw a0,0x18(s0)
lw t9,0x0(s1)
jalr t9
_lw a0,0x14(s0)
or a0,s0,zero
lw t9,0x0(s1)
jalr t9
_lw s0,0x1c(s0)
bne s0,zero,0x00054790
_lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
jr ra
_nop
(translation_unit "void FUN_00054760(int param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  \n  puVar1 = PTR_PTR_free_000a6144;\n  if (param_1 == 0) {\n    return;\n  }\n  do {\n    (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x18));\n    (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x14));\n    iVar2 = *(int *)(param_1 + 0x1c);\n    (**(code **)puVar1)(param_1);\n    param_1 = iVar2;\n  } while (iVar2 != 0);\n  return;\n}\n\n" (function_definition "void FUN_00054760(int param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  \n  puVar1 = PTR_PTR_free_000a6144;\n  if (param_1 == 0) {\n    return;\n  }\n  do {\n    (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x18));\n    (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x14));\n    iVar2 = *(int *)(param_1 + 0x1c);\n    (**(code **)puVar1)(param_1);\n    param_1 = iVar2;\n  } while (iVar2 != 0);\n  return;\n}" primitive_type (function_declarator "FUN_00054760(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  \n  puVar1 = PTR_PTR_free_000a6144;\n  if (param_1 == 0) {\n    return;\n  }\n  do {\n    (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x18));\n    (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x14));\n    iVar2 = *(int *)(param_1 + 0x1c);\n    (**(code **)puVar1)(param_1);\n    param_1 = iVar2;\n  } while (iVar2 != 0);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "puVar1 = PTR_PTR_free_000a6144;" (assignment_expression "puVar1 = PTR_PTR_free_000a6144" identifier = identifier) ;) (if_statement "if (param_1 == 0) {\n    return;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (do_statement "do {\n    (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x18));\n    (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x14));\n    iVar2 = *(int *)(param_1 + 0x1c);\n    (**(code **)puVar1)(param_1);\n    param_1 = iVar2;\n  } while (iVar2 != 0);" do (compound_statement "{\n    (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x18));\n    (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x14));\n    iVar2 = *(int *)(param_1 + 0x1c);\n    (**(code **)puVar1)(param_1);\n    param_1 = iVar2;\n  }" { (expression_statement "(**(code **)puVar1)(*(undefined4 *)(param_1 + 0x18));" (call_expression "(**(code **)puVar1)(*(undefined4 *)(param_1 + 0x18))" (parenthesized_expression "(**(code **)puVar1)" ( (pointer_expression "**(code **)puVar1" * (pointer_expression "*(code **)puVar1" * (cast_expression "(code **)puVar1" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(*(undefined4 *)(param_1 + 0x18))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) ))) ;) (expression_statement "(**(code **)puVar1)(*(undefined4 *)(param_1 + 0x14));" (call_expression "(**(code **)puVar1)(*(undefined4 *)(param_1 + 0x14))" (parenthesized_expression "(**(code **)puVar1)" ( (pointer_expression "**(code **)puVar1" * (pointer_expression "*(code **)puVar1" * (cast_expression "(code **)puVar1" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(*(undefined4 *)(param_1 + 0x14))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) ))) ;) (expression_statement "iVar2 = *(int *)(param_1 + 0x1c);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x1c)" identifier = (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "(**(code **)puVar1)(param_1);" (call_expression "(**(code **)puVar1)(param_1)" (parenthesized_expression "(**(code **)puVar1)" ( (pointer_expression "**(code **)puVar1" * (pointer_expression "*(code **)puVar1" * (cast_expression "(code **)puVar1" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "param_1 = iVar2;" (assignment_expression "param_1 = iVar2" identifier = identifier) ;) }) while (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) ;) (return_statement "return;" return ;) })))
(translation_unit "void Curl_freeaddrinfo(Curl_addrinfo *cahead)\n\n{\n  undefined *puVar1;\n  Curl_addrinfo *ca;\n  Curl_addrinfo *pCVar2;\n  \n  puVar1 = PTR_Curl_cfree_000a6144;\n  if (cahead == (Curl_addrinfo *)0x0) {\n    return;\n  }\n  do {\n    (**(code **)puVar1)(cahead->ai_addr);\n    (**(code **)puVar1)(cahead->ai_canonname);\n    pCVar2 = cahead->ai_next;\n    (**(code **)puVar1)(cahead);\n    cahead = pCVar2;\n  } while (pCVar2 != (Curl_addrinfo *)0x0);\n  return;\n}\n\n" (function_definition "void Curl_freeaddrinfo(Curl_addrinfo *cahead)\n\n{\n  undefined *puVar1;\n  Curl_addrinfo *ca;\n  Curl_addrinfo *pCVar2;\n  \n  puVar1 = PTR_Curl_cfree_000a6144;\n  if (cahead == (Curl_addrinfo *)0x0) {\n    return;\n  }\n  do {\n    (**(code **)puVar1)(cahead->ai_addr);\n    (**(code **)puVar1)(cahead->ai_canonname);\n    pCVar2 = cahead->ai_next;\n    (**(code **)puVar1)(cahead);\n    cahead = pCVar2;\n  } while (pCVar2 != (Curl_addrinfo *)0x0);\n  return;\n}" primitive_type (function_declarator "Curl_freeaddrinfo(Curl_addrinfo *cahead)" identifier (parameter_list "(Curl_addrinfo *cahead)" ( (parameter_declaration "Curl_addrinfo *cahead" type_identifier (pointer_declarator "*cahead" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  Curl_addrinfo *ca;\n  Curl_addrinfo *pCVar2;\n  \n  puVar1 = PTR_Curl_cfree_000a6144;\n  if (cahead == (Curl_addrinfo *)0x0) {\n    return;\n  }\n  do {\n    (**(code **)puVar1)(cahead->ai_addr);\n    (**(code **)puVar1)(cahead->ai_canonname);\n    pCVar2 = cahead->ai_next;\n    (**(code **)puVar1)(cahead);\n    cahead = pCVar2;\n  } while (pCVar2 != (Curl_addrinfo *)0x0);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "Curl_addrinfo *ca;" type_identifier (pointer_declarator "*ca" * identifier) ;) (declaration "Curl_addrinfo *pCVar2;" type_identifier (pointer_declarator "*pCVar2" * identifier) ;) (expression_statement "puVar1 = PTR_Curl_cfree_000a6144;" (assignment_expression "puVar1 = PTR_Curl_cfree_000a6144" identifier = identifier) ;) (if_statement "if (cahead == (Curl_addrinfo *)0x0) {\n    return;\n  }" if (parenthesized_expression "(cahead == (Curl_addrinfo *)0x0)" ( (binary_expression "cahead == (Curl_addrinfo *)0x0" identifier == (cast_expression "(Curl_addrinfo *)0x0" ( (type_descriptor "Curl_addrinfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (do_statement "do {\n    (**(code **)puVar1)(cahead->ai_addr);\n    (**(code **)puVar1)(cahead->ai_canonname);\n    pCVar2 = cahead->ai_next;\n    (**(code **)puVar1)(cahead);\n    cahead = pCVar2;\n  } while (pCVar2 != (Curl_addrinfo *)0x0);" do (compound_statement "{\n    (**(code **)puVar1)(cahead->ai_addr);\n    (**(code **)puVar1)(cahead->ai_canonname);\n    pCVar2 = cahead->ai_next;\n    (**(code **)puVar1)(cahead);\n    cahead = pCVar2;\n  }" { (expression_statement "(**(code **)puVar1)(cahead->ai_addr);" (call_expression "(**(code **)puVar1)(cahead->ai_addr)" (parenthesized_expression "(**(code **)puVar1)" ( (pointer_expression "**(code **)puVar1" * (pointer_expression "*(code **)puVar1" * (cast_expression "(code **)puVar1" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(cahead->ai_addr)" ( (field_expression "cahead->ai_addr" identifier -> field_identifier) ))) ;) (expression_statement "(**(code **)puVar1)(cahead->ai_canonname);" (call_expression "(**(code **)puVar1)(cahead->ai_canonname)" (parenthesized_expression "(**(code **)puVar1)" ( (pointer_expression "**(code **)puVar1" * (pointer_expression "*(code **)puVar1" * (cast_expression "(code **)puVar1" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(cahead->ai_canonname)" ( (field_expression "cahead->ai_canonname" identifier -> field_identifier) ))) ;) (expression_statement "pCVar2 = cahead->ai_next;" (assignment_expression "pCVar2 = cahead->ai_next" identifier = (field_expression "cahead->ai_next" identifier -> field_identifier)) ;) (expression_statement "(**(code **)puVar1)(cahead);" (call_expression "(**(code **)puVar1)(cahead)" (parenthesized_expression "(**(code **)puVar1)" ( (pointer_expression "**(code **)puVar1" * (pointer_expression "*(code **)puVar1" * (cast_expression "(code **)puVar1" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(cahead)" ( identifier ))) ;) (expression_statement "cahead = pCVar2;" (assignment_expression "cahead = pCVar2" identifier = identifier) ;) }) while (parenthesized_expression "(pCVar2 != (Curl_addrinfo *)0x0)" ( (binary_expression "pCVar2 != (Curl_addrinfo *)0x0" identifier != (cast_expression "(Curl_addrinfo *)0x0" ( (type_descriptor "Curl_addrinfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00054760(int param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  \n  puVar1 = PTR_PTR_free_000a6144;\n  if (param_1 == 0) {\n    return;\n  }\n  do {\n    (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x18));\n    (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x14));\n    iVar2 = *(int *)(param_1 + 0x1c);\n    (**(code **)puVar1)(param_1);\n    param_1 = iVar2;\n  } while (iVar2 != 0);\n  return;\n}\n\n" (function_definition "void FUN_00054760(int param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  \n  puVar1 = PTR_PTR_free_000a6144;\n  if (param_1 == 0) {\n    return;\n  }\n  do {\n    (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x18));\n    (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x14));\n    iVar2 = *(int *)(param_1 + 0x1c);\n    (**(code **)puVar1)(param_1);\n    param_1 = iVar2;\n  } while (iVar2 != 0);\n  return;\n}" primitive_type (function_declarator "FUN_00054760(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  \n  puVar1 = PTR_PTR_free_000a6144;\n  if (param_1 == 0) {\n    return;\n  }\n  do {\n    (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x18));\n    (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x14));\n    iVar2 = *(int *)(param_1 + 0x1c);\n    (**(code **)puVar1)(param_1);\n    param_1 = iVar2;\n  } while (iVar2 != 0);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "puVar1 = PTR_PTR_free_000a6144;" (assignment_expression "puVar1 = PTR_PTR_free_000a6144" identifier = identifier) ;) (if_statement "if (param_1 == 0) {\n    return;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (do_statement "do {\n    (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x18));\n    (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x14));\n    iVar2 = *(int *)(param_1 + 0x1c);\n    (**(code **)puVar1)(param_1);\n    param_1 = iVar2;\n  } while (iVar2 != 0);" do (compound_statement "{\n    (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x18));\n    (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x14));\n    iVar2 = *(int *)(param_1 + 0x1c);\n    (**(code **)puVar1)(param_1);\n    param_1 = iVar2;\n  }" { (expression_statement "(**(code **)puVar1)(*(undefined4 *)(param_1 + 0x18));" (call_expression "(**(code **)puVar1)(*(undefined4 *)(param_1 + 0x18))" (parenthesized_expression "(**(code **)puVar1)" ( (pointer_expression "**(code **)puVar1" * (pointer_expression "*(code **)puVar1" * (cast_expression "(code **)puVar1" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(*(undefined4 *)(param_1 + 0x18))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) ))) ;) (expression_statement "(**(code **)puVar1)(*(undefined4 *)(param_1 + 0x14));" (call_expression "(**(code **)puVar1)(*(undefined4 *)(param_1 + 0x14))" (parenthesized_expression "(**(code **)puVar1)" ( (pointer_expression "**(code **)puVar1" * (pointer_expression "*(code **)puVar1" * (cast_expression "(code **)puVar1" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(*(undefined4 *)(param_1 + 0x14))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) ))) ;) (expression_statement "iVar2 = *(int *)(param_1 + 0x1c);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x1c)" identifier = (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "(**(code **)puVar1)(param_1);" (call_expression "(**(code **)puVar1)(param_1)" (parenthesized_expression "(**(code **)puVar1)" ( (pointer_expression "**(code **)puVar1" * (pointer_expression "*(code **)puVar1" * (cast_expression "(code **)puVar1" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "param_1 = iVar2;" (assignment_expression "param_1 = iVar2" identifier = identifier) ;) }) while (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) (do_statement do (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (return_statement return ;) })))
(function_definition "void FUN_00054760(int param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  \n  puVar1 = PTR_PTR_free_000a6144;\n  if (param_1 == 0) {\n    return;\n  }\n  do {\n    (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x18));\n    (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x14));\n    iVar2 = *(int *)(param_1 + 0x1c);\n    (**(code **)puVar1)(param_1);\n    param_1 = iVar2;\n  } while (iVar2 != 0);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00054760(int param_1)" (identifier "FUN_00054760") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  \n  puVar1 = PTR_PTR_free_000a6144;\n  if (param_1 == 0) {\n    return;\n  }\n  do {\n    (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x18));\n    (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x14));\n    iVar2 = *(int *)(param_1 + 0x1c);\n    (**(code **)puVar1)(param_1);\n    param_1 = iVar2;\n  } while (iVar2 != 0);\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (expression_statement "puVar1 = PTR_PTR_free_000a6144;" (assignment_expression "puVar1 = PTR_PTR_free_000a6144" (identifier "puVar1") (= "=") (identifier "PTR_PTR_free_000a6144")) (; ";")) (if_statement "if (param_1 == 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (do_statement "do {\n    (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x18));\n    (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x14));\n    iVar2 = *(int *)(param_1 + 0x1c);\n    (**(code **)puVar1)(param_1);\n    param_1 = iVar2;\n  } while (iVar2 != 0);" (do "do") (compound_statement "{\n    (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x18));\n    (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x14));\n    iVar2 = *(int *)(param_1 + 0x1c);\n    (**(code **)puVar1)(param_1);\n    param_1 = iVar2;\n  }" ({ "{") (expression_statement "(**(code **)puVar1)(*(undefined4 *)(param_1 + 0x18));" (call_expression "(**(code **)puVar1)(*(undefined4 *)(param_1 + 0x18))" (parenthesized_expression "(**(code **)puVar1)" (( "(") (pointer_expression "**(code **)puVar1" (* "*") (pointer_expression "*(code **)puVar1" (* "*") (cast_expression "(code **)puVar1" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar1")))) () ")")) (argument_list "(*(undefined4 *)(param_1 + 0x18))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x18)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) () ")"))) (; ";")) (expression_statement "(**(code **)puVar1)(*(undefined4 *)(param_1 + 0x14));" (call_expression "(**(code **)puVar1)(*(undefined4 *)(param_1 + 0x14))" (parenthesized_expression "(**(code **)puVar1)" (( "(") (pointer_expression "**(code **)puVar1" (* "*") (pointer_expression "*(code **)puVar1" (* "*") (cast_expression "(code **)puVar1" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar1")))) () ")")) (argument_list "(*(undefined4 *)(param_1 + 0x14))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x14)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) () ")"))) (; ";")) (expression_statement "iVar2 = *(int *)(param_1 + 0x1c);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x1c)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_1 + 0x1c)" (* "*") (cast_expression "(int *)(param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "(**(code **)puVar1)(param_1);" (call_expression "(**(code **)puVar1)(param_1)" (parenthesized_expression "(**(code **)puVar1)" (( "(") (pointer_expression "**(code **)puVar1" (* "*") (pointer_expression "*(code **)puVar1" (* "*") (cast_expression "(code **)puVar1" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar1")))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "param_1 = iVar2;" (assignment_expression "param_1 = iVar2" (identifier "param_1") (= "=") (identifier "iVar2")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *var_1)

{
  type_2 *puVar1;
  type_1 *ca;
  type_1 *var_2;
  
  puVar1 = PTR_Curl_cfree_000a6144;
  if (var_1 == (type_1 *)0x0) {
    return;
  }
  do {
    (**(type_3 **)puVar1)(var_1->ai_addr);
    (**(type_3 **)puVar1)(var_1->ai_canonname);
    var_2 = var_1->ai_next;
    (**(type_3 **)puVar1)(var_1);
    var_1 = var_2;
  } while (var_2 != (type_1 *)0x0);
  return;
}


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

void MASKED(int param_1)

{
  undefined *puVar1;
  int iVar2;
  
  puVar1 = PTR_PTR_free_000a6144;
  if (param_1 == 0) {
    return;
  }
  do {
    (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x18));
    (**(code **)puVar1)(*(undefined4 *)(param_1 + 0x14));
    iVar2 = *(int *)(param_1 + 0x1c);
    (**(code **)puVar1)(param_1);
    param_1 = iVar2;
  } while (iVar2 != 0);
  return;
}

