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

CURLcode imap_perform_search(connectdata *conn)

{
  CURLcode CVar1;
  
  if (*(int *)((int)(conn->data->req).protop + 0x1c) != 0) {
    CVar1 = imap_sendf(conn,PTR_UINT_000a6194 + 0x59c);
    if (CVar1 == CURLE_OK) {
      (conn->proto).sshc.readdir_totalLen = 0xd;
    }
    return CVar1;
  }
  (*(code *)PTR_Curl_failf_000a614c)(conn->data,PTR_UINT_000a6194 + 0x574);
  return CURLE_URL_MALFORMAT;
}



int FUN_00057020(int *param_1)

{
  int iVar1;
  
  if (*(int *)(*(int *)(*param_1 + 0x154) + 0x1c) != 0) {
    iVar1 = FUN_00056678(param_1,PTR_UINT_000a6194 + 0x59c);
    if (iVar1 == 0) {
      param_1[0x13a] = 0xd;
    }
    return iVar1;
  }
  (*(code *)PTR_FUN_000a614c)(*param_1,PTR_UINT_000a6194 + 0x574);
  return 3;
}


lui gp,0x5
addiu gp,gp,0x70f0
addu gp,gp,t9
lw v0,0x0(a0)
addiu sp,sp,-0x20
sw gp,0x10(sp)
lw v1,0x154(v0)
sw ra,0x1c(sp)
sw s0,0x18(sp)
lw a2,0x1c(v1)
beq a2,zero,0x00057084
_or s0,a0,zero
lw a1,-0x7f7c(gp)
lw t9,-0x7a40(gp)
addiu t9,t9,0x6678
bal 0x00056678
_addiu a1,a1,0x59c
bne v0,zero,0x00057078
_lw ra,0x1c(sp)
li v1,0xd
sw v1,0x4e8(s0)
lw ra,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
lw a1,-0x7f7c(gp)
or a0,v0,zero
lw t9,-0x7fc4(gp)
jalr t9
_addiu a1,a1,0x574
li v0,0x3
lw ra,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "int FUN_00057020(int *param_1)\n\n{\n  int iVar1;\n  \n  if (*(int *)(*(int *)(*param_1 + 0x154) + 0x1c) != 0) {\n    iVar1 = FUN_00056678(param_1,PTR_UINT_000a6194 + 0x59c);\n    if (iVar1 == 0) {\n      param_1[0x13a] = 0xd;\n    }\n    return iVar1;\n  }\n  (*(code *)PTR_FUN_000a614c)(*param_1,PTR_UINT_000a6194 + 0x574);\n  return 3;\n}\n\n" (function_definition "int FUN_00057020(int *param_1)\n\n{\n  int iVar1;\n  \n  if (*(int *)(*(int *)(*param_1 + 0x154) + 0x1c) != 0) {\n    iVar1 = FUN_00056678(param_1,PTR_UINT_000a6194 + 0x59c);\n    if (iVar1 == 0) {\n      param_1[0x13a] = 0xd;\n    }\n    return iVar1;\n  }\n  (*(code *)PTR_FUN_000a614c)(*param_1,PTR_UINT_000a6194 + 0x574);\n  return 3;\n}" primitive_type (function_declarator "FUN_00057020(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if (*(int *)(*(int *)(*param_1 + 0x154) + 0x1c) != 0) {\n    iVar1 = FUN_00056678(param_1,PTR_UINT_000a6194 + 0x59c);\n    if (iVar1 == 0) {\n      param_1[0x13a] = 0xd;\n    }\n    return iVar1;\n  }\n  (*(code *)PTR_FUN_000a614c)(*param_1,PTR_UINT_000a6194 + 0x574);\n  return 3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (*(int *)(*(int *)(*param_1 + 0x154) + 0x1c) != 0) {\n    iVar1 = FUN_00056678(param_1,PTR_UINT_000a6194 + 0x59c);\n    if (iVar1 == 0) {\n      param_1[0x13a] = 0xd;\n    }\n    return iVar1;\n  }" if (parenthesized_expression "(*(int *)(*(int *)(*param_1 + 0x154) + 0x1c) != 0)" ( (binary_expression "*(int *)(*(int *)(*param_1 + 0x154) + 0x1c) != 0" (pointer_expression "*(int *)(*(int *)(*param_1 + 0x154) + 0x1c)" * (cast_expression "(int *)(*(int *)(*param_1 + 0x154) + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*param_1 + 0x154) + 0x1c)" ( (binary_expression "*(int *)(*param_1 + 0x154) + 0x1c" (pointer_expression "*(int *)(*param_1 + 0x154)" * (cast_expression "(int *)(*param_1 + 0x154)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x154)" ( (binary_expression "*param_1 + 0x154" (pointer_expression "*param_1" * identifier) + number_literal) )))) + number_literal) )))) != number_literal) )) (compound_statement "{\n    iVar1 = FUN_00056678(param_1,PTR_UINT_000a6194 + 0x59c);\n    if (iVar1 == 0) {\n      param_1[0x13a] = 0xd;\n    }\n    return iVar1;\n  }" { (expression_statement "iVar1 = FUN_00056678(param_1,PTR_UINT_000a6194 + 0x59c);" (assignment_expression "iVar1 = FUN_00056678(param_1,PTR_UINT_000a6194 + 0x59c)" identifier = (call_expression "FUN_00056678(param_1,PTR_UINT_000a6194 + 0x59c)" identifier (argument_list "(param_1,PTR_UINT_000a6194 + 0x59c)" ( identifier , (binary_expression "PTR_UINT_000a6194 + 0x59c" identifier + number_literal) )))) ;) (if_statement "if (iVar1 == 0) {\n      param_1[0x13a] = 0xd;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      param_1[0x13a] = 0xd;\n    }" { (expression_statement "param_1[0x13a] = 0xd;" (assignment_expression "param_1[0x13a] = 0xd" (subscript_expression "param_1[0x13a]" identifier [ number_literal ]) = number_literal) ;) })) (return_statement "return iVar1;" return identifier ;) })) (expression_statement "(*(code *)PTR_FUN_000a614c)(*param_1,PTR_UINT_000a6194 + 0x574);" (call_expression "(*(code *)PTR_FUN_000a614c)(*param_1,PTR_UINT_000a6194 + 0x574)" (parenthesized_expression "(*(code *)PTR_FUN_000a614c)" ( (pointer_expression "*(code *)PTR_FUN_000a614c" * (cast_expression "(code *)PTR_FUN_000a614c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_1,PTR_UINT_000a6194 + 0x574)" ( (pointer_expression "*param_1" * identifier) , (binary_expression "PTR_UINT_000a6194 + 0x574" identifier + number_literal) ))) ;) (return_statement "return 3;" return number_literal ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nCURLcode imap_perform_search(connectdata *conn)\n\n{\n  CURLcode CVar1;\n  \n  if (*(int *)((int)(conn->data->req).protop + 0x1c) != 0) {\n    CVar1 = imap_sendf(conn,PTR_UINT_000a6194 + 0x59c);\n    if (CVar1 == CURLE_OK) {\n      (conn->proto).sshc.readdir_totalLen = 0xd;\n    }\n    return CVar1;\n  }\n  (*(code *)PTR_Curl_failf_000a614c)(conn->data,PTR_UINT_000a6194 + 0x574);\n  return CURLE_URL_MALFORMAT;\n}\n\n" comment (function_definition "CURLcode imap_perform_search(connectdata *conn)\n\n{\n  CURLcode CVar1;\n  \n  if (*(int *)((int)(conn->data->req).protop + 0x1c) != 0) {\n    CVar1 = imap_sendf(conn,PTR_UINT_000a6194 + 0x59c);\n    if (CVar1 == CURLE_OK) {\n      (conn->proto).sshc.readdir_totalLen = 0xd;\n    }\n    return CVar1;\n  }\n  (*(code *)PTR_Curl_failf_000a614c)(conn->data,PTR_UINT_000a6194 + 0x574);\n  return CURLE_URL_MALFORMAT;\n}" type_identifier (function_declarator "imap_perform_search(connectdata *conn)" identifier (parameter_list "(connectdata *conn)" ( (parameter_declaration "connectdata *conn" type_identifier (pointer_declarator "*conn" * identifier)) ))) (compound_statement "{\n  CURLcode CVar1;\n  \n  if (*(int *)((int)(conn->data->req).protop + 0x1c) != 0) {\n    CVar1 = imap_sendf(conn,PTR_UINT_000a6194 + 0x59c);\n    if (CVar1 == CURLE_OK) {\n      (conn->proto).sshc.readdir_totalLen = 0xd;\n    }\n    return CVar1;\n  }\n  (*(code *)PTR_Curl_failf_000a614c)(conn->data,PTR_UINT_000a6194 + 0x574);\n  return CURLE_URL_MALFORMAT;\n}" { (declaration "CURLcode CVar1;" type_identifier identifier ;) (if_statement "if (*(int *)((int)(conn->data->req).protop + 0x1c) != 0) {\n    CVar1 = imap_sendf(conn,PTR_UINT_000a6194 + 0x59c);\n    if (CVar1 == CURLE_OK) {\n      (conn->proto).sshc.readdir_totalLen = 0xd;\n    }\n    return CVar1;\n  }" if (parenthesized_expression "(*(int *)((int)(conn->data->req).protop + 0x1c) != 0)" ( (binary_expression "*(int *)((int)(conn->data->req).protop + 0x1c) != 0" (pointer_expression "*(int *)((int)(conn->data->req).protop + 0x1c)" * (cast_expression "(int *)((int)(conn->data->req).protop + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)(conn->data->req).protop + 0x1c)" ( (binary_expression "(int)(conn->data->req).protop + 0x1c" (cast_expression "(int)(conn->data->req).protop" ( (type_descriptor "int" primitive_type) ) (field_expression "(conn->data->req).protop" (parenthesized_expression "(conn->data->req)" ( (field_expression "conn->data->req" (field_expression "conn->data" identifier -> field_identifier) -> field_identifier) )) . field_identifier)) + number_literal) )))) != number_literal) )) (compound_statement "{\n    CVar1 = imap_sendf(conn,PTR_UINT_000a6194 + 0x59c);\n    if (CVar1 == CURLE_OK) {\n      (conn->proto).sshc.readdir_totalLen = 0xd;\n    }\n    return CVar1;\n  }" { (expression_statement "CVar1 = imap_sendf(conn,PTR_UINT_000a6194 + 0x59c);" (assignment_expression "CVar1 = imap_sendf(conn,PTR_UINT_000a6194 + 0x59c)" identifier = (call_expression "imap_sendf(conn,PTR_UINT_000a6194 + 0x59c)" identifier (argument_list "(conn,PTR_UINT_000a6194 + 0x59c)" ( identifier , (binary_expression "PTR_UINT_000a6194 + 0x59c" identifier + number_literal) )))) ;) (if_statement "if (CVar1 == CURLE_OK) {\n      (conn->proto).sshc.readdir_totalLen = 0xd;\n    }" if (parenthesized_expression "(CVar1 == CURLE_OK)" ( (binary_expression "CVar1 == CURLE_OK" identifier == identifier) )) (compound_statement "{\n      (conn->proto).sshc.readdir_totalLen = 0xd;\n    }" { (expression_statement "(conn->proto).sshc.readdir_totalLen = 0xd;" (assignment_expression "(conn->proto).sshc.readdir_totalLen = 0xd" (field_expression "(conn->proto).sshc.readdir_totalLen" (field_expression "(conn->proto).sshc" (parenthesized_expression "(conn->proto)" ( (field_expression "conn->proto" identifier -> field_identifier) )) . field_identifier) . field_identifier) = number_literal) ;) })) (return_statement "return CVar1;" return identifier ;) })) (expression_statement "(*(code *)PTR_Curl_failf_000a614c)(conn->data,PTR_UINT_000a6194 + 0x574);" (call_expression "(*(code *)PTR_Curl_failf_000a614c)(conn->data,PTR_UINT_000a6194 + 0x574)" (parenthesized_expression "(*(code *)PTR_Curl_failf_000a614c)" ( (pointer_expression "*(code *)PTR_Curl_failf_000a614c" * (cast_expression "(code *)PTR_Curl_failf_000a614c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(conn->data,PTR_UINT_000a6194 + 0x574)" ( (field_expression "conn->data" identifier -> field_identifier) , (binary_expression "PTR_UINT_000a6194 + 0x574" identifier + number_literal) ))) ;) (return_statement "return CURLE_URL_MALFORMAT;" return identifier ;) })))
(translation_unit "int FUN_00057020(int *param_1)\n\n{\n  int iVar1;\n  \n  if (*(int *)(*(int *)(*param_1 + 0x154) + 0x1c) != 0) {\n    iVar1 = FUN_00056678(param_1,PTR_UINT_000a6194 + 0x59c);\n    if (iVar1 == 0) {\n      param_1[0x13a] = 0xd;\n    }\n    return iVar1;\n  }\n  (*(code *)PTR_FUN_000a614c)(*param_1,PTR_UINT_000a6194 + 0x574);\n  return 3;\n}\n\n" (function_definition "int FUN_00057020(int *param_1)\n\n{\n  int iVar1;\n  \n  if (*(int *)(*(int *)(*param_1 + 0x154) + 0x1c) != 0) {\n    iVar1 = FUN_00056678(param_1,PTR_UINT_000a6194 + 0x59c);\n    if (iVar1 == 0) {\n      param_1[0x13a] = 0xd;\n    }\n    return iVar1;\n  }\n  (*(code *)PTR_FUN_000a614c)(*param_1,PTR_UINT_000a6194 + 0x574);\n  return 3;\n}" primitive_type (function_declarator "FUN_00057020(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if (*(int *)(*(int *)(*param_1 + 0x154) + 0x1c) != 0) {\n    iVar1 = FUN_00056678(param_1,PTR_UINT_000a6194 + 0x59c);\n    if (iVar1 == 0) {\n      param_1[0x13a] = 0xd;\n    }\n    return iVar1;\n  }\n  (*(code *)PTR_FUN_000a614c)(*param_1,PTR_UINT_000a6194 + 0x574);\n  return 3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (*(int *)(*(int *)(*param_1 + 0x154) + 0x1c) != 0) {\n    iVar1 = FUN_00056678(param_1,PTR_UINT_000a6194 + 0x59c);\n    if (iVar1 == 0) {\n      param_1[0x13a] = 0xd;\n    }\n    return iVar1;\n  }" if (parenthesized_expression "(*(int *)(*(int *)(*param_1 + 0x154) + 0x1c) != 0)" ( (binary_expression "*(int *)(*(int *)(*param_1 + 0x154) + 0x1c) != 0" (pointer_expression "*(int *)(*(int *)(*param_1 + 0x154) + 0x1c)" * (cast_expression "(int *)(*(int *)(*param_1 + 0x154) + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*param_1 + 0x154) + 0x1c)" ( (binary_expression "*(int *)(*param_1 + 0x154) + 0x1c" (pointer_expression "*(int *)(*param_1 + 0x154)" * (cast_expression "(int *)(*param_1 + 0x154)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x154)" ( (binary_expression "*param_1 + 0x154" (pointer_expression "*param_1" * identifier) + number_literal) )))) + number_literal) )))) != number_literal) )) (compound_statement "{\n    iVar1 = FUN_00056678(param_1,PTR_UINT_000a6194 + 0x59c);\n    if (iVar1 == 0) {\n      param_1[0x13a] = 0xd;\n    }\n    return iVar1;\n  }" { (expression_statement "iVar1 = FUN_00056678(param_1,PTR_UINT_000a6194 + 0x59c);" (assignment_expression "iVar1 = FUN_00056678(param_1,PTR_UINT_000a6194 + 0x59c)" identifier = (call_expression "FUN_00056678(param_1,PTR_UINT_000a6194 + 0x59c)" identifier (argument_list "(param_1,PTR_UINT_000a6194 + 0x59c)" ( identifier , (binary_expression "PTR_UINT_000a6194 + 0x59c" identifier + number_literal) )))) ;) (if_statement "if (iVar1 == 0) {\n      param_1[0x13a] = 0xd;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      param_1[0x13a] = 0xd;\n    }" { (expression_statement "param_1[0x13a] = 0xd;" (assignment_expression "param_1[0x13a] = 0xd" (subscript_expression "param_1[0x13a]" identifier [ number_literal ]) = number_literal) ;) })) (return_statement "return iVar1;" return identifier ;) })) (expression_statement "(*(code *)PTR_FUN_000a614c)(*param_1,PTR_UINT_000a6194 + 0x574);" (call_expression "(*(code *)PTR_FUN_000a614c)(*param_1,PTR_UINT_000a6194 + 0x574)" (parenthesized_expression "(*(code *)PTR_FUN_000a614c)" ( (pointer_expression "*(code *)PTR_FUN_000a614c" * (cast_expression "(code *)PTR_FUN_000a614c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_1,PTR_UINT_000a6194 + 0x574)" ( (pointer_expression "*param_1" * identifier) , (binary_expression "PTR_UINT_000a6194 + 0x574" identifier + number_literal) ))) ;) (return_statement "return 3;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) })) (return_statement return IDENT ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * IDENT) , (binary_expression IDENT + LIT) ))) ;) (return_statement return LIT ;) })))
(function_definition "int FUN_00057020(int *param_1)\n\n{\n  int iVar1;\n  \n  if (*(int *)(*(int *)(*param_1 + 0x154) + 0x1c) != 0) {\n    iVar1 = FUN_00056678(param_1,PTR_UINT_000a6194 + 0x59c);\n    if (iVar1 == 0) {\n      param_1[0x13a] = 0xd;\n    }\n    return iVar1;\n  }\n  (*(code *)PTR_FUN_000a614c)(*param_1,PTR_UINT_000a6194 + 0x574);\n  return 3;\n}" (primitive_type "int") (function_declarator "FUN_00057020(int *param_1)" (identifier "FUN_00057020") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  if (*(int *)(*(int *)(*param_1 + 0x154) + 0x1c) != 0) {\n    iVar1 = FUN_00056678(param_1,PTR_UINT_000a6194 + 0x59c);\n    if (iVar1 == 0) {\n      param_1[0x13a] = 0xd;\n    }\n    return iVar1;\n  }\n  (*(code *)PTR_FUN_000a614c)(*param_1,PTR_UINT_000a6194 + 0x574);\n  return 3;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if (*(int *)(*(int *)(*param_1 + 0x154) + 0x1c) != 0) {\n    iVar1 = FUN_00056678(param_1,PTR_UINT_000a6194 + 0x59c);\n    if (iVar1 == 0) {\n      param_1[0x13a] = 0xd;\n    }\n    return iVar1;\n  }" (if "if") (parenthesized_expression "(*(int *)(*(int *)(*param_1 + 0x154) + 0x1c) != 0)" (( "(") (binary_expression "*(int *)(*(int *)(*param_1 + 0x154) + 0x1c) != 0" (pointer_expression "*(int *)(*(int *)(*param_1 + 0x154) + 0x1c)" (* "*") (cast_expression "(int *)(*(int *)(*param_1 + 0x154) + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(*param_1 + 0x154) + 0x1c)" (( "(") (binary_expression "*(int *)(*param_1 + 0x154) + 0x1c" (pointer_expression "*(int *)(*param_1 + 0x154)" (* "*") (cast_expression "(int *)(*param_1 + 0x154)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x154)" (( "(") (binary_expression "*param_1 + 0x154" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x154")) () ")")))) (+ "+") (number_literal "0x1c")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = FUN_00056678(param_1,PTR_UINT_000a6194 + 0x59c);\n    if (iVar1 == 0) {\n      param_1[0x13a] = 0xd;\n    }\n    return iVar1;\n  }" ({ "{") (expression_statement "iVar1 = FUN_00056678(param_1,PTR_UINT_000a6194 + 0x59c);" (assignment_expression "iVar1 = FUN_00056678(param_1,PTR_UINT_000a6194 + 0x59c)" (identifier "iVar1") (= "=") (call_expression "FUN_00056678(param_1,PTR_UINT_000a6194 + 0x59c)" (identifier "FUN_00056678") (argument_list "(param_1,PTR_UINT_000a6194 + 0x59c)" (( "(") (identifier "param_1") (, ",") (binary_expression "PTR_UINT_000a6194 + 0x59c" (identifier "PTR_UINT_000a6194") (+ "+") (number_literal "0x59c")) () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n      param_1[0x13a] = 0xd;\n    }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      param_1[0x13a] = 0xd;\n    }" ({ "{") (expression_statement "param_1[0x13a] = 0xd;" (assignment_expression "param_1[0x13a] = 0xd" (subscript_expression "param_1[0x13a]" (identifier "param_1") ([ "[") (number_literal "0x13a") (] "]")) (= "=") (number_literal "0xd")) (; ";")) (} "}"))) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_FUN_000a614c)(*param_1,PTR_UINT_000a6194 + 0x574);" (call_expression "(*(code *)PTR_FUN_000a614c)(*param_1,PTR_UINT_000a6194 + 0x574)" (parenthesized_expression "(*(code *)PTR_FUN_000a614c)" (( "(") (pointer_expression "*(code *)PTR_FUN_000a614c" (* "*") (cast_expression "(code *)PTR_FUN_000a614c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_000a614c"))) () ")")) (argument_list "(*param_1,PTR_UINT_000a6194 + 0x574)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (binary_expression "PTR_UINT_000a6194 + 0x574" (identifier "PTR_UINT_000a6194") (+ "+") (number_literal "0x574")) () ")"))) (; ";")) (return_statement "return 3;" (return "return") (number_literal "3") (; ";")) (} "}")))

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

type_1 function_1(type_2 *conn)

{
  type_1 var_3;
  
  if (*(int *)((int)(conn->data->req).protop + 0x1c) != 0) {
    var_3 = var_1(conn,var_2 + 0x59c);
    if (var_3 == var_4) {
      (conn->proto).sshc.readdir_totalLen = 0xd;
    }
    return var_3;
  }
  (*(type_3 *)PTR_Curl_failf_000a614c)(conn->data,var_2 + 0x574);
  return CURLE_URL_MALFORMAT;
}


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

int MASKED(int *param_1)

{
  int iVar1;
  
  if (*(int *)(*(int *)(*param_1 + 0x154) + 0x1c) != 0) {
    iVar1 = FUN_00056678(param_1,PTR_UINT_000a6194 + 0x59c);
    if (iVar1 == 0) {
      param_1[0x13a] = 0xd;
    }
    return iVar1;
  }
  (*(code *)PTR_FUN_000a614c)(*param_1,PTR_UINT_000a6194 + 0x574);
  return 3;
}

