
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void Curl_move_handle_from_send_to_recv_pipe(Curl_easy *handle,connectdata *conn)

{
  curl_llist_element *pcVar1;
  Curl_easy *pCVar2;
  
  pcVar1 = (conn->send_pipe).head;
  if (pcVar1 != (curl_llist_element *)0x0) {
    pCVar2 = (Curl_easy *)pcVar1->ptr;
    while( true ) {
      if (handle == pCVar2) {
        (*(code *)PTR_Curl_llist_move_000b1804)
                  (&conn->send_pipe,pcVar1,&conn->recv_pipe,(conn->recv_pipe).tail);
        if ((conn->send_pipe).head != (curl_llist_element *)0x0) {
          Curl_pipeline_leave_write(conn);
          (*(code *)PTR_Curl_expire_000b13ec)(((conn->send_pipe).head)->ptr,0,6);
        }
        return;
      }
      pcVar1 = pcVar1->next;
      if (pcVar1 == (curl_llist_element *)0x0) break;
      pCVar2 = (Curl_easy *)pcVar1->ptr;
    }
  }
  return;
}



void FUN_0006f798(int param_1,int param_2)

{
  int *piVar1;
  int iVar2;
  
  piVar1 = *(int **)(param_2 + 0x314);
  if (piVar1 != (int *)0x0) {
    iVar2 = *piVar1;
    while( true ) {
      if (param_1 == iVar2) {
        (*(code *)PTR_FUN_000b1804)
                  (param_2 + 0x314,piVar1,param_2 + 0x324,*(undefined4 *)(param_2 + 0x328));
        if (*(int *)(param_2 + 0x314) != 0) {
          FUN_0006f6d8(param_2);
          (*(code *)PTR_FUN_000b13ec)(**(undefined4 **)(param_2 + 0x314),0,6);
        }
        return;
      }
      piVar1 = (int *)piVar1[2];
      if (piVar1 == (int *)0x0) break;
      iVar2 = *piVar1;
    }
  }
  return;
}


