
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

int conf_deserialise(Conf *conf,void *vdata,int maxsize)

{
  int iVar1;
  FontSpec *pFVar2;
  conf_entry *entry;
  void *pvVar3;
  char *pcVar4;
  int iVar5;
  uint uVar6;
  uint *s;
  uint *puVar7;
  int in_GS_OFFSET;
  bool bVar8;
  size_t local_48;
  uint *local_44;
  int used;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x15e09;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if (maxsize < 4) {
    iVar5 = 0;
  }
  else {
    local_44 = (uint *)((int)vdata + 4);
                    /* WARNING: Load size is inaccurate */
    uVar6 = *vdata;
    local_48 = maxsize - 4;
    uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;
    if (uVar6 < 0xb8) {
      puVar7 = (uint *)vdata;
      do {
        entry = (conf_entry *)safemalloc(1,0xc);
        (entry->key).primary = uVar6;
        if (subkeytypes[uVar6] == 1) {
          if ((int)local_48 < 4) {
LAB_000160b0:
            safefree(entry);
            iVar5 = (int)local_44 - (int)vdata;
            goto LAB_00015fde;
          }
          uVar6 = puVar7[1];
          s = puVar7 + 2;
          local_48 = maxsize - 8;
          iVar5 = toint(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |
                        uVar6 << 0x18);
          uVar6 = (entry->key).primary;
          (entry->key).secondary.i = iVar5;
LAB_00015eb9:
          iVar5 = valuetypes[uVar6];
          iVar1 = iVar5 + -2;
          bVar8 = iVar5 == 2;
          if (bVar8) goto LAB_00015f80;
LAB_00015ec9:
          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {
            if (iVar5 == 3) {
              pFVar2 = (FontSpec *)filename_deserialise(s,local_48,&used);
              (entry->value).u.fileval = (Filename *)pFVar2;
            }
            else {
              if (iVar5 != 4) goto LAB_00015f01;
              pFVar2 = fontspec_deserialise(s,local_48,&used);
              (entry->value).u.fontval = pFVar2;
            }
            if (pFVar2 != (FontSpec *)0x0) {
              s = (uint *)((int)s + used);
              local_48 = local_48 - used;
              goto LAB_00015f01;
            }
            iVar5 = subkeytypes[(entry->key).primary];
            goto joined_r0x00016086;
          }
          if (iVar5 == 1) {
            if (3 < (int)local_48) {
              uVar6 = *s;
              s = s + 1;
              local_48 = local_48 - 4;
              iVar5 = toint(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |
                            uVar6 << 0x18);
              (entry->value).u.intval = iVar5;
              goto LAB_00015f01;
            }
            goto LAB_000160c9;
          }
LAB_00015f01:
          conf_insert(conf,entry);
          puVar7 = s;
          maxsize = local_48;
        }
        else {
          if (subkeytypes[uVar6] == 2) {
            pvVar3 = memchr(local_44,0,local_48);
            if (pvVar3 == (void *)0x0) goto LAB_000160b0;
            s = (uint *)((int)pvVar3 + 1);
            pcVar4 = dupstr((char *)local_44);
            uVar6 = (entry->key).primary;
            (entry->key).secondary.s = pcVar4;
            local_48 = local_48 - ((int)s - (int)local_44);
            goto LAB_00015eb9;
          }
          iVar5 = valuetypes[uVar6];
          iVar1 = iVar5 + -2;
          bVar8 = iVar1 == 0;
          s = local_44;
          if (!bVar8) goto LAB_00015ec9;
LAB_00015f80:
          pvVar3 = memchr(s,0,local_48);
          if (pvVar3 == (void *)0x0) {
LAB_000160c9:
            iVar5 = subkeytypes[uVar6];
joined_r0x00016086:
            if (iVar5 == 2) {
              safefree((entry->key).secondary.s);
            }
            safefree(entry);
            iVar5 = (int)s - (int)vdata;
            goto LAB_00015fde;
          }
          pcVar4 = dupstr((char *)s);
          (entry->value).u.stringval = pcVar4;
          puVar7 = (uint *)((int)pvVar3 + 1);
          maxsize = local_48 - ((int)puVar7 - (int)s);
          conf_insert(conf,entry);
        }
        if (maxsize < 4) {
          iVar5 = (int)puVar7 - (int)vdata;
          goto LAB_00015fde;
        }
        local_44 = puVar7 + 1;
        uVar6 = *puVar7;
        local_48 = maxsize - 4;
        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;
      } while (uVar6 < 0xb8);
      iVar5 = (int)local_44 - (int)vdata;
    }
    else {
      iVar5 = 4;
    }
  }
LAB_00015fde:
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return iVar5;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail_local();
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

int FUN_00015e00(undefined4 param_1,uint *param_2,size_t param_3)

{
  int iVar1;
  uint uVar2;
  uint *puVar3;
  void *pvVar4;
  int iVar5;
  uint uVar6;
  uint *__s;
  uint *puVar7;
  int in_GS_OFFSET;
  bool bVar8;
  size_t local_48;
  uint *local_44;
  int local_24;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x15e09;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if ((int)param_3 < 4) {
    iVar5 = 0;
  }
  else {
    local_44 = param_2 + 1;
    uVar6 = *param_2;
    local_48 = param_3 - 4;
    uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;
    if (uVar6 < 0xb8) {
      puVar7 = param_2;
      do {
        puVar3 = (uint *)FUN_0001bd60(1,0xc);
        *puVar3 = uVar6;
        if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 1) {
          if ((int)local_48 < 4) {
LAB_000160b0:
            FUN_0001c5f0(puVar3);
            iVar5 = (int)local_44 - (int)param_2;
            goto LAB_00015fde;
          }
          uVar6 = puVar7[1];
          __s = puVar7 + 2;
          local_48 = param_3 - 8;
          uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |
                               uVar6 << 0x18);
          uVar6 = *puVar3;
          puVar3[1] = uVar2;
LAB_00015eb9:
          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);
          iVar1 = iVar5 + -2;
          bVar8 = iVar5 == 2;
          if (bVar8) goto LAB_00015f80;
LAB_00015ec9:
          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {
            if (iVar5 == 3) {
              uVar6 = FUN_0003b290(__s,local_48,&local_24);
              puVar3[2] = uVar6;
            }
            else {
              if (iVar5 != 4) goto LAB_00015f01;
              uVar6 = FUN_0003b750(__s,local_48,&local_24);
              puVar3[2] = uVar6;
            }
            if (uVar6 != 0) {
              __s = (uint *)((int)__s + local_24);
              local_48 = local_48 - local_24;
              goto LAB_00015f01;
            }
            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);
            goto joined_r0x00016086;
          }
          if (iVar5 == 1) {
            if (3 < (int)local_48) {
              uVar6 = *__s;
              __s = __s + 1;
              local_48 = local_48 - 4;
              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |
                                   uVar6 << 0x18);
              puVar3[2] = uVar6;
              goto LAB_00015f01;
            }
            goto LAB_000160c9;
          }
LAB_00015f01:
          FUN_00014cf0();
          puVar7 = __s;
          param_3 = local_48;
        }
        else {
          if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {
            pvVar4 = memchr(local_44,0,local_48);
            if (pvVar4 == (void *)0x0) goto LAB_000160b0;
            __s = (uint *)((int)pvVar4 + 1);
            uVar2 = FUN_0001be70(local_44);
            uVar6 = *puVar3;
            puVar3[1] = uVar2;
            local_48 = local_48 - ((int)__s - (int)local_44);
            goto LAB_00015eb9;
          }
          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);
          iVar1 = iVar5 + -2;
          bVar8 = iVar1 == 0;
          __s = local_44;
          if (!bVar8) goto LAB_00015ec9;
LAB_00015f80:
          pvVar4 = memchr(__s,0,local_48);
          if (pvVar4 == (void *)0x0) {
LAB_000160c9:
            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);
joined_r0x00016086:
            if (iVar5 == 2) {
              FUN_0001c5f0(puVar3[1]);
            }
            FUN_0001c5f0(puVar3);
            iVar5 = (int)__s - (int)param_2;
            goto LAB_00015fde;
          }
          uVar6 = FUN_0001be70(__s);
          puVar3[2] = uVar6;
          puVar7 = (uint *)((int)pvVar4 + 1);
          param_3 = local_48 - ((int)puVar7 - (int)__s);
          FUN_00014cf0();
        }
        if ((int)param_3 < 4) {
          iVar5 = (int)puVar7 - (int)param_2;
          goto LAB_00015fde;
        }
        local_44 = puVar7 + 1;
        uVar6 = *puVar7;
        local_48 = param_3 - 4;
        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;
      } while (uVar6 < 0xb8);
      iVar5 = (int)local_44 - (int)param_2;
    }
    else {
      iVar5 = 4;
    }
  }
