
CURLUcode curl_url_set(CURLU *u,CURLUPart what,char *part,uint flags)

{
  int iVar1;
  CURLUcode CVar2;
  undefined *puVar3;
  char *oldurl;
  
  iVar1 = *(int *)PTR___stack_chk_guard_000b1fd4;
  if (u == (CURLU *)0x0) {
    CVar2 = CURLUE_BAD_HANDLE;
  }
  else if (part == (char *)0x0) {
    if (what < (CURLUPART_QUERY|CURLUPART_USER)) {
                    /* WARNING: Could not emulate address calculation at 0x000811a8 */
                    /* WARNING: Treating indirect jump as call */
      CVar2 = (*(code *)(&_gp + *(int *)(PTR_DAT_000b1184 + what * 4 + -0x287c)))();
      return CVar2;
    }
    CVar2 = CURLUE_UNKNOWN_PART;
  }
  else {
    if (what < (CURLUPART_QUERY|CURLUPART_USER)) {
                    /* WARNING: Could not emulate address calculation at 0x00081180 */
                    /* WARNING: Treating indirect jump as call */
      CVar2 = (*(code *)(&_gp + *(int *)(PTR_DAT_000b1184 + what * 4 + -0x28a4)))();
      return CVar2;
    }
    CVar2 = CURLUE_UNKNOWN_PART;
  }
  if (iVar1 != *(int *)PTR___stack_chk_guard_000b1fd4) {
    puVar3 = PTR___stack_chk_fail_000b1c48;
    (*(code *)PTR___stack_chk_fail_000b1c48)();
    if (what == CURLUPART_URL) {
      if (part == (char *)0x0) {
        CVar2 = CURLUE_OK;
      }
      else {
        CVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);
      }
    }
    else if (part == (char *)0x0) {
      CVar2 = (**(code **)(puVar3 + 0x302e4))
                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,what,0,puVar3 + 0x376a0);
    }
    else {
      CVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,what);
    }
    return CVar2;
  }
  return CVar2;
}



undefined4 curl_url_set(int param_1,uint param_2,int param_3)

{
  int iVar1;
  undefined4 uVar2;
  undefined *puVar3;
  
  iVar1 = *(int *)PTR___stack_chk_guard_000b1fd4;
  if (param_1 == 0) {
    uVar2 = 1;
  }
  else if (param_3 == 0) {
    if (param_2 < 10) {
                    /* WARNING: Could not emulate address calculation at 0x000811a8 */
                    /* WARNING: Treating indirect jump as call */
      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)))();
      return uVar2;
    }
    uVar2 = 9;
  }
  else {
    if (param_2 < 10) {
                    /* WARNING: Could not emulate address calculation at 0x00081180 */
                    /* WARNING: Treating indirect jump as call */
      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))();
      return uVar2;
    }
    uVar2 = 9;
  }
  if (iVar1 != *(int *)PTR___stack_chk_guard_000b1fd4) {
    puVar3 = PTR___stack_chk_fail_000b1c48;
    (*(code *)PTR___stack_chk_fail_000b1c48)();
    if (param_2 == 0) {
      if (param_3 == 0) {
        uVar2 = 0;
      }
      else {
        uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);
      }
    }
    else if (param_3 == 0) {
      uVar2 = (**(code **)(puVar3 + 0x302e4))
                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,param_2,0,puVar3 + 0x376a0);
    }
    else {
      uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,param_2);
    }
    return uVar2;
  }
  return uVar2;
}


