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

CURLcode Curl_add_handle_to_pipeline(Curl_easy *handle,connectdata *conn)

{
  curl_llist_element *pcVar1;
  
  pcVar1 = (conn->send_pipe).head;
  (*(code *)PTR_Curl_llist_insert_next_000a65f4)
            (&conn->send_pipe,(conn->send_pipe).tail,handle,&handle->pipeline_queue);
  if ((conn->bundle->multiuse == 1) && ((conn->send_pipe).head != pcVar1)) {
    Curl_pipeline_leave_write(conn);
    (*(code *)PTR_Curl_expire_000a63dc)(((conn->send_pipe).head)->ptr,0,6);
    return CURLE_OK;
  }
  return CURLE_OK;
}



undefined4 FUN_000679a0(int param_1,int param_2)

{
  int iVar1;
  
  iVar1 = *(int *)(param_2 + 0x314);
  (*(code *)PTR_FUN_000a65f4)
            (param_2 + 0x314,*(undefined4 *)(param_2 + 0x318),param_1,param_1 + 0x18);
  if ((**(int **)(param_2 + 0x59c) == 1) && (*(int *)(param_2 + 0x314) != iVar1)) {
    FUN_00067998(param_2);
    (*(code *)PTR_FUN_000a63dc)(**(undefined4 **)(param_2 + 0x314),0,6);
    return 0;
  }
  return 0;
}


