
char * Curl_auth_build_spn(char *service,char *host,char *realm)

{
  char *pcVar1;
  
  if (host == (char *)0x0) {
    if (realm == (char *)0x0) {
      pcVar1 = (char *)0x0;
    }
    else {
      pcVar1 = (char *)(*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,service);
    }
  }
  else if (realm == (char *)0x0) {
    pcVar1 = (char *)(*(code *)PTR_curl_maprintf_000b1d54)
                               (PTR_DAT_000b1184 + -0x2844,service,host,0);
  }
  else {
    pcVar1 = (char *)(*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,service,host);
  }
  return pcVar1;
}



undefined4 FUN_00081a70(undefined4 param_1,int param_2,int param_3)

{
  undefined4 uVar1;
  
  if (param_2 == 0) {
    if (param_3 == 0) {
      uVar1 = 0;
    }
    else {
      uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,param_1);
    }
  }
  else if (param_3 == 0) {
    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2844,param_1,param_2,0);
  }
  else {
    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,param_1,param_2);
  }
  return uVar1;
}


lui gp,0x3
addiu gp,gp,0x76a0
addu gp,gp,t9
addiu sp,sp,-0x20
sw ra,0x1c(sp)
sw gp,0x10(sp)
beq a1,zero,0x00081aec
_nop
beq a2,zero,0x00081ac4
_or a3,a2,zero
or a2,a1,zero
or a1,a0,zero
lw a0,-0x7f8c(gp)
addiu a0,a0,-0x2850
lw t9,-0x73bc(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw ra,0x1c(sp)
jr ra
_addiu sp,sp,0x20
or a2,a1,zero
or a1,a0,zero
lw a0,-0x7f8c(gp)
addiu a0,a0,-0x2844
lw t9,-0x73bc(gp)
jalr t9
_nop
lw gp,0x10(sp)
b 0x00081abc
_lw ra,0x1c(sp)
beq a2,zero,0x00081b14
_or a1,a0,zero
lw a0,-0x7fd4(gp)
addiu a0,a0,0x7044
lw t9,-0x73bc(gp)
jalr t9
_nop
lw gp,0x10(sp)
b 0x00081abc
_lw ra,0x1c(sp)
b 0x00081ab8
_or v0,a2,zero
(translation_unit "undefined4 FUN_00081a70(undefined4 param_1,int param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  \n  if (param_2 == 0) {\n    if (param_3 == 0) {\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,param_1);\n    }\n  }\n  else if (param_3 == 0) {\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2844,param_1,param_2,0);\n  }\n  else {\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,param_1,param_2);\n  }\n  return uVar1;\n}\n\n" (function_definition "undefined4 FUN_00081a70(undefined4 param_1,int param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  \n  if (param_2 == 0) {\n    if (param_3 == 0) {\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,param_1);\n    }\n  }\n  else if (param_3 == 0) {\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2844,param_1,param_2,0);\n  }\n  else {\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,param_1,param_2);\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_00081a70(undefined4 param_1,int param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_2 == 0) {\n    if (param_3 == 0) {\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,param_1);\n    }\n  }\n  else if (param_3 == 0) {\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2844,param_1,param_2,0);\n  }\n  else {\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,param_1,param_2);\n  }\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (param_2 == 0) {\n    if (param_3 == 0) {\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,param_1);\n    }\n  }\n  else if (param_3 == 0) {\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2844,param_1,param_2,0);\n  }\n  else {\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,param_1,param_2);\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    if (param_3 == 0) {\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,param_1);\n    }\n  }" { (if_statement "if (param_3 == 0) {\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,param_1);\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar1 = 0;\n    }" { (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,param_1);\n    }" else (compound_statement "{\n      uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,param_1);\n    }" { (expression_statement "uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,param_1);" (assignment_expression "uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,param_1)" identifier = (call_expression "(*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,param_1)" (parenthesized_expression "(*(code *)PTR_curl_maprintf_000b1d54)" ( (pointer_expression "*(code *)PTR_curl_maprintf_000b1d54" * (cast_expression "(code *)PTR_curl_maprintf_000b1d54" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_000b113c + 0x7044,param_1)" ( (binary_expression "PTR_LAB_000b113c + 0x7044" identifier + number_literal) , identifier )))) ;) }))) }) (else_clause "else if (param_3 == 0) {\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2844,param_1,param_2,0);\n  }\n  else {\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,param_1,param_2);\n  }" else (if_statement "if (param_3 == 0) {\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2844,param_1,param_2,0);\n  }\n  else {\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,param_1,param_2);\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2844,param_1,param_2,0);\n  }" { (expression_statement "uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2844,param_1,param_2,0);" (assignment_expression "uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2844,param_1,param_2,0)" identifier = (call_expression "(*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2844,param_1,param_2,0)" (parenthesized_expression "(*(code *)PTR_curl_maprintf_000b1d54)" ( (pointer_expression "*(code *)PTR_curl_maprintf_000b1d54" * (cast_expression "(code *)PTR_curl_maprintf_000b1d54" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_000b1184 + -0x2844,param_1,param_2,0)" ( (binary_expression "PTR_DAT_000b1184 + -0x2844" identifier + number_literal) , identifier , identifier , number_literal )))) ;) }) (else_clause "else {\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,param_1,param_2);\n  }" else (compound_statement "{\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,param_1,param_2);\n  }" { (expression_statement "uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,param_1,param_2);" (assignment_expression "uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,param_1,param_2)" identifier = (call_expression "(*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,param_1,param_2)" (parenthesized_expression "(*(code *)PTR_curl_maprintf_000b1d54)" ( (pointer_expression "*(code *)PTR_curl_maprintf_000b1d54" * (cast_expression "(code *)PTR_curl_maprintf_000b1d54" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_000b1184 + -0x2850,param_1,param_2)" ( (binary_expression "PTR_DAT_000b1184 + -0x2850" identifier + number_literal) , identifier , identifier )))) ;) }))))) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "char * Curl_auth_build_spn(char *service,char *host,char *realm)\n\n{\n  char *pcVar1;\n  \n  if (host == (char *)0x0) {\n    if (realm == (char *)0x0) {\n      pcVar1 = (char *)0x0;\n    }\n    else {\n      pcVar1 = (char *)(*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,service);\n    }\n  }\n  else if (realm == (char *)0x0) {\n    pcVar1 = (char *)(*(code *)PTR_curl_maprintf_000b1d54)\n                               (PTR_DAT_000b1184 + -0x2844,service,host,0);\n  }\n  else {\n    pcVar1 = (char *)(*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,service,host);\n  }\n  return pcVar1;\n}\n\n" (function_definition "char * Curl_auth_build_spn(char *service,char *host,char *realm)\n\n{\n  char *pcVar1;\n  \n  if (host == (char *)0x0) {\n    if (realm == (char *)0x0) {\n      pcVar1 = (char *)0x0;\n    }\n    else {\n      pcVar1 = (char *)(*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,service);\n    }\n  }\n  else if (realm == (char *)0x0) {\n    pcVar1 = (char *)(*(code *)PTR_curl_maprintf_000b1d54)\n                               (PTR_DAT_000b1184 + -0x2844,service,host,0);\n  }\n  else {\n    pcVar1 = (char *)(*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,service,host);\n  }\n  return pcVar1;\n}" primitive_type (pointer_declarator "* Curl_auth_build_spn(char *service,char *host,char *realm)" * (function_declarator "Curl_auth_build_spn(char *service,char *host,char *realm)" identifier (parameter_list "(char *service,char *host,char *realm)" ( (parameter_declaration "char *service" primitive_type (pointer_declarator "*service" * identifier)) , (parameter_declaration "char *host" primitive_type (pointer_declarator "*host" * identifier)) , (parameter_declaration "char *realm" primitive_type (pointer_declarator "*realm" * identifier)) )))) (compound_statement "{\n  char *pcVar1;\n  \n  if (host == (char *)0x0) {\n    if (realm == (char *)0x0) {\n      pcVar1 = (char *)0x0;\n    }\n    else {\n      pcVar1 = (char *)(*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,service);\n    }\n  }\n  else if (realm == (char *)0x0) {\n    pcVar1 = (char *)(*(code *)PTR_curl_maprintf_000b1d54)\n                               (PTR_DAT_000b1184 + -0x2844,service,host,0);\n  }\n  else {\n    pcVar1 = (char *)(*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,service,host);\n  }\n  return pcVar1;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (if_statement "if (host == (char *)0x0) {\n    if (realm == (char *)0x0) {\n      pcVar1 = (char *)0x0;\n    }\n    else {\n      pcVar1 = (char *)(*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,service);\n    }\n  }\n  else if (realm == (char *)0x0) {\n    pcVar1 = (char *)(*(code *)PTR_curl_maprintf_000b1d54)\n                               (PTR_DAT_000b1184 + -0x2844,service,host,0);\n  }\n  else {\n    pcVar1 = (char *)(*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,service,host);\n  }" if (parenthesized_expression "(host == (char *)0x0)" ( (binary_expression "host == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (realm == (char *)0x0) {\n      pcVar1 = (char *)0x0;\n    }\n    else {\n      pcVar1 = (char *)(*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,service);\n    }\n  }" { (if_statement "if (realm == (char *)0x0) {\n      pcVar1 = (char *)0x0;\n    }\n    else {\n      pcVar1 = (char *)(*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,service);\n    }" if (parenthesized_expression "(realm == (char *)0x0)" ( (binary_expression "realm == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pcVar1 = (char *)0x0;\n    }" { (expression_statement "pcVar1 = (char *)0x0;" (assignment_expression "pcVar1 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n      pcVar1 = (char *)(*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,service);\n    }" else (compound_statement "{\n      pcVar1 = (char *)(*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,service);\n    }" { (expression_statement "pcVar1 = (char *)(*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,service);" (assignment_expression "pcVar1 = (char *)(*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,service)" identifier = (cast_expression "(char *)(*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,service)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,service)" (parenthesized_expression "(*(code *)PTR_curl_maprintf_000b1d54)" ( (pointer_expression "*(code *)PTR_curl_maprintf_000b1d54" * (cast_expression "(code *)PTR_curl_maprintf_000b1d54" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_000b113c + 0x7044,service)" ( (binary_expression "PTR_LAB_000b113c + 0x7044" identifier + number_literal) , identifier ))))) ;) }))) }) (else_clause "else if (realm == (char *)0x0) {\n    pcVar1 = (char *)(*(code *)PTR_curl_maprintf_000b1d54)\n                               (PTR_DAT_000b1184 + -0x2844,service,host,0);\n  }\n  else {\n    pcVar1 = (char *)(*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,service,host);\n  }" else (if_statement "if (realm == (char *)0x0) {\n    pcVar1 = (char *)(*(code *)PTR_curl_maprintf_000b1d54)\n                               (PTR_DAT_000b1184 + -0x2844,service,host,0);\n  }\n  else {\n    pcVar1 = (char *)(*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,service,host);\n  }" if (parenthesized_expression "(realm == (char *)0x0)" ( (binary_expression "realm == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pcVar1 = (char *)(*(code *)PTR_curl_maprintf_000b1d54)\n                               (PTR_DAT_000b1184 + -0x2844,service,host,0);\n  }" { (expression_statement "pcVar1 = (char *)(*(code *)PTR_curl_maprintf_000b1d54)\n                               (PTR_DAT_000b1184 + -0x2844,service,host,0);" (assignment_expression "pcVar1 = (char *)(*(code *)PTR_curl_maprintf_000b1d54)\n                               (PTR_DAT_000b1184 + -0x2844,service,host,0)" identifier = (cast_expression "(char *)(*(code *)PTR_curl_maprintf_000b1d54)\n                               (PTR_DAT_000b1184 + -0x2844,service,host,0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_curl_maprintf_000b1d54)\n                               (PTR_DAT_000b1184 + -0x2844,service,host,0)" (parenthesized_expression "(*(code *)PTR_curl_maprintf_000b1d54)" ( (pointer_expression "*(code *)PTR_curl_maprintf_000b1d54" * (cast_expression "(code *)PTR_curl_maprintf_000b1d54" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_000b1184 + -0x2844,service,host,0)" ( (binary_expression "PTR_DAT_000b1184 + -0x2844" identifier + number_literal) , identifier , identifier , number_literal ))))) ;) }) (else_clause "else {\n    pcVar1 = (char *)(*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,service,host);\n  }" else (compound_statement "{\n    pcVar1 = (char *)(*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,service,host);\n  }" { (expression_statement "pcVar1 = (char *)(*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,service,host);" (assignment_expression "pcVar1 = (char *)(*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,service,host)" identifier = (cast_expression "(char *)(*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,service,host)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,service,host)" (parenthesized_expression "(*(code *)PTR_curl_maprintf_000b1d54)" ( (pointer_expression "*(code *)PTR_curl_maprintf_000b1d54" * (cast_expression "(code *)PTR_curl_maprintf_000b1d54" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_000b1184 + -0x2850,service,host)" ( (binary_expression "PTR_DAT_000b1184 + -0x2850" identifier + number_literal) , identifier , identifier ))))) ;) }))))) (return_statement "return pcVar1;" return identifier ;) })))
(translation_unit "undefined4 FUN_00081a70(undefined4 param_1,int param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  \n  if (param_2 == 0) {\n    if (param_3 == 0) {\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,param_1);\n    }\n  }\n  else if (param_3 == 0) {\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2844,param_1,param_2,0);\n  }\n  else {\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,param_1,param_2);\n  }\n  return uVar1;\n}\n\n" (function_definition "undefined4 FUN_00081a70(undefined4 param_1,int param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  \n  if (param_2 == 0) {\n    if (param_3 == 0) {\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,param_1);\n    }\n  }\n  else if (param_3 == 0) {\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2844,param_1,param_2,0);\n  }\n  else {\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,param_1,param_2);\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_00081a70(undefined4 param_1,int param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_2 == 0) {\n    if (param_3 == 0) {\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,param_1);\n    }\n  }\n  else if (param_3 == 0) {\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2844,param_1,param_2,0);\n  }\n  else {\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,param_1,param_2);\n  }\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (param_2 == 0) {\n    if (param_3 == 0) {\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,param_1);\n    }\n  }\n  else if (param_3 == 0) {\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2844,param_1,param_2,0);\n  }\n  else {\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,param_1,param_2);\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    if (param_3 == 0) {\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,param_1);\n    }\n  }" { (if_statement "if (param_3 == 0) {\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,param_1);\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar1 = 0;\n    }" { (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,param_1);\n    }" else (compound_statement "{\n      uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,param_1);\n    }" { (expression_statement "uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,param_1);" (assignment_expression "uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,param_1)" identifier = (call_expression "(*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,param_1)" (parenthesized_expression "(*(code *)PTR_curl_maprintf_000b1d54)" ( (pointer_expression "*(code *)PTR_curl_maprintf_000b1d54" * (cast_expression "(code *)PTR_curl_maprintf_000b1d54" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_000b113c + 0x7044,param_1)" ( (binary_expression "PTR_LAB_000b113c + 0x7044" identifier + number_literal) , identifier )))) ;) }))) }) (else_clause "else if (param_3 == 0) {\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2844,param_1,param_2,0);\n  }\n  else {\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,param_1,param_2);\n  }" else (if_statement "if (param_3 == 0) {\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2844,param_1,param_2,0);\n  }\n  else {\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,param_1,param_2);\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2844,param_1,param_2,0);\n  }" { (expression_statement "uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2844,param_1,param_2,0);" (assignment_expression "uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2844,param_1,param_2,0)" identifier = (call_expression "(*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2844,param_1,param_2,0)" (parenthesized_expression "(*(code *)PTR_curl_maprintf_000b1d54)" ( (pointer_expression "*(code *)PTR_curl_maprintf_000b1d54" * (cast_expression "(code *)PTR_curl_maprintf_000b1d54" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_000b1184 + -0x2844,param_1,param_2,0)" ( (binary_expression "PTR_DAT_000b1184 + -0x2844" identifier + number_literal) , identifier , identifier , number_literal )))) ;) }) (else_clause "else {\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,param_1,param_2);\n  }" else (compound_statement "{\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,param_1,param_2);\n  }" { (expression_statement "uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,param_1,param_2);" (assignment_expression "uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,param_1,param_2)" identifier = (call_expression "(*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,param_1,param_2)" (parenthesized_expression "(*(code *)PTR_curl_maprintf_000b1d54)" ( (pointer_expression "*(code *)PTR_curl_maprintf_000b1d54" * (cast_expression "(code *)PTR_curl_maprintf_000b1d54" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_000b1184 + -0x2850,param_1,param_2)" ( (binary_expression "PTR_DAT_000b1184 + -0x2850" identifier + number_literal) , identifier , identifier )))) ;) }))))) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT )))) ;) }))) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT , LIT )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT )))) ;) }))))) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_00081a70(undefined4 param_1,int param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  \n  if (param_2 == 0) {\n    if (param_3 == 0) {\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,param_1);\n    }\n  }\n  else if (param_3 == 0) {\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2844,param_1,param_2,0);\n  }\n  else {\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,param_1,param_2);\n  }\n  return uVar1;\n}" (type_identifier "undefined4") (function_declarator "FUN_00081a70(undefined4 param_1,int param_2,int param_3)" (identifier "FUN_00081a70") (parameter_list "(undefined4 param_1,int param_2,int param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_2 == 0) {\n    if (param_3 == 0) {\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,param_1);\n    }\n  }\n  else if (param_3 == 0) {\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2844,param_1,param_2,0);\n  }\n  else {\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,param_1,param_2);\n  }\n  return uVar1;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (if_statement "if (param_2 == 0) {\n    if (param_3 == 0) {\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,param_1);\n    }\n  }\n  else if (param_3 == 0) {\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2844,param_1,param_2,0);\n  }\n  else {\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,param_1,param_2);\n  }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (param_3 == 0) {\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,param_1);\n    }\n  }" ({ "{") (if_statement "if (param_3 == 0) {\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,param_1);\n    }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar1 = 0;\n    }" ({ "{") (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,param_1);\n    }" (else "else") (compound_statement "{\n      uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,param_1);\n    }" ({ "{") (expression_statement "uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,param_1);" (assignment_expression "uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,param_1)" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,param_1)" (parenthesized_expression "(*(code *)PTR_curl_maprintf_000b1d54)" (( "(") (pointer_expression "*(code *)PTR_curl_maprintf_000b1d54" (* "*") (cast_expression "(code *)PTR_curl_maprintf_000b1d54" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_curl_maprintf_000b1d54"))) () ")")) (argument_list "(PTR_LAB_000b113c + 0x7044,param_1)" (( "(") (binary_expression "PTR_LAB_000b113c + 0x7044" (identifier "PTR_LAB_000b113c") (+ "+") (number_literal "0x7044")) (, ",") (identifier "param_1") () ")")))) (; ";")) (} "}")))) (} "}")) (else_clause "else if (param_3 == 0) {\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2844,param_1,param_2,0);\n  }\n  else {\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,param_1,param_2);\n  }" (else "else") (if_statement "if (param_3 == 0) {\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2844,param_1,param_2,0);\n  }\n  else {\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,param_1,param_2);\n  }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2844,param_1,param_2,0);\n  }" ({ "{") (expression_statement "uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2844,param_1,param_2,0);" (assignment_expression "uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2844,param_1,param_2,0)" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2844,param_1,param_2,0)" (parenthesized_expression "(*(code *)PTR_curl_maprintf_000b1d54)" (( "(") (pointer_expression "*(code *)PTR_curl_maprintf_000b1d54" (* "*") (cast_expression "(code *)PTR_curl_maprintf_000b1d54" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_curl_maprintf_000b1d54"))) () ")")) (argument_list "(PTR_DAT_000b1184 + -0x2844,param_1,param_2,0)" (( "(") (binary_expression "PTR_DAT_000b1184 + -0x2844" (identifier "PTR_DAT_000b1184") (+ "+") (number_literal "-0x2844")) (, ",") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (number_literal "0") () ")")))) (; ";")) (} "}")) (else_clause "else {\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,param_1,param_2);\n  }" (else "else") (compound_statement "{\n    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,param_1,param_2);\n  }" ({ "{") (expression_statement "uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,param_1,param_2);" (assignment_expression "uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,param_1,param_2)" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,param_1,param_2)" (parenthesized_expression "(*(code *)PTR_curl_maprintf_000b1d54)" (( "(") (pointer_expression "*(code *)PTR_curl_maprintf_000b1d54" (* "*") (cast_expression "(code *)PTR_curl_maprintf_000b1d54" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_curl_maprintf_000b1d54"))) () ")")) (argument_list "(PTR_DAT_000b1184 + -0x2850,param_1,param_2)" (( "(") (binary_expression "PTR_DAT_000b1184 + -0x2850" (identifier "PTR_DAT_000b1184") (+ "+") (number_literal "-0x2850")) (, ",") (identifier "param_1") (, ",") (identifier "param_2") () ")")))) (; ";")) (} "}")))))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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))))))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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) (identifier) (number_literal)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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) (identifier)))))))))) (return_statement (identifier)))))

undefined4 MASKED(undefined4 param_1,int param_2,int param_3)

{
  undefined4 uVar1;
  
  if (param_2 == 0) {
    if (param_3 == 0) {
      uVar1 = 0;
    }
    else {
      uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_LAB_000b113c + 0x7044,param_1);
    }
  }
  else if (param_3 == 0) {
    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2844,param_1,param_2,0);
  }
  else {
    uVar1 = (*(code *)PTR_curl_maprintf_000b1d54)(PTR_DAT_000b1184 + -0x2850,param_1,param_2);
  }
  return uVar1;
}

