
void llist_add_to_end(llist_t **list_head,void *data)

{
  llist_t *plVar1;
  
  plVar1 = *list_head;
  if (plVar1 != (llist_t *)0x0) {
    list_head = &plVar1->link;
    for (plVar1 = plVar1->link; plVar1 != (llist_t *)0x0; plVar1 = plVar1->link) {
      list_head = &plVar1->link;
    }
  }
  plVar1 = (llist_t *)xzalloc(8);
  ((llist_t *)list_head)->link = plVar1;
  plVar1->data = (char *)data;
  return;
}



void FUN_00018a58(int *param_1,undefined4 param_2)

{
  int *piVar1;
  int iVar2;
  
  piVar1 = (int *)*param_1;
  if (piVar1 != (int *)0x0) {
    param_1 = piVar1;
    for (piVar1 = (int *)*piVar1; piVar1 != (int *)0x0; piVar1 = (int *)*piVar1) {
      param_1 = piVar1;
    }
  }
  iVar2 = FUN_0001a264(8);
  *param_1 = iVar2;
  *(undefined4 *)(iVar2 + 4) = param_2;
  return;
}


lui gp,0x12
addiu gp,gp,-0x6908
addu gp,gp,t9
addiu sp,sp,-0x28
lw v0,0x0(a0)
sw gp,0x10(sp)
sw s1,0x20(sp)
or s1,a1,zero
sw s0,0x1c(sp)
or s0,a0,zero
beq v0,zero,0x00018aa8
_sw ra,0x24(sp)
lw v1,0x0(v0)
beq v1,zero,0x00018aa4
_nop
or v0,v1,zero
lw v1,0x0(v0)
bne v1,zero,0x00018a94
_nop
or s0,v0,zero
lw t9,-0x7f80(gp)
bal 0x0001a264
_li a0,0x8
lw ra,0x24(sp)
sw v0,0x0(s0)
sw s1,0x4(v0)
lw s0,0x1c(sp)
lw s1,0x20(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "void FUN_00018a58(int *param_1,undefined4 param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  \n  piVar1 = (int *)*param_1;\n  if (piVar1 != (int *)0x0) {\n    param_1 = piVar1;\n    for (piVar1 = (int *)*piVar1; piVar1 != (int *)0x0; piVar1 = (int *)*piVar1) {\n      param_1 = piVar1;\n    }\n  }\n  iVar2 = FUN_0001a264(8);\n  *param_1 = iVar2;\n  *(undefined4 *)(iVar2 + 4) = param_2;\n  return;\n}\n\n" (function_definition "void FUN_00018a58(int *param_1,undefined4 param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  \n  piVar1 = (int *)*param_1;\n  if (piVar1 != (int *)0x0) {\n    param_1 = piVar1;\n    for (piVar1 = (int *)*piVar1; piVar1 != (int *)0x0; piVar1 = (int *)*piVar1) {\n      param_1 = piVar1;\n    }\n  }\n  iVar2 = FUN_0001a264(8);\n  *param_1 = iVar2;\n  *(undefined4 *)(iVar2 + 4) = param_2;\n  return;\n}" primitive_type (function_declarator "FUN_00018a58(int *param_1,undefined4 param_2)" identifier (parameter_list "(int *param_1,undefined4 param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  \n  piVar1 = (int *)*param_1;\n  if (piVar1 != (int *)0x0) {\n    param_1 = piVar1;\n    for (piVar1 = (int *)*piVar1; piVar1 != (int *)0x0; piVar1 = (int *)*piVar1) {\n      param_1 = piVar1;\n    }\n  }\n  iVar2 = FUN_0001a264(8);\n  *param_1 = iVar2;\n  *(undefined4 *)(iVar2 + 4) = param_2;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "piVar1 = (int *)*param_1;" (assignment_expression "piVar1 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (piVar1 != (int *)0x0) {\n    param_1 = piVar1;\n    for (piVar1 = (int *)*piVar1; piVar1 != (int *)0x0; piVar1 = (int *)*piVar1) {\n      param_1 = piVar1;\n    }\n  }" if (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    param_1 = piVar1;\n    for (piVar1 = (int *)*piVar1; piVar1 != (int *)0x0; piVar1 = (int *)*piVar1) {\n      param_1 = piVar1;\n    }\n  }" { (expression_statement "param_1 = piVar1;" (assignment_expression "param_1 = piVar1" identifier = identifier) ;) (for_statement "for (piVar1 = (int *)*piVar1; piVar1 != (int *)0x0; piVar1 = (int *)*piVar1) {\n      param_1 = piVar1;\n    }" for ( (assignment_expression "piVar1 = (int *)*piVar1" identifier = (cast_expression "(int *)*piVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar1" * identifier))) ; (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "piVar1 = (int *)*piVar1" identifier = (cast_expression "(int *)*piVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar1" * identifier))) ) (compound_statement "{\n      param_1 = piVar1;\n    }" { (expression_statement "param_1 = piVar1;" (assignment_expression "param_1 = piVar1" identifier = identifier) ;) })) })) (expression_statement "iVar2 = FUN_0001a264(8);" (assignment_expression "iVar2 = FUN_0001a264(8)" identifier = (call_expression "FUN_0001a264(8)" identifier (argument_list "(8)" ( number_literal )))) ;) (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(undefined4 *)(iVar2 + 4) = param_2;" (assignment_expression "*(undefined4 *)(iVar2 + 4) = param_2" (pointer_expression "*(undefined4 *)(iVar2 + 4)" * (cast_expression "(undefined4 *)(iVar2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void llist_add_to_end(llist_t **list_head,void *data)\n\n{\n  llist_t *plVar1;\n  \n  plVar1 = *list_head;\n  if (plVar1 != (llist_t *)0x0) {\n    list_head = &plVar1->link;\n    for (plVar1 = plVar1->link; plVar1 != (llist_t *)0x0; plVar1 = plVar1->link) {\n      list_head = &plVar1->link;\n    }\n  }\n  plVar1 = (llist_t *)xzalloc(8);\n  ((llist_t *)list_head)->link = plVar1;\n  plVar1->data = (char *)data;\n  return;\n}\n\n" (function_definition "void llist_add_to_end(llist_t **list_head,void *data)\n\n{\n  llist_t *plVar1;\n  \n  plVar1 = *list_head;\n  if (plVar1 != (llist_t *)0x0) {\n    list_head = &plVar1->link;\n    for (plVar1 = plVar1->link; plVar1 != (llist_t *)0x0; plVar1 = plVar1->link) {\n      list_head = &plVar1->link;\n    }\n  }\n  plVar1 = (llist_t *)xzalloc(8);\n  ((llist_t *)list_head)->link = plVar1;\n  plVar1->data = (char *)data;\n  return;\n}" primitive_type (function_declarator "llist_add_to_end(llist_t **list_head,void *data)" identifier (parameter_list "(llist_t **list_head,void *data)" ( (parameter_declaration "llist_t **list_head" type_identifier (pointer_declarator "**list_head" * (pointer_declarator "*list_head" * identifier))) , (parameter_declaration "void *data" primitive_type (pointer_declarator "*data" * identifier)) ))) (compound_statement "{\n  llist_t *plVar1;\n  \n  plVar1 = *list_head;\n  if (plVar1 != (llist_t *)0x0) {\n    list_head = &plVar1->link;\n    for (plVar1 = plVar1->link; plVar1 != (llist_t *)0x0; plVar1 = plVar1->link) {\n      list_head = &plVar1->link;\n    }\n  }\n  plVar1 = (llist_t *)xzalloc(8);\n  ((llist_t *)list_head)->link = plVar1;\n  plVar1->data = (char *)data;\n  return;\n}" { (declaration "llist_t *plVar1;" type_identifier (pointer_declarator "*plVar1" * identifier) ;) (expression_statement "plVar1 = *list_head;" (assignment_expression "plVar1 = *list_head" identifier = (pointer_expression "*list_head" * identifier)) ;) (if_statement "if (plVar1 != (llist_t *)0x0) {\n    list_head = &plVar1->link;\n    for (plVar1 = plVar1->link; plVar1 != (llist_t *)0x0; plVar1 = plVar1->link) {\n      list_head = &plVar1->link;\n    }\n  }" if (parenthesized_expression "(plVar1 != (llist_t *)0x0)" ( (binary_expression "plVar1 != (llist_t *)0x0" identifier != (cast_expression "(llist_t *)0x0" ( (type_descriptor "llist_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    list_head = &plVar1->link;\n    for (plVar1 = plVar1->link; plVar1 != (llist_t *)0x0; plVar1 = plVar1->link) {\n      list_head = &plVar1->link;\n    }\n  }" { (expression_statement "list_head = &plVar1->link;" (assignment_expression "list_head = &plVar1->link" identifier = (pointer_expression "&plVar1->link" & (field_expression "plVar1->link" identifier -> field_identifier))) ;) (for_statement "for (plVar1 = plVar1->link; plVar1 != (llist_t *)0x0; plVar1 = plVar1->link) {\n      list_head = &plVar1->link;\n    }" for ( (assignment_expression "plVar1 = plVar1->link" identifier = (field_expression "plVar1->link" identifier -> field_identifier)) ; (binary_expression "plVar1 != (llist_t *)0x0" identifier != (cast_expression "(llist_t *)0x0" ( (type_descriptor "llist_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "plVar1 = plVar1->link" identifier = (field_expression "plVar1->link" identifier -> field_identifier)) ) (compound_statement "{\n      list_head = &plVar1->link;\n    }" { (expression_statement "list_head = &plVar1->link;" (assignment_expression "list_head = &plVar1->link" identifier = (pointer_expression "&plVar1->link" & (field_expression "plVar1->link" identifier -> field_identifier))) ;) })) })) (expression_statement "plVar1 = (llist_t *)xzalloc(8);" (assignment_expression "plVar1 = (llist_t *)xzalloc(8)" identifier = (cast_expression "(llist_t *)xzalloc(8)" ( (type_descriptor "llist_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xzalloc(8)" identifier (argument_list "(8)" ( number_literal ))))) ;) (expression_statement "((llist_t *)list_head)->link = plVar1;" (assignment_expression "((llist_t *)list_head)->link = plVar1" (field_expression "((llist_t *)list_head)->link" (parenthesized_expression "((llist_t *)list_head)" ( (cast_expression "(llist_t *)list_head" ( (type_descriptor "llist_t *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) -> field_identifier) = identifier) ;) (expression_statement "plVar1->data = (char *)data;" (assignment_expression "plVar1->data = (char *)data" (field_expression "plVar1->data" identifier -> field_identifier) = (cast_expression "(char *)data" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00018a58(int *param_1,undefined4 param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  \n  piVar1 = (int *)*param_1;\n  if (piVar1 != (int *)0x0) {\n    param_1 = piVar1;\n    for (piVar1 = (int *)*piVar1; piVar1 != (int *)0x0; piVar1 = (int *)*piVar1) {\n      param_1 = piVar1;\n    }\n  }\n  iVar2 = FUN_0001a264(8);\n  *param_1 = iVar2;\n  *(undefined4 *)(iVar2 + 4) = param_2;\n  return;\n}\n\n" (function_definition "void FUN_00018a58(int *param_1,undefined4 param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  \n  piVar1 = (int *)*param_1;\n  if (piVar1 != (int *)0x0) {\n    param_1 = piVar1;\n    for (piVar1 = (int *)*piVar1; piVar1 != (int *)0x0; piVar1 = (int *)*piVar1) {\n      param_1 = piVar1;\n    }\n  }\n  iVar2 = FUN_0001a264(8);\n  *param_1 = iVar2;\n  *(undefined4 *)(iVar2 + 4) = param_2;\n  return;\n}" primitive_type (function_declarator "FUN_00018a58(int *param_1,undefined4 param_2)" identifier (parameter_list "(int *param_1,undefined4 param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  \n  piVar1 = (int *)*param_1;\n  if (piVar1 != (int *)0x0) {\n    param_1 = piVar1;\n    for (piVar1 = (int *)*piVar1; piVar1 != (int *)0x0; piVar1 = (int *)*piVar1) {\n      param_1 = piVar1;\n    }\n  }\n  iVar2 = FUN_0001a264(8);\n  *param_1 = iVar2;\n  *(undefined4 *)(iVar2 + 4) = param_2;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "piVar1 = (int *)*param_1;" (assignment_expression "piVar1 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (piVar1 != (int *)0x0) {\n    param_1 = piVar1;\n    for (piVar1 = (int *)*piVar1; piVar1 != (int *)0x0; piVar1 = (int *)*piVar1) {\n      param_1 = piVar1;\n    }\n  }" if (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    param_1 = piVar1;\n    for (piVar1 = (int *)*piVar1; piVar1 != (int *)0x0; piVar1 = (int *)*piVar1) {\n      param_1 = piVar1;\n    }\n  }" { (expression_statement "param_1 = piVar1;" (assignment_expression "param_1 = piVar1" identifier = identifier) ;) (for_statement "for (piVar1 = (int *)*piVar1; piVar1 != (int *)0x0; piVar1 = (int *)*piVar1) {\n      param_1 = piVar1;\n    }" for ( (assignment_expression "piVar1 = (int *)*piVar1" identifier = (cast_expression "(int *)*piVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar1" * identifier))) ; (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "piVar1 = (int *)*piVar1" identifier = (cast_expression "(int *)*piVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar1" * identifier))) ) (compound_statement "{\n      param_1 = piVar1;\n    }" { (expression_statement "param_1 = piVar1;" (assignment_expression "param_1 = piVar1" identifier = identifier) ;) })) })) (expression_statement "iVar2 = FUN_0001a264(8);" (assignment_expression "iVar2 = FUN_0001a264(8)" identifier = (call_expression "FUN_0001a264(8)" identifier (argument_list "(8)" ( number_literal )))) ;) (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(undefined4 *)(iVar2 + 4) = param_2;" (assignment_expression "*(undefined4 *)(iVar2 + 4) = param_2" (pointer_expression "*(undefined4 *)(iVar2 + 4)" * (cast_expression "(undefined4 *)(iVar2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (for_statement for ( (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ; (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ; (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = 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 ;) })))
(function_definition "void FUN_00018a58(int *param_1,undefined4 param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  \n  piVar1 = (int *)*param_1;\n  if (piVar1 != (int *)0x0) {\n    param_1 = piVar1;\n    for (piVar1 = (int *)*piVar1; piVar1 != (int *)0x0; piVar1 = (int *)*piVar1) {\n      param_1 = piVar1;\n    }\n  }\n  iVar2 = FUN_0001a264(8);\n  *param_1 = iVar2;\n  *(undefined4 *)(iVar2 + 4) = param_2;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00018a58(int *param_1,undefined4 param_2)" (identifier "FUN_00018a58") (parameter_list "(int *param_1,undefined4 param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  \n  piVar1 = (int *)*param_1;\n  if (piVar1 != (int *)0x0) {\n    param_1 = piVar1;\n    for (piVar1 = (int *)*piVar1; piVar1 != (int *)0x0; piVar1 = (int *)*piVar1) {\n      param_1 = piVar1;\n    }\n  }\n  iVar2 = FUN_0001a264(8);\n  *param_1 = iVar2;\n  *(undefined4 *)(iVar2 + 4) = param_2;\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (expression_statement "piVar1 = (int *)*param_1;" (assignment_expression "piVar1 = (int *)*param_1" (identifier "piVar1") (= "=") (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (if_statement "if (piVar1 != (int *)0x0) {\n    param_1 = piVar1;\n    for (piVar1 = (int *)*piVar1; piVar1 != (int *)0x0; piVar1 = (int *)*piVar1) {\n      param_1 = piVar1;\n    }\n  }" (if "if") (parenthesized_expression "(piVar1 != (int *)0x0)" (( "(") (binary_expression "piVar1 != (int *)0x0" (identifier "piVar1") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    param_1 = piVar1;\n    for (piVar1 = (int *)*piVar1; piVar1 != (int *)0x0; piVar1 = (int *)*piVar1) {\n      param_1 = piVar1;\n    }\n  }" ({ "{") (expression_statement "param_1 = piVar1;" (assignment_expression "param_1 = piVar1" (identifier "param_1") (= "=") (identifier "piVar1")) (; ";")) (for_statement "for (piVar1 = (int *)*piVar1; piVar1 != (int *)0x0; piVar1 = (int *)*piVar1) {\n      param_1 = piVar1;\n    }" (for "for") (( "(") (assignment_expression "piVar1 = (int *)*piVar1" (identifier "piVar1") (= "=") (cast_expression "(int *)*piVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar1" (* "*") (identifier "piVar1")))) (; ";") (binary_expression "piVar1 != (int *)0x0" (identifier "piVar1") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";") (assignment_expression "piVar1 = (int *)*piVar1" (identifier "piVar1") (= "=") (cast_expression "(int *)*piVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar1" (* "*") (identifier "piVar1")))) () ")") (compound_statement "{\n      param_1 = piVar1;\n    }" ({ "{") (expression_statement "param_1 = piVar1;" (assignment_expression "param_1 = piVar1" (identifier "param_1") (= "=") (identifier "piVar1")) (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar2 = FUN_0001a264(8);" (assignment_expression "iVar2 = FUN_0001a264(8)" (identifier "iVar2") (= "=") (call_expression "FUN_0001a264(8)" (identifier "FUN_0001a264") (argument_list "(8)" (( "(") (number_literal "8") () ")")))) (; ";")) (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "*(undefined4 *)(iVar2 + 4) = param_2;" (assignment_expression "*(undefined4 *)(iVar2 + 4) = param_2" (pointer_expression "*(undefined4 *)(iVar2 + 4)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 4)" (( "(") (binary_expression "iVar2 + 4" (identifier "iVar2") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 **list_head,void *data)

{
  type_1 *var_1;
  
  var_1 = *list_head;
  if (var_1 != (type_1 *)0x0) {
    list_head = &var_1->link;
    for (var_1 = var_1->link; var_1 != (type_1 *)0x0; var_1 = var_1->link) {
      list_head = &var_1->link;
    }
  }
  var_1 = (type_1 *)var_2(8);
  ((type_1 *)list_head)->link = var_1;
  var_1->data = (char *)data;
  return;
}


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

void MASKED(int *param_1,undefined4 param_2)

{
  int *piVar1;
  int iVar2;
  
  piVar1 = (int *)*param_1;
  if (piVar1 != (int *)0x0) {
    param_1 = piVar1;
    for (piVar1 = (int *)*piVar1; piVar1 != (int *)0x0; piVar1 = (int *)*piVar1) {
      param_1 = piVar1;
    }
  }
  iVar2 = FUN_0001a264(8);
  *param_1 = iVar2;
  *(undefined4 *)(iVar2 + 4) = param_2;
  return;
}