lui gp,0x5
addiu gp,gp,-0x6688
addu gp,gp,t9
lw v0,0x314(a1)
beq v0,zero,0x0006f854
_nop
lw v1,0x0(v0)
beq a0,v1,0x0006f7d4
_nop
lw v0,0x8(v0)
beq v0,zero,0x0006f854
_nop
lw v1,0x0(v0)
bne v1,a0,0x0006f7bc
_nop
addiu sp,sp,-0x20
sw ra,0x1c(sp)
sw s0,0x18(sp)
sw gp,0x10(sp)
or s0,a1,zero
lw a3,0x328(a1)
addiu a2,a1,0x324
or a1,v0,zero
addiu a0,s0,0x314
lw t9,-0x790c(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw v0,0x314(s0)
beq v0,zero,0x0006f844
_or a0,s0,zero
lw t9,-0x7e1c(gp)
bal 0x0006f6d8
_nop
lw gp,0x10(sp)
lw v0,0x314(s0)
li a2,0x6
or a1,zero,zero
lw a0,0x0(v0)
lw t9,-0x7d24(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw ra,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
jr ra
_nop
(translation_unit "void FUN_0006f798(int param_1,int param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  \n  piVar1 = *(int **)(param_2 + 0x314);\n  if (piVar1 != (int *)0x0) {\n    iVar2 = *piVar1;\n    while( true ) {\n      if (param_1 == iVar2) {\n        (*(code *)PTR_FUN_000b1804)\n                  (param_2 + 0x314,piVar1,param_2 + 0x324,*(undefined4 *)(param_2 + 0x328));\n        if (*(int *)(param_2 + 0x314) != 0) {\n          FUN_0006f6d8(param_2);\n          (*(code *)PTR_FUN_000b13ec)(**(undefined4 **)(param_2 + 0x314),0,6);\n        }\n        return;\n      }\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) break;\n      iVar2 = *piVar1;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_0006f798(int param_1,int param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  \n  piVar1 = *(int **)(param_2 + 0x314);\n  if (piVar1 != (int *)0x0) {\n    iVar2 = *piVar1;\n    while( true ) {\n      if (param_1 == iVar2) {\n        (*(code *)PTR_FUN_000b1804)\n                  (param_2 + 0x314,piVar1,param_2 + 0x324,*(undefined4 *)(param_2 + 0x328));\n        if (*(int *)(param_2 + 0x314) != 0) {\n          FUN_0006f6d8(param_2);\n          (*(code *)PTR_FUN_000b13ec)(**(undefined4 **)(param_2 + 0x314),0,6);\n        }\n        return;\n      }\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) break;\n      iVar2 = *piVar1;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0006f798(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  \n  piVar1 = *(int **)(param_2 + 0x314);\n  if (piVar1 != (int *)0x0) {\n    iVar2 = *piVar1;\n    while( true ) {\n      if (param_1 == iVar2) {\n        (*(code *)PTR_FUN_000b1804)\n                  (param_2 + 0x314,piVar1,param_2 + 0x324,*(undefined4 *)(param_2 + 0x328));\n        if (*(int *)(param_2 + 0x314) != 0) {\n          FUN_0006f6d8(param_2);\n          (*(code *)PTR_FUN_000b13ec)(**(undefined4 **)(param_2 + 0x314),0,6);\n        }\n        return;\n      }\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) break;\n      iVar2 = *piVar1;\n    }\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "piVar1 = *(int **)(param_2 + 0x314);" (assignment_expression "piVar1 = *(int **)(param_2 + 0x314)" identifier = (pointer_expression "*(int **)(param_2 + 0x314)" * (cast_expression "(int **)(param_2 + 0x314)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x314)" ( (binary_expression "param_2 + 0x314" identifier + number_literal) ))))) ;) (if_statement "if (piVar1 != (int *)0x0) {\n    iVar2 = *piVar1;\n    while( true ) {\n      if (param_1 == iVar2) {\n        (*(code *)PTR_FUN_000b1804)\n                  (param_2 + 0x314,piVar1,param_2 + 0x324,*(undefined4 *)(param_2 + 0x328));\n        if (*(int *)(param_2 + 0x314) != 0) {\n          FUN_0006f6d8(param_2);\n          (*(code *)PTR_FUN_000b13ec)(**(undefined4 **)(param_2 + 0x314),0,6);\n        }\n        return;\n      }\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) break;\n      iVar2 = *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    iVar2 = *piVar1;\n    while( true ) {\n      if (param_1 == iVar2) {\n        (*(code *)PTR_FUN_000b1804)\n                  (param_2 + 0x314,piVar1,param_2 + 0x324,*(undefined4 *)(param_2 + 0x328));\n        if (*(int *)(param_2 + 0x314) != 0) {\n          FUN_0006f6d8(param_2);\n          (*(code *)PTR_FUN_000b13ec)(**(undefined4 **)(param_2 + 0x314),0,6);\n        }\n        return;\n      }\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) break;\n      iVar2 = *piVar1;\n    }\n  }" { (expression_statement "iVar2 = *piVar1;" (assignment_expression "iVar2 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (while_statement "while( true ) {\n      if (param_1 == iVar2) {\n        (*(code *)PTR_FUN_000b1804)\n                  (param_2 + 0x314,piVar1,param_2 + 0x324,*(undefined4 *)(param_2 + 0x328));\n        if (*(int *)(param_2 + 0x314) != 0) {\n          FUN_0006f6d8(param_2);\n          (*(code *)PTR_FUN_000b13ec)(**(undefined4 **)(param_2 + 0x314),0,6);\n        }\n        return;\n      }\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) break;\n      iVar2 = *piVar1;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      if (param_1 == iVar2) {\n        (*(code *)PTR_FUN_000b1804)\n                  (param_2 + 0x314,piVar1,param_2 + 0x324,*(undefined4 *)(param_2 + 0x328));\n        if (*(int *)(param_2 + 0x314) != 0) {\n          FUN_0006f6d8(param_2);\n          (*(code *)PTR_FUN_000b13ec)(**(undefined4 **)(param_2 + 0x314),0,6);\n        }\n        return;\n      }\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) break;\n      iVar2 = *piVar1;\n    }" { (if_statement "if (param_1 == iVar2) {\n        (*(code *)PTR_FUN_000b1804)\n                  (param_2 + 0x314,piVar1,param_2 + 0x324,*(undefined4 *)(param_2 + 0x328));\n        if (*(int *)(param_2 + 0x314) != 0) {\n          FUN_0006f6d8(param_2);\n          (*(code *)PTR_FUN_000b13ec)(**(undefined4 **)(param_2 + 0x314),0,6);\n        }\n        return;\n      }" if (parenthesized_expression "(param_1 == iVar2)" ( (binary_expression "param_1 == iVar2" identifier == identifier) )) (compound_statement "{\n        (*(code *)PTR_FUN_000b1804)\n                  (param_2 + 0x314,piVar1,param_2 + 0x324,*(undefined4 *)(param_2 + 0x328));\n        if (*(int *)(param_2 + 0x314) != 0) {\n          FUN_0006f6d8(param_2);\n          (*(code *)PTR_FUN_000b13ec)(**(undefined4 **)(param_2 + 0x314),0,6);\n        }\n        return;\n      }" { (expression_statement "(*(code *)PTR_FUN_000b1804)\n                  (param_2 + 0x314,piVar1,param_2 + 0x324,*(undefined4 *)(param_2 + 0x328));" (call_expression "(*(code *)PTR_FUN_000b1804)\n                  (param_2 + 0x314,piVar1,param_2 + 0x324,*(undefined4 *)(param_2 + 0x328))" (parenthesized_expression "(*(code *)PTR_FUN_000b1804)" ( (pointer_expression "*(code *)PTR_FUN_000b1804" * (cast_expression "(code *)PTR_FUN_000b1804" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2 + 0x314,piVar1,param_2 + 0x324,*(undefined4 *)(param_2 + 0x328))" ( (binary_expression "param_2 + 0x314" identifier + number_literal) , identifier , (binary_expression "param_2 + 0x324" identifier + number_literal) , (pointer_expression "*(undefined4 *)(param_2 + 0x328)" * (cast_expression "(undefined4 *)(param_2 + 0x328)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x328)" ( (binary_expression "param_2 + 0x328" identifier + number_literal) )))) ))) ;) (if_statement "if (*(int *)(param_2 + 0x314) != 0) {\n          FUN_0006f6d8(param_2);\n          (*(code *)PTR_FUN_000b13ec)(**(undefined4 **)(param_2 + 0x314),0,6);\n        }" if (parenthesized_expression "(*(int *)(param_2 + 0x314) != 0)" ( (binary_expression "*(int *)(param_2 + 0x314) != 0" (pointer_expression "*(int *)(param_2 + 0x314)" * (cast_expression "(int *)(param_2 + 0x314)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x314)" ( (binary_expression "param_2 + 0x314" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n          FUN_0006f6d8(param_2);\n          (*(code *)PTR_FUN_000b13ec)(**(undefined4 **)(param_2 + 0x314),0,6);\n        }" { (expression_statement "FUN_0006f6d8(param_2);" (call_expression "FUN_0006f6d8(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_FUN_000b13ec)(**(undefined4 **)(param_2 + 0x314),0,6);" (call_expression "(*(code *)PTR_FUN_000b13ec)(**(undefined4 **)(param_2 + 0x314),0,6)" (parenthesized_expression "(*(code *)PTR_FUN_000b13ec)" ( (pointer_expression "*(code *)PTR_FUN_000b13ec" * (cast_expression "(code *)PTR_FUN_000b13ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(**(undefined4 **)(param_2 + 0x314),0,6)" ( (pointer_expression "**(undefined4 **)(param_2 + 0x314)" * (pointer_expression "*(undefined4 **)(param_2 + 0x314)" * (cast_expression "(undefined4 **)(param_2 + 0x314)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x314)" ( (binary_expression "param_2 + 0x314" identifier + number_literal) ))))) , number_literal , number_literal ))) ;) })) (return_statement "return;" return ;) })) (expression_statement "piVar1 = (int *)piVar1[2];" (assignment_expression "piVar1 = (int *)piVar1[2]" identifier = (cast_expression "(int *)piVar1[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[2]" identifier [ number_literal ]))) ;) (if_statement "if (piVar1 == (int *)0x0) break;" 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)) )) (break_statement "break;" break ;)) (expression_statement "iVar2 = *piVar1;" (assignment_expression "iVar2 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid Curl_move_handle_from_send_to_recv_pipe(Curl_easy *handle,connectdata *conn)\n\n{\n  curl_llist_element *pcVar1;\n  Curl_easy *pCVar2;\n  \n  pcVar1 = (conn->send_pipe).head;\n  if (pcVar1 != (curl_llist_element *)0x0) {\n    pCVar2 = (Curl_easy *)pcVar1->ptr;\n    while( true ) {\n      if (handle == pCVar2) {\n        (*(code *)PTR_Curl_llist_move_000b1804)\n                  (&conn->send_pipe,pcVar1,&conn->recv_pipe,(conn->recv_pipe).tail);\n        if ((conn->send_pipe).head != (curl_llist_element *)0x0) {\n          Curl_pipeline_leave_write(conn);\n          (*(code *)PTR_Curl_expire_000b13ec)(((conn->send_pipe).head)->ptr,0,6);\n        }\n        return;\n      }\n      pcVar1 = pcVar1->next;\n      if (pcVar1 == (curl_llist_element *)0x0) break;\n      pCVar2 = (Curl_easy *)pcVar1->ptr;\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void Curl_move_handle_from_send_to_recv_pipe(Curl_easy *handle,connectdata *conn)\n\n{\n  curl_llist_element *pcVar1;\n  Curl_easy *pCVar2;\n  \n  pcVar1 = (conn->send_pipe).head;\n  if (pcVar1 != (curl_llist_element *)0x0) {\n    pCVar2 = (Curl_easy *)pcVar1->ptr;\n    while( true ) {\n      if (handle == pCVar2) {\n        (*(code *)PTR_Curl_llist_move_000b1804)\n                  (&conn->send_pipe,pcVar1,&conn->recv_pipe,(conn->recv_pipe).tail);\n        if ((conn->send_pipe).head != (curl_llist_element *)0x0) {\n          Curl_pipeline_leave_write(conn);\n          (*(code *)PTR_Curl_expire_000b13ec)(((conn->send_pipe).head)->ptr,0,6);\n        }\n        return;\n      }\n      pcVar1 = pcVar1->next;\n      if (pcVar1 == (curl_llist_element *)0x0) break;\n      pCVar2 = (Curl_easy *)pcVar1->ptr;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "Curl_move_handle_from_send_to_recv_pipe(Curl_easy *handle,connectdata *conn)" identifier (parameter_list "(Curl_easy *handle,connectdata *conn)" ( (parameter_declaration "Curl_easy *handle" type_identifier (pointer_declarator "*handle" * identifier)) , (parameter_declaration "connectdata *conn" type_identifier (pointer_declarator "*conn" * identifier)) ))) (compound_statement "{\n  curl_llist_element *pcVar1;\n  Curl_easy *pCVar2;\n  \n  pcVar1 = (conn->send_pipe).head;\n  if (pcVar1 != (curl_llist_element *)0x0) {\n    pCVar2 = (Curl_easy *)pcVar1->ptr;\n    while( true ) {\n      if (handle == pCVar2) {\n        (*(code *)PTR_Curl_llist_move_000b1804)\n                  (&conn->send_pipe,pcVar1,&conn->recv_pipe,(conn->recv_pipe).tail);\n        if ((conn->send_pipe).head != (curl_llist_element *)0x0) {\n          Curl_pipeline_leave_write(conn);\n          (*(code *)PTR_Curl_expire_000b13ec)(((conn->send_pipe).head)->ptr,0,6);\n        }\n        return;\n      }\n      pcVar1 = pcVar1->next;\n      if (pcVar1 == (curl_llist_element *)0x0) break;\n      pCVar2 = (Curl_easy *)pcVar1->ptr;\n    }\n  }\n  return;\n}" { (declaration "curl_llist_element *pcVar1;" type_identifier (pointer_declarator "*pcVar1" * identifier) ;) (declaration "Curl_easy *pCVar2;" type_identifier (pointer_declarator "*pCVar2" * identifier) ;) (expression_statement "pcVar1 = (conn->send_pipe).head;" (assignment_expression "pcVar1 = (conn->send_pipe).head" identifier = (field_expression "(conn->send_pipe).head" (parenthesized_expression "(conn->send_pipe)" ( (field_expression "conn->send_pipe" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if (pcVar1 != (curl_llist_element *)0x0) {\n    pCVar2 = (Curl_easy *)pcVar1->ptr;\n    while( true ) {\n      if (handle == pCVar2) {\n        (*(code *)PTR_Curl_llist_move_000b1804)\n                  (&conn->send_pipe,pcVar1,&conn->recv_pipe,(conn->recv_pipe).tail);\n        if ((conn->send_pipe).head != (curl_llist_element *)0x0) {\n          Curl_pipeline_leave_write(conn);\n          (*(code *)PTR_Curl_expire_000b13ec)(((conn->send_pipe).head)->ptr,0,6);\n        }\n        return;\n      }\n      pcVar1 = pcVar1->next;\n      if (pcVar1 == (curl_llist_element *)0x0) break;\n      pCVar2 = (Curl_easy *)pcVar1->ptr;\n    }\n  }" if (parenthesized_expression "(pcVar1 != (curl_llist_element *)0x0)" ( (binary_expression "pcVar1 != (curl_llist_element *)0x0" identifier != (cast_expression "(curl_llist_element *)0x0" ( (type_descriptor "curl_llist_element *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pCVar2 = (Curl_easy *)pcVar1->ptr;\n    while( true ) {\n      if (handle == pCVar2) {\n        (*(code *)PTR_Curl_llist_move_000b1804)\n                  (&conn->send_pipe,pcVar1,&conn->recv_pipe,(conn->recv_pipe).tail);\n        if ((conn->send_pipe).head != (curl_llist_element *)0x0) {\n          Curl_pipeline_leave_write(conn);\n          (*(code *)PTR_Curl_expire_000b13ec)(((conn->send_pipe).head)->ptr,0,6);\n        }\n        return;\n      }\n      pcVar1 = pcVar1->next;\n      if (pcVar1 == (curl_llist_element *)0x0) break;\n      pCVar2 = (Curl_easy *)pcVar1->ptr;\n    }\n  }" { (expression_statement "pCVar2 = (Curl_easy *)pcVar1->ptr;" (assignment_expression "pCVar2 = (Curl_easy *)pcVar1->ptr" identifier = (cast_expression "(Curl_easy *)pcVar1->ptr" ( (type_descriptor "Curl_easy *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pcVar1->ptr" identifier -> field_identifier))) ;) (while_statement "while( true ) {\n      if (handle == pCVar2) {\n        (*(code *)PTR_Curl_llist_move_000b1804)\n                  (&conn->send_pipe,pcVar1,&conn->recv_pipe,(conn->recv_pipe).tail);\n        if ((conn->send_pipe).head != (curl_llist_element *)0x0) {\n          Curl_pipeline_leave_write(conn);\n          (*(code *)PTR_Curl_expire_000b13ec)(((conn->send_pipe).head)->ptr,0,6);\n        }\n        return;\n      }\n      pcVar1 = pcVar1->next;\n      if (pcVar1 == (curl_llist_element *)0x0) break;\n      pCVar2 = (Curl_easy *)pcVar1->ptr;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      if (handle == pCVar2) {\n        (*(code *)PTR_Curl_llist_move_000b1804)\n                  (&conn->send_pipe,pcVar1,&conn->recv_pipe,(conn->recv_pipe).tail);\n        if ((conn->send_pipe).head != (curl_llist_element *)0x0) {\n          Curl_pipeline_leave_write(conn);\n          (*(code *)PTR_Curl_expire_000b13ec)(((conn->send_pipe).head)->ptr,0,6);\n        }\n        return;\n      }\n      pcVar1 = pcVar1->next;\n      if (pcVar1 == (curl_llist_element *)0x0) break;\n      pCVar2 = (Curl_easy *)pcVar1->ptr;\n    }" { (if_statement "if (handle == pCVar2) {\n        (*(code *)PTR_Curl_llist_move_000b1804)\n                  (&conn->send_pipe,pcVar1,&conn->recv_pipe,(conn->recv_pipe).tail);\n        if ((conn->send_pipe).head != (curl_llist_element *)0x0) {\n          Curl_pipeline_leave_write(conn);\n          (*(code *)PTR_Curl_expire_000b13ec)(((conn->send_pipe).head)->ptr,0,6);\n        }\n        return;\n      }" if (parenthesized_expression "(handle == pCVar2)" ( (binary_expression "handle == pCVar2" identifier == identifier) )) (compound_statement "{\n        (*(code *)PTR_Curl_llist_move_000b1804)\n                  (&conn->send_pipe,pcVar1,&conn->recv_pipe,(conn->recv_pipe).tail);\n        if ((conn->send_pipe).head != (curl_llist_element *)0x0) {\n          Curl_pipeline_leave_write(conn);\n          (*(code *)PTR_Curl_expire_000b13ec)(((conn->send_pipe).head)->ptr,0,6);\n        }\n        return;\n      }" { (expression_statement "(*(code *)PTR_Curl_llist_move_000b1804)\n                  (&conn->send_pipe,pcVar1,&conn->recv_pipe,(conn->recv_pipe).tail);" (call_expression "(*(code *)PTR_Curl_llist_move_000b1804)\n                  (&conn->send_pipe,pcVar1,&conn->recv_pipe,(conn->recv_pipe).tail)" (parenthesized_expression "(*(code *)PTR_Curl_llist_move_000b1804)" ( (pointer_expression "*(code *)PTR_Curl_llist_move_000b1804" * (cast_expression "(code *)PTR_Curl_llist_move_000b1804" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&conn->send_pipe,pcVar1,&conn->recv_pipe,(conn->recv_pipe).tail)" ( (pointer_expression "&conn->send_pipe" & (field_expression "conn->send_pipe" identifier -> field_identifier)) , identifier , (pointer_expression "&conn->recv_pipe" & (field_expression "conn->recv_pipe" identifier -> field_identifier)) , (field_expression "(conn->recv_pipe).tail" (parenthesized_expression "(conn->recv_pipe)" ( (field_expression "conn->recv_pipe" identifier -> field_identifier) )) . field_identifier) ))) ;) (if_statement "if ((conn->send_pipe).head != (curl_llist_element *)0x0) {\n          Curl_pipeline_leave_write(conn);\n          (*(code *)PTR_Curl_expire_000b13ec)(((conn->send_pipe).head)->ptr,0,6);\n        }" if (parenthesized_expression "((conn->send_pipe).head != (curl_llist_element *)0x0)" ( (binary_expression "(conn->send_pipe).head != (curl_llist_element *)0x0" (field_expression "(conn->send_pipe).head" (parenthesized_expression "(conn->send_pipe)" ( (field_expression "conn->send_pipe" identifier -> field_identifier) )) . field_identifier) != (cast_expression "(curl_llist_element *)0x0" ( (type_descriptor "curl_llist_element *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          Curl_pipeline_leave_write(conn);\n          (*(code *)PTR_Curl_expire_000b13ec)(((conn->send_pipe).head)->ptr,0,6);\n        }" { (expression_statement "Curl_pipeline_leave_write(conn);" (call_expression "Curl_pipeline_leave_write(conn)" identifier (argument_list "(conn)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_Curl_expire_000b13ec)(((conn->send_pipe).head)->ptr,0,6);" (call_expression "(*(code *)PTR_Curl_expire_000b13ec)(((conn->send_pipe).head)->ptr,0,6)" (parenthesized_expression "(*(code *)PTR_Curl_expire_000b13ec)" ( (pointer_expression "*(code *)PTR_Curl_expire_000b13ec" * (cast_expression "(code *)PTR_Curl_expire_000b13ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(((conn->send_pipe).head)->ptr,0,6)" ( (field_expression "((conn->send_pipe).head)->ptr" (parenthesized_expression "((conn->send_pipe).head)" ( (field_expression "(conn->send_pipe).head" (parenthesized_expression "(conn->send_pipe)" ( (field_expression "conn->send_pipe" identifier -> field_identifier) )) . field_identifier) )) -> field_identifier) , number_literal , number_literal ))) ;) })) (return_statement "return;" return ;) })) (expression_statement "pcVar1 = pcVar1->next;" (assignment_expression "pcVar1 = pcVar1->next" identifier = (field_expression "pcVar1->next" identifier -> field_identifier)) ;) (if_statement "if (pcVar1 == (curl_llist_element *)0x0) break;" if (parenthesized_expression "(pcVar1 == (curl_llist_element *)0x0)" ( (binary_expression "pcVar1 == (curl_llist_element *)0x0" identifier == (cast_expression "(curl_llist_element *)0x0" ( (type_descriptor "curl_llist_element *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "pCVar2 = (Curl_easy *)pcVar1->ptr;" (assignment_expression "pCVar2 = (Curl_easy *)pcVar1->ptr" identifier = (cast_expression "(Curl_easy *)pcVar1->ptr" ( (type_descriptor "Curl_easy *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pcVar1->ptr" identifier -> field_identifier))) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0006f798(int param_1,int param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  \n  piVar1 = *(int **)(param_2 + 0x314);\n  if (piVar1 != (int *)0x0) {\n    iVar2 = *piVar1;\n    while( true ) {\n      if (param_1 == iVar2) {\n        (*(code *)PTR_FUN_000b1804)\n                  (param_2 + 0x314,piVar1,param_2 + 0x324,*(undefined4 *)(param_2 + 0x328));\n        if (*(int *)(param_2 + 0x314) != 0) {\n          FUN_0006f6d8(param_2);\n          (*(code *)PTR_FUN_000b13ec)(**(undefined4 **)(param_2 + 0x314),0,6);\n        }\n        return;\n      }\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) break;\n      iVar2 = *piVar1;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_0006f798(int param_1,int param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  \n  piVar1 = *(int **)(param_2 + 0x314);\n  if (piVar1 != (int *)0x0) {\n    iVar2 = *piVar1;\n    while( true ) {\n      if (param_1 == iVar2) {\n        (*(code *)PTR_FUN_000b1804)\n                  (param_2 + 0x314,piVar1,param_2 + 0x324,*(undefined4 *)(param_2 + 0x328));\n        if (*(int *)(param_2 + 0x314) != 0) {\n          FUN_0006f6d8(param_2);\n          (*(code *)PTR_FUN_000b13ec)(**(undefined4 **)(param_2 + 0x314),0,6);\n        }\n        return;\n      }\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) break;\n      iVar2 = *piVar1;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0006f798(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  \n  piVar1 = *(int **)(param_2 + 0x314);\n  if (piVar1 != (int *)0x0) {\n    iVar2 = *piVar1;\n    while( true ) {\n      if (param_1 == iVar2) {\n        (*(code *)PTR_FUN_000b1804)\n                  (param_2 + 0x314,piVar1,param_2 + 0x324,*(undefined4 *)(param_2 + 0x328));\n        if (*(int *)(param_2 + 0x314) != 0) {\n          FUN_0006f6d8(param_2);\n          (*(code *)PTR_FUN_000b13ec)(**(undefined4 **)(param_2 + 0x314),0,6);\n        }\n        return;\n      }\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) break;\n      iVar2 = *piVar1;\n    }\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "piVar1 = *(int **)(param_2 + 0x314);" (assignment_expression "piVar1 = *(int **)(param_2 + 0x314)" identifier = (pointer_expression "*(int **)(param_2 + 0x314)" * (cast_expression "(int **)(param_2 + 0x314)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x314)" ( (binary_expression "param_2 + 0x314" identifier + number_literal) ))))) ;) (if_statement "if (piVar1 != (int *)0x0) {\n    iVar2 = *piVar1;\n    while( true ) {\n      if (param_1 == iVar2) {\n        (*(code *)PTR_FUN_000b1804)\n                  (param_2 + 0x314,piVar1,param_2 + 0x324,*(undefined4 *)(param_2 + 0x328));\n        if (*(int *)(param_2 + 0x314) != 0) {\n          FUN_0006f6d8(param_2);\n          (*(code *)PTR_FUN_000b13ec)(**(undefined4 **)(param_2 + 0x314),0,6);\n        }\n        return;\n      }\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) break;\n      iVar2 = *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    iVar2 = *piVar1;\n    while( true ) {\n      if (param_1 == iVar2) {\n        (*(code *)PTR_FUN_000b1804)\n                  (param_2 + 0x314,piVar1,param_2 + 0x324,*(undefined4 *)(param_2 + 0x328));\n        if (*(int *)(param_2 + 0x314) != 0) {\n          FUN_0006f6d8(param_2);\n          (*(code *)PTR_FUN_000b13ec)(**(undefined4 **)(param_2 + 0x314),0,6);\n        }\n        return;\n      }\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) break;\n      iVar2 = *piVar1;\n    }\n  }" { (expression_statement "iVar2 = *piVar1;" (assignment_expression "iVar2 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (while_statement "while( true ) {\n      if (param_1 == iVar2) {\n        (*(code *)PTR_FUN_000b1804)\n                  (param_2 + 0x314,piVar1,param_2 + 0x324,*(undefined4 *)(param_2 + 0x328));\n        if (*(int *)(param_2 + 0x314) != 0) {\n          FUN_0006f6d8(param_2);\n          (*(code *)PTR_FUN_000b13ec)(**(undefined4 **)(param_2 + 0x314),0,6);\n        }\n        return;\n      }\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) break;\n      iVar2 = *piVar1;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      if (param_1 == iVar2) {\n        (*(code *)PTR_FUN_000b1804)\n                  (param_2 + 0x314,piVar1,param_2 + 0x324,*(undefined4 *)(param_2 + 0x328));\n        if (*(int *)(param_2 + 0x314) != 0) {\n          FUN_0006f6d8(param_2);\n          (*(code *)PTR_FUN_000b13ec)(**(undefined4 **)(param_2 + 0x314),0,6);\n        }\n        return;\n      }\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) break;\n      iVar2 = *piVar1;\n    }" { (if_statement "if (param_1 == iVar2) {\n        (*(code *)PTR_FUN_000b1804)\n                  (param_2 + 0x314,piVar1,param_2 + 0x324,*(undefined4 *)(param_2 + 0x328));\n        if (*(int *)(param_2 + 0x314) != 0) {\n          FUN_0006f6d8(param_2);\n          (*(code *)PTR_FUN_000b13ec)(**(undefined4 **)(param_2 + 0x314),0,6);\n        }\n        return;\n      }" if (parenthesized_expression "(param_1 == iVar2)" ( (binary_expression "param_1 == iVar2" identifier == identifier) )) (compound_statement "{\n        (*(code *)PTR_FUN_000b1804)\n                  (param_2 + 0x314,piVar1,param_2 + 0x324,*(undefined4 *)(param_2 + 0x328));\n        if (*(int *)(param_2 + 0x314) != 0) {\n          FUN_0006f6d8(param_2);\n          (*(code *)PTR_FUN_000b13ec)(**(undefined4 **)(param_2 + 0x314),0,6);\n        }\n        return;\n      }" { (expression_statement "(*(code *)PTR_FUN_000b1804)\n                  (param_2 + 0x314,piVar1,param_2 + 0x324,*(undefined4 *)(param_2 + 0x328));" (call_expression "(*(code *)PTR_FUN_000b1804)\n                  (param_2 + 0x314,piVar1,param_2 + 0x324,*(undefined4 *)(param_2 + 0x328))" (parenthesized_expression "(*(code *)PTR_FUN_000b1804)" ( (pointer_expression "*(code *)PTR_FUN_000b1804" * (cast_expression "(code *)PTR_FUN_000b1804" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2 + 0x314,piVar1,param_2 + 0x324,*(undefined4 *)(param_2 + 0x328))" ( (binary_expression "param_2 + 0x314" identifier + number_literal) , identifier , (binary_expression "param_2 + 0x324" identifier + number_literal) , (pointer_expression "*(undefined4 *)(param_2 + 0x328)" * (cast_expression "(undefined4 *)(param_2 + 0x328)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x328)" ( (binary_expression "param_2 + 0x328" identifier + number_literal) )))) ))) ;) (if_statement "if (*(int *)(param_2 + 0x314) != 0) {\n          FUN_0006f6d8(param_2);\n          (*(code *)PTR_FUN_000b13ec)(**(undefined4 **)(param_2 + 0x314),0,6);\n        }" if (parenthesized_expression "(*(int *)(param_2 + 0x314) != 0)" ( (binary_expression "*(int *)(param_2 + 0x314) != 0" (pointer_expression "*(int *)(param_2 + 0x314)" * (cast_expression "(int *)(param_2 + 0x314)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x314)" ( (binary_expression "param_2 + 0x314" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n          FUN_0006f6d8(param_2);\n          (*(code *)PTR_FUN_000b13ec)(**(undefined4 **)(param_2 + 0x314),0,6);\n        }" { (expression_statement "FUN_0006f6d8(param_2);" (call_expression "FUN_0006f6d8(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_FUN_000b13ec)(**(undefined4 **)(param_2 + 0x314),0,6);" (call_expression "(*(code *)PTR_FUN_000b13ec)(**(undefined4 **)(param_2 + 0x314),0,6)" (parenthesized_expression "(*(code *)PTR_FUN_000b13ec)" ( (pointer_expression "*(code *)PTR_FUN_000b13ec" * (cast_expression "(code *)PTR_FUN_000b13ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(**(undefined4 **)(param_2 + 0x314),0,6)" ( (pointer_expression "**(undefined4 **)(param_2 + 0x314)" * (pointer_expression "*(undefined4 **)(param_2 + 0x314)" * (cast_expression "(undefined4 **)(param_2 + 0x314)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x314)" ( (binary_expression "param_2 + 0x314" identifier + number_literal) ))))) , number_literal , number_literal ))) ;) })) (return_statement "return;" return ;) })) (expression_statement "piVar1 = (int *)piVar1[2];" (assignment_expression "piVar1 = (int *)piVar1[2]" identifier = (cast_expression "(int *)piVar1[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[2]" identifier [ number_literal ]))) ;) (if_statement "if (piVar1 == (int *)0x0) break;" 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)) )) (break_statement "break;" break ;)) (expression_statement "iVar2 = *piVar1;" (assignment_expression "iVar2 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT , (binary_expression IDENT + LIT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , LIT , LIT ))) ;) })) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) })) (return_statement return ;) })))
(function_definition "void FUN_0006f798(int param_1,int param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  \n  piVar1 = *(int **)(param_2 + 0x314);\n  if (piVar1 != (int *)0x0) {\n    iVar2 = *piVar1;\n    while( true ) {\n      if (param_1 == iVar2) {\n        (*(code *)PTR_FUN_000b1804)\n                  (param_2 + 0x314,piVar1,param_2 + 0x324,*(undefined4 *)(param_2 + 0x328));\n        if (*(int *)(param_2 + 0x314) != 0) {\n          FUN_0006f6d8(param_2);\n          (*(code *)PTR_FUN_000b13ec)(**(undefined4 **)(param_2 + 0x314),0,6);\n        }\n        return;\n      }\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) break;\n      iVar2 = *piVar1;\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0006f798(int param_1,int param_2)" (identifier "FUN_0006f798") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  \n  piVar1 = *(int **)(param_2 + 0x314);\n  if (piVar1 != (int *)0x0) {\n    iVar2 = *piVar1;\n    while( true ) {\n      if (param_1 == iVar2) {\n        (*(code *)PTR_FUN_000b1804)\n                  (param_2 + 0x314,piVar1,param_2 + 0x324,*(undefined4 *)(param_2 + 0x328));\n        if (*(int *)(param_2 + 0x314) != 0) {\n          FUN_0006f6d8(param_2);\n          (*(code *)PTR_FUN_000b13ec)(**(undefined4 **)(param_2 + 0x314),0,6);\n        }\n        return;\n      }\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) break;\n      iVar2 = *piVar1;\n    }\n  }\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_2 + 0x314);" (assignment_expression "piVar1 = *(int **)(param_2 + 0x314)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(param_2 + 0x314)" (* "*") (cast_expression "(int **)(param_2 + 0x314)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0x314)" (( "(") (binary_expression "param_2 + 0x314" (identifier "param_2") (+ "+") (number_literal "0x314")) () ")"))))) (; ";")) (if_statement "if (piVar1 != (int *)0x0) {\n    iVar2 = *piVar1;\n    while( true ) {\n      if (param_1 == iVar2) {\n        (*(code *)PTR_FUN_000b1804)\n                  (param_2 + 0x314,piVar1,param_2 + 0x324,*(undefined4 *)(param_2 + 0x328));\n        if (*(int *)(param_2 + 0x314) != 0) {\n          FUN_0006f6d8(param_2);\n          (*(code *)PTR_FUN_000b13ec)(**(undefined4 **)(param_2 + 0x314),0,6);\n        }\n        return;\n      }\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) break;\n      iVar2 = *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    iVar2 = *piVar1;\n    while( true ) {\n      if (param_1 == iVar2) {\n        (*(code *)PTR_FUN_000b1804)\n                  (param_2 + 0x314,piVar1,param_2 + 0x324,*(undefined4 *)(param_2 + 0x328));\n        if (*(int *)(param_2 + 0x314) != 0) {\n          FUN_0006f6d8(param_2);\n          (*(code *)PTR_FUN_000b13ec)(**(undefined4 **)(param_2 + 0x314),0,6);\n        }\n        return;\n      }\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) break;\n      iVar2 = *piVar1;\n    }\n  }" ({ "{") (expression_statement "iVar2 = *piVar1;" (assignment_expression "iVar2 = *piVar1" (identifier "iVar2") (= "=") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) (; ";")) (while_statement "while( true ) {\n      if (param_1 == iVar2) {\n        (*(code *)PTR_FUN_000b1804)\n                  (param_2 + 0x314,piVar1,param_2 + 0x324,*(undefined4 *)(param_2 + 0x328));\n        if (*(int *)(param_2 + 0x314) != 0) {\n          FUN_0006f6d8(param_2);\n          (*(code *)PTR_FUN_000b13ec)(**(undefined4 **)(param_2 + 0x314),0,6);\n        }\n        return;\n      }\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) break;\n      iVar2 = *piVar1;\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      if (param_1 == iVar2) {\n        (*(code *)PTR_FUN_000b1804)\n                  (param_2 + 0x314,piVar1,param_2 + 0x324,*(undefined4 *)(param_2 + 0x328));\n        if (*(int *)(param_2 + 0x314) != 0) {\n          FUN_0006f6d8(param_2);\n          (*(code *)PTR_FUN_000b13ec)(**(undefined4 **)(param_2 + 0x314),0,6);\n        }\n        return;\n      }\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) break;\n      iVar2 = *piVar1;\n    }" ({ "{") (if_statement "if (param_1 == iVar2) {\n        (*(code *)PTR_FUN_000b1804)\n                  (param_2 + 0x314,piVar1,param_2 + 0x324,*(undefined4 *)(param_2 + 0x328));\n        if (*(int *)(param_2 + 0x314) != 0) {\n          FUN_0006f6d8(param_2);\n          (*(code *)PTR_FUN_000b13ec)(**(undefined4 **)(param_2 + 0x314),0,6);\n        }\n        return;\n      }" (if "if") (parenthesized_expression "(param_1 == iVar2)" (( "(") (binary_expression "param_1 == iVar2" (identifier "param_1") (== "==") (identifier "iVar2")) () ")")) (compound_statement "{\n        (*(code *)PTR_FUN_000b1804)\n                  (param_2 + 0x314,piVar1,param_2 + 0x324,*(undefined4 *)(param_2 + 0x328));\n        if (*(int *)(param_2 + 0x314) != 0) {\n          FUN_0006f6d8(param_2);\n          (*(code *)PTR_FUN_000b13ec)(**(undefined4 **)(param_2 + 0x314),0,6);\n        }\n        return;\n      }" ({ "{") (expression_statement "(*(code *)PTR_FUN_000b1804)\n                  (param_2 + 0x314,piVar1,param_2 + 0x324,*(undefined4 *)(param_2 + 0x328));" (call_expression "(*(code *)PTR_FUN_000b1804)\n                  (param_2 + 0x314,piVar1,param_2 + 0x324,*(undefined4 *)(param_2 + 0x328))" (parenthesized_expression "(*(code *)PTR_FUN_000b1804)" (( "(") (pointer_expression "*(code *)PTR_FUN_000b1804" (* "*") (cast_expression "(code *)PTR_FUN_000b1804" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_000b1804"))) () ")")) (argument_list "(param_2 + 0x314,piVar1,param_2 + 0x324,*(undefined4 *)(param_2 + 0x328))" (( "(") (binary_expression "param_2 + 0x314" (identifier "param_2") (+ "+") (number_literal "0x314")) (, ",") (identifier "piVar1") (, ",") (binary_expression "param_2 + 0x324" (identifier "param_2") (+ "+") (number_literal "0x324")) (, ",") (pointer_expression "*(undefined4 *)(param_2 + 0x328)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x328)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x328)" (( "(") (binary_expression "param_2 + 0x328" (identifier "param_2") (+ "+") (number_literal "0x328")) () ")")))) () ")"))) (; ";")) (if_statement "if (*(int *)(param_2 + 0x314) != 0) {\n          FUN_0006f6d8(param_2);\n          (*(code *)PTR_FUN_000b13ec)(**(undefined4 **)(param_2 + 0x314),0,6);\n        }" (if "if") (parenthesized_expression "(*(int *)(param_2 + 0x314) != 0)" (( "(") (binary_expression "*(int *)(param_2 + 0x314) != 0" (pointer_expression "*(int *)(param_2 + 0x314)" (* "*") (cast_expression "(int *)(param_2 + 0x314)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x314)" (( "(") (binary_expression "param_2 + 0x314" (identifier "param_2") (+ "+") (number_literal "0x314")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          FUN_0006f6d8(param_2);\n          (*(code *)PTR_FUN_000b13ec)(**(undefined4 **)(param_2 + 0x314),0,6);\n        }" ({ "{") (expression_statement "FUN_0006f6d8(param_2);" (call_expression "FUN_0006f6d8(param_2)" (identifier "FUN_0006f6d8") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_FUN_000b13ec)(**(undefined4 **)(param_2 + 0x314),0,6);" (call_expression "(*(code *)PTR_FUN_000b13ec)(**(undefined4 **)(param_2 + 0x314),0,6)" (parenthesized_expression "(*(code *)PTR_FUN_000b13ec)" (( "(") (pointer_expression "*(code *)PTR_FUN_000b13ec" (* "*") (cast_expression "(code *)PTR_FUN_000b13ec" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_000b13ec"))) () ")")) (argument_list "(**(undefined4 **)(param_2 + 0x314),0,6)" (( "(") (pointer_expression "**(undefined4 **)(param_2 + 0x314)" (* "*") (pointer_expression "*(undefined4 **)(param_2 + 0x314)" (* "*") (cast_expression "(undefined4 **)(param_2 + 0x314)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0x314)" (( "(") (binary_expression "param_2 + 0x314" (identifier "param_2") (+ "+") (number_literal "0x314")) () ")"))))) (, ",") (number_literal "0") (, ",") (number_literal "6") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "piVar1 = (int *)piVar1[2];" (assignment_expression "piVar1 = (int *)piVar1[2]" (identifier "piVar1") (= "=") (cast_expression "(int *)piVar1[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar1[2]" (identifier "piVar1") ([ "[") (number_literal "2") (] "]")))) (; ";")) (if_statement "if (piVar1 == (int *)0x0) break;" (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"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar2 = *piVar1;" (assignment_expression "iVar2 = *piVar1" (identifier "iVar2") (= "=") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) 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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (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: (pointer_expression argument: (identifier)))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) 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 (binary_expression left: (identifier) right: (number_literal)) (identifier) (binary_expression left: (identifier) right: (number_literal)) (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)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (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))))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (number_literal) (number_literal)))))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (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: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))))))) (return_statement))))

void MASKED(int param_1,int param_2)

{
  int *piVar1;
  int iVar2;
  
  piVar1 = *(int **)(param_2 + 0x314);
  if (piVar1 != (int *)0x0) {
    iVar2 = *piVar1;
    while( true ) {
      if (param_1 == iVar2) {
        (*(code *)PTR_FUN_000b1804)
                  (param_2 + 0x314,piVar1,param_2 + 0x324,*(undefined4 *)(param_2 + 0x328));
        if (*(int *)(param_2 + 0x314) != 0) {
          FUN_0006f6d8(param_2);
          (*(code *)PTR_FUN_000b13ec)(**(undefined4 **)(param_2 + 0x314),0,6);
        }
        return;
      }
      piVar1 = (int *)piVar1[2];
      if (piVar1 == (int *)0x0) break;
      iVar2 = *piVar1;
    }
  }
  return;
}