LAB_00015fde:
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return iVar5;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0003dc30();
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00014540
ADD EBX,0x4705b
SUB ESP,0x3c
MOV EAX,dword ptr [ESP + 0x50]
MOV EBP,dword ptr [ESP + 0x54]
MOV ESI,dword ptr [ESP + 0x58]
MOV dword ptr [ESP + 0x14],EAX
MOV dword ptr [ESP + 0x1c],EBP
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x2c],EAX
XOR EAX,EAX
CMP ESI,0x3
JLE 0x000160e3
LEA EAX,[EBP + 0x4]
MOV EDX,dword ptr [EBP]
MOV dword ptr [ESP + 0x8],EAX
LEA EAX,[ESI + -0x4]
BSWAP EDX
MOV dword ptr [ESP + 0x4],EAX
CMP EDX,0xb7
JA 0x000160ea
LEA EAX,[EBX + 0xfffe26fc]
MOV dword ptr [ESP + 0x10],EAX
LEA EAX,[ESP + 0x28]
MOV dword ptr [ESP + 0x18],EAX
JMP 0x00015f34
SUB ESP,0x4
PUSH dword ptr [ESP + 0x8]
PUSH 0x0
PUSH dword ptr [ESP + 0x14]
CALL 0x000123b0
ADD ESP,0x10
MOV EBP,EAX
TEST EAX,EAX
JZ 0x000160b0
SUB ESP,0xc
ADD EBP,0x1
MOV ESI,dword ptr [ESP + 0x14]
PUSH ESI
CALL 0x0001be70
MOV EDX,dword ptr [EDI]
MOV dword ptr [EDI + 0x4],EAX
MOV EAX,EBP
SUB EAX,ESI
MOV ESI,dword ptr [ESP + 0x14]
ADD ESP,0x10
SUB ESI,EAX
MOV EAX,dword ptr [EBX + EDX*0x4 + 0xfffe241c]
CMP EAX,0x2
JZ 0x00015f80
JLE 0x00016000
CMP EAX,0x3
JZ 0x00016060
CMP EAX,0x4
JNZ 0x00015f01
SUB ESP,0x4
PUSH dword ptr [ESP + 0x1c]
PUSH ESI
PUSH EBP
CALL 0x0003b750
ADD ESP,0x10
MOV dword ptr [EDI + 0x8],EAX
TEST EAX,EAX
JZ 0x0001607c
MOV EAX,dword ptr [ESP + 0x28]
ADD EBP,EAX
SUB ESI,EAX
MOV EAX,dword ptr [ESP + 0x14]
MOV EDX,EDI
CALL 0x00014cf0
CMP ESI,0x3
JLE 0x00015fd8
LEA EAX,[EBP + 0x4]
MOV EDX,dword ptr [EBP]
MOV dword ptr [ESP + 0x8],EAX
LEA EAX,[ESI + -0x4]
BSWAP EDX
MOV dword ptr [ESP + 0x4],EAX
CMP EDX,0xb7
JA 0x000160a0
MOV dword ptr [ESP + 0xc],EDX
SUB ESP,0x8
PUSH 0xc
PUSH 0x1
CALL 0x0001bd60
MOV EDX,dword ptr [ESP + 0x1c]
MOV EDI,EAX
MOV dword ptr [EAX],EDX
MOV EAX,dword ptr [ESP + 0x20]
ADD ESP,0x10
MOV EAX,dword ptr [EAX + EDX*0x4]
CMP EAX,0x1
JZ 0x00016038
CMP EAX,0x2
JZ 0x00015e78
MOV EAX,dword ptr [EBX + EDX*0x4 + 0xfffe241c]
MOV EBP,dword ptr [ESP + 0x8]
MOV ESI,dword ptr [ESP + 0x4]
CMP EAX,0x2
JNZ 0x00015ec9
MOV dword ptr [ESP + 0x4],EDX
SUB ESP,0x4
PUSH ESI
PUSH 0x0
PUSH EBP
CALL 0x000123b0
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x4]
TEST EAX,EAX
JZ 0x000160c9
MOV dword ptr [ESP + 0x4],EAX
SUB ESP,0xc
PUSH EBP
CALL 0x0001be70
MOV ECX,dword ptr [ESP + 0x14]
ADD ESP,0x10
MOV dword ptr [EDI + 0x8],EAX
LEA EDX,[ECX + 0x1]
MOV EAX,EDX
SUB EAX,EBP
MOV EBP,EDX
MOV EDX,EDI
SUB ESI,EAX
MOV EAX,dword ptr [ESP + 0x14]
CALL 0x00014cf0
CMP ESI,0x3
JG 0x00015f15
LEA ESI,[ESI]
MOV EAX,EBP
SUB EAX,dword ptr [ESP + 0x1c]
MOV ECX,dword ptr [ESP + 0x2c]
XOR ECX,dword ptr GS:[0x14]
JNZ 0x000160f4
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET
CMP EAX,0x1
JNZ 0x00015f01
CMP ESI,0x3
JLE 0x000160c9
MOV EAX,dword ptr [EBP]
SUB ESP,0xc
ADD EBP,0x4
SUB ESI,0x4
BSWAP EAX
PUSH EAX
CALL 0x0001b7d0
ADD ESP,0x10
MOV dword ptr [EDI + 0x8],EAX
JMP 0x00015f01
CMP dword ptr [ESP + 0x4],0x3
JLE 0x000160b0
MOV EAX,dword ptr [EBP + 0x4]
SUB ESP,0xc
ADD EBP,0x8
SUB ESI,0x8
BSWAP EAX
PUSH EAX
CALL 0x0001b7d0
MOV EDX,dword ptr [EDI]
ADD ESP,0x10
MOV dword ptr [EDI + 0x4],EAX
JMP 0x00015eb9
SUB ESP,0x4
PUSH dword ptr [ESP + 0x1c]
PUSH ESI
PUSH EBP
CALL 0x0003b290
ADD ESP,0x10
MOV dword ptr [EDI + 0x8],EAX
TEST EAX,EAX
JNZ 0x00015ef9
MOV EAX,dword ptr [EDI]
MOV ECX,dword ptr [ESP + 0x10]
CMP dword ptr [ECX + EAX*0x4],0x2
JZ 0x000160d3
SUB ESP,0xc
PUSH EDI
CALL 0x0001c5f0
MOV EAX,EBP
SUB EAX,dword ptr [ESP + 0x2c]
ADD ESP,0x10
JMP 0x00015fde
MOV EAX,dword ptr [ESP + 0x8]
SUB EAX,dword ptr [ESP + 0x1c]
JMP 0x00015fde
SUB ESP,0xc
PUSH EDI
CALL 0x0001c5f0
MOV EAX,dword ptr [ESP + 0x18]
SUB EAX,dword ptr [ESP + 0x2c]
ADD ESP,0x10
JMP 0x00015fde
MOV EAX,dword ptr [ESP + 0x10]
CMP dword ptr [EAX + EDX*0x4],0x2
JNZ 0x00016088
SUB ESP,0xc
PUSH dword ptr [EDI + 0x4]
CALL 0x0001c5f0
ADD ESP,0x10
JMP 0x00016088
XOR EAX,EAX
JMP 0x00015fde
MOV EAX,0x4
JMP 0x00015fde
CALL 0x0003dc30
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint FUN_00015e00(undefined4 param_1,uint *param_2,size_t param_3)\n\n{\n  int iVar1;\n  uint uVar2;\n  uint *puVar3;\n  void *pvVar4;\n  int iVar5;\n  uint uVar6;\n  uint *__s;\n  uint *puVar7;\n  int in_GS_OFFSET;\n  bool bVar8;\n  size_t local_48;\n  uint *local_44;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x15e09;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((int)param_3 < 4) {\n    iVar5 = 0;\n  }\n  else {\n    local_44 = param_2 + 1;\n    uVar6 = *param_2;\n    local_48 = param_3 - 4;\n    uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    if (uVar6 < 0xb8) {\n      puVar7 = param_2;\n      do {\n        puVar3 = (uint *)FUN_0001bd60(1,0xc);\n        *puVar3 = uVar6;\n        if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          __s = puVar7 + 2;\n          local_48 = param_3 - 8;\n          uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18);\n          uVar6 = *puVar3;\n          puVar3[1] = uVar2;\nLAB_00015eb9:\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          FUN_00014cf0();\n          puVar7 = __s;\n          param_3 = local_48;\n        }\n        else {\n          if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          __s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);\n          if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = FUN_0001be70(__s);\n          puVar3[2] = uVar6;\n          puVar7 = (uint *)((int)pvVar4 + 1);\n          param_3 = local_48 - ((int)puVar7 - (int)__s);\n          FUN_00014cf0();\n        }\n        if ((int)param_3 < 4) {\n          iVar5 = (int)puVar7 - (int)param_2;\n          goto LAB_00015fde;\n        }\n        local_44 = puVar7 + 1;\n        uVar6 = *puVar7;\n        local_48 = param_3 - 4;\n        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      } while (uVar6 < 0xb8);\n      iVar5 = (int)local_44 - (int)param_2;\n    }\n    else {\n      iVar5 = 4;\n    }\n  }\nLAB_00015fde:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0003dc30();\n}\n\n" comment (function_definition "int FUN_00015e00(undefined4 param_1,uint *param_2,size_t param_3)\n\n{\n  int iVar1;\n  uint uVar2;\n  uint *puVar3;\n  void *pvVar4;\n  int iVar5;\n  uint uVar6;\n  uint *__s;\n  uint *puVar7;\n  int in_GS_OFFSET;\n  bool bVar8;\n  size_t local_48;\n  uint *local_44;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x15e09;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((int)param_3 < 4) {\n    iVar5 = 0;\n  }\n  else {\n    local_44 = param_2 + 1;\n    uVar6 = *param_2;\n    local_48 = param_3 - 4;\n    uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    if (uVar6 < 0xb8) {\n      puVar7 = param_2;\n      do {\n        puVar3 = (uint *)FUN_0001bd60(1,0xc);\n        *puVar3 = uVar6;\n        if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          __s = puVar7 + 2;\n          local_48 = param_3 - 8;\n          uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18);\n          uVar6 = *puVar3;\n          puVar3[1] = uVar2;\nLAB_00015eb9:\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          FUN_00014cf0();\n          puVar7 = __s;\n          param_3 = local_48;\n        }\n        else {\n          if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          __s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);\n          if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = FUN_0001be70(__s);\n          puVar3[2] = uVar6;\n          puVar7 = (uint *)((int)pvVar4 + 1);\n          param_3 = local_48 - ((int)puVar7 - (int)__s);\n          FUN_00014cf0();\n        }\n        if ((int)param_3 < 4) {\n          iVar5 = (int)puVar7 - (int)param_2;\n          goto LAB_00015fde;\n        }\n        local_44 = puVar7 + 1;\n        uVar6 = *puVar7;\n        local_48 = param_3 - 4;\n        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      } while (uVar6 < 0xb8);\n      iVar5 = (int)local_44 - (int)param_2;\n    }\n    else {\n      iVar5 = 4;\n    }\n  }\nLAB_00015fde:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0003dc30();\n}" primitive_type (function_declarator "FUN_00015e00(undefined4 param_1,uint *param_2,size_t param_3)" identifier (parameter_list "(undefined4 param_1,uint *param_2,size_t param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "uint *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "size_t param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  uint *puVar3;\n  void *pvVar4;\n  int iVar5;\n  uint uVar6;\n  uint *__s;\n  uint *puVar7;\n  int in_GS_OFFSET;\n  bool bVar8;\n  size_t local_48;\n  uint *local_44;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x15e09;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((int)param_3 < 4) {\n    iVar5 = 0;\n  }\n  else {\n    local_44 = param_2 + 1;\n    uVar6 = *param_2;\n    local_48 = param_3 - 4;\n    uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    if (uVar6 < 0xb8) {\n      puVar7 = param_2;\n      do {\n        puVar3 = (uint *)FUN_0001bd60(1,0xc);\n        *puVar3 = uVar6;\n        if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          __s = puVar7 + 2;\n          local_48 = param_3 - 8;\n          uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18);\n          uVar6 = *puVar3;\n          puVar3[1] = uVar2;\nLAB_00015eb9:\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          FUN_00014cf0();\n          puVar7 = __s;\n          param_3 = local_48;\n        }\n        else {\n          if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          __s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);\n          if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = FUN_0001be70(__s);\n          puVar3[2] = uVar6;\n          puVar7 = (uint *)((int)pvVar4 + 1);\n          param_3 = local_48 - ((int)puVar7 - (int)__s);\n          FUN_00014cf0();\n        }\n        if ((int)param_3 < 4) {\n          iVar5 = (int)puVar7 - (int)param_2;\n          goto LAB_00015fde;\n        }\n        local_44 = puVar7 + 1;\n        uVar6 = *puVar7;\n        local_48 = param_3 - 4;\n        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      } while (uVar6 < 0xb8);\n      iVar5 = (int)local_44 - (int)param_2;\n    }\n    else {\n      iVar5 = 4;\n    }\n  }\nLAB_00015fde:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0003dc30();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "void *pvVar4;" primitive_type (pointer_declarator "*pvVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint *__s;" type_identifier (pointer_declarator "*__s" * identifier) ;) (declaration "uint *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar8;" primitive_type identifier ;) (declaration "size_t local_48;" primitive_type identifier ;) (declaration "uint *local_44;" type_identifier (pointer_declarator "*local_44" * identifier) ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x15e09;" (assignment_expression "uStack_14 = 0x15e09" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if ((int)param_3 < 4) {\n    iVar5 = 0;\n  }\n  else {\n    local_44 = param_2 + 1;\n    uVar6 = *param_2;\n    local_48 = param_3 - 4;\n    uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    if (uVar6 < 0xb8) {\n      puVar7 = param_2;\n      do {\n        puVar3 = (uint *)FUN_0001bd60(1,0xc);\n        *puVar3 = uVar6;\n        if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          __s = puVar7 + 2;\n          local_48 = param_3 - 8;\n          uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18);\n          uVar6 = *puVar3;\n          puVar3[1] = uVar2;\nLAB_00015eb9:\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          FUN_00014cf0();\n          puVar7 = __s;\n          param_3 = local_48;\n        }\n        else {\n          if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          __s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);\n          if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = FUN_0001be70(__s);\n          puVar3[2] = uVar6;\n          puVar7 = (uint *)((int)pvVar4 + 1);\n          param_3 = local_48 - ((int)puVar7 - (int)__s);\n          FUN_00014cf0();\n        }\n        if ((int)param_3 < 4) {\n          iVar5 = (int)puVar7 - (int)param_2;\n          goto LAB_00015fde;\n        }\n        local_44 = puVar7 + 1;\n        uVar6 = *puVar7;\n        local_48 = param_3 - 4;\n        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      } while (uVar6 < 0xb8);\n      iVar5 = (int)local_44 - (int)param_2;\n    }\n    else {\n      iVar5 = 4;\n    }\n  }" if (parenthesized_expression "((int)param_3 < 4)" ( (binary_expression "(int)param_3 < 4" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    iVar5 = 0;\n  }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    local_44 = param_2 + 1;\n    uVar6 = *param_2;\n    local_48 = param_3 - 4;\n    uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    if (uVar6 < 0xb8) {\n      puVar7 = param_2;\n      do {\n        puVar3 = (uint *)FUN_0001bd60(1,0xc);\n        *puVar3 = uVar6;\n        if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          __s = puVar7 + 2;\n          local_48 = param_3 - 8;\n          uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18);\n          uVar6 = *puVar3;\n          puVar3[1] = uVar2;\nLAB_00015eb9:\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          FUN_00014cf0();\n          puVar7 = __s;\n          param_3 = local_48;\n        }\n        else {\n          if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          __s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);\n          if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = FUN_0001be70(__s);\n          puVar3[2] = uVar6;\n          puVar7 = (uint *)((int)pvVar4 + 1);\n          param_3 = local_48 - ((int)puVar7 - (int)__s);\n          FUN_00014cf0();\n        }\n        if ((int)param_3 < 4) {\n          iVar5 = (int)puVar7 - (int)param_2;\n          goto LAB_00015fde;\n        }\n        local_44 = puVar7 + 1;\n        uVar6 = *puVar7;\n        local_48 = param_3 - 4;\n        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      } while (uVar6 < 0xb8);\n      iVar5 = (int)local_44 - (int)param_2;\n    }\n    else {\n      iVar5 = 4;\n    }\n  }" else (compound_statement "{\n    local_44 = param_2 + 1;\n    uVar6 = *param_2;\n    local_48 = param_3 - 4;\n    uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    if (uVar6 < 0xb8) {\n      puVar7 = param_2;\n      do {\n        puVar3 = (uint *)FUN_0001bd60(1,0xc);\n        *puVar3 = uVar6;\n        if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          __s = puVar7 + 2;\n          local_48 = param_3 - 8;\n          uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18);\n          uVar6 = *puVar3;\n          puVar3[1] = uVar2;\nLAB_00015eb9:\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          FUN_00014cf0();\n          puVar7 = __s;\n          param_3 = local_48;\n        }\n        else {\n          if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          __s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);\n          if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = FUN_0001be70(__s);\n          puVar3[2] = uVar6;\n          puVar7 = (uint *)((int)pvVar4 + 1);\n          param_3 = local_48 - ((int)puVar7 - (int)__s);\n          FUN_00014cf0();\n        }\n        if ((int)param_3 < 4) {\n          iVar5 = (int)puVar7 - (int)param_2;\n          goto LAB_00015fde;\n        }\n        local_44 = puVar7 + 1;\n        uVar6 = *puVar7;\n        local_48 = param_3 - 4;\n        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      } while (uVar6 < 0xb8);\n      iVar5 = (int)local_44 - (int)param_2;\n    }\n    else {\n      iVar5 = 4;\n    }\n  }" { (expression_statement "local_44 = param_2 + 1;" (assignment_expression "local_44 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = *param_2;" (assignment_expression "uVar6 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "local_48 = param_3 - 4;" (assignment_expression "local_48 = param_3 - 4" identifier = (binary_expression "param_3 - 4" identifier - number_literal)) ;) (expression_statement "uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;" (assignment_expression "uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18" identifier = (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8" (binary_expression "uVar6 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar6 & 0xff0000) >> 8" (parenthesized_expression "(uVar6 & 0xff0000)" ( (binary_expression "uVar6 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar6 & 0xff00) << 8" (parenthesized_expression "(uVar6 & 0xff00)" ( (binary_expression "uVar6 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar6 << 0x18" identifier << number_literal))) ;) (if_statement "if (uVar6 < 0xb8) {\n      puVar7 = param_2;\n      do {\n        puVar3 = (uint *)FUN_0001bd60(1,0xc);\n        *puVar3 = uVar6;\n        if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          __s = puVar7 + 2;\n          local_48 = param_3 - 8;\n          uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18);\n          uVar6 = *puVar3;\n          puVar3[1] = uVar2;\nLAB_00015eb9:\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          FUN_00014cf0();\n          puVar7 = __s;\n          param_3 = local_48;\n        }\n        else {\n          if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          __s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);\n          if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = FUN_0001be70(__s);\n          puVar3[2] = uVar6;\n          puVar7 = (uint *)((int)pvVar4 + 1);\n          param_3 = local_48 - ((int)puVar7 - (int)__s);\n          FUN_00014cf0();\n        }\n        if ((int)param_3 < 4) {\n          iVar5 = (int)puVar7 - (int)param_2;\n          goto LAB_00015fde;\n        }\n        local_44 = puVar7 + 1;\n        uVar6 = *puVar7;\n        local_48 = param_3 - 4;\n        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      } while (uVar6 < 0xb8);\n      iVar5 = (int)local_44 - (int)param_2;\n    }\n    else {\n      iVar5 = 4;\n    }" if (parenthesized_expression "(uVar6 < 0xb8)" ( (binary_expression "uVar6 < 0xb8" identifier < number_literal) )) (compound_statement "{\n      puVar7 = param_2;\n      do {\n        puVar3 = (uint *)FUN_0001bd60(1,0xc);\n        *puVar3 = uVar6;\n        if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          __s = puVar7 + 2;\n          local_48 = param_3 - 8;\n          uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18);\n          uVar6 = *puVar3;\n          puVar3[1] = uVar2;\nLAB_00015eb9:\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          FUN_00014cf0();\n          puVar7 = __s;\n          param_3 = local_48;\n        }\n        else {\n          if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          __s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);\n          if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = FUN_0001be70(__s);\n          puVar3[2] = uVar6;\n          puVar7 = (uint *)((int)pvVar4 + 1);\n          param_3 = local_48 - ((int)puVar7 - (int)__s);\n          FUN_00014cf0();\n        }\n        if ((int)param_3 < 4) {\n          iVar5 = (int)puVar7 - (int)param_2;\n          goto LAB_00015fde;\n        }\n        local_44 = puVar7 + 1;\n        uVar6 = *puVar7;\n        local_48 = param_3 - 4;\n        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      } while (uVar6 < 0xb8);\n      iVar5 = (int)local_44 - (int)param_2;\n    }" { (expression_statement "puVar7 = param_2;" (assignment_expression "puVar7 = param_2" identifier = identifier) ;) (do_statement "do {\n        puVar3 = (uint *)FUN_0001bd60(1,0xc);\n        *puVar3 = uVar6;\n        if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          __s = puVar7 + 2;\n          local_48 = param_3 - 8;\n          uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18);\n          uVar6 = *puVar3;\n          puVar3[1] = uVar2;\nLAB_00015eb9:\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          FUN_00014cf0();\n          puVar7 = __s;\n          param_3 = local_48;\n        }\n        else {\n          if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          __s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);\n          if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = FUN_0001be70(__s);\n          puVar3[2] = uVar6;\n          puVar7 = (uint *)((int)pvVar4 + 1);\n          param_3 = local_48 - ((int)puVar7 - (int)__s);\n          FUN_00014cf0();\n        }\n        if ((int)param_3 < 4) {\n          iVar5 = (int)puVar7 - (int)param_2;\n          goto LAB_00015fde;\n        }\n        local_44 = puVar7 + 1;\n        uVar6 = *puVar7;\n        local_48 = param_3 - 4;\n        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      } while (uVar6 < 0xb8);" do (compound_statement "{\n        puVar3 = (uint *)FUN_0001bd60(1,0xc);\n        *puVar3 = uVar6;\n        if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          __s = puVar7 + 2;\n          local_48 = param_3 - 8;\n          uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18);\n          uVar6 = *puVar3;\n          puVar3[1] = uVar2;\nLAB_00015eb9:\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          FUN_00014cf0();\n          puVar7 = __s;\n          param_3 = local_48;\n        }\n        else {\n          if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          __s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);\n          if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = FUN_0001be70(__s);\n          puVar3[2] = uVar6;\n          puVar7 = (uint *)((int)pvVar4 + 1);\n          param_3 = local_48 - ((int)puVar7 - (int)__s);\n          FUN_00014cf0();\n        }\n        if ((int)param_3 < 4) {\n          iVar5 = (int)puVar7 - (int)param_2;\n          goto LAB_00015fde;\n        }\n        local_44 = puVar7 + 1;\n        uVar6 = *puVar7;\n        local_48 = param_3 - 4;\n        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      }" { (expression_statement "puVar3 = (uint *)FUN_0001bd60(1,0xc);" (assignment_expression "puVar3 = (uint *)FUN_0001bd60(1,0xc)" identifier = (cast_expression "(uint *)FUN_0001bd60(1,0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001bd60(1,0xc)" identifier (argument_list "(1,0xc)" ( number_literal , number_literal ))))) ;) (expression_statement "*puVar3 = uVar6;" (assignment_expression "*puVar3 = uVar6" (pointer_expression "*puVar3" * identifier) = identifier) ;) (if_statement "if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          __s = puVar7 + 2;\n          local_48 = param_3 - 8;\n          uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18);\n          uVar6 = *puVar3;\n          puVar3[1] = uVar2;\nLAB_00015eb9:\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          FUN_00014cf0();\n          puVar7 = __s;\n          param_3 = local_48;\n        }\n        else {\n          if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          __s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);\n          if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = FUN_0001be70(__s);\n          puVar3[2] = uVar6;\n          puVar7 = (uint *)((int)pvVar4 + 1);\n          param_3 = local_48 - ((int)puVar7 - (int)__s);\n          FUN_00014cf0();\n        }" if (parenthesized_expression "(*(int *)(&DAT_0003f560 + uVar6 * 4) == 1)" ( (binary_expression "*(int *)(&DAT_0003f560 + uVar6 * 4) == 1" (pointer_expression "*(int *)(&DAT_0003f560 + uVar6 * 4)" * (cast_expression "(int *)(&DAT_0003f560 + uVar6 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0003f560 + uVar6 * 4)" ( (binary_expression "&DAT_0003f560 + uVar6 * 4" (pointer_expression "&DAT_0003f560" & identifier) + (binary_expression "uVar6 * 4" identifier * number_literal)) )))) == number_literal) )) (compound_statement "{\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          __s = puVar7 + 2;\n          local_48 = param_3 - 8;\n          uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18);\n          uVar6 = *puVar3;\n          puVar3[1] = uVar2;\nLAB_00015eb9:\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          FUN_00014cf0();\n          puVar7 = __s;\n          param_3 = local_48;\n        }" { (if_statement "if ((int)local_48 < 4) {\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }" if (parenthesized_expression "((int)local_48 < 4)" ( (binary_expression "(int)local_48 < 4" (cast_expression "(int)local_48" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }" { (labeled_statement "LAB_000160b0:\n            FUN_0001c5f0(puVar3);" statement_identifier : (expression_statement "FUN_0001c5f0(puVar3);" (call_expression "FUN_0001c5f0(puVar3)" identifier (argument_list "(puVar3)" ( identifier ))) ;)) (expression_statement "iVar5 = (int)local_44 - (int)param_2;" (assignment_expression "iVar5 = (int)local_44 - (int)param_2" identifier = (binary_expression "(int)local_44 - (int)param_2" (cast_expression "(int)local_44" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (goto_statement "goto LAB_00015fde;" goto statement_identifier ;) })) (expression_statement "uVar6 = puVar7[1];" (assignment_expression "uVar6 = puVar7[1]" identifier = (subscript_expression "puVar7[1]" identifier [ number_literal ])) ;) (expression_statement "__s = puVar7 + 2;" (assignment_expression "__s = puVar7 + 2" identifier = (binary_expression "puVar7 + 2" identifier + number_literal)) ;) (expression_statement "local_48 = param_3 - 8;" (assignment_expression "local_48 = param_3 - 8" identifier = (binary_expression "param_3 - 8" identifier - number_literal)) ;) (expression_statement "uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18);" (assignment_expression "uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18)" identifier = (call_expression "FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18)" identifier (argument_list "(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18)" ( (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8" (binary_expression "uVar6 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar6 & 0xff0000) >> 8" (parenthesized_expression "(uVar6 & 0xff0000)" ( (binary_expression "uVar6 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar6 & 0xff00) << 8" (parenthesized_expression "(uVar6 & 0xff00)" ( (binary_expression "uVar6 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar6 << 0x18" identifier << number_literal)) )))) ;) (expression_statement "uVar6 = *puVar3;" (assignment_expression "uVar6 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "puVar3[1] = uVar2;" (assignment_expression "puVar3[1] = uVar2" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = identifier) ;) (labeled_statement "LAB_00015eb9:\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);" statement_identifier : (expression_statement "iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);" (assignment_expression "iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4)" identifier = (pointer_expression "*(int *)(&DAT_0003f280 + uVar6 * 4)" * (cast_expression "(int *)(&DAT_0003f280 + uVar6 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0003f280 + uVar6 * 4)" ( (binary_expression "&DAT_0003f280 + uVar6 * 4" (pointer_expression "&DAT_0003f280" & identifier) + (binary_expression "uVar6 * 4" identifier * number_literal)) ))))) ;)) (expression_statement "iVar1 = iVar5 + -2;" (assignment_expression "iVar1 = iVar5 + -2" identifier = (binary_expression "iVar5 + -2" identifier + number_literal)) ;) (expression_statement "bVar8 = iVar5 == 2;" (assignment_expression "bVar8 = iVar5 == 2" identifier = (binary_expression "iVar5 == 2" identifier == number_literal)) ;) (if_statement "if (bVar8) goto LAB_00015f80;" if (parenthesized_expression "(bVar8)" ( identifier )) (goto_statement "goto LAB_00015f80;" goto statement_identifier ;)) (labeled_statement "LAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }" statement_identifier : (if_statement "if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }" if (parenthesized_expression "(!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0)" ( (binary_expression "!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0" (unary_expression "!bVar8" ! identifier) && (binary_expression "SBORROW4(iVar5,2) == iVar1 < 0" (call_expression "SBORROW4(iVar5,2)" identifier (argument_list "(iVar5,2)" ( identifier , number_literal ))) == (binary_expression "iVar1 < 0" identifier < number_literal))) )) (compound_statement "{\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }" { (if_statement "if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }" if (parenthesized_expression "(iVar5 == 3)" ( (binary_expression "iVar5 == 3" identifier == number_literal) )) (compound_statement "{\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }" { (expression_statement "uVar6 = FUN_0003b290(__s,local_48,&local_24);" (assignment_expression "uVar6 = FUN_0003b290(__s,local_48,&local_24)" identifier = (call_expression "FUN_0003b290(__s,local_48,&local_24)" identifier (argument_list "(__s,local_48,&local_24)" ( identifier , identifier , (pointer_expression "&local_24" & identifier) )))) ;) (expression_statement "puVar3[2] = uVar6;" (assignment_expression "puVar3[2] = uVar6" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }" else (compound_statement "{\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }" { (if_statement "if (iVar5 != 4) goto LAB_00015f01;" if (parenthesized_expression "(iVar5 != 4)" ( (binary_expression "iVar5 != 4" identifier != number_literal) )) (goto_statement "goto LAB_00015f01;" goto statement_identifier ;)) (expression_statement "uVar6 = FUN_0003b750(__s,local_48,&local_24);" (assignment_expression "uVar6 = FUN_0003b750(__s,local_48,&local_24)" identifier = (call_expression "FUN_0003b750(__s,local_48,&local_24)" identifier (argument_list "(__s,local_48,&local_24)" ( identifier , identifier , (pointer_expression "&local_24" & identifier) )))) ;) (expression_statement "puVar3[2] = uVar6;" (assignment_expression "puVar3[2] = uVar6" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = identifier) ;) }))) (if_statement "if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }" if (parenthesized_expression "(uVar6 != 0)" ( (binary_expression "uVar6 != 0" identifier != number_literal) )) (compound_statement "{\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }" { (expression_statement "__s = (uint *)((int)__s + local_24);" (assignment_expression "__s = (uint *)((int)__s + local_24)" identifier = (cast_expression "(uint *)((int)__s + local_24)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__s + local_24)" ( (binary_expression "(int)__s + local_24" (cast_expression "(int)__s" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "local_48 = local_48 - local_24;" (assignment_expression "local_48 = local_48 - local_24" identifier = (binary_expression "local_48 - local_24" identifier - identifier)) ;) (goto_statement "goto LAB_00015f01;" goto statement_identifier ;) })) (expression_statement "iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);" (assignment_expression "iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4)" identifier = (pointer_expression "*(int *)(&DAT_0003f560 + *puVar3 * 4)" * (cast_expression "(int *)(&DAT_0003f560 + *puVar3 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0003f560 + *puVar3 * 4)" ( (binary_expression "&DAT_0003f560 + *puVar3 * 4" (pointer_expression "&DAT_0003f560" & identifier) + (binary_expression "*puVar3 * 4" (pointer_expression "*puVar3" * identifier) * number_literal)) ))))) ;) (goto_statement "goto joined_r0x00016086;" goto statement_identifier ;) }))) (if_statement "if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }" if (parenthesized_expression "(iVar5 == 1)" ( (binary_expression "iVar5 == 1" identifier == number_literal) )) (compound_statement "{\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }" { (if_statement "if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }" if (parenthesized_expression "(3 < (int)local_48)" ( (binary_expression "3 < (int)local_48" number_literal < (cast_expression "(int)local_48" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }" { (expression_statement "uVar6 = *__s;" (assignment_expression "uVar6 = *__s" identifier = (pointer_expression "*__s" * identifier)) ;) (expression_statement "__s = __s + 1;" (assignment_expression "__s = __s + 1" identifier = (binary_expression "__s + 1" identifier + number_literal)) ;) (expression_statement "local_48 = local_48 - 4;" (assignment_expression "local_48 = local_48 - 4" identifier = (binary_expression "local_48 - 4" identifier - number_literal)) ;) (expression_statement "uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);" (assignment_expression "uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18)" identifier = (call_expression "FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18)" identifier (argument_list "(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18)" ( (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8" (binary_expression "uVar6 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar6 & 0xff0000) >> 8" (parenthesized_expression "(uVar6 & 0xff0000)" ( (binary_expression "uVar6 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar6 & 0xff00) << 8" (parenthesized_expression "(uVar6 & 0xff00)" ( (binary_expression "uVar6 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar6 << 0x18" identifier << number_literal)) )))) ;) (expression_statement "puVar3[2] = uVar6;" (assignment_expression "puVar3[2] = uVar6" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_00015f01;" goto statement_identifier ;) })) (goto_statement "goto LAB_000160c9;" goto statement_identifier ;) })) (labeled_statement "LAB_00015f01:\n          FUN_00014cf0();" statement_identifier : (expression_statement "FUN_00014cf0();" (call_expression "FUN_00014cf0()" identifier (argument_list "()" ( ))) ;)) (expression_statement "puVar7 = __s;" (assignment_expression "puVar7 = __s" identifier = identifier) ;) (expression_statement "param_3 = local_48;" (assignment_expression "param_3 = local_48" identifier = identifier) ;) }) (else_clause "else {\n          if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          __s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);\n          if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = FUN_0001be70(__s);\n          puVar3[2] = uVar6;\n          puVar7 = (uint *)((int)pvVar4 + 1);\n          param_3 = local_48 - ((int)puVar7 - (int)__s);\n          FUN_00014cf0();\n        }" else (compound_statement "{\n          if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          __s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);\n          if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = FUN_0001be70(__s);\n          puVar3[2] = uVar6;\n          puVar7 = (uint *)((int)pvVar4 + 1);\n          param_3 = local_48 - ((int)puVar7 - (int)__s);\n          FUN_00014cf0();\n        }" { (if_statement "if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }" if (parenthesized_expression "(*(int *)(&DAT_0003f560 + uVar6 * 4) == 2)" ( (binary_expression "*(int *)(&DAT_0003f560 + uVar6 * 4) == 2" (pointer_expression "*(int *)(&DAT_0003f560 + uVar6 * 4)" * (cast_expression "(int *)(&DAT_0003f560 + uVar6 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0003f560 + uVar6 * 4)" ( (binary_expression "&DAT_0003f560 + uVar6 * 4" (pointer_expression "&DAT_0003f560" & identifier) + (binary_expression "uVar6 * 4" identifier * number_literal)) )))) == number_literal) )) (compound_statement "{\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }" { (expression_statement "pvVar4 = memchr(local_44,0,local_48);" (assignment_expression "pvVar4 = memchr(local_44,0,local_48)" identifier = (call_expression "memchr(local_44,0,local_48)" identifier (argument_list "(local_44,0,local_48)" ( identifier , number_literal , identifier )))) ;) (if_statement "if (pvVar4 == (void *)0x0) goto LAB_000160b0;" if (parenthesized_expression "(pvVar4 == (void *)0x0)" ( (binary_expression "pvVar4 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000160b0;" goto statement_identifier ;)) (expression_statement "__s = (uint *)((int)pvVar4 + 1);" (assignment_expression "__s = (uint *)((int)pvVar4 + 1)" identifier = (cast_expression "(uint *)((int)pvVar4 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar4 + 1)" ( (binary_expression "(int)pvVar4 + 1" (cast_expression "(int)pvVar4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "uVar2 = FUN_0001be70(local_44);" (assignment_expression "uVar2 = FUN_0001be70(local_44)" identifier = (call_expression "FUN_0001be70(local_44)" identifier (argument_list "(local_44)" ( identifier )))) ;) (expression_statement "uVar6 = *puVar3;" (assignment_expression "uVar6 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "puVar3[1] = uVar2;" (assignment_expression "puVar3[1] = uVar2" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "local_48 = local_48 - ((int)__s - (int)local_44);" (assignment_expression "local_48 = local_48 - ((int)__s - (int)local_44)" identifier = (binary_expression "local_48 - ((int)__s - (int)local_44)" identifier - (parenthesized_expression "((int)__s - (int)local_44)" ( (binary_expression "(int)__s - (int)local_44" (cast_expression "(int)__s" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_44" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (goto_statement "goto LAB_00015eb9;" goto statement_identifier ;) })) (expression_statement "iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);" (assignment_expression "iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4)" identifier = (pointer_expression "*(int *)(&DAT_0003f280 + uVar6 * 4)" * (cast_expression "(int *)(&DAT_0003f280 + uVar6 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0003f280 + uVar6 * 4)" ( (binary_expression "&DAT_0003f280 + uVar6 * 4" (pointer_expression "&DAT_0003f280" & identifier) + (binary_expression "uVar6 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar1 = iVar5 + -2;" (assignment_expression "iVar1 = iVar5 + -2" identifier = (binary_expression "iVar5 + -2" identifier + number_literal)) ;) (expression_statement "bVar8 = iVar1 == 0;" (assignment_expression "bVar8 = iVar1 == 0" identifier = (binary_expression "iVar1 == 0" identifier == number_literal)) ;) (expression_statement "__s = local_44;" (assignment_expression "__s = local_44" identifier = identifier) ;) (if_statement "if (!bVar8) goto LAB_00015ec9;" if (parenthesized_expression "(!bVar8)" ( (unary_expression "!bVar8" ! identifier) )) (goto_statement "goto LAB_00015ec9;" goto statement_identifier ;)) (labeled_statement "LAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);" statement_identifier : (expression_statement "pvVar4 = memchr(__s,0,local_48);" (assignment_expression "pvVar4 = memchr(__s,0,local_48)" identifier = (call_expression "memchr(__s,0,local_48)" identifier (argument_list "(__s,0,local_48)" ( identifier , number_literal , identifier )))) ;)) (if_statement "if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }" if (parenthesized_expression "(pvVar4 == (void *)0x0)" ( (binary_expression "pvVar4 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }" { (labeled_statement "LAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);" statement_identifier : (expression_statement "iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);" (assignment_expression "iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4)" identifier = (pointer_expression "*(int *)(&DAT_0003f560 + uVar6 * 4)" * (cast_expression "(int *)(&DAT_0003f560 + uVar6 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0003f560 + uVar6 * 4)" ( (binary_expression "&DAT_0003f560 + uVar6 * 4" (pointer_expression "&DAT_0003f560" & identifier) + (binary_expression "uVar6 * 4" identifier * number_literal)) ))))) ;)) (labeled_statement "joined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }" statement_identifier : (if_statement "if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }" if (parenthesized_expression "(iVar5 == 2)" ( (binary_expression "iVar5 == 2" identifier == number_literal) )) (compound_statement "{\n              FUN_0001c5f0(puVar3[1]);\n            }" { (expression_statement "FUN_0001c5f0(puVar3[1]);" (call_expression "FUN_0001c5f0(puVar3[1])" identifier (argument_list "(puVar3[1])" ( (subscript_expression "puVar3[1]" identifier [ number_literal ]) ))) ;) }))) (expression_statement "FUN_0001c5f0(puVar3);" (call_expression "FUN_0001c5f0(puVar3)" identifier (argument_list "(puVar3)" ( identifier ))) ;) (expression_statement "iVar5 = (int)__s - (int)param_2;" (assignment_expression "iVar5 = (int)__s - (int)param_2" identifier = (binary_expression "(int)__s - (int)param_2" (cast_expression "(int)__s" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (goto_statement "goto LAB_00015fde;" goto statement_identifier ;) })) (expression_statement "uVar6 = FUN_0001be70(__s);" (assignment_expression "uVar6 = FUN_0001be70(__s)" identifier = (call_expression "FUN_0001be70(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "puVar3[2] = uVar6;" (assignment_expression "puVar3[2] = uVar6" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar7 = (uint *)((int)pvVar4 + 1);" (assignment_expression "puVar7 = (uint *)((int)pvVar4 + 1)" identifier = (cast_expression "(uint *)((int)pvVar4 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar4 + 1)" ( (binary_expression "(int)pvVar4 + 1" (cast_expression "(int)pvVar4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "param_3 = local_48 - ((int)puVar7 - (int)__s);" (assignment_expression "param_3 = local_48 - ((int)puVar7 - (int)__s)" identifier = (binary_expression "local_48 - ((int)puVar7 - (int)__s)" identifier - (parenthesized_expression "((int)puVar7 - (int)__s)" ( (binary_expression "(int)puVar7 - (int)__s" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__s" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "FUN_00014cf0();" (call_expression "FUN_00014cf0()" identifier (argument_list "()" ( ))) ;) }))) (if_statement "if ((int)param_3 < 4) {\n          iVar5 = (int)puVar7 - (int)param_2;\n          goto LAB_00015fde;\n        }" if (parenthesized_expression "((int)param_3 < 4)" ( (binary_expression "(int)param_3 < 4" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n          iVar5 = (int)puVar7 - (int)param_2;\n          goto LAB_00015fde;\n        }" { (expression_statement "iVar5 = (int)puVar7 - (int)param_2;" (assignment_expression "iVar5 = (int)puVar7 - (int)param_2" identifier = (binary_expression "(int)puVar7 - (int)param_2" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (goto_statement "goto LAB_00015fde;" goto statement_identifier ;) })) (expression_statement "local_44 = puVar7 + 1;" (assignment_expression "local_44 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = *puVar7;" (assignment_expression "uVar6 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "local_48 = param_3 - 4;" (assignment_expression "local_48 = param_3 - 4" identifier = (binary_expression "param_3 - 4" identifier - number_literal)) ;) (expression_statement "uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;" (assignment_expression "uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18" identifier = (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8" (binary_expression "uVar6 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar6 & 0xff0000) >> 8" (parenthesized_expression "(uVar6 & 0xff0000)" ( (binary_expression "uVar6 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar6 & 0xff00) << 8" (parenthesized_expression "(uVar6 & 0xff00)" ( (binary_expression "uVar6 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar6 << 0x18" identifier << number_literal))) ;) }) while (parenthesized_expression "(uVar6 < 0xb8)" ( (binary_expression "uVar6 < 0xb8" identifier < number_literal) )) ;) (expression_statement "iVar5 = (int)local_44 - (int)param_2;" (assignment_expression "iVar5 = (int)local_44 - (int)param_2" identifier = (binary_expression "(int)local_44 - (int)param_2" (cast_expression "(int)local_44" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }) (else_clause "else {\n      iVar5 = 4;\n    }" else (compound_statement "{\n      iVar5 = 4;\n    }" { (expression_statement "iVar5 = 4;" (assignment_expression "iVar5 = 4" identifier = number_literal) ;) }))) }))) (labeled_statement "LAB_00015fde:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return iVar5;\n  }" { (return_statement "return iVar5;" return identifier ;) }))) comment (expression_statement "FUN_0003dc30();" (call_expression "FUN_0003dc30()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint conf_deserialise(Conf *conf,void *vdata,int maxsize)\n\n{\n  int iVar1;\n  FontSpec *pFVar2;\n  conf_entry *entry;\n  void *pvVar3;\n  char *pcVar4;\n  int iVar5;\n  uint uVar6;\n  uint *s;\n  uint *puVar7;\n  int in_GS_OFFSET;\n  bool bVar8;\n  size_t local_48;\n  uint *local_44;\n  int used;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x15e09;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (maxsize < 4) {\n    iVar5 = 0;\n  }\n  else {\n    local_44 = (uint *)((int)vdata + 4);\n                    /* WARNING: Load size is inaccurate */\n    uVar6 = *vdata;\n    local_48 = maxsize - 4;\n    uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    if (uVar6 < 0xb8) {\n      puVar7 = (uint *)vdata;\n      do {\n        entry = (conf_entry *)safemalloc(1,0xc);\n        (entry->key).primary = uVar6;\n        if (subkeytypes[uVar6] == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            safefree(entry);\n            iVar5 = (int)local_44 - (int)vdata;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          s = puVar7 + 2;\n          local_48 = maxsize - 8;\n          iVar5 = toint(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                        uVar6 << 0x18);\n          uVar6 = (entry->key).primary;\n          (entry->key).secondary.i = iVar5;\nLAB_00015eb9:\n          iVar5 = valuetypes[uVar6];\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              pFVar2 = (FontSpec *)filename_deserialise(s,local_48,&used);\n              (entry->value).u.fileval = (Filename *)pFVar2;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              pFVar2 = fontspec_deserialise(s,local_48,&used);\n              (entry->value).u.fontval = pFVar2;\n            }\n            if (pFVar2 != (FontSpec *)0x0) {\n              s = (uint *)((int)s + used);\n              local_48 = local_48 - used;\n              goto LAB_00015f01;\n            }\n            iVar5 = subkeytypes[(entry->key).primary];\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *s;\n              s = s + 1;\n              local_48 = local_48 - 4;\n              iVar5 = toint(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                            uVar6 << 0x18);\n              (entry->value).u.intval = iVar5;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          conf_insert(conf,entry);\n          puVar7 = s;\n          maxsize = local_48;\n        }\n        else {\n          if (subkeytypes[uVar6] == 2) {\n            pvVar3 = memchr(local_44,0,local_48);\n            if (pvVar3 == (void *)0x0) goto LAB_000160b0;\n            s = (uint *)((int)pvVar3 + 1);\n            pcVar4 = dupstr((char *)local_44);\n            uVar6 = (entry->key).primary;\n            (entry->key).secondary.s = pcVar4;\n            local_48 = local_48 - ((int)s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = valuetypes[uVar6];\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar3 = memchr(s,0,local_48);\n          if (pvVar3 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = subkeytypes[uVar6];\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              safefree((entry->key).secondary.s);\n            }\n            safefree(entry);\n            iVar5 = (int)s - (int)vdata;\n            goto LAB_00015fde;\n          }\n          pcVar4 = dupstr((char *)s);\n          (entry->value).u.stringval = pcVar4;\n          puVar7 = (uint *)((int)pvVar3 + 1);\n          maxsize = local_48 - ((int)puVar7 - (int)s);\n          conf_insert(conf,entry);\n        }\n        if (maxsize < 4) {\n          iVar5 = (int)puVar7 - (int)vdata;\n          goto LAB_00015fde;\n        }\n        local_44 = puVar7 + 1;\n        uVar6 = *puVar7;\n        local_48 = maxsize - 4;\n        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      } while (uVar6 < 0xb8);\n      iVar5 = (int)local_44 - (int)vdata;\n    }\n    else {\n      iVar5 = 4;\n    }\n  }\nLAB_00015fde:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}\n\n" comment (function_definition "int conf_deserialise(Conf *conf,void *vdata,int maxsize)\n\n{\n  int iVar1;\n  FontSpec *pFVar2;\n  conf_entry *entry;\n  void *pvVar3;\n  char *pcVar4;\n  int iVar5;\n  uint uVar6;\n  uint *s;\n  uint *puVar7;\n  int in_GS_OFFSET;\n  bool bVar8;\n  size_t local_48;\n  uint *local_44;\n  int used;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x15e09;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (maxsize < 4) {\n    iVar5 = 0;\n  }\n  else {\n    local_44 = (uint *)((int)vdata + 4);\n                    /* WARNING: Load size is inaccurate */\n    uVar6 = *vdata;\n    local_48 = maxsize - 4;\n    uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    if (uVar6 < 0xb8) {\n      puVar7 = (uint *)vdata;\n      do {\n        entry = (conf_entry *)safemalloc(1,0xc);\n        (entry->key).primary = uVar6;\n        if (subkeytypes[uVar6] == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            safefree(entry);\n            iVar5 = (int)local_44 - (int)vdata;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          s = puVar7 + 2;\n          local_48 = maxsize - 8;\n          iVar5 = toint(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                        uVar6 << 0x18);\n          uVar6 = (entry->key).primary;\n          (entry->key).secondary.i = iVar5;\nLAB_00015eb9:\n          iVar5 = valuetypes[uVar6];\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              pFVar2 = (FontSpec *)filename_deserialise(s,local_48,&used);\n              (entry->value).u.fileval = (Filename *)pFVar2;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              pFVar2 = fontspec_deserialise(s,local_48,&used);\n              (entry->value).u.fontval = pFVar2;\n            }\n            if (pFVar2 != (FontSpec *)0x0) {\n              s = (uint *)((int)s + used);\n              local_48 = local_48 - used;\n              goto LAB_00015f01;\n            }\n            iVar5 = subkeytypes[(entry->key).primary];\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *s;\n              s = s + 1;\n              local_48 = local_48 - 4;\n              iVar5 = toint(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                            uVar6 << 0x18);\n              (entry->value).u.intval = iVar5;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          conf_insert(conf,entry);\n          puVar7 = s;\n          maxsize = local_48;\n        }\n        else {\n          if (subkeytypes[uVar6] == 2) {\n            pvVar3 = memchr(local_44,0,local_48);\n            if (pvVar3 == (void *)0x0) goto LAB_000160b0;\n            s = (uint *)((int)pvVar3 + 1);\n            pcVar4 = dupstr((char *)local_44);\n            uVar6 = (entry->key).primary;\n            (entry->key).secondary.s = pcVar4;\n            local_48 = local_48 - ((int)s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = valuetypes[uVar6];\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar3 = memchr(s,0,local_48);\n          if (pvVar3 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = subkeytypes[uVar6];\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              safefree((entry->key).secondary.s);\n            }\n            safefree(entry);\n            iVar5 = (int)s - (int)vdata;\n            goto LAB_00015fde;\n          }\n          pcVar4 = dupstr((char *)s);\n          (entry->value).u.stringval = pcVar4;\n          puVar7 = (uint *)((int)pvVar3 + 1);\n          maxsize = local_48 - ((int)puVar7 - (int)s);\n          conf_insert(conf,entry);\n        }\n        if (maxsize < 4) {\n          iVar5 = (int)puVar7 - (int)vdata;\n          goto LAB_00015fde;\n        }\n        local_44 = puVar7 + 1;\n        uVar6 = *puVar7;\n        local_48 = maxsize - 4;\n        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      } while (uVar6 < 0xb8);\n      iVar5 = (int)local_44 - (int)vdata;\n    }\n    else {\n      iVar5 = 4;\n    }\n  }\nLAB_00015fde:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" primitive_type (function_declarator "conf_deserialise(Conf *conf,void *vdata,int maxsize)" identifier (parameter_list "(Conf *conf,void *vdata,int maxsize)" ( (parameter_declaration "Conf *conf" type_identifier (pointer_declarator "*conf" * identifier)) , (parameter_declaration "void *vdata" primitive_type (pointer_declarator "*vdata" * identifier)) , (parameter_declaration "int maxsize" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  FontSpec *pFVar2;\n  conf_entry *entry;\n  void *pvVar3;\n  char *pcVar4;\n  int iVar5;\n  uint uVar6;\n  uint *s;\n  uint *puVar7;\n  int in_GS_OFFSET;\n  bool bVar8;\n  size_t local_48;\n  uint *local_44;\n  int used;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x15e09;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (maxsize < 4) {\n    iVar5 = 0;\n  }\n  else {\n    local_44 = (uint *)((int)vdata + 4);\n                    /* WARNING: Load size is inaccurate */\n    uVar6 = *vdata;\n    local_48 = maxsize - 4;\n    uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    if (uVar6 < 0xb8) {\n      puVar7 = (uint *)vdata;\n      do {\n        entry = (conf_entry *)safemalloc(1,0xc);\n        (entry->key).primary = uVar6;\n        if (subkeytypes[uVar6] == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            safefree(entry);\n            iVar5 = (int)local_44 - (int)vdata;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          s = puVar7 + 2;\n          local_48 = maxsize - 8;\n          iVar5 = toint(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                        uVar6 << 0x18);\n          uVar6 = (entry->key).primary;\n          (entry->key).secondary.i = iVar5;\nLAB_00015eb9:\n          iVar5 = valuetypes[uVar6];\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              pFVar2 = (FontSpec *)filename_deserialise(s,local_48,&used);\n              (entry->value).u.fileval = (Filename *)pFVar2;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              pFVar2 = fontspec_deserialise(s,local_48,&used);\n              (entry->value).u.fontval = pFVar2;\n            }\n            if (pFVar2 != (FontSpec *)0x0) {\n              s = (uint *)((int)s + used);\n              local_48 = local_48 - used;\n              goto LAB_00015f01;\n            }\n            iVar5 = subkeytypes[(entry->key).primary];\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *s;\n              s = s + 1;\n              local_48 = local_48 - 4;\n              iVar5 = toint(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                            uVar6 << 0x18);\n              (entry->value).u.intval = iVar5;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          conf_insert(conf,entry);\n          puVar7 = s;\n          maxsize = local_48;\n        }\n        else {\n          if (subkeytypes[uVar6] == 2) {\n            pvVar3 = memchr(local_44,0,local_48);\n            if (pvVar3 == (void *)0x0) goto LAB_000160b0;\n            s = (uint *)((int)pvVar3 + 1);\n            pcVar4 = dupstr((char *)local_44);\n            uVar6 = (entry->key).primary;\n            (entry->key).secondary.s = pcVar4;\n            local_48 = local_48 - ((int)s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = valuetypes[uVar6];\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar3 = memchr(s,0,local_48);\n          if (pvVar3 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = subkeytypes[uVar6];\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              safefree((entry->key).secondary.s);\n            }\n            safefree(entry);\n            iVar5 = (int)s - (int)vdata;\n            goto LAB_00015fde;\n          }\n          pcVar4 = dupstr((char *)s);\n          (entry->value).u.stringval = pcVar4;\n          puVar7 = (uint *)((int)pvVar3 + 1);\n          maxsize = local_48 - ((int)puVar7 - (int)s);\n          conf_insert(conf,entry);\n        }\n        if (maxsize < 4) {\n          iVar5 = (int)puVar7 - (int)vdata;\n          goto LAB_00015fde;\n        }\n        local_44 = puVar7 + 1;\n        uVar6 = *puVar7;\n        local_48 = maxsize - 4;\n        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      } while (uVar6 < 0xb8);\n      iVar5 = (int)local_44 - (int)vdata;\n    }\n    else {\n      iVar5 = 4;\n    }\n  }\nLAB_00015fde:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "FontSpec *pFVar2;" type_identifier (pointer_declarator "*pFVar2" * identifier) ;) (declaration "conf_entry *entry;" type_identifier (pointer_declarator "*entry" * identifier) ;) (declaration "void *pvVar3;" primitive_type (pointer_declarator "*pvVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint *s;" type_identifier (pointer_declarator "*s" * identifier) ;) (declaration "uint *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar8;" primitive_type identifier ;) (declaration "size_t local_48;" primitive_type identifier ;) (declaration "uint *local_44;" type_identifier (pointer_declarator "*local_44" * identifier) ;) (declaration "int used;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x15e09;" (assignment_expression "uStack_14 = 0x15e09" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (maxsize < 4) {\n    iVar5 = 0;\n  }\n  else {\n    local_44 = (uint *)((int)vdata + 4);\n                    /* WARNING: Load size is inaccurate */\n    uVar6 = *vdata;\n    local_48 = maxsize - 4;\n    uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    if (uVar6 < 0xb8) {\n      puVar7 = (uint *)vdata;\n      do {\n        entry = (conf_entry *)safemalloc(1,0xc);\n        (entry->key).primary = uVar6;\n        if (subkeytypes[uVar6] == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            safefree(entry);\n            iVar5 = (int)local_44 - (int)vdata;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          s = puVar7 + 2;\n          local_48 = maxsize - 8;\n          iVar5 = toint(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                        uVar6 << 0x18);\n          uVar6 = (entry->key).primary;\n          (entry->key).secondary.i = iVar5;\nLAB_00015eb9:\n          iVar5 = valuetypes[uVar6];\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              pFVar2 = (FontSpec *)filename_deserialise(s,local_48,&used);\n              (entry->value).u.fileval = (Filename *)pFVar2;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              pFVar2 = fontspec_deserialise(s,local_48,&used);\n              (entry->value).u.fontval = pFVar2;\n            }\n            if (pFVar2 != (FontSpec *)0x0) {\n              s = (uint *)((int)s + used);\n              local_48 = local_48 - used;\n              goto LAB_00015f01;\n            }\n            iVar5 = subkeytypes[(entry->key).primary];\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *s;\n              s = s + 1;\n              local_48 = local_48 - 4;\n              iVar5 = toint(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                            uVar6 << 0x18);\n              (entry->value).u.intval = iVar5;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          conf_insert(conf,entry);\n          puVar7 = s;\n          maxsize = local_48;\n        }\n        else {\n          if (subkeytypes[uVar6] == 2) {\n            pvVar3 = memchr(local_44,0,local_48);\n            if (pvVar3 == (void *)0x0) goto LAB_000160b0;\n            s = (uint *)((int)pvVar3 + 1);\n            pcVar4 = dupstr((char *)local_44);\n            uVar6 = (entry->key).primary;\n            (entry->key).secondary.s = pcVar4;\n            local_48 = local_48 - ((int)s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = valuetypes[uVar6];\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar3 = memchr(s,0,local_48);\n          if (pvVar3 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = subkeytypes[uVar6];\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              safefree((entry->key).secondary.s);\n            }\n            safefree(entry);\n            iVar5 = (int)s - (int)vdata;\n            goto LAB_00015fde;\n          }\n          pcVar4 = dupstr((char *)s);\n          (entry->value).u.stringval = pcVar4;\n          puVar7 = (uint *)((int)pvVar3 + 1);\n          maxsize = local_48 - ((int)puVar7 - (int)s);\n          conf_insert(conf,entry);\n        }\n        if (maxsize < 4) {\n          iVar5 = (int)puVar7 - (int)vdata;\n          goto LAB_00015fde;\n        }\n        local_44 = puVar7 + 1;\n        uVar6 = *puVar7;\n        local_48 = maxsize - 4;\n        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      } while (uVar6 < 0xb8);\n      iVar5 = (int)local_44 - (int)vdata;\n    }\n    else {\n      iVar5 = 4;\n    }\n  }" if (parenthesized_expression "(maxsize < 4)" ( (binary_expression "maxsize < 4" identifier < number_literal) )) (compound_statement "{\n    iVar5 = 0;\n  }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    local_44 = (uint *)((int)vdata + 4);\n                    /* WARNING: Load size is inaccurate */\n    uVar6 = *vdata;\n    local_48 = maxsize - 4;\n    uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    if (uVar6 < 0xb8) {\n      puVar7 = (uint *)vdata;\n      do {\n        entry = (conf_entry *)safemalloc(1,0xc);\n        (entry->key).primary = uVar6;\n        if (subkeytypes[uVar6] == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            safefree(entry);\n            iVar5 = (int)local_44 - (int)vdata;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          s = puVar7 + 2;\n          local_48 = maxsize - 8;\n          iVar5 = toint(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                        uVar6 << 0x18);\n          uVar6 = (entry->key).primary;\n          (entry->key).secondary.i = iVar5;\nLAB_00015eb9:\n          iVar5 = valuetypes[uVar6];\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              pFVar2 = (FontSpec *)filename_deserialise(s,local_48,&used);\n              (entry->value).u.fileval = (Filename *)pFVar2;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              pFVar2 = fontspec_deserialise(s,local_48,&used);\n              (entry->value).u.fontval = pFVar2;\n            }\n            if (pFVar2 != (FontSpec *)0x0) {\n              s = (uint *)((int)s + used);\n              local_48 = local_48 - used;\n              goto LAB_00015f01;\n            }\n            iVar5 = subkeytypes[(entry->key).primary];\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *s;\n              s = s + 1;\n              local_48 = local_48 - 4;\n              iVar5 = toint(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                            uVar6 << 0x18);\n              (entry->value).u.intval = iVar5;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          conf_insert(conf,entry);\n          puVar7 = s;\n          maxsize = local_48;\n        }\n        else {\n          if (subkeytypes[uVar6] == 2) {\n            pvVar3 = memchr(local_44,0,local_48);\n            if (pvVar3 == (void *)0x0) goto LAB_000160b0;\n            s = (uint *)((int)pvVar3 + 1);\n            pcVar4 = dupstr((char *)local_44);\n            uVar6 = (entry->key).primary;\n            (entry->key).secondary.s = pcVar4;\n            local_48 = local_48 - ((int)s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = valuetypes[uVar6];\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar3 = memchr(s,0,local_48);\n          if (pvVar3 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = subkeytypes[uVar6];\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              safefree((entry->key).secondary.s);\n            }\n            safefree(entry);\n            iVar5 = (int)s - (int)vdata;\n            goto LAB_00015fde;\n          }\n          pcVar4 = dupstr((char *)s);\n          (entry->value).u.stringval = pcVar4;\n          puVar7 = (uint *)((int)pvVar3 + 1);\n          maxsize = local_48 - ((int)puVar7 - (int)s);\n          conf_insert(conf,entry);\n        }\n        if (maxsize < 4) {\n          iVar5 = (int)puVar7 - (int)vdata;\n          goto LAB_00015fde;\n        }\n        local_44 = puVar7 + 1;\n        uVar6 = *puVar7;\n        local_48 = maxsize - 4;\n        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      } while (uVar6 < 0xb8);\n      iVar5 = (int)local_44 - (int)vdata;\n    }\n    else {\n      iVar5 = 4;\n    }\n  }" else (compound_statement "{\n    local_44 = (uint *)((int)vdata + 4);\n                    /* WARNING: Load size is inaccurate */\n    uVar6 = *vdata;\n    local_48 = maxsize - 4;\n    uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    if (uVar6 < 0xb8) {\n      puVar7 = (uint *)vdata;\n      do {\n        entry = (conf_entry *)safemalloc(1,0xc);\n        (entry->key).primary = uVar6;\n        if (subkeytypes[uVar6] == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            safefree(entry);\n            iVar5 = (int)local_44 - (int)vdata;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          s = puVar7 + 2;\n          local_48 = maxsize - 8;\n          iVar5 = toint(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                        uVar6 << 0x18);\n          uVar6 = (entry->key).primary;\n          (entry->key).secondary.i = iVar5;\nLAB_00015eb9:\n          iVar5 = valuetypes[uVar6];\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              pFVar2 = (FontSpec *)filename_deserialise(s,local_48,&used);\n              (entry->value).u.fileval = (Filename *)pFVar2;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              pFVar2 = fontspec_deserialise(s,local_48,&used);\n              (entry->value).u.fontval = pFVar2;\n            }\n            if (pFVar2 != (FontSpec *)0x0) {\n              s = (uint *)((int)s + used);\n              local_48 = local_48 - used;\n              goto LAB_00015f01;\n            }\n            iVar5 = subkeytypes[(entry->key).primary];\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *s;\n              s = s + 1;\n              local_48 = local_48 - 4;\n              iVar5 = toint(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                            uVar6 << 0x18);\n              (entry->value).u.intval = iVar5;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          conf_insert(conf,entry);\n          puVar7 = s;\n          maxsize = local_48;\n        }\n        else {\n          if (subkeytypes[uVar6] == 2) {\n            pvVar3 = memchr(local_44,0,local_48);\n            if (pvVar3 == (void *)0x0) goto LAB_000160b0;\n            s = (uint *)((int)pvVar3 + 1);\n            pcVar4 = dupstr((char *)local_44);\n            uVar6 = (entry->key).primary;\n            (entry->key).secondary.s = pcVar4;\n            local_48 = local_48 - ((int)s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = valuetypes[uVar6];\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar3 = memchr(s,0,local_48);\n          if (pvVar3 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = subkeytypes[uVar6];\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              safefree((entry->key).secondary.s);\n            }\n            safefree(entry);\n            iVar5 = (int)s - (int)vdata;\n            goto LAB_00015fde;\n          }\n          pcVar4 = dupstr((char *)s);\n          (entry->value).u.stringval = pcVar4;\n          puVar7 = (uint *)((int)pvVar3 + 1);\n          maxsize = local_48 - ((int)puVar7 - (int)s);\n          conf_insert(conf,entry);\n        }\n        if (maxsize < 4) {\n          iVar5 = (int)puVar7 - (int)vdata;\n          goto LAB_00015fde;\n        }\n        local_44 = puVar7 + 1;\n        uVar6 = *puVar7;\n        local_48 = maxsize - 4;\n        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      } while (uVar6 < 0xb8);\n      iVar5 = (int)local_44 - (int)vdata;\n    }\n    else {\n      iVar5 = 4;\n    }\n  }" { (expression_statement "local_44 = (uint *)((int)vdata + 4);" (assignment_expression "local_44 = (uint *)((int)vdata + 4)" identifier = (cast_expression "(uint *)((int)vdata + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)vdata + 4)" ( (binary_expression "(int)vdata + 4" (cast_expression "(int)vdata" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) comment (expression_statement "uVar6 = *vdata;" (assignment_expression "uVar6 = *vdata" identifier = (pointer_expression "*vdata" * identifier)) ;) (expression_statement "local_48 = maxsize - 4;" (assignment_expression "local_48 = maxsize - 4" identifier = (binary_expression "maxsize - 4" identifier - number_literal)) ;) (expression_statement "uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;" (assignment_expression "uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18" identifier = (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8" (binary_expression "uVar6 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar6 & 0xff0000) >> 8" (parenthesized_expression "(uVar6 & 0xff0000)" ( (binary_expression "uVar6 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar6 & 0xff00) << 8" (parenthesized_expression "(uVar6 & 0xff00)" ( (binary_expression "uVar6 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar6 << 0x18" identifier << number_literal))) ;) (if_statement "if (uVar6 < 0xb8) {\n      puVar7 = (uint *)vdata;\n      do {\n        entry = (conf_entry *)safemalloc(1,0xc);\n        (entry->key).primary = uVar6;\n        if (subkeytypes[uVar6] == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            safefree(entry);\n            iVar5 = (int)local_44 - (int)vdata;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          s = puVar7 + 2;\n          local_48 = maxsize - 8;\n          iVar5 = toint(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                        uVar6 << 0x18);\n          uVar6 = (entry->key).primary;\n          (entry->key).secondary.i = iVar5;\nLAB_00015eb9:\n          iVar5 = valuetypes[uVar6];\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              pFVar2 = (FontSpec *)filename_deserialise(s,local_48,&used);\n              (entry->value).u.fileval = (Filename *)pFVar2;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              pFVar2 = fontspec_deserialise(s,local_48,&used);\n              (entry->value).u.fontval = pFVar2;\n            }\n            if (pFVar2 != (FontSpec *)0x0) {\n              s = (uint *)((int)s + used);\n              local_48 = local_48 - used;\n              goto LAB_00015f01;\n            }\n            iVar5 = subkeytypes[(entry->key).primary];\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *s;\n              s = s + 1;\n              local_48 = local_48 - 4;\n              iVar5 = toint(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                            uVar6 << 0x18);\n              (entry->value).u.intval = iVar5;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          conf_insert(conf,entry);\n          puVar7 = s;\n          maxsize = local_48;\n        }\n        else {\n          if (subkeytypes[uVar6] == 2) {\n            pvVar3 = memchr(local_44,0,local_48);\n            if (pvVar3 == (void *)0x0) goto LAB_000160b0;\n            s = (uint *)((int)pvVar3 + 1);\n            pcVar4 = dupstr((char *)local_44);\n            uVar6 = (entry->key).primary;\n            (entry->key).secondary.s = pcVar4;\n            local_48 = local_48 - ((int)s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = valuetypes[uVar6];\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar3 = memchr(s,0,local_48);\n          if (pvVar3 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = subkeytypes[uVar6];\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              safefree((entry->key).secondary.s);\n            }\n            safefree(entry);\n            iVar5 = (int)s - (int)vdata;\n            goto LAB_00015fde;\n          }\n          pcVar4 = dupstr((char *)s);\n          (entry->value).u.stringval = pcVar4;\n          puVar7 = (uint *)((int)pvVar3 + 1);\n          maxsize = local_48 - ((int)puVar7 - (int)s);\n          conf_insert(conf,entry);\n        }\n        if (maxsize < 4) {\n          iVar5 = (int)puVar7 - (int)vdata;\n          goto LAB_00015fde;\n        }\n        local_44 = puVar7 + 1;\n        uVar6 = *puVar7;\n        local_48 = maxsize - 4;\n        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      } while (uVar6 < 0xb8);\n      iVar5 = (int)local_44 - (int)vdata;\n    }\n    else {\n      iVar5 = 4;\n    }" if (parenthesized_expression "(uVar6 < 0xb8)" ( (binary_expression "uVar6 < 0xb8" identifier < number_literal) )) (compound_statement "{\n      puVar7 = (uint *)vdata;\n      do {\n        entry = (conf_entry *)safemalloc(1,0xc);\n        (entry->key).primary = uVar6;\n        if (subkeytypes[uVar6] == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            safefree(entry);\n            iVar5 = (int)local_44 - (int)vdata;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          s = puVar7 + 2;\n          local_48 = maxsize - 8;\n          iVar5 = toint(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                        uVar6 << 0x18);\n          uVar6 = (entry->key).primary;\n          (entry->key).secondary.i = iVar5;\nLAB_00015eb9:\n          iVar5 = valuetypes[uVar6];\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              pFVar2 = (FontSpec *)filename_deserialise(s,local_48,&used);\n              (entry->value).u.fileval = (Filename *)pFVar2;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              pFVar2 = fontspec_deserialise(s,local_48,&used);\n              (entry->value).u.fontval = pFVar2;\n            }\n            if (pFVar2 != (FontSpec *)0x0) {\n              s = (uint *)((int)s + used);\n              local_48 = local_48 - used;\n              goto LAB_00015f01;\n            }\n            iVar5 = subkeytypes[(entry->key).primary];\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *s;\n              s = s + 1;\n              local_48 = local_48 - 4;\n              iVar5 = toint(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                            uVar6 << 0x18);\n              (entry->value).u.intval = iVar5;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          conf_insert(conf,entry);\n          puVar7 = s;\n          maxsize = local_48;\n        }\n        else {\n          if (subkeytypes[uVar6] == 2) {\n            pvVar3 = memchr(local_44,0,local_48);\n            if (pvVar3 == (void *)0x0) goto LAB_000160b0;\n            s = (uint *)((int)pvVar3 + 1);\n            pcVar4 = dupstr((char *)local_44);\n            uVar6 = (entry->key).primary;\n            (entry->key).secondary.s = pcVar4;\n            local_48 = local_48 - ((int)s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = valuetypes[uVar6];\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar3 = memchr(s,0,local_48);\n          if (pvVar3 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = subkeytypes[uVar6];\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              safefree((entry->key).secondary.s);\n            }\n            safefree(entry);\n            iVar5 = (int)s - (int)vdata;\n            goto LAB_00015fde;\n          }\n          pcVar4 = dupstr((char *)s);\n          (entry->value).u.stringval = pcVar4;\n          puVar7 = (uint *)((int)pvVar3 + 1);\n          maxsize = local_48 - ((int)puVar7 - (int)s);\n          conf_insert(conf,entry);\n        }\n        if (maxsize < 4) {\n          iVar5 = (int)puVar7 - (int)vdata;\n          goto LAB_00015fde;\n        }\n        local_44 = puVar7 + 1;\n        uVar6 = *puVar7;\n        local_48 = maxsize - 4;\n        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      } while (uVar6 < 0xb8);\n      iVar5 = (int)local_44 - (int)vdata;\n    }" { (expression_statement "puVar7 = (uint *)vdata;" (assignment_expression "puVar7 = (uint *)vdata" identifier = (cast_expression "(uint *)vdata" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (do_statement "do {\n        entry = (conf_entry *)safemalloc(1,0xc);\n        (entry->key).primary = uVar6;\n        if (subkeytypes[uVar6] == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            safefree(entry);\n            iVar5 = (int)local_44 - (int)vdata;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          s = puVar7 + 2;\n          local_48 = maxsize - 8;\n          iVar5 = toint(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                        uVar6 << 0x18);\n          uVar6 = (entry->key).primary;\n          (entry->key).secondary.i = iVar5;\nLAB_00015eb9:\n          iVar5 = valuetypes[uVar6];\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              pFVar2 = (FontSpec *)filename_deserialise(s,local_48,&used);\n              (entry->value).u.fileval = (Filename *)pFVar2;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              pFVar2 = fontspec_deserialise(s,local_48,&used);\n              (entry->value).u.fontval = pFVar2;\n            }\n            if (pFVar2 != (FontSpec *)0x0) {\n              s = (uint *)((int)s + used);\n              local_48 = local_48 - used;\n              goto LAB_00015f01;\n            }\n            iVar5 = subkeytypes[(entry->key).primary];\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *s;\n              s = s + 1;\n              local_48 = local_48 - 4;\n              iVar5 = toint(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                            uVar6 << 0x18);\n              (entry->value).u.intval = iVar5;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          conf_insert(conf,entry);\n          puVar7 = s;\n          maxsize = local_48;\n        }\n        else {\n          if (subkeytypes[uVar6] == 2) {\n            pvVar3 = memchr(local_44,0,local_48);\n            if (pvVar3 == (void *)0x0) goto LAB_000160b0;\n            s = (uint *)((int)pvVar3 + 1);\n            pcVar4 = dupstr((char *)local_44);\n            uVar6 = (entry->key).primary;\n            (entry->key).secondary.s = pcVar4;\n            local_48 = local_48 - ((int)s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = valuetypes[uVar6];\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar3 = memchr(s,0,local_48);\n          if (pvVar3 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = subkeytypes[uVar6];\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              safefree((entry->key).secondary.s);\n            }\n            safefree(entry);\n            iVar5 = (int)s - (int)vdata;\n            goto LAB_00015fde;\n          }\n          pcVar4 = dupstr((char *)s);\n          (entry->value).u.stringval = pcVar4;\n          puVar7 = (uint *)((int)pvVar3 + 1);\n          maxsize = local_48 - ((int)puVar7 - (int)s);\n          conf_insert(conf,entry);\n        }\n        if (maxsize < 4) {\n          iVar5 = (int)puVar7 - (int)vdata;\n          goto LAB_00015fde;\n        }\n        local_44 = puVar7 + 1;\n        uVar6 = *puVar7;\n        local_48 = maxsize - 4;\n        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      } while (uVar6 < 0xb8);" do (compound_statement "{\n        entry = (conf_entry *)safemalloc(1,0xc);\n        (entry->key).primary = uVar6;\n        if (subkeytypes[uVar6] == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            safefree(entry);\n            iVar5 = (int)local_44 - (int)vdata;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          s = puVar7 + 2;\n          local_48 = maxsize - 8;\n          iVar5 = toint(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                        uVar6 << 0x18);\n          uVar6 = (entry->key).primary;\n          (entry->key).secondary.i = iVar5;\nLAB_00015eb9:\n          iVar5 = valuetypes[uVar6];\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              pFVar2 = (FontSpec *)filename_deserialise(s,local_48,&used);\n              (entry->value).u.fileval = (Filename *)pFVar2;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              pFVar2 = fontspec_deserialise(s,local_48,&used);\n              (entry->value).u.fontval = pFVar2;\n            }\n            if (pFVar2 != (FontSpec *)0x0) {\n              s = (uint *)((int)s + used);\n              local_48 = local_48 - used;\n              goto LAB_00015f01;\n            }\n            iVar5 = subkeytypes[(entry->key).primary];\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *s;\n              s = s + 1;\n              local_48 = local_48 - 4;\n              iVar5 = toint(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                            uVar6 << 0x18);\n              (entry->value).u.intval = iVar5;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          conf_insert(conf,entry);\n          puVar7 = s;\n          maxsize = local_48;\n        }\n        else {\n          if (subkeytypes[uVar6] == 2) {\n            pvVar3 = memchr(local_44,0,local_48);\n            if (pvVar3 == (void *)0x0) goto LAB_000160b0;\n            s = (uint *)((int)pvVar3 + 1);\n            pcVar4 = dupstr((char *)local_44);\n            uVar6 = (entry->key).primary;\n            (entry->key).secondary.s = pcVar4;\n            local_48 = local_48 - ((int)s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = valuetypes[uVar6];\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar3 = memchr(s,0,local_48);\n          if (pvVar3 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = subkeytypes[uVar6];\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              safefree((entry->key).secondary.s);\n            }\n            safefree(entry);\n            iVar5 = (int)s - (int)vdata;\n            goto LAB_00015fde;\n          }\n          pcVar4 = dupstr((char *)s);\n          (entry->value).u.stringval = pcVar4;\n          puVar7 = (uint *)((int)pvVar3 + 1);\n          maxsize = local_48 - ((int)puVar7 - (int)s);\n          conf_insert(conf,entry);\n        }\n        if (maxsize < 4) {\n          iVar5 = (int)puVar7 - (int)vdata;\n          goto LAB_00015fde;\n        }\n        local_44 = puVar7 + 1;\n        uVar6 = *puVar7;\n        local_48 = maxsize - 4;\n        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      }" { (expression_statement "entry = (conf_entry *)safemalloc(1,0xc);" (assignment_expression "entry = (conf_entry *)safemalloc(1,0xc)" identifier = (cast_expression "(conf_entry *)safemalloc(1,0xc)" ( (type_descriptor "conf_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "safemalloc(1,0xc)" identifier (argument_list "(1,0xc)" ( number_literal , number_literal ))))) ;) (expression_statement "(entry->key).primary = uVar6;" (assignment_expression "(entry->key).primary = uVar6" (field_expression "(entry->key).primary" (parenthesized_expression "(entry->key)" ( (field_expression "entry->key" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (if_statement "if (subkeytypes[uVar6] == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            safefree(entry);\n            iVar5 = (int)local_44 - (int)vdata;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          s = puVar7 + 2;\n          local_48 = maxsize - 8;\n          iVar5 = toint(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                        uVar6 << 0x18);\n          uVar6 = (entry->key).primary;\n          (entry->key).secondary.i = iVar5;\nLAB_00015eb9:\n          iVar5 = valuetypes[uVar6];\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              pFVar2 = (FontSpec *)filename_deserialise(s,local_48,&used);\n              (entry->value).u.fileval = (Filename *)pFVar2;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              pFVar2 = fontspec_deserialise(s,local_48,&used);\n              (entry->value).u.fontval = pFVar2;\n            }\n            if (pFVar2 != (FontSpec *)0x0) {\n              s = (uint *)((int)s + used);\n              local_48 = local_48 - used;\n              goto LAB_00015f01;\n            }\n            iVar5 = subkeytypes[(entry->key).primary];\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *s;\n              s = s + 1;\n              local_48 = local_48 - 4;\n              iVar5 = toint(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                            uVar6 << 0x18);\n              (entry->value).u.intval = iVar5;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          conf_insert(conf,entry);\n          puVar7 = s;\n          maxsize = local_48;\n        }\n        else {\n          if (subkeytypes[uVar6] == 2) {\n            pvVar3 = memchr(local_44,0,local_48);\n            if (pvVar3 == (void *)0x0) goto LAB_000160b0;\n            s = (uint *)((int)pvVar3 + 1);\n            pcVar4 = dupstr((char *)local_44);\n            uVar6 = (entry->key).primary;\n            (entry->key).secondary.s = pcVar4;\n            local_48 = local_48 - ((int)s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = valuetypes[uVar6];\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar3 = memchr(s,0,local_48);\n          if (pvVar3 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = subkeytypes[uVar6];\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              safefree((entry->key).secondary.s);\n            }\n            safefree(entry);\n            iVar5 = (int)s - (int)vdata;\n            goto LAB_00015fde;\n          }\n          pcVar4 = dupstr((char *)s);\n          (entry->value).u.stringval = pcVar4;\n          puVar7 = (uint *)((int)pvVar3 + 1);\n          maxsize = local_48 - ((int)puVar7 - (int)s);\n          conf_insert(conf,entry);\n        }" if (parenthesized_expression "(subkeytypes[uVar6] == 1)" ( (binary_expression "subkeytypes[uVar6] == 1" (subscript_expression "subkeytypes[uVar6]" identifier [ identifier ]) == number_literal) )) (compound_statement "{\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            safefree(entry);\n            iVar5 = (int)local_44 - (int)vdata;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          s = puVar7 + 2;\n          local_48 = maxsize - 8;\n          iVar5 = toint(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                        uVar6 << 0x18);\n          uVar6 = (entry->key).primary;\n          (entry->key).secondary.i = iVar5;\nLAB_00015eb9:\n          iVar5 = valuetypes[uVar6];\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              pFVar2 = (FontSpec *)filename_deserialise(s,local_48,&used);\n              (entry->value).u.fileval = (Filename *)pFVar2;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              pFVar2 = fontspec_deserialise(s,local_48,&used);\n              (entry->value).u.fontval = pFVar2;\n            }\n            if (pFVar2 != (FontSpec *)0x0) {\n              s = (uint *)((int)s + used);\n              local_48 = local_48 - used;\n              goto LAB_00015f01;\n            }\n            iVar5 = subkeytypes[(entry->key).primary];\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *s;\n              s = s + 1;\n              local_48 = local_48 - 4;\n              iVar5 = toint(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                            uVar6 << 0x18);\n              (entry->value).u.intval = iVar5;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          conf_insert(conf,entry);\n          puVar7 = s;\n          maxsize = local_48;\n        }" { (if_statement "if ((int)local_48 < 4) {\nLAB_000160b0:\n            safefree(entry);\n            iVar5 = (int)local_44 - (int)vdata;\n            goto LAB_00015fde;\n          }" if (parenthesized_expression "((int)local_48 < 4)" ( (binary_expression "(int)local_48 < 4" (cast_expression "(int)local_48" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\nLAB_000160b0:\n            safefree(entry);\n            iVar5 = (int)local_44 - (int)vdata;\n            goto LAB_00015fde;\n          }" { (labeled_statement "LAB_000160b0:\n            safefree(entry);" statement_identifier : (expression_statement "safefree(entry);" (call_expression "safefree(entry)" identifier (argument_list "(entry)" ( identifier ))) ;)) (expression_statement "iVar5 = (int)local_44 - (int)vdata;" (assignment_expression "iVar5 = (int)local_44 - (int)vdata" identifier = (binary_expression "(int)local_44 - (int)vdata" (cast_expression "(int)local_44" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)vdata" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (goto_statement "goto LAB_00015fde;" goto statement_identifier ;) })) (expression_statement "uVar6 = puVar7[1];" (assignment_expression "uVar6 = puVar7[1]" identifier = (subscript_expression "puVar7[1]" identifier [ number_literal ])) ;) (expression_statement "s = puVar7 + 2;" (assignment_expression "s = puVar7 + 2" identifier = (binary_expression "puVar7 + 2" identifier + number_literal)) ;) (expression_statement "local_48 = maxsize - 8;" (assignment_expression "local_48 = maxsize - 8" identifier = (binary_expression "maxsize - 8" identifier - number_literal)) ;) (expression_statement "iVar5 = toint(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                        uVar6 << 0x18);" (assignment_expression "iVar5 = toint(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                        uVar6 << 0x18)" identifier = (call_expression "toint(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                        uVar6 << 0x18)" identifier (argument_list "(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                        uVar6 << 0x18)" ( (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                        uVar6 << 0x18" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8" (binary_expression "uVar6 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar6 & 0xff0000) >> 8" (parenthesized_expression "(uVar6 & 0xff0000)" ( (binary_expression "uVar6 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar6 & 0xff00) << 8" (parenthesized_expression "(uVar6 & 0xff00)" ( (binary_expression "uVar6 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar6 << 0x18" identifier << number_literal)) )))) ;) (expression_statement "uVar6 = (entry->key).primary;" (assignment_expression "uVar6 = (entry->key).primary" identifier = (field_expression "(entry->key).primary" (parenthesized_expression "(entry->key)" ( (field_expression "entry->key" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "(entry->key).secondary.i = iVar5;" (assignment_expression "(entry->key).secondary.i = iVar5" (field_expression "(entry->key).secondary.i" (field_expression "(entry->key).secondary" (parenthesized_expression "(entry->key)" ( (field_expression "entry->key" identifier -> field_identifier) )) . field_identifier) . field_identifier) = identifier) ;) (labeled_statement "LAB_00015eb9:\n          iVar5 = valuetypes[uVar6];" statement_identifier : (expression_statement "iVar5 = valuetypes[uVar6];" (assignment_expression "iVar5 = valuetypes[uVar6]" identifier = (subscript_expression "valuetypes[uVar6]" identifier [ identifier ])) ;)) (expression_statement "iVar1 = iVar5 + -2;" (assignment_expression "iVar1 = iVar5 + -2" identifier = (binary_expression "iVar5 + -2" identifier + number_literal)) ;) (expression_statement "bVar8 = iVar5 == 2;" (assignment_expression "bVar8 = iVar5 == 2" identifier = (binary_expression "iVar5 == 2" identifier == number_literal)) ;) (if_statement "if (bVar8) goto LAB_00015f80;" if (parenthesized_expression "(bVar8)" ( identifier )) (goto_statement "goto LAB_00015f80;" goto statement_identifier ;)) (labeled_statement "LAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              pFVar2 = (FontSpec *)filename_deserialise(s,local_48,&used);\n              (entry->value).u.fileval = (Filename *)pFVar2;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              pFVar2 = fontspec_deserialise(s,local_48,&used);\n              (entry->value).u.fontval = pFVar2;\n            }\n            if (pFVar2 != (FontSpec *)0x0) {\n              s = (uint *)((int)s + used);\n              local_48 = local_48 - used;\n              goto LAB_00015f01;\n            }\n            iVar5 = subkeytypes[(entry->key).primary];\n            goto joined_r0x00016086;\n          }" statement_identifier : (if_statement "if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              pFVar2 = (FontSpec *)filename_deserialise(s,local_48,&used);\n              (entry->value).u.fileval = (Filename *)pFVar2;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              pFVar2 = fontspec_deserialise(s,local_48,&used);\n              (entry->value).u.fontval = pFVar2;\n            }\n            if (pFVar2 != (FontSpec *)0x0) {\n              s = (uint *)((int)s + used);\n              local_48 = local_48 - used;\n              goto LAB_00015f01;\n            }\n            iVar5 = subkeytypes[(entry->key).primary];\n            goto joined_r0x00016086;\n          }" if (parenthesized_expression "(!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0)" ( (binary_expression "!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0" (unary_expression "!bVar8" ! identifier) && (binary_expression "SBORROW4(iVar5,2) == iVar1 < 0" (call_expression "SBORROW4(iVar5,2)" identifier (argument_list "(iVar5,2)" ( identifier , number_literal ))) == (binary_expression "iVar1 < 0" identifier < number_literal))) )) (compound_statement "{\n            if (iVar5 == 3) {\n              pFVar2 = (FontSpec *)filename_deserialise(s,local_48,&used);\n              (entry->value).u.fileval = (Filename *)pFVar2;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              pFVar2 = fontspec_deserialise(s,local_48,&used);\n              (entry->value).u.fontval = pFVar2;\n            }\n            if (pFVar2 != (FontSpec *)0x0) {\n              s = (uint *)((int)s + used);\n              local_48 = local_48 - used;\n              goto LAB_00015f01;\n            }\n            iVar5 = subkeytypes[(entry->key).primary];\n            goto joined_r0x00016086;\n          }" { (if_statement "if (iVar5 == 3) {\n              pFVar2 = (FontSpec *)filename_deserialise(s,local_48,&used);\n              (entry->value).u.fileval = (Filename *)pFVar2;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              pFVar2 = fontspec_deserialise(s,local_48,&used);\n              (entry->value).u.fontval = pFVar2;\n            }" if (parenthesized_expression "(iVar5 == 3)" ( (binary_expression "iVar5 == 3" identifier == number_literal) )) (compound_statement "{\n              pFVar2 = (FontSpec *)filename_deserialise(s,local_48,&used);\n              (entry->value).u.fileval = (Filename *)pFVar2;\n            }" { (expression_statement "pFVar2 = (FontSpec *)filename_deserialise(s,local_48,&used);" (assignment_expression "pFVar2 = (FontSpec *)filename_deserialise(s,local_48,&used)" identifier = (cast_expression "(FontSpec *)filename_deserialise(s,local_48,&used)" ( (type_descriptor "FontSpec *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "filename_deserialise(s,local_48,&used)" identifier (argument_list "(s,local_48,&used)" ( identifier , identifier , (pointer_expression "&used" & identifier) ))))) ;) (expression_statement "(entry->value).u.fileval = (Filename *)pFVar2;" (assignment_expression "(entry->value).u.fileval = (Filename *)pFVar2" (field_expression "(entry->value).u.fileval" (field_expression "(entry->value).u" (parenthesized_expression "(entry->value)" ( (field_expression "entry->value" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (cast_expression "(Filename *)pFVar2" ( (type_descriptor "Filename *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }) (else_clause "else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              pFVar2 = fontspec_deserialise(s,local_48,&used);\n              (entry->value).u.fontval = pFVar2;\n            }" else (compound_statement "{\n              if (iVar5 != 4) goto LAB_00015f01;\n              pFVar2 = fontspec_deserialise(s,local_48,&used);\n              (entry->value).u.fontval = pFVar2;\n            }" { (if_statement "if (iVar5 != 4) goto LAB_00015f01;" if (parenthesized_expression "(iVar5 != 4)" ( (binary_expression "iVar5 != 4" identifier != number_literal) )) (goto_statement "goto LAB_00015f01;" goto statement_identifier ;)) (expression_statement "pFVar2 = fontspec_deserialise(s,local_48,&used);" (assignment_expression "pFVar2 = fontspec_deserialise(s,local_48,&used)" identifier = (call_expression "fontspec_deserialise(s,local_48,&used)" identifier (argument_list "(s,local_48,&used)" ( identifier , identifier , (pointer_expression "&used" & identifier) )))) ;) (expression_statement "(entry->value).u.fontval = pFVar2;" (assignment_expression "(entry->value).u.fontval = pFVar2" (field_expression "(entry->value).u.fontval" (field_expression "(entry->value).u" (parenthesized_expression "(entry->value)" ( (field_expression "entry->value" identifier -> field_identifier) )) . field_identifier) . field_identifier) = identifier) ;) }))) (if_statement "if (pFVar2 != (FontSpec *)0x0) {\n              s = (uint *)((int)s + used);\n              local_48 = local_48 - used;\n              goto LAB_00015f01;\n            }" if (parenthesized_expression "(pFVar2 != (FontSpec *)0x0)" ( (binary_expression "pFVar2 != (FontSpec *)0x0" identifier != (cast_expression "(FontSpec *)0x0" ( (type_descriptor "FontSpec *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              s = (uint *)((int)s + used);\n              local_48 = local_48 - used;\n              goto LAB_00015f01;\n            }" { (expression_statement "s = (uint *)((int)s + used);" (assignment_expression "s = (uint *)((int)s + used)" identifier = (cast_expression "(uint *)((int)s + used)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)s + used)" ( (binary_expression "(int)s + used" (cast_expression "(int)s" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "local_48 = local_48 - used;" (assignment_expression "local_48 = local_48 - used" identifier = (binary_expression "local_48 - used" identifier - identifier)) ;) (goto_statement "goto LAB_00015f01;" goto statement_identifier ;) })) (expression_statement "iVar5 = subkeytypes[(entry->key).primary];" (assignment_expression "iVar5 = subkeytypes[(entry->key).primary]" identifier = (subscript_expression "subkeytypes[(entry->key).primary]" identifier [ (field_expression "(entry->key).primary" (parenthesized_expression "(entry->key)" ( (field_expression "entry->key" identifier -> field_identifier) )) . field_identifier) ])) ;) (goto_statement "goto joined_r0x00016086;" goto statement_identifier ;) }))) (if_statement "if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *s;\n              s = s + 1;\n              local_48 = local_48 - 4;\n              iVar5 = toint(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                            uVar6 << 0x18);\n              (entry->value).u.intval = iVar5;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }" if (parenthesized_expression "(iVar5 == 1)" ( (binary_expression "iVar5 == 1" identifier == number_literal) )) (compound_statement "{\n            if (3 < (int)local_48) {\n              uVar6 = *s;\n              s = s + 1;\n              local_48 = local_48 - 4;\n              iVar5 = toint(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                            uVar6 << 0x18);\n              (entry->value).u.intval = iVar5;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }" { (if_statement "if (3 < (int)local_48) {\n              uVar6 = *s;\n              s = s + 1;\n              local_48 = local_48 - 4;\n              iVar5 = toint(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                            uVar6 << 0x18);\n              (entry->value).u.intval = iVar5;\n              goto LAB_00015f01;\n            }" if (parenthesized_expression "(3 < (int)local_48)" ( (binary_expression "3 < (int)local_48" number_literal < (cast_expression "(int)local_48" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n              uVar6 = *s;\n              s = s + 1;\n              local_48 = local_48 - 4;\n              iVar5 = toint(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                            uVar6 << 0x18);\n              (entry->value).u.intval = iVar5;\n              goto LAB_00015f01;\n            }" { (expression_statement "uVar6 = *s;" (assignment_expression "uVar6 = *s" identifier = (pointer_expression "*s" * identifier)) ;) (expression_statement "s = s + 1;" (assignment_expression "s = s + 1" identifier = (binary_expression "s + 1" identifier + number_literal)) ;) (expression_statement "local_48 = local_48 - 4;" (assignment_expression "local_48 = local_48 - 4" identifier = (binary_expression "local_48 - 4" identifier - number_literal)) ;) (expression_statement "iVar5 = toint(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                            uVar6 << 0x18);" (assignment_expression "iVar5 = toint(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                            uVar6 << 0x18)" identifier = (call_expression "toint(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                            uVar6 << 0x18)" identifier (argument_list "(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                            uVar6 << 0x18)" ( (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                            uVar6 << 0x18" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8" (binary_expression "uVar6 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar6 & 0xff0000) >> 8" (parenthesized_expression "(uVar6 & 0xff0000)" ( (binary_expression "uVar6 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar6 & 0xff00) << 8" (parenthesized_expression "(uVar6 & 0xff00)" ( (binary_expression "uVar6 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar6 << 0x18" identifier << number_literal)) )))) ;) (expression_statement "(entry->value).u.intval = iVar5;" (assignment_expression "(entry->value).u.intval = iVar5" (field_expression "(entry->value).u.intval" (field_expression "(entry->value).u" (parenthesized_expression "(entry->value)" ( (field_expression "entry->value" identifier -> field_identifier) )) . field_identifier) . field_identifier) = identifier) ;) (goto_statement "goto LAB_00015f01;" goto statement_identifier ;) })) (goto_statement "goto LAB_000160c9;" goto statement_identifier ;) })) (labeled_statement "LAB_00015f01:\n          conf_insert(conf,entry);" statement_identifier : (expression_statement "conf_insert(conf,entry);" (call_expression "conf_insert(conf,entry)" identifier (argument_list "(conf,entry)" ( identifier , identifier ))) ;)) (expression_statement "puVar7 = s;" (assignment_expression "puVar7 = s" identifier = identifier) ;) (expression_statement "maxsize = local_48;" (assignment_expression "maxsize = local_48" identifier = identifier) ;) }) (else_clause "else {\n          if (subkeytypes[uVar6] == 2) {\n            pvVar3 = memchr(local_44,0,local_48);\n            if (pvVar3 == (void *)0x0) goto LAB_000160b0;\n            s = (uint *)((int)pvVar3 + 1);\n            pcVar4 = dupstr((char *)local_44);\n            uVar6 = (entry->key).primary;\n            (entry->key).secondary.s = pcVar4;\n            local_48 = local_48 - ((int)s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = valuetypes[uVar6];\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar3 = memchr(s,0,local_48);\n          if (pvVar3 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = subkeytypes[uVar6];\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              safefree((entry->key).secondary.s);\n            }\n            safefree(entry);\n            iVar5 = (int)s - (int)vdata;\n            goto LAB_00015fde;\n          }\n          pcVar4 = dupstr((char *)s);\n          (entry->value).u.stringval = pcVar4;\n          puVar7 = (uint *)((int)pvVar3 + 1);\n          maxsize = local_48 - ((int)puVar7 - (int)s);\n          conf_insert(conf,entry);\n        }" else (compound_statement "{\n          if (subkeytypes[uVar6] == 2) {\n            pvVar3 = memchr(local_44,0,local_48);\n            if (pvVar3 == (void *)0x0) goto LAB_000160b0;\n            s = (uint *)((int)pvVar3 + 1);\n            pcVar4 = dupstr((char *)local_44);\n            uVar6 = (entry->key).primary;\n            (entry->key).secondary.s = pcVar4;\n            local_48 = local_48 - ((int)s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = valuetypes[uVar6];\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar3 = memchr(s,0,local_48);\n          if (pvVar3 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = subkeytypes[uVar6];\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              safefree((entry->key).secondary.s);\n            }\n            safefree(entry);\n            iVar5 = (int)s - (int)vdata;\n            goto LAB_00015fde;\n          }\n          pcVar4 = dupstr((char *)s);\n          (entry->value).u.stringval = pcVar4;\n          puVar7 = (uint *)((int)pvVar3 + 1);\n          maxsize = local_48 - ((int)puVar7 - (int)s);\n          conf_insert(conf,entry);\n        }" { (if_statement "if (subkeytypes[uVar6] == 2) {\n            pvVar3 = memchr(local_44,0,local_48);\n            if (pvVar3 == (void *)0x0) goto LAB_000160b0;\n            s = (uint *)((int)pvVar3 + 1);\n            pcVar4 = dupstr((char *)local_44);\n            uVar6 = (entry->key).primary;\n            (entry->key).secondary.s = pcVar4;\n            local_48 = local_48 - ((int)s - (int)local_44);\n            goto LAB_00015eb9;\n          }" if (parenthesized_expression "(subkeytypes[uVar6] == 2)" ( (binary_expression "subkeytypes[uVar6] == 2" (subscript_expression "subkeytypes[uVar6]" identifier [ identifier ]) == number_literal) )) (compound_statement "{\n            pvVar3 = memchr(local_44,0,local_48);\n            if (pvVar3 == (void *)0x0) goto LAB_000160b0;\n            s = (uint *)((int)pvVar3 + 1);\n            pcVar4 = dupstr((char *)local_44);\n            uVar6 = (entry->key).primary;\n            (entry->key).secondary.s = pcVar4;\n            local_48 = local_48 - ((int)s - (int)local_44);\n            goto LAB_00015eb9;\n          }" { (expression_statement "pvVar3 = memchr(local_44,0,local_48);" (assignment_expression "pvVar3 = memchr(local_44,0,local_48)" identifier = (call_expression "memchr(local_44,0,local_48)" identifier (argument_list "(local_44,0,local_48)" ( identifier , number_literal , identifier )))) ;) (if_statement "if (pvVar3 == (void *)0x0) goto LAB_000160b0;" if (parenthesized_expression "(pvVar3 == (void *)0x0)" ( (binary_expression "pvVar3 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000160b0;" goto statement_identifier ;)) (expression_statement "s = (uint *)((int)pvVar3 + 1);" (assignment_expression "s = (uint *)((int)pvVar3 + 1)" identifier = (cast_expression "(uint *)((int)pvVar3 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar3 + 1)" ( (binary_expression "(int)pvVar3 + 1" (cast_expression "(int)pvVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "pcVar4 = dupstr((char *)local_44);" (assignment_expression "pcVar4 = dupstr((char *)local_44)" identifier = (call_expression "dupstr((char *)local_44)" identifier (argument_list "((char *)local_44)" ( (cast_expression "(char *)local_44" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (expression_statement "uVar6 = (entry->key).primary;" (assignment_expression "uVar6 = (entry->key).primary" identifier = (field_expression "(entry->key).primary" (parenthesized_expression "(entry->key)" ( (field_expression "entry->key" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "(entry->key).secondary.s = pcVar4;" (assignment_expression "(entry->key).secondary.s = pcVar4" (field_expression "(entry->key).secondary.s" (field_expression "(entry->key).secondary" (parenthesized_expression "(entry->key)" ( (field_expression "entry->key" identifier -> field_identifier) )) . field_identifier) . field_identifier) = identifier) ;) (expression_statement "local_48 = local_48 - ((int)s - (int)local_44);" (assignment_expression "local_48 = local_48 - ((int)s - (int)local_44)" identifier = (binary_expression "local_48 - ((int)s - (int)local_44)" identifier - (parenthesized_expression "((int)s - (int)local_44)" ( (binary_expression "(int)s - (int)local_44" (cast_expression "(int)s" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_44" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (goto_statement "goto LAB_00015eb9;" goto statement_identifier ;) })) (expression_statement "iVar5 = valuetypes[uVar6];" (assignment_expression "iVar5 = valuetypes[uVar6]" identifier = (subscript_expression "valuetypes[uVar6]" identifier [ identifier ])) ;) (expression_statement "iVar1 = iVar5 + -2;" (assignment_expression "iVar1 = iVar5 + -2" identifier = (binary_expression "iVar5 + -2" identifier + number_literal)) ;) (expression_statement "bVar8 = iVar1 == 0;" (assignment_expression "bVar8 = iVar1 == 0" identifier = (binary_expression "iVar1 == 0" identifier == number_literal)) ;) (expression_statement "s = local_44;" (assignment_expression "s = local_44" identifier = identifier) ;) (if_statement "if (!bVar8) goto LAB_00015ec9;" if (parenthesized_expression "(!bVar8)" ( (unary_expression "!bVar8" ! identifier) )) (goto_statement "goto LAB_00015ec9;" goto statement_identifier ;)) (labeled_statement "LAB_00015f80:\n          pvVar3 = memchr(s,0,local_48);" statement_identifier : (expression_statement "pvVar3 = memchr(s,0,local_48);" (assignment_expression "pvVar3 = memchr(s,0,local_48)" identifier = (call_expression "memchr(s,0,local_48)" identifier (argument_list "(s,0,local_48)" ( identifier , number_literal , identifier )))) ;)) (if_statement "if (pvVar3 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = subkeytypes[uVar6];\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              safefree((entry->key).secondary.s);\n            }\n            safefree(entry);\n            iVar5 = (int)s - (int)vdata;\n            goto LAB_00015fde;\n          }" if (parenthesized_expression "(pvVar3 == (void *)0x0)" ( (binary_expression "pvVar3 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_000160c9:\n            iVar5 = subkeytypes[uVar6];\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              safefree((entry->key).secondary.s);\n            }\n            safefree(entry);\n            iVar5 = (int)s - (int)vdata;\n            goto LAB_00015fde;\n          }" { (labeled_statement "LAB_000160c9:\n            iVar5 = subkeytypes[uVar6];" statement_identifier : (expression_statement "iVar5 = subkeytypes[uVar6];" (assignment_expression "iVar5 = subkeytypes[uVar6]" identifier = (subscript_expression "subkeytypes[uVar6]" identifier [ identifier ])) ;)) (labeled_statement "joined_r0x00016086:\n            if (iVar5 == 2) {\n              safefree((entry->key).secondary.s);\n            }" statement_identifier : (if_statement "if (iVar5 == 2) {\n              safefree((entry->key).secondary.s);\n            }" if (parenthesized_expression "(iVar5 == 2)" ( (binary_expression "iVar5 == 2" identifier == number_literal) )) (compound_statement "{\n              safefree((entry->key).secondary.s);\n            }" { (expression_statement "safefree((entry->key).secondary.s);" (call_expression "safefree((entry->key).secondary.s)" identifier (argument_list "((entry->key).secondary.s)" ( (field_expression "(entry->key).secondary.s" (field_expression "(entry->key).secondary" (parenthesized_expression "(entry->key)" ( (field_expression "entry->key" identifier -> field_identifier) )) . field_identifier) . field_identifier) ))) ;) }))) (expression_statement "safefree(entry);" (call_expression "safefree(entry)" identifier (argument_list "(entry)" ( identifier ))) ;) (expression_statement "iVar5 = (int)s - (int)vdata;" (assignment_expression "iVar5 = (int)s - (int)vdata" identifier = (binary_expression "(int)s - (int)vdata" (cast_expression "(int)s" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)vdata" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (goto_statement "goto LAB_00015fde;" goto statement_identifier ;) })) (expression_statement "pcVar4 = dupstr((char *)s);" (assignment_expression "pcVar4 = dupstr((char *)s)" identifier = (call_expression "dupstr((char *)s)" identifier (argument_list "((char *)s)" ( (cast_expression "(char *)s" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (expression_statement "(entry->value).u.stringval = pcVar4;" (assignment_expression "(entry->value).u.stringval = pcVar4" (field_expression "(entry->value).u.stringval" (field_expression "(entry->value).u" (parenthesized_expression "(entry->value)" ( (field_expression "entry->value" identifier -> field_identifier) )) . field_identifier) . field_identifier) = identifier) ;) (expression_statement "puVar7 = (uint *)((int)pvVar3 + 1);" (assignment_expression "puVar7 = (uint *)((int)pvVar3 + 1)" identifier = (cast_expression "(uint *)((int)pvVar3 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar3 + 1)" ( (binary_expression "(int)pvVar3 + 1" (cast_expression "(int)pvVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "maxsize = local_48 - ((int)puVar7 - (int)s);" (assignment_expression "maxsize = local_48 - ((int)puVar7 - (int)s)" identifier = (binary_expression "local_48 - ((int)puVar7 - (int)s)" identifier - (parenthesized_expression "((int)puVar7 - (int)s)" ( (binary_expression "(int)puVar7 - (int)s" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)s" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "conf_insert(conf,entry);" (call_expression "conf_insert(conf,entry)" identifier (argument_list "(conf,entry)" ( identifier , identifier ))) ;) }))) (if_statement "if (maxsize < 4) {\n          iVar5 = (int)puVar7 - (int)vdata;\n          goto LAB_00015fde;\n        }" if (parenthesized_expression "(maxsize < 4)" ( (binary_expression "maxsize < 4" identifier < number_literal) )) (compound_statement "{\n          iVar5 = (int)puVar7 - (int)vdata;\n          goto LAB_00015fde;\n        }" { (expression_statement "iVar5 = (int)puVar7 - (int)vdata;" (assignment_expression "iVar5 = (int)puVar7 - (int)vdata" identifier = (binary_expression "(int)puVar7 - (int)vdata" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)vdata" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (goto_statement "goto LAB_00015fde;" goto statement_identifier ;) })) (expression_statement "local_44 = puVar7 + 1;" (assignment_expression "local_44 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = *puVar7;" (assignment_expression "uVar6 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "local_48 = maxsize - 4;" (assignment_expression "local_48 = maxsize - 4" identifier = (binary_expression "maxsize - 4" identifier - number_literal)) ;) (expression_statement "uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;" (assignment_expression "uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18" identifier = (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8" (binary_expression "uVar6 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar6 & 0xff0000) >> 8" (parenthesized_expression "(uVar6 & 0xff0000)" ( (binary_expression "uVar6 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar6 & 0xff00) << 8" (parenthesized_expression "(uVar6 & 0xff00)" ( (binary_expression "uVar6 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar6 << 0x18" identifier << number_literal))) ;) }) while (parenthesized_expression "(uVar6 < 0xb8)" ( (binary_expression "uVar6 < 0xb8" identifier < number_literal) )) ;) (expression_statement "iVar5 = (int)local_44 - (int)vdata;" (assignment_expression "iVar5 = (int)local_44 - (int)vdata" identifier = (binary_expression "(int)local_44 - (int)vdata" (cast_expression "(int)local_44" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)vdata" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }) (else_clause "else {\n      iVar5 = 4;\n    }" else (compound_statement "{\n      iVar5 = 4;\n    }" { (expression_statement "iVar5 = 4;" (assignment_expression "iVar5 = 4" identifier = number_literal) ;) }))) }))) (labeled_statement "LAB_00015fde:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return iVar5;\n  }" { (return_statement "return iVar5;" return identifier ;) }))) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "int FUN_00015e00(undefined4 param_1,uint *param_2,size_t param_3)\n\n{\n  int iVar1;\n  uint uVar2;\n  uint *puVar3;\n  void *pvVar4;\n  int iVar5;\n  uint uVar6;\n  uint *__s;\n  uint *puVar7;\n  int in_GS_OFFSET;\n  bool bVar8;\n  size_t local_48;\n  uint *local_44;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x15e09;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((int)param_3 < 4) {\n    iVar5 = 0;\n  }\n  else {\n    local_44 = param_2 + 1;\n    uVar6 = *param_2;\n    local_48 = param_3 - 4;\n    uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    if (uVar6 < 0xb8) {\n      puVar7 = param_2;\n      do {\n        puVar3 = (uint *)FUN_0001bd60(1,0xc);\n        *puVar3 = uVar6;\n        if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          __s = puVar7 + 2;\n          local_48 = param_3 - 8;\n          uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18);\n          uVar6 = *puVar3;\n          puVar3[1] = uVar2;\nLAB_00015eb9:\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          FUN_00014cf0();\n          puVar7 = __s;\n          param_3 = local_48;\n        }\n        else {\n          if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          __s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);\n          if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = FUN_0001be70(__s);\n          puVar3[2] = uVar6;\n          puVar7 = (uint *)((int)pvVar4 + 1);\n          param_3 = local_48 - ((int)puVar7 - (int)__s);\n          FUN_00014cf0();\n        }\n        if ((int)param_3 < 4) {\n          iVar5 = (int)puVar7 - (int)param_2;\n          goto LAB_00015fde;\n        }\n        local_44 = puVar7 + 1;\n        uVar6 = *puVar7;\n        local_48 = param_3 - 4;\n        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      } while (uVar6 < 0xb8);\n      iVar5 = (int)local_44 - (int)param_2;\n    }\n    else {\n      iVar5 = 4;\n    }\n  }\nLAB_00015fde:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }\n                    \n  FUN_0003dc30();\n}\n\n" (function_definition "int FUN_00015e00(undefined4 param_1,uint *param_2,size_t param_3)\n\n{\n  int iVar1;\n  uint uVar2;\n  uint *puVar3;\n  void *pvVar4;\n  int iVar5;\n  uint uVar6;\n  uint *__s;\n  uint *puVar7;\n  int in_GS_OFFSET;\n  bool bVar8;\n  size_t local_48;\n  uint *local_44;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x15e09;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((int)param_3 < 4) {\n    iVar5 = 0;\n  }\n  else {\n    local_44 = param_2 + 1;\n    uVar6 = *param_2;\n    local_48 = param_3 - 4;\n    uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    if (uVar6 < 0xb8) {\n      puVar7 = param_2;\n      do {\n        puVar3 = (uint *)FUN_0001bd60(1,0xc);\n        *puVar3 = uVar6;\n        if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          __s = puVar7 + 2;\n          local_48 = param_3 - 8;\n          uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18);\n          uVar6 = *puVar3;\n          puVar3[1] = uVar2;\nLAB_00015eb9:\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          FUN_00014cf0();\n          puVar7 = __s;\n          param_3 = local_48;\n        }\n        else {\n          if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          __s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);\n          if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = FUN_0001be70(__s);\n          puVar3[2] = uVar6;\n          puVar7 = (uint *)((int)pvVar4 + 1);\n          param_3 = local_48 - ((int)puVar7 - (int)__s);\n          FUN_00014cf0();\n        }\n        if ((int)param_3 < 4) {\n          iVar5 = (int)puVar7 - (int)param_2;\n          goto LAB_00015fde;\n        }\n        local_44 = puVar7 + 1;\n        uVar6 = *puVar7;\n        local_48 = param_3 - 4;\n        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      } while (uVar6 < 0xb8);\n      iVar5 = (int)local_44 - (int)param_2;\n    }\n    else {\n      iVar5 = 4;\n    }\n  }\nLAB_00015fde:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }\n                    \n  FUN_0003dc30();\n}" primitive_type (function_declarator "FUN_00015e00(undefined4 param_1,uint *param_2,size_t param_3)" identifier (parameter_list "(undefined4 param_1,uint *param_2,size_t param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "uint *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "size_t param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  uint *puVar3;\n  void *pvVar4;\n  int iVar5;\n  uint uVar6;\n  uint *__s;\n  uint *puVar7;\n  int in_GS_OFFSET;\n  bool bVar8;\n  size_t local_48;\n  uint *local_44;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x15e09;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((int)param_3 < 4) {\n    iVar5 = 0;\n  }\n  else {\n    local_44 = param_2 + 1;\n    uVar6 = *param_2;\n    local_48 = param_3 - 4;\n    uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    if (uVar6 < 0xb8) {\n      puVar7 = param_2;\n      do {\n        puVar3 = (uint *)FUN_0001bd60(1,0xc);\n        *puVar3 = uVar6;\n        if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          __s = puVar7 + 2;\n          local_48 = param_3 - 8;\n          uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18);\n          uVar6 = *puVar3;\n          puVar3[1] = uVar2;\nLAB_00015eb9:\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          FUN_00014cf0();\n          puVar7 = __s;\n          param_3 = local_48;\n        }\n        else {\n          if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          __s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);\n          if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = FUN_0001be70(__s);\n          puVar3[2] = uVar6;\n          puVar7 = (uint *)((int)pvVar4 + 1);\n          param_3 = local_48 - ((int)puVar7 - (int)__s);\n          FUN_00014cf0();\n        }\n        if ((int)param_3 < 4) {\n          iVar5 = (int)puVar7 - (int)param_2;\n          goto LAB_00015fde;\n        }\n        local_44 = puVar7 + 1;\n        uVar6 = *puVar7;\n        local_48 = param_3 - 4;\n        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      } while (uVar6 < 0xb8);\n      iVar5 = (int)local_44 - (int)param_2;\n    }\n    else {\n      iVar5 = 4;\n    }\n  }\nLAB_00015fde:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }\n                    \n  FUN_0003dc30();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "void *pvVar4;" primitive_type (pointer_declarator "*pvVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint *__s;" type_identifier (pointer_declarator "*__s" * identifier) ;) (declaration "uint *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar8;" primitive_type identifier ;) (declaration "size_t local_48;" primitive_type identifier ;) (declaration "uint *local_44;" type_identifier (pointer_declarator "*local_44" * identifier) ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x15e09;" (assignment_expression "uStack_14 = 0x15e09" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if ((int)param_3 < 4) {\n    iVar5 = 0;\n  }\n  else {\n    local_44 = param_2 + 1;\n    uVar6 = *param_2;\n    local_48 = param_3 - 4;\n    uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    if (uVar6 < 0xb8) {\n      puVar7 = param_2;\n      do {\n        puVar3 = (uint *)FUN_0001bd60(1,0xc);\n        *puVar3 = uVar6;\n        if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          __s = puVar7 + 2;\n          local_48 = param_3 - 8;\n          uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18);\n          uVar6 = *puVar3;\n          puVar3[1] = uVar2;\nLAB_00015eb9:\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          FUN_00014cf0();\n          puVar7 = __s;\n          param_3 = local_48;\n        }\n        else {\n          if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          __s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);\n          if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = FUN_0001be70(__s);\n          puVar3[2] = uVar6;\n          puVar7 = (uint *)((int)pvVar4 + 1);\n          param_3 = local_48 - ((int)puVar7 - (int)__s);\n          FUN_00014cf0();\n        }\n        if ((int)param_3 < 4) {\n          iVar5 = (int)puVar7 - (int)param_2;\n          goto LAB_00015fde;\n        }\n        local_44 = puVar7 + 1;\n        uVar6 = *puVar7;\n        local_48 = param_3 - 4;\n        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      } while (uVar6 < 0xb8);\n      iVar5 = (int)local_44 - (int)param_2;\n    }\n    else {\n      iVar5 = 4;\n    }\n  }" if (parenthesized_expression "((int)param_3 < 4)" ( (binary_expression "(int)param_3 < 4" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    iVar5 = 0;\n  }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    local_44 = param_2 + 1;\n    uVar6 = *param_2;\n    local_48 = param_3 - 4;\n    uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    if (uVar6 < 0xb8) {\n      puVar7 = param_2;\n      do {\n        puVar3 = (uint *)FUN_0001bd60(1,0xc);\n        *puVar3 = uVar6;\n        if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          __s = puVar7 + 2;\n          local_48 = param_3 - 8;\n          uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18);\n          uVar6 = *puVar3;\n          puVar3[1] = uVar2;\nLAB_00015eb9:\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          FUN_00014cf0();\n          puVar7 = __s;\n          param_3 = local_48;\n        }\n        else {\n          if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          __s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);\n          if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = FUN_0001be70(__s);\n          puVar3[2] = uVar6;\n          puVar7 = (uint *)((int)pvVar4 + 1);\n          param_3 = local_48 - ((int)puVar7 - (int)__s);\n          FUN_00014cf0();\n        }\n        if ((int)param_3 < 4) {\n          iVar5 = (int)puVar7 - (int)param_2;\n          goto LAB_00015fde;\n        }\n        local_44 = puVar7 + 1;\n        uVar6 = *puVar7;\n        local_48 = param_3 - 4;\n        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      } while (uVar6 < 0xb8);\n      iVar5 = (int)local_44 - (int)param_2;\n    }\n    else {\n      iVar5 = 4;\n    }\n  }" else (compound_statement "{\n    local_44 = param_2 + 1;\n    uVar6 = *param_2;\n    local_48 = param_3 - 4;\n    uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    if (uVar6 < 0xb8) {\n      puVar7 = param_2;\n      do {\n        puVar3 = (uint *)FUN_0001bd60(1,0xc);\n        *puVar3 = uVar6;\n        if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          __s = puVar7 + 2;\n          local_48 = param_3 - 8;\n          uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18);\n          uVar6 = *puVar3;\n          puVar3[1] = uVar2;\nLAB_00015eb9:\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          FUN_00014cf0();\n          puVar7 = __s;\n          param_3 = local_48;\n        }\n        else {\n          if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          __s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);\n          if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = FUN_0001be70(__s);\n          puVar3[2] = uVar6;\n          puVar7 = (uint *)((int)pvVar4 + 1);\n          param_3 = local_48 - ((int)puVar7 - (int)__s);\n          FUN_00014cf0();\n        }\n        if ((int)param_3 < 4) {\n          iVar5 = (int)puVar7 - (int)param_2;\n          goto LAB_00015fde;\n        }\n        local_44 = puVar7 + 1;\n        uVar6 = *puVar7;\n        local_48 = param_3 - 4;\n        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      } while (uVar6 < 0xb8);\n      iVar5 = (int)local_44 - (int)param_2;\n    }\n    else {\n      iVar5 = 4;\n    }\n  }" { (expression_statement "local_44 = param_2 + 1;" (assignment_expression "local_44 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = *param_2;" (assignment_expression "uVar6 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "local_48 = param_3 - 4;" (assignment_expression "local_48 = param_3 - 4" identifier = (binary_expression "param_3 - 4" identifier - number_literal)) ;) (expression_statement "uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;" (assignment_expression "uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18" identifier = (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8" (binary_expression "uVar6 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar6 & 0xff0000) >> 8" (parenthesized_expression "(uVar6 & 0xff0000)" ( (binary_expression "uVar6 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar6 & 0xff00) << 8" (parenthesized_expression "(uVar6 & 0xff00)" ( (binary_expression "uVar6 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar6 << 0x18" identifier << number_literal))) ;) (if_statement "if (uVar6 < 0xb8) {\n      puVar7 = param_2;\n      do {\n        puVar3 = (uint *)FUN_0001bd60(1,0xc);\n        *puVar3 = uVar6;\n        if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          __s = puVar7 + 2;\n          local_48 = param_3 - 8;\n          uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18);\n          uVar6 = *puVar3;\n          puVar3[1] = uVar2;\nLAB_00015eb9:\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          FUN_00014cf0();\n          puVar7 = __s;\n          param_3 = local_48;\n        }\n        else {\n          if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          __s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);\n          if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = FUN_0001be70(__s);\n          puVar3[2] = uVar6;\n          puVar7 = (uint *)((int)pvVar4 + 1);\n          param_3 = local_48 - ((int)puVar7 - (int)__s);\n          FUN_00014cf0();\n        }\n        if ((int)param_3 < 4) {\n          iVar5 = (int)puVar7 - (int)param_2;\n          goto LAB_00015fde;\n        }\n        local_44 = puVar7 + 1;\n        uVar6 = *puVar7;\n        local_48 = param_3 - 4;\n        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      } while (uVar6 < 0xb8);\n      iVar5 = (int)local_44 - (int)param_2;\n    }\n    else {\n      iVar5 = 4;\n    }" if (parenthesized_expression "(uVar6 < 0xb8)" ( (binary_expression "uVar6 < 0xb8" identifier < number_literal) )) (compound_statement "{\n      puVar7 = param_2;\n      do {\n        puVar3 = (uint *)FUN_0001bd60(1,0xc);\n        *puVar3 = uVar6;\n        if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          __s = puVar7 + 2;\n          local_48 = param_3 - 8;\n          uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18);\n          uVar6 = *puVar3;\n          puVar3[1] = uVar2;\nLAB_00015eb9:\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          FUN_00014cf0();\n          puVar7 = __s;\n          param_3 = local_48;\n        }\n        else {\n          if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          __s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);\n          if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = FUN_0001be70(__s);\n          puVar3[2] = uVar6;\n          puVar7 = (uint *)((int)pvVar4 + 1);\n          param_3 = local_48 - ((int)puVar7 - (int)__s);\n          FUN_00014cf0();\n        }\n        if ((int)param_3 < 4) {\n          iVar5 = (int)puVar7 - (int)param_2;\n          goto LAB_00015fde;\n        }\n        local_44 = puVar7 + 1;\n        uVar6 = *puVar7;\n        local_48 = param_3 - 4;\n        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      } while (uVar6 < 0xb8);\n      iVar5 = (int)local_44 - (int)param_2;\n    }" { (expression_statement "puVar7 = param_2;" (assignment_expression "puVar7 = param_2" identifier = identifier) ;) (do_statement "do {\n        puVar3 = (uint *)FUN_0001bd60(1,0xc);\n        *puVar3 = uVar6;\n        if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          __s = puVar7 + 2;\n          local_48 = param_3 - 8;\n          uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18);\n          uVar6 = *puVar3;\n          puVar3[1] = uVar2;\nLAB_00015eb9:\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          FUN_00014cf0();\n          puVar7 = __s;\n          param_3 = local_48;\n        }\n        else {\n          if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          __s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);\n          if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = FUN_0001be70(__s);\n          puVar3[2] = uVar6;\n          puVar7 = (uint *)((int)pvVar4 + 1);\n          param_3 = local_48 - ((int)puVar7 - (int)__s);\n          FUN_00014cf0();\n        }\n        if ((int)param_3 < 4) {\n          iVar5 = (int)puVar7 - (int)param_2;\n          goto LAB_00015fde;\n        }\n        local_44 = puVar7 + 1;\n        uVar6 = *puVar7;\n        local_48 = param_3 - 4;\n        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      } while (uVar6 < 0xb8);" do (compound_statement "{\n        puVar3 = (uint *)FUN_0001bd60(1,0xc);\n        *puVar3 = uVar6;\n        if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          __s = puVar7 + 2;\n          local_48 = param_3 - 8;\n          uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18);\n          uVar6 = *puVar3;\n          puVar3[1] = uVar2;\nLAB_00015eb9:\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          FUN_00014cf0();\n          puVar7 = __s;\n          param_3 = local_48;\n        }\n        else {\n          if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          __s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);\n          if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = FUN_0001be70(__s);\n          puVar3[2] = uVar6;\n          puVar7 = (uint *)((int)pvVar4 + 1);\n          param_3 = local_48 - ((int)puVar7 - (int)__s);\n          FUN_00014cf0();\n        }\n        if ((int)param_3 < 4) {\n          iVar5 = (int)puVar7 - (int)param_2;\n          goto LAB_00015fde;\n        }\n        local_44 = puVar7 + 1;\n        uVar6 = *puVar7;\n        local_48 = param_3 - 4;\n        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      }" { (expression_statement "puVar3 = (uint *)FUN_0001bd60(1,0xc);" (assignment_expression "puVar3 = (uint *)FUN_0001bd60(1,0xc)" identifier = (cast_expression "(uint *)FUN_0001bd60(1,0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001bd60(1,0xc)" identifier (argument_list "(1,0xc)" ( number_literal , number_literal ))))) ;) (expression_statement "*puVar3 = uVar6;" (assignment_expression "*puVar3 = uVar6" (pointer_expression "*puVar3" * identifier) = identifier) ;) (if_statement "if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          __s = puVar7 + 2;\n          local_48 = param_3 - 8;\n          uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18);\n          uVar6 = *puVar3;\n          puVar3[1] = uVar2;\nLAB_00015eb9:\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          FUN_00014cf0();\n          puVar7 = __s;\n          param_3 = local_48;\n        }\n        else {\n          if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          __s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);\n          if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = FUN_0001be70(__s);\n          puVar3[2] = uVar6;\n          puVar7 = (uint *)((int)pvVar4 + 1);\n          param_3 = local_48 - ((int)puVar7 - (int)__s);\n          FUN_00014cf0();\n        }" if (parenthesized_expression "(*(int *)(&DAT_0003f560 + uVar6 * 4) == 1)" ( (binary_expression "*(int *)(&DAT_0003f560 + uVar6 * 4) == 1" (pointer_expression "*(int *)(&DAT_0003f560 + uVar6 * 4)" * (cast_expression "(int *)(&DAT_0003f560 + uVar6 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0003f560 + uVar6 * 4)" ( (binary_expression "&DAT_0003f560 + uVar6 * 4" (pointer_expression "&DAT_0003f560" & identifier) + (binary_expression "uVar6 * 4" identifier * number_literal)) )))) == number_literal) )) (compound_statement "{\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          __s = puVar7 + 2;\n          local_48 = param_3 - 8;\n          uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18);\n          uVar6 = *puVar3;\n          puVar3[1] = uVar2;\nLAB_00015eb9:\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          FUN_00014cf0();\n          puVar7 = __s;\n          param_3 = local_48;\n        }" { (if_statement "if ((int)local_48 < 4) {\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }" if (parenthesized_expression "((int)local_48 < 4)" ( (binary_expression "(int)local_48 < 4" (cast_expression "(int)local_48" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }" { (labeled_statement "LAB_000160b0:\n            FUN_0001c5f0(puVar3);" statement_identifier : (expression_statement "FUN_0001c5f0(puVar3);" (call_expression "FUN_0001c5f0(puVar3)" identifier (argument_list "(puVar3)" ( identifier ))) ;)) (expression_statement "iVar5 = (int)local_44 - (int)param_2;" (assignment_expression "iVar5 = (int)local_44 - (int)param_2" identifier = (binary_expression "(int)local_44 - (int)param_2" (cast_expression "(int)local_44" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (goto_statement "goto LAB_00015fde;" goto statement_identifier ;) })) (expression_statement "uVar6 = puVar7[1];" (assignment_expression "uVar6 = puVar7[1]" identifier = (subscript_expression "puVar7[1]" identifier [ number_literal ])) ;) (expression_statement "__s = puVar7 + 2;" (assignment_expression "__s = puVar7 + 2" identifier = (binary_expression "puVar7 + 2" identifier + number_literal)) ;) (expression_statement "local_48 = param_3 - 8;" (assignment_expression "local_48 = param_3 - 8" identifier = (binary_expression "param_3 - 8" identifier - number_literal)) ;) (expression_statement "uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18);" (assignment_expression "uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18)" identifier = (call_expression "FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18)" identifier (argument_list "(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18)" ( (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8" (binary_expression "uVar6 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar6 & 0xff0000) >> 8" (parenthesized_expression "(uVar6 & 0xff0000)" ( (binary_expression "uVar6 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar6 & 0xff00) << 8" (parenthesized_expression "(uVar6 & 0xff00)" ( (binary_expression "uVar6 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar6 << 0x18" identifier << number_literal)) )))) ;) (expression_statement "uVar6 = *puVar3;" (assignment_expression "uVar6 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "puVar3[1] = uVar2;" (assignment_expression "puVar3[1] = uVar2" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = identifier) ;) (labeled_statement "LAB_00015eb9:\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);" statement_identifier : (expression_statement "iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);" (assignment_expression "iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4)" identifier = (pointer_expression "*(int *)(&DAT_0003f280 + uVar6 * 4)" * (cast_expression "(int *)(&DAT_0003f280 + uVar6 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0003f280 + uVar6 * 4)" ( (binary_expression "&DAT_0003f280 + uVar6 * 4" (pointer_expression "&DAT_0003f280" & identifier) + (binary_expression "uVar6 * 4" identifier * number_literal)) ))))) ;)) (expression_statement "iVar1 = iVar5 + -2;" (assignment_expression "iVar1 = iVar5 + -2" identifier = (binary_expression "iVar5 + -2" identifier + number_literal)) ;) (expression_statement "bVar8 = iVar5 == 2;" (assignment_expression "bVar8 = iVar5 == 2" identifier = (binary_expression "iVar5 == 2" identifier == number_literal)) ;) (if_statement "if (bVar8) goto LAB_00015f80;" if (parenthesized_expression "(bVar8)" ( identifier )) (goto_statement "goto LAB_00015f80;" goto statement_identifier ;)) (labeled_statement "LAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }" statement_identifier : (if_statement "if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }" if (parenthesized_expression "(!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0)" ( (binary_expression "!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0" (unary_expression "!bVar8" ! identifier) && (binary_expression "SBORROW4(iVar5,2) == iVar1 < 0" (call_expression "SBORROW4(iVar5,2)" identifier (argument_list "(iVar5,2)" ( identifier , number_literal ))) == (binary_expression "iVar1 < 0" identifier < number_literal))) )) (compound_statement "{\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }" { (if_statement "if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }" if (parenthesized_expression "(iVar5 == 3)" ( (binary_expression "iVar5 == 3" identifier == number_literal) )) (compound_statement "{\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }" { (expression_statement "uVar6 = FUN_0003b290(__s,local_48,&local_24);" (assignment_expression "uVar6 = FUN_0003b290(__s,local_48,&local_24)" identifier = (call_expression "FUN_0003b290(__s,local_48,&local_24)" identifier (argument_list "(__s,local_48,&local_24)" ( identifier , identifier , (pointer_expression "&local_24" & identifier) )))) ;) (expression_statement "puVar3[2] = uVar6;" (assignment_expression "puVar3[2] = uVar6" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }" else (compound_statement "{\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }" { (if_statement "if (iVar5 != 4) goto LAB_00015f01;" if (parenthesized_expression "(iVar5 != 4)" ( (binary_expression "iVar5 != 4" identifier != number_literal) )) (goto_statement "goto LAB_00015f01;" goto statement_identifier ;)) (expression_statement "uVar6 = FUN_0003b750(__s,local_48,&local_24);" (assignment_expression "uVar6 = FUN_0003b750(__s,local_48,&local_24)" identifier = (call_expression "FUN_0003b750(__s,local_48,&local_24)" identifier (argument_list "(__s,local_48,&local_24)" ( identifier , identifier , (pointer_expression "&local_24" & identifier) )))) ;) (expression_statement "puVar3[2] = uVar6;" (assignment_expression "puVar3[2] = uVar6" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = identifier) ;) }))) (if_statement "if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }" if (parenthesized_expression "(uVar6 != 0)" ( (binary_expression "uVar6 != 0" identifier != number_literal) )) (compound_statement "{\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }" { (expression_statement "__s = (uint *)((int)__s + local_24);" (assignment_expression "__s = (uint *)((int)__s + local_24)" identifier = (cast_expression "(uint *)((int)__s + local_24)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__s + local_24)" ( (binary_expression "(int)__s + local_24" (cast_expression "(int)__s" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "local_48 = local_48 - local_24;" (assignment_expression "local_48 = local_48 - local_24" identifier = (binary_expression "local_48 - local_24" identifier - identifier)) ;) (goto_statement "goto LAB_00015f01;" goto statement_identifier ;) })) (expression_statement "iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);" (assignment_expression "iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4)" identifier = (pointer_expression "*(int *)(&DAT_0003f560 + *puVar3 * 4)" * (cast_expression "(int *)(&DAT_0003f560 + *puVar3 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0003f560 + *puVar3 * 4)" ( (binary_expression "&DAT_0003f560 + *puVar3 * 4" (pointer_expression "&DAT_0003f560" & identifier) + (binary_expression "*puVar3 * 4" (pointer_expression "*puVar3" * identifier) * number_literal)) ))))) ;) (goto_statement "goto joined_r0x00016086;" goto statement_identifier ;) }))) (if_statement "if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }" if (parenthesized_expression "(iVar5 == 1)" ( (binary_expression "iVar5 == 1" identifier == number_literal) )) (compound_statement "{\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }" { (if_statement "if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }" if (parenthesized_expression "(3 < (int)local_48)" ( (binary_expression "3 < (int)local_48" number_literal < (cast_expression "(int)local_48" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }" { (expression_statement "uVar6 = *__s;" (assignment_expression "uVar6 = *__s" identifier = (pointer_expression "*__s" * identifier)) ;) (expression_statement "__s = __s + 1;" (assignment_expression "__s = __s + 1" identifier = (binary_expression "__s + 1" identifier + number_literal)) ;) (expression_statement "local_48 = local_48 - 4;" (assignment_expression "local_48 = local_48 - 4" identifier = (binary_expression "local_48 - 4" identifier - number_literal)) ;) (expression_statement "uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);" (assignment_expression "uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18)" identifier = (call_expression "FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18)" identifier (argument_list "(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18)" ( (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8" (binary_expression "uVar6 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar6 & 0xff0000) >> 8" (parenthesized_expression "(uVar6 & 0xff0000)" ( (binary_expression "uVar6 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar6 & 0xff00) << 8" (parenthesized_expression "(uVar6 & 0xff00)" ( (binary_expression "uVar6 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar6 << 0x18" identifier << number_literal)) )))) ;) (expression_statement "puVar3[2] = uVar6;" (assignment_expression "puVar3[2] = uVar6" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_00015f01;" goto statement_identifier ;) })) (goto_statement "goto LAB_000160c9;" goto statement_identifier ;) })) (labeled_statement "LAB_00015f01:\n          FUN_00014cf0();" statement_identifier : (expression_statement "FUN_00014cf0();" (call_expression "FUN_00014cf0()" identifier (argument_list "()" ( ))) ;)) (expression_statement "puVar7 = __s;" (assignment_expression "puVar7 = __s" identifier = identifier) ;) (expression_statement "param_3 = local_48;" (assignment_expression "param_3 = local_48" identifier = identifier) ;) }) (else_clause "else {\n          if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          __s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);\n          if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = FUN_0001be70(__s);\n          puVar3[2] = uVar6;\n          puVar7 = (uint *)((int)pvVar4 + 1);\n          param_3 = local_48 - ((int)puVar7 - (int)__s);\n          FUN_00014cf0();\n        }" else (compound_statement "{\n          if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          __s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);\n          if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = FUN_0001be70(__s);\n          puVar3[2] = uVar6;\n          puVar7 = (uint *)((int)pvVar4 + 1);\n          param_3 = local_48 - ((int)puVar7 - (int)__s);\n          FUN_00014cf0();\n        }" { (if_statement "if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }" if (parenthesized_expression "(*(int *)(&DAT_0003f560 + uVar6 * 4) == 2)" ( (binary_expression "*(int *)(&DAT_0003f560 + uVar6 * 4) == 2" (pointer_expression "*(int *)(&DAT_0003f560 + uVar6 * 4)" * (cast_expression "(int *)(&DAT_0003f560 + uVar6 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0003f560 + uVar6 * 4)" ( (binary_expression "&DAT_0003f560 + uVar6 * 4" (pointer_expression "&DAT_0003f560" & identifier) + (binary_expression "uVar6 * 4" identifier * number_literal)) )))) == number_literal) )) (compound_statement "{\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }" { (expression_statement "pvVar4 = memchr(local_44,0,local_48);" (assignment_expression "pvVar4 = memchr(local_44,0,local_48)" identifier = (call_expression "memchr(local_44,0,local_48)" identifier (argument_list "(local_44,0,local_48)" ( identifier , number_literal , identifier )))) ;) (if_statement "if (pvVar4 == (void *)0x0) goto LAB_000160b0;" if (parenthesized_expression "(pvVar4 == (void *)0x0)" ( (binary_expression "pvVar4 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000160b0;" goto statement_identifier ;)) (expression_statement "__s = (uint *)((int)pvVar4 + 1);" (assignment_expression "__s = (uint *)((int)pvVar4 + 1)" identifier = (cast_expression "(uint *)((int)pvVar4 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar4 + 1)" ( (binary_expression "(int)pvVar4 + 1" (cast_expression "(int)pvVar4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "uVar2 = FUN_0001be70(local_44);" (assignment_expression "uVar2 = FUN_0001be70(local_44)" identifier = (call_expression "FUN_0001be70(local_44)" identifier (argument_list "(local_44)" ( identifier )))) ;) (expression_statement "uVar6 = *puVar3;" (assignment_expression "uVar6 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "puVar3[1] = uVar2;" (assignment_expression "puVar3[1] = uVar2" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "local_48 = local_48 - ((int)__s - (int)local_44);" (assignment_expression "local_48 = local_48 - ((int)__s - (int)local_44)" identifier = (binary_expression "local_48 - ((int)__s - (int)local_44)" identifier - (parenthesized_expression "((int)__s - (int)local_44)" ( (binary_expression "(int)__s - (int)local_44" (cast_expression "(int)__s" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_44" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (goto_statement "goto LAB_00015eb9;" goto statement_identifier ;) })) (expression_statement "iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);" (assignment_expression "iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4)" identifier = (pointer_expression "*(int *)(&DAT_0003f280 + uVar6 * 4)" * (cast_expression "(int *)(&DAT_0003f280 + uVar6 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0003f280 + uVar6 * 4)" ( (binary_expression "&DAT_0003f280 + uVar6 * 4" (pointer_expression "&DAT_0003f280" & identifier) + (binary_expression "uVar6 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar1 = iVar5 + -2;" (assignment_expression "iVar1 = iVar5 + -2" identifier = (binary_expression "iVar5 + -2" identifier + number_literal)) ;) (expression_statement "bVar8 = iVar1 == 0;" (assignment_expression "bVar8 = iVar1 == 0" identifier = (binary_expression "iVar1 == 0" identifier == number_literal)) ;) (expression_statement "__s = local_44;" (assignment_expression "__s = local_44" identifier = identifier) ;) (if_statement "if (!bVar8) goto LAB_00015ec9;" if (parenthesized_expression "(!bVar8)" ( (unary_expression "!bVar8" ! identifier) )) (goto_statement "goto LAB_00015ec9;" goto statement_identifier ;)) (labeled_statement "LAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);" statement_identifier : (expression_statement "pvVar4 = memchr(__s,0,local_48);" (assignment_expression "pvVar4 = memchr(__s,0,local_48)" identifier = (call_expression "memchr(__s,0,local_48)" identifier (argument_list "(__s,0,local_48)" ( identifier , number_literal , identifier )))) ;)) (if_statement "if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }" if (parenthesized_expression "(pvVar4 == (void *)0x0)" ( (binary_expression "pvVar4 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }" { (labeled_statement "LAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);" statement_identifier : (expression_statement "iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);" (assignment_expression "iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4)" identifier = (pointer_expression "*(int *)(&DAT_0003f560 + uVar6 * 4)" * (cast_expression "(int *)(&DAT_0003f560 + uVar6 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0003f560 + uVar6 * 4)" ( (binary_expression "&DAT_0003f560 + uVar6 * 4" (pointer_expression "&DAT_0003f560" & identifier) + (binary_expression "uVar6 * 4" identifier * number_literal)) ))))) ;)) (labeled_statement "joined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }" statement_identifier : (if_statement "if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }" if (parenthesized_expression "(iVar5 == 2)" ( (binary_expression "iVar5 == 2" identifier == number_literal) )) (compound_statement "{\n              FUN_0001c5f0(puVar3[1]);\n            }" { (expression_statement "FUN_0001c5f0(puVar3[1]);" (call_expression "FUN_0001c5f0(puVar3[1])" identifier (argument_list "(puVar3[1])" ( (subscript_expression "puVar3[1]" identifier [ number_literal ]) ))) ;) }))) (expression_statement "FUN_0001c5f0(puVar3);" (call_expression "FUN_0001c5f0(puVar3)" identifier (argument_list "(puVar3)" ( identifier ))) ;) (expression_statement "iVar5 = (int)__s - (int)param_2;" (assignment_expression "iVar5 = (int)__s - (int)param_2" identifier = (binary_expression "(int)__s - (int)param_2" (cast_expression "(int)__s" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (goto_statement "goto LAB_00015fde;" goto statement_identifier ;) })) (expression_statement "uVar6 = FUN_0001be70(__s);" (assignment_expression "uVar6 = FUN_0001be70(__s)" identifier = (call_expression "FUN_0001be70(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "puVar3[2] = uVar6;" (assignment_expression "puVar3[2] = uVar6" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar7 = (uint *)((int)pvVar4 + 1);" (assignment_expression "puVar7 = (uint *)((int)pvVar4 + 1)" identifier = (cast_expression "(uint *)((int)pvVar4 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar4 + 1)" ( (binary_expression "(int)pvVar4 + 1" (cast_expression "(int)pvVar4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "param_3 = local_48 - ((int)puVar7 - (int)__s);" (assignment_expression "param_3 = local_48 - ((int)puVar7 - (int)__s)" identifier = (binary_expression "local_48 - ((int)puVar7 - (int)__s)" identifier - (parenthesized_expression "((int)puVar7 - (int)__s)" ( (binary_expression "(int)puVar7 - (int)__s" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__s" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "FUN_00014cf0();" (call_expression "FUN_00014cf0()" identifier (argument_list "()" ( ))) ;) }))) (if_statement "if ((int)param_3 < 4) {\n          iVar5 = (int)puVar7 - (int)param_2;\n          goto LAB_00015fde;\n        }" if (parenthesized_expression "((int)param_3 < 4)" ( (binary_expression "(int)param_3 < 4" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n          iVar5 = (int)puVar7 - (int)param_2;\n          goto LAB_00015fde;\n        }" { (expression_statement "iVar5 = (int)puVar7 - (int)param_2;" (assignment_expression "iVar5 = (int)puVar7 - (int)param_2" identifier = (binary_expression "(int)puVar7 - (int)param_2" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (goto_statement "goto LAB_00015fde;" goto statement_identifier ;) })) (expression_statement "local_44 = puVar7 + 1;" (assignment_expression "local_44 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = *puVar7;" (assignment_expression "uVar6 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "local_48 = param_3 - 4;" (assignment_expression "local_48 = param_3 - 4" identifier = (binary_expression "param_3 - 4" identifier - number_literal)) ;) (expression_statement "uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;" (assignment_expression "uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18" identifier = (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8" (binary_expression "uVar6 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar6 & 0xff0000) >> 8" (parenthesized_expression "(uVar6 & 0xff0000)" ( (binary_expression "uVar6 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar6 & 0xff00) << 8" (parenthesized_expression "(uVar6 & 0xff00)" ( (binary_expression "uVar6 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar6 << 0x18" identifier << number_literal))) ;) }) while (parenthesized_expression "(uVar6 < 0xb8)" ( (binary_expression "uVar6 < 0xb8" identifier < number_literal) )) ;) (expression_statement "iVar5 = (int)local_44 - (int)param_2;" (assignment_expression "iVar5 = (int)local_44 - (int)param_2" identifier = (binary_expression "(int)local_44 - (int)param_2" (cast_expression "(int)local_44" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }) (else_clause "else {\n      iVar5 = 4;\n    }" else (compound_statement "{\n      iVar5 = 4;\n    }" { (expression_statement "iVar5 = 4;" (assignment_expression "iVar5 = 4" identifier = number_literal) ;) }))) }))) (labeled_statement "LAB_00015fde:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return iVar5;\n  }" { (return_statement "return iVar5;" return identifier ;) }))) (expression_statement "FUN_0003dc30();" (call_expression "FUN_0003dc30()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (binary_expression IDENT * LIT)) )))) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;)) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (binary_expression IDENT * LIT)) ))))) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) && (binary_expression (call_expression IDENT (argument_list ( IDENT , LIT ))) == (binary_expression IDENT < LIT))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (binary_expression (pointer_expression * IDENT) * LIT)) ))))) ;) (goto_statement goto statement_identifier ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT)) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (goto_statement goto statement_identifier ;) })) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( ))) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (binary_expression IDENT * LIT)) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (unary_expression ! IDENT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , IDENT )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (binary_expression IDENT * LIT)) ))))) ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT))) ;) }) while (parenthesized_expression ( (binary_expression IDENT < LIT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) }))) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return IDENT ;) }))) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "int FUN_00015e00(undefined4 param_1,uint *param_2,size_t param_3)\n\n{\n  int iVar1;\n  uint uVar2;\n  uint *puVar3;\n  void *pvVar4;\n  int iVar5;\n  uint uVar6;\n  uint *__s;\n  uint *puVar7;\n  int in_GS_OFFSET;\n  bool bVar8;\n  size_t local_48;\n  uint *local_44;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x15e09;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((int)param_3 < 4) {\n    iVar5 = 0;\n  }\n  else {\n    local_44 = param_2 + 1;\n    uVar6 = *param_2;\n    local_48 = param_3 - 4;\n    uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    if (uVar6 < 0xb8) {\n      puVar7 = param_2;\n      do {\n        puVar3 = (uint *)FUN_0001bd60(1,0xc);\n        *puVar3 = uVar6;\n        if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          __s = puVar7 + 2;\n          local_48 = param_3 - 8;\n          uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18);\n          uVar6 = *puVar3;\n          puVar3[1] = uVar2;\nLAB_00015eb9:\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          FUN_00014cf0();\n          puVar7 = __s;\n          param_3 = local_48;\n        }\n        else {\n          if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          __s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);\n          if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = FUN_0001be70(__s);\n          puVar3[2] = uVar6;\n          puVar7 = (uint *)((int)pvVar4 + 1);\n          param_3 = local_48 - ((int)puVar7 - (int)__s);\n          FUN_00014cf0();\n        }\n        if ((int)param_3 < 4) {\n          iVar5 = (int)puVar7 - (int)param_2;\n          goto LAB_00015fde;\n        }\n        local_44 = puVar7 + 1;\n        uVar6 = *puVar7;\n        local_48 = param_3 - 4;\n        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      } while (uVar6 < 0xb8);\n      iVar5 = (int)local_44 - (int)param_2;\n    }\n    else {\n      iVar5 = 4;\n    }\n  }\nLAB_00015fde:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }\n                    \n  FUN_0003dc30();\n}" (primitive_type "int") (function_declarator "FUN_00015e00(undefined4 param_1,uint *param_2,size_t param_3)" (identifier "FUN_00015e00") (parameter_list "(undefined4 param_1,uint *param_2,size_t param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "uint *param_2" (type_identifier "uint") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "size_t param_3" (primitive_type "size_t") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  uint *puVar3;\n  void *pvVar4;\n  int iVar5;\n  uint uVar6;\n  uint *__s;\n  uint *puVar7;\n  int in_GS_OFFSET;\n  bool bVar8;\n  size_t local_48;\n  uint *local_44;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x15e09;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((int)param_3 < 4) {\n    iVar5 = 0;\n  }\n  else {\n    local_44 = param_2 + 1;\n    uVar6 = *param_2;\n    local_48 = param_3 - 4;\n    uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    if (uVar6 < 0xb8) {\n      puVar7 = param_2;\n      do {\n        puVar3 = (uint *)FUN_0001bd60(1,0xc);\n        *puVar3 = uVar6;\n        if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          __s = puVar7 + 2;\n          local_48 = param_3 - 8;\n          uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18);\n          uVar6 = *puVar3;\n          puVar3[1] = uVar2;\nLAB_00015eb9:\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          FUN_00014cf0();\n          puVar7 = __s;\n          param_3 = local_48;\n        }\n        else {\n          if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          __s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);\n          if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = FUN_0001be70(__s);\n          puVar3[2] = uVar6;\n          puVar7 = (uint *)((int)pvVar4 + 1);\n          param_3 = local_48 - ((int)puVar7 - (int)__s);\n          FUN_00014cf0();\n        }\n        if ((int)param_3 < 4) {\n          iVar5 = (int)puVar7 - (int)param_2;\n          goto LAB_00015fde;\n        }\n        local_44 = puVar7 + 1;\n        uVar6 = *puVar7;\n        local_48 = param_3 - 4;\n        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      } while (uVar6 < 0xb8);\n      iVar5 = (int)local_44 - (int)param_2;\n    }\n    else {\n      iVar5 = 4;\n    }\n  }\nLAB_00015fde:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }\n                    \n  FUN_0003dc30();\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "uint *puVar3;" (type_identifier "uint") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "void *pvVar4;" (primitive_type "void") (pointer_declarator "*pvVar4" (* "*") (identifier "pvVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "uint *__s;" (type_identifier "uint") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (declaration "uint *puVar7;" (type_identifier "uint") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "bool bVar8;" (primitive_type "bool") (identifier "bVar8") (; ";")) (declaration "size_t local_48;" (primitive_type "size_t") (identifier "local_48") (; ";")) (declaration "uint *local_44;" (type_identifier "uint") (pointer_declarator "*local_44" (* "*") (identifier "local_44")) (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x15e09;" (assignment_expression "uStack_14 = 0x15e09" (identifier "uStack_14") (= "=") (number_literal "0x15e09")) (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if ((int)param_3 < 4) {\n    iVar5 = 0;\n  }\n  else {\n    local_44 = param_2 + 1;\n    uVar6 = *param_2;\n    local_48 = param_3 - 4;\n    uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    if (uVar6 < 0xb8) {\n      puVar7 = param_2;\n      do {\n        puVar3 = (uint *)FUN_0001bd60(1,0xc);\n        *puVar3 = uVar6;\n        if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          __s = puVar7 + 2;\n          local_48 = param_3 - 8;\n          uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18);\n          uVar6 = *puVar3;\n          puVar3[1] = uVar2;\nLAB_00015eb9:\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          FUN_00014cf0();\n          puVar7 = __s;\n          param_3 = local_48;\n        }\n        else {\n          if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          __s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);\n          if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = FUN_0001be70(__s);\n          puVar3[2] = uVar6;\n          puVar7 = (uint *)((int)pvVar4 + 1);\n          param_3 = local_48 - ((int)puVar7 - (int)__s);\n          FUN_00014cf0();\n        }\n        if ((int)param_3 < 4) {\n          iVar5 = (int)puVar7 - (int)param_2;\n          goto LAB_00015fde;\n        }\n        local_44 = puVar7 + 1;\n        uVar6 = *puVar7;\n        local_48 = param_3 - 4;\n        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      } while (uVar6 < 0xb8);\n      iVar5 = (int)local_44 - (int)param_2;\n    }\n    else {\n      iVar5 = 4;\n    }\n  }" (if "if") (parenthesized_expression "((int)param_3 < 4)" (( "(") (binary_expression "(int)param_3 < 4" (cast_expression "(int)param_3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_3")) (< "<") (number_literal "4")) () ")")) (compound_statement "{\n    iVar5 = 0;\n  }" ({ "{") (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    local_44 = param_2 + 1;\n    uVar6 = *param_2;\n    local_48 = param_3 - 4;\n    uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    if (uVar6 < 0xb8) {\n      puVar7 = param_2;\n      do {\n        puVar3 = (uint *)FUN_0001bd60(1,0xc);\n        *puVar3 = uVar6;\n        if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          __s = puVar7 + 2;\n          local_48 = param_3 - 8;\n          uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18);\n          uVar6 = *puVar3;\n          puVar3[1] = uVar2;\nLAB_00015eb9:\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          FUN_00014cf0();\n          puVar7 = __s;\n          param_3 = local_48;\n        }\n        else {\n          if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          __s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);\n          if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = FUN_0001be70(__s);\n          puVar3[2] = uVar6;\n          puVar7 = (uint *)((int)pvVar4 + 1);\n          param_3 = local_48 - ((int)puVar7 - (int)__s);\n          FUN_00014cf0();\n        }\n        if ((int)param_3 < 4) {\n          iVar5 = (int)puVar7 - (int)param_2;\n          goto LAB_00015fde;\n        }\n        local_44 = puVar7 + 1;\n        uVar6 = *puVar7;\n        local_48 = param_3 - 4;\n        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      } while (uVar6 < 0xb8);\n      iVar5 = (int)local_44 - (int)param_2;\n    }\n    else {\n      iVar5 = 4;\n    }\n  }" (else "else") (compound_statement "{\n    local_44 = param_2 + 1;\n    uVar6 = *param_2;\n    local_48 = param_3 - 4;\n    uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    if (uVar6 < 0xb8) {\n      puVar7 = param_2;\n      do {\n        puVar3 = (uint *)FUN_0001bd60(1,0xc);\n        *puVar3 = uVar6;\n        if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          __s = puVar7 + 2;\n          local_48 = param_3 - 8;\n          uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18);\n          uVar6 = *puVar3;\n          puVar3[1] = uVar2;\nLAB_00015eb9:\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          FUN_00014cf0();\n          puVar7 = __s;\n          param_3 = local_48;\n        }\n        else {\n          if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          __s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);\n          if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = FUN_0001be70(__s);\n          puVar3[2] = uVar6;\n          puVar7 = (uint *)((int)pvVar4 + 1);\n          param_3 = local_48 - ((int)puVar7 - (int)__s);\n          FUN_00014cf0();\n        }\n        if ((int)param_3 < 4) {\n          iVar5 = (int)puVar7 - (int)param_2;\n          goto LAB_00015fde;\n        }\n        local_44 = puVar7 + 1;\n        uVar6 = *puVar7;\n        local_48 = param_3 - 4;\n        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      } while (uVar6 < 0xb8);\n      iVar5 = (int)local_44 - (int)param_2;\n    }\n    else {\n      iVar5 = 4;\n    }\n  }" ({ "{") (expression_statement "local_44 = param_2 + 1;" (assignment_expression "local_44 = param_2 + 1" (identifier "local_44") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar6 = *param_2;" (assignment_expression "uVar6 = *param_2" (identifier "uVar6") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "local_48 = param_3 - 4;" (assignment_expression "local_48 = param_3 - 4" (identifier "local_48") (= "=") (binary_expression "param_3 - 4" (identifier "param_3") (- "-") (number_literal "4"))) (; ";")) (expression_statement "uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;" (assignment_expression "uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18" (identifier "uVar6") (= "=") (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8" (binary_expression "uVar6 >> 0x18" (identifier "uVar6") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar6 & 0xff0000) >> 8" (parenthesized_expression "(uVar6 & 0xff0000)" (( "(") (binary_expression "uVar6 & 0xff0000" (identifier "uVar6") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar6 & 0xff00) << 8" (parenthesized_expression "(uVar6 & 0xff00)" (( "(") (binary_expression "uVar6 & 0xff00" (identifier "uVar6") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar6 << 0x18" (identifier "uVar6") (<< "<<") (number_literal "0x18")))) (; ";")) (if_statement "if (uVar6 < 0xb8) {\n      puVar7 = param_2;\n      do {\n        puVar3 = (uint *)FUN_0001bd60(1,0xc);\n        *puVar3 = uVar6;\n        if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          __s = puVar7 + 2;\n          local_48 = param_3 - 8;\n          uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18);\n          uVar6 = *puVar3;\n          puVar3[1] = uVar2;\nLAB_00015eb9:\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          FUN_00014cf0();\n          puVar7 = __s;\n          param_3 = local_48;\n        }\n        else {\n          if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          __s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);\n          if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = FUN_0001be70(__s);\n          puVar3[2] = uVar6;\n          puVar7 = (uint *)((int)pvVar4 + 1);\n          param_3 = local_48 - ((int)puVar7 - (int)__s);\n          FUN_00014cf0();\n        }\n        if ((int)param_3 < 4) {\n          iVar5 = (int)puVar7 - (int)param_2;\n          goto LAB_00015fde;\n        }\n        local_44 = puVar7 + 1;\n        uVar6 = *puVar7;\n        local_48 = param_3 - 4;\n        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      } while (uVar6 < 0xb8);\n      iVar5 = (int)local_44 - (int)param_2;\n    }\n    else {\n      iVar5 = 4;\n    }" (if "if") (parenthesized_expression "(uVar6 < 0xb8)" (( "(") (binary_expression "uVar6 < 0xb8" (identifier "uVar6") (< "<") (number_literal "0xb8")) () ")")) (compound_statement "{\n      puVar7 = param_2;\n      do {\n        puVar3 = (uint *)FUN_0001bd60(1,0xc);\n        *puVar3 = uVar6;\n        if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          __s = puVar7 + 2;\n          local_48 = param_3 - 8;\n          uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18);\n          uVar6 = *puVar3;\n          puVar3[1] = uVar2;\nLAB_00015eb9:\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          FUN_00014cf0();\n          puVar7 = __s;\n          param_3 = local_48;\n        }\n        else {\n          if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          __s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);\n          if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = FUN_0001be70(__s);\n          puVar3[2] = uVar6;\n          puVar7 = (uint *)((int)pvVar4 + 1);\n          param_3 = local_48 - ((int)puVar7 - (int)__s);\n          FUN_00014cf0();\n        }\n        if ((int)param_3 < 4) {\n          iVar5 = (int)puVar7 - (int)param_2;\n          goto LAB_00015fde;\n        }\n        local_44 = puVar7 + 1;\n        uVar6 = *puVar7;\n        local_48 = param_3 - 4;\n        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      } while (uVar6 < 0xb8);\n      iVar5 = (int)local_44 - (int)param_2;\n    }" ({ "{") (expression_statement "puVar7 = param_2;" (assignment_expression "puVar7 = param_2" (identifier "puVar7") (= "=") (identifier "param_2")) (; ";")) (do_statement "do {\n        puVar3 = (uint *)FUN_0001bd60(1,0xc);\n        *puVar3 = uVar6;\n        if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          __s = puVar7 + 2;\n          local_48 = param_3 - 8;\n          uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18);\n          uVar6 = *puVar3;\n          puVar3[1] = uVar2;\nLAB_00015eb9:\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          FUN_00014cf0();\n          puVar7 = __s;\n          param_3 = local_48;\n        }\n        else {\n          if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          __s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);\n          if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = FUN_0001be70(__s);\n          puVar3[2] = uVar6;\n          puVar7 = (uint *)((int)pvVar4 + 1);\n          param_3 = local_48 - ((int)puVar7 - (int)__s);\n          FUN_00014cf0();\n        }\n        if ((int)param_3 < 4) {\n          iVar5 = (int)puVar7 - (int)param_2;\n          goto LAB_00015fde;\n        }\n        local_44 = puVar7 + 1;\n        uVar6 = *puVar7;\n        local_48 = param_3 - 4;\n        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      } while (uVar6 < 0xb8);" (do "do") (compound_statement "{\n        puVar3 = (uint *)FUN_0001bd60(1,0xc);\n        *puVar3 = uVar6;\n        if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          __s = puVar7 + 2;\n          local_48 = param_3 - 8;\n          uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18);\n          uVar6 = *puVar3;\n          puVar3[1] = uVar2;\nLAB_00015eb9:\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          FUN_00014cf0();\n          puVar7 = __s;\n          param_3 = local_48;\n        }\n        else {\n          if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          __s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);\n          if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = FUN_0001be70(__s);\n          puVar3[2] = uVar6;\n          puVar7 = (uint *)((int)pvVar4 + 1);\n          param_3 = local_48 - ((int)puVar7 - (int)__s);\n          FUN_00014cf0();\n        }\n        if ((int)param_3 < 4) {\n          iVar5 = (int)puVar7 - (int)param_2;\n          goto LAB_00015fde;\n        }\n        local_44 = puVar7 + 1;\n        uVar6 = *puVar7;\n        local_48 = param_3 - 4;\n        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n      }" ({ "{") (expression_statement "puVar3 = (uint *)FUN_0001bd60(1,0xc);" (assignment_expression "puVar3 = (uint *)FUN_0001bd60(1,0xc)" (identifier "puVar3") (= "=") (cast_expression "(uint *)FUN_0001bd60(1,0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0001bd60(1,0xc)" (identifier "FUN_0001bd60") (argument_list "(1,0xc)" (( "(") (number_literal "1") (, ",") (number_literal "0xc") () ")"))))) (; ";")) (expression_statement "*puVar3 = uVar6;" (assignment_expression "*puVar3 = uVar6" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (identifier "uVar6")) (; ";")) (if_statement "if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 1) {\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          __s = puVar7 + 2;\n          local_48 = param_3 - 8;\n          uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18);\n          uVar6 = *puVar3;\n          puVar3[1] = uVar2;\nLAB_00015eb9:\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          FUN_00014cf0();\n          puVar7 = __s;\n          param_3 = local_48;\n        }\n        else {\n          if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          __s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);\n          if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = FUN_0001be70(__s);\n          puVar3[2] = uVar6;\n          puVar7 = (uint *)((int)pvVar4 + 1);\n          param_3 = local_48 - ((int)puVar7 - (int)__s);\n          FUN_00014cf0();\n        }" (if "if") (parenthesized_expression "(*(int *)(&DAT_0003f560 + uVar6 * 4) == 1)" (( "(") (binary_expression "*(int *)(&DAT_0003f560 + uVar6 * 4) == 1" (pointer_expression "*(int *)(&DAT_0003f560 + uVar6 * 4)" (* "*") (cast_expression "(int *)(&DAT_0003f560 + uVar6 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_0003f560 + uVar6 * 4)" (( "(") (binary_expression "&DAT_0003f560 + uVar6 * 4" (pointer_expression "&DAT_0003f560" (& "&") (identifier "DAT_0003f560")) (+ "+") (binary_expression "uVar6 * 4" (identifier "uVar6") (* "*") (number_literal "4"))) () ")")))) (== "==") (number_literal "1")) () ")")) (compound_statement "{\n          if ((int)local_48 < 4) {\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = puVar7[1];\n          __s = puVar7 + 2;\n          local_48 = param_3 - 8;\n          uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18);\n          uVar6 = *puVar3;\n          puVar3[1] = uVar2;\nLAB_00015eb9:\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar5 == 2;\n          if (bVar8) goto LAB_00015f80;\nLAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }\n          if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }\nLAB_00015f01:\n          FUN_00014cf0();\n          puVar7 = __s;\n          param_3 = local_48;\n        }" ({ "{") (if_statement "if ((int)local_48 < 4) {\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }" (if "if") (parenthesized_expression "((int)local_48 < 4)" (( "(") (binary_expression "(int)local_48 < 4" (cast_expression "(int)local_48" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_48")) (< "<") (number_literal "4")) () ")")) (compound_statement "{\nLAB_000160b0:\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)local_44 - (int)param_2;\n            goto LAB_00015fde;\n          }" ({ "{") (labeled_statement "LAB_000160b0:\n            FUN_0001c5f0(puVar3);" (statement_identifier "LAB_000160b0") (: ":") (expression_statement "FUN_0001c5f0(puVar3);" (call_expression "FUN_0001c5f0(puVar3)" (identifier "FUN_0001c5f0") (argument_list "(puVar3)" (( "(") (identifier "puVar3") () ")"))) (; ";"))) (expression_statement "iVar5 = (int)local_44 - (int)param_2;" (assignment_expression "iVar5 = (int)local_44 - (int)param_2" (identifier "iVar5") (= "=") (binary_expression "(int)local_44 - (int)param_2" (cast_expression "(int)local_44" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_44")) (- "-") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")))) (; ";")) (goto_statement "goto LAB_00015fde;" (goto "goto") (statement_identifier "LAB_00015fde") (; ";")) (} "}"))) (expression_statement "uVar6 = puVar7[1];" (assignment_expression "uVar6 = puVar7[1]" (identifier "uVar6") (= "=") (subscript_expression "puVar7[1]" (identifier "puVar7") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "__s = puVar7 + 2;" (assignment_expression "__s = puVar7 + 2" (identifier "__s") (= "=") (binary_expression "puVar7 + 2" (identifier "puVar7") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "local_48 = param_3 - 8;" (assignment_expression "local_48 = param_3 - 8" (identifier "local_48") (= "=") (binary_expression "param_3 - 8" (identifier "param_3") (- "-") (number_literal "8"))) (; ";")) (expression_statement "uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18);" (assignment_expression "uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18)" (identifier "uVar2") (= "=") (call_expression "FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18)" (identifier "FUN_0001b7d0") (argument_list "(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18)" (( "(") (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                               uVar6 << 0x18" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8" (binary_expression "uVar6 >> 0x18" (identifier "uVar6") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar6 & 0xff0000) >> 8" (parenthesized_expression "(uVar6 & 0xff0000)" (( "(") (binary_expression "uVar6 & 0xff0000" (identifier "uVar6") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar6 & 0xff00) << 8" (parenthesized_expression "(uVar6 & 0xff00)" (( "(") (binary_expression "uVar6 & 0xff00" (identifier "uVar6") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar6 << 0x18" (identifier "uVar6") (<< "<<") (number_literal "0x18"))) () ")")))) (; ";")) (expression_statement "uVar6 = *puVar3;" (assignment_expression "uVar6 = *puVar3" (identifier "uVar6") (= "=") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) (; ";")) (expression_statement "puVar3[1] = uVar2;" (assignment_expression "puVar3[1] = uVar2" (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (labeled_statement "LAB_00015eb9:\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);" (statement_identifier "LAB_00015eb9") (: ":") (expression_statement "iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);" (assignment_expression "iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(&DAT_0003f280 + uVar6 * 4)" (* "*") (cast_expression "(int *)(&DAT_0003f280 + uVar6 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_0003f280 + uVar6 * 4)" (( "(") (binary_expression "&DAT_0003f280 + uVar6 * 4" (pointer_expression "&DAT_0003f280" (& "&") (identifier "DAT_0003f280")) (+ "+") (binary_expression "uVar6 * 4" (identifier "uVar6") (* "*") (number_literal "4"))) () ")"))))) (; ";"))) (expression_statement "iVar1 = iVar5 + -2;" (assignment_expression "iVar1 = iVar5 + -2" (identifier "iVar1") (= "=") (binary_expression "iVar5 + -2" (identifier "iVar5") (+ "+") (number_literal "-2"))) (; ";")) (expression_statement "bVar8 = iVar5 == 2;" (assignment_expression "bVar8 = iVar5 == 2" (identifier "bVar8") (= "=") (binary_expression "iVar5 == 2" (identifier "iVar5") (== "==") (number_literal "2"))) (; ";")) (if_statement "if (bVar8) goto LAB_00015f80;" (if "if") (parenthesized_expression "(bVar8)" (( "(") (identifier "bVar8") () ")")) (goto_statement "goto LAB_00015f80;" (goto "goto") (statement_identifier "LAB_00015f80") (; ";"))) (labeled_statement "LAB_00015ec9:\n          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }" (statement_identifier "LAB_00015ec9") (: ":") (if_statement "if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }" (if "if") (parenthesized_expression "(!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0)" (( "(") (binary_expression "!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0" (unary_expression "!bVar8" (! "!") (identifier "bVar8")) (&& "&&") (binary_expression "SBORROW4(iVar5,2) == iVar1 < 0" (call_expression "SBORROW4(iVar5,2)" (identifier "SBORROW4") (argument_list "(iVar5,2)" (( "(") (identifier "iVar5") (, ",") (number_literal "2") () ")"))) (== "==") (binary_expression "iVar1 < 0" (identifier "iVar1") (< "<") (number_literal "0")))) () ")")) (compound_statement "{\n            if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }\n            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);\n            goto joined_r0x00016086;\n          }" ({ "{") (if_statement "if (iVar5 == 3) {\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }\n            else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }" (if "if") (parenthesized_expression "(iVar5 == 3)" (( "(") (binary_expression "iVar5 == 3" (identifier "iVar5") (== "==") (number_literal "3")) () ")")) (compound_statement "{\n              uVar6 = FUN_0003b290(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }" ({ "{") (expression_statement "uVar6 = FUN_0003b290(__s,local_48,&local_24);" (assignment_expression "uVar6 = FUN_0003b290(__s,local_48,&local_24)" (identifier "uVar6") (= "=") (call_expression "FUN_0003b290(__s,local_48,&local_24)" (identifier "FUN_0003b290") (argument_list "(__s,local_48,&local_24)" (( "(") (identifier "__s") (, ",") (identifier "local_48") (, ",") (pointer_expression "&local_24" (& "&") (identifier "local_24")) () ")")))) (; ";")) (expression_statement "puVar3[2] = uVar6;" (assignment_expression "puVar3[2] = uVar6" (subscript_expression "puVar3[2]" (identifier "puVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar6")) (; ";")) (} "}")) (else_clause "else {\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }" (else "else") (compound_statement "{\n              if (iVar5 != 4) goto LAB_00015f01;\n              uVar6 = FUN_0003b750(__s,local_48,&local_24);\n              puVar3[2] = uVar6;\n            }" ({ "{") (if_statement "if (iVar5 != 4) goto LAB_00015f01;" (if "if") (parenthesized_expression "(iVar5 != 4)" (( "(") (binary_expression "iVar5 != 4" (identifier "iVar5") (!= "!=") (number_literal "4")) () ")")) (goto_statement "goto LAB_00015f01;" (goto "goto") (statement_identifier "LAB_00015f01") (; ";"))) (expression_statement "uVar6 = FUN_0003b750(__s,local_48,&local_24);" (assignment_expression "uVar6 = FUN_0003b750(__s,local_48,&local_24)" (identifier "uVar6") (= "=") (call_expression "FUN_0003b750(__s,local_48,&local_24)" (identifier "FUN_0003b750") (argument_list "(__s,local_48,&local_24)" (( "(") (identifier "__s") (, ",") (identifier "local_48") (, ",") (pointer_expression "&local_24" (& "&") (identifier "local_24")) () ")")))) (; ";")) (expression_statement "puVar3[2] = uVar6;" (assignment_expression "puVar3[2] = uVar6" (subscript_expression "puVar3[2]" (identifier "puVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar6")) (; ";")) (} "}")))) (if_statement "if (uVar6 != 0) {\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }" (if "if") (parenthesized_expression "(uVar6 != 0)" (( "(") (binary_expression "uVar6 != 0" (identifier "uVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n              __s = (uint *)((int)__s + local_24);\n              local_48 = local_48 - local_24;\n              goto LAB_00015f01;\n            }" ({ "{") (expression_statement "__s = (uint *)((int)__s + local_24);" (assignment_expression "__s = (uint *)((int)__s + local_24)" (identifier "__s") (= "=") (cast_expression "(uint *)((int)__s + local_24)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)__s + local_24)" (( "(") (binary_expression "(int)__s + local_24" (cast_expression "(int)__s" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__s")) (+ "+") (identifier "local_24")) () ")")))) (; ";")) (expression_statement "local_48 = local_48 - local_24;" (assignment_expression "local_48 = local_48 - local_24" (identifier "local_48") (= "=") (binary_expression "local_48 - local_24" (identifier "local_48") (- "-") (identifier "local_24"))) (; ";")) (goto_statement "goto LAB_00015f01;" (goto "goto") (statement_identifier "LAB_00015f01") (; ";")) (} "}"))) (expression_statement "iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);" (assignment_expression "iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(&DAT_0003f560 + *puVar3 * 4)" (* "*") (cast_expression "(int *)(&DAT_0003f560 + *puVar3 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_0003f560 + *puVar3 * 4)" (( "(") (binary_expression "&DAT_0003f560 + *puVar3 * 4" (pointer_expression "&DAT_0003f560" (& "&") (identifier "DAT_0003f560")) (+ "+") (binary_expression "*puVar3 * 4" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (* "*") (number_literal "4"))) () ")"))))) (; ";")) (goto_statement "goto joined_r0x00016086;" (goto "goto") (statement_identifier "joined_r0x00016086") (; ";")) (} "}")))) (if_statement "if (iVar5 == 1) {\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }" (if "if") (parenthesized_expression "(iVar5 == 1)" (( "(") (binary_expression "iVar5 == 1" (identifier "iVar5") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n            if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }\n            goto LAB_000160c9;\n          }" ({ "{") (if_statement "if (3 < (int)local_48) {\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }" (if "if") (parenthesized_expression "(3 < (int)local_48)" (( "(") (binary_expression "3 < (int)local_48" (number_literal "3") (< "<") (cast_expression "(int)local_48" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_48"))) () ")")) (compound_statement "{\n              uVar6 = *__s;\n              __s = __s + 1;\n              local_48 = local_48 - 4;\n              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);\n              puVar3[2] = uVar6;\n              goto LAB_00015f01;\n            }" ({ "{") (expression_statement "uVar6 = *__s;" (assignment_expression "uVar6 = *__s" (identifier "uVar6") (= "=") (pointer_expression "*__s" (* "*") (identifier "__s"))) (; ";")) (expression_statement "__s = __s + 1;" (assignment_expression "__s = __s + 1" (identifier "__s") (= "=") (binary_expression "__s + 1" (identifier "__s") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_48 = local_48 - 4;" (assignment_expression "local_48 = local_48 - 4" (identifier "local_48") (= "=") (binary_expression "local_48 - 4" (identifier "local_48") (- "-") (number_literal "4"))) (; ";")) (expression_statement "uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18);" (assignment_expression "uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18)" (identifier "uVar6") (= "=") (call_expression "FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18)" (identifier "FUN_0001b7d0") (argument_list "(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18)" (( "(") (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |\n                                   uVar6 << 0x18" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8" (binary_expression "uVar6 >> 0x18" (identifier "uVar6") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar6 & 0xff0000) >> 8" (parenthesized_expression "(uVar6 & 0xff0000)" (( "(") (binary_expression "uVar6 & 0xff0000" (identifier "uVar6") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar6 & 0xff00) << 8" (parenthesized_expression "(uVar6 & 0xff00)" (( "(") (binary_expression "uVar6 & 0xff00" (identifier "uVar6") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar6 << 0x18" (identifier "uVar6") (<< "<<") (number_literal "0x18"))) () ")")))) (; ";")) (expression_statement "puVar3[2] = uVar6;" (assignment_expression "puVar3[2] = uVar6" (subscript_expression "puVar3[2]" (identifier "puVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar6")) (; ";")) (goto_statement "goto LAB_00015f01;" (goto "goto") (statement_identifier "LAB_00015f01") (; ";")) (} "}"))) (goto_statement "goto LAB_000160c9;" (goto "goto") (statement_identifier "LAB_000160c9") (; ";")) (} "}"))) (labeled_statement "LAB_00015f01:\n          FUN_00014cf0();" (statement_identifier "LAB_00015f01") (: ":") (expression_statement "FUN_00014cf0();" (call_expression "FUN_00014cf0()" (identifier "FUN_00014cf0") (argument_list "()" (( "(") () ")"))) (; ";"))) (expression_statement "puVar7 = __s;" (assignment_expression "puVar7 = __s" (identifier "puVar7") (= "=") (identifier "__s")) (; ";")) (expression_statement "param_3 = local_48;" (assignment_expression "param_3 = local_48" (identifier "param_3") (= "=") (identifier "local_48")) (; ";")) (} "}")) (else_clause "else {\n          if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          __s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);\n          if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = FUN_0001be70(__s);\n          puVar3[2] = uVar6;\n          puVar7 = (uint *)((int)pvVar4 + 1);\n          param_3 = local_48 - ((int)puVar7 - (int)__s);\n          FUN_00014cf0();\n        }" (else "else") (compound_statement "{\n          if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }\n          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);\n          iVar1 = iVar5 + -2;\n          bVar8 = iVar1 == 0;\n          __s = local_44;\n          if (!bVar8) goto LAB_00015ec9;\nLAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);\n          if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }\n          uVar6 = FUN_0001be70(__s);\n          puVar3[2] = uVar6;\n          puVar7 = (uint *)((int)pvVar4 + 1);\n          param_3 = local_48 - ((int)puVar7 - (int)__s);\n          FUN_00014cf0();\n        }" ({ "{") (if_statement "if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }" (if "if") (parenthesized_expression "(*(int *)(&DAT_0003f560 + uVar6 * 4) == 2)" (( "(") (binary_expression "*(int *)(&DAT_0003f560 + uVar6 * 4) == 2" (pointer_expression "*(int *)(&DAT_0003f560 + uVar6 * 4)" (* "*") (cast_expression "(int *)(&DAT_0003f560 + uVar6 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_0003f560 + uVar6 * 4)" (( "(") (binary_expression "&DAT_0003f560 + uVar6 * 4" (pointer_expression "&DAT_0003f560" (& "&") (identifier "DAT_0003f560")) (+ "+") (binary_expression "uVar6 * 4" (identifier "uVar6") (* "*") (number_literal "4"))) () ")")))) (== "==") (number_literal "2")) () ")")) (compound_statement "{\n            pvVar4 = memchr(local_44,0,local_48);\n            if (pvVar4 == (void *)0x0) goto LAB_000160b0;\n            __s = (uint *)((int)pvVar4 + 1);\n            uVar2 = FUN_0001be70(local_44);\n            uVar6 = *puVar3;\n            puVar3[1] = uVar2;\n            local_48 = local_48 - ((int)__s - (int)local_44);\n            goto LAB_00015eb9;\n          }" ({ "{") (expression_statement "pvVar4 = memchr(local_44,0,local_48);" (assignment_expression "pvVar4 = memchr(local_44,0,local_48)" (identifier "pvVar4") (= "=") (call_expression "memchr(local_44,0,local_48)" (identifier "memchr") (argument_list "(local_44,0,local_48)" (( "(") (identifier "local_44") (, ",") (number_literal "0") (, ",") (identifier "local_48") () ")")))) (; ";")) (if_statement "if (pvVar4 == (void *)0x0) goto LAB_000160b0;" (if "if") (parenthesized_expression "(pvVar4 == (void *)0x0)" (( "(") (binary_expression "pvVar4 == (void *)0x0" (identifier "pvVar4") (== "==") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_000160b0;" (goto "goto") (statement_identifier "LAB_000160b0") (; ";"))) (expression_statement "__s = (uint *)((int)pvVar4 + 1);" (assignment_expression "__s = (uint *)((int)pvVar4 + 1)" (identifier "__s") (= "=") (cast_expression "(uint *)((int)pvVar4 + 1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)pvVar4 + 1)" (( "(") (binary_expression "(int)pvVar4 + 1" (cast_expression "(int)pvVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar4")) (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "uVar2 = FUN_0001be70(local_44);" (assignment_expression "uVar2 = FUN_0001be70(local_44)" (identifier "uVar2") (= "=") (call_expression "FUN_0001be70(local_44)" (identifier "FUN_0001be70") (argument_list "(local_44)" (( "(") (identifier "local_44") () ")")))) (; ";")) (expression_statement "uVar6 = *puVar3;" (assignment_expression "uVar6 = *puVar3" (identifier "uVar6") (= "=") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) (; ";")) (expression_statement "puVar3[1] = uVar2;" (assignment_expression "puVar3[1] = uVar2" (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "local_48 = local_48 - ((int)__s - (int)local_44);" (assignment_expression "local_48 = local_48 - ((int)__s - (int)local_44)" (identifier "local_48") (= "=") (binary_expression "local_48 - ((int)__s - (int)local_44)" (identifier "local_48") (- "-") (parenthesized_expression "((int)__s - (int)local_44)" (( "(") (binary_expression "(int)__s - (int)local_44" (cast_expression "(int)__s" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__s")) (- "-") (cast_expression "(int)local_44" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_44"))) () ")")))) (; ";")) (goto_statement "goto LAB_00015eb9;" (goto "goto") (statement_identifier "LAB_00015eb9") (; ";")) (} "}"))) (expression_statement "iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);" (assignment_expression "iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(&DAT_0003f280 + uVar6 * 4)" (* "*") (cast_expression "(int *)(&DAT_0003f280 + uVar6 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_0003f280 + uVar6 * 4)" (( "(") (binary_expression "&DAT_0003f280 + uVar6 * 4" (pointer_expression "&DAT_0003f280" (& "&") (identifier "DAT_0003f280")) (+ "+") (binary_expression "uVar6 * 4" (identifier "uVar6") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "iVar1 = iVar5 + -2;" (assignment_expression "iVar1 = iVar5 + -2" (identifier "iVar1") (= "=") (binary_expression "iVar5 + -2" (identifier "iVar5") (+ "+") (number_literal "-2"))) (; ";")) (expression_statement "bVar8 = iVar1 == 0;" (assignment_expression "bVar8 = iVar1 == 0" (identifier "bVar8") (= "=") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0"))) (; ";")) (expression_statement "__s = local_44;" (assignment_expression "__s = local_44" (identifier "__s") (= "=") (identifier "local_44")) (; ";")) (if_statement "if (!bVar8) goto LAB_00015ec9;" (if "if") (parenthesized_expression "(!bVar8)" (( "(") (unary_expression "!bVar8" (! "!") (identifier "bVar8")) () ")")) (goto_statement "goto LAB_00015ec9;" (goto "goto") (statement_identifier "LAB_00015ec9") (; ";"))) (labeled_statement "LAB_00015f80:\n          pvVar4 = memchr(__s,0,local_48);" (statement_identifier "LAB_00015f80") (: ":") (expression_statement "pvVar4 = memchr(__s,0,local_48);" (assignment_expression "pvVar4 = memchr(__s,0,local_48)" (identifier "pvVar4") (= "=") (call_expression "memchr(__s,0,local_48)" (identifier "memchr") (argument_list "(__s,0,local_48)" (( "(") (identifier "__s") (, ",") (number_literal "0") (, ",") (identifier "local_48") () ")")))) (; ";"))) (if_statement "if (pvVar4 == (void *)0x0) {\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }" (if "if") (parenthesized_expression "(pvVar4 == (void *)0x0)" (( "(") (binary_expression "pvVar4 == (void *)0x0" (identifier "pvVar4") (== "==") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\nLAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);\njoined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }\n            FUN_0001c5f0(puVar3);\n            iVar5 = (int)__s - (int)param_2;\n            goto LAB_00015fde;\n          }" ({ "{") (labeled_statement "LAB_000160c9:\n            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);" (statement_identifier "LAB_000160c9") (: ":") (expression_statement "iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);" (assignment_expression "iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(&DAT_0003f560 + uVar6 * 4)" (* "*") (cast_expression "(int *)(&DAT_0003f560 + uVar6 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_0003f560 + uVar6 * 4)" (( "(") (binary_expression "&DAT_0003f560 + uVar6 * 4" (pointer_expression "&DAT_0003f560" (& "&") (identifier "DAT_0003f560")) (+ "+") (binary_expression "uVar6 * 4" (identifier "uVar6") (* "*") (number_literal "4"))) () ")"))))) (; ";"))) (labeled_statement "joined_r0x00016086:\n            if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }" (statement_identifier "joined_r0x00016086") (: ":") (if_statement "if (iVar5 == 2) {\n              FUN_0001c5f0(puVar3[1]);\n            }" (if "if") (parenthesized_expression "(iVar5 == 2)" (( "(") (binary_expression "iVar5 == 2" (identifier "iVar5") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n              FUN_0001c5f0(puVar3[1]);\n            }" ({ "{") (expression_statement "FUN_0001c5f0(puVar3[1]);" (call_expression "FUN_0001c5f0(puVar3[1])" (identifier "FUN_0001c5f0") (argument_list "(puVar3[1])" (( "(") (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]")) () ")"))) (; ";")) (} "}")))) (expression_statement "FUN_0001c5f0(puVar3);" (call_expression "FUN_0001c5f0(puVar3)" (identifier "FUN_0001c5f0") (argument_list "(puVar3)" (( "(") (identifier "puVar3") () ")"))) (; ";")) (expression_statement "iVar5 = (int)__s - (int)param_2;" (assignment_expression "iVar5 = (int)__s - (int)param_2" (identifier "iVar5") (= "=") (binary_expression "(int)__s - (int)param_2" (cast_expression "(int)__s" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__s")) (- "-") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")))) (; ";")) (goto_statement "goto LAB_00015fde;" (goto "goto") (statement_identifier "LAB_00015fde") (; ";")) (} "}"))) (expression_statement "uVar6 = FUN_0001be70(__s);" (assignment_expression "uVar6 = FUN_0001be70(__s)" (identifier "uVar6") (= "=") (call_expression "FUN_0001be70(__s)" (identifier "FUN_0001be70") (argument_list "(__s)" (( "(") (identifier "__s") () ")")))) (; ";")) (expression_statement "puVar3[2] = uVar6;" (assignment_expression "puVar3[2] = uVar6" (subscript_expression "puVar3[2]" (identifier "puVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar6")) (; ";")) (expression_statement "puVar7 = (uint *)((int)pvVar4 + 1);" (assignment_expression "puVar7 = (uint *)((int)pvVar4 + 1)" (identifier "puVar7") (= "=") (cast_expression "(uint *)((int)pvVar4 + 1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)pvVar4 + 1)" (( "(") (binary_expression "(int)pvVar4 + 1" (cast_expression "(int)pvVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar4")) (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "param_3 = local_48 - ((int)puVar7 - (int)__s);" (assignment_expression "param_3 = local_48 - ((int)puVar7 - (int)__s)" (identifier "param_3") (= "=") (binary_expression "local_48 - ((int)puVar7 - (int)__s)" (identifier "local_48") (- "-") (parenthesized_expression "((int)puVar7 - (int)__s)" (( "(") (binary_expression "(int)puVar7 - (int)__s" (cast_expression "(int)puVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar7")) (- "-") (cast_expression "(int)__s" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__s"))) () ")")))) (; ";")) (expression_statement "FUN_00014cf0();" (call_expression "FUN_00014cf0()" (identifier "FUN_00014cf0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (if_statement "if ((int)param_3 < 4) {\n          iVar5 = (int)puVar7 - (int)param_2;\n          goto LAB_00015fde;\n        }" (if "if") (parenthesized_expression "((int)param_3 < 4)" (( "(") (binary_expression "(int)param_3 < 4" (cast_expression "(int)param_3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_3")) (< "<") (number_literal "4")) () ")")) (compound_statement "{\n          iVar5 = (int)puVar7 - (int)param_2;\n          goto LAB_00015fde;\n        }" ({ "{") (expression_statement "iVar5 = (int)puVar7 - (int)param_2;" (assignment_expression "iVar5 = (int)puVar7 - (int)param_2" (identifier "iVar5") (= "=") (binary_expression "(int)puVar7 - (int)param_2" (cast_expression "(int)puVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar7")) (- "-") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")))) (; ";")) (goto_statement "goto LAB_00015fde;" (goto "goto") (statement_identifier "LAB_00015fde") (; ";")) (} "}"))) (expression_statement "local_44 = puVar7 + 1;" (assignment_expression "local_44 = puVar7 + 1" (identifier "local_44") (= "=") (binary_expression "puVar7 + 1" (identifier "puVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar6 = *puVar7;" (assignment_expression "uVar6 = *puVar7" (identifier "uVar6") (= "=") (pointer_expression "*puVar7" (* "*") (identifier "puVar7"))) (; ";")) (expression_statement "local_48 = param_3 - 4;" (assignment_expression "local_48 = param_3 - 4" (identifier "local_48") (= "=") (binary_expression "param_3 - 4" (identifier "param_3") (- "-") (number_literal "4"))) (; ";")) (expression_statement "uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;" (assignment_expression "uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18" (identifier "uVar6") (= "=") (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8" (binary_expression "uVar6 >> 0x18" (identifier "uVar6") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar6 & 0xff0000) >> 8" (parenthesized_expression "(uVar6 & 0xff0000)" (( "(") (binary_expression "uVar6 & 0xff0000" (identifier "uVar6") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar6 & 0xff00) << 8" (parenthesized_expression "(uVar6 & 0xff00)" (( "(") (binary_expression "uVar6 & 0xff00" (identifier "uVar6") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar6 << 0x18" (identifier "uVar6") (<< "<<") (number_literal "0x18")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar6 < 0xb8)" (( "(") (binary_expression "uVar6 < 0xb8" (identifier "uVar6") (< "<") (number_literal "0xb8")) () ")")) (; ";")) (expression_statement "iVar5 = (int)local_44 - (int)param_2;" (assignment_expression "iVar5 = (int)local_44 - (int)param_2" (identifier "iVar5") (= "=") (binary_expression "(int)local_44 - (int)param_2" (cast_expression "(int)local_44" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_44")) (- "-") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")))) (; ";")) (} "}")) (else_clause "else {\n      iVar5 = 4;\n    }" (else "else") (compound_statement "{\n      iVar5 = 4;\n    }" ({ "{") (expression_statement "iVar5 = 4;" (assignment_expression "iVar5 = 4" (identifier "iVar5") (= "=") (number_literal "4")) (; ";")) (} "}")))) (} "}")))) (labeled_statement "LAB_00015fde:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }" (statement_identifier "LAB_00015fde") (: ":") (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }" (if "if") (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (== "==") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n    return iVar5;\n  }" ({ "{") (return_statement "return iVar5;" (return "return") (identifier "iVar5") (; ";")) (} "}")))) (expression_statement "FUN_0003dc30();" (call_expression "FUN_0003dc30()" (identifier "FUN_0003dc30") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

int function_1(type_1 *conf,void *vdata,int var_2)

{
  int var_10;
  type_2 *var_13;
  type_3 *entry;
  void *var_19;
  char *pcVar4;
  int var_8;
  type_4 var_3;
  type_4 *var_16;
  type_4 *var_6;
  int var_1;
  bool bVar8;
  size_t var_15;
  type_4 *local_44;
  int var_14;
  int var_21;
  type_5 uStack_14;
  
  uStack_14 = 0x15e09;
  var_21 = *(int *)(var_1 + 0x14);
  if (var_2 < 4) {
    var_8 = 0;
  }
  else {
    local_44 = (type_4 *)((int)vdata + 4);
                    /* WARNING: Load size is inaccurate */
    var_3 = *vdata;
    var_15 = var_2 - 4;
    var_3 = var_3 >> 0x18 | (var_3 & 0xff0000) >> 8 | (var_3 & 0xff00) << 8 | var_3 << 0x18;
    if (var_3 < 0xb8) {
      var_6 = (type_4 *)vdata;
      do {
        entry = (type_3 *)var_4(1,0xc);
        (entry->key).primary = var_3;
        if (subkeytypes[var_3] == 1) {
          if ((int)var_15 < 4) {
LAB_000160b0:
            var_5(entry);
            var_8 = (int)local_44 - (int)vdata;
            goto LAB_00015fde;
          }
          var_3 = var_6[1];
          var_16 = var_6 + 2;
          var_15 = var_2 - 8;
          var_8 = var_7(var_3 >> 0x18 | (var_3 & 0xff0000) >> 8 | (var_3 & 0xff00) << 8 |
                        var_3 << 0x18);
          var_3 = (entry->key).primary;
          (entry->key).secondary.i = var_8;
LAB_00015eb9:
          var_8 = valuetypes[var_3];
          var_10 = var_8 + -2;
          bVar8 = var_8 == 2;
          if (bVar8) goto LAB_00015f80;
LAB_00015ec9:
          if (!bVar8 && var_9(var_8,2) == var_10 < 0) {
            if (var_8 == 3) {
              var_13 = (type_2 *)var_11(var_16,var_15,&var_14);
              (entry->value).u.fileval = (type_6 *)var_13;
            }
            else {
              if (var_8 != 4) goto LAB_00015f01;
              var_13 = var_12(var_16,var_15,&var_14);
              (entry->value).u.fontval = var_13;
            }
            if (var_13 != (type_2 *)0x0) {
              var_16 = (type_4 *)((int)var_16 + var_14);
              var_15 = var_15 - var_14;
              goto LAB_00015f01;
            }
            var_8 = subkeytypes[(entry->key).primary];
            goto joined_r0x00016086;
          }
          if (var_8 == 1) {
            if (3 < (int)var_15) {
              var_3 = *var_16;
              var_16 = var_16 + 1;
              var_15 = var_15 - 4;
              var_8 = var_7(var_3 >> 0x18 | (var_3 & 0xff0000) >> 8 | (var_3 & 0xff00) << 8 |
                            var_3 << 0x18);
              (entry->value).u.intval = var_8;
              goto LAB_00015f01;
            }
            goto LAB_000160c9;
          }
LAB_00015f01:
          var_17(conf,entry);
          var_6 = var_16;
          var_2 = var_15;
        }
        else {
          if (subkeytypes[var_3] == 2) {
            var_19 = var_18(local_44,0,var_15);
            if (var_19 == (void *)0x0) goto LAB_000160b0;
            var_16 = (type_4 *)((int)var_19 + 1);
            pcVar4 = var_20((char *)local_44);
            var_3 = (entry->key).primary;
            (entry->key).secondary.var_16 = pcVar4;
            var_15 = var_15 - ((int)var_16 - (int)local_44);
            goto LAB_00015eb9;
          }
          var_8 = valuetypes[var_3];
          var_10 = var_8 + -2;
          bVar8 = var_10 == 0;
          var_16 = local_44;
          if (!bVar8) goto LAB_00015ec9;
LAB_00015f80:
          var_19 = var_18(var_16,0,var_15);
          if (var_19 == (void *)0x0) {
LAB_000160c9:
            var_8 = subkeytypes[var_3];
joined_r0x00016086:
            if (var_8 == 2) {
              var_5((entry->key).secondary.var_16);
            }
            var_5(entry);
            var_8 = (int)var_16 - (int)vdata;
            goto LAB_00015fde;
          }
          pcVar4 = var_20((char *)var_16);
          (entry->value).u.stringval = pcVar4;
          var_6 = (type_4 *)((int)var_19 + 1);
          var_2 = var_15 - ((int)var_6 - (int)var_16);
          var_17(conf,entry);
        }
        if (var_2 < 4) {
          var_8 = (int)var_6 - (int)vdata;
          goto LAB_00015fde;
        }
        local_44 = var_6 + 1;
        var_3 = *var_6;
        var_15 = var_2 - 4;
        var_3 = var_3 >> 0x18 | (var_3 & 0xff0000) >> 8 | (var_3 & 0xff00) << 8 | var_3 << 0x18;
      } while (var_3 < 0xb8);
      var_8 = (int)local_44 - (int)vdata;
    }
    else {
      var_8 = 4;
    }
  }
LAB_00015fde:
  if (var_21 == *(int *)(var_1 + 0x14)) {
    return var_8;
  }
                    /* WARNING: Subroutine does not return */
  var_22();
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

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

{
  int iVar1;
  uint uVar2;
  uint *puVar3;
  void *pvVar4;
  int iVar5;
  uint uVar6;
  uint *__s;
  uint *puVar7;
  int in_GS_OFFSET;
  bool bVar8;
  size_t local_48;
  uint *local_44;
  int local_24;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x15e09;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if ((int)param_3 < 4) {
    iVar5 = 0;
  }
  else {
    local_44 = param_2 + 1;
    uVar6 = *param_2;
    local_48 = param_3 - 4;
    uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;
    if (uVar6 < 0xb8) {
      puVar7 = param_2;
      do {
        puVar3 = (uint *)FUN_0001bd60(1,0xc);
        *puVar3 = uVar6;
        if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 1) {
          if ((int)local_48 < 4) {
LAB_000160b0:
            FUN_0001c5f0(puVar3);
            iVar5 = (int)local_44 - (int)param_2;
            goto LAB_00015fde;
          }
          uVar6 = puVar7[1];
          __s = puVar7 + 2;
          local_48 = param_3 - 8;
          uVar2 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |
                               uVar6 << 0x18);
          uVar6 = *puVar3;
          puVar3[1] = uVar2;
LAB_00015eb9:
          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);
          iVar1 = iVar5 + -2;
          bVar8 = iVar5 == 2;
          if (bVar8) goto LAB_00015f80;
LAB_00015ec9:
          if (!bVar8 && SBORROW4(iVar5,2) == iVar1 < 0) {
            if (iVar5 == 3) {
              uVar6 = FUN_0003b290(__s,local_48,&local_24);
              puVar3[2] = uVar6;
            }
            else {
              if (iVar5 != 4) goto LAB_00015f01;
              uVar6 = FUN_0003b750(__s,local_48,&local_24);
              puVar3[2] = uVar6;
            }
            if (uVar6 != 0) {
              __s = (uint *)((int)__s + local_24);
              local_48 = local_48 - local_24;
              goto LAB_00015f01;
            }
            iVar5 = *(int *)(&DAT_0003f560 + *puVar3 * 4);
            goto joined_r0x00016086;
          }
          if (iVar5 == 1) {
            if (3 < (int)local_48) {
              uVar6 = *__s;
              __s = __s + 1;
              local_48 = local_48 - 4;
              uVar6 = FUN_0001b7d0(uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 |
                                   uVar6 << 0x18);
              puVar3[2] = uVar6;
              goto LAB_00015f01;
            }
            goto LAB_000160c9;
          }
LAB_00015f01:
          FUN_00014cf0();
          puVar7 = __s;
          param_3 = local_48;
        }
        else {
          if (*(int *)(&DAT_0003f560 + uVar6 * 4) == 2) {
            pvVar4 = memchr(local_44,0,local_48);
            if (pvVar4 == (void *)0x0) goto LAB_000160b0;
            __s = (uint *)((int)pvVar4 + 1);
            uVar2 = FUN_0001be70(local_44);
            uVar6 = *puVar3;
            puVar3[1] = uVar2;
            local_48 = local_48 - ((int)__s - (int)local_44);
            goto LAB_00015eb9;
          }
          iVar5 = *(int *)(&DAT_0003f280 + uVar6 * 4);
          iVar1 = iVar5 + -2;
          bVar8 = iVar1 == 0;
          __s = local_44;
          if (!bVar8) goto LAB_00015ec9;
LAB_00015f80:
          pvVar4 = memchr(__s,0,local_48);
          if (pvVar4 == (void *)0x0) {
LAB_000160c9:
            iVar5 = *(int *)(&DAT_0003f560 + uVar6 * 4);
joined_r0x00016086:
            if (iVar5 == 2) {
              FUN_0001c5f0(puVar3[1]);
            }
            FUN_0001c5f0(puVar3);
            iVar5 = (int)__s - (int)param_2;
            goto LAB_00015fde;
          }
          uVar6 = FUN_0001be70(__s);
          puVar3[2] = uVar6;
          puVar7 = (uint *)((int)pvVar4 + 1);
          param_3 = local_48 - ((int)puVar7 - (int)__s);
          FUN_00014cf0();
        }
        if ((int)param_3 < 4) {
          iVar5 = (int)puVar7 - (int)param_2;
          goto LAB_00015fde;
        }
        local_44 = puVar7 + 1;
        uVar6 = *puVar7;
        local_48 = param_3 - 4;
        uVar6 = uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;
      } while (uVar6 < 0xb8);
      iVar5 = (int)local_44 - (int)param_2;
    }
    else {
      iVar5 = 4;
    }
  }
LAB_00015fde:
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return iVar5;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0003dc30();
}