lui gp,0x4
addiu gp,gp,-0x7ff8
addu gp,gp,t9
addiu sp,sp,-0x60
sw ra,0x5c(sp)
sw s8,0x58(sp)
sw s7,0x54(sp)
sw s6,0x50(sp)
sw s5,0x4c(sp)
sw s4,0x48(sp)
sw s3,0x44(sp)
sw s2,0x40(sp)
sw s1,0x3c(sp)
sw s0,0x38(sp)
sw gp,0x10(sp)
lw v0,-0x713c(gp)
lw v0,0x0(v0)
sw v0,0x34(sp)
beq a0,zero,0x00081998
_or s2,a0,zero
or s0,a2,zero
beq a2,zero,0x00081194
_or s3,a3,zero
ext s1,a3,0x7,0x1
sltiu v0,a1,0xa
beq v0,zero,0x000819f0
_sw s1,0x1c(sp)
sll a1,a1,0x2
lw v0,-0x7f8c(gp)
addiu v0,v0,-0x28a4
addu a1,v0,a1
lw v0,0x0(a1)
addu v0,v0,gp
jr v0
_nop
sltiu v0,a1,0xa
beq v0,zero,0x000819e0
_sll v1,a1,0x2
lw v0,-0x7f8c(gp)
addiu v0,v0,-0x287c
addu v0,v0,v1
lw v0,0x0(v0)
addu v0,v0,gp
jr v0
_nop
b 0x0008199c
_or s0,a1,zero
addiu s2,a0,0x4
lw a0,0x0(s2)
beq a0,zero,0x000819e8
_lw v0,-0x7fcc(gp)
lw t9,0x0(v0)
jalr t9
_nop
lw gp,0x10(sp)
sw zero,0x0(s2)
b 0x0008199c
_or s0,zero,zero
b 0x000811c8
_addiu s2,a0,0x8
b 0x000811c8
_addiu s2,a0,0xc
b 0x000811c8
_addiu s2,a0,0x10
b 0x000811c8
_addiu s2,a0,0x14
b 0x000811c8
_addiu s2,a0,0x18
b 0x000811c8
_addiu s2,a0,0x1c
b 0x000811c8
_addiu s2,a0,0x20
andi s3,a3,0x8
beq s3,zero,0x00081294
_or a0,a2,zero
or s6,s2,zero
or s1,zero,zero
or a0,s0,zero
lw t9,-0x7274(gp)
jalr t9
_nop
lw gp,0x10(sp)
lui v1,0x7a
addiu v1,v1,0x1201
sltu v0,v0,v1
beq v0,zero,0x00081a20
_nop
sw zero,0x20(sp)
lw v0,-0x7ee0(gp)
lw t9,0x0(v0)
or a0,s0,zero
jalr t9
_nop
lw gp,0x10(sp)
beq v0,zero,0x00081a10
_or s4,v0,zero
or s0,v0,zero
b 0x000818ac
_li s3,0x25
lw t9,-0x7c58(gp)
jalr t9
_nop
lw gp,0x10(sp)
bne v0,zero,0x00081238
_or s6,s2,zero
b 0x0008199c
_li s0,0x5
addiu s6,a0,0x4
sw zero,0x20(sp)
sw zero,0x24(sp)
sw zero,0x1c(sp)
or a0,s0,zero
lw t9,-0x7274(gp)
jalr t9
_nop
lw gp,0x10(sp)
lui v1,0x7a
addiu v1,v1,0x1201
sltu v1,v0,v1
beq v1,zero,0x00081a00
_nop
beq s1,zero,0x00081268
_sll a0,v0,0x1
addu a0,a0,v0
lw v0,-0x7f78(gp)
lw t9,0x0(v0)
addiu a0,a0,0x1
jalr t9
_nop
lw gp,0x10(sp)
beq v0,zero,0x00081a08
_or s4,v0,zero
lw v0,0x1c(sp)
beq v0,zero,0x00081a34
_nop
lb v0,0x0(s0)
beq v0,zero,0x00081660
_or v1,s4,zero
li a0,0x20
b 0x00081650
_li a1,0x2b
addiu s6,a0,0x8
sw zero,0x20(sp)
sw zero,0x24(sp)
b 0x000812c4
_sw zero,0x1c(sp)
addiu s6,a0,0xc
sw zero,0x20(sp)
sw zero,0x24(sp)
b 0x000812c4
_sw zero,0x1c(sp)
addiu s6,a0,0x10
sw zero,0x20(sp)
sw zero,0x24(sp)
b 0x000812c4
_sw zero,0x1c(sp)
li a2,0xa
or a1,zero,zero
or a0,s0,zero
lw t9,-0x74f8(gp)
jalr t9
_nop
lw gp,0x10(sp)
or s1,v0,zero
addiu v0,v0,-0x1
ori v1,zero,0xffff
sltu v0,v0,v1
beq v0,zero,0x000819f8
_addiu s6,s2,0x14
b 0x00081240
_or a0,s0,zero
addiu s6,a0,0x18
sw zero,0x20(sp)
li v0,0x1
sw v0,0x24(sp)
b 0x000812c4
_sw zero,0x1c(sp)
ext v0,a3,0x8,0x1
sw v0,0x20(sp)
addiu s6,a0,0x1c
b 0x000812c4
_sw zero,0x24(sp)
addiu s6,a0,0x20
sw zero,0x20(sp)
sw zero,0x24(sp)
b 0x000812c4
_sw zero,0x1c(sp)
li a2,0x8
or a1,zero,zero
or a0,s0,zero
lw t9,-0x7c5c(gp)
bal 0x0007f634
_nop
lw gp,0x10(sp)
beq v0,zero,0x00081498
_or a3,s3,zero
lw t9,-0x71e0(gp)
jalr t9
_nop
lw gp,0x10(sp)
beq v0,zero,0x00081624
_or s1,v0,zero
or a2,s3,zero
or a1,v0,zero
or a0,s0,zero
lw t9,-0x78cc(gp)
addiu t9,t9,-0x858
bal 0x0007f7a8
_nop
lw gp,0x10(sp)
bne v0,zero,0x0008147c
_or s0,v0,zero
or a1,s2,zero
or a0,s1,zero
lw t9,-0x78cc(gp)
addiu t9,t9,-0xf7c
bal 0x0007f084
_nop
lw gp,0x10(sp)
b 0x000819a0
_or v0,s0,zero
or a0,s1,zero
lw t9,-0x7148(gp)
jalr t9
_nop
lw gp,0x10(sp)
b 0x000819a0
_or v0,s0,zero
addiu a2,sp,0x30
or a1,zero,zero
or a0,s2,zero
lw t9,-0x7464(gp)
jalr t9
_nop
lw gp,0x10(sp)
beq v0,zero,0x0008153c
_or a1,s0,zero
lw t9,-0x71e0(gp)
jalr t9
_nop
lw gp,0x10(sp)
beq v0,zero,0x0008162c
_or s1,v0,zero
or a2,s3,zero
or a1,v0,zero
or a0,s0,zero
lw t9,-0x78cc(gp)
addiu t9,t9,-0x858
bal 0x0007f7a8
_nop
lw gp,0x10(sp)
bne v0,zero,0x00081520
_or s0,v0,zero
or a1,s2,zero
or a0,s1,zero
lw t9,-0x78cc(gp)
addiu t9,t9,-0xf7c
bal 0x0007f084
_nop
lw gp,0x10(sp)
b 0x000819a0
_or v0,s0,zero
or a0,s1,zero
lw t9,-0x7148(gp)
jalr t9
_nop
lw gp,0x10(sp)
b 0x000819a0
_or v0,s0,zero
lw a0,0x30(sp)
lw t9,-0x7880(gp)
bal 0x00080444
_nop
lw gp,0x10(sp)
or s1,v0,zero
lw v0,-0x7fcc(gp)
lw t9,0x0(v0)
lw a0,0x30(sp)
jalr t9
_nop
lw gp,0x10(sp)
beq s1,zero,0x00081634
_lw t9,-0x71e0(gp)
jalr t9
_nop
lw gp,0x10(sp)
beq v0,zero,0x000815ec
_or s4,v0,zero
or a2,s3,zero
or a1,v0,zero
or a0,s1,zero
lw t9,-0x78cc(gp)
addiu t9,t9,-0x858
bal 0x0007f7a8
_nop
lw gp,0x10(sp)
or s0,v0,zero
lw v0,-0x7fcc(gp)
lw t9,0x0(v0)
or a0,s1,zero
jalr t9
_nop
lw gp,0x10(sp)
bne s0,zero,0x0008160c
_or a0,s4,zero
or a1,s2,zero
lw t9,-0x78cc(gp)
addiu t9,t9,-0xf7c
bal 0x0007f084
_nop
lw gp,0x10(sp)
b 0x000819a0
_or v0,s0,zero
lw v0,-0x7fcc(gp)
lw t9,0x0(v0)
or a0,s1,zero
jalr t9
_nop
lw gp,0x10(sp)
b 0x0008199c
_li s0,0x7
lw t9,-0x7148(gp)
jalr t9
_nop
lw gp,0x10(sp)
b 0x000819a0
_or v0,s0,zero
b 0x0008199c
_li s0,0x7
b 0x0008199c
_li s0,0x7
b 0x0008199c
_li s0,0x7
sb v0,0x0(v1)
addiu s0,s0,0x1
lb v0,0x0(s0)
beq v0,zero,0x00081660
_addiu v1,v1,0x1
bne v0,a0,0x0008163c
_nop
b 0x0008163c
_or v0,a1,zero
sb zero,0x0(v1)
lw v0,-0x7ee0(gp)
lw t9,0x0(v0)
or a0,s4,zero
jalr t9
_nop
lw gp,0x10(sp)
beq v0,zero,0x0008169c
_or s0,v0,zero
lb a0,0x0(v0)
lw v0,0x1c(sp)
bne a0,zero,0x00081a40
_sw v0,0x2c(sp)
b 0x0008177c
_sb zero,0x0(s4)
lw v0,-0x7fcc(gp)
lw t9,0x0(v0)
or a0,s4,zero
jalr t9
_nop
lw gp,0x10(sp)
b 0x0008199c
_li s0,0x7
lw v0,0x24(sp)
bne v0,zero,0x000816ec
_lw a2,0x28(sp)
b 0x00081750
_li a1,0x4
beq s5,zero,0x0008174c
_lw a2,0x28(sp)
b 0x000816ec
_or s5,v0,zero
lb a3,0x0(s1)
xor v0,a3,s7
movz s5,zero,v0
sb a3,0x0(s3)
addiu s3,s3,0x1
addiu s1,s1,0x1
lb a0,0x0(s1)
beq a0,zero,0x0008176c
_nop
andi a0,a0,0xff
lw t9,-0x7bf0(gp)
jalr t9
_nop
lw gp,0x10(sp)
bne v0,zero,0x000816e0
_nop
lb a3,0x0(s1)
beq a3,s8,0x000816bc
_nop
beq a3,s7,0x000816d0
_nop
li v0,0x2b
bne a3,v0,0x00081748
_lw v0,0x1c(sp)
bne v0,zero,0x000816ec
_nop
lw a2,0x28(sp)
li a1,0x4
or a0,s3,zero
lw t9,-0x7244(gp)
jalr t9
_nop
lw gp,0x10(sp)
b 0x000816f4
_addiu s3,s3,0x3
sb zero,0x0(s3)
lw v0,0x2c(sp)
beq v0,zero,0x00081798
_or s1,zero,zero
lw v0,-0x7fcc(gp)
lw t9,0x0(v0)
or a0,s0,zero
jalr t9
_nop
lw gp,0x10(sp)
or s1,zero,zero
lw v0,0x20(sp)
beq v0,zero,0x00081970
_lw v0,-0x7fcc(gp)
lw s0,0x1c(s2)
beq s0,zero,0x00081970
_or a0,s0,zero
lw t9,-0x7274(gp)
jalr t9
_nop
lw gp,0x10(sp)
beq v0,zero,0x0008196c
_or s3,v0,zero
addu s0,s0,v0
lb s5,-0x1(s0)
or a0,s4,zero
lw t9,-0x7274(gp)
jalr t9
_nop
lw gp,0x10(sp)
xori s0,s5,0x26
sltu s0,zero,s0
addu s0,s0,s3
addiu a0,s0,0x1
lw v1,-0x7f78(gp)
lw t9,0x0(v1)
addu a0,a0,v0
jalr t9
_nop
lw gp,0x10(sp)
beq v0,zero,0x0008194c
_or s1,v0,zero
lw a1,0x1c(s2)
or a0,v0,zero
lw t9,-0x77c4(gp)
jalr t9
_nop
lw gp,0x10(sp)
li v0,0x26
beq s5,v0,0x00081840
_or a1,s4,zero
addu s3,s1,s3
sb v0,0x0(s3)
addu a0,s1,s0
lw t9,-0x77c4(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw s0,-0x7fcc(gp)
lw t9,0x0(s0)
or a0,s4,zero
jalr t9
_nop
lw gp,0x10(sp)
lw t9,0x0(s0)
lw a0,0x0(s6)
jalr t9
_nop
lw gp,0x10(sp)
sw s1,0x0(s6)
b 0x0008199c
_or s0,zero,zero
lbu a0,0x2(s0)
lw t9,-0x795c(gp)
bal 0x0007cf9c
_nop
lw gp,0x10(sp)
bne v0,zero,0x00081908
_lw t9,-0x7098(gp)
addiu s0,s0,0x1
lb v0,0x0(s0)
beq v0,zero,0x00081798
_nop
bne v0,s3,0x000818a8
_lw t9,-0x7c7c(gp)
lbu a0,0x1(s0)
bal 0x0007cea8
_nop
lw gp,0x10(sp)
beq v0,zero,0x000818a8
_lw t9,-0x7c7c(gp)
lbu a0,0x2(s0)
bal 0x0007cea8
_nop
lw gp,0x10(sp)
beq v0,zero,0x000818a8
_lw t9,-0x795c(gp)
lbu a0,0x1(s0)
bal 0x0007cf9c
_nop
lw gp,0x10(sp)
beq v0,zero,0x0008188c
_lw t9,-0x7098(gp)
jalr t9
_nop
lw gp,0x10(sp)
lbu a0,0x1(s0)
lw v1,0x0(v0)
sll a0,a0,0x2
addu v1,v1,a0
lw v1,0x0(v1)
sb v1,0x1(s0)
lbu v1,0x2(s0)
lw v0,0x0(v0)
sll v1,v1,0x2
addu v0,v0,v1
lw v0,0x0(v0)
sb v0,0x2(s0)
b 0x000818ac
_addiu s0,s0,0x3
lw v0,-0x7fcc(gp)
lw t9,0x0(v0)
or a0,s4,zero
jalr t9
_nop
lw gp,0x10(sp)
b 0x0008199c
_li s0,0x7
lw v0,-0x7fcc(gp)
lw t9,0x0(v0)
lw a0,0x0(s6)
jalr t9
_nop
lw gp,0x10(sp)
beq s1,zero,0x00081a18
_sw s4,0x0(s6)
sw s1,0x28(s2)
b 0x0008199c
_or s0,zero,zero
li s0,0x1
or v0,s0,zero
lw a0,0x34(sp)
lw v1,-0x713c(gp)
lw v1,0x0(v1)
bne a0,v1,0x00081a64
_lw ra,0x5c(sp)
lw s8,0x58(sp)
lw s7,0x54(sp)
lw s6,0x50(sp)
lw s5,0x4c(sp)
lw s4,0x48(sp)
lw s3,0x44(sp)
lw s2,0x40(sp)
lw s1,0x3c(sp)
lw s0,0x38(sp)
jr ra
_addiu sp,sp,0x60
b 0x0008199c
_li s0,0x9
b 0x0008199c
_or s0,zero,zero
b 0x0008199c
_li s0,0x9
b 0x0008199c
_li s0,0x4
b 0x0008199c
_li s0,0x3
b 0x0008199c
_li s0,0x7
b 0x0008199c
_li s0,0x7
b 0x0008199c
_or s0,zero,zero
b 0x0008199c
_li s0,0x3
sb zero,0x0(s4)
b 0x00081798
_or s1,zero,zero
lb a0,0x0(s0)
beq a0,zero,0x00081a28
_sw v0,0x2c(sp)
or s3,s4,zero
or s1,s0,zero
lw s5,0x20(sp)
li s7,0x3d
li s8,0x2f
lw v0,-0x7f8c(gp)
addiu v0,v0,-0x29d8
b 0x00081704
_sw v0,0x28(sp)
lw t9,-0x74c8(gp)
jalr t9
_nop
(translation_unit "undefined4 curl_url_set(int param_1,uint param_2,int param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined *puVar3;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_000b1fd4;\n  if (param_1 == 0) {\n    uVar2 = 1;\n  }\n  else if (param_3 == 0) {\n    if (param_2 < 10) {\n                    /* WARNING: Could not emulate address calculation at 0x000811a8 */\n                    /* WARNING: Treating indirect jump as call */\n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }\n  else {\n    if (param_2 < 10) {\n                    /* WARNING: Could not emulate address calculation at 0x00081180 */\n                    /* WARNING: Treating indirect jump as call */\n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }\n  if (iVar1 != *(int *)PTR___stack_chk_guard_000b1fd4) {\n    puVar3 = PTR___stack_chk_fail_000b1c48;\n    (*(code *)PTR___stack_chk_fail_000b1c48)();\n    if (param_2 == 0) {\n      if (param_3 == 0) {\n        uVar2 = 0;\n      }\n      else {\n        uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);\n      }\n    }\n    else if (param_3 == 0) {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,param_2,0,puVar3 + 0x376a0);\n    }\n    else {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,param_2);\n    }\n    return uVar2;\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined4 curl_url_set(int param_1,uint param_2,int param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined *puVar3;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_000b1fd4;\n  if (param_1 == 0) {\n    uVar2 = 1;\n  }\n  else if (param_3 == 0) {\n    if (param_2 < 10) {\n                    /* WARNING: Could not emulate address calculation at 0x000811a8 */\n                    /* WARNING: Treating indirect jump as call */\n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }\n  else {\n    if (param_2 < 10) {\n                    /* WARNING: Could not emulate address calculation at 0x00081180 */\n                    /* WARNING: Treating indirect jump as call */\n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }\n  if (iVar1 != *(int *)PTR___stack_chk_guard_000b1fd4) {\n    puVar3 = PTR___stack_chk_fail_000b1c48;\n    (*(code *)PTR___stack_chk_fail_000b1c48)();\n    if (param_2 == 0) {\n      if (param_3 == 0) {\n        uVar2 = 0;\n      }\n      else {\n        uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);\n      }\n    }\n    else if (param_3 == 0) {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,param_2,0,puVar3 + 0x376a0);\n    }\n    else {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,param_2);\n    }\n    return uVar2;\n  }\n  return uVar2;\n}" type_identifier (function_declarator "curl_url_set(int param_1,uint param_2,int param_3)" identifier (parameter_list "(int param_1,uint param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined *puVar3;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_000b1fd4;\n  if (param_1 == 0) {\n    uVar2 = 1;\n  }\n  else if (param_3 == 0) {\n    if (param_2 < 10) {\n                    /* WARNING: Could not emulate address calculation at 0x000811a8 */\n                    /* WARNING: Treating indirect jump as call */\n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }\n  else {\n    if (param_2 < 10) {\n                    /* WARNING: Could not emulate address calculation at 0x00081180 */\n                    /* WARNING: Treating indirect jump as call */\n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }\n  if (iVar1 != *(int *)PTR___stack_chk_guard_000b1fd4) {\n    puVar3 = PTR___stack_chk_fail_000b1c48;\n    (*(code *)PTR___stack_chk_fail_000b1c48)();\n    if (param_2 == 0) {\n      if (param_3 == 0) {\n        uVar2 = 0;\n      }\n      else {\n        uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);\n      }\n    }\n    else if (param_3 == 0) {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,param_2,0,puVar3 + 0x376a0);\n    }\n    else {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,param_2);\n    }\n    return uVar2;\n  }\n  return uVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (expression_statement "iVar1 = *(int *)PTR___stack_chk_guard_000b1fd4;" (assignment_expression "iVar1 = *(int *)PTR___stack_chk_guard_000b1fd4" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000b1fd4" * (cast_expression "(int *)PTR___stack_chk_guard_000b1fd4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (param_1 == 0) {\n    uVar2 = 1;\n  }\n  else if (param_3 == 0) {\n    if (param_2 < 10) {\n                    /* WARNING: Could not emulate address calculation at 0x000811a8 */\n                    /* WARNING: Treating indirect jump as call */\n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }\n  else {\n    if (param_2 < 10) {\n                    /* WARNING: Could not emulate address calculation at 0x00081180 */\n                    /* WARNING: Treating indirect jump as call */\n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar2 = 1;\n  }" { (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" identifier = number_literal) ;) }) (else_clause "else if (param_3 == 0) {\n    if (param_2 < 10) {\n                    /* WARNING: Could not emulate address calculation at 0x000811a8 */\n                    /* WARNING: Treating indirect jump as call */\n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }\n  else {\n    if (param_2 < 10) {\n                    /* WARNING: Could not emulate address calculation at 0x00081180 */\n                    /* WARNING: Treating indirect jump as call */\n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }" else (if_statement "if (param_3 == 0) {\n    if (param_2 < 10) {\n                    /* WARNING: Could not emulate address calculation at 0x000811a8 */\n                    /* WARNING: Treating indirect jump as call */\n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }\n  else {\n    if (param_2 < 10) {\n                    /* WARNING: Could not emulate address calculation at 0x00081180 */\n                    /* WARNING: Treating indirect jump as call */\n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n    if (param_2 < 10) {\n                    /* WARNING: Could not emulate address calculation at 0x000811a8 */\n                    /* WARNING: Treating indirect jump as call */\n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }" { (if_statement "if (param_2 < 10) {\n                    /* WARNING: Could not emulate address calculation at 0x000811a8 */\n                    /* WARNING: Treating indirect jump as call */\n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)))();\n      return uVar2;\n    }" if (parenthesized_expression "(param_2 < 10)" ( (binary_expression "param_2 < 10" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x000811a8 */\n                    /* WARNING: Treating indirect jump as call */\n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)))();\n      return uVar2;\n    }" { comment comment (expression_statement "uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)))();" (assignment_expression "uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)))()" identifier = (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c))" ( (binary_expression "&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)" * (cast_expression "(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)" ( (binary_expression "PTR_DAT_000b1184 + param_2 * 4 + -0x287c" (binary_expression "PTR_DAT_000b1184 + param_2 * 4" identifier + (binary_expression "param_2 * 4" identifier * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar2;" return identifier ;) })) (expression_statement "uVar2 = 9;" (assignment_expression "uVar2 = 9" identifier = number_literal) ;) }) (else_clause "else {\n    if (param_2 < 10) {\n                    /* WARNING: Could not emulate address calculation at 0x00081180 */\n                    /* WARNING: Treating indirect jump as call */\n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }" else (compound_statement "{\n    if (param_2 < 10) {\n                    /* WARNING: Could not emulate address calculation at 0x00081180 */\n                    /* WARNING: Treating indirect jump as call */\n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }" { (if_statement "if (param_2 < 10) {\n                    /* WARNING: Could not emulate address calculation at 0x00081180 */\n                    /* WARNING: Treating indirect jump as call */\n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))();\n      return uVar2;\n    }" if (parenthesized_expression "(param_2 < 10)" ( (binary_expression "param_2 < 10" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x00081180 */\n                    /* WARNING: Treating indirect jump as call */\n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))();\n      return uVar2;\n    }" { comment comment (expression_statement "uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))();" (assignment_expression "uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))()" identifier = (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4))" ( (binary_expression "&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)" * (cast_expression "(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)" ( (binary_expression "PTR_DAT_000b1184 + param_2 * 4 + -0x28a4" (binary_expression "PTR_DAT_000b1184 + param_2 * 4" identifier + (binary_expression "param_2 * 4" identifier * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar2;" return identifier ;) })) (expression_statement "uVar2 = 9;" (assignment_expression "uVar2 = 9" identifier = number_literal) ;) }))))) (if_statement "if (iVar1 != *(int *)PTR___stack_chk_guard_000b1fd4) {\n    puVar3 = PTR___stack_chk_fail_000b1c48;\n    (*(code *)PTR___stack_chk_fail_000b1c48)();\n    if (param_2 == 0) {\n      if (param_3 == 0) {\n        uVar2 = 0;\n      }\n      else {\n        uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);\n      }\n    }\n    else if (param_3 == 0) {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,param_2,0,puVar3 + 0x376a0);\n    }\n    else {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,param_2);\n    }\n    return uVar2;\n  }" if (parenthesized_expression "(iVar1 != *(int *)PTR___stack_chk_guard_000b1fd4)" ( (binary_expression "iVar1 != *(int *)PTR___stack_chk_guard_000b1fd4" identifier != (pointer_expression "*(int *)PTR___stack_chk_guard_000b1fd4" * (cast_expression "(int *)PTR___stack_chk_guard_000b1fd4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    puVar3 = PTR___stack_chk_fail_000b1c48;\n    (*(code *)PTR___stack_chk_fail_000b1c48)();\n    if (param_2 == 0) {\n      if (param_3 == 0) {\n        uVar2 = 0;\n      }\n      else {\n        uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);\n      }\n    }\n    else if (param_3 == 0) {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,param_2,0,puVar3 + 0x376a0);\n    }\n    else {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,param_2);\n    }\n    return uVar2;\n  }" { (expression_statement "puVar3 = PTR___stack_chk_fail_000b1c48;" (assignment_expression "puVar3 = PTR___stack_chk_fail_000b1c48" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000b1c48)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b1c48)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b1c48)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000b1c48" * (cast_expression "(code *)PTR___stack_chk_fail_000b1c48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (param_2 == 0) {\n      if (param_3 == 0) {\n        uVar2 = 0;\n      }\n      else {\n        uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);\n      }\n    }\n    else if (param_3 == 0) {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,param_2,0,puVar3 + 0x376a0);\n    }\n    else {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,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        uVar2 = 0;\n      }\n      else {\n        uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);\n      }\n    }" { (if_statement "if (param_3 == 0) {\n        uVar2 = 0;\n      }\n      else {\n        uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);\n      }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n        uVar2 = 0;\n      }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else {\n        uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);\n      }" else (compound_statement "{\n        uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);\n      }" { (expression_statement "uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);" (assignment_expression "uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1)" identifier = (call_expression "(**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1)" (parenthesized_expression "(**(code **)(puVar3 + 0x302e4))" ( (pointer_expression "**(code **)(puVar3 + 0x302e4)" * (pointer_expression "*(code **)(puVar3 + 0x302e4)" * (cast_expression "(code **)(puVar3 + 0x302e4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x302e4)" ( (binary_expression "puVar3 + 0x302e4" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1)" ( (binary_expression "*(int *)(puVar3 + 0x2f6cc) + 0x7044" (pointer_expression "*(int *)(puVar3 + 0x2f6cc)" * (cast_expression "(int *)(puVar3 + 0x2f6cc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + 0x2f6cc)" ( (binary_expression "puVar3 + 0x2f6cc" identifier + number_literal) )))) + number_literal) , identifier )))) ;) }))) }) (else_clause "else if (param_3 == 0) {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,param_2,0,puVar3 + 0x376a0);\n    }\n    else {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,param_2);\n    }" else (if_statement "if (param_3 == 0) {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,param_2,0,puVar3 + 0x376a0);\n    }\n    else {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,param_2);\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,param_2,0,puVar3 + 0x376a0);\n    }" { (expression_statement "uVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,param_2,0,puVar3 + 0x376a0);" (assignment_expression "uVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,param_2,0,puVar3 + 0x376a0)" identifier = (call_expression "(**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,param_2,0,puVar3 + 0x376a0)" (parenthesized_expression "(**(code **)(puVar3 + 0x302e4))" ( (pointer_expression "**(code **)(puVar3 + 0x302e4)" * (pointer_expression "*(code **)(puVar3 + 0x302e4)" * (cast_expression "(code **)(puVar3 + 0x302e4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x302e4)" ( (binary_expression "puVar3 + 0x302e4" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,param_2,0,puVar3 + 0x376a0)" ( (binary_expression "*(int *)(puVar3 + 0x2f714) + -0x2844" (pointer_expression "*(int *)(puVar3 + 0x2f714)" * (cast_expression "(int *)(puVar3 + 0x2f714)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + 0x2f714)" ( (binary_expression "puVar3 + 0x2f714" identifier + number_literal) )))) + number_literal) , identifier , identifier , number_literal , (binary_expression "puVar3 + 0x376a0" identifier + number_literal) )))) ;) }) (else_clause "else {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,param_2);\n    }" else (compound_statement "{\n      uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,param_2);\n    }" { (expression_statement "uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,param_2);" (assignment_expression "uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,param_2)" identifier = (call_expression "(**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,param_2)" (parenthesized_expression "(**(code **)(puVar3 + 0x302e4))" ( (pointer_expression "**(code **)(puVar3 + 0x302e4)" * (pointer_expression "*(code **)(puVar3 + 0x302e4)" * (cast_expression "(code **)(puVar3 + 0x302e4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x302e4)" ( (binary_expression "puVar3 + 0x302e4" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,param_2)" ( (binary_expression "*(int *)(puVar3 + 0x2f714) + -0x2850" (pointer_expression "*(int *)(puVar3 + 0x2f714)" * (cast_expression "(int *)(puVar3 + 0x2f714)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + 0x2f714)" ( (binary_expression "puVar3 + 0x2f714" identifier + number_literal) )))) + number_literal) , identifier , identifier )))) ;) }))))) (return_statement "return uVar2;" return identifier ;) })) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "CURLUcode curl_url_set(CURLU *u,CURLUPart what,char *part,uint flags)\n\n{\n  int iVar1;\n  CURLUcode CVar2;\n  undefined *puVar3;\n  char *oldurl;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_000b1fd4;\n  if (u == (CURLU *)0x0) {\n    CVar2 = CURLUE_BAD_HANDLE;\n  }\n  else if (part == (char *)0x0) {\n    if (what < (CURLUPART_QUERY|CURLUPART_USER)) {\n                    /* WARNING: Could not emulate address calculation at 0x000811a8 */\n                    /* WARNING: Treating indirect jump as call */\n      CVar2 = (*(code *)(&_gp + *(int *)(PTR_DAT_000b1184 + what * 4 + -0x287c)))();\n      return CVar2;\n    }\n    CVar2 = CURLUE_UNKNOWN_PART;\n  }\n  else {\n    if (what < (CURLUPART_QUERY|CURLUPART_USER)) {\n                    /* WARNING: Could not emulate address calculation at 0x00081180 */\n                    /* WARNING: Treating indirect jump as call */\n      CVar2 = (*(code *)(&_gp + *(int *)(PTR_DAT_000b1184 + what * 4 + -0x28a4)))();\n      return CVar2;\n    }\n    CVar2 = CURLUE_UNKNOWN_PART;\n  }\n  if (iVar1 != *(int *)PTR___stack_chk_guard_000b1fd4) {\n    puVar3 = PTR___stack_chk_fail_000b1c48;\n    (*(code *)PTR___stack_chk_fail_000b1c48)();\n    if (what == CURLUPART_URL) {\n      if (part == (char *)0x0) {\n        CVar2 = CURLUE_OK;\n      }\n      else {\n        CVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);\n      }\n    }\n    else if (part == (char *)0x0) {\n      CVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,what,0,puVar3 + 0x376a0);\n    }\n    else {\n      CVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,what);\n    }\n    return CVar2;\n  }\n  return CVar2;\n}\n\n" (function_definition "CURLUcode curl_url_set(CURLU *u,CURLUPart what,char *part,uint flags)\n\n{\n  int iVar1;\n  CURLUcode CVar2;\n  undefined *puVar3;\n  char *oldurl;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_000b1fd4;\n  if (u == (CURLU *)0x0) {\n    CVar2 = CURLUE_BAD_HANDLE;\n  }\n  else if (part == (char *)0x0) {\n    if (what < (CURLUPART_QUERY|CURLUPART_USER)) {\n                    /* WARNING: Could not emulate address calculation at 0x000811a8 */\n                    /* WARNING: Treating indirect jump as call */\n      CVar2 = (*(code *)(&_gp + *(int *)(PTR_DAT_000b1184 + what * 4 + -0x287c)))();\n      return CVar2;\n    }\n    CVar2 = CURLUE_UNKNOWN_PART;\n  }\n  else {\n    if (what < (CURLUPART_QUERY|CURLUPART_USER)) {\n                    /* WARNING: Could not emulate address calculation at 0x00081180 */\n                    /* WARNING: Treating indirect jump as call */\n      CVar2 = (*(code *)(&_gp + *(int *)(PTR_DAT_000b1184 + what * 4 + -0x28a4)))();\n      return CVar2;\n    }\n    CVar2 = CURLUE_UNKNOWN_PART;\n  }\n  if (iVar1 != *(int *)PTR___stack_chk_guard_000b1fd4) {\n    puVar3 = PTR___stack_chk_fail_000b1c48;\n    (*(code *)PTR___stack_chk_fail_000b1c48)();\n    if (what == CURLUPART_URL) {\n      if (part == (char *)0x0) {\n        CVar2 = CURLUE_OK;\n      }\n      else {\n        CVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);\n      }\n    }\n    else if (part == (char *)0x0) {\n      CVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,what,0,puVar3 + 0x376a0);\n    }\n    else {\n      CVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,what);\n    }\n    return CVar2;\n  }\n  return CVar2;\n}" type_identifier (function_declarator "curl_url_set(CURLU *u,CURLUPart what,char *part,uint flags)" identifier (parameter_list "(CURLU *u,CURLUPart what,char *part,uint flags)" ( (parameter_declaration "CURLU *u" type_identifier (pointer_declarator "*u" * identifier)) , (parameter_declaration "CURLUPart what" type_identifier identifier) , (parameter_declaration "char *part" primitive_type (pointer_declarator "*part" * identifier)) , (parameter_declaration "uint flags" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  CURLUcode CVar2;\n  undefined *puVar3;\n  char *oldurl;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_000b1fd4;\n  if (u == (CURLU *)0x0) {\n    CVar2 = CURLUE_BAD_HANDLE;\n  }\n  else if (part == (char *)0x0) {\n    if (what < (CURLUPART_QUERY|CURLUPART_USER)) {\n                    /* WARNING: Could not emulate address calculation at 0x000811a8 */\n                    /* WARNING: Treating indirect jump as call */\n      CVar2 = (*(code *)(&_gp + *(int *)(PTR_DAT_000b1184 + what * 4 + -0x287c)))();\n      return CVar2;\n    }\n    CVar2 = CURLUE_UNKNOWN_PART;\n  }\n  else {\n    if (what < (CURLUPART_QUERY|CURLUPART_USER)) {\n                    /* WARNING: Could not emulate address calculation at 0x00081180 */\n                    /* WARNING: Treating indirect jump as call */\n      CVar2 = (*(code *)(&_gp + *(int *)(PTR_DAT_000b1184 + what * 4 + -0x28a4)))();\n      return CVar2;\n    }\n    CVar2 = CURLUE_UNKNOWN_PART;\n  }\n  if (iVar1 != *(int *)PTR___stack_chk_guard_000b1fd4) {\n    puVar3 = PTR___stack_chk_fail_000b1c48;\n    (*(code *)PTR___stack_chk_fail_000b1c48)();\n    if (what == CURLUPART_URL) {\n      if (part == (char *)0x0) {\n        CVar2 = CURLUE_OK;\n      }\n      else {\n        CVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);\n      }\n    }\n    else if (part == (char *)0x0) {\n      CVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,what,0,puVar3 + 0x376a0);\n    }\n    else {\n      CVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,what);\n    }\n    return CVar2;\n  }\n  return CVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "CURLUcode CVar2;" type_identifier identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "char *oldurl;" primitive_type (pointer_declarator "*oldurl" * identifier) ;) (expression_statement "iVar1 = *(int *)PTR___stack_chk_guard_000b1fd4;" (assignment_expression "iVar1 = *(int *)PTR___stack_chk_guard_000b1fd4" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000b1fd4" * (cast_expression "(int *)PTR___stack_chk_guard_000b1fd4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (u == (CURLU *)0x0) {\n    CVar2 = CURLUE_BAD_HANDLE;\n  }\n  else if (part == (char *)0x0) {\n    if (what < (CURLUPART_QUERY|CURLUPART_USER)) {\n                    /* WARNING: Could not emulate address calculation at 0x000811a8 */\n                    /* WARNING: Treating indirect jump as call */\n      CVar2 = (*(code *)(&_gp + *(int *)(PTR_DAT_000b1184 + what * 4 + -0x287c)))();\n      return CVar2;\n    }\n    CVar2 = CURLUE_UNKNOWN_PART;\n  }\n  else {\n    if (what < (CURLUPART_QUERY|CURLUPART_USER)) {\n                    /* WARNING: Could not emulate address calculation at 0x00081180 */\n                    /* WARNING: Treating indirect jump as call */\n      CVar2 = (*(code *)(&_gp + *(int *)(PTR_DAT_000b1184 + what * 4 + -0x28a4)))();\n      return CVar2;\n    }\n    CVar2 = CURLUE_UNKNOWN_PART;\n  }" if (parenthesized_expression "(u == (CURLU *)0x0)" ( (binary_expression "u == (CURLU *)0x0" identifier == (cast_expression "(CURLU *)0x0" ( (type_descriptor "CURLU *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    CVar2 = CURLUE_BAD_HANDLE;\n  }" { (expression_statement "CVar2 = CURLUE_BAD_HANDLE;" (assignment_expression "CVar2 = CURLUE_BAD_HANDLE" identifier = identifier) ;) }) (else_clause "else if (part == (char *)0x0) {\n    if (what < (CURLUPART_QUERY|CURLUPART_USER)) {\n                    /* WARNING: Could not emulate address calculation at 0x000811a8 */\n                    /* WARNING: Treating indirect jump as call */\n      CVar2 = (*(code *)(&_gp + *(int *)(PTR_DAT_000b1184 + what * 4 + -0x287c)))();\n      return CVar2;\n    }\n    CVar2 = CURLUE_UNKNOWN_PART;\n  }\n  else {\n    if (what < (CURLUPART_QUERY|CURLUPART_USER)) {\n                    /* WARNING: Could not emulate address calculation at 0x00081180 */\n                    /* WARNING: Treating indirect jump as call */\n      CVar2 = (*(code *)(&_gp + *(int *)(PTR_DAT_000b1184 + what * 4 + -0x28a4)))();\n      return CVar2;\n    }\n    CVar2 = CURLUE_UNKNOWN_PART;\n  }" else (if_statement "if (part == (char *)0x0) {\n    if (what < (CURLUPART_QUERY|CURLUPART_USER)) {\n                    /* WARNING: Could not emulate address calculation at 0x000811a8 */\n                    /* WARNING: Treating indirect jump as call */\n      CVar2 = (*(code *)(&_gp + *(int *)(PTR_DAT_000b1184 + what * 4 + -0x287c)))();\n      return CVar2;\n    }\n    CVar2 = CURLUE_UNKNOWN_PART;\n  }\n  else {\n    if (what < (CURLUPART_QUERY|CURLUPART_USER)) {\n                    /* WARNING: Could not emulate address calculation at 0x00081180 */\n                    /* WARNING: Treating indirect jump as call */\n      CVar2 = (*(code *)(&_gp + *(int *)(PTR_DAT_000b1184 + what * 4 + -0x28a4)))();\n      return CVar2;\n    }\n    CVar2 = CURLUE_UNKNOWN_PART;\n  }" if (parenthesized_expression "(part == (char *)0x0)" ( (binary_expression "part == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (what < (CURLUPART_QUERY|CURLUPART_USER)) {\n                    /* WARNING: Could not emulate address calculation at 0x000811a8 */\n                    /* WARNING: Treating indirect jump as call */\n      CVar2 = (*(code *)(&_gp + *(int *)(PTR_DAT_000b1184 + what * 4 + -0x287c)))();\n      return CVar2;\n    }\n    CVar2 = CURLUE_UNKNOWN_PART;\n  }" { (if_statement "if (what < (CURLUPART_QUERY|CURLUPART_USER)) {\n                    /* WARNING: Could not emulate address calculation at 0x000811a8 */\n                    /* WARNING: Treating indirect jump as call */\n      CVar2 = (*(code *)(&_gp + *(int *)(PTR_DAT_000b1184 + what * 4 + -0x287c)))();\n      return CVar2;\n    }" if (parenthesized_expression "(what < (CURLUPART_QUERY|CURLUPART_USER))" ( (binary_expression "what < (CURLUPART_QUERY|CURLUPART_USER)" identifier < (parenthesized_expression "(CURLUPART_QUERY|CURLUPART_USER)" ( (binary_expression "CURLUPART_QUERY|CURLUPART_USER" identifier | identifier) ))) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x000811a8 */\n                    /* WARNING: Treating indirect jump as call */\n      CVar2 = (*(code *)(&_gp + *(int *)(PTR_DAT_000b1184 + what * 4 + -0x287c)))();\n      return CVar2;\n    }" { comment comment (expression_statement "CVar2 = (*(code *)(&_gp + *(int *)(PTR_DAT_000b1184 + what * 4 + -0x287c)))();" (assignment_expression "CVar2 = (*(code *)(&_gp + *(int *)(PTR_DAT_000b1184 + what * 4 + -0x287c)))()" identifier = (call_expression "(*(code *)(&_gp + *(int *)(PTR_DAT_000b1184 + what * 4 + -0x287c)))()" (parenthesized_expression "(*(code *)(&_gp + *(int *)(PTR_DAT_000b1184 + what * 4 + -0x287c)))" ( (pointer_expression "*(code *)(&_gp + *(int *)(PTR_DAT_000b1184 + what * 4 + -0x287c))" * (cast_expression "(code *)(&_gp + *(int *)(PTR_DAT_000b1184 + what * 4 + -0x287c))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp + *(int *)(PTR_DAT_000b1184 + what * 4 + -0x287c))" ( (binary_expression "&_gp + *(int *)(PTR_DAT_000b1184 + what * 4 + -0x287c)" (pointer_expression "&_gp" & identifier) + (pointer_expression "*(int *)(PTR_DAT_000b1184 + what * 4 + -0x287c)" * (cast_expression "(int *)(PTR_DAT_000b1184 + what * 4 + -0x287c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000b1184 + what * 4 + -0x287c)" ( (binary_expression "PTR_DAT_000b1184 + what * 4 + -0x287c" (binary_expression "PTR_DAT_000b1184 + what * 4" identifier + (binary_expression "what * 4" identifier * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return CVar2;" return identifier ;) })) (expression_statement "CVar2 = CURLUE_UNKNOWN_PART;" (assignment_expression "CVar2 = CURLUE_UNKNOWN_PART" identifier = identifier) ;) }) (else_clause "else {\n    if (what < (CURLUPART_QUERY|CURLUPART_USER)) {\n                    /* WARNING: Could not emulate address calculation at 0x00081180 */\n                    /* WARNING: Treating indirect jump as call */\n      CVar2 = (*(code *)(&_gp + *(int *)(PTR_DAT_000b1184 + what * 4 + -0x28a4)))();\n      return CVar2;\n    }\n    CVar2 = CURLUE_UNKNOWN_PART;\n  }" else (compound_statement "{\n    if (what < (CURLUPART_QUERY|CURLUPART_USER)) {\n                    /* WARNING: Could not emulate address calculation at 0x00081180 */\n                    /* WARNING: Treating indirect jump as call */\n      CVar2 = (*(code *)(&_gp + *(int *)(PTR_DAT_000b1184 + what * 4 + -0x28a4)))();\n      return CVar2;\n    }\n    CVar2 = CURLUE_UNKNOWN_PART;\n  }" { (if_statement "if (what < (CURLUPART_QUERY|CURLUPART_USER)) {\n                    /* WARNING: Could not emulate address calculation at 0x00081180 */\n                    /* WARNING: Treating indirect jump as call */\n      CVar2 = (*(code *)(&_gp + *(int *)(PTR_DAT_000b1184 + what * 4 + -0x28a4)))();\n      return CVar2;\n    }" if (parenthesized_expression "(what < (CURLUPART_QUERY|CURLUPART_USER))" ( (binary_expression "what < (CURLUPART_QUERY|CURLUPART_USER)" identifier < (parenthesized_expression "(CURLUPART_QUERY|CURLUPART_USER)" ( (binary_expression "CURLUPART_QUERY|CURLUPART_USER" identifier | identifier) ))) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x00081180 */\n                    /* WARNING: Treating indirect jump as call */\n      CVar2 = (*(code *)(&_gp + *(int *)(PTR_DAT_000b1184 + what * 4 + -0x28a4)))();\n      return CVar2;\n    }" { comment comment (expression_statement "CVar2 = (*(code *)(&_gp + *(int *)(PTR_DAT_000b1184 + what * 4 + -0x28a4)))();" (assignment_expression "CVar2 = (*(code *)(&_gp + *(int *)(PTR_DAT_000b1184 + what * 4 + -0x28a4)))()" identifier = (call_expression "(*(code *)(&_gp + *(int *)(PTR_DAT_000b1184 + what * 4 + -0x28a4)))()" (parenthesized_expression "(*(code *)(&_gp + *(int *)(PTR_DAT_000b1184 + what * 4 + -0x28a4)))" ( (pointer_expression "*(code *)(&_gp + *(int *)(PTR_DAT_000b1184 + what * 4 + -0x28a4))" * (cast_expression "(code *)(&_gp + *(int *)(PTR_DAT_000b1184 + what * 4 + -0x28a4))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp + *(int *)(PTR_DAT_000b1184 + what * 4 + -0x28a4))" ( (binary_expression "&_gp + *(int *)(PTR_DAT_000b1184 + what * 4 + -0x28a4)" (pointer_expression "&_gp" & identifier) + (pointer_expression "*(int *)(PTR_DAT_000b1184 + what * 4 + -0x28a4)" * (cast_expression "(int *)(PTR_DAT_000b1184 + what * 4 + -0x28a4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000b1184 + what * 4 + -0x28a4)" ( (binary_expression "PTR_DAT_000b1184 + what * 4 + -0x28a4" (binary_expression "PTR_DAT_000b1184 + what * 4" identifier + (binary_expression "what * 4" identifier * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return CVar2;" return identifier ;) })) (expression_statement "CVar2 = CURLUE_UNKNOWN_PART;" (assignment_expression "CVar2 = CURLUE_UNKNOWN_PART" identifier = identifier) ;) }))))) (if_statement "if (iVar1 != *(int *)PTR___stack_chk_guard_000b1fd4) {\n    puVar3 = PTR___stack_chk_fail_000b1c48;\n    (*(code *)PTR___stack_chk_fail_000b1c48)();\n    if (what == CURLUPART_URL) {\n      if (part == (char *)0x0) {\n        CVar2 = CURLUE_OK;\n      }\n      else {\n        CVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);\n      }\n    }\n    else if (part == (char *)0x0) {\n      CVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,what,0,puVar3 + 0x376a0);\n    }\n    else {\n      CVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,what);\n    }\n    return CVar2;\n  }" if (parenthesized_expression "(iVar1 != *(int *)PTR___stack_chk_guard_000b1fd4)" ( (binary_expression "iVar1 != *(int *)PTR___stack_chk_guard_000b1fd4" identifier != (pointer_expression "*(int *)PTR___stack_chk_guard_000b1fd4" * (cast_expression "(int *)PTR___stack_chk_guard_000b1fd4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    puVar3 = PTR___stack_chk_fail_000b1c48;\n    (*(code *)PTR___stack_chk_fail_000b1c48)();\n    if (what == CURLUPART_URL) {\n      if (part == (char *)0x0) {\n        CVar2 = CURLUE_OK;\n      }\n      else {\n        CVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);\n      }\n    }\n    else if (part == (char *)0x0) {\n      CVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,what,0,puVar3 + 0x376a0);\n    }\n    else {\n      CVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,what);\n    }\n    return CVar2;\n  }" { (expression_statement "puVar3 = PTR___stack_chk_fail_000b1c48;" (assignment_expression "puVar3 = PTR___stack_chk_fail_000b1c48" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000b1c48)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b1c48)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b1c48)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000b1c48" * (cast_expression "(code *)PTR___stack_chk_fail_000b1c48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (what == CURLUPART_URL) {\n      if (part == (char *)0x0) {\n        CVar2 = CURLUE_OK;\n      }\n      else {\n        CVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);\n      }\n    }\n    else if (part == (char *)0x0) {\n      CVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,what,0,puVar3 + 0x376a0);\n    }\n    else {\n      CVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,what);\n    }" if (parenthesized_expression "(what == CURLUPART_URL)" ( (binary_expression "what == CURLUPART_URL" identifier == identifier) )) (compound_statement "{\n      if (part == (char *)0x0) {\n        CVar2 = CURLUE_OK;\n      }\n      else {\n        CVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);\n      }\n    }" { (if_statement "if (part == (char *)0x0) {\n        CVar2 = CURLUE_OK;\n      }\n      else {\n        CVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);\n      }" if (parenthesized_expression "(part == (char *)0x0)" ( (binary_expression "part == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        CVar2 = CURLUE_OK;\n      }" { (expression_statement "CVar2 = CURLUE_OK;" (assignment_expression "CVar2 = CURLUE_OK" identifier = identifier) ;) }) (else_clause "else {\n        CVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);\n      }" else (compound_statement "{\n        CVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);\n      }" { (expression_statement "CVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);" (assignment_expression "CVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1)" identifier = (call_expression "(**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1)" (parenthesized_expression "(**(code **)(puVar3 + 0x302e4))" ( (pointer_expression "**(code **)(puVar3 + 0x302e4)" * (pointer_expression "*(code **)(puVar3 + 0x302e4)" * (cast_expression "(code **)(puVar3 + 0x302e4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x302e4)" ( (binary_expression "puVar3 + 0x302e4" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1)" ( (binary_expression "*(int *)(puVar3 + 0x2f6cc) + 0x7044" (pointer_expression "*(int *)(puVar3 + 0x2f6cc)" * (cast_expression "(int *)(puVar3 + 0x2f6cc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + 0x2f6cc)" ( (binary_expression "puVar3 + 0x2f6cc" identifier + number_literal) )))) + number_literal) , identifier )))) ;) }))) }) (else_clause "else if (part == (char *)0x0) {\n      CVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,what,0,puVar3 + 0x376a0);\n    }\n    else {\n      CVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,what);\n    }" else (if_statement "if (part == (char *)0x0) {\n      CVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,what,0,puVar3 + 0x376a0);\n    }\n    else {\n      CVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,what);\n    }" if (parenthesized_expression "(part == (char *)0x0)" ( (binary_expression "part == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      CVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,what,0,puVar3 + 0x376a0);\n    }" { (expression_statement "CVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,what,0,puVar3 + 0x376a0);" (assignment_expression "CVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,what,0,puVar3 + 0x376a0)" identifier = (call_expression "(**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,what,0,puVar3 + 0x376a0)" (parenthesized_expression "(**(code **)(puVar3 + 0x302e4))" ( (pointer_expression "**(code **)(puVar3 + 0x302e4)" * (pointer_expression "*(code **)(puVar3 + 0x302e4)" * (cast_expression "(code **)(puVar3 + 0x302e4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x302e4)" ( (binary_expression "puVar3 + 0x302e4" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,what,0,puVar3 + 0x376a0)" ( (binary_expression "*(int *)(puVar3 + 0x2f714) + -0x2844" (pointer_expression "*(int *)(puVar3 + 0x2f714)" * (cast_expression "(int *)(puVar3 + 0x2f714)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + 0x2f714)" ( (binary_expression "puVar3 + 0x2f714" identifier + number_literal) )))) + number_literal) , identifier , identifier , number_literal , (binary_expression "puVar3 + 0x376a0" identifier + number_literal) )))) ;) }) (else_clause "else {\n      CVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,what);\n    }" else (compound_statement "{\n      CVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,what);\n    }" { (expression_statement "CVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,what);" (assignment_expression "CVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,what)" identifier = (call_expression "(**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,what)" (parenthesized_expression "(**(code **)(puVar3 + 0x302e4))" ( (pointer_expression "**(code **)(puVar3 + 0x302e4)" * (pointer_expression "*(code **)(puVar3 + 0x302e4)" * (cast_expression "(code **)(puVar3 + 0x302e4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x302e4)" ( (binary_expression "puVar3 + 0x302e4" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,what)" ( (binary_expression "*(int *)(puVar3 + 0x2f714) + -0x2850" (pointer_expression "*(int *)(puVar3 + 0x2f714)" * (cast_expression "(int *)(puVar3 + 0x2f714)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + 0x2f714)" ( (binary_expression "puVar3 + 0x2f714" identifier + number_literal) )))) + number_literal) , identifier , identifier )))) ;) }))))) (return_statement "return CVar2;" return identifier ;) })) (return_statement "return CVar2;" return identifier ;) })))
(translation_unit "undefined4 curl_url_set(int param_1,uint param_2,int param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined *puVar3;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_000b1fd4;\n  if (param_1 == 0) {\n    uVar2 = 1;\n  }\n  else if (param_3 == 0) {\n    if (param_2 < 10) {\n                    \n                    \n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }\n  else {\n    if (param_2 < 10) {\n                    \n                    \n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }\n  if (iVar1 != *(int *)PTR___stack_chk_guard_000b1fd4) {\n    puVar3 = PTR___stack_chk_fail_000b1c48;\n    (*(code *)PTR___stack_chk_fail_000b1c48)();\n    if (param_2 == 0) {\n      if (param_3 == 0) {\n        uVar2 = 0;\n      }\n      else {\n        uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);\n      }\n    }\n    else if (param_3 == 0) {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,param_2,0,puVar3 + 0x376a0);\n    }\n    else {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,param_2);\n    }\n    return uVar2;\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined4 curl_url_set(int param_1,uint param_2,int param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined *puVar3;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_000b1fd4;\n  if (param_1 == 0) {\n    uVar2 = 1;\n  }\n  else if (param_3 == 0) {\n    if (param_2 < 10) {\n                    \n                    \n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }\n  else {\n    if (param_2 < 10) {\n                    \n                    \n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }\n  if (iVar1 != *(int *)PTR___stack_chk_guard_000b1fd4) {\n    puVar3 = PTR___stack_chk_fail_000b1c48;\n    (*(code *)PTR___stack_chk_fail_000b1c48)();\n    if (param_2 == 0) {\n      if (param_3 == 0) {\n        uVar2 = 0;\n      }\n      else {\n        uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);\n      }\n    }\n    else if (param_3 == 0) {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,param_2,0,puVar3 + 0x376a0);\n    }\n    else {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,param_2);\n    }\n    return uVar2;\n  }\n  return uVar2;\n}" type_identifier (function_declarator "curl_url_set(int param_1,uint param_2,int param_3)" identifier (parameter_list "(int param_1,uint param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined *puVar3;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_000b1fd4;\n  if (param_1 == 0) {\n    uVar2 = 1;\n  }\n  else if (param_3 == 0) {\n    if (param_2 < 10) {\n                    \n                    \n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }\n  else {\n    if (param_2 < 10) {\n                    \n                    \n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }\n  if (iVar1 != *(int *)PTR___stack_chk_guard_000b1fd4) {\n    puVar3 = PTR___stack_chk_fail_000b1c48;\n    (*(code *)PTR___stack_chk_fail_000b1c48)();\n    if (param_2 == 0) {\n      if (param_3 == 0) {\n        uVar2 = 0;\n      }\n      else {\n        uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);\n      }\n    }\n    else if (param_3 == 0) {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,param_2,0,puVar3 + 0x376a0);\n    }\n    else {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,param_2);\n    }\n    return uVar2;\n  }\n  return uVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (expression_statement "iVar1 = *(int *)PTR___stack_chk_guard_000b1fd4;" (assignment_expression "iVar1 = *(int *)PTR___stack_chk_guard_000b1fd4" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000b1fd4" * (cast_expression "(int *)PTR___stack_chk_guard_000b1fd4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (param_1 == 0) {\n    uVar2 = 1;\n  }\n  else if (param_3 == 0) {\n    if (param_2 < 10) {\n                    \n                    \n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }\n  else {\n    if (param_2 < 10) {\n                    \n                    \n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar2 = 1;\n  }" { (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" identifier = number_literal) ;) }) (else_clause "else if (param_3 == 0) {\n    if (param_2 < 10) {\n                    \n                    \n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }\n  else {\n    if (param_2 < 10) {\n                    \n                    \n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }" else (if_statement "if (param_3 == 0) {\n    if (param_2 < 10) {\n                    \n                    \n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }\n  else {\n    if (param_2 < 10) {\n                    \n                    \n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n    if (param_2 < 10) {\n                    \n                    \n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }" { (if_statement "if (param_2 < 10) {\n                    \n                    \n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)))();\n      return uVar2;\n    }" if (parenthesized_expression "(param_2 < 10)" ( (binary_expression "param_2 < 10" identifier < number_literal) )) (compound_statement "{\n                    \n                    \n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)))();\n      return uVar2;\n    }" { (expression_statement "uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)))();" (assignment_expression "uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)))()" identifier = (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c))" ( (binary_expression "&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)" * (cast_expression "(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)" ( (binary_expression "PTR_DAT_000b1184 + param_2 * 4 + -0x287c" (binary_expression "PTR_DAT_000b1184 + param_2 * 4" identifier + (binary_expression "param_2 * 4" identifier * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar2;" return identifier ;) })) (expression_statement "uVar2 = 9;" (assignment_expression "uVar2 = 9" identifier = number_literal) ;) }) (else_clause "else {\n    if (param_2 < 10) {\n                    \n                    \n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }" else (compound_statement "{\n    if (param_2 < 10) {\n                    \n                    \n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }" { (if_statement "if (param_2 < 10) {\n                    \n                    \n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))();\n      return uVar2;\n    }" if (parenthesized_expression "(param_2 < 10)" ( (binary_expression "param_2 < 10" identifier < number_literal) )) (compound_statement "{\n                    \n                    \n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))();\n      return uVar2;\n    }" { (expression_statement "uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))();" (assignment_expression "uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))()" identifier = (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4))" ( (binary_expression "&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)" * (cast_expression "(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)" ( (binary_expression "PTR_DAT_000b1184 + param_2 * 4 + -0x28a4" (binary_expression "PTR_DAT_000b1184 + param_2 * 4" identifier + (binary_expression "param_2 * 4" identifier * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar2;" return identifier ;) })) (expression_statement "uVar2 = 9;" (assignment_expression "uVar2 = 9" identifier = number_literal) ;) }))))) (if_statement "if (iVar1 != *(int *)PTR___stack_chk_guard_000b1fd4) {\n    puVar3 = PTR___stack_chk_fail_000b1c48;\n    (*(code *)PTR___stack_chk_fail_000b1c48)();\n    if (param_2 == 0) {\n      if (param_3 == 0) {\n        uVar2 = 0;\n      }\n      else {\n        uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);\n      }\n    }\n    else if (param_3 == 0) {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,param_2,0,puVar3 + 0x376a0);\n    }\n    else {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,param_2);\n    }\n    return uVar2;\n  }" if (parenthesized_expression "(iVar1 != *(int *)PTR___stack_chk_guard_000b1fd4)" ( (binary_expression "iVar1 != *(int *)PTR___stack_chk_guard_000b1fd4" identifier != (pointer_expression "*(int *)PTR___stack_chk_guard_000b1fd4" * (cast_expression "(int *)PTR___stack_chk_guard_000b1fd4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    puVar3 = PTR___stack_chk_fail_000b1c48;\n    (*(code *)PTR___stack_chk_fail_000b1c48)();\n    if (param_2 == 0) {\n      if (param_3 == 0) {\n        uVar2 = 0;\n      }\n      else {\n        uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);\n      }\n    }\n    else if (param_3 == 0) {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,param_2,0,puVar3 + 0x376a0);\n    }\n    else {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,param_2);\n    }\n    return uVar2;\n  }" { (expression_statement "puVar3 = PTR___stack_chk_fail_000b1c48;" (assignment_expression "puVar3 = PTR___stack_chk_fail_000b1c48" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000b1c48)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b1c48)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b1c48)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000b1c48" * (cast_expression "(code *)PTR___stack_chk_fail_000b1c48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (param_2 == 0) {\n      if (param_3 == 0) {\n        uVar2 = 0;\n      }\n      else {\n        uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);\n      }\n    }\n    else if (param_3 == 0) {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,param_2,0,puVar3 + 0x376a0);\n    }\n    else {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,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        uVar2 = 0;\n      }\n      else {\n        uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);\n      }\n    }" { (if_statement "if (param_3 == 0) {\n        uVar2 = 0;\n      }\n      else {\n        uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);\n      }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n        uVar2 = 0;\n      }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else {\n        uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);\n      }" else (compound_statement "{\n        uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);\n      }" { (expression_statement "uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);" (assignment_expression "uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1)" identifier = (call_expression "(**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1)" (parenthesized_expression "(**(code **)(puVar3 + 0x302e4))" ( (pointer_expression "**(code **)(puVar3 + 0x302e4)" * (pointer_expression "*(code **)(puVar3 + 0x302e4)" * (cast_expression "(code **)(puVar3 + 0x302e4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x302e4)" ( (binary_expression "puVar3 + 0x302e4" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1)" ( (binary_expression "*(int *)(puVar3 + 0x2f6cc) + 0x7044" (pointer_expression "*(int *)(puVar3 + 0x2f6cc)" * (cast_expression "(int *)(puVar3 + 0x2f6cc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + 0x2f6cc)" ( (binary_expression "puVar3 + 0x2f6cc" identifier + number_literal) )))) + number_literal) , identifier )))) ;) }))) }) (else_clause "else if (param_3 == 0) {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,param_2,0,puVar3 + 0x376a0);\n    }\n    else {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,param_2);\n    }" else (if_statement "if (param_3 == 0) {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,param_2,0,puVar3 + 0x376a0);\n    }\n    else {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,param_2);\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,param_2,0,puVar3 + 0x376a0);\n    }" { (expression_statement "uVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,param_2,0,puVar3 + 0x376a0);" (assignment_expression "uVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,param_2,0,puVar3 + 0x376a0)" identifier = (call_expression "(**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,param_2,0,puVar3 + 0x376a0)" (parenthesized_expression "(**(code **)(puVar3 + 0x302e4))" ( (pointer_expression "**(code **)(puVar3 + 0x302e4)" * (pointer_expression "*(code **)(puVar3 + 0x302e4)" * (cast_expression "(code **)(puVar3 + 0x302e4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x302e4)" ( (binary_expression "puVar3 + 0x302e4" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,param_2,0,puVar3 + 0x376a0)" ( (binary_expression "*(int *)(puVar3 + 0x2f714) + -0x2844" (pointer_expression "*(int *)(puVar3 + 0x2f714)" * (cast_expression "(int *)(puVar3 + 0x2f714)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + 0x2f714)" ( (binary_expression "puVar3 + 0x2f714" identifier + number_literal) )))) + number_literal) , identifier , identifier , number_literal , (binary_expression "puVar3 + 0x376a0" identifier + number_literal) )))) ;) }) (else_clause "else {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,param_2);\n    }" else (compound_statement "{\n      uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,param_2);\n    }" { (expression_statement "uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,param_2);" (assignment_expression "uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,param_2)" identifier = (call_expression "(**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,param_2)" (parenthesized_expression "(**(code **)(puVar3 + 0x302e4))" ( (pointer_expression "**(code **)(puVar3 + 0x302e4)" * (pointer_expression "*(code **)(puVar3 + 0x302e4)" * (cast_expression "(code **)(puVar3 + 0x302e4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar3 + 0x302e4)" ( (binary_expression "puVar3 + 0x302e4" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,param_2)" ( (binary_expression "*(int *)(puVar3 + 0x2f714) + -0x2850" (pointer_expression "*(int *)(puVar3 + 0x2f714)" * (cast_expression "(int *)(puVar3 + 0x2f714)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + 0x2f714)" ( (binary_expression "puVar3 + 0x2f714" identifier + number_literal) )))) + number_literal) , identifier , identifier )))) ;) }))))) (return_statement "return uVar2;" return identifier ;) })) (return_statement "return uVar2;" 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 ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (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 = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) + LIT) ))))) )))) )) (argument_list ( )))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (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 *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) + LIT) ))))) )))) )) (argument_list ( )))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) }))))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (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 * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + 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 * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , IDENT , IDENT , LIT , (binary_expression IDENT + LIT) )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , IDENT , IDENT )))) ;) }))))) (return_statement return IDENT ;) })) (return_statement return IDENT ;) })))
(function_definition "undefined4 curl_url_set(int param_1,uint param_2,int param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined *puVar3;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_000b1fd4;\n  if (param_1 == 0) {\n    uVar2 = 1;\n  }\n  else if (param_3 == 0) {\n    if (param_2 < 10) {\n                    \n                    \n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }\n  else {\n    if (param_2 < 10) {\n                    \n                    \n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }\n  if (iVar1 != *(int *)PTR___stack_chk_guard_000b1fd4) {\n    puVar3 = PTR___stack_chk_fail_000b1c48;\n    (*(code *)PTR___stack_chk_fail_000b1c48)();\n    if (param_2 == 0) {\n      if (param_3 == 0) {\n        uVar2 = 0;\n      }\n      else {\n        uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);\n      }\n    }\n    else if (param_3 == 0) {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,param_2,0,puVar3 + 0x376a0);\n    }\n    else {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,param_2);\n    }\n    return uVar2;\n  }\n  return uVar2;\n}" (type_identifier "undefined4") (function_declarator "curl_url_set(int param_1,uint param_2,int param_3)" (identifier "curl_url_set") (parameter_list "(int param_1,uint param_2,int param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined *puVar3;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_000b1fd4;\n  if (param_1 == 0) {\n    uVar2 = 1;\n  }\n  else if (param_3 == 0) {\n    if (param_2 < 10) {\n                    \n                    \n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }\n  else {\n    if (param_2 < 10) {\n                    \n                    \n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }\n  if (iVar1 != *(int *)PTR___stack_chk_guard_000b1fd4) {\n    puVar3 = PTR___stack_chk_fail_000b1c48;\n    (*(code *)PTR___stack_chk_fail_000b1c48)();\n    if (param_2 == 0) {\n      if (param_3 == 0) {\n        uVar2 = 0;\n      }\n      else {\n        uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);\n      }\n    }\n    else if (param_3 == 0) {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,param_2,0,puVar3 + 0x376a0);\n    }\n    else {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,param_2);\n    }\n    return uVar2;\n  }\n  return uVar2;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (expression_statement "iVar1 = *(int *)PTR___stack_chk_guard_000b1fd4;" (assignment_expression "iVar1 = *(int *)PTR___stack_chk_guard_000b1fd4" (identifier "iVar1") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_000b1fd4" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_000b1fd4" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_000b1fd4")))) (; ";")) (if_statement "if (param_1 == 0) {\n    uVar2 = 1;\n  }\n  else if (param_3 == 0) {\n    if (param_2 < 10) {\n                    \n                    \n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }\n  else {\n    if (param_2 < 10) {\n                    \n                    \n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar2 = 1;\n  }" ({ "{") (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" (identifier "uVar2") (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else if (param_3 == 0) {\n    if (param_2 < 10) {\n                    \n                    \n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }\n  else {\n    if (param_2 < 10) {\n                    \n                    \n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }" (else "else") (if_statement "if (param_3 == 0) {\n    if (param_2 < 10) {\n                    \n                    \n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }\n  else {\n    if (param_2 < 10) {\n                    \n                    \n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (param_2 < 10) {\n                    \n                    \n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }" ({ "{") (if_statement "if (param_2 < 10) {\n                    \n                    \n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)))();\n      return uVar2;\n    }" (if "if") (parenthesized_expression "(param_2 < 10)" (( "(") (binary_expression "param_2 < 10" (identifier "param_2") (< "<") (number_literal "10")) () ")")) (compound_statement "{\n                    \n                    \n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)))();\n      return uVar2;\n    }" ({ "{") (expression_statement "uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)))();" (assignment_expression "uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)))()" (identifier "uVar2") (= "=") (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)))" (( "(") (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c))" (* "*") (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c))" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c))" (( "(") (binary_expression "&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)" (pointer_expression "&_gp_1" (& "&") (identifier "_gp_1")) (+ "+") (pointer_expression "*(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)" (* "*") (cast_expression "(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)" (( "(") (binary_expression "PTR_DAT_000b1184 + param_2 * 4 + -0x287c" (binary_expression "PTR_DAT_000b1184 + param_2 * 4" (identifier "PTR_DAT_000b1184") (+ "+") (binary_expression "param_2 * 4" (identifier "param_2") (* "*") (number_literal "4"))) (+ "+") (number_literal "-0x287c")) () ")"))))) () ")")))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (expression_statement "uVar2 = 9;" (assignment_expression "uVar2 = 9" (identifier "uVar2") (= "=") (number_literal "9")) (; ";")) (} "}")) (else_clause "else {\n    if (param_2 < 10) {\n                    \n                    \n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }" (else "else") (compound_statement "{\n    if (param_2 < 10) {\n                    \n                    \n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))();\n      return uVar2;\n    }\n    uVar2 = 9;\n  }" ({ "{") (if_statement "if (param_2 < 10) {\n                    \n                    \n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))();\n      return uVar2;\n    }" (if "if") (parenthesized_expression "(param_2 < 10)" (( "(") (binary_expression "param_2 < 10" (identifier "param_2") (< "<") (number_literal "10")) () ")")) (compound_statement "{\n                    \n                    \n      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))();\n      return uVar2;\n    }" ({ "{") (expression_statement "uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))();" (assignment_expression "uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))()" (identifier "uVar2") (= "=") (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))" (( "(") (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4))" (* "*") (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4))" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4))" (( "(") (binary_expression "&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)" (pointer_expression "&_gp_1" (& "&") (identifier "_gp_1")) (+ "+") (pointer_expression "*(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)" (* "*") (cast_expression "(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)" (( "(") (binary_expression "PTR_DAT_000b1184 + param_2 * 4 + -0x28a4" (binary_expression "PTR_DAT_000b1184 + param_2 * 4" (identifier "PTR_DAT_000b1184") (+ "+") (binary_expression "param_2 * 4" (identifier "param_2") (* "*") (number_literal "4"))) (+ "+") (number_literal "-0x28a4")) () ")"))))) () ")")))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (expression_statement "uVar2 = 9;" (assignment_expression "uVar2 = 9" (identifier "uVar2") (= "=") (number_literal "9")) (; ";")) (} "}")))))) (if_statement "if (iVar1 != *(int *)PTR___stack_chk_guard_000b1fd4) {\n    puVar3 = PTR___stack_chk_fail_000b1c48;\n    (*(code *)PTR___stack_chk_fail_000b1c48)();\n    if (param_2 == 0) {\n      if (param_3 == 0) {\n        uVar2 = 0;\n      }\n      else {\n        uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);\n      }\n    }\n    else if (param_3 == 0) {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,param_2,0,puVar3 + 0x376a0);\n    }\n    else {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,param_2);\n    }\n    return uVar2;\n  }" (if "if") (parenthesized_expression "(iVar1 != *(int *)PTR___stack_chk_guard_000b1fd4)" (( "(") (binary_expression "iVar1 != *(int *)PTR___stack_chk_guard_000b1fd4" (identifier "iVar1") (!= "!=") (pointer_expression "*(int *)PTR___stack_chk_guard_000b1fd4" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_000b1fd4" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_000b1fd4")))) () ")")) (compound_statement "{\n    puVar3 = PTR___stack_chk_fail_000b1c48;\n    (*(code *)PTR___stack_chk_fail_000b1c48)();\n    if (param_2 == 0) {\n      if (param_3 == 0) {\n        uVar2 = 0;\n      }\n      else {\n        uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);\n      }\n    }\n    else if (param_3 == 0) {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,param_2,0,puVar3 + 0x376a0);\n    }\n    else {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,param_2);\n    }\n    return uVar2;\n  }" ({ "{") (expression_statement "puVar3 = PTR___stack_chk_fail_000b1c48;" (assignment_expression "puVar3 = PTR___stack_chk_fail_000b1c48" (identifier "puVar3") (= "=") (identifier "PTR___stack_chk_fail_000b1c48")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_000b1c48)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b1c48)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b1c48)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_000b1c48" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_000b1c48" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_000b1c48"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (param_2 == 0) {\n      if (param_3 == 0) {\n        uVar2 = 0;\n      }\n      else {\n        uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);\n      }\n    }\n    else if (param_3 == 0) {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,param_2,0,puVar3 + 0x376a0);\n    }\n    else {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,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        uVar2 = 0;\n      }\n      else {\n        uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);\n      }\n    }" ({ "{") (if_statement "if (param_3 == 0) {\n        uVar2 = 0;\n      }\n      else {\n        uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);\n      }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        uVar2 = 0;\n      }" ({ "{") (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n        uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);\n      }" (else "else") (compound_statement "{\n        uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);\n      }" ({ "{") (expression_statement "uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);" (assignment_expression "uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1)" (identifier "uVar2") (= "=") (call_expression "(**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1)" (parenthesized_expression "(**(code **)(puVar3 + 0x302e4))" (( "(") (pointer_expression "**(code **)(puVar3 + 0x302e4)" (* "*") (pointer_expression "*(code **)(puVar3 + 0x302e4)" (* "*") (cast_expression "(code **)(puVar3 + 0x302e4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar3 + 0x302e4)" (( "(") (binary_expression "puVar3 + 0x302e4" (identifier "puVar3") (+ "+") (number_literal "0x302e4")) () ")"))))) () ")")) (argument_list "(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1)" (( "(") (binary_expression "*(int *)(puVar3 + 0x2f6cc) + 0x7044" (pointer_expression "*(int *)(puVar3 + 0x2f6cc)" (* "*") (cast_expression "(int *)(puVar3 + 0x2f6cc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar3 + 0x2f6cc)" (( "(") (binary_expression "puVar3 + 0x2f6cc" (identifier "puVar3") (+ "+") (number_literal "0x2f6cc")) () ")")))) (+ "+") (number_literal "0x7044")) (, ",") (identifier "iVar1") () ")")))) (; ";")) (} "}")))) (} "}")) (else_clause "else if (param_3 == 0) {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,param_2,0,puVar3 + 0x376a0);\n    }\n    else {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,param_2);\n    }" (else "else") (if_statement "if (param_3 == 0) {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,param_2,0,puVar3 + 0x376a0);\n    }\n    else {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,param_2);\n    }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,param_2,0,puVar3 + 0x376a0);\n    }" ({ "{") (expression_statement "uVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,param_2,0,puVar3 + 0x376a0);" (assignment_expression "uVar2 = (**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,param_2,0,puVar3 + 0x376a0)" (identifier "uVar2") (= "=") (call_expression "(**(code **)(puVar3 + 0x302e4))\n                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,param_2,0,puVar3 + 0x376a0)" (parenthesized_expression "(**(code **)(puVar3 + 0x302e4))" (( "(") (pointer_expression "**(code **)(puVar3 + 0x302e4)" (* "*") (pointer_expression "*(code **)(puVar3 + 0x302e4)" (* "*") (cast_expression "(code **)(puVar3 + 0x302e4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar3 + 0x302e4)" (( "(") (binary_expression "puVar3 + 0x302e4" (identifier "puVar3") (+ "+") (number_literal "0x302e4")) () ")"))))) () ")")) (argument_list "(*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,param_2,0,puVar3 + 0x376a0)" (( "(") (binary_expression "*(int *)(puVar3 + 0x2f714) + -0x2844" (pointer_expression "*(int *)(puVar3 + 0x2f714)" (* "*") (cast_expression "(int *)(puVar3 + 0x2f714)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar3 + 0x2f714)" (( "(") (binary_expression "puVar3 + 0x2f714" (identifier "puVar3") (+ "+") (number_literal "0x2f714")) () ")")))) (+ "+") (number_literal "-0x2844")) (, ",") (identifier "iVar1") (, ",") (identifier "param_2") (, ",") (number_literal "0") (, ",") (binary_expression "puVar3 + 0x376a0" (identifier "puVar3") (+ "+") (number_literal "0x376a0")) () ")")))) (; ";")) (} "}")) (else_clause "else {\n      uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,param_2);\n    }" (else "else") (compound_statement "{\n      uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,param_2);\n    }" ({ "{") (expression_statement "uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,param_2);" (assignment_expression "uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,param_2)" (identifier "uVar2") (= "=") (call_expression "(**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,param_2)" (parenthesized_expression "(**(code **)(puVar3 + 0x302e4))" (( "(") (pointer_expression "**(code **)(puVar3 + 0x302e4)" (* "*") (pointer_expression "*(code **)(puVar3 + 0x302e4)" (* "*") (cast_expression "(code **)(puVar3 + 0x302e4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar3 + 0x302e4)" (( "(") (binary_expression "puVar3 + 0x302e4" (identifier "puVar3") (+ "+") (number_literal "0x302e4")) () ")"))))) () ")")) (argument_list "(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,param_2)" (( "(") (binary_expression "*(int *)(puVar3 + 0x2f714) + -0x2850" (pointer_expression "*(int *)(puVar3 + 0x2f714)" (* "*") (cast_expression "(int *)(puVar3 + 0x2f714)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar3 + 0x2f714)" (( "(") (binary_expression "puVar3 + 0x2f714" (identifier "puVar3") (+ "+") (number_literal "0x2f714")) () ")")))) (+ "+") (number_literal "-0x2850")) (, ",") (identifier "iVar1") (, ",") (identifier "param_2") () ")")))) (; ";")) (} "}")))))) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}")))

