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

CURLcode error_unencode_write(connectdata *conn,contenc_writer *writer,char *buf,size_t nbytes)

{
  char *pcVar1;
  
  pcVar1 = Curl_all_content_encodings();
  if (pcVar1 != (char *)0x0) {
    (*(code *)PTR_Curl_failf_000a614c)(conn->data,PTR_UINT_000a6194 + -0x3108,pcVar1);
    (**(code **)PTR_Curl_cfree_000a6144)(pcVar1);
    return CURLE_BAD_CONTENT_ENCODING;
  }
  return CURLE_OUT_OF_MEMORY;
}



undefined4 FUN_00048c70(undefined4 *param_1)

{
  int iVar1;
  
  iVar1 = FUN_00048ad4();
  if (iVar1 != 0) {
    (*(code *)PTR_FUN_000a614c)(*param_1,PTR_UINT_000a6194 + -0x3108,iVar1);
    (**(code **)PTR_PTR_free_000a6144)(iVar1);
    return 0x3d;
  }
  return 0x1b;
}


lui gp,0x6
addiu gp,gp,0x54a0
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x7a3c(gp)
sw gp,0x10(sp)
sw s1,0x20(sp)
or s1,a0,zero
sw ra,0x24(sp)
bal 0x00048ad4
_sw s0,0x1c(sp)
beq v0,zero,0x00048cec
_lw gp,0x10(sp)
lw a1,-0x7f7c(gp)
or a2,v0,zero
lw t9,-0x7fc4(gp)
or s0,v0,zero
lw a0,0x0(s1)
jalr t9
_addiu a1,a1,-0x3108
lw gp,0x10(sp)
lw v0,-0x7fcc(gp)
lw t9,0x0(v0)
jalr t9
_or a0,s0,zero
li v0,0x3d
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
lw ra,0x24(sp)
li v0,0x1b
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "undefined4 FUN_00048c70(undefined4 *param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00048ad4();\n  if (iVar1 != 0) {\n    (*(code *)PTR_FUN_000a614c)(*param_1,PTR_UINT_000a6194 + -0x3108,iVar1);\n    (**(code **)PTR_PTR_free_000a6144)(iVar1);\n    return 0x3d;\n  }\n  return 0x1b;\n}\n\n" (function_definition "undefined4 FUN_00048c70(undefined4 *param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00048ad4();\n  if (iVar1 != 0) {\n    (*(code *)PTR_FUN_000a614c)(*param_1,PTR_UINT_000a6194 + -0x3108,iVar1);\n    (**(code **)PTR_PTR_free_000a6144)(iVar1);\n    return 0x3d;\n  }\n  return 0x1b;\n}" type_identifier (function_declarator "FUN_00048c70(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00048ad4();\n  if (iVar1 != 0) {\n    (*(code *)PTR_FUN_000a614c)(*param_1,PTR_UINT_000a6194 + -0x3108,iVar1);\n    (**(code **)PTR_PTR_free_000a6144)(iVar1);\n    return 0x3d;\n  }\n  return 0x1b;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_00048ad4();" (assignment_expression "iVar1 = FUN_00048ad4()" identifier = (call_expression "FUN_00048ad4()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0) {\n    (*(code *)PTR_FUN_000a614c)(*param_1,PTR_UINT_000a6194 + -0x3108,iVar1);\n    (**(code **)PTR_PTR_free_000a6144)(iVar1);\n    return 0x3d;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    (*(code *)PTR_FUN_000a614c)(*param_1,PTR_UINT_000a6194 + -0x3108,iVar1);\n    (**(code **)PTR_PTR_free_000a6144)(iVar1);\n    return 0x3d;\n  }" { (expression_statement "(*(code *)PTR_FUN_000a614c)(*param_1,PTR_UINT_000a6194 + -0x3108,iVar1);" (call_expression "(*(code *)PTR_FUN_000a614c)(*param_1,PTR_UINT_000a6194 + -0x3108,iVar1)" (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 + -0x3108,iVar1)" ( (pointer_expression "*param_1" * identifier) , (binary_expression "PTR_UINT_000a6194 + -0x3108" identifier + number_literal) , identifier ))) ;) (expression_statement "(**(code **)PTR_PTR_free_000a6144)(iVar1);" (call_expression "(**(code **)PTR_PTR_free_000a6144)(iVar1)" (parenthesized_expression "(**(code **)PTR_PTR_free_000a6144)" ( (pointer_expression "**(code **)PTR_PTR_free_000a6144" * (pointer_expression "*(code **)PTR_PTR_free_000a6144" * (cast_expression "(code **)PTR_PTR_free_000a6144" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(iVar1)" ( identifier ))) ;) (return_statement "return 0x3d;" return number_literal ;) })) (return_statement "return 0x1b;" return number_literal ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nCURLcode error_unencode_write(connectdata *conn,contenc_writer *writer,char *buf,size_t nbytes)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = Curl_all_content_encodings();\n  if (pcVar1 != (char *)0x0) {\n    (*(code *)PTR_Curl_failf_000a614c)(conn->data,PTR_UINT_000a6194 + -0x3108,pcVar1);\n    (**(code **)PTR_Curl_cfree_000a6144)(pcVar1);\n    return CURLE_BAD_CONTENT_ENCODING;\n  }\n  return CURLE_OUT_OF_MEMORY;\n}\n\n" comment (function_definition "CURLcode error_unencode_write(connectdata *conn,contenc_writer *writer,char *buf,size_t nbytes)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = Curl_all_content_encodings();\n  if (pcVar1 != (char *)0x0) {\n    (*(code *)PTR_Curl_failf_000a614c)(conn->data,PTR_UINT_000a6194 + -0x3108,pcVar1);\n    (**(code **)PTR_Curl_cfree_000a6144)(pcVar1);\n    return CURLE_BAD_CONTENT_ENCODING;\n  }\n  return CURLE_OUT_OF_MEMORY;\n}" type_identifier (function_declarator "error_unencode_write(connectdata *conn,contenc_writer *writer,char *buf,size_t nbytes)" identifier (parameter_list "(connectdata *conn,contenc_writer *writer,char *buf,size_t nbytes)" ( (parameter_declaration "connectdata *conn" type_identifier (pointer_declarator "*conn" * identifier)) , (parameter_declaration "contenc_writer *writer" type_identifier (pointer_declarator "*writer" * identifier)) , (parameter_declaration "char *buf" primitive_type (pointer_declarator "*buf" * identifier)) , (parameter_declaration "size_t nbytes" primitive_type identifier) ))) (compound_statement "{\n  char *pcVar1;\n  \n  pcVar1 = Curl_all_content_encodings();\n  if (pcVar1 != (char *)0x0) {\n    (*(code *)PTR_Curl_failf_000a614c)(conn->data,PTR_UINT_000a6194 + -0x3108,pcVar1);\n    (**(code **)PTR_Curl_cfree_000a6144)(pcVar1);\n    return CURLE_BAD_CONTENT_ENCODING;\n  }\n  return CURLE_OUT_OF_MEMORY;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "pcVar1 = Curl_all_content_encodings();" (assignment_expression "pcVar1 = Curl_all_content_encodings()" identifier = (call_expression "Curl_all_content_encodings()" identifier (argument_list "()" ( )))) ;) (if_statement "if (pcVar1 != (char *)0x0) {\n    (*(code *)PTR_Curl_failf_000a614c)(conn->data,PTR_UINT_000a6194 + -0x3108,pcVar1);\n    (**(code **)PTR_Curl_cfree_000a6144)(pcVar1);\n    return CURLE_BAD_CONTENT_ENCODING;\n  }" if (parenthesized_expression "(pcVar1 != (char *)0x0)" ( (binary_expression "pcVar1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*(code *)PTR_Curl_failf_000a614c)(conn->data,PTR_UINT_000a6194 + -0x3108,pcVar1);\n    (**(code **)PTR_Curl_cfree_000a6144)(pcVar1);\n    return CURLE_BAD_CONTENT_ENCODING;\n  }" { (expression_statement "(*(code *)PTR_Curl_failf_000a614c)(conn->data,PTR_UINT_000a6194 + -0x3108,pcVar1);" (call_expression "(*(code *)PTR_Curl_failf_000a614c)(conn->data,PTR_UINT_000a6194 + -0x3108,pcVar1)" (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 + -0x3108,pcVar1)" ( (field_expression "conn->data" identifier -> field_identifier) , (binary_expression "PTR_UINT_000a6194 + -0x3108" identifier + number_literal) , identifier ))) ;) (expression_statement "(**(code **)PTR_Curl_cfree_000a6144)(pcVar1);" (call_expression "(**(code **)PTR_Curl_cfree_000a6144)(pcVar1)" (parenthesized_expression "(**(code **)PTR_Curl_cfree_000a6144)" ( (pointer_expression "**(code **)PTR_Curl_cfree_000a6144" * (pointer_expression "*(code **)PTR_Curl_cfree_000a6144" * (cast_expression "(code **)PTR_Curl_cfree_000a6144" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(pcVar1)" ( identifier ))) ;) (return_statement "return CURLE_BAD_CONTENT_ENCODING;" return identifier ;) })) (return_statement "return CURLE_OUT_OF_MEMORY;" return identifier ;) })))
(translation_unit "undefined4 FUN_00048c70(undefined4 *param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00048ad4();\n  if (iVar1 != 0) {\n    (*(code *)PTR_FUN_000a614c)(*param_1,PTR_UINT_000a6194 + -0x3108,iVar1);\n    (**(code **)PTR_PTR_free_000a6144)(iVar1);\n    return 0x3d;\n  }\n  return 0x1b;\n}\n\n" (function_definition "undefined4 FUN_00048c70(undefined4 *param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00048ad4();\n  if (iVar1 != 0) {\n    (*(code *)PTR_FUN_000a614c)(*param_1,PTR_UINT_000a6194 + -0x3108,iVar1);\n    (**(code **)PTR_PTR_free_000a6144)(iVar1);\n    return 0x3d;\n  }\n  return 0x1b;\n}" type_identifier (function_declarator "FUN_00048c70(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00048ad4();\n  if (iVar1 != 0) {\n    (*(code *)PTR_FUN_000a614c)(*param_1,PTR_UINT_000a6194 + -0x3108,iVar1);\n    (**(code **)PTR_PTR_free_000a6144)(iVar1);\n    return 0x3d;\n  }\n  return 0x1b;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_00048ad4();" (assignment_expression "iVar1 = FUN_00048ad4()" identifier = (call_expression "FUN_00048ad4()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0) {\n    (*(code *)PTR_FUN_000a614c)(*param_1,PTR_UINT_000a6194 + -0x3108,iVar1);\n    (**(code **)PTR_PTR_free_000a6144)(iVar1);\n    return 0x3d;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    (*(code *)PTR_FUN_000a614c)(*param_1,PTR_UINT_000a6194 + -0x3108,iVar1);\n    (**(code **)PTR_PTR_free_000a6144)(iVar1);\n    return 0x3d;\n  }" { (expression_statement "(*(code *)PTR_FUN_000a614c)(*param_1,PTR_UINT_000a6194 + -0x3108,iVar1);" (call_expression "(*(code *)PTR_FUN_000a614c)(*param_1,PTR_UINT_000a6194 + -0x3108,iVar1)" (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 + -0x3108,iVar1)" ( (pointer_expression "*param_1" * identifier) , (binary_expression "PTR_UINT_000a6194 + -0x3108" identifier + number_literal) , identifier ))) ;) (expression_statement "(**(code **)PTR_PTR_free_000a6144)(iVar1);" (call_expression "(**(code **)PTR_PTR_free_000a6144)(iVar1)" (parenthesized_expression "(**(code **)PTR_PTR_free_000a6144)" ( (pointer_expression "**(code **)PTR_PTR_free_000a6144" * (pointer_expression "*(code **)PTR_PTR_free_000a6144" * (cast_expression "(code **)PTR_PTR_free_000a6144" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(iVar1)" ( identifier ))) ;) (return_statement "return 0x3d;" return number_literal ;) })) (return_statement "return 0x1b;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (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) , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (argument_list ( IDENT ))) ;) (return_statement return LIT ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_00048c70(undefined4 *param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00048ad4();\n  if (iVar1 != 0) {\n    (*(code *)PTR_FUN_000a614c)(*param_1,PTR_UINT_000a6194 + -0x3108,iVar1);\n    (**(code **)PTR_PTR_free_000a6144)(iVar1);\n    return 0x3d;\n  }\n  return 0x1b;\n}" (type_identifier "undefined4") (function_declarator "FUN_00048c70(undefined4 *param_1)" (identifier "FUN_00048c70") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00048ad4();\n  if (iVar1 != 0) {\n    (*(code *)PTR_FUN_000a614c)(*param_1,PTR_UINT_000a6194 + -0x3108,iVar1);\n    (**(code **)PTR_PTR_free_000a6144)(iVar1);\n    return 0x3d;\n  }\n  return 0x1b;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = FUN_00048ad4();" (assignment_expression "iVar1 = FUN_00048ad4()" (identifier "iVar1") (= "=") (call_expression "FUN_00048ad4()" (identifier "FUN_00048ad4") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    (*(code *)PTR_FUN_000a614c)(*param_1,PTR_UINT_000a6194 + -0x3108,iVar1);\n    (**(code **)PTR_PTR_free_000a6144)(iVar1);\n    return 0x3d;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)PTR_FUN_000a614c)(*param_1,PTR_UINT_000a6194 + -0x3108,iVar1);\n    (**(code **)PTR_PTR_free_000a6144)(iVar1);\n    return 0x3d;\n  }" ({ "{") (expression_statement "(*(code *)PTR_FUN_000a614c)(*param_1,PTR_UINT_000a6194 + -0x3108,iVar1);" (call_expression "(*(code *)PTR_FUN_000a614c)(*param_1,PTR_UINT_000a6194 + -0x3108,iVar1)" (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 + -0x3108,iVar1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (binary_expression "PTR_UINT_000a6194 + -0x3108" (identifier "PTR_UINT_000a6194") (+ "+") (number_literal "-0x3108")) (, ",") (identifier "iVar1") () ")"))) (; ";")) (expression_statement "(**(code **)PTR_PTR_free_000a6144)(iVar1);" (call_expression "(**(code **)PTR_PTR_free_000a6144)(iVar1)" (parenthesized_expression "(**(code **)PTR_PTR_free_000a6144)" (( "(") (pointer_expression "**(code **)PTR_PTR_free_000a6144" (* "*") (pointer_expression "*(code **)PTR_PTR_free_000a6144" (* "*") (cast_expression "(code **)PTR_PTR_free_000a6144" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_PTR_free_000a6144")))) () ")")) (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (return_statement "return 0x3d;" (return "return") (number_literal "0x3d") (; ";")) (} "}"))) (return_statement "return 0x1b;" (return "return") (number_literal "0x1b") (; ";")) (} "}")))

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

type_1 function_1(type_2 *conn,type_3 *writer,char *buf,size_t nbytes)

{
  char *var_2;
  
  var_2 = var_1();
  if (var_2 != (char *)0x0) {
    (*(type_4 *)PTR_Curl_failf_000a614c)(conn->data,var_3 + -0x3108,var_2);
    (**(type_4 **)PTR_Curl_cfree_000a6144)(var_2);
    return CURLE_BAD_CONTENT_ENCODING;
  }
  return CURLE_OUT_OF_MEMORY;
}


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

undefined4 MASKED(undefined4 *param_1)

{
  int iVar1;
  
  iVar1 = FUN_00048ad4();
  if (iVar1 != 0) {
    (*(code *)PTR_FUN_000a614c)(*param_1,PTR_UINT_000a6194 + -0x3108,iVar1);
    (**(code **)PTR_PTR_free_000a6144)(iVar1);
    return 0x3d;
  }
  return 0x1b;
}