lui gp,0x4
addiu gp,gp,0x6770
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x7b1c(gp)
or a2,a0,zero
addiu a3,a0,0x18
sw s0,0x1c(sp)
or s0,a1,zero
sw gp,0x10(sp)
addiu a0,s0,0x314
sw s1,0x20(sp)
sw ra,0x24(sp)
lw a1,0x318(a1)
jalr t9
_lw s1,0x314(s0)
li v0,0x1
lw v1,0x59c(s0)
lw v1,0x0(v1)
beq v1,v0,0x00067a0c
_lw gp,0x10(sp)
lw ra,0x24(sp)
or v0,zero,zero
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
lw v0,0x314(s0)
beq v0,s1,0x000679f4
_lw t9,-0x7e20(gp)
bal 0x00067998
_or a0,s0,zero
li a2,0x6
lw gp,0x10(sp)
or a1,zero,zero
lw v0,0x314(s0)
lw t9,-0x7d34(gp)
jalr t9
_lw a0,0x0(v0)
or v0,zero,zero
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "undefined4 FUN_000679a0(int param_1,int param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_2 + 0x314);\n  (*(code *)PTR_FUN_000a65f4)\n            (param_2 + 0x314,*(undefined4 *)(param_2 + 0x318),param_1,param_1 + 0x18);\n  if ((**(int **)(param_2 + 0x59c) == 1) && (*(int *)(param_2 + 0x314) != iVar1)) {\n    FUN_00067998(param_2);\n    (*(code *)PTR_FUN_000a63dc)(**(undefined4 **)(param_2 + 0x314),0,6);\n    return 0;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_000679a0(int param_1,int param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_2 + 0x314);\n  (*(code *)PTR_FUN_000a65f4)\n            (param_2 + 0x314,*(undefined4 *)(param_2 + 0x318),param_1,param_1 + 0x18);\n  if ((**(int **)(param_2 + 0x59c) == 1) && (*(int *)(param_2 + 0x314) != iVar1)) {\n    FUN_00067998(param_2);\n    (*(code *)PTR_FUN_000a63dc)(**(undefined4 **)(param_2 + 0x314),0,6);\n    return 0;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_000679a0(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 iVar1;\n  \n  iVar1 = *(int *)(param_2 + 0x314);\n  (*(code *)PTR_FUN_000a65f4)\n            (param_2 + 0x314,*(undefined4 *)(param_2 + 0x318),param_1,param_1 + 0x18);\n  if ((**(int **)(param_2 + 0x59c) == 1) && (*(int *)(param_2 + 0x314) != iVar1)) {\n    FUN_00067998(param_2);\n    (*(code *)PTR_FUN_000a63dc)(**(undefined4 **)(param_2 + 0x314),0,6);\n    return 0;\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = *(int *)(param_2 + 0x314);" (assignment_expression "iVar1 = *(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 "*" *)) ) (parenthesized_expression "(param_2 + 0x314)" ( (binary_expression "param_2 + 0x314" identifier + number_literal) ))))) ;) (expression_statement "(*(code *)PTR_FUN_000a65f4)\n            (param_2 + 0x314,*(undefined4 *)(param_2 + 0x318),param_1,param_1 + 0x18);" (call_expression "(*(code *)PTR_FUN_000a65f4)\n            (param_2 + 0x314,*(undefined4 *)(param_2 + 0x318),param_1,param_1 + 0x18)" (parenthesized_expression "(*(code *)PTR_FUN_000a65f4)" ( (pointer_expression "*(code *)PTR_FUN_000a65f4" * (cast_expression "(code *)PTR_FUN_000a65f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2 + 0x314,*(undefined4 *)(param_2 + 0x318),param_1,param_1 + 0x18)" ( (binary_expression "param_2 + 0x314" identifier + number_literal) , (pointer_expression "*(undefined4 *)(param_2 + 0x318)" * (cast_expression "(undefined4 *)(param_2 + 0x318)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x318)" ( (binary_expression "param_2 + 0x318" identifier + number_literal) )))) , identifier , (binary_expression "param_1 + 0x18" identifier + number_literal) ))) ;) (if_statement "if ((**(int **)(param_2 + 0x59c) == 1) && (*(int *)(param_2 + 0x314) != iVar1)) {\n    FUN_00067998(param_2);\n    (*(code *)PTR_FUN_000a63dc)(**(undefined4 **)(param_2 + 0x314),0,6);\n    return 0;\n  }" if (parenthesized_expression "((**(int **)(param_2 + 0x59c) == 1) && (*(int *)(param_2 + 0x314) != iVar1))" ( (binary_expression "(**(int **)(param_2 + 0x59c) == 1) && (*(int *)(param_2 + 0x314) != iVar1)" (parenthesized_expression "(**(int **)(param_2 + 0x59c) == 1)" ( (binary_expression "**(int **)(param_2 + 0x59c) == 1" (pointer_expression "**(int **)(param_2 + 0x59c)" * (pointer_expression "*(int **)(param_2 + 0x59c)" * (cast_expression "(int **)(param_2 + 0x59c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x59c)" ( (binary_expression "param_2 + 0x59c" identifier + number_literal) ))))) == number_literal) )) && (parenthesized_expression "(*(int *)(param_2 + 0x314) != iVar1)" ( (binary_expression "*(int *)(param_2 + 0x314) != iVar1" (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) )))) != identifier) ))) )) (compound_statement "{\n    FUN_00067998(param_2);\n    (*(code *)PTR_FUN_000a63dc)(**(undefined4 **)(param_2 + 0x314),0,6);\n    return 0;\n  }" { (expression_statement "FUN_00067998(param_2);" (call_expression "FUN_00067998(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_FUN_000a63dc)(**(undefined4 **)(param_2 + 0x314),0,6);" (call_expression "(*(code *)PTR_FUN_000a63dc)(**(undefined4 **)(param_2 + 0x314),0,6)" (parenthesized_expression "(*(code *)PTR_FUN_000a63dc)" ( (pointer_expression "*(code *)PTR_FUN_000a63dc" * (cast_expression "(code *)PTR_FUN_000a63dc" ( (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 0;" return number_literal ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nCURLcode Curl_add_handle_to_pipeline(Curl_easy *handle,connectdata *conn)\n\n{\n  curl_llist_element *pcVar1;\n  \n  pcVar1 = (conn->send_pipe).head;\n  (*(code *)PTR_Curl_llist_insert_next_000a65f4)\n            (&conn->send_pipe,(conn->send_pipe).tail,handle,&handle->pipeline_queue);\n  if ((conn->bundle->multiuse == 1) && ((conn->send_pipe).head != pcVar1)) {\n    Curl_pipeline_leave_write(conn);\n    (*(code *)PTR_Curl_expire_000a63dc)(((conn->send_pipe).head)->ptr,0,6);\n    return CURLE_OK;\n  }\n  return CURLE_OK;\n}\n\n" comment (function_definition "CURLcode Curl_add_handle_to_pipeline(Curl_easy *handle,connectdata *conn)\n\n{\n  curl_llist_element *pcVar1;\n  \n  pcVar1 = (conn->send_pipe).head;\n  (*(code *)PTR_Curl_llist_insert_next_000a65f4)\n            (&conn->send_pipe,(conn->send_pipe).tail,handle,&handle->pipeline_queue);\n  if ((conn->bundle->multiuse == 1) && ((conn->send_pipe).head != pcVar1)) {\n    Curl_pipeline_leave_write(conn);\n    (*(code *)PTR_Curl_expire_000a63dc)(((conn->send_pipe).head)->ptr,0,6);\n    return CURLE_OK;\n  }\n  return CURLE_OK;\n}" type_identifier (function_declarator "Curl_add_handle_to_pipeline(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  \n  pcVar1 = (conn->send_pipe).head;\n  (*(code *)PTR_Curl_llist_insert_next_000a65f4)\n            (&conn->send_pipe,(conn->send_pipe).tail,handle,&handle->pipeline_queue);\n  if ((conn->bundle->multiuse == 1) && ((conn->send_pipe).head != pcVar1)) {\n    Curl_pipeline_leave_write(conn);\n    (*(code *)PTR_Curl_expire_000a63dc)(((conn->send_pipe).head)->ptr,0,6);\n    return CURLE_OK;\n  }\n  return CURLE_OK;\n}" { (declaration "curl_llist_element *pcVar1;" type_identifier (pointer_declarator "*pcVar1" * 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)) ;) (expression_statement "(*(code *)PTR_Curl_llist_insert_next_000a65f4)\n            (&conn->send_pipe,(conn->send_pipe).tail,handle,&handle->pipeline_queue);" (call_expression "(*(code *)PTR_Curl_llist_insert_next_000a65f4)\n            (&conn->send_pipe,(conn->send_pipe).tail,handle,&handle->pipeline_queue)" (parenthesized_expression "(*(code *)PTR_Curl_llist_insert_next_000a65f4)" ( (pointer_expression "*(code *)PTR_Curl_llist_insert_next_000a65f4" * (cast_expression "(code *)PTR_Curl_llist_insert_next_000a65f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&conn->send_pipe,(conn->send_pipe).tail,handle,&handle->pipeline_queue)" ( (pointer_expression "&conn->send_pipe" & (field_expression "conn->send_pipe" identifier -> field_identifier)) , (field_expression "(conn->send_pipe).tail" (parenthesized_expression "(conn->send_pipe)" ( (field_expression "conn->send_pipe" identifier -> field_identifier) )) . field_identifier) , identifier , (pointer_expression "&handle->pipeline_queue" & (field_expression "handle->pipeline_queue" identifier -> field_identifier)) ))) ;) (if_statement "if ((conn->bundle->multiuse == 1) && ((conn->send_pipe).head != pcVar1)) {\n    Curl_pipeline_leave_write(conn);\n    (*(code *)PTR_Curl_expire_000a63dc)(((conn->send_pipe).head)->ptr,0,6);\n    return CURLE_OK;\n  }" if (parenthesized_expression "((conn->bundle->multiuse == 1) && ((conn->send_pipe).head != pcVar1))" ( (binary_expression "(conn->bundle->multiuse == 1) && ((conn->send_pipe).head != pcVar1)" (parenthesized_expression "(conn->bundle->multiuse == 1)" ( (binary_expression "conn->bundle->multiuse == 1" (field_expression "conn->bundle->multiuse" (field_expression "conn->bundle" identifier -> field_identifier) -> field_identifier) == number_literal) )) && (parenthesized_expression "((conn->send_pipe).head != pcVar1)" ( (binary_expression "(conn->send_pipe).head != pcVar1" (field_expression "(conn->send_pipe).head" (parenthesized_expression "(conn->send_pipe)" ( (field_expression "conn->send_pipe" identifier -> field_identifier) )) . field_identifier) != identifier) ))) )) (compound_statement "{\n    Curl_pipeline_leave_write(conn);\n    (*(code *)PTR_Curl_expire_000a63dc)(((conn->send_pipe).head)->ptr,0,6);\n    return CURLE_OK;\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_000a63dc)(((conn->send_pipe).head)->ptr,0,6);" (call_expression "(*(code *)PTR_Curl_expire_000a63dc)(((conn->send_pipe).head)->ptr,0,6)" (parenthesized_expression "(*(code *)PTR_Curl_expire_000a63dc)" ( (pointer_expression "*(code *)PTR_Curl_expire_000a63dc" * (cast_expression "(code *)PTR_Curl_expire_000a63dc" ( (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 CURLE_OK;" return identifier ;) })) (return_statement "return CURLE_OK;" return identifier ;) })))
(translation_unit "undefined4 FUN_000679a0(int param_1,int param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_2 + 0x314);\n  (*(code *)PTR_FUN_000a65f4)\n            (param_2 + 0x314,*(undefined4 *)(param_2 + 0x318),param_1,param_1 + 0x18);\n  if ((**(int **)(param_2 + 0x59c) == 1) && (*(int *)(param_2 + 0x314) != iVar1)) {\n    FUN_00067998(param_2);\n    (*(code *)PTR_FUN_000a63dc)(**(undefined4 **)(param_2 + 0x314),0,6);\n    return 0;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_000679a0(int param_1,int param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_2 + 0x314);\n  (*(code *)PTR_FUN_000a65f4)\n            (param_2 + 0x314,*(undefined4 *)(param_2 + 0x318),param_1,param_1 + 0x18);\n  if ((**(int **)(param_2 + 0x59c) == 1) && (*(int *)(param_2 + 0x314) != iVar1)) {\n    FUN_00067998(param_2);\n    (*(code *)PTR_FUN_000a63dc)(**(undefined4 **)(param_2 + 0x314),0,6);\n    return 0;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_000679a0(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 iVar1;\n  \n  iVar1 = *(int *)(param_2 + 0x314);\n  (*(code *)PTR_FUN_000a65f4)\n            (param_2 + 0x314,*(undefined4 *)(param_2 + 0x318),param_1,param_1 + 0x18);\n  if ((**(int **)(param_2 + 0x59c) == 1) && (*(int *)(param_2 + 0x314) != iVar1)) {\n    FUN_00067998(param_2);\n    (*(code *)PTR_FUN_000a63dc)(**(undefined4 **)(param_2 + 0x314),0,6);\n    return 0;\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = *(int *)(param_2 + 0x314);" (assignment_expression "iVar1 = *(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 "*" *)) ) (parenthesized_expression "(param_2 + 0x314)" ( (binary_expression "param_2 + 0x314" identifier + number_literal) ))))) ;) (expression_statement "(*(code *)PTR_FUN_000a65f4)\n            (param_2 + 0x314,*(undefined4 *)(param_2 + 0x318),param_1,param_1 + 0x18);" (call_expression "(*(code *)PTR_FUN_000a65f4)\n            (param_2 + 0x314,*(undefined4 *)(param_2 + 0x318),param_1,param_1 + 0x18)" (parenthesized_expression "(*(code *)PTR_FUN_000a65f4)" ( (pointer_expression "*(code *)PTR_FUN_000a65f4" * (cast_expression "(code *)PTR_FUN_000a65f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2 + 0x314,*(undefined4 *)(param_2 + 0x318),param_1,param_1 + 0x18)" ( (binary_expression "param_2 + 0x314" identifier + number_literal) , (pointer_expression "*(undefined4 *)(param_2 + 0x318)" * (cast_expression "(undefined4 *)(param_2 + 0x318)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x318)" ( (binary_expression "param_2 + 0x318" identifier + number_literal) )))) , identifier , (binary_expression "param_1 + 0x18" identifier + number_literal) ))) ;) (if_statement "if ((**(int **)(param_2 + 0x59c) == 1) && (*(int *)(param_2 + 0x314) != iVar1)) {\n    FUN_00067998(param_2);\n    (*(code *)PTR_FUN_000a63dc)(**(undefined4 **)(param_2 + 0x314),0,6);\n    return 0;\n  }" if (parenthesized_expression "((**(int **)(param_2 + 0x59c) == 1) && (*(int *)(param_2 + 0x314) != iVar1))" ( (binary_expression "(**(int **)(param_2 + 0x59c) == 1) && (*(int *)(param_2 + 0x314) != iVar1)" (parenthesized_expression "(**(int **)(param_2 + 0x59c) == 1)" ( (binary_expression "**(int **)(param_2 + 0x59c) == 1" (pointer_expression "**(int **)(param_2 + 0x59c)" * (pointer_expression "*(int **)(param_2 + 0x59c)" * (cast_expression "(int **)(param_2 + 0x59c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x59c)" ( (binary_expression "param_2 + 0x59c" identifier + number_literal) ))))) == number_literal) )) && (parenthesized_expression "(*(int *)(param_2 + 0x314) != iVar1)" ( (binary_expression "*(int *)(param_2 + 0x314) != iVar1" (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) )))) != identifier) ))) )) (compound_statement "{\n    FUN_00067998(param_2);\n    (*(code *)PTR_FUN_000a63dc)(**(undefined4 **)(param_2 + 0x314),0,6);\n    return 0;\n  }" { (expression_statement "FUN_00067998(param_2);" (call_expression "FUN_00067998(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_FUN_000a63dc)(**(undefined4 **)(param_2 + 0x314),0,6);" (call_expression "(*(code *)PTR_FUN_000a63dc)(**(undefined4 **)(param_2 + 0x314),0,6)" (parenthesized_expression "(*(code *)PTR_FUN_000a63dc)" ( (pointer_expression "*(code *)PTR_FUN_000a63dc" * (cast_expression "(code *)PTR_FUN_000a63dc" ( (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 0;" return number_literal ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , (binary_expression IDENT + LIT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) == LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) ))) )) (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 LIT ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_000679a0(int param_1,int param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_2 + 0x314);\n  (*(code *)PTR_FUN_000a65f4)\n            (param_2 + 0x314,*(undefined4 *)(param_2 + 0x318),param_1,param_1 + 0x18);\n  if ((**(int **)(param_2 + 0x59c) == 1) && (*(int *)(param_2 + 0x314) != iVar1)) {\n    FUN_00067998(param_2);\n    (*(code *)PTR_FUN_000a63dc)(**(undefined4 **)(param_2 + 0x314),0,6);\n    return 0;\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_000679a0(int param_1,int param_2)" (identifier "FUN_000679a0") (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 iVar1;\n  \n  iVar1 = *(int *)(param_2 + 0x314);\n  (*(code *)PTR_FUN_000a65f4)\n            (param_2 + 0x314,*(undefined4 *)(param_2 + 0x318),param_1,param_1 + 0x18);\n  if ((**(int **)(param_2 + 0x59c) == 1) && (*(int *)(param_2 + 0x314) != iVar1)) {\n    FUN_00067998(param_2);\n    (*(code *)PTR_FUN_000a63dc)(**(undefined4 **)(param_2 + 0x314),0,6);\n    return 0;\n  }\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = *(int *)(param_2 + 0x314);" (assignment_expression "iVar1 = *(int *)(param_2 + 0x314)" (identifier "iVar1") (= "=") (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")) () ")"))))) (; ";")) (expression_statement "(*(code *)PTR_FUN_000a65f4)\n            (param_2 + 0x314,*(undefined4 *)(param_2 + 0x318),param_1,param_1 + 0x18);" (call_expression "(*(code *)PTR_FUN_000a65f4)\n            (param_2 + 0x314,*(undefined4 *)(param_2 + 0x318),param_1,param_1 + 0x18)" (parenthesized_expression "(*(code *)PTR_FUN_000a65f4)" (( "(") (pointer_expression "*(code *)PTR_FUN_000a65f4" (* "*") (cast_expression "(code *)PTR_FUN_000a65f4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_000a65f4"))) () ")")) (argument_list "(param_2 + 0x314,*(undefined4 *)(param_2 + 0x318),param_1,param_1 + 0x18)" (( "(") (binary_expression "param_2 + 0x314" (identifier "param_2") (+ "+") (number_literal "0x314")) (, ",") (pointer_expression "*(undefined4 *)(param_2 + 0x318)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x318)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x318)" (( "(") (binary_expression "param_2 + 0x318" (identifier "param_2") (+ "+") (number_literal "0x318")) () ")")))) (, ",") (identifier "param_1") (, ",") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))) (; ";")) (if_statement "if ((**(int **)(param_2 + 0x59c) == 1) && (*(int *)(param_2 + 0x314) != iVar1)) {\n    FUN_00067998(param_2);\n    (*(code *)PTR_FUN_000a63dc)(**(undefined4 **)(param_2 + 0x314),0,6);\n    return 0;\n  }" (if "if") (parenthesized_expression "((**(int **)(param_2 + 0x59c) == 1) && (*(int *)(param_2 + 0x314) != iVar1))" (( "(") (binary_expression "(**(int **)(param_2 + 0x59c) == 1) && (*(int *)(param_2 + 0x314) != iVar1)" (parenthesized_expression "(**(int **)(param_2 + 0x59c) == 1)" (( "(") (binary_expression "**(int **)(param_2 + 0x59c) == 1" (pointer_expression "**(int **)(param_2 + 0x59c)" (* "*") (pointer_expression "*(int **)(param_2 + 0x59c)" (* "*") (cast_expression "(int **)(param_2 + 0x59c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0x59c)" (( "(") (binary_expression "param_2 + 0x59c" (identifier "param_2") (+ "+") (number_literal "0x59c")) () ")"))))) (== "==") (number_literal "1")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(param_2 + 0x314) != iVar1)" (( "(") (binary_expression "*(int *)(param_2 + 0x314) != iVar1" (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")) () ")")))) (!= "!=") (identifier "iVar1")) () ")"))) () ")")) (compound_statement "{\n    FUN_00067998(param_2);\n    (*(code *)PTR_FUN_000a63dc)(**(undefined4 **)(param_2 + 0x314),0,6);\n    return 0;\n  }" ({ "{") (expression_statement "FUN_00067998(param_2);" (call_expression "FUN_00067998(param_2)" (identifier "FUN_00067998") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_FUN_000a63dc)(**(undefined4 **)(param_2 + 0x314),0,6);" (call_expression "(*(code *)PTR_FUN_000a63dc)(**(undefined4 **)(param_2 + 0x314),0,6)" (parenthesized_expression "(*(code *)PTR_FUN_000a63dc)" (( "(") (pointer_expression "*(code *)PTR_FUN_000a63dc" (* "*") (cast_expression "(code *)PTR_FUN_000a63dc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_000a63dc"))) () ")")) (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 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

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

type_1 function_1(type_2 *handle,type_3 *conn)

{
  type_4 *var_1;
  
  var_1 = (conn->send_pipe).head;
  (*(type_5 *)PTR_Curl_llist_insert_next_000a65f4)
            (&conn->send_pipe,(conn->send_pipe).tail,handle,&handle->pipeline_queue);
  if ((conn->bundle->multiuse == 1) && ((conn->send_pipe).head != var_1)) {
    var_2(conn);
    (*(type_5 *)PTR_Curl_expire_000a63dc)(((conn->send_pipe).head)->ptr,0,6);
    return CURLE_OK;
  }
  return CURLE_OK;
}


(translation_unit (function_definition type: (type_identifier) 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: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (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)) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (identifier) (binary_expression left: (identifier) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (number_literal))) right: (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: (identifier))))) 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 (number_literal)))) (return_statement (number_literal)))))

undefined4 MASKED(int param_1,int param_2)

{
  int iVar1;
  
  iVar1 = *(int *)(param_2 + 0x314);
  (*(code *)PTR_FUN_000a65f4)
            (param_2 + 0x314,*(undefined4 *)(param_2 + 0x318),param_1,param_1 + 0x18);
  if ((**(int **)(param_2 + 0x59c) == 1) && (*(int *)(param_2 + 0x314) != iVar1)) {
    FUN_00067998(param_2);
    (*(code *)PTR_FUN_000a63dc)(**(undefined4 **)(param_2 + 0x314),0,6);
    return 0;
  }
  return 0;
}