type_1 function_1(type_2 *var_1,type_3 var_3,char *var_2,type_4 flags)

{
  int var_7;
  type_1 CVar2;
  type_5 *var_9;
  char *oldurl;
  
  var_7 = *(int *)PTR___stack_chk_guard_000b1fd4;
  if (var_1 == (type_2 *)0x0) {
    CVar2 = CURLUE_BAD_HANDLE;
  }
  else if (var_2 == (char *)0x0) {
    if (var_3 < (var_4|var_5)) {
                    /* WARNING: Could not emulate address calculation at 0x000811a8 */
                    /* WARNING: Treating indirect jump as call */
      CVar2 = (*(type_6 *)(&_gp + *(int *)(var_6 + var_3 * 4 + -0x287c)))();
      return CVar2;
    }
    CVar2 = CURLUE_UNKNOWN_PART;
  }
  else {
    if (var_3 < (var_4|var_5)) {
                    /* WARNING: Could not emulate address calculation at 0x00081180 */
                    /* WARNING: Treating indirect jump as call */
      CVar2 = (*(type_6 *)(&_gp + *(int *)(var_6 + var_3 * 4 + -0x28a4)))();
      return CVar2;
    }
    CVar2 = CURLUE_UNKNOWN_PART;
  }
  if (var_7 != *(int *)PTR___stack_chk_guard_000b1fd4) {
    var_9 = PTR___stack_chk_fail_000b1c48;
    (*(type_6 *)PTR___stack_chk_fail_000b1c48)();
    if (var_3 == var_8) {
      if (var_2 == (char *)0x0) {
        CVar2 = CURLUE_OK;
      }
      else {
        CVar2 = (**(type_6 **)(var_9 + 0x302e4))(*(int *)(var_9 + 0x2f6cc) + 0x7044,var_7);
      }
    }
    else if (var_2 == (char *)0x0) {
      CVar2 = (**(type_6 **)(var_9 + 0x302e4))
                        (*(int *)(var_9 + 0x2f714) + -0x2844,var_7,var_3,0,var_9 + 0x376a0);
    }
    else {
      CVar2 = (**(type_6 **)(var_9 + 0x302e4))(*(int *)(var_9 + 0x2f714) + -0x2850,var_7,var_3);
    }
    return CVar2;
  }
  return CVar2;
}


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

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

{
  int iVar1;
  undefined4 uVar2;
  undefined *puVar3;
  
  iVar1 = *(int *)PTR___stack_chk_guard_000b1fd4;
  if (param_1 == 0) {
    uVar2 = 1;
  }
  else if (param_3 == 0) {
    if (param_2 < 10) {
                    /* WARNING: Could not emulate address calculation at 0x000811a8 */
                    /* WARNING: Treating indirect jump as call */
      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x287c)))();
      return uVar2;
    }
    uVar2 = 9;
  }
  else {
    if (param_2 < 10) {
                    /* WARNING: Could not emulate address calculation at 0x00081180 */
                    /* WARNING: Treating indirect jump as call */
      uVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_DAT_000b1184 + param_2 * 4 + -0x28a4)))();
      return uVar2;
    }
    uVar2 = 9;
  }
  if (iVar1 != *(int *)PTR___stack_chk_guard_000b1fd4) {
    puVar3 = PTR___stack_chk_fail_000b1c48;
    (*(code *)PTR___stack_chk_fail_000b1c48)();
    if (param_2 == 0) {
      if (param_3 == 0) {
        uVar2 = 0;
      }
      else {
        uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f6cc) + 0x7044,iVar1);
      }
    }
    else if (param_3 == 0) {
      uVar2 = (**(code **)(puVar3 + 0x302e4))
                        (*(int *)(puVar3 + 0x2f714) + -0x2844,iVar1,param_2,0,puVar3 + 0x376a0);
    }
    else {
      uVar2 = (**(code **)(puVar3 + 0x302e4))(*(int *)(puVar3 + 0x2f714) + -0x2850,iVar1,param_2);
    }
    return uVar2;
  }
  return uVar2;
}

