
/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

termline * __regparm3 decompressline(uchar *data,int *bytes_used)

{
  int iVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int *piVar5;
  int iVar6;
  byte *pbVar7;
  int iVar8;
  byte bVar9;
  byte bVar10;
  termline *ptVar11;
  termchar *ptVar12;
  int *piVar13;
  byte bVar14;
  uint uVar15;
  int iVar16;
  int iVar17;
  uint uVar18;
  int iVar19;
  int iVar20;
  int in_GS_OFFSET;
  bool bVar21;
  termchar *c;
  termline *in_stack_ffffff8c;
  ulong *in_stack_ffffff90;
  termline *ldata;
  buf *pbVar22;
  ulong *local_68;
  int local_40;
  ulong state_1;
  ulong state;
  buf buffer;
  
  iVar8 = *(int *)(in_GS_OFFSET + 0x14);
  uVar15 = 0;
  iVar19 = 0;
  do {
    buffer.len = iVar19 + 1;
    pbVar7 = data + iVar19;
    uVar15 = uVar15 | (*pbVar7 & 0x7f) << ((char)iVar19 * '\a' & 0x1fU);
    iVar19 = buffer.len;
  } while ((char)*pbVar7 < '\0');
  buffer.data = data;
  ptVar11 = (termline *)safemalloc(1,0x18);
  c = (termchar *)0xc;
  ptVar12 = (termchar *)safemalloc(uVar15,0xc);
  ptVar11->size = uVar15;
  ptVar11->chars = ptVar12;
  ptVar11->cols = uVar15;
  ptVar11->temporary = 1;
  ptVar11->cc_free = 0;
  if (0 < (int)uVar15) {
    piVar13 = &ptVar12->cc_next;
    piVar5 = piVar13 + uVar15 * 3;
    do {
      *piVar13 = 0;
      piVar13 = piVar13 + 3;
    } while (piVar5 != piVar13);
  }
  uVar18 = 0;
  ptVar11->lattr = 0;
  bVar14 = 0;
  iVar19 = buffer.len;
  do {
    buffer.len = iVar19 + 1;
    bVar9 = buffer.data[iVar19];
    bVar10 = bVar14 & 0x1f;
    bVar14 = bVar14 + 7;
    uVar18 = uVar18 | (bVar9 & 0x7f) << bVar10;
    ptVar11->lattr = (ushort)uVar18;
    iVar19 = buffer.len;
  } while ((char)bVar9 < '\0');
  state = 0;
  if ((int)uVar15 < 1) {
    if (uVar15 != 0) goto LAB_0003920f;
    local_40 = ptVar11->cols;
  }
  else {
    iVar19 = 0;
    ldata = (termline *)&state;
    do {
      while( true ) {
        iVar17 = buffer.len + 1;
        bVar14 = buffer.data[buffer.len];
        ptVar12 = ptVar11->chars;
        buffer.len = iVar17;
        if (-1 < (char)bVar14) break;
        iVar20 = iVar19 + 1;
        ptVar12 = ptVar12 + iVar19;
        iVar19 = iVar19 + -0x7e + (uint)bVar14;
        readliteral_chr(&buffer,ptVar12,ldata,&c->chr);
        do {
          iVar16 = buffer.len;
          if (ptVar11->cols <= iVar20) goto LAB_000391c0;
          iVar16 = iVar20 + 1;
          buffer.len = iVar17;
          readliteral_chr(&buffer,ptVar11->chars + iVar20,ldata,&c->chr);
          iVar20 = iVar16;
        } while (iVar16 != iVar19);
        local_40 = ptVar11->cols;
        bVar21 = iVar19 == local_40;
        if (local_40 <= iVar19) goto LAB_00038e55;
      }
      iVar17 = iVar19 + 1;
      iVar20 = iVar19;
      while( true ) {
        iVar19 = iVar20 + 1;
        readliteral_chr(&buffer,ptVar12 + iVar20,ldata,&c->chr);
        if (iVar19 == iVar17 + (uint)bVar14) break;
        if (ptVar11->cols <= iVar19) goto LAB_000391e8;
        ptVar12 = ptVar11->chars;
        iVar20 = iVar19;
      }
      local_40 = ptVar11->cols;
      bVar21 = iVar19 == local_40;
    } while (iVar19 < local_40);
LAB_00038e55:
    if (!bVar21) goto LAB_0003920f;
    if (iVar19 < 1) {
      iVar17 = 0;
    }
    else {
      iVar17 = 0;
      do {
        iVar20 = buffer.len + 1;
        bVar14 = buffer.data[buffer.len];
        if ((char)bVar14 < '\0') {
          iVar16 = iVar20;
          if (iVar19 <= iVar17) goto LAB_000391c0;
          iVar1 = buffer.len + 2;
          iVar6 = iVar17 + -0x7e;
          iVar2 = buffer.len + 4;
          iVar3 = buffer.len + 3;
          iVar4 = buffer.len + 5;
          local_68 = &ptVar11->chars[iVar17].attr;
          while( true ) {
            uVar15 = (uint)CONCAT11(buffer.data[iVar20],buffer.data[iVar1]);
            buffer.len = iVar3;
            if (0x7fff < uVar15) {
              uVar15 = (uVar15 & 0x7fff) << 0x10 |
                       (uint)CONCAT11(buffer.data[iVar3],buffer.data[iVar2]);
              buffer.len = iVar4;
            }
            iVar17 = iVar17 + 1;
            *local_68 = (uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0 |
                        uVar15 << 4 & 0x1f00 | uVar15 & 0xf |
                        ((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11;
            if (iVar17 == iVar6 + (uint)bVar14) break;
            local_68 = local_68 + 3;
            iVar16 = buffer.len;
            if (iVar17 == iVar19) goto LAB_000391c0;
          }
        }
        else {
          buffer.len = iVar20;
          if (iVar19 <= iVar17) goto LAB_000391e8;
          iVar16 = iVar17 + 1;
          local_68 = &ptVar11->chars[iVar17].attr;
          iVar17 = iVar16;
          while( true ) {
            buffer.len = iVar20 + 2;
            uVar15 = (uint)CONCAT11(buffer.data[iVar20],buffer.data[iVar20 + 1]);
            if (0x7fff < uVar15) {
              buffer.len = iVar20 + 4;
              uVar15 = (uVar15 & 0x7fff) << 0x10 |
                       (uint)CONCAT11(buffer.data[iVar20 + 2],buffer.data[iVar20 + 3]);
            }
            *local_68 = ((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11 |
                        (uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0 |
                        uVar15 << 4 & 0x1f00 | uVar15 & 0xf;
            if ((uint)bVar14 + iVar16 == iVar17) break;
            local_68 = local_68 + 3;
            bVar21 = iVar19 == iVar17;
            iVar20 = buffer.len;
            iVar17 = iVar17 + 1;
            if (bVar21) goto LAB_000391e8;
          }
        }
      } while (iVar17 < iVar19);
    }
    if (iVar19 != iVar17) goto LAB_0003920f;
  }
  pbVar22 = &buffer;
  iVar19 = 0;
  state_1 = 0;
  bVar21 = local_40 == 0;
  if (0 < local_40) {
    do {
      iVar17 = buffer.len + 1;
      bVar14 = buffer.data[buffer.len];
      buffer.len = iVar17;
      if ((char)bVar14 < '\0') {
        iVar20 = iVar19 + 1;
        readliteral_cc((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90);
        iVar19 = iVar19 + -0x7e + (uint)bVar14;
        do {
          iVar16 = buffer.len;
          if (ptVar11->cols <= iVar20) goto LAB_000391c0;
          iVar20 = iVar20 + 1;
          buffer.len = iVar17;
          readliteral_cc((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90);
        } while (iVar20 != iVar19);
        iVar17 = ptVar11->cols;
      }
      else {
        iVar17 = iVar19 + 1;
        while( true ) {
          iVar19 = iVar19 + 1;
          readliteral_cc((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90);
          if (iVar17 + (uint)bVar14 == iVar19) break;
          if (ptVar11->cols <= iVar19) goto LAB_000391e8;
        }
        iVar17 = ptVar11->cols;
      }
      bVar21 = iVar17 == iVar19;
    } while (!bVar21 && iVar19 <= iVar17);
  }
  if (bVar21) {
    if (iVar8 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
      __stack_chk_fail_local(pbVar22);
    }
    return ptVar11;
  }
LAB_0003920f:
                    /* WARNING: Subroutine does not return */
  __assert_fail("n == ldata->cols","terminal.c",800,"readrle");
LAB_000391e8:
  uVar15 = 0x319;
  goto LAB_000391d0;
LAB_000391c0:
  buffer.len = iVar16;
  uVar15 = 0x30f;
LAB_000391d0:
                    /* WARNING: Subroutine does not return */
  __assert_fail("n < ldata->cols","terminal.c",uVar15,"readrle");
}



/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

undefined2 * __regparm3 FUN_00038c60(int param_1)

{
  int iVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  byte bVar7;
  byte bVar8;
  char cVar9;
  undefined2 *puVar10;
  int iVar11;
  undefined4 *puVar12;
  byte bVar13;
  uint uVar14;
  int iVar15;
  int iVar16;
  uint uVar17;
  int in_GS_OFFSET;
  bool bVar18;
  undefined4 *puVar19;
  int *piVar20;
  uint *local_68;
  int local_40;
  undefined4 local_34;
  undefined4 local_30;
  int local_2c;
  int local_28;
  int local_20;
  
  local_28 = 0;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  uVar14 = 0;
  do {
    cVar9 = (char)local_28;
    local_28 = local_28 + 1;
    bVar13 = *(byte *)(param_1 + -1 + local_28);
    uVar14 = uVar14 | (bVar13 & 0x7f) << (cVar9 * '\a' & 0x1fU);
  } while ((char)bVar13 < '\0');
  local_2c = param_1;
  puVar10 = (undefined2 *)FUN_00030000(1,0x18);
  iVar11 = FUN_00030000(uVar14,0xc);
  *(uint *)(puVar10 + 4) = uVar14;
  *(int *)(puVar10 + 10) = iVar11;
  *(uint *)(puVar10 + 2) = uVar14;
  *(undefined4 *)(puVar10 + 6) = 1;
  *(undefined4 *)(puVar10 + 8) = 0;
  if (0 < (int)uVar14) {
    puVar12 = (undefined4 *)(iVar11 + 8);
    puVar19 = puVar12 + uVar14 * 3;
    do {
      *puVar12 = 0;
      puVar12 = puVar12 + 3;
    } while (puVar19 != puVar12);
  }
  uVar17 = 0;
  *puVar10 = 0;
  bVar13 = 0;
  do {
    local_28 = local_28 + 1;
    bVar7 = *(byte *)(local_2c + -1 + local_28);
    bVar8 = bVar13 & 0x1f;
    bVar13 = bVar13 + 7;
    uVar17 = uVar17 | (bVar7 & 0x7f) << bVar8;
    *puVar10 = (short)uVar17;
  } while ((char)bVar7 < '\0');
  local_30 = 0;
  if ((int)uVar14 < 1) {
    if (uVar14 != 0) goto LAB_0003920f;
    local_40 = *(int *)(puVar10 + 2);
  }
  else {
    iVar11 = 0;
    puVar19 = &local_30;
    do {
      while( true ) {
        iVar16 = local_28 + 1;
        bVar13 = *(byte *)(local_2c + local_28);
        local_28 = iVar16;
        if (-1 < (char)bVar13) break;
        iVar15 = iVar11 + 1;
        iVar11 = iVar11 + -0x7e + (uint)bVar13;
        FUN_00037420(puVar19);
        do {
          iVar5 = local_28;
          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;
          iVar15 = iVar15 + 1;
          local_28 = iVar16;
          FUN_00037420(puVar19);
        } while (iVar15 != iVar11);
        local_40 = *(int *)(puVar10 + 2);
        bVar18 = iVar11 == local_40;
        if (local_40 <= iVar11) goto LAB_00038e55;
      }
      iVar16 = iVar11 + 1;
      while( true ) {
        iVar11 = iVar11 + 1;
        FUN_00037420(puVar19);
        if (iVar11 == iVar16 + (uint)bVar13) break;
        if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;
      }
      local_40 = *(int *)(puVar10 + 2);
      bVar18 = iVar11 == local_40;
    } while (iVar11 < local_40);
LAB_00038e55:
    if (!bVar18) goto LAB_0003920f;
    if (iVar11 < 1) {
      iVar16 = 0;
    }
    else {
      iVar16 = 0;
      do {
        iVar15 = local_28 + 1;
        bVar13 = *(byte *)(local_2c + local_28);
        if ((char)bVar13 < '\0') {
          iVar5 = iVar15;
          if (iVar11 <= iVar16) goto LAB_000391c0;
          iVar1 = local_28 + 2;
          iVar6 = iVar16 + -0x7e;
          iVar2 = local_28 + 4;
          iVar3 = local_28 + 3;
          iVar4 = local_28 + 5;
          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);
          while( true ) {
            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),
                                    *(undefined1 *)(iVar1 + local_2c));
            local_28 = iVar3;
            if (0x7fff < uVar14) {
              uVar14 = (uVar14 & 0x7fff) << 0x10 |
                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),
                                      *(undefined1 *)(local_2c + iVar2));
              local_28 = iVar4;
            }
            iVar16 = iVar16 + 1;
            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |
                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |
                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;
            if (iVar16 == iVar6 + (uint)bVar13) break;
            local_68 = local_68 + 3;
            iVar5 = local_28;
            if (iVar16 == iVar11) goto LAB_000391c0;
          }
        }
        else {
          local_28 = iVar15;
          if (iVar11 <= iVar16) goto LAB_000391e8;
          iVar5 = iVar16 + 1;
          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);
          iVar16 = iVar5;
          while( true ) {
            local_28 = iVar15 + 2;
            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),
                                    *(undefined1 *)(local_2c + 1 + iVar15));
            if (0x7fff < uVar14) {
              local_28 = iVar15 + 4;
              uVar14 = (uVar14 & 0x7fff) << 0x10 |
                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),
                                      *(undefined1 *)(local_2c + iVar15 + 3));
            }
            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |
                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |
                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;
            if ((uint)bVar13 + iVar5 == iVar16) break;
            local_68 = local_68 + 3;
            bVar18 = iVar11 == iVar16;
            iVar15 = local_28;
            iVar16 = iVar16 + 1;
            if (bVar18) goto LAB_000391e8;
          }
        }
      } while (iVar16 < iVar11);
    }
    if (iVar11 != iVar16) goto LAB_0003920f;
  }
  piVar20 = &local_2c;
  iVar11 = 0;
  local_34 = 0;
  bVar18 = local_40 == 0;
  if (0 < local_40) {
    do {
      iVar16 = local_28 + 1;
      bVar13 = *(byte *)(local_2c + local_28);
      local_28 = iVar16;
      if ((char)bVar13 < '\0') {
        iVar15 = iVar11 + 1;
        FUN_000388e0(&local_34);
        iVar11 = iVar11 + -0x7e + (uint)bVar13;
        do {
          iVar5 = local_28;
          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;
          iVar15 = iVar15 + 1;
          local_28 = iVar16;
          FUN_000388e0(&local_34);
        } while (iVar15 != iVar11);
        iVar16 = *(int *)(puVar10 + 2);
      }
      else {
        iVar16 = iVar11 + 1;
        while( true ) {
          iVar11 = iVar11 + 1;
          FUN_000388e0(&local_34);
          if (iVar16 + (uint)bVar13 == iVar11) break;
          if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;
        }
        iVar16 = *(int *)(puVar10 + 2);
      }
      bVar18 = iVar16 == iVar11;
    } while (!bVar18 && iVar11 <= iVar16);
  }
  if (bVar18) {
    if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
      FUN_0006c950(piVar20);
    }
    return puVar10;
  }
LAB_0003920f:
                    /* WARNING: Subroutine does not return */
  __assert_fail("n == ldata->cols","terminal.c",800,"readrle");
LAB_000391e8:
  uVar14 = 0x319;
  goto LAB_000391d0;
LAB_000391c0:
  local_28 = iVar5;
  uVar14 = 0x30f;
LAB_000391d0:
                    /* WARNING: Subroutine does not return */
  __assert_fail("n < ldata->cols","terminal.c",uVar14,"readrle");
}


CALL 0x0002e456
ADD ECX,0x7cb7f
PUSH EBP
XOR EDX,EDX
PUSH EDI
MOV EDI,EAX
PUSH ESI
XOR ESI,ESI
PUSH EBX
SUB ESP,0x5c
MOV dword ptr [ESP + 0x28],ECX
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x4c],EAX
XOR EAX,EAX
MOV dword ptr [ESP + 0x40],EDI
LEA ESI,[ESI]
LEA ECX,[EDX*0x8 + 0x0]
SUB ECX,EDX
ADD EDX,0x1
MOVZX EBX,byte ptr [EDI + EDX*0x1 + -0x1]
MOV EAX,EBX
AND EAX,0x7f
SHL EAX,CL
OR ESI,EAX
TEST BL,BL
JS 0x00038c90
MOV dword ptr [ESP + 0x44],EDX
SUB ESP,0x8
PUSH 0x18
PUSH 0x1
MOV EDI,dword ptr [ESP + 0x38]
MOV EBX,EDI
CALL 0x00030000
POP EDX
POP ECX
PUSH 0xc
PUSH ESI
MOV EBP,EAX
CALL 0x00030000
MOV dword ptr [EBP + 0x8],ESI
ADD ESP,0x10
MOV dword ptr [EBP + 0x14],EAX
MOV dword ptr [EBP + 0x4],ESI
MOV dword ptr [EBP + 0xc],0x1
MOV dword ptr [EBP + 0x10],0x0
TEST ESI,ESI
JLE 0x00038d0d
ADD EAX,0x8
LEA EDX,[ESI + ESI*0x2]
LEA EDX,[EAX + EDX*0x4]
LEA ESI,[ESI]
NOP
MOV dword ptr [EAX],0x0
ADD EAX,0xc
CMP EDX,EAX
JNZ 0x00038d00
XOR EAX,EAX
MOV EBX,dword ptr [ESP + 0x40]
MOV dword ptr [ESP],ESI
XOR EDI,EDI
MOV word ptr [EBP],AX
MOV EAX,dword ptr [ESP + 0x44]
XOR ECX,ECX
MOV ESI,EBX
ADD EAX,0x1
LEA ESI,[ESI]
NOP
MOV dword ptr [ESP + 0x44],EAX
MOVZX EBX,byte ptr [ESI + EAX*0x1 + -0x1]
ADD EAX,0x1
MOV EDX,EBX
AND EDX,0x7f
SHL EDX,CL
ADD ECX,0x7
OR EDI,EDX
MOV word ptr [EBP],DI
TEST BL,BL
JS 0x00038d30
MOV EBX,ESI
MOV ESI,dword ptr [ESP]
MOV dword ptr [ESP + 0x3c],0x0
TEST ESI,ESI
JLE 0x000391fa
LEA EAX,[ESP + 0x40]
XOR EDI,EDI
MOV dword ptr [ESP + 0x4],EAX
LEA EAX,[ESP + 0x3c]
MOV dword ptr [ESP],EAX
LEA ESI,[ESI]
LEA ESI,[ESI]
MOV EAX,dword ptr [ESP + 0x44]
LEA ECX,[EAX + 0x1]
MOV dword ptr [ESP + 0x44],ECX
MOVZX EBX,byte ptr [EBX + EAX*0x1]
MOV dword ptr [ESP + 0x8],ECX
MOV EAX,dword ptr [EBP + 0x14]
TEST BL,BL
JNS 0x00038e10
SUB ESP,0xc
LEA EDX,[EDI + EDI*0x2]
LEA ESI,[EDI + 0x1]
MOV ECX,EBP
PUSH dword ptr [ESP + 0xc]
LEA EDX,[EAX + EDX*0x4]
MOV EAX,dword ptr [ESP + 0x14]
LEA EDI,[EDI + EBX*0x1 + -0x7e]
CALL 0x00037420
ADD ESP,0x10
LEA ESI,[ESI]
CMP ESI,dword ptr [EBP + 0x4]
JGE 0x000391c0
MOV EAX,dword ptr [ESP + 0x8]
SUB ESP,0xc
LEA EDX,[ESI + ESI*0x2]
MOV ECX,EBP
ADD ESI,0x1
MOV dword ptr [ESP + 0x50],EAX
MOV EAX,dword ptr [EBP + 0x14]
PUSH dword ptr [ESP + 0xc]
LEA EDX,[EAX + EDX*0x4]
MOV EAX,dword ptr [ESP + 0x14]
CALL 0x00037420
ADD ESP,0x10
CMP ESI,EDI
JNZ 0x00038dc0
MOV EAX,dword ptr [EBP + 0x4]
CMP EDI,EAX
JGE 0x00038e55
MOV EBX,dword ptr [ESP + 0x40]
JMP 0x00038d80
LEA EBX,[EDI + EBX*0x1 + 0x1]
JMP 0x00038e2c
CMP dword ptr [EBP + 0x4],EDI
JLE 0x000391e8
MOV EAX,dword ptr [EBP + 0x14]
SUB ESP,0xc
LEA EDX,[EDI + EDI*0x2]
MOV ECX,EBP
ADD EDI,0x1
PUSH dword ptr [ESP + 0xc]
LEA EDX,[EAX + EDX*0x4]
MOV EAX,dword ptr [ESP + 0x14]
CALL 0x00037420
ADD ESP,0x10
CMP EDI,EBX
JNZ 0x00038e20
MOV EAX,dword ptr [EBP + 0x4]
CMP EDI,EAX
JL 0x00038dfd
MOV dword ptr [ESP + 0x2c],EAX
JNZ 0x0003920f
TEST EDI,EDI
JLE 0x00039208
MOV EAX,dword ptr [ESP + 0x40]
MOV ECX,dword ptr [ESP + 0x44]
MOV dword ptr [ESP],EDI
XOR ESI,ESI
MOV dword ptr [ESP + 0xc],EBP
MOV EBP,EAX
LEA ESI,[ESI]
LEA EDX,[ECX + 0x1]
MOV dword ptr [ESP + 0x44],EDX
MOVZX EAX,byte ptr [EBP + ECX*0x1]
TEST AL,AL
JNS 0x00039090
CMP ESI,dword ptr [ESP]
JGE 0x000391c0
LEA EBX,[ECX + 0x2]
LEA EAX,[ESI + EAX*0x1 + -0x7e]
MOV dword ptr [ESP + 0x14],EBX
ADD EBX,EBP
LEA EDI,[EBP + EDX*0x1]
LEA EDX,[ESI + ESI*0x2]
MOV dword ptr [ESP + 0x1c],EBX
MOV EBX,dword ptr [ESP + 0xc]
MOV dword ptr [ESP + 0x10],EAX
LEA EAX,[ECX + 0x4]
MOV EBX,dword ptr [EBX + 0x14]
MOV dword ptr [ESP + 0x18],EDI
LEA EDI,[ECX + 0x3]
MOV dword ptr [ESP + 0x20],EAX
LEA EAX,[ECX + 0x5]
MOV ECX,EDI
LEA EBX,[EBX + EDX*0x4 + 0x4]
MOV dword ptr [ESP + 0x24],EAX
MOV dword ptr [ESP + 0x4],EBX
JMP 0x00038ef6
ADD dword ptr [ESP + 0x4],0xc
CMP ESI,dword ptr [ESP]
JZ 0x000391c0
MOV EAX,dword ptr [ESP + 0x14]
MOV EDI,dword ptr [ESP + 0x1c]
MOV dword ptr [ESP + 0x8],ECX
MOV dword ptr [ESP + 0x44],EAX
MOV EAX,dword ptr [ESP + 0x18]
MOVZX EAX,byte ptr [EAX]
MOV dword ptr [ESP + 0x44],ECX
MOVZX EDX,byte ptr [EDI]
SHL EAX,0x8
OR EAX,EDX
CMP EAX,0x7fff
JBE 0x00038f4d
MOV EDI,dword ptr [ESP + 0x20]
MOV EDX,dword ptr [ESP + 0x24]
SHL EAX,0x10
AND EAX,0x7fff0000
MOV dword ptr [ESP + 0x44],EDI
MOVZX EBX,byte ptr [EBP + ECX*0x1]
MOV dword ptr [ESP + 0x8],EDX
MOV dword ptr [ESP + 0x44],EDX
MOVZX EDX,byte ptr [EBP + EDI*0x1]
SHL EBX,0x8
OR EDX,EBX
OR EAX,EDX
MOV EDX,EAX
MOV EBX,EAX
MOV EDI,EAX
SHR EAX,0x1b
SHL EDX,0x4
AND EBX,0xf
SHR EDI,0x13
ADD ESI,0x1
AND EDX,0x7ffff00
AND EDI,0xf0
SHL EAX,0xd
OR EDX,EBX
OR EAX,EDI
MOV EDI,dword ptr [ESP + 0x4]
MOV EBX,EDX
AND EDX,0x1fff
SHR EBX,0xd
OR EAX,EDX
SHL EBX,0x11
OR EAX,EBX
MOV dword ptr [EDI],EAX
CMP ESI,dword ptr [ESP + 0x10]
JNZ 0x00038ee8
MOV ECX,dword ptr [ESP + 0x8]
CMP ESI,dword ptr [ESP]
JL 0x00038e80
MOV EDI,dword ptr [ESP]
MOV EBP,dword ptr [ESP + 0xc]
CMP EDI,ESI
JNZ 0x0003920f
LEA EAX,[ESP + 0x40]
XOR EBX,EBX
MOV dword ptr [ESP + 0x38],0x0
MOV dword ptr [ESP],EAX
LEA EAX,[ESP + 0x38]
MOV dword ptr [ESP + 0x4],EAX
MOV EAX,dword ptr [ESP + 0x2c]
CMP EAX,EBX
JLE 0x0003906d
LEA ESI,[ESI]
NOP
MOV EAX,dword ptr [ESP + 0x44]
MOV EDX,dword ptr [ESP + 0x40]
LEA ECX,[EAX + 0x1]
MOV dword ptr [ESP + 0x44],ECX
MOVZX ESI,byte ptr [EDX + EAX*0x1]
MOV dword ptr [ESP + 0x8],ECX
MOV EAX,dword ptr [EBP + 0x14]
MOV ECX,ESI
TEST CL,CL
JNS 0x00039178
SUB ESP,0xc
LEA EDX,[EBX + EBX*0x2]
LEA EDI,[EBX + 0x1]
MOV ECX,EBP
PUSH dword ptr [ESP + 0x10]
LEA EDX,[EAX + EDX*0x4]
MOV EAX,dword ptr [ESP + 0x10]
CALL 0x000388e0
MOV EAX,ESI
ADD ESP,0x10
MOVZX ESI,AL
LEA EBX,[EBX + ESI*0x1 + -0x7e]
MOV ESI,dword ptr [ESP + 0x8]
NOP
CMP dword ptr [EBP + 0x4],EDI
JLE 0x000391c0
MOV dword ptr [ESP + 0x44],ESI
MOV EAX,dword ptr [EBP + 0x14]
SUB ESP,0xc
LEA EDX,[EDI + EDI*0x2]
PUSH dword ptr [ESP + 0x10]
MOV ECX,EBP
ADD EDI,0x1
LEA EDX,[EAX + EDX*0x4]
MOV EAX,dword ptr [ESP + 0x10]
CALL 0x000388e0
ADD ESP,0x10
CMP EDI,EBX
JNZ 0x00039030
MOV EAX,dword ptr [EBP + 0x4]
CMP EAX,EBX
JG 0x00038fe0
JNZ 0x0003920f
MOV ECX,dword ptr [ESP + 0x4c]
XOR ECX,dword ptr GS:[0x14]
MOV EAX,EBP
JNZ 0x00039232
ADD ESP,0x5c
POP EBX
POP ESI
POP EDI
POP EBP
RET
CMP ESI,dword ptr [ESP]
JGE 0x000391e8
MOV ECX,dword ptr [ESP + 0xc]
LEA EBX,[ESI + 0x1]
LEA ESI,[ESI + ESI*0x2]
ADD EAX,EBX
MOV ECX,dword ptr [ECX + 0x14]
MOV dword ptr [ESP + 0x8],EAX
LEA ECX,[ECX + ESI*0x4 + 0x4]
MOV dword ptr [ESP + 0x4],ECX
MOV ECX,EDX
JMP 0x00039145
LEA EDI,[ECX + 0x3]
SHL EAX,0x10
MOV dword ptr [ESP + 0x44],EDI
MOVZX EDX,byte ptr [EBP + ECX*0x1 + 0x2]
ADD ECX,0x4
AND EAX,0x7fff0000
MOV dword ptr [ESP + 0x44],ECX
MOV ESI,EDX
MOVZX EDX,byte ptr [EBP + EDI*0x1]
SHL ESI,0x8
OR EDX,ESI
OR EAX,EDX
MOV EDX,EAX
MOV ESI,EAX
MOV EDI,EAX
SHR EAX,0x1b
SHL EDX,0x4
AND ESI,0xf
SHR EDI,0x13
AND EDX,0x7ffff00
AND EDI,0xf0
SHL EAX,0xd
OR EDX,ESI
OR EAX,EDI
MOV ESI,EDX
AND EDX,0x1fff
SHR ESI,0xd
OR EAX,EDX
SHL ESI,0x11
OR ESI,EAX
MOV EAX,dword ptr [ESP + 0x4]
MOV dword ptr [EAX],ESI
MOV ESI,EBX
CMP dword ptr [ESP + 0x8],EBX
JZ 0x00038f9b
LEA EAX,[EBX + 0x1]
ADD dword ptr [ESP + 0x4],0xc
CMP dword ptr [ESP],EBX
JZ 0x000391e8
MOV EBX,EAX
LEA EAX,[ECX + 0x1]
LEA EDX,[ECX + 0x2]
MOV dword ptr [ESP + 0x44],EAX
MOVZX EAX,byte ptr [EBP + ECX*0x1]
MOV dword ptr [ESP + 0x44],EDX
MOVZX ESI,byte ptr [EBP + ECX*0x1 + 0x1]
SHL EAX,0x8
OR EAX,ESI
CMP EAX,0x7fff
JA 0x000390c0
MOV ECX,EDX
JMP 0x000390e9
MOVZX ESI,CL
LEA ESI,[EBX + ESI*0x1 + 0x1]
JMP 0x00039190
CMP dword ptr [EBP + 0x4],EBX
JLE 0x000391e8
MOV EAX,dword ptr [EBP + 0x14]
SUB ESP,0xc
LEA EDX,[EBX + EBX*0x2]
MOV ECX,EBP
ADD EBX,0x1
PUSH dword ptr [ESP + 0x10]
LEA EDX,[EAX + EDX*0x4]
MOV EAX,dword ptr [ESP + 0x10]
CALL 0x000388e0
ADD ESP,0x10
CMP ESI,EBX
JNZ 0x00039188
MOV EAX,dword ptr [EBP + 0x4]
JMP 0x00039065
MOV EBX,dword ptr [ESP + 0x28]
LEA EAX,[EBX + 0xfffd1b64]
PUSH EAX
PUSH 0x30f
LEA EAX,[EBX + 0xfffd0faf]
PUSH EAX
LEA EAX,[EBX + 0xfffd1046]
PUSH EAX
CALL 0x00019e90
MOV EBX,dword ptr [ESP + 0x28]
LEA EAX,[EBX + 0xfffd1b64]
PUSH EAX
PUSH 0x319
JMP 0x000391d0
JNZ 0x0003920f
MOV EAX,dword ptr [EBP + 0x4]
MOV dword ptr [ESP + 0x2c],EAX
JMP 0x00038fb3
XOR ESI,ESI
JMP 0x00038fab
MOV EBX,dword ptr [ESP + 0x28]
LEA EAX,[EBX + 0xfffd1b64]
PUSH EAX
LEA EAX,[EBX + 0xfffd0faf]
PUSH 0x320
PUSH EAX
LEA EAX,[EBX + 0xfffd1056]
PUSH EAX
CALL 0x00019e90
CALL 0x0006c950
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nundefined2 * __regparm3 FUN_00038c60(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  byte bVar7;\n  byte bVar8;\n  char cVar9;\n  undefined2 *puVar10;\n  int iVar11;\n  undefined4 *puVar12;\n  byte bVar13;\n  uint uVar14;\n  int iVar15;\n  int iVar16;\n  uint uVar17;\n  int in_GS_OFFSET;\n  bool bVar18;\n  undefined4 *puVar19;\n  int *piVar20;\n  uint *local_68;\n  int local_40;\n  undefined4 local_34;\n  undefined4 local_30;\n  int local_2c;\n  int local_28;\n  int local_20;\n  \n  local_28 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar14 = 0;\n  do {\n    cVar9 = (char)local_28;\n    local_28 = local_28 + 1;\n    bVar13 = *(byte *)(param_1 + -1 + local_28);\n    uVar14 = uVar14 | (bVar13 & 0x7f) << (cVar9 * '\a' & 0x1fU);\n  } while ((char)bVar13 < '\0');\n  local_2c = param_1;\n  puVar10 = (undefined2 *)FUN_00030000(1,0x18);\n  iVar11 = FUN_00030000(uVar14,0xc);\n  *(uint *)(puVar10 + 4) = uVar14;\n  *(int *)(puVar10 + 10) = iVar11;\n  *(uint *)(puVar10 + 2) = uVar14;\n  *(undefined4 *)(puVar10 + 6) = 1;\n  *(undefined4 *)(puVar10 + 8) = 0;\n  if (0 < (int)uVar14) {\n    puVar12 = (undefined4 *)(iVar11 + 8);\n    puVar19 = puVar12 + uVar14 * 3;\n    do {\n      *puVar12 = 0;\n      puVar12 = puVar12 + 3;\n    } while (puVar19 != puVar12);\n  }\n  uVar17 = 0;\n  *puVar10 = 0;\n  bVar13 = 0;\n  do {\n    local_28 = local_28 + 1;\n    bVar7 = *(byte *)(local_2c + -1 + local_28);\n    bVar8 = bVar13 & 0x1f;\n    bVar13 = bVar13 + 7;\n    uVar17 = uVar17 | (bVar7 & 0x7f) << bVar8;\n    *puVar10 = (short)uVar17;\n  } while ((char)bVar7 < '\0');\n  local_30 = 0;\n  if ((int)uVar14 < 1) {\n    if (uVar14 != 0) goto LAB_0003920f;\n    local_40 = *(int *)(puVar10 + 2);\n  }\n  else {\n    iVar11 = 0;\n    puVar19 = &local_30;\n    do {\n      while( true ) {\n        iVar16 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        local_28 = iVar16;\n        if (-1 < (char)bVar13) break;\n        iVar15 = iVar11 + 1;\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        FUN_00037420(puVar19);\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_00037420(puVar19);\n        } while (iVar15 != iVar11);\n        local_40 = *(int *)(puVar10 + 2);\n        bVar18 = iVar11 == local_40;\n        if (local_40 <= iVar11) goto LAB_00038e55;\n      }\n      iVar16 = iVar11 + 1;\n      while( true ) {\n        iVar11 = iVar11 + 1;\n        FUN_00037420(puVar19);\n        if (iVar11 == iVar16 + (uint)bVar13) break;\n        if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n      }\n      local_40 = *(int *)(puVar10 + 2);\n      bVar18 = iVar11 == local_40;\n    } while (iVar11 < local_40);\nLAB_00038e55:\n    if (!bVar18) goto LAB_0003920f;\n    if (iVar11 < 1) {\n      iVar16 = 0;\n    }\n    else {\n      iVar16 = 0;\n      do {\n        iVar15 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        if ((char)bVar13 < '\0') {\n          iVar5 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391c0;\n          iVar1 = local_28 + 2;\n          iVar6 = iVar16 + -0x7e;\n          iVar2 = local_28 + 4;\n          iVar3 = local_28 + 3;\n          iVar4 = local_28 + 5;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          while( true ) {\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }\n        }\n        else {\n          local_28 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391e8;\n          iVar5 = iVar16 + 1;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          iVar16 = iVar5;\n          while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }\n        }\n      } while (iVar16 < iVar11);\n    }\n    if (iVar11 != iVar16) goto LAB_0003920f;\n  }\n  piVar20 = &local_2c;\n  iVar11 = 0;\n  local_34 = 0;\n  bVar18 = local_40 == 0;\n  if (0 < local_40) {\n    do {\n      iVar16 = local_28 + 1;\n      bVar13 = *(byte *)(local_2c + local_28);\n      local_28 = iVar16;\n      if ((char)bVar13 < '\0') {\n        iVar15 = iVar11 + 1;\n        FUN_000388e0(&local_34);\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_000388e0(&local_34);\n        } while (iVar15 != iVar11);\n        iVar16 = *(int *)(puVar10 + 2);\n      }\n      else {\n        iVar16 = iVar11 + 1;\n        while( true ) {\n          iVar11 = iVar11 + 1;\n          FUN_000388e0(&local_34);\n          if (iVar16 + (uint)bVar13 == iVar11) break;\n          if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n        }\n        iVar16 = *(int *)(puVar10 + 2);\n      }\n      bVar18 = iVar16 == iVar11;\n    } while (!bVar18 && iVar11 <= iVar16);\n  }\n  if (bVar18) {\n    if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0006c950(piVar20);\n    }\n    return puVar10;\n  }\nLAB_0003920f:\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("n == ldata->cols","terminal.c",800,"readrle");\nLAB_000391e8:\n  uVar14 = 0x319;\n  goto LAB_000391d0;\nLAB_000391c0:\n  local_28 = iVar5;\n  uVar14 = 0x30f;\nLAB_000391d0:\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("n < ldata->cols","terminal.c",uVar14,"readrle");\n}\n\n" comment (ERROR "undefined2 * __regparm3 FUN_00038c60(int param_1)" (binary_expression "undefined2 * __regparm3 FUN_00038c60(int param_1)" identifier * (ERROR "__regparm3" identifier) (call_expression "FUN_00038c60(int param_1)" identifier (argument_list "(int param_1)" ( (ERROR "int" identifier) identifier ))))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  byte bVar7;\n  byte bVar8;\n  char cVar9;\n  undefined2 *puVar10;\n  int iVar11;\n  undefined4 *puVar12;\n  byte bVar13;\n  uint uVar14;\n  int iVar15;\n  int iVar16;\n  uint uVar17;\n  int in_GS_OFFSET;\n  bool bVar18;\n  undefined4 *puVar19;\n  int *piVar20;\n  uint *local_68;\n  int local_40;\n  undefined4 local_34;\n  undefined4 local_30;\n  int local_2c;\n  int local_28;\n  int local_20;\n  \n  local_28 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar14 = 0;\n  do {\n    cVar9 = (char)local_28;\n    local_28 = local_28 + 1;\n    bVar13 = *(byte *)(param_1 + -1 + local_28);\n    uVar14 = uVar14 | (bVar13 & 0x7f) << (cVar9 * '\a' & 0x1fU);\n  } while ((char)bVar13 < '\0');\n  local_2c = param_1;\n  puVar10 = (undefined2 *)FUN_00030000(1,0x18);\n  iVar11 = FUN_00030000(uVar14,0xc);\n  *(uint *)(puVar10 + 4) = uVar14;\n  *(int *)(puVar10 + 10) = iVar11;\n  *(uint *)(puVar10 + 2) = uVar14;\n  *(undefined4 *)(puVar10 + 6) = 1;\n  *(undefined4 *)(puVar10 + 8) = 0;\n  if (0 < (int)uVar14) {\n    puVar12 = (undefined4 *)(iVar11 + 8);\n    puVar19 = puVar12 + uVar14 * 3;\n    do {\n      *puVar12 = 0;\n      puVar12 = puVar12 + 3;\n    } while (puVar19 != puVar12);\n  }\n  uVar17 = 0;\n  *puVar10 = 0;\n  bVar13 = 0;\n  do {\n    local_28 = local_28 + 1;\n    bVar7 = *(byte *)(local_2c + -1 + local_28);\n    bVar8 = bVar13 & 0x1f;\n    bVar13 = bVar13 + 7;\n    uVar17 = uVar17 | (bVar7 & 0x7f) << bVar8;\n    *puVar10 = (short)uVar17;\n  } while ((char)bVar7 < '\0');\n  local_30 = 0;\n  if ((int)uVar14 < 1) {\n    if (uVar14 != 0) goto LAB_0003920f;\n    local_40 = *(int *)(puVar10 + 2);\n  }\n  else {\n    iVar11 = 0;\n    puVar19 = &local_30;\n    do {\n      while( true ) {\n        iVar16 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        local_28 = iVar16;\n        if (-1 < (char)bVar13) break;\n        iVar15 = iVar11 + 1;\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        FUN_00037420(puVar19);\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_00037420(puVar19);\n        } while (iVar15 != iVar11);\n        local_40 = *(int *)(puVar10 + 2);\n        bVar18 = iVar11 == local_40;\n        if (local_40 <= iVar11) goto LAB_00038e55;\n      }\n      iVar16 = iVar11 + 1;\n      while( true ) {\n        iVar11 = iVar11 + 1;\n        FUN_00037420(puVar19);\n        if (iVar11 == iVar16 + (uint)bVar13) break;\n        if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n      }\n      local_40 = *(int *)(puVar10 + 2);\n      bVar18 = iVar11 == local_40;\n    } while (iVar11 < local_40);\nLAB_00038e55:\n    if (!bVar18) goto LAB_0003920f;\n    if (iVar11 < 1) {\n      iVar16 = 0;\n    }\n    else {\n      iVar16 = 0;\n      do {\n        iVar15 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        if ((char)bVar13 < '\0') {\n          iVar5 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391c0;\n          iVar1 = local_28 + 2;\n          iVar6 = iVar16 + -0x7e;\n          iVar2 = local_28 + 4;\n          iVar3 = local_28 + 3;\n          iVar4 = local_28 + 5;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          while( true ) {\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }\n        }\n        else {\n          local_28 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391e8;\n          iVar5 = iVar16 + 1;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          iVar16 = iVar5;\n          while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }\n        }\n      } while (iVar16 < iVar11);\n    }\n    if (iVar11 != iVar16) goto LAB_0003920f;\n  }\n  piVar20 = &local_2c;\n  iVar11 = 0;\n  local_34 = 0;\n  bVar18 = local_40 == 0;\n  if (0 < local_40) {\n    do {\n      iVar16 = local_28 + 1;\n      bVar13 = *(byte *)(local_2c + local_28);\n      local_28 = iVar16;\n      if ((char)bVar13 < '\0') {\n        iVar15 = iVar11 + 1;\n        FUN_000388e0(&local_34);\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_000388e0(&local_34);\n        } while (iVar15 != iVar11);\n        iVar16 = *(int *)(puVar10 + 2);\n      }\n      else {\n        iVar16 = iVar11 + 1;\n        while( true ) {\n          iVar11 = iVar11 + 1;\n          FUN_000388e0(&local_34);\n          if (iVar16 + (uint)bVar13 == iVar11) break;\n          if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n        }\n        iVar16 = *(int *)(puVar10 + 2);\n      }\n      bVar18 = iVar16 == iVar11;\n    } while (!bVar18 && iVar11 <= iVar16);\n  }\n  if (bVar18) {\n    if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0006c950(piVar20);\n    }\n    return puVar10;\n  }\nLAB_0003920f:\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("n == ldata->cols","terminal.c",800,"readrle");\nLAB_000391e8:\n  uVar14 = 0x319;\n  goto LAB_000391d0;\nLAB_000391c0:\n  local_28 = iVar5;\n  uVar14 = 0x30f;\nLAB_000391d0:\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("n < ldata->cols","terminal.c",uVar14,"readrle");\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "byte bVar7;" type_identifier identifier ;) (declaration "byte bVar8;" type_identifier identifier ;) (declaration "char cVar9;" primitive_type identifier ;) (declaration "undefined2 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "undefined4 *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "byte bVar13;" type_identifier identifier ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "uint uVar17;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar18;" primitive_type identifier ;) (declaration "undefined4 *puVar19;" type_identifier (pointer_declarator "*puVar19" * identifier) ;) (declaration "int *piVar20;" primitive_type (pointer_declarator "*piVar20" * identifier) ;) (declaration "uint *local_68;" type_identifier (pointer_declarator "*local_68" * identifier) ;) (declaration "int local_40;" primitive_type identifier ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "undefined4 local_30;" type_identifier identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (declaration "int local_28;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" 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) ))))) ;) (expression_statement "uVar14 = 0;" (assignment_expression "uVar14 = 0" identifier = number_literal) ;) (do_statement "do {\n    cVar9 = (char)local_28;\n    local_28 = local_28 + 1;\n    bVar13 = *(byte *)(param_1 + -1 + local_28);\n    uVar14 = uVar14 | (bVar13 & 0x7f) << (cVar9 * '\a' & 0x1fU);\n  } while ((char)bVar13 < '\0');" do (compound_statement "{\n    cVar9 = (char)local_28;\n    local_28 = local_28 + 1;\n    bVar13 = *(byte *)(param_1 + -1 + local_28);\n    uVar14 = uVar14 | (bVar13 & 0x7f) << (cVar9 * '\a' & 0x1fU);\n  }" { (expression_statement "cVar9 = (char)local_28;" (assignment_expression "cVar9 = (char)local_28" identifier = (cast_expression "(char)local_28" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "local_28 = local_28 + 1;" (assignment_expression "local_28 = local_28 + 1" identifier = (binary_expression "local_28 + 1" identifier + number_literal)) ;) (expression_statement "bVar13 = *(byte *)(param_1 + -1 + local_28);" (assignment_expression "bVar13 = *(byte *)(param_1 + -1 + local_28)" identifier = (pointer_expression "*(byte *)(param_1 + -1 + local_28)" * (cast_expression "(byte *)(param_1 + -1 + local_28)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -1 + local_28)" ( (binary_expression "param_1 + -1 + local_28" (binary_expression "param_1 + -1" identifier + number_literal) + identifier) ))))) ;) (expression_statement "uVar14 = uVar14 | (bVar13 & 0x7f) << (cVar9 * '\a' & 0x1fU);" (assignment_expression "uVar14 = uVar14 | (bVar13 & 0x7f) << (cVar9 * '\a' & 0x1fU)" identifier = (binary_expression "uVar14 | (bVar13 & 0x7f) << (cVar9 * '\a' & 0x1fU)" identifier | (binary_expression "(bVar13 & 0x7f) << (cVar9 * '\a' & 0x1fU)" (parenthesized_expression "(bVar13 & 0x7f)" ( (binary_expression "bVar13 & 0x7f" identifier & number_literal) )) << (parenthesized_expression "(cVar9 * '\a' & 0x1fU)" ( (binary_expression "cVar9 * '\a' & 0x1fU" (binary_expression "cVar9 * '\a'" identifier * (char_literal "'\a'" ' escape_sequence ')) & number_literal) ))))) ;) }) while (parenthesized_expression "((char)bVar13 < '\0')" ( (binary_expression "(char)bVar13 < '\0'" (cast_expression "(char)bVar13" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\0'" ' escape_sequence ')) )) ;) (expression_statement "local_2c = param_1;" (assignment_expression "local_2c = param_1" identifier = identifier) ;) (expression_statement "puVar10 = (undefined2 *)FUN_00030000(1,0x18);" (assignment_expression "puVar10 = (undefined2 *)FUN_00030000(1,0x18)" identifier = (cast_expression "(undefined2 *)FUN_00030000(1,0x18)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00030000(1,0x18)" identifier (argument_list "(1,0x18)" ( number_literal , number_literal ))))) ;) (expression_statement "iVar11 = FUN_00030000(uVar14,0xc);" (assignment_expression "iVar11 = FUN_00030000(uVar14,0xc)" identifier = (call_expression "FUN_00030000(uVar14,0xc)" identifier (argument_list "(uVar14,0xc)" ( identifier , number_literal )))) ;) (expression_statement "*(uint *)(puVar10 + 4) = uVar14;" (assignment_expression "*(uint *)(puVar10 + 4) = uVar14" (pointer_expression "*(uint *)(puVar10 + 4)" * (cast_expression "(uint *)(puVar10 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 4)" ( (binary_expression "puVar10 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar10 + 10) = iVar11;" (assignment_expression "*(int *)(puVar10 + 10) = iVar11" (pointer_expression "*(int *)(puVar10 + 10)" * (cast_expression "(int *)(puVar10 + 10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 10)" ( (binary_expression "puVar10 + 10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(puVar10 + 2) = uVar14;" (assignment_expression "*(uint *)(puVar10 + 2) = uVar14" (pointer_expression "*(uint *)(puVar10 + 2)" * (cast_expression "(uint *)(puVar10 + 2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 2)" ( (binary_expression "puVar10 + 2" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar10 + 6) = 1;" (assignment_expression "*(undefined4 *)(puVar10 + 6) = 1" (pointer_expression "*(undefined4 *)(puVar10 + 6)" * (cast_expression "(undefined4 *)(puVar10 + 6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 6)" ( (binary_expression "puVar10 + 6" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar10 + 8) = 0;" (assignment_expression "*(undefined4 *)(puVar10 + 8) = 0" (pointer_expression "*(undefined4 *)(puVar10 + 8)" * (cast_expression "(undefined4 *)(puVar10 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 8)" ( (binary_expression "puVar10 + 8" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (0 < (int)uVar14) {\n    puVar12 = (undefined4 *)(iVar11 + 8);\n    puVar19 = puVar12 + uVar14 * 3;\n    do {\n      *puVar12 = 0;\n      puVar12 = puVar12 + 3;\n    } while (puVar19 != puVar12);\n  }" if (parenthesized_expression "(0 < (int)uVar14)" ( (binary_expression "0 < (int)uVar14" number_literal < (cast_expression "(int)uVar14" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    puVar12 = (undefined4 *)(iVar11 + 8);\n    puVar19 = puVar12 + uVar14 * 3;\n    do {\n      *puVar12 = 0;\n      puVar12 = puVar12 + 3;\n    } while (puVar19 != puVar12);\n  }" { (expression_statement "puVar12 = (undefined4 *)(iVar11 + 8);" (assignment_expression "puVar12 = (undefined4 *)(iVar11 + 8)" identifier = (cast_expression "(undefined4 *)(iVar11 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 8)" ( (binary_expression "iVar11 + 8" identifier + number_literal) )))) ;) (expression_statement "puVar19 = puVar12 + uVar14 * 3;" (assignment_expression "puVar19 = puVar12 + uVar14 * 3" identifier = (binary_expression "puVar12 + uVar14 * 3" identifier + (binary_expression "uVar14 * 3" identifier * number_literal))) ;) (do_statement "do {\n      *puVar12 = 0;\n      puVar12 = puVar12 + 3;\n    } while (puVar19 != puVar12);" do (compound_statement "{\n      *puVar12 = 0;\n      puVar12 = puVar12 + 3;\n    }" { (expression_statement "*puVar12 = 0;" (assignment_expression "*puVar12 = 0" (pointer_expression "*puVar12" * identifier) = number_literal) ;) (expression_statement "puVar12 = puVar12 + 3;" (assignment_expression "puVar12 = puVar12 + 3" identifier = (binary_expression "puVar12 + 3" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar19 != puVar12)" ( (binary_expression "puVar19 != puVar12" identifier != identifier) )) ;) })) (expression_statement "uVar17 = 0;" (assignment_expression "uVar17 = 0" identifier = number_literal) ;) (expression_statement "*puVar10 = 0;" (assignment_expression "*puVar10 = 0" (pointer_expression "*puVar10" * identifier) = number_literal) ;) (expression_statement "bVar13 = 0;" (assignment_expression "bVar13 = 0" identifier = number_literal) ;) (do_statement "do {\n    local_28 = local_28 + 1;\n    bVar7 = *(byte *)(local_2c + -1 + local_28);\n    bVar8 = bVar13 & 0x1f;\n    bVar13 = bVar13 + 7;\n    uVar17 = uVar17 | (bVar7 & 0x7f) << bVar8;\n    *puVar10 = (short)uVar17;\n  } while ((char)bVar7 < '\0');" do (compound_statement "{\n    local_28 = local_28 + 1;\n    bVar7 = *(byte *)(local_2c + -1 + local_28);\n    bVar8 = bVar13 & 0x1f;\n    bVar13 = bVar13 + 7;\n    uVar17 = uVar17 | (bVar7 & 0x7f) << bVar8;\n    *puVar10 = (short)uVar17;\n  }" { (expression_statement "local_28 = local_28 + 1;" (assignment_expression "local_28 = local_28 + 1" identifier = (binary_expression "local_28 + 1" identifier + number_literal)) ;) (expression_statement "bVar7 = *(byte *)(local_2c + -1 + local_28);" (assignment_expression "bVar7 = *(byte *)(local_2c + -1 + local_28)" identifier = (pointer_expression "*(byte *)(local_2c + -1 + local_28)" * (cast_expression "(byte *)(local_2c + -1 + local_28)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_2c + -1 + local_28)" ( (binary_expression "local_2c + -1 + local_28" (binary_expression "local_2c + -1" identifier + number_literal) + identifier) ))))) ;) (expression_statement "bVar8 = bVar13 & 0x1f;" (assignment_expression "bVar8 = bVar13 & 0x1f" identifier = (binary_expression "bVar13 & 0x1f" identifier & number_literal)) ;) (expression_statement "bVar13 = bVar13 + 7;" (assignment_expression "bVar13 = bVar13 + 7" identifier = (binary_expression "bVar13 + 7" identifier + number_literal)) ;) (expression_statement "uVar17 = uVar17 | (bVar7 & 0x7f) << bVar8;" (assignment_expression "uVar17 = uVar17 | (bVar7 & 0x7f) << bVar8" identifier = (binary_expression "uVar17 | (bVar7 & 0x7f) << bVar8" identifier | (binary_expression "(bVar7 & 0x7f) << bVar8" (parenthesized_expression "(bVar7 & 0x7f)" ( (binary_expression "bVar7 & 0x7f" identifier & number_literal) )) << identifier))) ;) (expression_statement "*puVar10 = (short)uVar17;" (assignment_expression "*puVar10 = (short)uVar17" (pointer_expression "*puVar10" * identifier) = (cast_expression "(short)uVar17" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) }) while (parenthesized_expression "((char)bVar7 < '\0')" ( (binary_expression "(char)bVar7 < '\0'" (cast_expression "(char)bVar7" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\0'" ' escape_sequence ')) )) ;) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (if_statement "if ((int)uVar14 < 1) {\n    if (uVar14 != 0) goto LAB_0003920f;\n    local_40 = *(int *)(puVar10 + 2);\n  }\n  else {\n    iVar11 = 0;\n    puVar19 = &local_30;\n    do {\n      while( true ) {\n        iVar16 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        local_28 = iVar16;\n        if (-1 < (char)bVar13) break;\n        iVar15 = iVar11 + 1;\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        FUN_00037420(puVar19);\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_00037420(puVar19);\n        } while (iVar15 != iVar11);\n        local_40 = *(int *)(puVar10 + 2);\n        bVar18 = iVar11 == local_40;\n        if (local_40 <= iVar11) goto LAB_00038e55;\n      }\n      iVar16 = iVar11 + 1;\n      while( true ) {\n        iVar11 = iVar11 + 1;\n        FUN_00037420(puVar19);\n        if (iVar11 == iVar16 + (uint)bVar13) break;\n        if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n      }\n      local_40 = *(int *)(puVar10 + 2);\n      bVar18 = iVar11 == local_40;\n    } while (iVar11 < local_40);\nLAB_00038e55:\n    if (!bVar18) goto LAB_0003920f;\n    if (iVar11 < 1) {\n      iVar16 = 0;\n    }\n    else {\n      iVar16 = 0;\n      do {\n        iVar15 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        if ((char)bVar13 < '\0') {\n          iVar5 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391c0;\n          iVar1 = local_28 + 2;\n          iVar6 = iVar16 + -0x7e;\n          iVar2 = local_28 + 4;\n          iVar3 = local_28 + 3;\n          iVar4 = local_28 + 5;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          while( true ) {\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }\n        }\n        else {\n          local_28 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391e8;\n          iVar5 = iVar16 + 1;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          iVar16 = iVar5;\n          while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }\n        }\n      } while (iVar16 < iVar11);\n    }\n    if (iVar11 != iVar16) goto LAB_0003920f;\n  }" if (parenthesized_expression "((int)uVar14 < 1)" ( (binary_expression "(int)uVar14 < 1" (cast_expression "(int)uVar14" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    if (uVar14 != 0) goto LAB_0003920f;\n    local_40 = *(int *)(puVar10 + 2);\n  }" { (if_statement "if (uVar14 != 0) goto LAB_0003920f;" if (parenthesized_expression "(uVar14 != 0)" ( (binary_expression "uVar14 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0003920f;" goto statement_identifier ;)) (expression_statement "local_40 = *(int *)(puVar10 + 2);" (assignment_expression "local_40 = *(int *)(puVar10 + 2)" identifier = (pointer_expression "*(int *)(puVar10 + 2)" * (cast_expression "(int *)(puVar10 + 2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 2)" ( (binary_expression "puVar10 + 2" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    iVar11 = 0;\n    puVar19 = &local_30;\n    do {\n      while( true ) {\n        iVar16 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        local_28 = iVar16;\n        if (-1 < (char)bVar13) break;\n        iVar15 = iVar11 + 1;\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        FUN_00037420(puVar19);\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_00037420(puVar19);\n        } while (iVar15 != iVar11);\n        local_40 = *(int *)(puVar10 + 2);\n        bVar18 = iVar11 == local_40;\n        if (local_40 <= iVar11) goto LAB_00038e55;\n      }\n      iVar16 = iVar11 + 1;\n      while( true ) {\n        iVar11 = iVar11 + 1;\n        FUN_00037420(puVar19);\n        if (iVar11 == iVar16 + (uint)bVar13) break;\n        if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n      }\n      local_40 = *(int *)(puVar10 + 2);\n      bVar18 = iVar11 == local_40;\n    } while (iVar11 < local_40);\nLAB_00038e55:\n    if (!bVar18) goto LAB_0003920f;\n    if (iVar11 < 1) {\n      iVar16 = 0;\n    }\n    else {\n      iVar16 = 0;\n      do {\n        iVar15 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        if ((char)bVar13 < '\0') {\n          iVar5 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391c0;\n          iVar1 = local_28 + 2;\n          iVar6 = iVar16 + -0x7e;\n          iVar2 = local_28 + 4;\n          iVar3 = local_28 + 3;\n          iVar4 = local_28 + 5;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          while( true ) {\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }\n        }\n        else {\n          local_28 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391e8;\n          iVar5 = iVar16 + 1;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          iVar16 = iVar5;\n          while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }\n        }\n      } while (iVar16 < iVar11);\n    }\n    if (iVar11 != iVar16) goto LAB_0003920f;\n  }" else (compound_statement "{\n    iVar11 = 0;\n    puVar19 = &local_30;\n    do {\n      while( true ) {\n        iVar16 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        local_28 = iVar16;\n        if (-1 < (char)bVar13) break;\n        iVar15 = iVar11 + 1;\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        FUN_00037420(puVar19);\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_00037420(puVar19);\n        } while (iVar15 != iVar11);\n        local_40 = *(int *)(puVar10 + 2);\n        bVar18 = iVar11 == local_40;\n        if (local_40 <= iVar11) goto LAB_00038e55;\n      }\n      iVar16 = iVar11 + 1;\n      while( true ) {\n        iVar11 = iVar11 + 1;\n        FUN_00037420(puVar19);\n        if (iVar11 == iVar16 + (uint)bVar13) break;\n        if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n      }\n      local_40 = *(int *)(puVar10 + 2);\n      bVar18 = iVar11 == local_40;\n    } while (iVar11 < local_40);\nLAB_00038e55:\n    if (!bVar18) goto LAB_0003920f;\n    if (iVar11 < 1) {\n      iVar16 = 0;\n    }\n    else {\n      iVar16 = 0;\n      do {\n        iVar15 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        if ((char)bVar13 < '\0') {\n          iVar5 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391c0;\n          iVar1 = local_28 + 2;\n          iVar6 = iVar16 + -0x7e;\n          iVar2 = local_28 + 4;\n          iVar3 = local_28 + 3;\n          iVar4 = local_28 + 5;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          while( true ) {\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }\n        }\n        else {\n          local_28 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391e8;\n          iVar5 = iVar16 + 1;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          iVar16 = iVar5;\n          while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }\n        }\n      } while (iVar16 < iVar11);\n    }\n    if (iVar11 != iVar16) goto LAB_0003920f;\n  }" { (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (expression_statement "puVar19 = &local_30;" (assignment_expression "puVar19 = &local_30" identifier = (pointer_expression "&local_30" & identifier)) ;) (do_statement "do {\n      while( true ) {\n        iVar16 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        local_28 = iVar16;\n        if (-1 < (char)bVar13) break;\n        iVar15 = iVar11 + 1;\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        FUN_00037420(puVar19);\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_00037420(puVar19);\n        } while (iVar15 != iVar11);\n        local_40 = *(int *)(puVar10 + 2);\n        bVar18 = iVar11 == local_40;\n        if (local_40 <= iVar11) goto LAB_00038e55;\n      }\n      iVar16 = iVar11 + 1;\n      while( true ) {\n        iVar11 = iVar11 + 1;\n        FUN_00037420(puVar19);\n        if (iVar11 == iVar16 + (uint)bVar13) break;\n        if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n      }\n      local_40 = *(int *)(puVar10 + 2);\n      bVar18 = iVar11 == local_40;\n    } while (iVar11 < local_40);" do (compound_statement "{\n      while( true ) {\n        iVar16 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        local_28 = iVar16;\n        if (-1 < (char)bVar13) break;\n        iVar15 = iVar11 + 1;\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        FUN_00037420(puVar19);\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_00037420(puVar19);\n        } while (iVar15 != iVar11);\n        local_40 = *(int *)(puVar10 + 2);\n        bVar18 = iVar11 == local_40;\n        if (local_40 <= iVar11) goto LAB_00038e55;\n      }\n      iVar16 = iVar11 + 1;\n      while( true ) {\n        iVar11 = iVar11 + 1;\n        FUN_00037420(puVar19);\n        if (iVar11 == iVar16 + (uint)bVar13) break;\n        if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n      }\n      local_40 = *(int *)(puVar10 + 2);\n      bVar18 = iVar11 == local_40;\n    }" { (while_statement "while( true ) {\n        iVar16 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        local_28 = iVar16;\n        if (-1 < (char)bVar13) break;\n        iVar15 = iVar11 + 1;\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        FUN_00037420(puVar19);\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_00037420(puVar19);\n        } while (iVar15 != iVar11);\n        local_40 = *(int *)(puVar10 + 2);\n        bVar18 = iVar11 == local_40;\n        if (local_40 <= iVar11) goto LAB_00038e55;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        iVar16 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        local_28 = iVar16;\n        if (-1 < (char)bVar13) break;\n        iVar15 = iVar11 + 1;\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        FUN_00037420(puVar19);\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_00037420(puVar19);\n        } while (iVar15 != iVar11);\n        local_40 = *(int *)(puVar10 + 2);\n        bVar18 = iVar11 == local_40;\n        if (local_40 <= iVar11) goto LAB_00038e55;\n      }" { (expression_statement "iVar16 = local_28 + 1;" (assignment_expression "iVar16 = local_28 + 1" identifier = (binary_expression "local_28 + 1" identifier + number_literal)) ;) (expression_statement "bVar13 = *(byte *)(local_2c + local_28);" (assignment_expression "bVar13 = *(byte *)(local_2c + local_28)" identifier = (pointer_expression "*(byte *)(local_2c + local_28)" * (cast_expression "(byte *)(local_2c + local_28)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_2c + local_28)" ( (binary_expression "local_2c + local_28" identifier + identifier) ))))) ;) (expression_statement "local_28 = iVar16;" (assignment_expression "local_28 = iVar16" identifier = identifier) ;) (if_statement "if (-1 < (char)bVar13) break;" if (parenthesized_expression "(-1 < (char)bVar13)" ( (binary_expression "-1 < (char)bVar13" number_literal < (cast_expression "(char)bVar13" ( (type_descriptor "char" primitive_type) ) identifier)) )) (break_statement "break;" break ;)) (expression_statement "iVar15 = iVar11 + 1;" (assignment_expression "iVar15 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) (expression_statement "iVar11 = iVar11 + -0x7e + (uint)bVar13;" (assignment_expression "iVar11 = iVar11 + -0x7e + (uint)bVar13" identifier = (binary_expression "iVar11 + -0x7e + (uint)bVar13" (binary_expression "iVar11 + -0x7e" identifier + number_literal) + (cast_expression "(uint)bVar13" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (expression_statement "FUN_00037420(puVar19);" (call_expression "FUN_00037420(puVar19)" identifier (argument_list "(puVar19)" ( identifier ))) ;) (do_statement "do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_00037420(puVar19);\n        } while (iVar15 != iVar11);" do (compound_statement "{\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_00037420(puVar19);\n        }" { (expression_statement "iVar5 = local_28;" (assignment_expression "iVar5 = local_28" identifier = identifier) ;) (if_statement "if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;" if (parenthesized_expression "(*(int *)(puVar10 + 2) <= iVar15)" ( (binary_expression "*(int *)(puVar10 + 2) <= iVar15" (pointer_expression "*(int *)(puVar10 + 2)" * (cast_expression "(int *)(puVar10 + 2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 2)" ( (binary_expression "puVar10 + 2" identifier + number_literal) )))) <= identifier) )) (goto_statement "goto LAB_000391c0;" goto statement_identifier ;)) (expression_statement "iVar15 = iVar15 + 1;" (assignment_expression "iVar15 = iVar15 + 1" identifier = (binary_expression "iVar15 + 1" identifier + number_literal)) ;) (expression_statement "local_28 = iVar16;" (assignment_expression "local_28 = iVar16" identifier = identifier) ;) (expression_statement "FUN_00037420(puVar19);" (call_expression "FUN_00037420(puVar19)" identifier (argument_list "(puVar19)" ( identifier ))) ;) }) while (parenthesized_expression "(iVar15 != iVar11)" ( (binary_expression "iVar15 != iVar11" identifier != identifier) )) ;) (expression_statement "local_40 = *(int *)(puVar10 + 2);" (assignment_expression "local_40 = *(int *)(puVar10 + 2)" identifier = (pointer_expression "*(int *)(puVar10 + 2)" * (cast_expression "(int *)(puVar10 + 2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 2)" ( (binary_expression "puVar10 + 2" identifier + number_literal) ))))) ;) (expression_statement "bVar18 = iVar11 == local_40;" (assignment_expression "bVar18 = iVar11 == local_40" identifier = (binary_expression "iVar11 == local_40" identifier == identifier)) ;) (if_statement "if (local_40 <= iVar11) goto LAB_00038e55;" if (parenthesized_expression "(local_40 <= iVar11)" ( (binary_expression "local_40 <= iVar11" identifier <= identifier) )) (goto_statement "goto LAB_00038e55;" goto statement_identifier ;)) })) (expression_statement "iVar16 = iVar11 + 1;" (assignment_expression "iVar16 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) (while_statement "while( true ) {\n        iVar11 = iVar11 + 1;\n        FUN_00037420(puVar19);\n        if (iVar11 == iVar16 + (uint)bVar13) break;\n        if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        iVar11 = iVar11 + 1;\n        FUN_00037420(puVar19);\n        if (iVar11 == iVar16 + (uint)bVar13) break;\n        if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n      }" { (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) (expression_statement "FUN_00037420(puVar19);" (call_expression "FUN_00037420(puVar19)" identifier (argument_list "(puVar19)" ( identifier ))) ;) (if_statement "if (iVar11 == iVar16 + (uint)bVar13) break;" if (parenthesized_expression "(iVar11 == iVar16 + (uint)bVar13)" ( (binary_expression "iVar11 == iVar16 + (uint)bVar13" identifier == (binary_expression "iVar16 + (uint)bVar13" identifier + (cast_expression "(uint)bVar13" ( (type_descriptor "uint" type_identifier) ) identifier))) )) (break_statement "break;" break ;)) (if_statement "if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;" if (parenthesized_expression "(*(int *)(puVar10 + 2) <= iVar11)" ( (binary_expression "*(int *)(puVar10 + 2) <= iVar11" (pointer_expression "*(int *)(puVar10 + 2)" * (cast_expression "(int *)(puVar10 + 2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 2)" ( (binary_expression "puVar10 + 2" identifier + number_literal) )))) <= identifier) )) (goto_statement "goto LAB_000391e8;" goto statement_identifier ;)) })) (expression_statement "local_40 = *(int *)(puVar10 + 2);" (assignment_expression "local_40 = *(int *)(puVar10 + 2)" identifier = (pointer_expression "*(int *)(puVar10 + 2)" * (cast_expression "(int *)(puVar10 + 2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 2)" ( (binary_expression "puVar10 + 2" identifier + number_literal) ))))) ;) (expression_statement "bVar18 = iVar11 == local_40;" (assignment_expression "bVar18 = iVar11 == local_40" identifier = (binary_expression "iVar11 == local_40" identifier == identifier)) ;) }) while (parenthesized_expression "(iVar11 < local_40)" ( (binary_expression "iVar11 < local_40" identifier < identifier) )) ;) (labeled_statement "LAB_00038e55:\n    if (!bVar18) goto LAB_0003920f;" statement_identifier : (if_statement "if (!bVar18) goto LAB_0003920f;" if (parenthesized_expression "(!bVar18)" ( (unary_expression "!bVar18" ! identifier) )) (goto_statement "goto LAB_0003920f;" goto statement_identifier ;))) (if_statement "if (iVar11 < 1) {\n      iVar16 = 0;\n    }\n    else {\n      iVar16 = 0;\n      do {\n        iVar15 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        if ((char)bVar13 < '\0') {\n          iVar5 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391c0;\n          iVar1 = local_28 + 2;\n          iVar6 = iVar16 + -0x7e;\n          iVar2 = local_28 + 4;\n          iVar3 = local_28 + 3;\n          iVar4 = local_28 + 5;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          while( true ) {\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }\n        }\n        else {\n          local_28 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391e8;\n          iVar5 = iVar16 + 1;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          iVar16 = iVar5;\n          while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }\n        }\n      } while (iVar16 < iVar11);\n    }" if (parenthesized_expression "(iVar11 < 1)" ( (binary_expression "iVar11 < 1" identifier < number_literal) )) (compound_statement "{\n      iVar16 = 0;\n    }" { (expression_statement "iVar16 = 0;" (assignment_expression "iVar16 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      iVar16 = 0;\n      do {\n        iVar15 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        if ((char)bVar13 < '\0') {\n          iVar5 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391c0;\n          iVar1 = local_28 + 2;\n          iVar6 = iVar16 + -0x7e;\n          iVar2 = local_28 + 4;\n          iVar3 = local_28 + 3;\n          iVar4 = local_28 + 5;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          while( true ) {\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }\n        }\n        else {\n          local_28 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391e8;\n          iVar5 = iVar16 + 1;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          iVar16 = iVar5;\n          while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }\n        }\n      } while (iVar16 < iVar11);\n    }" else (compound_statement "{\n      iVar16 = 0;\n      do {\n        iVar15 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        if ((char)bVar13 < '\0') {\n          iVar5 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391c0;\n          iVar1 = local_28 + 2;\n          iVar6 = iVar16 + -0x7e;\n          iVar2 = local_28 + 4;\n          iVar3 = local_28 + 3;\n          iVar4 = local_28 + 5;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          while( true ) {\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }\n        }\n        else {\n          local_28 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391e8;\n          iVar5 = iVar16 + 1;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          iVar16 = iVar5;\n          while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }\n        }\n      } while (iVar16 < iVar11);\n    }" { (expression_statement "iVar16 = 0;" (assignment_expression "iVar16 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar15 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        if ((char)bVar13 < '\0') {\n          iVar5 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391c0;\n          iVar1 = local_28 + 2;\n          iVar6 = iVar16 + -0x7e;\n          iVar2 = local_28 + 4;\n          iVar3 = local_28 + 3;\n          iVar4 = local_28 + 5;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          while( true ) {\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }\n        }\n        else {\n          local_28 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391e8;\n          iVar5 = iVar16 + 1;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          iVar16 = iVar5;\n          while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }\n        }\n      } while (iVar16 < iVar11);" do (compound_statement "{\n        iVar15 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        if ((char)bVar13 < '\0') {\n          iVar5 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391c0;\n          iVar1 = local_28 + 2;\n          iVar6 = iVar16 + -0x7e;\n          iVar2 = local_28 + 4;\n          iVar3 = local_28 + 3;\n          iVar4 = local_28 + 5;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          while( true ) {\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }\n        }\n        else {\n          local_28 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391e8;\n          iVar5 = iVar16 + 1;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          iVar16 = iVar5;\n          while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }\n        }\n      }" { (expression_statement "iVar15 = local_28 + 1;" (assignment_expression "iVar15 = local_28 + 1" identifier = (binary_expression "local_28 + 1" identifier + number_literal)) ;) (expression_statement "bVar13 = *(byte *)(local_2c + local_28);" (assignment_expression "bVar13 = *(byte *)(local_2c + local_28)" identifier = (pointer_expression "*(byte *)(local_2c + local_28)" * (cast_expression "(byte *)(local_2c + local_28)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_2c + local_28)" ( (binary_expression "local_2c + local_28" identifier + identifier) ))))) ;) (if_statement "if ((char)bVar13 < '\0') {\n          iVar5 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391c0;\n          iVar1 = local_28 + 2;\n          iVar6 = iVar16 + -0x7e;\n          iVar2 = local_28 + 4;\n          iVar3 = local_28 + 3;\n          iVar4 = local_28 + 5;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          while( true ) {\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }\n        }\n        else {\n          local_28 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391e8;\n          iVar5 = iVar16 + 1;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          iVar16 = iVar5;\n          while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }\n        }" if (parenthesized_expression "((char)bVar13 < '\0')" ( (binary_expression "(char)bVar13 < '\0'" (cast_expression "(char)bVar13" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar5 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391c0;\n          iVar1 = local_28 + 2;\n          iVar6 = iVar16 + -0x7e;\n          iVar2 = local_28 + 4;\n          iVar3 = local_28 + 3;\n          iVar4 = local_28 + 5;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          while( true ) {\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }\n        }" { (expression_statement "iVar5 = iVar15;" (assignment_expression "iVar5 = iVar15" identifier = identifier) ;) (if_statement "if (iVar11 <= iVar16) goto LAB_000391c0;" if (parenthesized_expression "(iVar11 <= iVar16)" ( (binary_expression "iVar11 <= iVar16" identifier <= identifier) )) (goto_statement "goto LAB_000391c0;" goto statement_identifier ;)) (expression_statement "iVar1 = local_28 + 2;" (assignment_expression "iVar1 = local_28 + 2" identifier = (binary_expression "local_28 + 2" identifier + number_literal)) ;) (expression_statement "iVar6 = iVar16 + -0x7e;" (assignment_expression "iVar6 = iVar16 + -0x7e" identifier = (binary_expression "iVar16 + -0x7e" identifier + number_literal)) ;) (expression_statement "iVar2 = local_28 + 4;" (assignment_expression "iVar2 = local_28 + 4" identifier = (binary_expression "local_28 + 4" identifier + number_literal)) ;) (expression_statement "iVar3 = local_28 + 3;" (assignment_expression "iVar3 = local_28 + 3" identifier = (binary_expression "local_28 + 3" identifier + number_literal)) ;) (expression_statement "iVar4 = local_28 + 5;" (assignment_expression "iVar4 = local_28 + 5" identifier = (binary_expression "local_28 + 5" identifier + number_literal)) ;) (expression_statement "local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);" (assignment_expression "local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc)" identifier = (cast_expression "(uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc)" ( (binary_expression "*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc" (binary_expression "*(int *)(puVar10 + 10) + 4" (pointer_expression "*(int *)(puVar10 + 10)" * (cast_expression "(int *)(puVar10 + 10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 10)" ( (binary_expression "puVar10 + 10" identifier + number_literal) )))) + number_literal) + (binary_expression "iVar16 * 0xc" identifier * number_literal)) )))) ;) (while_statement "while( true ) {\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }" { (expression_statement "uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));" (assignment_expression "uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c))" identifier = (cast_expression "(uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c))" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c))" identifier (argument_list "(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c))" ( (pointer_expression "*(undefined1 *)(local_2c + iVar15)" * (cast_expression "(undefined1 *)(local_2c + iVar15)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_2c + iVar15)" ( (binary_expression "local_2c + iVar15" identifier + identifier) )))) , (pointer_expression "*(undefined1 *)(iVar1 + local_2c)" * (cast_expression "(undefined1 *)(iVar1 + local_2c)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + local_2c)" ( (binary_expression "iVar1 + local_2c" identifier + identifier) )))) ))))) ;) (expression_statement "local_28 = iVar3;" (assignment_expression "local_28 = iVar3" identifier = identifier) ;) (if_statement "if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }" if (parenthesized_expression "(0x7fff < uVar14)" ( (binary_expression "0x7fff < uVar14" number_literal < identifier) )) (compound_statement "{\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }" { (expression_statement "uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));" (assignment_expression "uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2))" identifier = (binary_expression "(uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2))" (binary_expression "(uVar14 & 0x7fff) << 0x10" (parenthesized_expression "(uVar14 & 0x7fff)" ( (binary_expression "uVar14 & 0x7fff" identifier & number_literal) )) << number_literal) | (cast_expression "(uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2))" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2))" identifier (argument_list "(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2))" ( (pointer_expression "*(undefined1 *)(local_2c + iVar3)" * (cast_expression "(undefined1 *)(local_2c + iVar3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_2c + iVar3)" ( (binary_expression "local_2c + iVar3" identifier + identifier) )))) , (pointer_expression "*(undefined1 *)(local_2c + iVar2)" * (cast_expression "(undefined1 *)(local_2c + iVar2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_2c + iVar2)" ( (binary_expression "local_2c + iVar2" identifier + identifier) )))) )))))) ;) (expression_statement "local_28 = iVar4;" (assignment_expression "local_28 = iVar4" identifier = identifier) ;) })) (expression_statement "iVar16 = iVar16 + 1;" (assignment_expression "iVar16 = iVar16 + 1" identifier = (binary_expression "iVar16 + 1" identifier + number_literal)) ;) (expression_statement "*local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;" (assignment_expression "*local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11" (pointer_expression "*local_68" * identifier) = (binary_expression "(uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11" (binary_expression "(uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf" (binary_expression "(uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00" (binary_expression "(uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0" (binary_expression "(uVar14 >> 0x1b) << 0xd" (parenthesized_expression "(uVar14 >> 0x1b)" ( (binary_expression "uVar14 >> 0x1b" identifier >> number_literal) )) << number_literal) | (binary_expression "uVar14 >> 0x13 & 0xf0" (binary_expression "uVar14 >> 0x13" identifier >> number_literal) & number_literal)) | (binary_expression "uVar14 << 4 & 0x1f00" (binary_expression "uVar14 << 4" identifier << number_literal) & number_literal)) | (binary_expression "uVar14 & 0xf" identifier & number_literal)) | (binary_expression "((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11" (parenthesized_expression "((uVar14 << 4 & 0x7ffff00) >> 0xd)" ( (binary_expression "(uVar14 << 4 & 0x7ffff00) >> 0xd" (parenthesized_expression "(uVar14 << 4 & 0x7ffff00)" ( (binary_expression "uVar14 << 4 & 0x7ffff00" (binary_expression "uVar14 << 4" identifier << number_literal) & number_literal) )) >> number_literal) )) << number_literal))) ;) (if_statement "if (iVar16 == iVar6 + (uint)bVar13) break;" if (parenthesized_expression "(iVar16 == iVar6 + (uint)bVar13)" ( (binary_expression "iVar16 == iVar6 + (uint)bVar13" identifier == (binary_expression "iVar6 + (uint)bVar13" identifier + (cast_expression "(uint)bVar13" ( (type_descriptor "uint" type_identifier) ) identifier))) )) (break_statement "break;" break ;)) (expression_statement "local_68 = local_68 + 3;" (assignment_expression "local_68 = local_68 + 3" identifier = (binary_expression "local_68 + 3" identifier + number_literal)) ;) (expression_statement "iVar5 = local_28;" (assignment_expression "iVar5 = local_28" identifier = identifier) ;) (if_statement "if (iVar16 == iVar11) goto LAB_000391c0;" if (parenthesized_expression "(iVar16 == iVar11)" ( (binary_expression "iVar16 == iVar11" identifier == identifier) )) (goto_statement "goto LAB_000391c0;" goto statement_identifier ;)) })) }) (else_clause "else {\n          local_28 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391e8;\n          iVar5 = iVar16 + 1;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          iVar16 = iVar5;\n          while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }\n        }" else (compound_statement "{\n          local_28 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391e8;\n          iVar5 = iVar16 + 1;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          iVar16 = iVar5;\n          while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }\n        }" { (expression_statement "local_28 = iVar15;" (assignment_expression "local_28 = iVar15" identifier = identifier) ;) (if_statement "if (iVar11 <= iVar16) goto LAB_000391e8;" if (parenthesized_expression "(iVar11 <= iVar16)" ( (binary_expression "iVar11 <= iVar16" identifier <= identifier) )) (goto_statement "goto LAB_000391e8;" goto statement_identifier ;)) (expression_statement "iVar5 = iVar16 + 1;" (assignment_expression "iVar5 = iVar16 + 1" identifier = (binary_expression "iVar16 + 1" identifier + number_literal)) ;) (expression_statement "local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);" (assignment_expression "local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc)" identifier = (cast_expression "(uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc)" ( (binary_expression "*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc" (binary_expression "*(int *)(puVar10 + 10) + 4" (pointer_expression "*(int *)(puVar10 + 10)" * (cast_expression "(int *)(puVar10 + 10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 10)" ( (binary_expression "puVar10 + 10" identifier + number_literal) )))) + number_literal) + (binary_expression "iVar16 * 0xc" identifier * number_literal)) )))) ;) (expression_statement "iVar16 = iVar5;" (assignment_expression "iVar16 = iVar5" identifier = identifier) ;) (while_statement "while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }" { (expression_statement "local_28 = iVar15 + 2;" (assignment_expression "local_28 = iVar15 + 2" identifier = (binary_expression "iVar15 + 2" identifier + number_literal)) ;) (expression_statement "uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));" (assignment_expression "uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15))" identifier = (cast_expression "(uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15))" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15))" identifier (argument_list "(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15))" ( (pointer_expression "*(undefined1 *)(local_2c + iVar15)" * (cast_expression "(undefined1 *)(local_2c + iVar15)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_2c + iVar15)" ( (binary_expression "local_2c + iVar15" identifier + identifier) )))) , (pointer_expression "*(undefined1 *)(local_2c + 1 + iVar15)" * (cast_expression "(undefined1 *)(local_2c + 1 + iVar15)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_2c + 1 + iVar15)" ( (binary_expression "local_2c + 1 + iVar15" (binary_expression "local_2c + 1" identifier + number_literal) + identifier) )))) ))))) ;) (if_statement "if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }" if (parenthesized_expression "(0x7fff < uVar14)" ( (binary_expression "0x7fff < uVar14" number_literal < identifier) )) (compound_statement "{\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }" { (expression_statement "local_28 = iVar15 + 4;" (assignment_expression "local_28 = iVar15 + 4" identifier = (binary_expression "iVar15 + 4" identifier + number_literal)) ;) (expression_statement "uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));" (assignment_expression "uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3))" identifier = (binary_expression "(uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3))" (binary_expression "(uVar14 & 0x7fff) << 0x10" (parenthesized_expression "(uVar14 & 0x7fff)" ( (binary_expression "uVar14 & 0x7fff" identifier & number_literal) )) << number_literal) | (cast_expression "(uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3))" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3))" identifier (argument_list "(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3))" ( (pointer_expression "*(undefined1 *)(local_2c + 2 + iVar15)" * (cast_expression "(undefined1 *)(local_2c + 2 + iVar15)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_2c + 2 + iVar15)" ( (binary_expression "local_2c + 2 + iVar15" (binary_expression "local_2c + 2" identifier + number_literal) + identifier) )))) , (pointer_expression "*(undefined1 *)(local_2c + iVar15 + 3)" * (cast_expression "(undefined1 *)(local_2c + iVar15 + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_2c + iVar15 + 3)" ( (binary_expression "local_2c + iVar15 + 3" (binary_expression "local_2c + iVar15" identifier + identifier) + number_literal) )))) )))))) ;) })) (expression_statement "*local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;" (assignment_expression "*local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf" (pointer_expression "*local_68" * identifier) = (binary_expression "((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf" (binary_expression "((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00" (binary_expression "((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0" (binary_expression "((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd" (binary_expression "((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11" (parenthesized_expression "((uVar14 << 4 & 0x7ffff00) >> 0xd)" ( (binary_expression "(uVar14 << 4 & 0x7ffff00) >> 0xd" (parenthesized_expression "(uVar14 << 4 & 0x7ffff00)" ( (binary_expression "uVar14 << 4 & 0x7ffff00" (binary_expression "uVar14 << 4" identifier << number_literal) & number_literal) )) >> number_literal) )) << number_literal) | (binary_expression "(uVar14 >> 0x1b) << 0xd" (parenthesized_expression "(uVar14 >> 0x1b)" ( (binary_expression "uVar14 >> 0x1b" identifier >> number_literal) )) << number_literal)) | (binary_expression "uVar14 >> 0x13 & 0xf0" (binary_expression "uVar14 >> 0x13" identifier >> number_literal) & number_literal)) | (binary_expression "uVar14 << 4 & 0x1f00" (binary_expression "uVar14 << 4" identifier << number_literal) & number_literal)) | (binary_expression "uVar14 & 0xf" identifier & number_literal))) ;) (if_statement "if ((uint)bVar13 + iVar5 == iVar16) break;" if (parenthesized_expression "((uint)bVar13 + iVar5 == iVar16)" ( (binary_expression "(uint)bVar13 + iVar5 == iVar16" (binary_expression "(uint)bVar13 + iVar5" (cast_expression "(uint)bVar13" ( (type_descriptor "uint" type_identifier) ) identifier) + identifier) == identifier) )) (break_statement "break;" break ;)) (expression_statement "local_68 = local_68 + 3;" (assignment_expression "local_68 = local_68 + 3" identifier = (binary_expression "local_68 + 3" identifier + number_literal)) ;) (expression_statement "bVar18 = iVar11 == iVar16;" (assignment_expression "bVar18 = iVar11 == iVar16" identifier = (binary_expression "iVar11 == iVar16" identifier == identifier)) ;) (expression_statement "iVar15 = local_28;" (assignment_expression "iVar15 = local_28" identifier = identifier) ;) (expression_statement "iVar16 = iVar16 + 1;" (assignment_expression "iVar16 = iVar16 + 1" identifier = (binary_expression "iVar16 + 1" identifier + number_literal)) ;) (if_statement "if (bVar18) goto LAB_000391e8;" if (parenthesized_expression "(bVar18)" ( identifier )) (goto_statement "goto LAB_000391e8;" goto statement_identifier ;)) })) }))) }) while (parenthesized_expression "(iVar16 < iVar11)" ( (binary_expression "iVar16 < iVar11" identifier < identifier) )) ;) }))) (if_statement "if (iVar11 != iVar16) goto LAB_0003920f;" if (parenthesized_expression "(iVar11 != iVar16)" ( (binary_expression "iVar11 != iVar16" identifier != identifier) )) (goto_statement "goto LAB_0003920f;" goto statement_identifier ;)) }))) (expression_statement "piVar20 = &local_2c;" (assignment_expression "piVar20 = &local_2c" identifier = (pointer_expression "&local_2c" & identifier)) ;) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "bVar18 = local_40 == 0;" (assignment_expression "bVar18 = local_40 == 0" identifier = (binary_expression "local_40 == 0" identifier == number_literal)) ;) (if_statement "if (0 < local_40) {\n    do {\n      iVar16 = local_28 + 1;\n      bVar13 = *(byte *)(local_2c + local_28);\n      local_28 = iVar16;\n      if ((char)bVar13 < '\0') {\n        iVar15 = iVar11 + 1;\n        FUN_000388e0(&local_34);\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_000388e0(&local_34);\n        } while (iVar15 != iVar11);\n        iVar16 = *(int *)(puVar10 + 2);\n      }\n      else {\n        iVar16 = iVar11 + 1;\n        while( true ) {\n          iVar11 = iVar11 + 1;\n          FUN_000388e0(&local_34);\n          if (iVar16 + (uint)bVar13 == iVar11) break;\n          if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n        }\n        iVar16 = *(int *)(puVar10 + 2);\n      }\n      bVar18 = iVar16 == iVar11;\n    } while (!bVar18 && iVar11 <= iVar16);\n  }" if (parenthesized_expression "(0 < local_40)" ( (binary_expression "0 < local_40" number_literal < identifier) )) (compound_statement "{\n    do {\n      iVar16 = local_28 + 1;\n      bVar13 = *(byte *)(local_2c + local_28);\n      local_28 = iVar16;\n      if ((char)bVar13 < '\0') {\n        iVar15 = iVar11 + 1;\n        FUN_000388e0(&local_34);\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_000388e0(&local_34);\n        } while (iVar15 != iVar11);\n        iVar16 = *(int *)(puVar10 + 2);\n      }\n      else {\n        iVar16 = iVar11 + 1;\n        while( true ) {\n          iVar11 = iVar11 + 1;\n          FUN_000388e0(&local_34);\n          if (iVar16 + (uint)bVar13 == iVar11) break;\n          if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n        }\n        iVar16 = *(int *)(puVar10 + 2);\n      }\n      bVar18 = iVar16 == iVar11;\n    } while (!bVar18 && iVar11 <= iVar16);\n  }" { (do_statement "do {\n      iVar16 = local_28 + 1;\n      bVar13 = *(byte *)(local_2c + local_28);\n      local_28 = iVar16;\n      if ((char)bVar13 < '\0') {\n        iVar15 = iVar11 + 1;\n        FUN_000388e0(&local_34);\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_000388e0(&local_34);\n        } while (iVar15 != iVar11);\n        iVar16 = *(int *)(puVar10 + 2);\n      }\n      else {\n        iVar16 = iVar11 + 1;\n        while( true ) {\n          iVar11 = iVar11 + 1;\n          FUN_000388e0(&local_34);\n          if (iVar16 + (uint)bVar13 == iVar11) break;\n          if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n        }\n        iVar16 = *(int *)(puVar10 + 2);\n      }\n      bVar18 = iVar16 == iVar11;\n    } while (!bVar18 && iVar11 <= iVar16);" do (compound_statement "{\n      iVar16 = local_28 + 1;\n      bVar13 = *(byte *)(local_2c + local_28);\n      local_28 = iVar16;\n      if ((char)bVar13 < '\0') {\n        iVar15 = iVar11 + 1;\n        FUN_000388e0(&local_34);\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_000388e0(&local_34);\n        } while (iVar15 != iVar11);\n        iVar16 = *(int *)(puVar10 + 2);\n      }\n      else {\n        iVar16 = iVar11 + 1;\n        while( true ) {\n          iVar11 = iVar11 + 1;\n          FUN_000388e0(&local_34);\n          if (iVar16 + (uint)bVar13 == iVar11) break;\n          if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n        }\n        iVar16 = *(int *)(puVar10 + 2);\n      }\n      bVar18 = iVar16 == iVar11;\n    }" { (expression_statement "iVar16 = local_28 + 1;" (assignment_expression "iVar16 = local_28 + 1" identifier = (binary_expression "local_28 + 1" identifier + number_literal)) ;) (expression_statement "bVar13 = *(byte *)(local_2c + local_28);" (assignment_expression "bVar13 = *(byte *)(local_2c + local_28)" identifier = (pointer_expression "*(byte *)(local_2c + local_28)" * (cast_expression "(byte *)(local_2c + local_28)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_2c + local_28)" ( (binary_expression "local_2c + local_28" identifier + identifier) ))))) ;) (expression_statement "local_28 = iVar16;" (assignment_expression "local_28 = iVar16" identifier = identifier) ;) (if_statement "if ((char)bVar13 < '\0') {\n        iVar15 = iVar11 + 1;\n        FUN_000388e0(&local_34);\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_000388e0(&local_34);\n        } while (iVar15 != iVar11);\n        iVar16 = *(int *)(puVar10 + 2);\n      }\n      else {\n        iVar16 = iVar11 + 1;\n        while( true ) {\n          iVar11 = iVar11 + 1;\n          FUN_000388e0(&local_34);\n          if (iVar16 + (uint)bVar13 == iVar11) break;\n          if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n        }\n        iVar16 = *(int *)(puVar10 + 2);\n      }" if (parenthesized_expression "((char)bVar13 < '\0')" ( (binary_expression "(char)bVar13 < '\0'" (cast_expression "(char)bVar13" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar15 = iVar11 + 1;\n        FUN_000388e0(&local_34);\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_000388e0(&local_34);\n        } while (iVar15 != iVar11);\n        iVar16 = *(int *)(puVar10 + 2);\n      }" { (expression_statement "iVar15 = iVar11 + 1;" (assignment_expression "iVar15 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) (expression_statement "FUN_000388e0(&local_34);" (call_expression "FUN_000388e0(&local_34)" identifier (argument_list "(&local_34)" ( (pointer_expression "&local_34" & identifier) ))) ;) (expression_statement "iVar11 = iVar11 + -0x7e + (uint)bVar13;" (assignment_expression "iVar11 = iVar11 + -0x7e + (uint)bVar13" identifier = (binary_expression "iVar11 + -0x7e + (uint)bVar13" (binary_expression "iVar11 + -0x7e" identifier + number_literal) + (cast_expression "(uint)bVar13" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (do_statement "do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_000388e0(&local_34);\n        } while (iVar15 != iVar11);" do (compound_statement "{\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_000388e0(&local_34);\n        }" { (expression_statement "iVar5 = local_28;" (assignment_expression "iVar5 = local_28" identifier = identifier) ;) (if_statement "if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;" if (parenthesized_expression "(*(int *)(puVar10 + 2) <= iVar15)" ( (binary_expression "*(int *)(puVar10 + 2) <= iVar15" (pointer_expression "*(int *)(puVar10 + 2)" * (cast_expression "(int *)(puVar10 + 2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 2)" ( (binary_expression "puVar10 + 2" identifier + number_literal) )))) <= identifier) )) (goto_statement "goto LAB_000391c0;" goto statement_identifier ;)) (expression_statement "iVar15 = iVar15 + 1;" (assignment_expression "iVar15 = iVar15 + 1" identifier = (binary_expression "iVar15 + 1" identifier + number_literal)) ;) (expression_statement "local_28 = iVar16;" (assignment_expression "local_28 = iVar16" identifier = identifier) ;) (expression_statement "FUN_000388e0(&local_34);" (call_expression "FUN_000388e0(&local_34)" identifier (argument_list "(&local_34)" ( (pointer_expression "&local_34" & identifier) ))) ;) }) while (parenthesized_expression "(iVar15 != iVar11)" ( (binary_expression "iVar15 != iVar11" identifier != identifier) )) ;) (expression_statement "iVar16 = *(int *)(puVar10 + 2);" (assignment_expression "iVar16 = *(int *)(puVar10 + 2)" identifier = (pointer_expression "*(int *)(puVar10 + 2)" * (cast_expression "(int *)(puVar10 + 2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 2)" ( (binary_expression "puVar10 + 2" identifier + number_literal) ))))) ;) }) (else_clause "else {\n        iVar16 = iVar11 + 1;\n        while( true ) {\n          iVar11 = iVar11 + 1;\n          FUN_000388e0(&local_34);\n          if (iVar16 + (uint)bVar13 == iVar11) break;\n          if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n        }\n        iVar16 = *(int *)(puVar10 + 2);\n      }" else (compound_statement "{\n        iVar16 = iVar11 + 1;\n        while( true ) {\n          iVar11 = iVar11 + 1;\n          FUN_000388e0(&local_34);\n          if (iVar16 + (uint)bVar13 == iVar11) break;\n          if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n        }\n        iVar16 = *(int *)(puVar10 + 2);\n      }" { (expression_statement "iVar16 = iVar11 + 1;" (assignment_expression "iVar16 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) (while_statement "while( true ) {\n          iVar11 = iVar11 + 1;\n          FUN_000388e0(&local_34);\n          if (iVar16 + (uint)bVar13 == iVar11) break;\n          if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          iVar11 = iVar11 + 1;\n          FUN_000388e0(&local_34);\n          if (iVar16 + (uint)bVar13 == iVar11) break;\n          if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n        }" { (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) (expression_statement "FUN_000388e0(&local_34);" (call_expression "FUN_000388e0(&local_34)" identifier (argument_list "(&local_34)" ( (pointer_expression "&local_34" & identifier) ))) ;) (if_statement "if (iVar16 + (uint)bVar13 == iVar11) break;" if (parenthesized_expression "(iVar16 + (uint)bVar13 == iVar11)" ( (binary_expression "iVar16 + (uint)bVar13 == iVar11" (binary_expression "iVar16 + (uint)bVar13" identifier + (cast_expression "(uint)bVar13" ( (type_descriptor "uint" type_identifier) ) identifier)) == identifier) )) (break_statement "break;" break ;)) (if_statement "if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;" if (parenthesized_expression "(*(int *)(puVar10 + 2) <= iVar11)" ( (binary_expression "*(int *)(puVar10 + 2) <= iVar11" (pointer_expression "*(int *)(puVar10 + 2)" * (cast_expression "(int *)(puVar10 + 2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 2)" ( (binary_expression "puVar10 + 2" identifier + number_literal) )))) <= identifier) )) (goto_statement "goto LAB_000391e8;" goto statement_identifier ;)) })) (expression_statement "iVar16 = *(int *)(puVar10 + 2);" (assignment_expression "iVar16 = *(int *)(puVar10 + 2)" identifier = (pointer_expression "*(int *)(puVar10 + 2)" * (cast_expression "(int *)(puVar10 + 2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 2)" ( (binary_expression "puVar10 + 2" identifier + number_literal) ))))) ;) }))) (expression_statement "bVar18 = iVar16 == iVar11;" (assignment_expression "bVar18 = iVar16 == iVar11" identifier = (binary_expression "iVar16 == iVar11" identifier == identifier)) ;) }) while (parenthesized_expression "(!bVar18 && iVar11 <= iVar16)" ( (binary_expression "!bVar18 && iVar11 <= iVar16" (unary_expression "!bVar18" ! identifier) && (binary_expression "iVar11 <= iVar16" identifier <= identifier)) )) ;) })) (if_statement "if (bVar18) {\n    if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0006c950(piVar20);\n    }\n    return puVar10;\n  }" if (parenthesized_expression "(bVar18)" ( identifier )) (compound_statement "{\n    if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0006c950(piVar20);\n    }\n    return puVar10;\n  }" { (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0006c950(piVar20);\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                    /* WARNING: Subroutine does not return */\n      FUN_0006c950(piVar20);\n    }" { comment (expression_statement "FUN_0006c950(piVar20);" (call_expression "FUN_0006c950(piVar20)" identifier (argument_list "(piVar20)" ( identifier ))) ;) })) (return_statement "return puVar10;" return identifier ;) })) (labeled_statement "LAB_0003920f:\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("n == ldata->cols","terminal.c",800,"readrle");" statement_identifier : comment (expression_statement "__assert_fail("n == ldata->cols","terminal.c",800,"readrle");" (call_expression "__assert_fail("n == ldata->cols","terminal.c",800,"readrle")" identifier (argument_list "("n == ldata->cols","terminal.c",800,"readrle")" ( (string_literal ""n == ldata->cols"" " string_content ") , (string_literal ""terminal.c"" " string_content ") , number_literal , (string_literal ""readrle"" " string_content ") ))) ;)) (labeled_statement "LAB_000391e8:\n  uVar14 = 0x319;" statement_identifier : (expression_statement "uVar14 = 0x319;" (assignment_expression "uVar14 = 0x319" identifier = number_literal) ;)) (goto_statement "goto LAB_000391d0;" goto statement_identifier ;) (labeled_statement "LAB_000391c0:\n  local_28 = iVar5;" statement_identifier : (expression_statement "local_28 = iVar5;" (assignment_expression "local_28 = iVar5" identifier = identifier) ;)) (expression_statement "uVar14 = 0x30f;" (assignment_expression "uVar14 = 0x30f" identifier = number_literal) ;) (labeled_statement "LAB_000391d0:\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("n < ldata->cols","terminal.c",uVar14,"readrle");" statement_identifier : comment (expression_statement "__assert_fail("n < ldata->cols","terminal.c",uVar14,"readrle");" (call_expression "__assert_fail("n < ldata->cols","terminal.c",uVar14,"readrle")" identifier (argument_list "("n < ldata->cols","terminal.c",uVar14,"readrle")" ( (string_literal ""n < ldata->cols"" " string_content ") , (string_literal ""terminal.c"" " string_content ") , identifier , (string_literal ""readrle"" " string_content ") ))) ;)) }))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\ntermline * __regparm3 decompressline(uchar *data,int *bytes_used)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  int iVar6;\n  byte *pbVar7;\n  int iVar8;\n  byte bVar9;\n  byte bVar10;\n  termline *ptVar11;\n  termchar *ptVar12;\n  int *piVar13;\n  byte bVar14;\n  uint uVar15;\n  int iVar16;\n  int iVar17;\n  uint uVar18;\n  int iVar19;\n  int iVar20;\n  int in_GS_OFFSET;\n  bool bVar21;\n  termchar *c;\n  termline *in_stack_ffffff8c;\n  ulong *in_stack_ffffff90;\n  termline *ldata;\n  buf *pbVar22;\n  ulong *local_68;\n  int local_40;\n  ulong state_1;\n  ulong state;\n  buf buffer;\n  \n  iVar8 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar15 = 0;\n  iVar19 = 0;\n  do {\n    buffer.len = iVar19 + 1;\n    pbVar7 = data + iVar19;\n    uVar15 = uVar15 | (*pbVar7 & 0x7f) << ((char)iVar19 * '\a' & 0x1fU);\n    iVar19 = buffer.len;\n  } while ((char)*pbVar7 < '\0');\n  buffer.data = data;\n  ptVar11 = (termline *)safemalloc(1,0x18);\n  c = (termchar *)0xc;\n  ptVar12 = (termchar *)safemalloc(uVar15,0xc);\n  ptVar11->size = uVar15;\n  ptVar11->chars = ptVar12;\n  ptVar11->cols = uVar15;\n  ptVar11->temporary = 1;\n  ptVar11->cc_free = 0;\n  if (0 < (int)uVar15) {\n    piVar13 = &ptVar12->cc_next;\n    piVar5 = piVar13 + uVar15 * 3;\n    do {\n      *piVar13 = 0;\n      piVar13 = piVar13 + 3;\n    } while (piVar5 != piVar13);\n  }\n  uVar18 = 0;\n  ptVar11->lattr = 0;\n  bVar14 = 0;\n  iVar19 = buffer.len;\n  do {\n    buffer.len = iVar19 + 1;\n    bVar9 = buffer.data[iVar19];\n    bVar10 = bVar14 & 0x1f;\n    bVar14 = bVar14 + 7;\n    uVar18 = uVar18 | (bVar9 & 0x7f) << bVar10;\n    ptVar11->lattr = (ushort)uVar18;\n    iVar19 = buffer.len;\n  } while ((char)bVar9 < '\0');\n  state = 0;\n  if ((int)uVar15 < 1) {\n    if (uVar15 != 0) goto LAB_0003920f;\n    local_40 = ptVar11->cols;\n  }\n  else {\n    iVar19 = 0;\n    ldata = (termline *)&state;\n    do {\n      while( true ) {\n        iVar17 = buffer.len + 1;\n        bVar14 = buffer.data[buffer.len];\n        ptVar12 = ptVar11->chars;\n        buffer.len = iVar17;\n        if (-1 < (char)bVar14) break;\n        iVar20 = iVar19 + 1;\n        ptVar12 = ptVar12 + iVar19;\n        iVar19 = iVar19 + -0x7e + (uint)bVar14;\n        readliteral_chr(&buffer,ptVar12,ldata,&c->chr);\n        do {\n          iVar16 = buffer.len;\n          if (ptVar11->cols <= iVar20) goto LAB_000391c0;\n          iVar16 = iVar20 + 1;\n          buffer.len = iVar17;\n          readliteral_chr(&buffer,ptVar11->chars + iVar20,ldata,&c->chr);\n          iVar20 = iVar16;\n        } while (iVar16 != iVar19);\n        local_40 = ptVar11->cols;\n        bVar21 = iVar19 == local_40;\n        if (local_40 <= iVar19) goto LAB_00038e55;\n      }\n      iVar17 = iVar19 + 1;\n      iVar20 = iVar19;\n      while( true ) {\n        iVar19 = iVar20 + 1;\n        readliteral_chr(&buffer,ptVar12 + iVar20,ldata,&c->chr);\n        if (iVar19 == iVar17 + (uint)bVar14) break;\n        if (ptVar11->cols <= iVar19) goto LAB_000391e8;\n        ptVar12 = ptVar11->chars;\n        iVar20 = iVar19;\n      }\n      local_40 = ptVar11->cols;\n      bVar21 = iVar19 == local_40;\n    } while (iVar19 < local_40);\nLAB_00038e55:\n    if (!bVar21) goto LAB_0003920f;\n    if (iVar19 < 1) {\n      iVar17 = 0;\n    }\n    else {\n      iVar17 = 0;\n      do {\n        iVar20 = buffer.len + 1;\n        bVar14 = buffer.data[buffer.len];\n        if ((char)bVar14 < '\0') {\n          iVar16 = iVar20;\n          if (iVar19 <= iVar17) goto LAB_000391c0;\n          iVar1 = buffer.len + 2;\n          iVar6 = iVar17 + -0x7e;\n          iVar2 = buffer.len + 4;\n          iVar3 = buffer.len + 3;\n          iVar4 = buffer.len + 5;\n          local_68 = &ptVar11->chars[iVar17].attr;\n          while( true ) {\n            uVar15 = (uint)CONCAT11(buffer.data[iVar20],buffer.data[iVar1]);\n            buffer.len = iVar3;\n            if (0x7fff < uVar15) {\n              uVar15 = (uVar15 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(buffer.data[iVar3],buffer.data[iVar2]);\n              buffer.len = iVar4;\n            }\n            iVar17 = iVar17 + 1;\n            *local_68 = (uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0 |\n                        uVar15 << 4 & 0x1f00 | uVar15 & 0xf |\n                        ((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar17 == iVar6 + (uint)bVar14) break;\n            local_68 = local_68 + 3;\n            iVar16 = buffer.len;\n            if (iVar17 == iVar19) goto LAB_000391c0;\n          }\n        }\n        else {\n          buffer.len = iVar20;\n          if (iVar19 <= iVar17) goto LAB_000391e8;\n          iVar16 = iVar17 + 1;\n          local_68 = &ptVar11->chars[iVar17].attr;\n          iVar17 = iVar16;\n          while( true ) {\n            buffer.len = iVar20 + 2;\n            uVar15 = (uint)CONCAT11(buffer.data[iVar20],buffer.data[iVar20 + 1]);\n            if (0x7fff < uVar15) {\n              buffer.len = iVar20 + 4;\n              uVar15 = (uVar15 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(buffer.data[iVar20 + 2],buffer.data[iVar20 + 3]);\n            }\n            *local_68 = ((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0 |\n                        uVar15 << 4 & 0x1f00 | uVar15 & 0xf;\n            if ((uint)bVar14 + iVar16 == iVar17) break;\n            local_68 = local_68 + 3;\n            bVar21 = iVar19 == iVar17;\n            iVar20 = buffer.len;\n            iVar17 = iVar17 + 1;\n            if (bVar21) goto LAB_000391e8;\n          }\n        }\n      } while (iVar17 < iVar19);\n    }\n    if (iVar19 != iVar17) goto LAB_0003920f;\n  }\n  pbVar22 = &buffer;\n  iVar19 = 0;\n  state_1 = 0;\n  bVar21 = local_40 == 0;\n  if (0 < local_40) {\n    do {\n      iVar17 = buffer.len + 1;\n      bVar14 = buffer.data[buffer.len];\n      buffer.len = iVar17;\n      if ((char)bVar14 < '\0') {\n        iVar20 = iVar19 + 1;\n        readliteral_cc((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90);\n        iVar19 = iVar19 + -0x7e + (uint)bVar14;\n        do {\n          iVar16 = buffer.len;\n          if (ptVar11->cols <= iVar20) goto LAB_000391c0;\n          iVar20 = iVar20 + 1;\n          buffer.len = iVar17;\n          readliteral_cc((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90);\n        } while (iVar20 != iVar19);\n        iVar17 = ptVar11->cols;\n      }\n      else {\n        iVar17 = iVar19 + 1;\n        while( true ) {\n          iVar19 = iVar19 + 1;\n          readliteral_cc((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90);\n          if (iVar17 + (uint)bVar14 == iVar19) break;\n          if (ptVar11->cols <= iVar19) goto LAB_000391e8;\n        }\n        iVar17 = ptVar11->cols;\n      }\n      bVar21 = iVar17 == iVar19;\n    } while (!bVar21 && iVar19 <= iVar17);\n  }\n  if (bVar21) {\n    if (iVar8 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local(pbVar22);\n    }\n    return ptVar11;\n  }\nLAB_0003920f:\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("n == ldata->cols","terminal.c",800,"readrle");\nLAB_000391e8:\n  uVar15 = 0x319;\n  goto LAB_000391d0;\nLAB_000391c0:\n  buffer.len = iVar16;\n  uVar15 = 0x30f;\nLAB_000391d0:\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("n < ldata->cols","terminal.c",uVar15,"readrle");\n}\n\n" comment (ERROR "termline * __regparm3 decompressline(uchar *data,int *bytes_used)" (binary_expression "termline * __regparm3 decompressline(uchar *data,int *bytes_used)" identifier * (ERROR "__regparm3" identifier) (call_expression "decompressline(uchar *data,int *bytes_used)" identifier (argument_list "(uchar *data,int *bytes_used)" ( (binary_expression "uchar *data" identifier * identifier) , (binary_expression "int *bytes_used" identifier * identifier) ))))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  int iVar6;\n  byte *pbVar7;\n  int iVar8;\n  byte bVar9;\n  byte bVar10;\n  termline *ptVar11;\n  termchar *ptVar12;\n  int *piVar13;\n  byte bVar14;\n  uint uVar15;\n  int iVar16;\n  int iVar17;\n  uint uVar18;\n  int iVar19;\n  int iVar20;\n  int in_GS_OFFSET;\n  bool bVar21;\n  termchar *c;\n  termline *in_stack_ffffff8c;\n  ulong *in_stack_ffffff90;\n  termline *ldata;\n  buf *pbVar22;\n  ulong *local_68;\n  int local_40;\n  ulong state_1;\n  ulong state;\n  buf buffer;\n  \n  iVar8 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar15 = 0;\n  iVar19 = 0;\n  do {\n    buffer.len = iVar19 + 1;\n    pbVar7 = data + iVar19;\n    uVar15 = uVar15 | (*pbVar7 & 0x7f) << ((char)iVar19 * '\a' & 0x1fU);\n    iVar19 = buffer.len;\n  } while ((char)*pbVar7 < '\0');\n  buffer.data = data;\n  ptVar11 = (termline *)safemalloc(1,0x18);\n  c = (termchar *)0xc;\n  ptVar12 = (termchar *)safemalloc(uVar15,0xc);\n  ptVar11->size = uVar15;\n  ptVar11->chars = ptVar12;\n  ptVar11->cols = uVar15;\n  ptVar11->temporary = 1;\n  ptVar11->cc_free = 0;\n  if (0 < (int)uVar15) {\n    piVar13 = &ptVar12->cc_next;\n    piVar5 = piVar13 + uVar15 * 3;\n    do {\n      *piVar13 = 0;\n      piVar13 = piVar13 + 3;\n    } while (piVar5 != piVar13);\n  }\n  uVar18 = 0;\n  ptVar11->lattr = 0;\n  bVar14 = 0;\n  iVar19 = buffer.len;\n  do {\n    buffer.len = iVar19 + 1;\n    bVar9 = buffer.data[iVar19];\n    bVar10 = bVar14 & 0x1f;\n    bVar14 = bVar14 + 7;\n    uVar18 = uVar18 | (bVar9 & 0x7f) << bVar10;\n    ptVar11->lattr = (ushort)uVar18;\n    iVar19 = buffer.len;\n  } while ((char)bVar9 < '\0');\n  state = 0;\n  if ((int)uVar15 < 1) {\n    if (uVar15 != 0) goto LAB_0003920f;\n    local_40 = ptVar11->cols;\n  }\n  else {\n    iVar19 = 0;\n    ldata = (termline *)&state;\n    do {\n      while( true ) {\n        iVar17 = buffer.len + 1;\n        bVar14 = buffer.data[buffer.len];\n        ptVar12 = ptVar11->chars;\n        buffer.len = iVar17;\n        if (-1 < (char)bVar14) break;\n        iVar20 = iVar19 + 1;\n        ptVar12 = ptVar12 + iVar19;\n        iVar19 = iVar19 + -0x7e + (uint)bVar14;\n        readliteral_chr(&buffer,ptVar12,ldata,&c->chr);\n        do {\n          iVar16 = buffer.len;\n          if (ptVar11->cols <= iVar20) goto LAB_000391c0;\n          iVar16 = iVar20 + 1;\n          buffer.len = iVar17;\n          readliteral_chr(&buffer,ptVar11->chars + iVar20,ldata,&c->chr);\n          iVar20 = iVar16;\n        } while (iVar16 != iVar19);\n        local_40 = ptVar11->cols;\n        bVar21 = iVar19 == local_40;\n        if (local_40 <= iVar19) goto LAB_00038e55;\n      }\n      iVar17 = iVar19 + 1;\n      iVar20 = iVar19;\n      while( true ) {\n        iVar19 = iVar20 + 1;\n        readliteral_chr(&buffer,ptVar12 + iVar20,ldata,&c->chr);\n        if (iVar19 == iVar17 + (uint)bVar14) break;\n        if (ptVar11->cols <= iVar19) goto LAB_000391e8;\n        ptVar12 = ptVar11->chars;\n        iVar20 = iVar19;\n      }\n      local_40 = ptVar11->cols;\n      bVar21 = iVar19 == local_40;\n    } while (iVar19 < local_40);\nLAB_00038e55:\n    if (!bVar21) goto LAB_0003920f;\n    if (iVar19 < 1) {\n      iVar17 = 0;\n    }\n    else {\n      iVar17 = 0;\n      do {\n        iVar20 = buffer.len + 1;\n        bVar14 = buffer.data[buffer.len];\n        if ((char)bVar14 < '\0') {\n          iVar16 = iVar20;\n          if (iVar19 <= iVar17) goto LAB_000391c0;\n          iVar1 = buffer.len + 2;\n          iVar6 = iVar17 + -0x7e;\n          iVar2 = buffer.len + 4;\n          iVar3 = buffer.len + 3;\n          iVar4 = buffer.len + 5;\n          local_68 = &ptVar11->chars[iVar17].attr;\n          while( true ) {\n            uVar15 = (uint)CONCAT11(buffer.data[iVar20],buffer.data[iVar1]);\n            buffer.len = iVar3;\n            if (0x7fff < uVar15) {\n              uVar15 = (uVar15 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(buffer.data[iVar3],buffer.data[iVar2]);\n              buffer.len = iVar4;\n            }\n            iVar17 = iVar17 + 1;\n            *local_68 = (uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0 |\n                        uVar15 << 4 & 0x1f00 | uVar15 & 0xf |\n                        ((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar17 == iVar6 + (uint)bVar14) break;\n            local_68 = local_68 + 3;\n            iVar16 = buffer.len;\n            if (iVar17 == iVar19) goto LAB_000391c0;\n          }\n        }\n        else {\n          buffer.len = iVar20;\n          if (iVar19 <= iVar17) goto LAB_000391e8;\n          iVar16 = iVar17 + 1;\n          local_68 = &ptVar11->chars[iVar17].attr;\n          iVar17 = iVar16;\n          while( true ) {\n            buffer.len = iVar20 + 2;\n            uVar15 = (uint)CONCAT11(buffer.data[iVar20],buffer.data[iVar20 + 1]);\n            if (0x7fff < uVar15) {\n              buffer.len = iVar20 + 4;\n              uVar15 = (uVar15 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(buffer.data[iVar20 + 2],buffer.data[iVar20 + 3]);\n            }\n            *local_68 = ((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0 |\n                        uVar15 << 4 & 0x1f00 | uVar15 & 0xf;\n            if ((uint)bVar14 + iVar16 == iVar17) break;\n            local_68 = local_68 + 3;\n            bVar21 = iVar19 == iVar17;\n            iVar20 = buffer.len;\n            iVar17 = iVar17 + 1;\n            if (bVar21) goto LAB_000391e8;\n          }\n        }\n      } while (iVar17 < iVar19);\n    }\n    if (iVar19 != iVar17) goto LAB_0003920f;\n  }\n  pbVar22 = &buffer;\n  iVar19 = 0;\n  state_1 = 0;\n  bVar21 = local_40 == 0;\n  if (0 < local_40) {\n    do {\n      iVar17 = buffer.len + 1;\n      bVar14 = buffer.data[buffer.len];\n      buffer.len = iVar17;\n      if ((char)bVar14 < '\0') {\n        iVar20 = iVar19 + 1;\n        readliteral_cc((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90);\n        iVar19 = iVar19 + -0x7e + (uint)bVar14;\n        do {\n          iVar16 = buffer.len;\n          if (ptVar11->cols <= iVar20) goto LAB_000391c0;\n          iVar20 = iVar20 + 1;\n          buffer.len = iVar17;\n          readliteral_cc((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90);\n        } while (iVar20 != iVar19);\n        iVar17 = ptVar11->cols;\n      }\n      else {\n        iVar17 = iVar19 + 1;\n        while( true ) {\n          iVar19 = iVar19 + 1;\n          readliteral_cc((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90);\n          if (iVar17 + (uint)bVar14 == iVar19) break;\n          if (ptVar11->cols <= iVar19) goto LAB_000391e8;\n        }\n        iVar17 = ptVar11->cols;\n      }\n      bVar21 = iVar17 == iVar19;\n    } while (!bVar21 && iVar19 <= iVar17);\n  }\n  if (bVar21) {\n    if (iVar8 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local(pbVar22);\n    }\n    return ptVar11;\n  }\nLAB_0003920f:\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("n == ldata->cols","terminal.c",800,"readrle");\nLAB_000391e8:\n  uVar15 = 0x319;\n  goto LAB_000391d0;\nLAB_000391c0:\n  buffer.len = iVar16;\n  uVar15 = 0x30f;\nLAB_000391d0:\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("n < ldata->cols","terminal.c",uVar15,"readrle");\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "byte bVar9;" type_identifier identifier ;) (declaration "byte bVar10;" type_identifier identifier ;) (declaration "termline *ptVar11;" type_identifier (pointer_declarator "*ptVar11" * identifier) ;) (declaration "termchar *ptVar12;" type_identifier (pointer_declarator "*ptVar12" * identifier) ;) (declaration "int *piVar13;" primitive_type (pointer_declarator "*piVar13" * identifier) ;) (declaration "byte bVar14;" type_identifier identifier ;) (declaration "uint uVar15;" type_identifier identifier ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "uint uVar18;" type_identifier identifier ;) (declaration "int iVar19;" primitive_type identifier ;) (declaration "int iVar20;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar21;" primitive_type identifier ;) (declaration "termchar *c;" type_identifier (pointer_declarator "*c" * identifier) ;) (declaration "termline *in_stack_ffffff8c;" type_identifier (pointer_declarator "*in_stack_ffffff8c" * identifier) ;) (declaration "ulong *in_stack_ffffff90;" type_identifier (pointer_declarator "*in_stack_ffffff90" * identifier) ;) (declaration "termline *ldata;" type_identifier (pointer_declarator "*ldata" * identifier) ;) (declaration "buf *pbVar22;" type_identifier (pointer_declarator "*pbVar22" * identifier) ;) (declaration "ulong *local_68;" type_identifier (pointer_declarator "*local_68" * identifier) ;) (declaration "int local_40;" primitive_type identifier ;) (declaration "ulong state_1;" type_identifier identifier ;) (declaration "ulong state;" type_identifier identifier ;) (declaration "buf buffer;" type_identifier identifier ;) (expression_statement "iVar8 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar8 = *(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) ))))) ;) (expression_statement "uVar15 = 0;" (assignment_expression "uVar15 = 0" identifier = number_literal) ;) (expression_statement "iVar19 = 0;" (assignment_expression "iVar19 = 0" identifier = number_literal) ;) (do_statement "do {\n    buffer.len = iVar19 + 1;\n    pbVar7 = data + iVar19;\n    uVar15 = uVar15 | (*pbVar7 & 0x7f) << ((char)iVar19 * '\a' & 0x1fU);\n    iVar19 = buffer.len;\n  } while ((char)*pbVar7 < '\0');" do (compound_statement "{\n    buffer.len = iVar19 + 1;\n    pbVar7 = data + iVar19;\n    uVar15 = uVar15 | (*pbVar7 & 0x7f) << ((char)iVar19 * '\a' & 0x1fU);\n    iVar19 = buffer.len;\n  }" { (expression_statement "buffer.len = iVar19 + 1;" (assignment_expression "buffer.len = iVar19 + 1" (field_expression "buffer.len" identifier . field_identifier) = (binary_expression "iVar19 + 1" identifier + number_literal)) ;) (expression_statement "pbVar7 = data + iVar19;" (assignment_expression "pbVar7 = data + iVar19" identifier = (binary_expression "data + iVar19" identifier + identifier)) ;) (expression_statement "uVar15 = uVar15 | (*pbVar7 & 0x7f) << ((char)iVar19 * '\a' & 0x1fU);" (assignment_expression "uVar15 = uVar15 | (*pbVar7 & 0x7f) << ((char)iVar19 * '\a' & 0x1fU)" identifier = (binary_expression "uVar15 | (*pbVar7 & 0x7f) << ((char)iVar19 * '\a' & 0x1fU)" identifier | (binary_expression "(*pbVar7 & 0x7f) << ((char)iVar19 * '\a' & 0x1fU)" (parenthesized_expression "(*pbVar7 & 0x7f)" ( (binary_expression "*pbVar7 & 0x7f" (pointer_expression "*pbVar7" * identifier) & number_literal) )) << (parenthesized_expression "((char)iVar19 * '\a' & 0x1fU)" ( (binary_expression "(char)iVar19 * '\a' & 0x1fU" (binary_expression "(char)iVar19 * '\a'" (cast_expression "(char)iVar19" ( (type_descriptor "char" primitive_type) ) identifier) * (char_literal "'\a'" ' escape_sequence ')) & number_literal) ))))) ;) (expression_statement "iVar19 = buffer.len;" (assignment_expression "iVar19 = buffer.len" identifier = (field_expression "buffer.len" identifier . field_identifier)) ;) }) while (parenthesized_expression "((char)*pbVar7 < '\0')" ( (binary_expression "(char)*pbVar7 < '\0'" (cast_expression "(char)*pbVar7" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*pbVar7" * identifier)) < (char_literal "'\0'" ' escape_sequence ')) )) ;) (expression_statement "buffer.data = data;" (assignment_expression "buffer.data = data" (field_expression "buffer.data" identifier . field_identifier) = identifier) ;) (expression_statement "ptVar11 = (termline *)safemalloc(1,0x18);" (assignment_expression "ptVar11 = (termline *)safemalloc(1,0x18)" identifier = (cast_expression "(termline *)safemalloc(1,0x18)" ( (type_descriptor "termline *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "safemalloc(1,0x18)" identifier (argument_list "(1,0x18)" ( number_literal , number_literal ))))) ;) (expression_statement "c = (termchar *)0xc;" (assignment_expression "c = (termchar *)0xc" identifier = (cast_expression "(termchar *)0xc" ( (type_descriptor "termchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "ptVar12 = (termchar *)safemalloc(uVar15,0xc);" (assignment_expression "ptVar12 = (termchar *)safemalloc(uVar15,0xc)" identifier = (cast_expression "(termchar *)safemalloc(uVar15,0xc)" ( (type_descriptor "termchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "safemalloc(uVar15,0xc)" identifier (argument_list "(uVar15,0xc)" ( identifier , number_literal ))))) ;) (expression_statement "ptVar11->size = uVar15;" (assignment_expression "ptVar11->size = uVar15" (field_expression "ptVar11->size" identifier -> field_identifier) = identifier) ;) (expression_statement "ptVar11->chars = ptVar12;" (assignment_expression "ptVar11->chars = ptVar12" (field_expression "ptVar11->chars" identifier -> field_identifier) = identifier) ;) (expression_statement "ptVar11->cols = uVar15;" (assignment_expression "ptVar11->cols = uVar15" (field_expression "ptVar11->cols" identifier -> field_identifier) = identifier) ;) (expression_statement "ptVar11->temporary = 1;" (assignment_expression "ptVar11->temporary = 1" (field_expression "ptVar11->temporary" identifier -> field_identifier) = number_literal) ;) (expression_statement "ptVar11->cc_free = 0;" (assignment_expression "ptVar11->cc_free = 0" (field_expression "ptVar11->cc_free" identifier -> field_identifier) = number_literal) ;) (if_statement "if (0 < (int)uVar15) {\n    piVar13 = &ptVar12->cc_next;\n    piVar5 = piVar13 + uVar15 * 3;\n    do {\n      *piVar13 = 0;\n      piVar13 = piVar13 + 3;\n    } while (piVar5 != piVar13);\n  }" if (parenthesized_expression "(0 < (int)uVar15)" ( (binary_expression "0 < (int)uVar15" number_literal < (cast_expression "(int)uVar15" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    piVar13 = &ptVar12->cc_next;\n    piVar5 = piVar13 + uVar15 * 3;\n    do {\n      *piVar13 = 0;\n      piVar13 = piVar13 + 3;\n    } while (piVar5 != piVar13);\n  }" { (expression_statement "piVar13 = &ptVar12->cc_next;" (assignment_expression "piVar13 = &ptVar12->cc_next" identifier = (pointer_expression "&ptVar12->cc_next" & (field_expression "ptVar12->cc_next" identifier -> field_identifier))) ;) (expression_statement "piVar5 = piVar13 + uVar15 * 3;" (assignment_expression "piVar5 = piVar13 + uVar15 * 3" identifier = (binary_expression "piVar13 + uVar15 * 3" identifier + (binary_expression "uVar15 * 3" identifier * number_literal))) ;) (do_statement "do {\n      *piVar13 = 0;\n      piVar13 = piVar13 + 3;\n    } while (piVar5 != piVar13);" do (compound_statement "{\n      *piVar13 = 0;\n      piVar13 = piVar13 + 3;\n    }" { (expression_statement "*piVar13 = 0;" (assignment_expression "*piVar13 = 0" (pointer_expression "*piVar13" * identifier) = number_literal) ;) (expression_statement "piVar13 = piVar13 + 3;" (assignment_expression "piVar13 = piVar13 + 3" identifier = (binary_expression "piVar13 + 3" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar5 != piVar13)" ( (binary_expression "piVar5 != piVar13" identifier != identifier) )) ;) })) (expression_statement "uVar18 = 0;" (assignment_expression "uVar18 = 0" identifier = number_literal) ;) (expression_statement "ptVar11->lattr = 0;" (assignment_expression "ptVar11->lattr = 0" (field_expression "ptVar11->lattr" identifier -> field_identifier) = number_literal) ;) (expression_statement "bVar14 = 0;" (assignment_expression "bVar14 = 0" identifier = number_literal) ;) (expression_statement "iVar19 = buffer.len;" (assignment_expression "iVar19 = buffer.len" identifier = (field_expression "buffer.len" identifier . field_identifier)) ;) (do_statement "do {\n    buffer.len = iVar19 + 1;\n    bVar9 = buffer.data[iVar19];\n    bVar10 = bVar14 & 0x1f;\n    bVar14 = bVar14 + 7;\n    uVar18 = uVar18 | (bVar9 & 0x7f) << bVar10;\n    ptVar11->lattr = (ushort)uVar18;\n    iVar19 = buffer.len;\n  } while ((char)bVar9 < '\0');" do (compound_statement "{\n    buffer.len = iVar19 + 1;\n    bVar9 = buffer.data[iVar19];\n    bVar10 = bVar14 & 0x1f;\n    bVar14 = bVar14 + 7;\n    uVar18 = uVar18 | (bVar9 & 0x7f) << bVar10;\n    ptVar11->lattr = (ushort)uVar18;\n    iVar19 = buffer.len;\n  }" { (expression_statement "buffer.len = iVar19 + 1;" (assignment_expression "buffer.len = iVar19 + 1" (field_expression "buffer.len" identifier . field_identifier) = (binary_expression "iVar19 + 1" identifier + number_literal)) ;) (expression_statement "bVar9 = buffer.data[iVar19];" (assignment_expression "bVar9 = buffer.data[iVar19]" identifier = (subscript_expression "buffer.data[iVar19]" (field_expression "buffer.data" identifier . field_identifier) [ identifier ])) ;) (expression_statement "bVar10 = bVar14 & 0x1f;" (assignment_expression "bVar10 = bVar14 & 0x1f" identifier = (binary_expression "bVar14 & 0x1f" identifier & number_literal)) ;) (expression_statement "bVar14 = bVar14 + 7;" (assignment_expression "bVar14 = bVar14 + 7" identifier = (binary_expression "bVar14 + 7" identifier + number_literal)) ;) (expression_statement "uVar18 = uVar18 | (bVar9 & 0x7f) << bVar10;" (assignment_expression "uVar18 = uVar18 | (bVar9 & 0x7f) << bVar10" identifier = (binary_expression "uVar18 | (bVar9 & 0x7f) << bVar10" identifier | (binary_expression "(bVar9 & 0x7f) << bVar10" (parenthesized_expression "(bVar9 & 0x7f)" ( (binary_expression "bVar9 & 0x7f" identifier & number_literal) )) << identifier))) ;) (expression_statement "ptVar11->lattr = (ushort)uVar18;" (assignment_expression "ptVar11->lattr = (ushort)uVar18" (field_expression "ptVar11->lattr" identifier -> field_identifier) = (cast_expression "(ushort)uVar18" ( (type_descriptor "ushort" type_identifier) ) identifier)) ;) (expression_statement "iVar19 = buffer.len;" (assignment_expression "iVar19 = buffer.len" identifier = (field_expression "buffer.len" identifier . field_identifier)) ;) }) while (parenthesized_expression "((char)bVar9 < '\0')" ( (binary_expression "(char)bVar9 < '\0'" (cast_expression "(char)bVar9" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\0'" ' escape_sequence ')) )) ;) (expression_statement "state = 0;" (assignment_expression "state = 0" identifier = number_literal) ;) (if_statement "if ((int)uVar15 < 1) {\n    if (uVar15 != 0) goto LAB_0003920f;\n    local_40 = ptVar11->cols;\n  }\n  else {\n    iVar19 = 0;\n    ldata = (termline *)&state;\n    do {\n      while( true ) {\n        iVar17 = buffer.len + 1;\n        bVar14 = buffer.data[buffer.len];\n        ptVar12 = ptVar11->chars;\n        buffer.len = iVar17;\n        if (-1 < (char)bVar14) break;\n        iVar20 = iVar19 + 1;\n        ptVar12 = ptVar12 + iVar19;\n        iVar19 = iVar19 + -0x7e + (uint)bVar14;\n        readliteral_chr(&buffer,ptVar12,ldata,&c->chr);\n        do {\n          iVar16 = buffer.len;\n          if (ptVar11->cols <= iVar20) goto LAB_000391c0;\n          iVar16 = iVar20 + 1;\n          buffer.len = iVar17;\n          readliteral_chr(&buffer,ptVar11->chars + iVar20,ldata,&c->chr);\n          iVar20 = iVar16;\n        } while (iVar16 != iVar19);\n        local_40 = ptVar11->cols;\n        bVar21 = iVar19 == local_40;\n        if (local_40 <= iVar19) goto LAB_00038e55;\n      }\n      iVar17 = iVar19 + 1;\n      iVar20 = iVar19;\n      while( true ) {\n        iVar19 = iVar20 + 1;\n        readliteral_chr(&buffer,ptVar12 + iVar20,ldata,&c->chr);\n        if (iVar19 == iVar17 + (uint)bVar14) break;\n        if (ptVar11->cols <= iVar19) goto LAB_000391e8;\n        ptVar12 = ptVar11->chars;\n        iVar20 = iVar19;\n      }\n      local_40 = ptVar11->cols;\n      bVar21 = iVar19 == local_40;\n    } while (iVar19 < local_40);\nLAB_00038e55:\n    if (!bVar21) goto LAB_0003920f;\n    if (iVar19 < 1) {\n      iVar17 = 0;\n    }\n    else {\n      iVar17 = 0;\n      do {\n        iVar20 = buffer.len + 1;\n        bVar14 = buffer.data[buffer.len];\n        if ((char)bVar14 < '\0') {\n          iVar16 = iVar20;\n          if (iVar19 <= iVar17) goto LAB_000391c0;\n          iVar1 = buffer.len + 2;\n          iVar6 = iVar17 + -0x7e;\n          iVar2 = buffer.len + 4;\n          iVar3 = buffer.len + 3;\n          iVar4 = buffer.len + 5;\n          local_68 = &ptVar11->chars[iVar17].attr;\n          while( true ) {\n            uVar15 = (uint)CONCAT11(buffer.data[iVar20],buffer.data[iVar1]);\n            buffer.len = iVar3;\n            if (0x7fff < uVar15) {\n              uVar15 = (uVar15 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(buffer.data[iVar3],buffer.data[iVar2]);\n              buffer.len = iVar4;\n            }\n            iVar17 = iVar17 + 1;\n            *local_68 = (uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0 |\n                        uVar15 << 4 & 0x1f00 | uVar15 & 0xf |\n                        ((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar17 == iVar6 + (uint)bVar14) break;\n            local_68 = local_68 + 3;\n            iVar16 = buffer.len;\n            if (iVar17 == iVar19) goto LAB_000391c0;\n          }\n        }\n        else {\n          buffer.len = iVar20;\n          if (iVar19 <= iVar17) goto LAB_000391e8;\n          iVar16 = iVar17 + 1;\n          local_68 = &ptVar11->chars[iVar17].attr;\n          iVar17 = iVar16;\n          while( true ) {\n            buffer.len = iVar20 + 2;\n            uVar15 = (uint)CONCAT11(buffer.data[iVar20],buffer.data[iVar20 + 1]);\n            if (0x7fff < uVar15) {\n              buffer.len = iVar20 + 4;\n              uVar15 = (uVar15 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(buffer.data[iVar20 + 2],buffer.data[iVar20 + 3]);\n            }\n            *local_68 = ((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0 |\n                        uVar15 << 4 & 0x1f00 | uVar15 & 0xf;\n            if ((uint)bVar14 + iVar16 == iVar17) break;\n            local_68 = local_68 + 3;\n            bVar21 = iVar19 == iVar17;\n            iVar20 = buffer.len;\n            iVar17 = iVar17 + 1;\n            if (bVar21) goto LAB_000391e8;\n          }\n        }\n      } while (iVar17 < iVar19);\n    }\n    if (iVar19 != iVar17) goto LAB_0003920f;\n  }" if (parenthesized_expression "((int)uVar15 < 1)" ( (binary_expression "(int)uVar15 < 1" (cast_expression "(int)uVar15" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    if (uVar15 != 0) goto LAB_0003920f;\n    local_40 = ptVar11->cols;\n  }" { (if_statement "if (uVar15 != 0) goto LAB_0003920f;" if (parenthesized_expression "(uVar15 != 0)" ( (binary_expression "uVar15 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0003920f;" goto statement_identifier ;)) (expression_statement "local_40 = ptVar11->cols;" (assignment_expression "local_40 = ptVar11->cols" identifier = (field_expression "ptVar11->cols" identifier -> field_identifier)) ;) }) (else_clause "else {\n    iVar19 = 0;\n    ldata = (termline *)&state;\n    do {\n      while( true ) {\n        iVar17 = buffer.len + 1;\n        bVar14 = buffer.data[buffer.len];\n        ptVar12 = ptVar11->chars;\n        buffer.len = iVar17;\n        if (-1 < (char)bVar14) break;\n        iVar20 = iVar19 + 1;\n        ptVar12 = ptVar12 + iVar19;\n        iVar19 = iVar19 + -0x7e + (uint)bVar14;\n        readliteral_chr(&buffer,ptVar12,ldata,&c->chr);\n        do {\n          iVar16 = buffer.len;\n          if (ptVar11->cols <= iVar20) goto LAB_000391c0;\n          iVar16 = iVar20 + 1;\n          buffer.len = iVar17;\n          readliteral_chr(&buffer,ptVar11->chars + iVar20,ldata,&c->chr);\n          iVar20 = iVar16;\n        } while (iVar16 != iVar19);\n        local_40 = ptVar11->cols;\n        bVar21 = iVar19 == local_40;\n        if (local_40 <= iVar19) goto LAB_00038e55;\n      }\n      iVar17 = iVar19 + 1;\n      iVar20 = iVar19;\n      while( true ) {\n        iVar19 = iVar20 + 1;\n        readliteral_chr(&buffer,ptVar12 + iVar20,ldata,&c->chr);\n        if (iVar19 == iVar17 + (uint)bVar14) break;\n        if (ptVar11->cols <= iVar19) goto LAB_000391e8;\n        ptVar12 = ptVar11->chars;\n        iVar20 = iVar19;\n      }\n      local_40 = ptVar11->cols;\n      bVar21 = iVar19 == local_40;\n    } while (iVar19 < local_40);\nLAB_00038e55:\n    if (!bVar21) goto LAB_0003920f;\n    if (iVar19 < 1) {\n      iVar17 = 0;\n    }\n    else {\n      iVar17 = 0;\n      do {\n        iVar20 = buffer.len + 1;\n        bVar14 = buffer.data[buffer.len];\n        if ((char)bVar14 < '\0') {\n          iVar16 = iVar20;\n          if (iVar19 <= iVar17) goto LAB_000391c0;\n          iVar1 = buffer.len + 2;\n          iVar6 = iVar17 + -0x7e;\n          iVar2 = buffer.len + 4;\n          iVar3 = buffer.len + 3;\n          iVar4 = buffer.len + 5;\n          local_68 = &ptVar11->chars[iVar17].attr;\n          while( true ) {\n            uVar15 = (uint)CONCAT11(buffer.data[iVar20],buffer.data[iVar1]);\n            buffer.len = iVar3;\n            if (0x7fff < uVar15) {\n              uVar15 = (uVar15 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(buffer.data[iVar3],buffer.data[iVar2]);\n              buffer.len = iVar4;\n            }\n            iVar17 = iVar17 + 1;\n            *local_68 = (uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0 |\n                        uVar15 << 4 & 0x1f00 | uVar15 & 0xf |\n                        ((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar17 == iVar6 + (uint)bVar14) break;\n            local_68 = local_68 + 3;\n            iVar16 = buffer.len;\n            if (iVar17 == iVar19) goto LAB_000391c0;\n          }\n        }\n        else {\n          buffer.len = iVar20;\n          if (iVar19 <= iVar17) goto LAB_000391e8;\n          iVar16 = iVar17 + 1;\n          local_68 = &ptVar11->chars[iVar17].attr;\n          iVar17 = iVar16;\n          while( true ) {\n            buffer.len = iVar20 + 2;\n            uVar15 = (uint)CONCAT11(buffer.data[iVar20],buffer.data[iVar20 + 1]);\n            if (0x7fff < uVar15) {\n              buffer.len = iVar20 + 4;\n              uVar15 = (uVar15 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(buffer.data[iVar20 + 2],buffer.data[iVar20 + 3]);\n            }\n            *local_68 = ((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0 |\n                        uVar15 << 4 & 0x1f00 | uVar15 & 0xf;\n            if ((uint)bVar14 + iVar16 == iVar17) break;\n            local_68 = local_68 + 3;\n            bVar21 = iVar19 == iVar17;\n            iVar20 = buffer.len;\n            iVar17 = iVar17 + 1;\n            if (bVar21) goto LAB_000391e8;\n          }\n        }\n      } while (iVar17 < iVar19);\n    }\n    if (iVar19 != iVar17) goto LAB_0003920f;\n  }" else (compound_statement "{\n    iVar19 = 0;\n    ldata = (termline *)&state;\n    do {\n      while( true ) {\n        iVar17 = buffer.len + 1;\n        bVar14 = buffer.data[buffer.len];\n        ptVar12 = ptVar11->chars;\n        buffer.len = iVar17;\n        if (-1 < (char)bVar14) break;\n        iVar20 = iVar19 + 1;\n        ptVar12 = ptVar12 + iVar19;\n        iVar19 = iVar19 + -0x7e + (uint)bVar14;\n        readliteral_chr(&buffer,ptVar12,ldata,&c->chr);\n        do {\n          iVar16 = buffer.len;\n          if (ptVar11->cols <= iVar20) goto LAB_000391c0;\n          iVar16 = iVar20 + 1;\n          buffer.len = iVar17;\n          readliteral_chr(&buffer,ptVar11->chars + iVar20,ldata,&c->chr);\n          iVar20 = iVar16;\n        } while (iVar16 != iVar19);\n        local_40 = ptVar11->cols;\n        bVar21 = iVar19 == local_40;\n        if (local_40 <= iVar19) goto LAB_00038e55;\n      }\n      iVar17 = iVar19 + 1;\n      iVar20 = iVar19;\n      while( true ) {\n        iVar19 = iVar20 + 1;\n        readliteral_chr(&buffer,ptVar12 + iVar20,ldata,&c->chr);\n        if (iVar19 == iVar17 + (uint)bVar14) break;\n        if (ptVar11->cols <= iVar19) goto LAB_000391e8;\n        ptVar12 = ptVar11->chars;\n        iVar20 = iVar19;\n      }\n      local_40 = ptVar11->cols;\n      bVar21 = iVar19 == local_40;\n    } while (iVar19 < local_40);\nLAB_00038e55:\n    if (!bVar21) goto LAB_0003920f;\n    if (iVar19 < 1) {\n      iVar17 = 0;\n    }\n    else {\n      iVar17 = 0;\n      do {\n        iVar20 = buffer.len + 1;\n        bVar14 = buffer.data[buffer.len];\n        if ((char)bVar14 < '\0') {\n          iVar16 = iVar20;\n          if (iVar19 <= iVar17) goto LAB_000391c0;\n          iVar1 = buffer.len + 2;\n          iVar6 = iVar17 + -0x7e;\n          iVar2 = buffer.len + 4;\n          iVar3 = buffer.len + 3;\n          iVar4 = buffer.len + 5;\n          local_68 = &ptVar11->chars[iVar17].attr;\n          while( true ) {\n            uVar15 = (uint)CONCAT11(buffer.data[iVar20],buffer.data[iVar1]);\n            buffer.len = iVar3;\n            if (0x7fff < uVar15) {\n              uVar15 = (uVar15 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(buffer.data[iVar3],buffer.data[iVar2]);\n              buffer.len = iVar4;\n            }\n            iVar17 = iVar17 + 1;\n            *local_68 = (uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0 |\n                        uVar15 << 4 & 0x1f00 | uVar15 & 0xf |\n                        ((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar17 == iVar6 + (uint)bVar14) break;\n            local_68 = local_68 + 3;\n            iVar16 = buffer.len;\n            if (iVar17 == iVar19) goto LAB_000391c0;\n          }\n        }\n        else {\n          buffer.len = iVar20;\n          if (iVar19 <= iVar17) goto LAB_000391e8;\n          iVar16 = iVar17 + 1;\n          local_68 = &ptVar11->chars[iVar17].attr;\n          iVar17 = iVar16;\n          while( true ) {\n            buffer.len = iVar20 + 2;\n            uVar15 = (uint)CONCAT11(buffer.data[iVar20],buffer.data[iVar20 + 1]);\n            if (0x7fff < uVar15) {\n              buffer.len = iVar20 + 4;\n              uVar15 = (uVar15 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(buffer.data[iVar20 + 2],buffer.data[iVar20 + 3]);\n            }\n            *local_68 = ((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0 |\n                        uVar15 << 4 & 0x1f00 | uVar15 & 0xf;\n            if ((uint)bVar14 + iVar16 == iVar17) break;\n            local_68 = local_68 + 3;\n            bVar21 = iVar19 == iVar17;\n            iVar20 = buffer.len;\n            iVar17 = iVar17 + 1;\n            if (bVar21) goto LAB_000391e8;\n          }\n        }\n      } while (iVar17 < iVar19);\n    }\n    if (iVar19 != iVar17) goto LAB_0003920f;\n  }" { (expression_statement "iVar19 = 0;" (assignment_expression "iVar19 = 0" identifier = number_literal) ;) (expression_statement "ldata = (termline *)&state;" (assignment_expression "ldata = (termline *)&state" identifier = (cast_expression "(termline *)&state" ( (type_descriptor "termline *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&state" & identifier))) ;) (do_statement "do {\n      while( true ) {\n        iVar17 = buffer.len + 1;\n        bVar14 = buffer.data[buffer.len];\n        ptVar12 = ptVar11->chars;\n        buffer.len = iVar17;\n        if (-1 < (char)bVar14) break;\n        iVar20 = iVar19 + 1;\n        ptVar12 = ptVar12 + iVar19;\n        iVar19 = iVar19 + -0x7e + (uint)bVar14;\n        readliteral_chr(&buffer,ptVar12,ldata,&c->chr);\n        do {\n          iVar16 = buffer.len;\n          if (ptVar11->cols <= iVar20) goto LAB_000391c0;\n          iVar16 = iVar20 + 1;\n          buffer.len = iVar17;\n          readliteral_chr(&buffer,ptVar11->chars + iVar20,ldata,&c->chr);\n          iVar20 = iVar16;\n        } while (iVar16 != iVar19);\n        local_40 = ptVar11->cols;\n        bVar21 = iVar19 == local_40;\n        if (local_40 <= iVar19) goto LAB_00038e55;\n      }\n      iVar17 = iVar19 + 1;\n      iVar20 = iVar19;\n      while( true ) {\n        iVar19 = iVar20 + 1;\n        readliteral_chr(&buffer,ptVar12 + iVar20,ldata,&c->chr);\n        if (iVar19 == iVar17 + (uint)bVar14) break;\n        if (ptVar11->cols <= iVar19) goto LAB_000391e8;\n        ptVar12 = ptVar11->chars;\n        iVar20 = iVar19;\n      }\n      local_40 = ptVar11->cols;\n      bVar21 = iVar19 == local_40;\n    } while (iVar19 < local_40);" do (compound_statement "{\n      while( true ) {\n        iVar17 = buffer.len + 1;\n        bVar14 = buffer.data[buffer.len];\n        ptVar12 = ptVar11->chars;\n        buffer.len = iVar17;\n        if (-1 < (char)bVar14) break;\n        iVar20 = iVar19 + 1;\n        ptVar12 = ptVar12 + iVar19;\n        iVar19 = iVar19 + -0x7e + (uint)bVar14;\n        readliteral_chr(&buffer,ptVar12,ldata,&c->chr);\n        do {\n          iVar16 = buffer.len;\n          if (ptVar11->cols <= iVar20) goto LAB_000391c0;\n          iVar16 = iVar20 + 1;\n          buffer.len = iVar17;\n          readliteral_chr(&buffer,ptVar11->chars + iVar20,ldata,&c->chr);\n          iVar20 = iVar16;\n        } while (iVar16 != iVar19);\n        local_40 = ptVar11->cols;\n        bVar21 = iVar19 == local_40;\n        if (local_40 <= iVar19) goto LAB_00038e55;\n      }\n      iVar17 = iVar19 + 1;\n      iVar20 = iVar19;\n      while( true ) {\n        iVar19 = iVar20 + 1;\n        readliteral_chr(&buffer,ptVar12 + iVar20,ldata,&c->chr);\n        if (iVar19 == iVar17 + (uint)bVar14) break;\n        if (ptVar11->cols <= iVar19) goto LAB_000391e8;\n        ptVar12 = ptVar11->chars;\n        iVar20 = iVar19;\n      }\n      local_40 = ptVar11->cols;\n      bVar21 = iVar19 == local_40;\n    }" { (while_statement "while( true ) {\n        iVar17 = buffer.len + 1;\n        bVar14 = buffer.data[buffer.len];\n        ptVar12 = ptVar11->chars;\n        buffer.len = iVar17;\n        if (-1 < (char)bVar14) break;\n        iVar20 = iVar19 + 1;\n        ptVar12 = ptVar12 + iVar19;\n        iVar19 = iVar19 + -0x7e + (uint)bVar14;\n        readliteral_chr(&buffer,ptVar12,ldata,&c->chr);\n        do {\n          iVar16 = buffer.len;\n          if (ptVar11->cols <= iVar20) goto LAB_000391c0;\n          iVar16 = iVar20 + 1;\n          buffer.len = iVar17;\n          readliteral_chr(&buffer,ptVar11->chars + iVar20,ldata,&c->chr);\n          iVar20 = iVar16;\n        } while (iVar16 != iVar19);\n        local_40 = ptVar11->cols;\n        bVar21 = iVar19 == local_40;\n        if (local_40 <= iVar19) goto LAB_00038e55;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        iVar17 = buffer.len + 1;\n        bVar14 = buffer.data[buffer.len];\n        ptVar12 = ptVar11->chars;\n        buffer.len = iVar17;\n        if (-1 < (char)bVar14) break;\n        iVar20 = iVar19 + 1;\n        ptVar12 = ptVar12 + iVar19;\n        iVar19 = iVar19 + -0x7e + (uint)bVar14;\n        readliteral_chr(&buffer,ptVar12,ldata,&c->chr);\n        do {\n          iVar16 = buffer.len;\n          if (ptVar11->cols <= iVar20) goto LAB_000391c0;\n          iVar16 = iVar20 + 1;\n          buffer.len = iVar17;\n          readliteral_chr(&buffer,ptVar11->chars + iVar20,ldata,&c->chr);\n          iVar20 = iVar16;\n        } while (iVar16 != iVar19);\n        local_40 = ptVar11->cols;\n        bVar21 = iVar19 == local_40;\n        if (local_40 <= iVar19) goto LAB_00038e55;\n      }" { (expression_statement "iVar17 = buffer.len + 1;" (assignment_expression "iVar17 = buffer.len + 1" identifier = (binary_expression "buffer.len + 1" (field_expression "buffer.len" identifier . field_identifier) + number_literal)) ;) (expression_statement "bVar14 = buffer.data[buffer.len];" (assignment_expression "bVar14 = buffer.data[buffer.len]" identifier = (subscript_expression "buffer.data[buffer.len]" (field_expression "buffer.data" identifier . field_identifier) [ (field_expression "buffer.len" identifier . field_identifier) ])) ;) (expression_statement "ptVar12 = ptVar11->chars;" (assignment_expression "ptVar12 = ptVar11->chars" identifier = (field_expression "ptVar11->chars" identifier -> field_identifier)) ;) (expression_statement "buffer.len = iVar17;" (assignment_expression "buffer.len = iVar17" (field_expression "buffer.len" identifier . field_identifier) = identifier) ;) (if_statement "if (-1 < (char)bVar14) break;" if (parenthesized_expression "(-1 < (char)bVar14)" ( (binary_expression "-1 < (char)bVar14" number_literal < (cast_expression "(char)bVar14" ( (type_descriptor "char" primitive_type) ) identifier)) )) (break_statement "break;" break ;)) (expression_statement "iVar20 = iVar19 + 1;" (assignment_expression "iVar20 = iVar19 + 1" identifier = (binary_expression "iVar19 + 1" identifier + number_literal)) ;) (expression_statement "ptVar12 = ptVar12 + iVar19;" (assignment_expression "ptVar12 = ptVar12 + iVar19" identifier = (binary_expression "ptVar12 + iVar19" identifier + identifier)) ;) (expression_statement "iVar19 = iVar19 + -0x7e + (uint)bVar14;" (assignment_expression "iVar19 = iVar19 + -0x7e + (uint)bVar14" identifier = (binary_expression "iVar19 + -0x7e + (uint)bVar14" (binary_expression "iVar19 + -0x7e" identifier + number_literal) + (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (expression_statement "readliteral_chr(&buffer,ptVar12,ldata,&c->chr);" (call_expression "readliteral_chr(&buffer,ptVar12,ldata,&c->chr)" identifier (argument_list "(&buffer,ptVar12,ldata,&c->chr)" ( (pointer_expression "&buffer" & identifier) , identifier , identifier , (pointer_expression "&c->chr" & (field_expression "c->chr" identifier -> field_identifier)) ))) ;) (do_statement "do {\n          iVar16 = buffer.len;\n          if (ptVar11->cols <= iVar20) goto LAB_000391c0;\n          iVar16 = iVar20 + 1;\n          buffer.len = iVar17;\n          readliteral_chr(&buffer,ptVar11->chars + iVar20,ldata,&c->chr);\n          iVar20 = iVar16;\n        } while (iVar16 != iVar19);" do (compound_statement "{\n          iVar16 = buffer.len;\n          if (ptVar11->cols <= iVar20) goto LAB_000391c0;\n          iVar16 = iVar20 + 1;\n          buffer.len = iVar17;\n          readliteral_chr(&buffer,ptVar11->chars + iVar20,ldata,&c->chr);\n          iVar20 = iVar16;\n        }" { (expression_statement "iVar16 = buffer.len;" (assignment_expression "iVar16 = buffer.len" identifier = (field_expression "buffer.len" identifier . field_identifier)) ;) (if_statement "if (ptVar11->cols <= iVar20) goto LAB_000391c0;" if (parenthesized_expression "(ptVar11->cols <= iVar20)" ( (binary_expression "ptVar11->cols <= iVar20" (field_expression "ptVar11->cols" identifier -> field_identifier) <= identifier) )) (goto_statement "goto LAB_000391c0;" goto statement_identifier ;)) (expression_statement "iVar16 = iVar20 + 1;" (assignment_expression "iVar16 = iVar20 + 1" identifier = (binary_expression "iVar20 + 1" identifier + number_literal)) ;) (expression_statement "buffer.len = iVar17;" (assignment_expression "buffer.len = iVar17" (field_expression "buffer.len" identifier . field_identifier) = identifier) ;) (expression_statement "readliteral_chr(&buffer,ptVar11->chars + iVar20,ldata,&c->chr);" (call_expression "readliteral_chr(&buffer,ptVar11->chars + iVar20,ldata,&c->chr)" identifier (argument_list "(&buffer,ptVar11->chars + iVar20,ldata,&c->chr)" ( (pointer_expression "&buffer" & identifier) , (binary_expression "ptVar11->chars + iVar20" (field_expression "ptVar11->chars" identifier -> field_identifier) + identifier) , identifier , (pointer_expression "&c->chr" & (field_expression "c->chr" identifier -> field_identifier)) ))) ;) (expression_statement "iVar20 = iVar16;" (assignment_expression "iVar20 = iVar16" identifier = identifier) ;) }) while (parenthesized_expression "(iVar16 != iVar19)" ( (binary_expression "iVar16 != iVar19" identifier != identifier) )) ;) (expression_statement "local_40 = ptVar11->cols;" (assignment_expression "local_40 = ptVar11->cols" identifier = (field_expression "ptVar11->cols" identifier -> field_identifier)) ;) (expression_statement "bVar21 = iVar19 == local_40;" (assignment_expression "bVar21 = iVar19 == local_40" identifier = (binary_expression "iVar19 == local_40" identifier == identifier)) ;) (if_statement "if (local_40 <= iVar19) goto LAB_00038e55;" if (parenthesized_expression "(local_40 <= iVar19)" ( (binary_expression "local_40 <= iVar19" identifier <= identifier) )) (goto_statement "goto LAB_00038e55;" goto statement_identifier ;)) })) (expression_statement "iVar17 = iVar19 + 1;" (assignment_expression "iVar17 = iVar19 + 1" identifier = (binary_expression "iVar19 + 1" identifier + number_literal)) ;) (expression_statement "iVar20 = iVar19;" (assignment_expression "iVar20 = iVar19" identifier = identifier) ;) (while_statement "while( true ) {\n        iVar19 = iVar20 + 1;\n        readliteral_chr(&buffer,ptVar12 + iVar20,ldata,&c->chr);\n        if (iVar19 == iVar17 + (uint)bVar14) break;\n        if (ptVar11->cols <= iVar19) goto LAB_000391e8;\n        ptVar12 = ptVar11->chars;\n        iVar20 = iVar19;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        iVar19 = iVar20 + 1;\n        readliteral_chr(&buffer,ptVar12 + iVar20,ldata,&c->chr);\n        if (iVar19 == iVar17 + (uint)bVar14) break;\n        if (ptVar11->cols <= iVar19) goto LAB_000391e8;\n        ptVar12 = ptVar11->chars;\n        iVar20 = iVar19;\n      }" { (expression_statement "iVar19 = iVar20 + 1;" (assignment_expression "iVar19 = iVar20 + 1" identifier = (binary_expression "iVar20 + 1" identifier + number_literal)) ;) (expression_statement "readliteral_chr(&buffer,ptVar12 + iVar20,ldata,&c->chr);" (call_expression "readliteral_chr(&buffer,ptVar12 + iVar20,ldata,&c->chr)" identifier (argument_list "(&buffer,ptVar12 + iVar20,ldata,&c->chr)" ( (pointer_expression "&buffer" & identifier) , (binary_expression "ptVar12 + iVar20" identifier + identifier) , identifier , (pointer_expression "&c->chr" & (field_expression "c->chr" identifier -> field_identifier)) ))) ;) (if_statement "if (iVar19 == iVar17 + (uint)bVar14) break;" if (parenthesized_expression "(iVar19 == iVar17 + (uint)bVar14)" ( (binary_expression "iVar19 == iVar17 + (uint)bVar14" identifier == (binary_expression "iVar17 + (uint)bVar14" identifier + (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier))) )) (break_statement "break;" break ;)) (if_statement "if (ptVar11->cols <= iVar19) goto LAB_000391e8;" if (parenthesized_expression "(ptVar11->cols <= iVar19)" ( (binary_expression "ptVar11->cols <= iVar19" (field_expression "ptVar11->cols" identifier -> field_identifier) <= identifier) )) (goto_statement "goto LAB_000391e8;" goto statement_identifier ;)) (expression_statement "ptVar12 = ptVar11->chars;" (assignment_expression "ptVar12 = ptVar11->chars" identifier = (field_expression "ptVar11->chars" identifier -> field_identifier)) ;) (expression_statement "iVar20 = iVar19;" (assignment_expression "iVar20 = iVar19" identifier = identifier) ;) })) (expression_statement "local_40 = ptVar11->cols;" (assignment_expression "local_40 = ptVar11->cols" identifier = (field_expression "ptVar11->cols" identifier -> field_identifier)) ;) (expression_statement "bVar21 = iVar19 == local_40;" (assignment_expression "bVar21 = iVar19 == local_40" identifier = (binary_expression "iVar19 == local_40" identifier == identifier)) ;) }) while (parenthesized_expression "(iVar19 < local_40)" ( (binary_expression "iVar19 < local_40" identifier < identifier) )) ;) (labeled_statement "LAB_00038e55:\n    if (!bVar21) goto LAB_0003920f;" statement_identifier : (if_statement "if (!bVar21) goto LAB_0003920f;" if (parenthesized_expression "(!bVar21)" ( (unary_expression "!bVar21" ! identifier) )) (goto_statement "goto LAB_0003920f;" goto statement_identifier ;))) (if_statement "if (iVar19 < 1) {\n      iVar17 = 0;\n    }\n    else {\n      iVar17 = 0;\n      do {\n        iVar20 = buffer.len + 1;\n        bVar14 = buffer.data[buffer.len];\n        if ((char)bVar14 < '\0') {\n          iVar16 = iVar20;\n          if (iVar19 <= iVar17) goto LAB_000391c0;\n          iVar1 = buffer.len + 2;\n          iVar6 = iVar17 + -0x7e;\n          iVar2 = buffer.len + 4;\n          iVar3 = buffer.len + 3;\n          iVar4 = buffer.len + 5;\n          local_68 = &ptVar11->chars[iVar17].attr;\n          while( true ) {\n            uVar15 = (uint)CONCAT11(buffer.data[iVar20],buffer.data[iVar1]);\n            buffer.len = iVar3;\n            if (0x7fff < uVar15) {\n              uVar15 = (uVar15 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(buffer.data[iVar3],buffer.data[iVar2]);\n              buffer.len = iVar4;\n            }\n            iVar17 = iVar17 + 1;\n            *local_68 = (uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0 |\n                        uVar15 << 4 & 0x1f00 | uVar15 & 0xf |\n                        ((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar17 == iVar6 + (uint)bVar14) break;\n            local_68 = local_68 + 3;\n            iVar16 = buffer.len;\n            if (iVar17 == iVar19) goto LAB_000391c0;\n          }\n        }\n        else {\n          buffer.len = iVar20;\n          if (iVar19 <= iVar17) goto LAB_000391e8;\n          iVar16 = iVar17 + 1;\n          local_68 = &ptVar11->chars[iVar17].attr;\n          iVar17 = iVar16;\n          while( true ) {\n            buffer.len = iVar20 + 2;\n            uVar15 = (uint)CONCAT11(buffer.data[iVar20],buffer.data[iVar20 + 1]);\n            if (0x7fff < uVar15) {\n              buffer.len = iVar20 + 4;\n              uVar15 = (uVar15 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(buffer.data[iVar20 + 2],buffer.data[iVar20 + 3]);\n            }\n            *local_68 = ((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0 |\n                        uVar15 << 4 & 0x1f00 | uVar15 & 0xf;\n            if ((uint)bVar14 + iVar16 == iVar17) break;\n            local_68 = local_68 + 3;\n            bVar21 = iVar19 == iVar17;\n            iVar20 = buffer.len;\n            iVar17 = iVar17 + 1;\n            if (bVar21) goto LAB_000391e8;\n          }\n        }\n      } while (iVar17 < iVar19);\n    }" if (parenthesized_expression "(iVar19 < 1)" ( (binary_expression "iVar19 < 1" identifier < number_literal) )) (compound_statement "{\n      iVar17 = 0;\n    }" { (expression_statement "iVar17 = 0;" (assignment_expression "iVar17 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      iVar17 = 0;\n      do {\n        iVar20 = buffer.len + 1;\n        bVar14 = buffer.data[buffer.len];\n        if ((char)bVar14 < '\0') {\n          iVar16 = iVar20;\n          if (iVar19 <= iVar17) goto LAB_000391c0;\n          iVar1 = buffer.len + 2;\n          iVar6 = iVar17 + -0x7e;\n          iVar2 = buffer.len + 4;\n          iVar3 = buffer.len + 3;\n          iVar4 = buffer.len + 5;\n          local_68 = &ptVar11->chars[iVar17].attr;\n          while( true ) {\n            uVar15 = (uint)CONCAT11(buffer.data[iVar20],buffer.data[iVar1]);\n            buffer.len = iVar3;\n            if (0x7fff < uVar15) {\n              uVar15 = (uVar15 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(buffer.data[iVar3],buffer.data[iVar2]);\n              buffer.len = iVar4;\n            }\n            iVar17 = iVar17 + 1;\n            *local_68 = (uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0 |\n                        uVar15 << 4 & 0x1f00 | uVar15 & 0xf |\n                        ((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar17 == iVar6 + (uint)bVar14) break;\n            local_68 = local_68 + 3;\n            iVar16 = buffer.len;\n            if (iVar17 == iVar19) goto LAB_000391c0;\n          }\n        }\n        else {\n          buffer.len = iVar20;\n          if (iVar19 <= iVar17) goto LAB_000391e8;\n          iVar16 = iVar17 + 1;\n          local_68 = &ptVar11->chars[iVar17].attr;\n          iVar17 = iVar16;\n          while( true ) {\n            buffer.len = iVar20 + 2;\n            uVar15 = (uint)CONCAT11(buffer.data[iVar20],buffer.data[iVar20 + 1]);\n            if (0x7fff < uVar15) {\n              buffer.len = iVar20 + 4;\n              uVar15 = (uVar15 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(buffer.data[iVar20 + 2],buffer.data[iVar20 + 3]);\n            }\n            *local_68 = ((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0 |\n                        uVar15 << 4 & 0x1f00 | uVar15 & 0xf;\n            if ((uint)bVar14 + iVar16 == iVar17) break;\n            local_68 = local_68 + 3;\n            bVar21 = iVar19 == iVar17;\n            iVar20 = buffer.len;\n            iVar17 = iVar17 + 1;\n            if (bVar21) goto LAB_000391e8;\n          }\n        }\n      } while (iVar17 < iVar19);\n    }" else (compound_statement "{\n      iVar17 = 0;\n      do {\n        iVar20 = buffer.len + 1;\n        bVar14 = buffer.data[buffer.len];\n        if ((char)bVar14 < '\0') {\n          iVar16 = iVar20;\n          if (iVar19 <= iVar17) goto LAB_000391c0;\n          iVar1 = buffer.len + 2;\n          iVar6 = iVar17 + -0x7e;\n          iVar2 = buffer.len + 4;\n          iVar3 = buffer.len + 3;\n          iVar4 = buffer.len + 5;\n          local_68 = &ptVar11->chars[iVar17].attr;\n          while( true ) {\n            uVar15 = (uint)CONCAT11(buffer.data[iVar20],buffer.data[iVar1]);\n            buffer.len = iVar3;\n            if (0x7fff < uVar15) {\n              uVar15 = (uVar15 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(buffer.data[iVar3],buffer.data[iVar2]);\n              buffer.len = iVar4;\n            }\n            iVar17 = iVar17 + 1;\n            *local_68 = (uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0 |\n                        uVar15 << 4 & 0x1f00 | uVar15 & 0xf |\n                        ((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar17 == iVar6 + (uint)bVar14) break;\n            local_68 = local_68 + 3;\n            iVar16 = buffer.len;\n            if (iVar17 == iVar19) goto LAB_000391c0;\n          }\n        }\n        else {\n          buffer.len = iVar20;\n          if (iVar19 <= iVar17) goto LAB_000391e8;\n          iVar16 = iVar17 + 1;\n          local_68 = &ptVar11->chars[iVar17].attr;\n          iVar17 = iVar16;\n          while( true ) {\n            buffer.len = iVar20 + 2;\n            uVar15 = (uint)CONCAT11(buffer.data[iVar20],buffer.data[iVar20 + 1]);\n            if (0x7fff < uVar15) {\n              buffer.len = iVar20 + 4;\n              uVar15 = (uVar15 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(buffer.data[iVar20 + 2],buffer.data[iVar20 + 3]);\n            }\n            *local_68 = ((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0 |\n                        uVar15 << 4 & 0x1f00 | uVar15 & 0xf;\n            if ((uint)bVar14 + iVar16 == iVar17) break;\n            local_68 = local_68 + 3;\n            bVar21 = iVar19 == iVar17;\n            iVar20 = buffer.len;\n            iVar17 = iVar17 + 1;\n            if (bVar21) goto LAB_000391e8;\n          }\n        }\n      } while (iVar17 < iVar19);\n    }" { (expression_statement "iVar17 = 0;" (assignment_expression "iVar17 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar20 = buffer.len + 1;\n        bVar14 = buffer.data[buffer.len];\n        if ((char)bVar14 < '\0') {\n          iVar16 = iVar20;\n          if (iVar19 <= iVar17) goto LAB_000391c0;\n          iVar1 = buffer.len + 2;\n          iVar6 = iVar17 + -0x7e;\n          iVar2 = buffer.len + 4;\n          iVar3 = buffer.len + 3;\n          iVar4 = buffer.len + 5;\n          local_68 = &ptVar11->chars[iVar17].attr;\n          while( true ) {\n            uVar15 = (uint)CONCAT11(buffer.data[iVar20],buffer.data[iVar1]);\n            buffer.len = iVar3;\n            if (0x7fff < uVar15) {\n              uVar15 = (uVar15 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(buffer.data[iVar3],buffer.data[iVar2]);\n              buffer.len = iVar4;\n            }\n            iVar17 = iVar17 + 1;\n            *local_68 = (uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0 |\n                        uVar15 << 4 & 0x1f00 | uVar15 & 0xf |\n                        ((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar17 == iVar6 + (uint)bVar14) break;\n            local_68 = local_68 + 3;\n            iVar16 = buffer.len;\n            if (iVar17 == iVar19) goto LAB_000391c0;\n          }\n        }\n        else {\n          buffer.len = iVar20;\n          if (iVar19 <= iVar17) goto LAB_000391e8;\n          iVar16 = iVar17 + 1;\n          local_68 = &ptVar11->chars[iVar17].attr;\n          iVar17 = iVar16;\n          while( true ) {\n            buffer.len = iVar20 + 2;\n            uVar15 = (uint)CONCAT11(buffer.data[iVar20],buffer.data[iVar20 + 1]);\n            if (0x7fff < uVar15) {\n              buffer.len = iVar20 + 4;\n              uVar15 = (uVar15 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(buffer.data[iVar20 + 2],buffer.data[iVar20 + 3]);\n            }\n            *local_68 = ((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0 |\n                        uVar15 << 4 & 0x1f00 | uVar15 & 0xf;\n            if ((uint)bVar14 + iVar16 == iVar17) break;\n            local_68 = local_68 + 3;\n            bVar21 = iVar19 == iVar17;\n            iVar20 = buffer.len;\n            iVar17 = iVar17 + 1;\n            if (bVar21) goto LAB_000391e8;\n          }\n        }\n      } while (iVar17 < iVar19);" do (compound_statement "{\n        iVar20 = buffer.len + 1;\n        bVar14 = buffer.data[buffer.len];\n        if ((char)bVar14 < '\0') {\n          iVar16 = iVar20;\n          if (iVar19 <= iVar17) goto LAB_000391c0;\n          iVar1 = buffer.len + 2;\n          iVar6 = iVar17 + -0x7e;\n          iVar2 = buffer.len + 4;\n          iVar3 = buffer.len + 3;\n          iVar4 = buffer.len + 5;\n          local_68 = &ptVar11->chars[iVar17].attr;\n          while( true ) {\n            uVar15 = (uint)CONCAT11(buffer.data[iVar20],buffer.data[iVar1]);\n            buffer.len = iVar3;\n            if (0x7fff < uVar15) {\n              uVar15 = (uVar15 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(buffer.data[iVar3],buffer.data[iVar2]);\n              buffer.len = iVar4;\n            }\n            iVar17 = iVar17 + 1;\n            *local_68 = (uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0 |\n                        uVar15 << 4 & 0x1f00 | uVar15 & 0xf |\n                        ((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar17 == iVar6 + (uint)bVar14) break;\n            local_68 = local_68 + 3;\n            iVar16 = buffer.len;\n            if (iVar17 == iVar19) goto LAB_000391c0;\n          }\n        }\n        else {\n          buffer.len = iVar20;\n          if (iVar19 <= iVar17) goto LAB_000391e8;\n          iVar16 = iVar17 + 1;\n          local_68 = &ptVar11->chars[iVar17].attr;\n          iVar17 = iVar16;\n          while( true ) {\n            buffer.len = iVar20 + 2;\n            uVar15 = (uint)CONCAT11(buffer.data[iVar20],buffer.data[iVar20 + 1]);\n            if (0x7fff < uVar15) {\n              buffer.len = iVar20 + 4;\n              uVar15 = (uVar15 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(buffer.data[iVar20 + 2],buffer.data[iVar20 + 3]);\n            }\n            *local_68 = ((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0 |\n                        uVar15 << 4 & 0x1f00 | uVar15 & 0xf;\n            if ((uint)bVar14 + iVar16 == iVar17) break;\n            local_68 = local_68 + 3;\n            bVar21 = iVar19 == iVar17;\n            iVar20 = buffer.len;\n            iVar17 = iVar17 + 1;\n            if (bVar21) goto LAB_000391e8;\n          }\n        }\n      }" { (expression_statement "iVar20 = buffer.len + 1;" (assignment_expression "iVar20 = buffer.len + 1" identifier = (binary_expression "buffer.len + 1" (field_expression "buffer.len" identifier . field_identifier) + number_literal)) ;) (expression_statement "bVar14 = buffer.data[buffer.len];" (assignment_expression "bVar14 = buffer.data[buffer.len]" identifier = (subscript_expression "buffer.data[buffer.len]" (field_expression "buffer.data" identifier . field_identifier) [ (field_expression "buffer.len" identifier . field_identifier) ])) ;) (if_statement "if ((char)bVar14 < '\0') {\n          iVar16 = iVar20;\n          if (iVar19 <= iVar17) goto LAB_000391c0;\n          iVar1 = buffer.len + 2;\n          iVar6 = iVar17 + -0x7e;\n          iVar2 = buffer.len + 4;\n          iVar3 = buffer.len + 3;\n          iVar4 = buffer.len + 5;\n          local_68 = &ptVar11->chars[iVar17].attr;\n          while( true ) {\n            uVar15 = (uint)CONCAT11(buffer.data[iVar20],buffer.data[iVar1]);\n            buffer.len = iVar3;\n            if (0x7fff < uVar15) {\n              uVar15 = (uVar15 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(buffer.data[iVar3],buffer.data[iVar2]);\n              buffer.len = iVar4;\n            }\n            iVar17 = iVar17 + 1;\n            *local_68 = (uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0 |\n                        uVar15 << 4 & 0x1f00 | uVar15 & 0xf |\n                        ((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar17 == iVar6 + (uint)bVar14) break;\n            local_68 = local_68 + 3;\n            iVar16 = buffer.len;\n            if (iVar17 == iVar19) goto LAB_000391c0;\n          }\n        }\n        else {\n          buffer.len = iVar20;\n          if (iVar19 <= iVar17) goto LAB_000391e8;\n          iVar16 = iVar17 + 1;\n          local_68 = &ptVar11->chars[iVar17].attr;\n          iVar17 = iVar16;\n          while( true ) {\n            buffer.len = iVar20 + 2;\n            uVar15 = (uint)CONCAT11(buffer.data[iVar20],buffer.data[iVar20 + 1]);\n            if (0x7fff < uVar15) {\n              buffer.len = iVar20 + 4;\n              uVar15 = (uVar15 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(buffer.data[iVar20 + 2],buffer.data[iVar20 + 3]);\n            }\n            *local_68 = ((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0 |\n                        uVar15 << 4 & 0x1f00 | uVar15 & 0xf;\n            if ((uint)bVar14 + iVar16 == iVar17) break;\n            local_68 = local_68 + 3;\n            bVar21 = iVar19 == iVar17;\n            iVar20 = buffer.len;\n            iVar17 = iVar17 + 1;\n            if (bVar21) goto LAB_000391e8;\n          }\n        }" if (parenthesized_expression "((char)bVar14 < '\0')" ( (binary_expression "(char)bVar14 < '\0'" (cast_expression "(char)bVar14" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar16 = iVar20;\n          if (iVar19 <= iVar17) goto LAB_000391c0;\n          iVar1 = buffer.len + 2;\n          iVar6 = iVar17 + -0x7e;\n          iVar2 = buffer.len + 4;\n          iVar3 = buffer.len + 3;\n          iVar4 = buffer.len + 5;\n          local_68 = &ptVar11->chars[iVar17].attr;\n          while( true ) {\n            uVar15 = (uint)CONCAT11(buffer.data[iVar20],buffer.data[iVar1]);\n            buffer.len = iVar3;\n            if (0x7fff < uVar15) {\n              uVar15 = (uVar15 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(buffer.data[iVar3],buffer.data[iVar2]);\n              buffer.len = iVar4;\n            }\n            iVar17 = iVar17 + 1;\n            *local_68 = (uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0 |\n                        uVar15 << 4 & 0x1f00 | uVar15 & 0xf |\n                        ((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar17 == iVar6 + (uint)bVar14) break;\n            local_68 = local_68 + 3;\n            iVar16 = buffer.len;\n            if (iVar17 == iVar19) goto LAB_000391c0;\n          }\n        }" { (expression_statement "iVar16 = iVar20;" (assignment_expression "iVar16 = iVar20" identifier = identifier) ;) (if_statement "if (iVar19 <= iVar17) goto LAB_000391c0;" if (parenthesized_expression "(iVar19 <= iVar17)" ( (binary_expression "iVar19 <= iVar17" identifier <= identifier) )) (goto_statement "goto LAB_000391c0;" goto statement_identifier ;)) (expression_statement "iVar1 = buffer.len + 2;" (assignment_expression "iVar1 = buffer.len + 2" identifier = (binary_expression "buffer.len + 2" (field_expression "buffer.len" identifier . field_identifier) + number_literal)) ;) (expression_statement "iVar6 = iVar17 + -0x7e;" (assignment_expression "iVar6 = iVar17 + -0x7e" identifier = (binary_expression "iVar17 + -0x7e" identifier + number_literal)) ;) (expression_statement "iVar2 = buffer.len + 4;" (assignment_expression "iVar2 = buffer.len + 4" identifier = (binary_expression "buffer.len + 4" (field_expression "buffer.len" identifier . field_identifier) + number_literal)) ;) (expression_statement "iVar3 = buffer.len + 3;" (assignment_expression "iVar3 = buffer.len + 3" identifier = (binary_expression "buffer.len + 3" (field_expression "buffer.len" identifier . field_identifier) + number_literal)) ;) (expression_statement "iVar4 = buffer.len + 5;" (assignment_expression "iVar4 = buffer.len + 5" identifier = (binary_expression "buffer.len + 5" (field_expression "buffer.len" identifier . field_identifier) + number_literal)) ;) (expression_statement "local_68 = &ptVar11->chars[iVar17].attr;" (assignment_expression "local_68 = &ptVar11->chars[iVar17].attr" identifier = (pointer_expression "&ptVar11->chars[iVar17].attr" & (field_expression "ptVar11->chars[iVar17].attr" (subscript_expression "ptVar11->chars[iVar17]" (field_expression "ptVar11->chars" identifier -> field_identifier) [ identifier ]) . field_identifier))) ;) (while_statement "while( true ) {\n            uVar15 = (uint)CONCAT11(buffer.data[iVar20],buffer.data[iVar1]);\n            buffer.len = iVar3;\n            if (0x7fff < uVar15) {\n              uVar15 = (uVar15 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(buffer.data[iVar3],buffer.data[iVar2]);\n              buffer.len = iVar4;\n            }\n            iVar17 = iVar17 + 1;\n            *local_68 = (uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0 |\n                        uVar15 << 4 & 0x1f00 | uVar15 & 0xf |\n                        ((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar17 == iVar6 + (uint)bVar14) break;\n            local_68 = local_68 + 3;\n            iVar16 = buffer.len;\n            if (iVar17 == iVar19) goto LAB_000391c0;\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            uVar15 = (uint)CONCAT11(buffer.data[iVar20],buffer.data[iVar1]);\n            buffer.len = iVar3;\n            if (0x7fff < uVar15) {\n              uVar15 = (uVar15 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(buffer.data[iVar3],buffer.data[iVar2]);\n              buffer.len = iVar4;\n            }\n            iVar17 = iVar17 + 1;\n            *local_68 = (uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0 |\n                        uVar15 << 4 & 0x1f00 | uVar15 & 0xf |\n                        ((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar17 == iVar6 + (uint)bVar14) break;\n            local_68 = local_68 + 3;\n            iVar16 = buffer.len;\n            if (iVar17 == iVar19) goto LAB_000391c0;\n          }" { (expression_statement "uVar15 = (uint)CONCAT11(buffer.data[iVar20],buffer.data[iVar1]);" (assignment_expression "uVar15 = (uint)CONCAT11(buffer.data[iVar20],buffer.data[iVar1])" identifier = (cast_expression "(uint)CONCAT11(buffer.data[iVar20],buffer.data[iVar1])" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(buffer.data[iVar20],buffer.data[iVar1])" identifier (argument_list "(buffer.data[iVar20],buffer.data[iVar1])" ( (subscript_expression "buffer.data[iVar20]" (field_expression "buffer.data" identifier . field_identifier) [ identifier ]) , (subscript_expression "buffer.data[iVar1]" (field_expression "buffer.data" identifier . field_identifier) [ identifier ]) ))))) ;) (expression_statement "buffer.len = iVar3;" (assignment_expression "buffer.len = iVar3" (field_expression "buffer.len" identifier . field_identifier) = identifier) ;) (if_statement "if (0x7fff < uVar15) {\n              uVar15 = (uVar15 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(buffer.data[iVar3],buffer.data[iVar2]);\n              buffer.len = iVar4;\n            }" if (parenthesized_expression "(0x7fff < uVar15)" ( (binary_expression "0x7fff < uVar15" number_literal < identifier) )) (compound_statement "{\n              uVar15 = (uVar15 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(buffer.data[iVar3],buffer.data[iVar2]);\n              buffer.len = iVar4;\n            }" { (expression_statement "uVar15 = (uVar15 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(buffer.data[iVar3],buffer.data[iVar2]);" (assignment_expression "uVar15 = (uVar15 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(buffer.data[iVar3],buffer.data[iVar2])" identifier = (binary_expression "(uVar15 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(buffer.data[iVar3],buffer.data[iVar2])" (binary_expression "(uVar15 & 0x7fff) << 0x10" (parenthesized_expression "(uVar15 & 0x7fff)" ( (binary_expression "uVar15 & 0x7fff" identifier & number_literal) )) << number_literal) | (cast_expression "(uint)CONCAT11(buffer.data[iVar3],buffer.data[iVar2])" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(buffer.data[iVar3],buffer.data[iVar2])" identifier (argument_list "(buffer.data[iVar3],buffer.data[iVar2])" ( (subscript_expression "buffer.data[iVar3]" (field_expression "buffer.data" identifier . field_identifier) [ identifier ]) , (subscript_expression "buffer.data[iVar2]" (field_expression "buffer.data" identifier . field_identifier) [ identifier ]) )))))) ;) (expression_statement "buffer.len = iVar4;" (assignment_expression "buffer.len = iVar4" (field_expression "buffer.len" identifier . field_identifier) = identifier) ;) })) (expression_statement "iVar17 = iVar17 + 1;" (assignment_expression "iVar17 = iVar17 + 1" identifier = (binary_expression "iVar17 + 1" identifier + number_literal)) ;) (expression_statement "*local_68 = (uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0 |\n                        uVar15 << 4 & 0x1f00 | uVar15 & 0xf |\n                        ((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11;" (assignment_expression "*local_68 = (uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0 |\n                        uVar15 << 4 & 0x1f00 | uVar15 & 0xf |\n                        ((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11" (pointer_expression "*local_68" * identifier) = (binary_expression "(uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0 |\n                        uVar15 << 4 & 0x1f00 | uVar15 & 0xf |\n                        ((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11" (binary_expression "(uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0 |\n                        uVar15 << 4 & 0x1f00 | uVar15 & 0xf" (binary_expression "(uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0 |\n                        uVar15 << 4 & 0x1f00" (binary_expression "(uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0" (binary_expression "(uVar15 >> 0x1b) << 0xd" (parenthesized_expression "(uVar15 >> 0x1b)" ( (binary_expression "uVar15 >> 0x1b" identifier >> number_literal) )) << number_literal) | (binary_expression "uVar15 >> 0x13 & 0xf0" (binary_expression "uVar15 >> 0x13" identifier >> number_literal) & number_literal)) | (binary_expression "uVar15 << 4 & 0x1f00" (binary_expression "uVar15 << 4" identifier << number_literal) & number_literal)) | (binary_expression "uVar15 & 0xf" identifier & number_literal)) | (binary_expression "((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11" (parenthesized_expression "((uVar15 << 4 & 0x7ffff00) >> 0xd)" ( (binary_expression "(uVar15 << 4 & 0x7ffff00) >> 0xd" (parenthesized_expression "(uVar15 << 4 & 0x7ffff00)" ( (binary_expression "uVar15 << 4 & 0x7ffff00" (binary_expression "uVar15 << 4" identifier << number_literal) & number_literal) )) >> number_literal) )) << number_literal))) ;) (if_statement "if (iVar17 == iVar6 + (uint)bVar14) break;" if (parenthesized_expression "(iVar17 == iVar6 + (uint)bVar14)" ( (binary_expression "iVar17 == iVar6 + (uint)bVar14" identifier == (binary_expression "iVar6 + (uint)bVar14" identifier + (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier))) )) (break_statement "break;" break ;)) (expression_statement "local_68 = local_68 + 3;" (assignment_expression "local_68 = local_68 + 3" identifier = (binary_expression "local_68 + 3" identifier + number_literal)) ;) (expression_statement "iVar16 = buffer.len;" (assignment_expression "iVar16 = buffer.len" identifier = (field_expression "buffer.len" identifier . field_identifier)) ;) (if_statement "if (iVar17 == iVar19) goto LAB_000391c0;" if (parenthesized_expression "(iVar17 == iVar19)" ( (binary_expression "iVar17 == iVar19" identifier == identifier) )) (goto_statement "goto LAB_000391c0;" goto statement_identifier ;)) })) }) (else_clause "else {\n          buffer.len = iVar20;\n          if (iVar19 <= iVar17) goto LAB_000391e8;\n          iVar16 = iVar17 + 1;\n          local_68 = &ptVar11->chars[iVar17].attr;\n          iVar17 = iVar16;\n          while( true ) {\n            buffer.len = iVar20 + 2;\n            uVar15 = (uint)CONCAT11(buffer.data[iVar20],buffer.data[iVar20 + 1]);\n            if (0x7fff < uVar15) {\n              buffer.len = iVar20 + 4;\n              uVar15 = (uVar15 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(buffer.data[iVar20 + 2],buffer.data[iVar20 + 3]);\n            }\n            *local_68 = ((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0 |\n                        uVar15 << 4 & 0x1f00 | uVar15 & 0xf;\n            if ((uint)bVar14 + iVar16 == iVar17) break;\n            local_68 = local_68 + 3;\n            bVar21 = iVar19 == iVar17;\n            iVar20 = buffer.len;\n            iVar17 = iVar17 + 1;\n            if (bVar21) goto LAB_000391e8;\n          }\n        }" else (compound_statement "{\n          buffer.len = iVar20;\n          if (iVar19 <= iVar17) goto LAB_000391e8;\n          iVar16 = iVar17 + 1;\n          local_68 = &ptVar11->chars[iVar17].attr;\n          iVar17 = iVar16;\n          while( true ) {\n            buffer.len = iVar20 + 2;\n            uVar15 = (uint)CONCAT11(buffer.data[iVar20],buffer.data[iVar20 + 1]);\n            if (0x7fff < uVar15) {\n              buffer.len = iVar20 + 4;\n              uVar15 = (uVar15 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(buffer.data[iVar20 + 2],buffer.data[iVar20 + 3]);\n            }\n            *local_68 = ((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0 |\n                        uVar15 << 4 & 0x1f00 | uVar15 & 0xf;\n            if ((uint)bVar14 + iVar16 == iVar17) break;\n            local_68 = local_68 + 3;\n            bVar21 = iVar19 == iVar17;\n            iVar20 = buffer.len;\n            iVar17 = iVar17 + 1;\n            if (bVar21) goto LAB_000391e8;\n          }\n        }" { (expression_statement "buffer.len = iVar20;" (assignment_expression "buffer.len = iVar20" (field_expression "buffer.len" identifier . field_identifier) = identifier) ;) (if_statement "if (iVar19 <= iVar17) goto LAB_000391e8;" if (parenthesized_expression "(iVar19 <= iVar17)" ( (binary_expression "iVar19 <= iVar17" identifier <= identifier) )) (goto_statement "goto LAB_000391e8;" goto statement_identifier ;)) (expression_statement "iVar16 = iVar17 + 1;" (assignment_expression "iVar16 = iVar17 + 1" identifier = (binary_expression "iVar17 + 1" identifier + number_literal)) ;) (expression_statement "local_68 = &ptVar11->chars[iVar17].attr;" (assignment_expression "local_68 = &ptVar11->chars[iVar17].attr" identifier = (pointer_expression "&ptVar11->chars[iVar17].attr" & (field_expression "ptVar11->chars[iVar17].attr" (subscript_expression "ptVar11->chars[iVar17]" (field_expression "ptVar11->chars" identifier -> field_identifier) [ identifier ]) . field_identifier))) ;) (expression_statement "iVar17 = iVar16;" (assignment_expression "iVar17 = iVar16" identifier = identifier) ;) (while_statement "while( true ) {\n            buffer.len = iVar20 + 2;\n            uVar15 = (uint)CONCAT11(buffer.data[iVar20],buffer.data[iVar20 + 1]);\n            if (0x7fff < uVar15) {\n              buffer.len = iVar20 + 4;\n              uVar15 = (uVar15 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(buffer.data[iVar20 + 2],buffer.data[iVar20 + 3]);\n            }\n            *local_68 = ((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0 |\n                        uVar15 << 4 & 0x1f00 | uVar15 & 0xf;\n            if ((uint)bVar14 + iVar16 == iVar17) break;\n            local_68 = local_68 + 3;\n            bVar21 = iVar19 == iVar17;\n            iVar20 = buffer.len;\n            iVar17 = iVar17 + 1;\n            if (bVar21) goto LAB_000391e8;\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            buffer.len = iVar20 + 2;\n            uVar15 = (uint)CONCAT11(buffer.data[iVar20],buffer.data[iVar20 + 1]);\n            if (0x7fff < uVar15) {\n              buffer.len = iVar20 + 4;\n              uVar15 = (uVar15 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(buffer.data[iVar20 + 2],buffer.data[iVar20 + 3]);\n            }\n            *local_68 = ((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0 |\n                        uVar15 << 4 & 0x1f00 | uVar15 & 0xf;\n            if ((uint)bVar14 + iVar16 == iVar17) break;\n            local_68 = local_68 + 3;\n            bVar21 = iVar19 == iVar17;\n            iVar20 = buffer.len;\n            iVar17 = iVar17 + 1;\n            if (bVar21) goto LAB_000391e8;\n          }" { (expression_statement "buffer.len = iVar20 + 2;" (assignment_expression "buffer.len = iVar20 + 2" (field_expression "buffer.len" identifier . field_identifier) = (binary_expression "iVar20 + 2" identifier + number_literal)) ;) (expression_statement "uVar15 = (uint)CONCAT11(buffer.data[iVar20],buffer.data[iVar20 + 1]);" (assignment_expression "uVar15 = (uint)CONCAT11(buffer.data[iVar20],buffer.data[iVar20 + 1])" identifier = (cast_expression "(uint)CONCAT11(buffer.data[iVar20],buffer.data[iVar20 + 1])" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(buffer.data[iVar20],buffer.data[iVar20 + 1])" identifier (argument_list "(buffer.data[iVar20],buffer.data[iVar20 + 1])" ( (subscript_expression "buffer.data[iVar20]" (field_expression "buffer.data" identifier . field_identifier) [ identifier ]) , (subscript_expression "buffer.data[iVar20 + 1]" (field_expression "buffer.data" identifier . field_identifier) [ (binary_expression "iVar20 + 1" identifier + number_literal) ]) ))))) ;) (if_statement "if (0x7fff < uVar15) {\n              buffer.len = iVar20 + 4;\n              uVar15 = (uVar15 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(buffer.data[iVar20 + 2],buffer.data[iVar20 + 3]);\n            }" if (parenthesized_expression "(0x7fff < uVar15)" ( (binary_expression "0x7fff < uVar15" number_literal < identifier) )) (compound_statement "{\n              buffer.len = iVar20 + 4;\n              uVar15 = (uVar15 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(buffer.data[iVar20 + 2],buffer.data[iVar20 + 3]);\n            }" { (expression_statement "buffer.len = iVar20 + 4;" (assignment_expression "buffer.len = iVar20 + 4" (field_expression "buffer.len" identifier . field_identifier) = (binary_expression "iVar20 + 4" identifier + number_literal)) ;) (expression_statement "uVar15 = (uVar15 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(buffer.data[iVar20 + 2],buffer.data[iVar20 + 3]);" (assignment_expression "uVar15 = (uVar15 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(buffer.data[iVar20 + 2],buffer.data[iVar20 + 3])" identifier = (binary_expression "(uVar15 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(buffer.data[iVar20 + 2],buffer.data[iVar20 + 3])" (binary_expression "(uVar15 & 0x7fff) << 0x10" (parenthesized_expression "(uVar15 & 0x7fff)" ( (binary_expression "uVar15 & 0x7fff" identifier & number_literal) )) << number_literal) | (cast_expression "(uint)CONCAT11(buffer.data[iVar20 + 2],buffer.data[iVar20 + 3])" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(buffer.data[iVar20 + 2],buffer.data[iVar20 + 3])" identifier (argument_list "(buffer.data[iVar20 + 2],buffer.data[iVar20 + 3])" ( (subscript_expression "buffer.data[iVar20 + 2]" (field_expression "buffer.data" identifier . field_identifier) [ (binary_expression "iVar20 + 2" identifier + number_literal) ]) , (subscript_expression "buffer.data[iVar20 + 3]" (field_expression "buffer.data" identifier . field_identifier) [ (binary_expression "iVar20 + 3" identifier + number_literal) ]) )))))) ;) })) (expression_statement "*local_68 = ((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0 |\n                        uVar15 << 4 & 0x1f00 | uVar15 & 0xf;" (assignment_expression "*local_68 = ((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0 |\n                        uVar15 << 4 & 0x1f00 | uVar15 & 0xf" (pointer_expression "*local_68" * identifier) = (binary_expression "((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0 |\n                        uVar15 << 4 & 0x1f00 | uVar15 & 0xf" (binary_expression "((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0 |\n                        uVar15 << 4 & 0x1f00" (binary_expression "((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar15 >> 0x1b) << 0xd | uVar15 >> 0x13 & 0xf0" (binary_expression "((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar15 >> 0x1b) << 0xd" (binary_expression "((uVar15 << 4 & 0x7ffff00) >> 0xd) << 0x11" (parenthesized_expression "((uVar15 << 4 & 0x7ffff00) >> 0xd)" ( (binary_expression "(uVar15 << 4 & 0x7ffff00) >> 0xd" (parenthesized_expression "(uVar15 << 4 & 0x7ffff00)" ( (binary_expression "uVar15 << 4 & 0x7ffff00" (binary_expression "uVar15 << 4" identifier << number_literal) & number_literal) )) >> number_literal) )) << number_literal) | (binary_expression "(uVar15 >> 0x1b) << 0xd" (parenthesized_expression "(uVar15 >> 0x1b)" ( (binary_expression "uVar15 >> 0x1b" identifier >> number_literal) )) << number_literal)) | (binary_expression "uVar15 >> 0x13 & 0xf0" (binary_expression "uVar15 >> 0x13" identifier >> number_literal) & number_literal)) | (binary_expression "uVar15 << 4 & 0x1f00" (binary_expression "uVar15 << 4" identifier << number_literal) & number_literal)) | (binary_expression "uVar15 & 0xf" identifier & number_literal))) ;) (if_statement "if ((uint)bVar14 + iVar16 == iVar17) break;" if (parenthesized_expression "((uint)bVar14 + iVar16 == iVar17)" ( (binary_expression "(uint)bVar14 + iVar16 == iVar17" (binary_expression "(uint)bVar14 + iVar16" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) + identifier) == identifier) )) (break_statement "break;" break ;)) (expression_statement "local_68 = local_68 + 3;" (assignment_expression "local_68 = local_68 + 3" identifier = (binary_expression "local_68 + 3" identifier + number_literal)) ;) (expression_statement "bVar21 = iVar19 == iVar17;" (assignment_expression "bVar21 = iVar19 == iVar17" identifier = (binary_expression "iVar19 == iVar17" identifier == identifier)) ;) (expression_statement "iVar20 = buffer.len;" (assignment_expression "iVar20 = buffer.len" identifier = (field_expression "buffer.len" identifier . field_identifier)) ;) (expression_statement "iVar17 = iVar17 + 1;" (assignment_expression "iVar17 = iVar17 + 1" identifier = (binary_expression "iVar17 + 1" identifier + number_literal)) ;) (if_statement "if (bVar21) goto LAB_000391e8;" if (parenthesized_expression "(bVar21)" ( identifier )) (goto_statement "goto LAB_000391e8;" goto statement_identifier ;)) })) }))) }) while (parenthesized_expression "(iVar17 < iVar19)" ( (binary_expression "iVar17 < iVar19" identifier < identifier) )) ;) }))) (if_statement "if (iVar19 != iVar17) goto LAB_0003920f;" if (parenthesized_expression "(iVar19 != iVar17)" ( (binary_expression "iVar19 != iVar17" identifier != identifier) )) (goto_statement "goto LAB_0003920f;" goto statement_identifier ;)) }))) (expression_statement "pbVar22 = &buffer;" (assignment_expression "pbVar22 = &buffer" identifier = (pointer_expression "&buffer" & identifier)) ;) (expression_statement "iVar19 = 0;" (assignment_expression "iVar19 = 0" identifier = number_literal) ;) (expression_statement "state_1 = 0;" (assignment_expression "state_1 = 0" identifier = number_literal) ;) (expression_statement "bVar21 = local_40 == 0;" (assignment_expression "bVar21 = local_40 == 0" identifier = (binary_expression "local_40 == 0" identifier == number_literal)) ;) (if_statement "if (0 < local_40) {\n    do {\n      iVar17 = buffer.len + 1;\n      bVar14 = buffer.data[buffer.len];\n      buffer.len = iVar17;\n      if ((char)bVar14 < '\0') {\n        iVar20 = iVar19 + 1;\n        readliteral_cc((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90);\n        iVar19 = iVar19 + -0x7e + (uint)bVar14;\n        do {\n          iVar16 = buffer.len;\n          if (ptVar11->cols <= iVar20) goto LAB_000391c0;\n          iVar20 = iVar20 + 1;\n          buffer.len = iVar17;\n          readliteral_cc((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90);\n        } while (iVar20 != iVar19);\n        iVar17 = ptVar11->cols;\n      }\n      else {\n        iVar17 = iVar19 + 1;\n        while( true ) {\n          iVar19 = iVar19 + 1;\n          readliteral_cc((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90);\n          if (iVar17 + (uint)bVar14 == iVar19) break;\n          if (ptVar11->cols <= iVar19) goto LAB_000391e8;\n        }\n        iVar17 = ptVar11->cols;\n      }\n      bVar21 = iVar17 == iVar19;\n    } while (!bVar21 && iVar19 <= iVar17);\n  }" if (parenthesized_expression "(0 < local_40)" ( (binary_expression "0 < local_40" number_literal < identifier) )) (compound_statement "{\n    do {\n      iVar17 = buffer.len + 1;\n      bVar14 = buffer.data[buffer.len];\n      buffer.len = iVar17;\n      if ((char)bVar14 < '\0') {\n        iVar20 = iVar19 + 1;\n        readliteral_cc((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90);\n        iVar19 = iVar19 + -0x7e + (uint)bVar14;\n        do {\n          iVar16 = buffer.len;\n          if (ptVar11->cols <= iVar20) goto LAB_000391c0;\n          iVar20 = iVar20 + 1;\n          buffer.len = iVar17;\n          readliteral_cc((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90);\n        } while (iVar20 != iVar19);\n        iVar17 = ptVar11->cols;\n      }\n      else {\n        iVar17 = iVar19 + 1;\n        while( true ) {\n          iVar19 = iVar19 + 1;\n          readliteral_cc((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90);\n          if (iVar17 + (uint)bVar14 == iVar19) break;\n          if (ptVar11->cols <= iVar19) goto LAB_000391e8;\n        }\n        iVar17 = ptVar11->cols;\n      }\n      bVar21 = iVar17 == iVar19;\n    } while (!bVar21 && iVar19 <= iVar17);\n  }" { (do_statement "do {\n      iVar17 = buffer.len + 1;\n      bVar14 = buffer.data[buffer.len];\n      buffer.len = iVar17;\n      if ((char)bVar14 < '\0') {\n        iVar20 = iVar19 + 1;\n        readliteral_cc((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90);\n        iVar19 = iVar19 + -0x7e + (uint)bVar14;\n        do {\n          iVar16 = buffer.len;\n          if (ptVar11->cols <= iVar20) goto LAB_000391c0;\n          iVar20 = iVar20 + 1;\n          buffer.len = iVar17;\n          readliteral_cc((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90);\n        } while (iVar20 != iVar19);\n        iVar17 = ptVar11->cols;\n      }\n      else {\n        iVar17 = iVar19 + 1;\n        while( true ) {\n          iVar19 = iVar19 + 1;\n          readliteral_cc((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90);\n          if (iVar17 + (uint)bVar14 == iVar19) break;\n          if (ptVar11->cols <= iVar19) goto LAB_000391e8;\n        }\n        iVar17 = ptVar11->cols;\n      }\n      bVar21 = iVar17 == iVar19;\n    } while (!bVar21 && iVar19 <= iVar17);" do (compound_statement "{\n      iVar17 = buffer.len + 1;\n      bVar14 = buffer.data[buffer.len];\n      buffer.len = iVar17;\n      if ((char)bVar14 < '\0') {\n        iVar20 = iVar19 + 1;\n        readliteral_cc((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90);\n        iVar19 = iVar19 + -0x7e + (uint)bVar14;\n        do {\n          iVar16 = buffer.len;\n          if (ptVar11->cols <= iVar20) goto LAB_000391c0;\n          iVar20 = iVar20 + 1;\n          buffer.len = iVar17;\n          readliteral_cc((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90);\n        } while (iVar20 != iVar19);\n        iVar17 = ptVar11->cols;\n      }\n      else {\n        iVar17 = iVar19 + 1;\n        while( true ) {\n          iVar19 = iVar19 + 1;\n          readliteral_cc((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90);\n          if (iVar17 + (uint)bVar14 == iVar19) break;\n          if (ptVar11->cols <= iVar19) goto LAB_000391e8;\n        }\n        iVar17 = ptVar11->cols;\n      }\n      bVar21 = iVar17 == iVar19;\n    }" { (expression_statement "iVar17 = buffer.len + 1;" (assignment_expression "iVar17 = buffer.len + 1" identifier = (binary_expression "buffer.len + 1" (field_expression "buffer.len" identifier . field_identifier) + number_literal)) ;) (expression_statement "bVar14 = buffer.data[buffer.len];" (assignment_expression "bVar14 = buffer.data[buffer.len]" identifier = (subscript_expression "buffer.data[buffer.len]" (field_expression "buffer.data" identifier . field_identifier) [ (field_expression "buffer.len" identifier . field_identifier) ])) ;) (expression_statement "buffer.len = iVar17;" (assignment_expression "buffer.len = iVar17" (field_expression "buffer.len" identifier . field_identifier) = identifier) ;) (if_statement "if ((char)bVar14 < '\0') {\n        iVar20 = iVar19 + 1;\n        readliteral_cc((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90);\n        iVar19 = iVar19 + -0x7e + (uint)bVar14;\n        do {\n          iVar16 = buffer.len;\n          if (ptVar11->cols <= iVar20) goto LAB_000391c0;\n          iVar20 = iVar20 + 1;\n          buffer.len = iVar17;\n          readliteral_cc((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90);\n        } while (iVar20 != iVar19);\n        iVar17 = ptVar11->cols;\n      }\n      else {\n        iVar17 = iVar19 + 1;\n        while( true ) {\n          iVar19 = iVar19 + 1;\n          readliteral_cc((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90);\n          if (iVar17 + (uint)bVar14 == iVar19) break;\n          if (ptVar11->cols <= iVar19) goto LAB_000391e8;\n        }\n        iVar17 = ptVar11->cols;\n      }" if (parenthesized_expression "((char)bVar14 < '\0')" ( (binary_expression "(char)bVar14 < '\0'" (cast_expression "(char)bVar14" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar20 = iVar19 + 1;\n        readliteral_cc((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90);\n        iVar19 = iVar19 + -0x7e + (uint)bVar14;\n        do {\n          iVar16 = buffer.len;\n          if (ptVar11->cols <= iVar20) goto LAB_000391c0;\n          iVar20 = iVar20 + 1;\n          buffer.len = iVar17;\n          readliteral_cc((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90);\n        } while (iVar20 != iVar19);\n        iVar17 = ptVar11->cols;\n      }" { (expression_statement "iVar20 = iVar19 + 1;" (assignment_expression "iVar20 = iVar19 + 1" identifier = (binary_expression "iVar19 + 1" identifier + number_literal)) ;) (expression_statement "readliteral_cc((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90);" (call_expression "readliteral_cc((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90)" identifier (argument_list "((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90)" ( (cast_expression "(buf *)&state_1" ( (type_descriptor "buf *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&state_1" & identifier)) , identifier , identifier , identifier ))) ;) (expression_statement "iVar19 = iVar19 + -0x7e + (uint)bVar14;" (assignment_expression "iVar19 = iVar19 + -0x7e + (uint)bVar14" identifier = (binary_expression "iVar19 + -0x7e + (uint)bVar14" (binary_expression "iVar19 + -0x7e" identifier + number_literal) + (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (do_statement "do {\n          iVar16 = buffer.len;\n          if (ptVar11->cols <= iVar20) goto LAB_000391c0;\n          iVar20 = iVar20 + 1;\n          buffer.len = iVar17;\n          readliteral_cc((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90);\n        } while (iVar20 != iVar19);" do (compound_statement "{\n          iVar16 = buffer.len;\n          if (ptVar11->cols <= iVar20) goto LAB_000391c0;\n          iVar20 = iVar20 + 1;\n          buffer.len = iVar17;\n          readliteral_cc((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90);\n        }" { (expression_statement "iVar16 = buffer.len;" (assignment_expression "iVar16 = buffer.len" identifier = (field_expression "buffer.len" identifier . field_identifier)) ;) (if_statement "if (ptVar11->cols <= iVar20) goto LAB_000391c0;" if (parenthesized_expression "(ptVar11->cols <= iVar20)" ( (binary_expression "ptVar11->cols <= iVar20" (field_expression "ptVar11->cols" identifier -> field_identifier) <= identifier) )) (goto_statement "goto LAB_000391c0;" goto statement_identifier ;)) (expression_statement "iVar20 = iVar20 + 1;" (assignment_expression "iVar20 = iVar20 + 1" identifier = (binary_expression "iVar20 + 1" identifier + number_literal)) ;) (expression_statement "buffer.len = iVar17;" (assignment_expression "buffer.len = iVar17" (field_expression "buffer.len" identifier . field_identifier) = identifier) ;) (expression_statement "readliteral_cc((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90);" (call_expression "readliteral_cc((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90)" identifier (argument_list "((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90)" ( (cast_expression "(buf *)&state_1" ( (type_descriptor "buf *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&state_1" & identifier)) , identifier , identifier , identifier ))) ;) }) while (parenthesized_expression "(iVar20 != iVar19)" ( (binary_expression "iVar20 != iVar19" identifier != identifier) )) ;) (expression_statement "iVar17 = ptVar11->cols;" (assignment_expression "iVar17 = ptVar11->cols" identifier = (field_expression "ptVar11->cols" identifier -> field_identifier)) ;) }) (else_clause "else {\n        iVar17 = iVar19 + 1;\n        while( true ) {\n          iVar19 = iVar19 + 1;\n          readliteral_cc((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90);\n          if (iVar17 + (uint)bVar14 == iVar19) break;\n          if (ptVar11->cols <= iVar19) goto LAB_000391e8;\n        }\n        iVar17 = ptVar11->cols;\n      }" else (compound_statement "{\n        iVar17 = iVar19 + 1;\n        while( true ) {\n          iVar19 = iVar19 + 1;\n          readliteral_cc((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90);\n          if (iVar17 + (uint)bVar14 == iVar19) break;\n          if (ptVar11->cols <= iVar19) goto LAB_000391e8;\n        }\n        iVar17 = ptVar11->cols;\n      }" { (expression_statement "iVar17 = iVar19 + 1;" (assignment_expression "iVar17 = iVar19 + 1" identifier = (binary_expression "iVar19 + 1" identifier + number_literal)) ;) (while_statement "while( true ) {\n          iVar19 = iVar19 + 1;\n          readliteral_cc((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90);\n          if (iVar17 + (uint)bVar14 == iVar19) break;\n          if (ptVar11->cols <= iVar19) goto LAB_000391e8;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          iVar19 = iVar19 + 1;\n          readliteral_cc((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90);\n          if (iVar17 + (uint)bVar14 == iVar19) break;\n          if (ptVar11->cols <= iVar19) goto LAB_000391e8;\n        }" { (expression_statement "iVar19 = iVar19 + 1;" (assignment_expression "iVar19 = iVar19 + 1" identifier = (binary_expression "iVar19 + 1" identifier + number_literal)) ;) (expression_statement "readliteral_cc((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90);" (call_expression "readliteral_cc((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90)" identifier (argument_list "((buf *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90)" ( (cast_expression "(buf *)&state_1" ( (type_descriptor "buf *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&state_1" & identifier)) , identifier , identifier , identifier ))) ;) (if_statement "if (iVar17 + (uint)bVar14 == iVar19) break;" if (parenthesized_expression "(iVar17 + (uint)bVar14 == iVar19)" ( (binary_expression "iVar17 + (uint)bVar14 == iVar19" (binary_expression "iVar17 + (uint)bVar14" identifier + (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier)) == identifier) )) (break_statement "break;" break ;)) (if_statement "if (ptVar11->cols <= iVar19) goto LAB_000391e8;" if (parenthesized_expression "(ptVar11->cols <= iVar19)" ( (binary_expression "ptVar11->cols <= iVar19" (field_expression "ptVar11->cols" identifier -> field_identifier) <= identifier) )) (goto_statement "goto LAB_000391e8;" goto statement_identifier ;)) })) (expression_statement "iVar17 = ptVar11->cols;" (assignment_expression "iVar17 = ptVar11->cols" identifier = (field_expression "ptVar11->cols" identifier -> field_identifier)) ;) }))) (expression_statement "bVar21 = iVar17 == iVar19;" (assignment_expression "bVar21 = iVar17 == iVar19" identifier = (binary_expression "iVar17 == iVar19" identifier == identifier)) ;) }) while (parenthesized_expression "(!bVar21 && iVar19 <= iVar17)" ( (binary_expression "!bVar21 && iVar19 <= iVar17" (unary_expression "!bVar21" ! identifier) && (binary_expression "iVar19 <= iVar17" identifier <= identifier)) )) ;) })) (if_statement "if (bVar21) {\n    if (iVar8 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local(pbVar22);\n    }\n    return ptVar11;\n  }" if (parenthesized_expression "(bVar21)" ( identifier )) (compound_statement "{\n    if (iVar8 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local(pbVar22);\n    }\n    return ptVar11;\n  }" { (if_statement "if (iVar8 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local(pbVar22);\n    }" if (parenthesized_expression "(iVar8 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar8 != *(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                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local(pbVar22);\n    }" { comment (expression_statement "__stack_chk_fail_local(pbVar22);" (call_expression "__stack_chk_fail_local(pbVar22)" identifier (argument_list "(pbVar22)" ( identifier ))) ;) })) (return_statement "return ptVar11;" return identifier ;) })) (labeled_statement "LAB_0003920f:\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("n == ldata->cols","terminal.c",800,"readrle");" statement_identifier : comment (expression_statement "__assert_fail("n == ldata->cols","terminal.c",800,"readrle");" (call_expression "__assert_fail("n == ldata->cols","terminal.c",800,"readrle")" identifier (argument_list "("n == ldata->cols","terminal.c",800,"readrle")" ( (string_literal ""n == ldata->cols"" " string_content ") , (string_literal ""terminal.c"" " string_content ") , number_literal , (string_literal ""readrle"" " string_content ") ))) ;)) (labeled_statement "LAB_000391e8:\n  uVar15 = 0x319;" statement_identifier : (expression_statement "uVar15 = 0x319;" (assignment_expression "uVar15 = 0x319" identifier = number_literal) ;)) (goto_statement "goto LAB_000391d0;" goto statement_identifier ;) (labeled_statement "LAB_000391c0:\n  buffer.len = iVar16;" statement_identifier : (expression_statement "buffer.len = iVar16;" (assignment_expression "buffer.len = iVar16" (field_expression "buffer.len" identifier . field_identifier) = identifier) ;)) (expression_statement "uVar15 = 0x30f;" (assignment_expression "uVar15 = 0x30f" identifier = number_literal) ;) (labeled_statement "LAB_000391d0:\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("n < ldata->cols","terminal.c",uVar15,"readrle");" statement_identifier : comment (expression_statement "__assert_fail("n < ldata->cols","terminal.c",uVar15,"readrle");" (call_expression "__assert_fail("n < ldata->cols","terminal.c",uVar15,"readrle")" identifier (argument_list "("n < ldata->cols","terminal.c",uVar15,"readrle")" ( (string_literal ""n < ldata->cols"" " string_content ") , (string_literal ""terminal.c"" " string_content ") , identifier , (string_literal ""readrle"" " string_content ") ))) ;)) }))
(translation_unit "undefined2 * __regparm3 FUN_00038c60(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  byte bVar7;\n  byte bVar8;\n  char cVar9;\n  undefined2 *puVar10;\n  int iVar11;\n  undefined4 *puVar12;\n  byte bVar13;\n  uint uVar14;\n  int iVar15;\n  int iVar16;\n  uint uVar17;\n  int in_GS_OFFSET;\n  bool bVar18;\n  undefined4 *puVar19;\n  int *piVar20;\n  uint *local_68;\n  int local_40;\n  undefined4 local_34;\n  undefined4 local_30;\n  int local_2c;\n  int local_28;\n  int local_20;\n  \n  local_28 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar14 = 0;\n  do {\n    cVar9 = (char)local_28;\n    local_28 = local_28 + 1;\n    bVar13 = *(byte *)(param_1 + -1 + local_28);\n    uVar14 = uVar14 | (bVar13 & 0x7f) << (cVar9 * '\a' & 0x1fU);\n  } while ((char)bVar13 < '\0');\n  local_2c = param_1;\n  puVar10 = (undefined2 *)FUN_00030000(1,0x18);\n  iVar11 = FUN_00030000(uVar14,0xc);\n  *(uint *)(puVar10 + 4) = uVar14;\n  *(int *)(puVar10 + 10) = iVar11;\n  *(uint *)(puVar10 + 2) = uVar14;\n  *(undefined4 *)(puVar10 + 6) = 1;\n  *(undefined4 *)(puVar10 + 8) = 0;\n  if (0 < (int)uVar14) {\n    puVar12 = (undefined4 *)(iVar11 + 8);\n    puVar19 = puVar12 + uVar14 * 3;\n    do {\n      *puVar12 = 0;\n      puVar12 = puVar12 + 3;\n    } while (puVar19 != puVar12);\n  }\n  uVar17 = 0;\n  *puVar10 = 0;\n  bVar13 = 0;\n  do {\n    local_28 = local_28 + 1;\n    bVar7 = *(byte *)(local_2c + -1 + local_28);\n    bVar8 = bVar13 & 0x1f;\n    bVar13 = bVar13 + 7;\n    uVar17 = uVar17 | (bVar7 & 0x7f) << bVar8;\n    *puVar10 = (short)uVar17;\n  } while ((char)bVar7 < '\0');\n  local_30 = 0;\n  if ((int)uVar14 < 1) {\n    if (uVar14 != 0) goto LAB_0003920f;\n    local_40 = *(int *)(puVar10 + 2);\n  }\n  else {\n    iVar11 = 0;\n    puVar19 = &local_30;\n    do {\n      while( true ) {\n        iVar16 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        local_28 = iVar16;\n        if (-1 < (char)bVar13) break;\n        iVar15 = iVar11 + 1;\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        FUN_00037420(puVar19);\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_00037420(puVar19);\n        } while (iVar15 != iVar11);\n        local_40 = *(int *)(puVar10 + 2);\n        bVar18 = iVar11 == local_40;\n        if (local_40 <= iVar11) goto LAB_00038e55;\n      }\n      iVar16 = iVar11 + 1;\n      while( true ) {\n        iVar11 = iVar11 + 1;\n        FUN_00037420(puVar19);\n        if (iVar11 == iVar16 + (uint)bVar13) break;\n        if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n      }\n      local_40 = *(int *)(puVar10 + 2);\n      bVar18 = iVar11 == local_40;\n    } while (iVar11 < local_40);\nLAB_00038e55:\n    if (!bVar18) goto LAB_0003920f;\n    if (iVar11 < 1) {\n      iVar16 = 0;\n    }\n    else {\n      iVar16 = 0;\n      do {\n        iVar15 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        if ((char)bVar13 < '\0') {\n          iVar5 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391c0;\n          iVar1 = local_28 + 2;\n          iVar6 = iVar16 + -0x7e;\n          iVar2 = local_28 + 4;\n          iVar3 = local_28 + 3;\n          iVar4 = local_28 + 5;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          while( true ) {\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }\n        }\n        else {\n          local_28 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391e8;\n          iVar5 = iVar16 + 1;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          iVar16 = iVar5;\n          while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }\n        }\n      } while (iVar16 < iVar11);\n    }\n    if (iVar11 != iVar16) goto LAB_0003920f;\n  }\n  piVar20 = &local_2c;\n  iVar11 = 0;\n  local_34 = 0;\n  bVar18 = local_40 == 0;\n  if (0 < local_40) {\n    do {\n      iVar16 = local_28 + 1;\n      bVar13 = *(byte *)(local_2c + local_28);\n      local_28 = iVar16;\n      if ((char)bVar13 < '\0') {\n        iVar15 = iVar11 + 1;\n        FUN_000388e0(&local_34);\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_000388e0(&local_34);\n        } while (iVar15 != iVar11);\n        iVar16 = *(int *)(puVar10 + 2);\n      }\n      else {\n        iVar16 = iVar11 + 1;\n        while( true ) {\n          iVar11 = iVar11 + 1;\n          FUN_000388e0(&local_34);\n          if (iVar16 + (uint)bVar13 == iVar11) break;\n          if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n        }\n        iVar16 = *(int *)(puVar10 + 2);\n      }\n      bVar18 = iVar16 == iVar11;\n    } while (!bVar18 && iVar11 <= iVar16);\n  }\n  if (bVar18) {\n    if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_0006c950(piVar20);\n    }\n    return puVar10;\n  }\nLAB_0003920f:\n                    \n  __assert_fail("n == ldata->cols","terminal.c",800,"readrle");\nLAB_000391e8:\n  uVar14 = 0x319;\n  goto LAB_000391d0;\nLAB_000391c0:\n  local_28 = iVar5;\n  uVar14 = 0x30f;\nLAB_000391d0:\n                    \n  __assert_fail("n < ldata->cols","terminal.c",uVar14,"readrle");\n}\n\n" (ERROR "undefined2 * __regparm3 FUN_00038c60(int param_1)" (binary_expression "undefined2 * __regparm3 FUN_00038c60(int param_1)" identifier * (ERROR "__regparm3" identifier) (call_expression "FUN_00038c60(int param_1)" identifier (argument_list "(int param_1)" ( (ERROR "int" identifier) identifier ))))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  byte bVar7;\n  byte bVar8;\n  char cVar9;\n  undefined2 *puVar10;\n  int iVar11;\n  undefined4 *puVar12;\n  byte bVar13;\n  uint uVar14;\n  int iVar15;\n  int iVar16;\n  uint uVar17;\n  int in_GS_OFFSET;\n  bool bVar18;\n  undefined4 *puVar19;\n  int *piVar20;\n  uint *local_68;\n  int local_40;\n  undefined4 local_34;\n  undefined4 local_30;\n  int local_2c;\n  int local_28;\n  int local_20;\n  \n  local_28 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar14 = 0;\n  do {\n    cVar9 = (char)local_28;\n    local_28 = local_28 + 1;\n    bVar13 = *(byte *)(param_1 + -1 + local_28);\n    uVar14 = uVar14 | (bVar13 & 0x7f) << (cVar9 * '\a' & 0x1fU);\n  } while ((char)bVar13 < '\0');\n  local_2c = param_1;\n  puVar10 = (undefined2 *)FUN_00030000(1,0x18);\n  iVar11 = FUN_00030000(uVar14,0xc);\n  *(uint *)(puVar10 + 4) = uVar14;\n  *(int *)(puVar10 + 10) = iVar11;\n  *(uint *)(puVar10 + 2) = uVar14;\n  *(undefined4 *)(puVar10 + 6) = 1;\n  *(undefined4 *)(puVar10 + 8) = 0;\n  if (0 < (int)uVar14) {\n    puVar12 = (undefined4 *)(iVar11 + 8);\n    puVar19 = puVar12 + uVar14 * 3;\n    do {\n      *puVar12 = 0;\n      puVar12 = puVar12 + 3;\n    } while (puVar19 != puVar12);\n  }\n  uVar17 = 0;\n  *puVar10 = 0;\n  bVar13 = 0;\n  do {\n    local_28 = local_28 + 1;\n    bVar7 = *(byte *)(local_2c + -1 + local_28);\n    bVar8 = bVar13 & 0x1f;\n    bVar13 = bVar13 + 7;\n    uVar17 = uVar17 | (bVar7 & 0x7f) << bVar8;\n    *puVar10 = (short)uVar17;\n  } while ((char)bVar7 < '\0');\n  local_30 = 0;\n  if ((int)uVar14 < 1) {\n    if (uVar14 != 0) goto LAB_0003920f;\n    local_40 = *(int *)(puVar10 + 2);\n  }\n  else {\n    iVar11 = 0;\n    puVar19 = &local_30;\n    do {\n      while( true ) {\n        iVar16 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        local_28 = iVar16;\n        if (-1 < (char)bVar13) break;\n        iVar15 = iVar11 + 1;\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        FUN_00037420(puVar19);\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_00037420(puVar19);\n        } while (iVar15 != iVar11);\n        local_40 = *(int *)(puVar10 + 2);\n        bVar18 = iVar11 == local_40;\n        if (local_40 <= iVar11) goto LAB_00038e55;\n      }\n      iVar16 = iVar11 + 1;\n      while( true ) {\n        iVar11 = iVar11 + 1;\n        FUN_00037420(puVar19);\n        if (iVar11 == iVar16 + (uint)bVar13) break;\n        if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n      }\n      local_40 = *(int *)(puVar10 + 2);\n      bVar18 = iVar11 == local_40;\n    } while (iVar11 < local_40);\nLAB_00038e55:\n    if (!bVar18) goto LAB_0003920f;\n    if (iVar11 < 1) {\n      iVar16 = 0;\n    }\n    else {\n      iVar16 = 0;\n      do {\n        iVar15 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        if ((char)bVar13 < '\0') {\n          iVar5 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391c0;\n          iVar1 = local_28 + 2;\n          iVar6 = iVar16 + -0x7e;\n          iVar2 = local_28 + 4;\n          iVar3 = local_28 + 3;\n          iVar4 = local_28 + 5;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          while( true ) {\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }\n        }\n        else {\n          local_28 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391e8;\n          iVar5 = iVar16 + 1;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          iVar16 = iVar5;\n          while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }\n        }\n      } while (iVar16 < iVar11);\n    }\n    if (iVar11 != iVar16) goto LAB_0003920f;\n  }\n  piVar20 = &local_2c;\n  iVar11 = 0;\n  local_34 = 0;\n  bVar18 = local_40 == 0;\n  if (0 < local_40) {\n    do {\n      iVar16 = local_28 + 1;\n      bVar13 = *(byte *)(local_2c + local_28);\n      local_28 = iVar16;\n      if ((char)bVar13 < '\0') {\n        iVar15 = iVar11 + 1;\n        FUN_000388e0(&local_34);\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_000388e0(&local_34);\n        } while (iVar15 != iVar11);\n        iVar16 = *(int *)(puVar10 + 2);\n      }\n      else {\n        iVar16 = iVar11 + 1;\n        while( true ) {\n          iVar11 = iVar11 + 1;\n          FUN_000388e0(&local_34);\n          if (iVar16 + (uint)bVar13 == iVar11) break;\n          if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n        }\n        iVar16 = *(int *)(puVar10 + 2);\n      }\n      bVar18 = iVar16 == iVar11;\n    } while (!bVar18 && iVar11 <= iVar16);\n  }\n  if (bVar18) {\n    if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_0006c950(piVar20);\n    }\n    return puVar10;\n  }\nLAB_0003920f:\n                    \n  __assert_fail("n == ldata->cols","terminal.c",800,"readrle");\nLAB_000391e8:\n  uVar14 = 0x319;\n  goto LAB_000391d0;\nLAB_000391c0:\n  local_28 = iVar5;\n  uVar14 = 0x30f;\nLAB_000391d0:\n                    \n  __assert_fail("n < ldata->cols","terminal.c",uVar14,"readrle");\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "byte bVar7;" type_identifier identifier ;) (declaration "byte bVar8;" type_identifier identifier ;) (declaration "char cVar9;" primitive_type identifier ;) (declaration "undefined2 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "undefined4 *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "byte bVar13;" type_identifier identifier ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "uint uVar17;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar18;" primitive_type identifier ;) (declaration "undefined4 *puVar19;" type_identifier (pointer_declarator "*puVar19" * identifier) ;) (declaration "int *piVar20;" primitive_type (pointer_declarator "*piVar20" * identifier) ;) (declaration "uint *local_68;" type_identifier (pointer_declarator "*local_68" * identifier) ;) (declaration "int local_40;" primitive_type identifier ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "undefined4 local_30;" type_identifier identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (declaration "int local_28;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" 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) ))))) ;) (expression_statement "uVar14 = 0;" (assignment_expression "uVar14 = 0" identifier = number_literal) ;) (do_statement "do {\n    cVar9 = (char)local_28;\n    local_28 = local_28 + 1;\n    bVar13 = *(byte *)(param_1 + -1 + local_28);\n    uVar14 = uVar14 | (bVar13 & 0x7f) << (cVar9 * '\a' & 0x1fU);\n  } while ((char)bVar13 < '\0');" do (compound_statement "{\n    cVar9 = (char)local_28;\n    local_28 = local_28 + 1;\n    bVar13 = *(byte *)(param_1 + -1 + local_28);\n    uVar14 = uVar14 | (bVar13 & 0x7f) << (cVar9 * '\a' & 0x1fU);\n  }" { (expression_statement "cVar9 = (char)local_28;" (assignment_expression "cVar9 = (char)local_28" identifier = (cast_expression "(char)local_28" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "local_28 = local_28 + 1;" (assignment_expression "local_28 = local_28 + 1" identifier = (binary_expression "local_28 + 1" identifier + number_literal)) ;) (expression_statement "bVar13 = *(byte *)(param_1 + -1 + local_28);" (assignment_expression "bVar13 = *(byte *)(param_1 + -1 + local_28)" identifier = (pointer_expression "*(byte *)(param_1 + -1 + local_28)" * (cast_expression "(byte *)(param_1 + -1 + local_28)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + -1 + local_28)" ( (binary_expression "param_1 + -1 + local_28" (binary_expression "param_1 + -1" identifier + number_literal) + identifier) ))))) ;) (expression_statement "uVar14 = uVar14 | (bVar13 & 0x7f) << (cVar9 * '\a' & 0x1fU);" (assignment_expression "uVar14 = uVar14 | (bVar13 & 0x7f) << (cVar9 * '\a' & 0x1fU)" identifier = (binary_expression "uVar14 | (bVar13 & 0x7f) << (cVar9 * '\a' & 0x1fU)" identifier | (binary_expression "(bVar13 & 0x7f) << (cVar9 * '\a' & 0x1fU)" (parenthesized_expression "(bVar13 & 0x7f)" ( (binary_expression "bVar13 & 0x7f" identifier & number_literal) )) << (parenthesized_expression "(cVar9 * '\a' & 0x1fU)" ( (binary_expression "cVar9 * '\a' & 0x1fU" (binary_expression "cVar9 * '\a'" identifier * (char_literal "'\a'" ' escape_sequence ')) & number_literal) ))))) ;) }) while (parenthesized_expression "((char)bVar13 < '\0')" ( (binary_expression "(char)bVar13 < '\0'" (cast_expression "(char)bVar13" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\0'" ' escape_sequence ')) )) ;) (expression_statement "local_2c = param_1;" (assignment_expression "local_2c = param_1" identifier = identifier) ;) (expression_statement "puVar10 = (undefined2 *)FUN_00030000(1,0x18);" (assignment_expression "puVar10 = (undefined2 *)FUN_00030000(1,0x18)" identifier = (cast_expression "(undefined2 *)FUN_00030000(1,0x18)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00030000(1,0x18)" identifier (argument_list "(1,0x18)" ( number_literal , number_literal ))))) ;) (expression_statement "iVar11 = FUN_00030000(uVar14,0xc);" (assignment_expression "iVar11 = FUN_00030000(uVar14,0xc)" identifier = (call_expression "FUN_00030000(uVar14,0xc)" identifier (argument_list "(uVar14,0xc)" ( identifier , number_literal )))) ;) (expression_statement "*(uint *)(puVar10 + 4) = uVar14;" (assignment_expression "*(uint *)(puVar10 + 4) = uVar14" (pointer_expression "*(uint *)(puVar10 + 4)" * (cast_expression "(uint *)(puVar10 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 4)" ( (binary_expression "puVar10 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar10 + 10) = iVar11;" (assignment_expression "*(int *)(puVar10 + 10) = iVar11" (pointer_expression "*(int *)(puVar10 + 10)" * (cast_expression "(int *)(puVar10 + 10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 10)" ( (binary_expression "puVar10 + 10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(puVar10 + 2) = uVar14;" (assignment_expression "*(uint *)(puVar10 + 2) = uVar14" (pointer_expression "*(uint *)(puVar10 + 2)" * (cast_expression "(uint *)(puVar10 + 2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 2)" ( (binary_expression "puVar10 + 2" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar10 + 6) = 1;" (assignment_expression "*(undefined4 *)(puVar10 + 6) = 1" (pointer_expression "*(undefined4 *)(puVar10 + 6)" * (cast_expression "(undefined4 *)(puVar10 + 6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 6)" ( (binary_expression "puVar10 + 6" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar10 + 8) = 0;" (assignment_expression "*(undefined4 *)(puVar10 + 8) = 0" (pointer_expression "*(undefined4 *)(puVar10 + 8)" * (cast_expression "(undefined4 *)(puVar10 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 8)" ( (binary_expression "puVar10 + 8" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (0 < (int)uVar14) {\n    puVar12 = (undefined4 *)(iVar11 + 8);\n    puVar19 = puVar12 + uVar14 * 3;\n    do {\n      *puVar12 = 0;\n      puVar12 = puVar12 + 3;\n    } while (puVar19 != puVar12);\n  }" if (parenthesized_expression "(0 < (int)uVar14)" ( (binary_expression "0 < (int)uVar14" number_literal < (cast_expression "(int)uVar14" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    puVar12 = (undefined4 *)(iVar11 + 8);\n    puVar19 = puVar12 + uVar14 * 3;\n    do {\n      *puVar12 = 0;\n      puVar12 = puVar12 + 3;\n    } while (puVar19 != puVar12);\n  }" { (expression_statement "puVar12 = (undefined4 *)(iVar11 + 8);" (assignment_expression "puVar12 = (undefined4 *)(iVar11 + 8)" identifier = (cast_expression "(undefined4 *)(iVar11 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 8)" ( (binary_expression "iVar11 + 8" identifier + number_literal) )))) ;) (expression_statement "puVar19 = puVar12 + uVar14 * 3;" (assignment_expression "puVar19 = puVar12 + uVar14 * 3" identifier = (binary_expression "puVar12 + uVar14 * 3" identifier + (binary_expression "uVar14 * 3" identifier * number_literal))) ;) (do_statement "do {\n      *puVar12 = 0;\n      puVar12 = puVar12 + 3;\n    } while (puVar19 != puVar12);" do (compound_statement "{\n      *puVar12 = 0;\n      puVar12 = puVar12 + 3;\n    }" { (expression_statement "*puVar12 = 0;" (assignment_expression "*puVar12 = 0" (pointer_expression "*puVar12" * identifier) = number_literal) ;) (expression_statement "puVar12 = puVar12 + 3;" (assignment_expression "puVar12 = puVar12 + 3" identifier = (binary_expression "puVar12 + 3" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar19 != puVar12)" ( (binary_expression "puVar19 != puVar12" identifier != identifier) )) ;) })) (expression_statement "uVar17 = 0;" (assignment_expression "uVar17 = 0" identifier = number_literal) ;) (expression_statement "*puVar10 = 0;" (assignment_expression "*puVar10 = 0" (pointer_expression "*puVar10" * identifier) = number_literal) ;) (expression_statement "bVar13 = 0;" (assignment_expression "bVar13 = 0" identifier = number_literal) ;) (do_statement "do {\n    local_28 = local_28 + 1;\n    bVar7 = *(byte *)(local_2c + -1 + local_28);\n    bVar8 = bVar13 & 0x1f;\n    bVar13 = bVar13 + 7;\n    uVar17 = uVar17 | (bVar7 & 0x7f) << bVar8;\n    *puVar10 = (short)uVar17;\n  } while ((char)bVar7 < '\0');" do (compound_statement "{\n    local_28 = local_28 + 1;\n    bVar7 = *(byte *)(local_2c + -1 + local_28);\n    bVar8 = bVar13 & 0x1f;\n    bVar13 = bVar13 + 7;\n    uVar17 = uVar17 | (bVar7 & 0x7f) << bVar8;\n    *puVar10 = (short)uVar17;\n  }" { (expression_statement "local_28 = local_28 + 1;" (assignment_expression "local_28 = local_28 + 1" identifier = (binary_expression "local_28 + 1" identifier + number_literal)) ;) (expression_statement "bVar7 = *(byte *)(local_2c + -1 + local_28);" (assignment_expression "bVar7 = *(byte *)(local_2c + -1 + local_28)" identifier = (pointer_expression "*(byte *)(local_2c + -1 + local_28)" * (cast_expression "(byte *)(local_2c + -1 + local_28)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_2c + -1 + local_28)" ( (binary_expression "local_2c + -1 + local_28" (binary_expression "local_2c + -1" identifier + number_literal) + identifier) ))))) ;) (expression_statement "bVar8 = bVar13 & 0x1f;" (assignment_expression "bVar8 = bVar13 & 0x1f" identifier = (binary_expression "bVar13 & 0x1f" identifier & number_literal)) ;) (expression_statement "bVar13 = bVar13 + 7;" (assignment_expression "bVar13 = bVar13 + 7" identifier = (binary_expression "bVar13 + 7" identifier + number_literal)) ;) (expression_statement "uVar17 = uVar17 | (bVar7 & 0x7f) << bVar8;" (assignment_expression "uVar17 = uVar17 | (bVar7 & 0x7f) << bVar8" identifier = (binary_expression "uVar17 | (bVar7 & 0x7f) << bVar8" identifier | (binary_expression "(bVar7 & 0x7f) << bVar8" (parenthesized_expression "(bVar7 & 0x7f)" ( (binary_expression "bVar7 & 0x7f" identifier & number_literal) )) << identifier))) ;) (expression_statement "*puVar10 = (short)uVar17;" (assignment_expression "*puVar10 = (short)uVar17" (pointer_expression "*puVar10" * identifier) = (cast_expression "(short)uVar17" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) }) while (parenthesized_expression "((char)bVar7 < '\0')" ( (binary_expression "(char)bVar7 < '\0'" (cast_expression "(char)bVar7" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\0'" ' escape_sequence ')) )) ;) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (if_statement "if ((int)uVar14 < 1) {\n    if (uVar14 != 0) goto LAB_0003920f;\n    local_40 = *(int *)(puVar10 + 2);\n  }\n  else {\n    iVar11 = 0;\n    puVar19 = &local_30;\n    do {\n      while( true ) {\n        iVar16 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        local_28 = iVar16;\n        if (-1 < (char)bVar13) break;\n        iVar15 = iVar11 + 1;\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        FUN_00037420(puVar19);\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_00037420(puVar19);\n        } while (iVar15 != iVar11);\n        local_40 = *(int *)(puVar10 + 2);\n        bVar18 = iVar11 == local_40;\n        if (local_40 <= iVar11) goto LAB_00038e55;\n      }\n      iVar16 = iVar11 + 1;\n      while( true ) {\n        iVar11 = iVar11 + 1;\n        FUN_00037420(puVar19);\n        if (iVar11 == iVar16 + (uint)bVar13) break;\n        if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n      }\n      local_40 = *(int *)(puVar10 + 2);\n      bVar18 = iVar11 == local_40;\n    } while (iVar11 < local_40);\nLAB_00038e55:\n    if (!bVar18) goto LAB_0003920f;\n    if (iVar11 < 1) {\n      iVar16 = 0;\n    }\n    else {\n      iVar16 = 0;\n      do {\n        iVar15 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        if ((char)bVar13 < '\0') {\n          iVar5 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391c0;\n          iVar1 = local_28 + 2;\n          iVar6 = iVar16 + -0x7e;\n          iVar2 = local_28 + 4;\n          iVar3 = local_28 + 3;\n          iVar4 = local_28 + 5;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          while( true ) {\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }\n        }\n        else {\n          local_28 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391e8;\n          iVar5 = iVar16 + 1;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          iVar16 = iVar5;\n          while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }\n        }\n      } while (iVar16 < iVar11);\n    }\n    if (iVar11 != iVar16) goto LAB_0003920f;\n  }" if (parenthesized_expression "((int)uVar14 < 1)" ( (binary_expression "(int)uVar14 < 1" (cast_expression "(int)uVar14" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    if (uVar14 != 0) goto LAB_0003920f;\n    local_40 = *(int *)(puVar10 + 2);\n  }" { (if_statement "if (uVar14 != 0) goto LAB_0003920f;" if (parenthesized_expression "(uVar14 != 0)" ( (binary_expression "uVar14 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0003920f;" goto statement_identifier ;)) (expression_statement "local_40 = *(int *)(puVar10 + 2);" (assignment_expression "local_40 = *(int *)(puVar10 + 2)" identifier = (pointer_expression "*(int *)(puVar10 + 2)" * (cast_expression "(int *)(puVar10 + 2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 2)" ( (binary_expression "puVar10 + 2" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    iVar11 = 0;\n    puVar19 = &local_30;\n    do {\n      while( true ) {\n        iVar16 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        local_28 = iVar16;\n        if (-1 < (char)bVar13) break;\n        iVar15 = iVar11 + 1;\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        FUN_00037420(puVar19);\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_00037420(puVar19);\n        } while (iVar15 != iVar11);\n        local_40 = *(int *)(puVar10 + 2);\n        bVar18 = iVar11 == local_40;\n        if (local_40 <= iVar11) goto LAB_00038e55;\n      }\n      iVar16 = iVar11 + 1;\n      while( true ) {\n        iVar11 = iVar11 + 1;\n        FUN_00037420(puVar19);\n        if (iVar11 == iVar16 + (uint)bVar13) break;\n        if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n      }\n      local_40 = *(int *)(puVar10 + 2);\n      bVar18 = iVar11 == local_40;\n    } while (iVar11 < local_40);\nLAB_00038e55:\n    if (!bVar18) goto LAB_0003920f;\n    if (iVar11 < 1) {\n      iVar16 = 0;\n    }\n    else {\n      iVar16 = 0;\n      do {\n        iVar15 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        if ((char)bVar13 < '\0') {\n          iVar5 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391c0;\n          iVar1 = local_28 + 2;\n          iVar6 = iVar16 + -0x7e;\n          iVar2 = local_28 + 4;\n          iVar3 = local_28 + 3;\n          iVar4 = local_28 + 5;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          while( true ) {\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }\n        }\n        else {\n          local_28 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391e8;\n          iVar5 = iVar16 + 1;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          iVar16 = iVar5;\n          while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }\n        }\n      } while (iVar16 < iVar11);\n    }\n    if (iVar11 != iVar16) goto LAB_0003920f;\n  }" else (compound_statement "{\n    iVar11 = 0;\n    puVar19 = &local_30;\n    do {\n      while( true ) {\n        iVar16 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        local_28 = iVar16;\n        if (-1 < (char)bVar13) break;\n        iVar15 = iVar11 + 1;\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        FUN_00037420(puVar19);\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_00037420(puVar19);\n        } while (iVar15 != iVar11);\n        local_40 = *(int *)(puVar10 + 2);\n        bVar18 = iVar11 == local_40;\n        if (local_40 <= iVar11) goto LAB_00038e55;\n      }\n      iVar16 = iVar11 + 1;\n      while( true ) {\n        iVar11 = iVar11 + 1;\n        FUN_00037420(puVar19);\n        if (iVar11 == iVar16 + (uint)bVar13) break;\n        if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n      }\n      local_40 = *(int *)(puVar10 + 2);\n      bVar18 = iVar11 == local_40;\n    } while (iVar11 < local_40);\nLAB_00038e55:\n    if (!bVar18) goto LAB_0003920f;\n    if (iVar11 < 1) {\n      iVar16 = 0;\n    }\n    else {\n      iVar16 = 0;\n      do {\n        iVar15 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        if ((char)bVar13 < '\0') {\n          iVar5 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391c0;\n          iVar1 = local_28 + 2;\n          iVar6 = iVar16 + -0x7e;\n          iVar2 = local_28 + 4;\n          iVar3 = local_28 + 3;\n          iVar4 = local_28 + 5;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          while( true ) {\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }\n        }\n        else {\n          local_28 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391e8;\n          iVar5 = iVar16 + 1;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          iVar16 = iVar5;\n          while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }\n        }\n      } while (iVar16 < iVar11);\n    }\n    if (iVar11 != iVar16) goto LAB_0003920f;\n  }" { (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (expression_statement "puVar19 = &local_30;" (assignment_expression "puVar19 = &local_30" identifier = (pointer_expression "&local_30" & identifier)) ;) (do_statement "do {\n      while( true ) {\n        iVar16 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        local_28 = iVar16;\n        if (-1 < (char)bVar13) break;\n        iVar15 = iVar11 + 1;\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        FUN_00037420(puVar19);\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_00037420(puVar19);\n        } while (iVar15 != iVar11);\n        local_40 = *(int *)(puVar10 + 2);\n        bVar18 = iVar11 == local_40;\n        if (local_40 <= iVar11) goto LAB_00038e55;\n      }\n      iVar16 = iVar11 + 1;\n      while( true ) {\n        iVar11 = iVar11 + 1;\n        FUN_00037420(puVar19);\n        if (iVar11 == iVar16 + (uint)bVar13) break;\n        if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n      }\n      local_40 = *(int *)(puVar10 + 2);\n      bVar18 = iVar11 == local_40;\n    } while (iVar11 < local_40);" do (compound_statement "{\n      while( true ) {\n        iVar16 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        local_28 = iVar16;\n        if (-1 < (char)bVar13) break;\n        iVar15 = iVar11 + 1;\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        FUN_00037420(puVar19);\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_00037420(puVar19);\n        } while (iVar15 != iVar11);\n        local_40 = *(int *)(puVar10 + 2);\n        bVar18 = iVar11 == local_40;\n        if (local_40 <= iVar11) goto LAB_00038e55;\n      }\n      iVar16 = iVar11 + 1;\n      while( true ) {\n        iVar11 = iVar11 + 1;\n        FUN_00037420(puVar19);\n        if (iVar11 == iVar16 + (uint)bVar13) break;\n        if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n      }\n      local_40 = *(int *)(puVar10 + 2);\n      bVar18 = iVar11 == local_40;\n    }" { (while_statement "while( true ) {\n        iVar16 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        local_28 = iVar16;\n        if (-1 < (char)bVar13) break;\n        iVar15 = iVar11 + 1;\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        FUN_00037420(puVar19);\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_00037420(puVar19);\n        } while (iVar15 != iVar11);\n        local_40 = *(int *)(puVar10 + 2);\n        bVar18 = iVar11 == local_40;\n        if (local_40 <= iVar11) goto LAB_00038e55;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        iVar16 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        local_28 = iVar16;\n        if (-1 < (char)bVar13) break;\n        iVar15 = iVar11 + 1;\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        FUN_00037420(puVar19);\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_00037420(puVar19);\n        } while (iVar15 != iVar11);\n        local_40 = *(int *)(puVar10 + 2);\n        bVar18 = iVar11 == local_40;\n        if (local_40 <= iVar11) goto LAB_00038e55;\n      }" { (expression_statement "iVar16 = local_28 + 1;" (assignment_expression "iVar16 = local_28 + 1" identifier = (binary_expression "local_28 + 1" identifier + number_literal)) ;) (expression_statement "bVar13 = *(byte *)(local_2c + local_28);" (assignment_expression "bVar13 = *(byte *)(local_2c + local_28)" identifier = (pointer_expression "*(byte *)(local_2c + local_28)" * (cast_expression "(byte *)(local_2c + local_28)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_2c + local_28)" ( (binary_expression "local_2c + local_28" identifier + identifier) ))))) ;) (expression_statement "local_28 = iVar16;" (assignment_expression "local_28 = iVar16" identifier = identifier) ;) (if_statement "if (-1 < (char)bVar13) break;" if (parenthesized_expression "(-1 < (char)bVar13)" ( (binary_expression "-1 < (char)bVar13" number_literal < (cast_expression "(char)bVar13" ( (type_descriptor "char" primitive_type) ) identifier)) )) (break_statement "break;" break ;)) (expression_statement "iVar15 = iVar11 + 1;" (assignment_expression "iVar15 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) (expression_statement "iVar11 = iVar11 + -0x7e + (uint)bVar13;" (assignment_expression "iVar11 = iVar11 + -0x7e + (uint)bVar13" identifier = (binary_expression "iVar11 + -0x7e + (uint)bVar13" (binary_expression "iVar11 + -0x7e" identifier + number_literal) + (cast_expression "(uint)bVar13" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (expression_statement "FUN_00037420(puVar19);" (call_expression "FUN_00037420(puVar19)" identifier (argument_list "(puVar19)" ( identifier ))) ;) (do_statement "do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_00037420(puVar19);\n        } while (iVar15 != iVar11);" do (compound_statement "{\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_00037420(puVar19);\n        }" { (expression_statement "iVar5 = local_28;" (assignment_expression "iVar5 = local_28" identifier = identifier) ;) (if_statement "if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;" if (parenthesized_expression "(*(int *)(puVar10 + 2) <= iVar15)" ( (binary_expression "*(int *)(puVar10 + 2) <= iVar15" (pointer_expression "*(int *)(puVar10 + 2)" * (cast_expression "(int *)(puVar10 + 2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 2)" ( (binary_expression "puVar10 + 2" identifier + number_literal) )))) <= identifier) )) (goto_statement "goto LAB_000391c0;" goto statement_identifier ;)) (expression_statement "iVar15 = iVar15 + 1;" (assignment_expression "iVar15 = iVar15 + 1" identifier = (binary_expression "iVar15 + 1" identifier + number_literal)) ;) (expression_statement "local_28 = iVar16;" (assignment_expression "local_28 = iVar16" identifier = identifier) ;) (expression_statement "FUN_00037420(puVar19);" (call_expression "FUN_00037420(puVar19)" identifier (argument_list "(puVar19)" ( identifier ))) ;) }) while (parenthesized_expression "(iVar15 != iVar11)" ( (binary_expression "iVar15 != iVar11" identifier != identifier) )) ;) (expression_statement "local_40 = *(int *)(puVar10 + 2);" (assignment_expression "local_40 = *(int *)(puVar10 + 2)" identifier = (pointer_expression "*(int *)(puVar10 + 2)" * (cast_expression "(int *)(puVar10 + 2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 2)" ( (binary_expression "puVar10 + 2" identifier + number_literal) ))))) ;) (expression_statement "bVar18 = iVar11 == local_40;" (assignment_expression "bVar18 = iVar11 == local_40" identifier = (binary_expression "iVar11 == local_40" identifier == identifier)) ;) (if_statement "if (local_40 <= iVar11) goto LAB_00038e55;" if (parenthesized_expression "(local_40 <= iVar11)" ( (binary_expression "local_40 <= iVar11" identifier <= identifier) )) (goto_statement "goto LAB_00038e55;" goto statement_identifier ;)) })) (expression_statement "iVar16 = iVar11 + 1;" (assignment_expression "iVar16 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) (while_statement "while( true ) {\n        iVar11 = iVar11 + 1;\n        FUN_00037420(puVar19);\n        if (iVar11 == iVar16 + (uint)bVar13) break;\n        if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        iVar11 = iVar11 + 1;\n        FUN_00037420(puVar19);\n        if (iVar11 == iVar16 + (uint)bVar13) break;\n        if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n      }" { (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) (expression_statement "FUN_00037420(puVar19);" (call_expression "FUN_00037420(puVar19)" identifier (argument_list "(puVar19)" ( identifier ))) ;) (if_statement "if (iVar11 == iVar16 + (uint)bVar13) break;" if (parenthesized_expression "(iVar11 == iVar16 + (uint)bVar13)" ( (binary_expression "iVar11 == iVar16 + (uint)bVar13" identifier == (binary_expression "iVar16 + (uint)bVar13" identifier + (cast_expression "(uint)bVar13" ( (type_descriptor "uint" type_identifier) ) identifier))) )) (break_statement "break;" break ;)) (if_statement "if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;" if (parenthesized_expression "(*(int *)(puVar10 + 2) <= iVar11)" ( (binary_expression "*(int *)(puVar10 + 2) <= iVar11" (pointer_expression "*(int *)(puVar10 + 2)" * (cast_expression "(int *)(puVar10 + 2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 2)" ( (binary_expression "puVar10 + 2" identifier + number_literal) )))) <= identifier) )) (goto_statement "goto LAB_000391e8;" goto statement_identifier ;)) })) (expression_statement "local_40 = *(int *)(puVar10 + 2);" (assignment_expression "local_40 = *(int *)(puVar10 + 2)" identifier = (pointer_expression "*(int *)(puVar10 + 2)" * (cast_expression "(int *)(puVar10 + 2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 2)" ( (binary_expression "puVar10 + 2" identifier + number_literal) ))))) ;) (expression_statement "bVar18 = iVar11 == local_40;" (assignment_expression "bVar18 = iVar11 == local_40" identifier = (binary_expression "iVar11 == local_40" identifier == identifier)) ;) }) while (parenthesized_expression "(iVar11 < local_40)" ( (binary_expression "iVar11 < local_40" identifier < identifier) )) ;) (labeled_statement "LAB_00038e55:\n    if (!bVar18) goto LAB_0003920f;" statement_identifier : (if_statement "if (!bVar18) goto LAB_0003920f;" if (parenthesized_expression "(!bVar18)" ( (unary_expression "!bVar18" ! identifier) )) (goto_statement "goto LAB_0003920f;" goto statement_identifier ;))) (if_statement "if (iVar11 < 1) {\n      iVar16 = 0;\n    }\n    else {\n      iVar16 = 0;\n      do {\n        iVar15 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        if ((char)bVar13 < '\0') {\n          iVar5 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391c0;\n          iVar1 = local_28 + 2;\n          iVar6 = iVar16 + -0x7e;\n          iVar2 = local_28 + 4;\n          iVar3 = local_28 + 3;\n          iVar4 = local_28 + 5;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          while( true ) {\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }\n        }\n        else {\n          local_28 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391e8;\n          iVar5 = iVar16 + 1;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          iVar16 = iVar5;\n          while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }\n        }\n      } while (iVar16 < iVar11);\n    }" if (parenthesized_expression "(iVar11 < 1)" ( (binary_expression "iVar11 < 1" identifier < number_literal) )) (compound_statement "{\n      iVar16 = 0;\n    }" { (expression_statement "iVar16 = 0;" (assignment_expression "iVar16 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      iVar16 = 0;\n      do {\n        iVar15 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        if ((char)bVar13 < '\0') {\n          iVar5 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391c0;\n          iVar1 = local_28 + 2;\n          iVar6 = iVar16 + -0x7e;\n          iVar2 = local_28 + 4;\n          iVar3 = local_28 + 3;\n          iVar4 = local_28 + 5;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          while( true ) {\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }\n        }\n        else {\n          local_28 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391e8;\n          iVar5 = iVar16 + 1;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          iVar16 = iVar5;\n          while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }\n        }\n      } while (iVar16 < iVar11);\n    }" else (compound_statement "{\n      iVar16 = 0;\n      do {\n        iVar15 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        if ((char)bVar13 < '\0') {\n          iVar5 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391c0;\n          iVar1 = local_28 + 2;\n          iVar6 = iVar16 + -0x7e;\n          iVar2 = local_28 + 4;\n          iVar3 = local_28 + 3;\n          iVar4 = local_28 + 5;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          while( true ) {\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }\n        }\n        else {\n          local_28 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391e8;\n          iVar5 = iVar16 + 1;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          iVar16 = iVar5;\n          while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }\n        }\n      } while (iVar16 < iVar11);\n    }" { (expression_statement "iVar16 = 0;" (assignment_expression "iVar16 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar15 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        if ((char)bVar13 < '\0') {\n          iVar5 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391c0;\n          iVar1 = local_28 + 2;\n          iVar6 = iVar16 + -0x7e;\n          iVar2 = local_28 + 4;\n          iVar3 = local_28 + 3;\n          iVar4 = local_28 + 5;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          while( true ) {\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }\n        }\n        else {\n          local_28 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391e8;\n          iVar5 = iVar16 + 1;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          iVar16 = iVar5;\n          while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }\n        }\n      } while (iVar16 < iVar11);" do (compound_statement "{\n        iVar15 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        if ((char)bVar13 < '\0') {\n          iVar5 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391c0;\n          iVar1 = local_28 + 2;\n          iVar6 = iVar16 + -0x7e;\n          iVar2 = local_28 + 4;\n          iVar3 = local_28 + 3;\n          iVar4 = local_28 + 5;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          while( true ) {\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }\n        }\n        else {\n          local_28 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391e8;\n          iVar5 = iVar16 + 1;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          iVar16 = iVar5;\n          while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }\n        }\n      }" { (expression_statement "iVar15 = local_28 + 1;" (assignment_expression "iVar15 = local_28 + 1" identifier = (binary_expression "local_28 + 1" identifier + number_literal)) ;) (expression_statement "bVar13 = *(byte *)(local_2c + local_28);" (assignment_expression "bVar13 = *(byte *)(local_2c + local_28)" identifier = (pointer_expression "*(byte *)(local_2c + local_28)" * (cast_expression "(byte *)(local_2c + local_28)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_2c + local_28)" ( (binary_expression "local_2c + local_28" identifier + identifier) ))))) ;) (if_statement "if ((char)bVar13 < '\0') {\n          iVar5 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391c0;\n          iVar1 = local_28 + 2;\n          iVar6 = iVar16 + -0x7e;\n          iVar2 = local_28 + 4;\n          iVar3 = local_28 + 3;\n          iVar4 = local_28 + 5;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          while( true ) {\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }\n        }\n        else {\n          local_28 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391e8;\n          iVar5 = iVar16 + 1;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          iVar16 = iVar5;\n          while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }\n        }" if (parenthesized_expression "((char)bVar13 < '\0')" ( (binary_expression "(char)bVar13 < '\0'" (cast_expression "(char)bVar13" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar5 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391c0;\n          iVar1 = local_28 + 2;\n          iVar6 = iVar16 + -0x7e;\n          iVar2 = local_28 + 4;\n          iVar3 = local_28 + 3;\n          iVar4 = local_28 + 5;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          while( true ) {\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }\n        }" { (expression_statement "iVar5 = iVar15;" (assignment_expression "iVar5 = iVar15" identifier = identifier) ;) (if_statement "if (iVar11 <= iVar16) goto LAB_000391c0;" if (parenthesized_expression "(iVar11 <= iVar16)" ( (binary_expression "iVar11 <= iVar16" identifier <= identifier) )) (goto_statement "goto LAB_000391c0;" goto statement_identifier ;)) (expression_statement "iVar1 = local_28 + 2;" (assignment_expression "iVar1 = local_28 + 2" identifier = (binary_expression "local_28 + 2" identifier + number_literal)) ;) (expression_statement "iVar6 = iVar16 + -0x7e;" (assignment_expression "iVar6 = iVar16 + -0x7e" identifier = (binary_expression "iVar16 + -0x7e" identifier + number_literal)) ;) (expression_statement "iVar2 = local_28 + 4;" (assignment_expression "iVar2 = local_28 + 4" identifier = (binary_expression "local_28 + 4" identifier + number_literal)) ;) (expression_statement "iVar3 = local_28 + 3;" (assignment_expression "iVar3 = local_28 + 3" identifier = (binary_expression "local_28 + 3" identifier + number_literal)) ;) (expression_statement "iVar4 = local_28 + 5;" (assignment_expression "iVar4 = local_28 + 5" identifier = (binary_expression "local_28 + 5" identifier + number_literal)) ;) (expression_statement "local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);" (assignment_expression "local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc)" identifier = (cast_expression "(uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc)" ( (binary_expression "*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc" (binary_expression "*(int *)(puVar10 + 10) + 4" (pointer_expression "*(int *)(puVar10 + 10)" * (cast_expression "(int *)(puVar10 + 10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 10)" ( (binary_expression "puVar10 + 10" identifier + number_literal) )))) + number_literal) + (binary_expression "iVar16 * 0xc" identifier * number_literal)) )))) ;) (while_statement "while( true ) {\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }" { (expression_statement "uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));" (assignment_expression "uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c))" identifier = (cast_expression "(uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c))" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c))" identifier (argument_list "(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c))" ( (pointer_expression "*(undefined1 *)(local_2c + iVar15)" * (cast_expression "(undefined1 *)(local_2c + iVar15)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_2c + iVar15)" ( (binary_expression "local_2c + iVar15" identifier + identifier) )))) , (pointer_expression "*(undefined1 *)(iVar1 + local_2c)" * (cast_expression "(undefined1 *)(iVar1 + local_2c)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + local_2c)" ( (binary_expression "iVar1 + local_2c" identifier + identifier) )))) ))))) ;) (expression_statement "local_28 = iVar3;" (assignment_expression "local_28 = iVar3" identifier = identifier) ;) (if_statement "if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }" if (parenthesized_expression "(0x7fff < uVar14)" ( (binary_expression "0x7fff < uVar14" number_literal < identifier) )) (compound_statement "{\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }" { (expression_statement "uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));" (assignment_expression "uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2))" identifier = (binary_expression "(uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2))" (binary_expression "(uVar14 & 0x7fff) << 0x10" (parenthesized_expression "(uVar14 & 0x7fff)" ( (binary_expression "uVar14 & 0x7fff" identifier & number_literal) )) << number_literal) | (cast_expression "(uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2))" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2))" identifier (argument_list "(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2))" ( (pointer_expression "*(undefined1 *)(local_2c + iVar3)" * (cast_expression "(undefined1 *)(local_2c + iVar3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_2c + iVar3)" ( (binary_expression "local_2c + iVar3" identifier + identifier) )))) , (pointer_expression "*(undefined1 *)(local_2c + iVar2)" * (cast_expression "(undefined1 *)(local_2c + iVar2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_2c + iVar2)" ( (binary_expression "local_2c + iVar2" identifier + identifier) )))) )))))) ;) (expression_statement "local_28 = iVar4;" (assignment_expression "local_28 = iVar4" identifier = identifier) ;) })) (expression_statement "iVar16 = iVar16 + 1;" (assignment_expression "iVar16 = iVar16 + 1" identifier = (binary_expression "iVar16 + 1" identifier + number_literal)) ;) (expression_statement "*local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;" (assignment_expression "*local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11" (pointer_expression "*local_68" * identifier) = (binary_expression "(uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11" (binary_expression "(uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf" (binary_expression "(uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00" (binary_expression "(uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0" (binary_expression "(uVar14 >> 0x1b) << 0xd" (parenthesized_expression "(uVar14 >> 0x1b)" ( (binary_expression "uVar14 >> 0x1b" identifier >> number_literal) )) << number_literal) | (binary_expression "uVar14 >> 0x13 & 0xf0" (binary_expression "uVar14 >> 0x13" identifier >> number_literal) & number_literal)) | (binary_expression "uVar14 << 4 & 0x1f00" (binary_expression "uVar14 << 4" identifier << number_literal) & number_literal)) | (binary_expression "uVar14 & 0xf" identifier & number_literal)) | (binary_expression "((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11" (parenthesized_expression "((uVar14 << 4 & 0x7ffff00) >> 0xd)" ( (binary_expression "(uVar14 << 4 & 0x7ffff00) >> 0xd" (parenthesized_expression "(uVar14 << 4 & 0x7ffff00)" ( (binary_expression "uVar14 << 4 & 0x7ffff00" (binary_expression "uVar14 << 4" identifier << number_literal) & number_literal) )) >> number_literal) )) << number_literal))) ;) (if_statement "if (iVar16 == iVar6 + (uint)bVar13) break;" if (parenthesized_expression "(iVar16 == iVar6 + (uint)bVar13)" ( (binary_expression "iVar16 == iVar6 + (uint)bVar13" identifier == (binary_expression "iVar6 + (uint)bVar13" identifier + (cast_expression "(uint)bVar13" ( (type_descriptor "uint" type_identifier) ) identifier))) )) (break_statement "break;" break ;)) (expression_statement "local_68 = local_68 + 3;" (assignment_expression "local_68 = local_68 + 3" identifier = (binary_expression "local_68 + 3" identifier + number_literal)) ;) (expression_statement "iVar5 = local_28;" (assignment_expression "iVar5 = local_28" identifier = identifier) ;) (if_statement "if (iVar16 == iVar11) goto LAB_000391c0;" if (parenthesized_expression "(iVar16 == iVar11)" ( (binary_expression "iVar16 == iVar11" identifier == identifier) )) (goto_statement "goto LAB_000391c0;" goto statement_identifier ;)) })) }) (else_clause "else {\n          local_28 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391e8;\n          iVar5 = iVar16 + 1;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          iVar16 = iVar5;\n          while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }\n        }" else (compound_statement "{\n          local_28 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391e8;\n          iVar5 = iVar16 + 1;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          iVar16 = iVar5;\n          while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }\n        }" { (expression_statement "local_28 = iVar15;" (assignment_expression "local_28 = iVar15" identifier = identifier) ;) (if_statement "if (iVar11 <= iVar16) goto LAB_000391e8;" if (parenthesized_expression "(iVar11 <= iVar16)" ( (binary_expression "iVar11 <= iVar16" identifier <= identifier) )) (goto_statement "goto LAB_000391e8;" goto statement_identifier ;)) (expression_statement "iVar5 = iVar16 + 1;" (assignment_expression "iVar5 = iVar16 + 1" identifier = (binary_expression "iVar16 + 1" identifier + number_literal)) ;) (expression_statement "local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);" (assignment_expression "local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc)" identifier = (cast_expression "(uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc)" ( (binary_expression "*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc" (binary_expression "*(int *)(puVar10 + 10) + 4" (pointer_expression "*(int *)(puVar10 + 10)" * (cast_expression "(int *)(puVar10 + 10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 10)" ( (binary_expression "puVar10 + 10" identifier + number_literal) )))) + number_literal) + (binary_expression "iVar16 * 0xc" identifier * number_literal)) )))) ;) (expression_statement "iVar16 = iVar5;" (assignment_expression "iVar16 = iVar5" identifier = identifier) ;) (while_statement "while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }" { (expression_statement "local_28 = iVar15 + 2;" (assignment_expression "local_28 = iVar15 + 2" identifier = (binary_expression "iVar15 + 2" identifier + number_literal)) ;) (expression_statement "uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));" (assignment_expression "uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15))" identifier = (cast_expression "(uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15))" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15))" identifier (argument_list "(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15))" ( (pointer_expression "*(undefined1 *)(local_2c + iVar15)" * (cast_expression "(undefined1 *)(local_2c + iVar15)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_2c + iVar15)" ( (binary_expression "local_2c + iVar15" identifier + identifier) )))) , (pointer_expression "*(undefined1 *)(local_2c + 1 + iVar15)" * (cast_expression "(undefined1 *)(local_2c + 1 + iVar15)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_2c + 1 + iVar15)" ( (binary_expression "local_2c + 1 + iVar15" (binary_expression "local_2c + 1" identifier + number_literal) + identifier) )))) ))))) ;) (if_statement "if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }" if (parenthesized_expression "(0x7fff < uVar14)" ( (binary_expression "0x7fff < uVar14" number_literal < identifier) )) (compound_statement "{\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }" { (expression_statement "local_28 = iVar15 + 4;" (assignment_expression "local_28 = iVar15 + 4" identifier = (binary_expression "iVar15 + 4" identifier + number_literal)) ;) (expression_statement "uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));" (assignment_expression "uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3))" identifier = (binary_expression "(uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3))" (binary_expression "(uVar14 & 0x7fff) << 0x10" (parenthesized_expression "(uVar14 & 0x7fff)" ( (binary_expression "uVar14 & 0x7fff" identifier & number_literal) )) << number_literal) | (cast_expression "(uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3))" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3))" identifier (argument_list "(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3))" ( (pointer_expression "*(undefined1 *)(local_2c + 2 + iVar15)" * (cast_expression "(undefined1 *)(local_2c + 2 + iVar15)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_2c + 2 + iVar15)" ( (binary_expression "local_2c + 2 + iVar15" (binary_expression "local_2c + 2" identifier + number_literal) + identifier) )))) , (pointer_expression "*(undefined1 *)(local_2c + iVar15 + 3)" * (cast_expression "(undefined1 *)(local_2c + iVar15 + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_2c + iVar15 + 3)" ( (binary_expression "local_2c + iVar15 + 3" (binary_expression "local_2c + iVar15" identifier + identifier) + number_literal) )))) )))))) ;) })) (expression_statement "*local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;" (assignment_expression "*local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf" (pointer_expression "*local_68" * identifier) = (binary_expression "((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf" (binary_expression "((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00" (binary_expression "((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0" (binary_expression "((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd" (binary_expression "((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11" (parenthesized_expression "((uVar14 << 4 & 0x7ffff00) >> 0xd)" ( (binary_expression "(uVar14 << 4 & 0x7ffff00) >> 0xd" (parenthesized_expression "(uVar14 << 4 & 0x7ffff00)" ( (binary_expression "uVar14 << 4 & 0x7ffff00" (binary_expression "uVar14 << 4" identifier << number_literal) & number_literal) )) >> number_literal) )) << number_literal) | (binary_expression "(uVar14 >> 0x1b) << 0xd" (parenthesized_expression "(uVar14 >> 0x1b)" ( (binary_expression "uVar14 >> 0x1b" identifier >> number_literal) )) << number_literal)) | (binary_expression "uVar14 >> 0x13 & 0xf0" (binary_expression "uVar14 >> 0x13" identifier >> number_literal) & number_literal)) | (binary_expression "uVar14 << 4 & 0x1f00" (binary_expression "uVar14 << 4" identifier << number_literal) & number_literal)) | (binary_expression "uVar14 & 0xf" identifier & number_literal))) ;) (if_statement "if ((uint)bVar13 + iVar5 == iVar16) break;" if (parenthesized_expression "((uint)bVar13 + iVar5 == iVar16)" ( (binary_expression "(uint)bVar13 + iVar5 == iVar16" (binary_expression "(uint)bVar13 + iVar5" (cast_expression "(uint)bVar13" ( (type_descriptor "uint" type_identifier) ) identifier) + identifier) == identifier) )) (break_statement "break;" break ;)) (expression_statement "local_68 = local_68 + 3;" (assignment_expression "local_68 = local_68 + 3" identifier = (binary_expression "local_68 + 3" identifier + number_literal)) ;) (expression_statement "bVar18 = iVar11 == iVar16;" (assignment_expression "bVar18 = iVar11 == iVar16" identifier = (binary_expression "iVar11 == iVar16" identifier == identifier)) ;) (expression_statement "iVar15 = local_28;" (assignment_expression "iVar15 = local_28" identifier = identifier) ;) (expression_statement "iVar16 = iVar16 + 1;" (assignment_expression "iVar16 = iVar16 + 1" identifier = (binary_expression "iVar16 + 1" identifier + number_literal)) ;) (if_statement "if (bVar18) goto LAB_000391e8;" if (parenthesized_expression "(bVar18)" ( identifier )) (goto_statement "goto LAB_000391e8;" goto statement_identifier ;)) })) }))) }) while (parenthesized_expression "(iVar16 < iVar11)" ( (binary_expression "iVar16 < iVar11" identifier < identifier) )) ;) }))) (if_statement "if (iVar11 != iVar16) goto LAB_0003920f;" if (parenthesized_expression "(iVar11 != iVar16)" ( (binary_expression "iVar11 != iVar16" identifier != identifier) )) (goto_statement "goto LAB_0003920f;" goto statement_identifier ;)) }))) (expression_statement "piVar20 = &local_2c;" (assignment_expression "piVar20 = &local_2c" identifier = (pointer_expression "&local_2c" & identifier)) ;) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "bVar18 = local_40 == 0;" (assignment_expression "bVar18 = local_40 == 0" identifier = (binary_expression "local_40 == 0" identifier == number_literal)) ;) (if_statement "if (0 < local_40) {\n    do {\n      iVar16 = local_28 + 1;\n      bVar13 = *(byte *)(local_2c + local_28);\n      local_28 = iVar16;\n      if ((char)bVar13 < '\0') {\n        iVar15 = iVar11 + 1;\n        FUN_000388e0(&local_34);\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_000388e0(&local_34);\n        } while (iVar15 != iVar11);\n        iVar16 = *(int *)(puVar10 + 2);\n      }\n      else {\n        iVar16 = iVar11 + 1;\n        while( true ) {\n          iVar11 = iVar11 + 1;\n          FUN_000388e0(&local_34);\n          if (iVar16 + (uint)bVar13 == iVar11) break;\n          if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n        }\n        iVar16 = *(int *)(puVar10 + 2);\n      }\n      bVar18 = iVar16 == iVar11;\n    } while (!bVar18 && iVar11 <= iVar16);\n  }" if (parenthesized_expression "(0 < local_40)" ( (binary_expression "0 < local_40" number_literal < identifier) )) (compound_statement "{\n    do {\n      iVar16 = local_28 + 1;\n      bVar13 = *(byte *)(local_2c + local_28);\n      local_28 = iVar16;\n      if ((char)bVar13 < '\0') {\n        iVar15 = iVar11 + 1;\n        FUN_000388e0(&local_34);\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_000388e0(&local_34);\n        } while (iVar15 != iVar11);\n        iVar16 = *(int *)(puVar10 + 2);\n      }\n      else {\n        iVar16 = iVar11 + 1;\n        while( true ) {\n          iVar11 = iVar11 + 1;\n          FUN_000388e0(&local_34);\n          if (iVar16 + (uint)bVar13 == iVar11) break;\n          if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n        }\n        iVar16 = *(int *)(puVar10 + 2);\n      }\n      bVar18 = iVar16 == iVar11;\n    } while (!bVar18 && iVar11 <= iVar16);\n  }" { (do_statement "do {\n      iVar16 = local_28 + 1;\n      bVar13 = *(byte *)(local_2c + local_28);\n      local_28 = iVar16;\n      if ((char)bVar13 < '\0') {\n        iVar15 = iVar11 + 1;\n        FUN_000388e0(&local_34);\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_000388e0(&local_34);\n        } while (iVar15 != iVar11);\n        iVar16 = *(int *)(puVar10 + 2);\n      }\n      else {\n        iVar16 = iVar11 + 1;\n        while( true ) {\n          iVar11 = iVar11 + 1;\n          FUN_000388e0(&local_34);\n          if (iVar16 + (uint)bVar13 == iVar11) break;\n          if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n        }\n        iVar16 = *(int *)(puVar10 + 2);\n      }\n      bVar18 = iVar16 == iVar11;\n    } while (!bVar18 && iVar11 <= iVar16);" do (compound_statement "{\n      iVar16 = local_28 + 1;\n      bVar13 = *(byte *)(local_2c + local_28);\n      local_28 = iVar16;\n      if ((char)bVar13 < '\0') {\n        iVar15 = iVar11 + 1;\n        FUN_000388e0(&local_34);\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_000388e0(&local_34);\n        } while (iVar15 != iVar11);\n        iVar16 = *(int *)(puVar10 + 2);\n      }\n      else {\n        iVar16 = iVar11 + 1;\n        while( true ) {\n          iVar11 = iVar11 + 1;\n          FUN_000388e0(&local_34);\n          if (iVar16 + (uint)bVar13 == iVar11) break;\n          if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n        }\n        iVar16 = *(int *)(puVar10 + 2);\n      }\n      bVar18 = iVar16 == iVar11;\n    }" { (expression_statement "iVar16 = local_28 + 1;" (assignment_expression "iVar16 = local_28 + 1" identifier = (binary_expression "local_28 + 1" identifier + number_literal)) ;) (expression_statement "bVar13 = *(byte *)(local_2c + local_28);" (assignment_expression "bVar13 = *(byte *)(local_2c + local_28)" identifier = (pointer_expression "*(byte *)(local_2c + local_28)" * (cast_expression "(byte *)(local_2c + local_28)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_2c + local_28)" ( (binary_expression "local_2c + local_28" identifier + identifier) ))))) ;) (expression_statement "local_28 = iVar16;" (assignment_expression "local_28 = iVar16" identifier = identifier) ;) (if_statement "if ((char)bVar13 < '\0') {\n        iVar15 = iVar11 + 1;\n        FUN_000388e0(&local_34);\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_000388e0(&local_34);\n        } while (iVar15 != iVar11);\n        iVar16 = *(int *)(puVar10 + 2);\n      }\n      else {\n        iVar16 = iVar11 + 1;\n        while( true ) {\n          iVar11 = iVar11 + 1;\n          FUN_000388e0(&local_34);\n          if (iVar16 + (uint)bVar13 == iVar11) break;\n          if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n        }\n        iVar16 = *(int *)(puVar10 + 2);\n      }" if (parenthesized_expression "((char)bVar13 < '\0')" ( (binary_expression "(char)bVar13 < '\0'" (cast_expression "(char)bVar13" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar15 = iVar11 + 1;\n        FUN_000388e0(&local_34);\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_000388e0(&local_34);\n        } while (iVar15 != iVar11);\n        iVar16 = *(int *)(puVar10 + 2);\n      }" { (expression_statement "iVar15 = iVar11 + 1;" (assignment_expression "iVar15 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) (expression_statement "FUN_000388e0(&local_34);" (call_expression "FUN_000388e0(&local_34)" identifier (argument_list "(&local_34)" ( (pointer_expression "&local_34" & identifier) ))) ;) (expression_statement "iVar11 = iVar11 + -0x7e + (uint)bVar13;" (assignment_expression "iVar11 = iVar11 + -0x7e + (uint)bVar13" identifier = (binary_expression "iVar11 + -0x7e + (uint)bVar13" (binary_expression "iVar11 + -0x7e" identifier + number_literal) + (cast_expression "(uint)bVar13" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (do_statement "do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_000388e0(&local_34);\n        } while (iVar15 != iVar11);" do (compound_statement "{\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_000388e0(&local_34);\n        }" { (expression_statement "iVar5 = local_28;" (assignment_expression "iVar5 = local_28" identifier = identifier) ;) (if_statement "if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;" if (parenthesized_expression "(*(int *)(puVar10 + 2) <= iVar15)" ( (binary_expression "*(int *)(puVar10 + 2) <= iVar15" (pointer_expression "*(int *)(puVar10 + 2)" * (cast_expression "(int *)(puVar10 + 2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 2)" ( (binary_expression "puVar10 + 2" identifier + number_literal) )))) <= identifier) )) (goto_statement "goto LAB_000391c0;" goto statement_identifier ;)) (expression_statement "iVar15 = iVar15 + 1;" (assignment_expression "iVar15 = iVar15 + 1" identifier = (binary_expression "iVar15 + 1" identifier + number_literal)) ;) (expression_statement "local_28 = iVar16;" (assignment_expression "local_28 = iVar16" identifier = identifier) ;) (expression_statement "FUN_000388e0(&local_34);" (call_expression "FUN_000388e0(&local_34)" identifier (argument_list "(&local_34)" ( (pointer_expression "&local_34" & identifier) ))) ;) }) while (parenthesized_expression "(iVar15 != iVar11)" ( (binary_expression "iVar15 != iVar11" identifier != identifier) )) ;) (expression_statement "iVar16 = *(int *)(puVar10 + 2);" (assignment_expression "iVar16 = *(int *)(puVar10 + 2)" identifier = (pointer_expression "*(int *)(puVar10 + 2)" * (cast_expression "(int *)(puVar10 + 2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 2)" ( (binary_expression "puVar10 + 2" identifier + number_literal) ))))) ;) }) (else_clause "else {\n        iVar16 = iVar11 + 1;\n        while( true ) {\n          iVar11 = iVar11 + 1;\n          FUN_000388e0(&local_34);\n          if (iVar16 + (uint)bVar13 == iVar11) break;\n          if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n        }\n        iVar16 = *(int *)(puVar10 + 2);\n      }" else (compound_statement "{\n        iVar16 = iVar11 + 1;\n        while( true ) {\n          iVar11 = iVar11 + 1;\n          FUN_000388e0(&local_34);\n          if (iVar16 + (uint)bVar13 == iVar11) break;\n          if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n        }\n        iVar16 = *(int *)(puVar10 + 2);\n      }" { (expression_statement "iVar16 = iVar11 + 1;" (assignment_expression "iVar16 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) (while_statement "while( true ) {\n          iVar11 = iVar11 + 1;\n          FUN_000388e0(&local_34);\n          if (iVar16 + (uint)bVar13 == iVar11) break;\n          if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          iVar11 = iVar11 + 1;\n          FUN_000388e0(&local_34);\n          if (iVar16 + (uint)bVar13 == iVar11) break;\n          if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n        }" { (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) (expression_statement "FUN_000388e0(&local_34);" (call_expression "FUN_000388e0(&local_34)" identifier (argument_list "(&local_34)" ( (pointer_expression "&local_34" & identifier) ))) ;) (if_statement "if (iVar16 + (uint)bVar13 == iVar11) break;" if (parenthesized_expression "(iVar16 + (uint)bVar13 == iVar11)" ( (binary_expression "iVar16 + (uint)bVar13 == iVar11" (binary_expression "iVar16 + (uint)bVar13" identifier + (cast_expression "(uint)bVar13" ( (type_descriptor "uint" type_identifier) ) identifier)) == identifier) )) (break_statement "break;" break ;)) (if_statement "if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;" if (parenthesized_expression "(*(int *)(puVar10 + 2) <= iVar11)" ( (binary_expression "*(int *)(puVar10 + 2) <= iVar11" (pointer_expression "*(int *)(puVar10 + 2)" * (cast_expression "(int *)(puVar10 + 2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 2)" ( (binary_expression "puVar10 + 2" identifier + number_literal) )))) <= identifier) )) (goto_statement "goto LAB_000391e8;" goto statement_identifier ;)) })) (expression_statement "iVar16 = *(int *)(puVar10 + 2);" (assignment_expression "iVar16 = *(int *)(puVar10 + 2)" identifier = (pointer_expression "*(int *)(puVar10 + 2)" * (cast_expression "(int *)(puVar10 + 2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 2)" ( (binary_expression "puVar10 + 2" identifier + number_literal) ))))) ;) }))) (expression_statement "bVar18 = iVar16 == iVar11;" (assignment_expression "bVar18 = iVar16 == iVar11" identifier = (binary_expression "iVar16 == iVar11" identifier == identifier)) ;) }) while (parenthesized_expression "(!bVar18 && iVar11 <= iVar16)" ( (binary_expression "!bVar18 && iVar11 <= iVar16" (unary_expression "!bVar18" ! identifier) && (binary_expression "iVar11 <= iVar16" identifier <= identifier)) )) ;) })) (if_statement "if (bVar18) {\n    if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_0006c950(piVar20);\n    }\n    return puVar10;\n  }" if (parenthesized_expression "(bVar18)" ( identifier )) (compound_statement "{\n    if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_0006c950(piVar20);\n    }\n    return puVar10;\n  }" { (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_0006c950(piVar20);\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                    \n      FUN_0006c950(piVar20);\n    }" { (expression_statement "FUN_0006c950(piVar20);" (call_expression "FUN_0006c950(piVar20)" identifier (argument_list "(piVar20)" ( identifier ))) ;) })) (return_statement "return puVar10;" return identifier ;) })) (labeled_statement "LAB_0003920f:\n                    \n  __assert_fail("n == ldata->cols","terminal.c",800,"readrle");" statement_identifier : (expression_statement "__assert_fail("n == ldata->cols","terminal.c",800,"readrle");" (call_expression "__assert_fail("n == ldata->cols","terminal.c",800,"readrle")" identifier (argument_list "("n == ldata->cols","terminal.c",800,"readrle")" ( (string_literal ""n == ldata->cols"" " string_content ") , (string_literal ""terminal.c"" " string_content ") , number_literal , (string_literal ""readrle"" " string_content ") ))) ;)) (labeled_statement "LAB_000391e8:\n  uVar14 = 0x319;" statement_identifier : (expression_statement "uVar14 = 0x319;" (assignment_expression "uVar14 = 0x319" identifier = number_literal) ;)) (goto_statement "goto LAB_000391d0;" goto statement_identifier ;) (labeled_statement "LAB_000391c0:\n  local_28 = iVar5;" statement_identifier : (expression_statement "local_28 = iVar5;" (assignment_expression "local_28 = iVar5" identifier = identifier) ;)) (expression_statement "uVar14 = 0x30f;" (assignment_expression "uVar14 = 0x30f" identifier = number_literal) ;) (labeled_statement "LAB_000391d0:\n                    \n  __assert_fail("n < ldata->cols","terminal.c",uVar14,"readrle");" statement_identifier : (expression_statement "__assert_fail("n < ldata->cols","terminal.c",uVar14,"readrle");" (call_expression "__assert_fail("n < ldata->cols","terminal.c",uVar14,"readrle")" identifier (argument_list "("n < ldata->cols","terminal.c",uVar14,"readrle")" ( (string_literal ""n < ldata->cols"" " string_content ") , (string_literal ""terminal.c"" " string_content ") , identifier , (string_literal ""readrle"" " string_content ") ))) ;)) }))
(translation_unit (ERROR (binary_expression IDENT * (ERROR IDENT) (call_expression IDENT (argument_list ( (ERROR IDENT) IDENT ))))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE 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) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << (parenthesized_expression ( (binary_expression (binary_expression IDENT * (char_literal ' escape_sequence ')) & LIT) ))))) ;) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (char_literal ' escape_sequence ')) )) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , LIT ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor (sized_type_specifier short)) ) IDENT)) ;) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (char_literal ' escape_sequence ')) )) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + LIT) + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT))) )) (break_statement break ;)) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= 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 IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == IDENT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (unary_expression ! IDENT) )) (goto_statement goto statement_identifier ;))) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_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 = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) + (binary_expression IDENT * LIT)) )))) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT) | (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) )))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (binary_expression (binary_expression (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT >> LIT) )) << LIT) | (binary_expression (binary_expression IDENT >> LIT) & LIT)) | (binary_expression (binary_expression IDENT << LIT) & LIT)) | (binary_expression IDENT & LIT)) | (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT << LIT) & LIT) )) >> LIT) )) << LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT))) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT) | (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) )))))) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (binary_expression (binary_expression (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT << LIT) & LIT) )) >> LIT) )) << LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT >> LIT) )) << LIT)) | (binary_expression (binary_expression IDENT >> LIT) & LIT)) | (binary_expression (binary_expression IDENT << LIT) & LIT)) | (binary_expression IDENT & LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) == IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (goto_statement goto statement_identifier ;)) })) }))) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (goto_statement goto statement_identifier ;)) }))) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + LIT) + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT)) == IDENT) )) (break_statement break ;)) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= 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 IDENT + LIT) ))))) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == IDENT)) ;) }) while (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) && (binary_expression IDENT <= IDENT)) )) ;) })) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (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 { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (return_statement return IDENT ;) })) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (goto_statement goto statement_identifier ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , IDENT , (string_literal " string_content ") ))) ;)) }))
(ERROR "undefined2 * __regparm3 FUN_00038c60(int param_1)" (binary_expression "undefined2 * __regparm3 FUN_00038c60(int param_1)" (identifier "undefined2") (* "*") (ERROR "__regparm3" (identifier "__regparm3")) (call_expression "FUN_00038c60(int param_1)" (identifier "FUN_00038c60") (argument_list "(int param_1)" (( "(") (ERROR "int" (identifier "int")) (identifier "param_1") () ")"))))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  byte bVar7;\n  byte bVar8;\n  char cVar9;\n  undefined2 *puVar10;\n  int iVar11;\n  undefined4 *puVar12;\n  byte bVar13;\n  uint uVar14;\n  int iVar15;\n  int iVar16;\n  uint uVar17;\n  int in_GS_OFFSET;\n  bool bVar18;\n  undefined4 *puVar19;\n  int *piVar20;\n  uint *local_68;\n  int local_40;\n  undefined4 local_34;\n  undefined4 local_30;\n  int local_2c;\n  int local_28;\n  int local_20;\n  \n  local_28 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar14 = 0;\n  do {\n    cVar9 = (char)local_28;\n    local_28 = local_28 + 1;\n    bVar13 = *(byte *)(param_1 + -1 + local_28);\n    uVar14 = uVar14 | (bVar13 & 0x7f) << (cVar9 * '\a' & 0x1fU);\n  } while ((char)bVar13 < '\0');\n  local_2c = param_1;\n  puVar10 = (undefined2 *)FUN_00030000(1,0x18);\n  iVar11 = FUN_00030000(uVar14,0xc);\n  *(uint *)(puVar10 + 4) = uVar14;\n  *(int *)(puVar10 + 10) = iVar11;\n  *(uint *)(puVar10 + 2) = uVar14;\n  *(undefined4 *)(puVar10 + 6) = 1;\n  *(undefined4 *)(puVar10 + 8) = 0;\n  if (0 < (int)uVar14) {\n    puVar12 = (undefined4 *)(iVar11 + 8);\n    puVar19 = puVar12 + uVar14 * 3;\n    do {\n      *puVar12 = 0;\n      puVar12 = puVar12 + 3;\n    } while (puVar19 != puVar12);\n  }\n  uVar17 = 0;\n  *puVar10 = 0;\n  bVar13 = 0;\n  do {\n    local_28 = local_28 + 1;\n    bVar7 = *(byte *)(local_2c + -1 + local_28);\n    bVar8 = bVar13 & 0x1f;\n    bVar13 = bVar13 + 7;\n    uVar17 = uVar17 | (bVar7 & 0x7f) << bVar8;\n    *puVar10 = (short)uVar17;\n  } while ((char)bVar7 < '\0');\n  local_30 = 0;\n  if ((int)uVar14 < 1) {\n    if (uVar14 != 0) goto LAB_0003920f;\n    local_40 = *(int *)(puVar10 + 2);\n  }\n  else {\n    iVar11 = 0;\n    puVar19 = &local_30;\n    do {\n      while( true ) {\n        iVar16 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        local_28 = iVar16;\n        if (-1 < (char)bVar13) break;\n        iVar15 = iVar11 + 1;\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        FUN_00037420(puVar19);\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_00037420(puVar19);\n        } while (iVar15 != iVar11);\n        local_40 = *(int *)(puVar10 + 2);\n        bVar18 = iVar11 == local_40;\n        if (local_40 <= iVar11) goto LAB_00038e55;\n      }\n      iVar16 = iVar11 + 1;\n      while( true ) {\n        iVar11 = iVar11 + 1;\n        FUN_00037420(puVar19);\n        if (iVar11 == iVar16 + (uint)bVar13) break;\n        if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n      }\n      local_40 = *(int *)(puVar10 + 2);\n      bVar18 = iVar11 == local_40;\n    } while (iVar11 < local_40);\nLAB_00038e55:\n    if (!bVar18) goto LAB_0003920f;\n    if (iVar11 < 1) {\n      iVar16 = 0;\n    }\n    else {\n      iVar16 = 0;\n      do {\n        iVar15 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        if ((char)bVar13 < '\0') {\n          iVar5 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391c0;\n          iVar1 = local_28 + 2;\n          iVar6 = iVar16 + -0x7e;\n          iVar2 = local_28 + 4;\n          iVar3 = local_28 + 3;\n          iVar4 = local_28 + 5;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          while( true ) {\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }\n        }\n        else {\n          local_28 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391e8;\n          iVar5 = iVar16 + 1;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          iVar16 = iVar5;\n          while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }\n        }\n      } while (iVar16 < iVar11);\n    }\n    if (iVar11 != iVar16) goto LAB_0003920f;\n  }\n  piVar20 = &local_2c;\n  iVar11 = 0;\n  local_34 = 0;\n  bVar18 = local_40 == 0;\n  if (0 < local_40) {\n    do {\n      iVar16 = local_28 + 1;\n      bVar13 = *(byte *)(local_2c + local_28);\n      local_28 = iVar16;\n      if ((char)bVar13 < '\0') {\n        iVar15 = iVar11 + 1;\n        FUN_000388e0(&local_34);\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_000388e0(&local_34);\n        } while (iVar15 != iVar11);\n        iVar16 = *(int *)(puVar10 + 2);\n      }\n      else {\n        iVar16 = iVar11 + 1;\n        while( true ) {\n          iVar11 = iVar11 + 1;\n          FUN_000388e0(&local_34);\n          if (iVar16 + (uint)bVar13 == iVar11) break;\n          if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n        }\n        iVar16 = *(int *)(puVar10 + 2);\n      }\n      bVar18 = iVar16 == iVar11;\n    } while (!bVar18 && iVar11 <= iVar16);\n  }\n  if (bVar18) {\n    if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_0006c950(piVar20);\n    }\n    return puVar10;\n  }\nLAB_0003920f:\n                    \n  __assert_fail("n == ldata->cols","terminal.c",800,"readrle");\nLAB_000391e8:\n  uVar14 = 0x319;\n  goto LAB_000391d0;\nLAB_000391c0:\n  local_28 = iVar5;\n  uVar14 = 0x30f;\nLAB_000391d0:\n                    \n  __assert_fail("n < ldata->cols","terminal.c",uVar14,"readrle");\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "byte bVar7;" (type_identifier "byte") (identifier "bVar7") (; ";")) (declaration "byte bVar8;" (type_identifier "byte") (identifier "bVar8") (; ";")) (declaration "char cVar9;" (primitive_type "char") (identifier "cVar9") (; ";")) (declaration "undefined2 *puVar10;" (type_identifier "undefined2") (pointer_declarator "*puVar10" (* "*") (identifier "puVar10")) (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "undefined4 *puVar12;" (type_identifier "undefined4") (pointer_declarator "*puVar12" (* "*") (identifier "puVar12")) (; ";")) (declaration "byte bVar13;" (type_identifier "byte") (identifier "bVar13") (; ";")) (declaration "uint uVar14;" (type_identifier "uint") (identifier "uVar14") (; ";")) (declaration "int iVar15;" (primitive_type "int") (identifier "iVar15") (; ";")) (declaration "int iVar16;" (primitive_type "int") (identifier "iVar16") (; ";")) (declaration "uint uVar17;" (type_identifier "uint") (identifier "uVar17") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "bool bVar18;" (primitive_type "bool") (identifier "bVar18") (; ";")) (declaration "undefined4 *puVar19;" (type_identifier "undefined4") (pointer_declarator "*puVar19" (* "*") (identifier "puVar19")) (; ";")) (declaration "int *piVar20;" (primitive_type "int") (pointer_declarator "*piVar20" (* "*") (identifier "piVar20")) (; ";")) (declaration "uint *local_68;" (type_identifier "uint") (pointer_declarator "*local_68" (* "*") (identifier "local_68")) (; ";")) (declaration "int local_40;" (primitive_type "int") (identifier "local_40") (; ";")) (declaration "undefined4 local_34;" (type_identifier "undefined4") (identifier "local_34") (; ";")) (declaration "undefined4 local_30;" (type_identifier "undefined4") (identifier "local_30") (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (declaration "int local_28;" (primitive_type "int") (identifier "local_28") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" (identifier "local_28") (= "=") (number_literal "0")) (; ";")) (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")) () ")"))))) (; ";")) (expression_statement "uVar14 = 0;" (assignment_expression "uVar14 = 0" (identifier "uVar14") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n    cVar9 = (char)local_28;\n    local_28 = local_28 + 1;\n    bVar13 = *(byte *)(param_1 + -1 + local_28);\n    uVar14 = uVar14 | (bVar13 & 0x7f) << (cVar9 * '\a' & 0x1fU);\n  } while ((char)bVar13 < '\0');" (do "do") (compound_statement "{\n    cVar9 = (char)local_28;\n    local_28 = local_28 + 1;\n    bVar13 = *(byte *)(param_1 + -1 + local_28);\n    uVar14 = uVar14 | (bVar13 & 0x7f) << (cVar9 * '\a' & 0x1fU);\n  }" ({ "{") (expression_statement "cVar9 = (char)local_28;" (assignment_expression "cVar9 = (char)local_28" (identifier "cVar9") (= "=") (cast_expression "(char)local_28" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "local_28"))) (; ";")) (expression_statement "local_28 = local_28 + 1;" (assignment_expression "local_28 = local_28 + 1" (identifier "local_28") (= "=") (binary_expression "local_28 + 1" (identifier "local_28") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar13 = *(byte *)(param_1 + -1 + local_28);" (assignment_expression "bVar13 = *(byte *)(param_1 + -1 + local_28)" (identifier "bVar13") (= "=") (pointer_expression "*(byte *)(param_1 + -1 + local_28)" (* "*") (cast_expression "(byte *)(param_1 + -1 + local_28)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + -1 + local_28)" (( "(") (binary_expression "param_1 + -1 + local_28" (binary_expression "param_1 + -1" (identifier "param_1") (+ "+") (number_literal "-1")) (+ "+") (identifier "local_28")) () ")"))))) (; ";")) (expression_statement "uVar14 = uVar14 | (bVar13 & 0x7f) << (cVar9 * '\a' & 0x1fU);" (assignment_expression "uVar14 = uVar14 | (bVar13 & 0x7f) << (cVar9 * '\a' & 0x1fU)" (identifier "uVar14") (= "=") (binary_expression "uVar14 | (bVar13 & 0x7f) << (cVar9 * '\a' & 0x1fU)" (identifier "uVar14") (| "|") (binary_expression "(bVar13 & 0x7f) << (cVar9 * '\a' & 0x1fU)" (parenthesized_expression "(bVar13 & 0x7f)" (( "(") (binary_expression "bVar13 & 0x7f" (identifier "bVar13") (& "&") (number_literal "0x7f")) () ")")) (<< "<<") (parenthesized_expression "(cVar9 * '\a' & 0x1fU)" (( "(") (binary_expression "cVar9 * '\a' & 0x1fU" (binary_expression "cVar9 * '\a'" (identifier "cVar9") (* "*") (char_literal "'\a'" (' "'") (escape_sequence "\a") (' "'"))) (& "&") (number_literal "0x1fU")) () ")"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((char)bVar13 < '\0')" (( "(") (binary_expression "(char)bVar13 < '\0'" (cast_expression "(char)bVar13" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "bVar13")) (< "<") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (; ";")) (expression_statement "local_2c = param_1;" (assignment_expression "local_2c = param_1" (identifier "local_2c") (= "=") (identifier "param_1")) (; ";")) (expression_statement "puVar10 = (undefined2 *)FUN_00030000(1,0x18);" (assignment_expression "puVar10 = (undefined2 *)FUN_00030000(1,0x18)" (identifier "puVar10") (= "=") (cast_expression "(undefined2 *)FUN_00030000(1,0x18)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00030000(1,0x18)" (identifier "FUN_00030000") (argument_list "(1,0x18)" (( "(") (number_literal "1") (, ",") (number_literal "0x18") () ")"))))) (; ";")) (expression_statement "iVar11 = FUN_00030000(uVar14,0xc);" (assignment_expression "iVar11 = FUN_00030000(uVar14,0xc)" (identifier "iVar11") (= "=") (call_expression "FUN_00030000(uVar14,0xc)" (identifier "FUN_00030000") (argument_list "(uVar14,0xc)" (( "(") (identifier "uVar14") (, ",") (number_literal "0xc") () ")")))) (; ";")) (expression_statement "*(uint *)(puVar10 + 4) = uVar14;" (assignment_expression "*(uint *)(puVar10 + 4) = uVar14" (pointer_expression "*(uint *)(puVar10 + 4)" (* "*") (cast_expression "(uint *)(puVar10 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + 4)" (( "(") (binary_expression "puVar10 + 4" (identifier "puVar10") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "uVar14")) (; ";")) (expression_statement "*(int *)(puVar10 + 10) = iVar11;" (assignment_expression "*(int *)(puVar10 + 10) = iVar11" (pointer_expression "*(int *)(puVar10 + 10)" (* "*") (cast_expression "(int *)(puVar10 + 10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + 10)" (( "(") (binary_expression "puVar10 + 10" (identifier "puVar10") (+ "+") (number_literal "10")) () ")")))) (= "=") (identifier "iVar11")) (; ";")) (expression_statement "*(uint *)(puVar10 + 2) = uVar14;" (assignment_expression "*(uint *)(puVar10 + 2) = uVar14" (pointer_expression "*(uint *)(puVar10 + 2)" (* "*") (cast_expression "(uint *)(puVar10 + 2)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + 2)" (( "(") (binary_expression "puVar10 + 2" (identifier "puVar10") (+ "+") (number_literal "2")) () ")")))) (= "=") (identifier "uVar14")) (; ";")) (expression_statement "*(undefined4 *)(puVar10 + 6) = 1;" (assignment_expression "*(undefined4 *)(puVar10 + 6) = 1" (pointer_expression "*(undefined4 *)(puVar10 + 6)" (* "*") (cast_expression "(undefined4 *)(puVar10 + 6)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + 6)" (( "(") (binary_expression "puVar10 + 6" (identifier "puVar10") (+ "+") (number_literal "6")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(undefined4 *)(puVar10 + 8) = 0;" (assignment_expression "*(undefined4 *)(puVar10 + 8) = 0" (pointer_expression "*(undefined4 *)(puVar10 + 8)" (* "*") (cast_expression "(undefined4 *)(puVar10 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + 8)" (( "(") (binary_expression "puVar10 + 8" (identifier "puVar10") (+ "+") (number_literal "8")) () ")")))) (= "=") (number_literal "0")) (; ";")) (if_statement "if (0 < (int)uVar14) {\n    puVar12 = (undefined4 *)(iVar11 + 8);\n    puVar19 = puVar12 + uVar14 * 3;\n    do {\n      *puVar12 = 0;\n      puVar12 = puVar12 + 3;\n    } while (puVar19 != puVar12);\n  }" (if "if") (parenthesized_expression "(0 < (int)uVar14)" (( "(") (binary_expression "0 < (int)uVar14" (number_literal "0") (< "<") (cast_expression "(int)uVar14" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar14"))) () ")")) (compound_statement "{\n    puVar12 = (undefined4 *)(iVar11 + 8);\n    puVar19 = puVar12 + uVar14 * 3;\n    do {\n      *puVar12 = 0;\n      puVar12 = puVar12 + 3;\n    } while (puVar19 != puVar12);\n  }" ({ "{") (expression_statement "puVar12 = (undefined4 *)(iVar11 + 8);" (assignment_expression "puVar12 = (undefined4 *)(iVar11 + 8)" (identifier "puVar12") (= "=") (cast_expression "(undefined4 *)(iVar11 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 8)" (( "(") (binary_expression "iVar11 + 8" (identifier "iVar11") (+ "+") (number_literal "8")) () ")")))) (; ";")) (expression_statement "puVar19 = puVar12 + uVar14 * 3;" (assignment_expression "puVar19 = puVar12 + uVar14 * 3" (identifier "puVar19") (= "=") (binary_expression "puVar12 + uVar14 * 3" (identifier "puVar12") (+ "+") (binary_expression "uVar14 * 3" (identifier "uVar14") (* "*") (number_literal "3")))) (; ";")) (do_statement "do {\n      *puVar12 = 0;\n      puVar12 = puVar12 + 3;\n    } while (puVar19 != puVar12);" (do "do") (compound_statement "{\n      *puVar12 = 0;\n      puVar12 = puVar12 + 3;\n    }" ({ "{") (expression_statement "*puVar12 = 0;" (assignment_expression "*puVar12 = 0" (pointer_expression "*puVar12" (* "*") (identifier "puVar12")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar12 = puVar12 + 3;" (assignment_expression "puVar12 = puVar12 + 3" (identifier "puVar12") (= "=") (binary_expression "puVar12 + 3" (identifier "puVar12") (+ "+") (number_literal "3"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar19 != puVar12)" (( "(") (binary_expression "puVar19 != puVar12" (identifier "puVar19") (!= "!=") (identifier "puVar12")) () ")")) (; ";")) (} "}"))) (expression_statement "uVar17 = 0;" (assignment_expression "uVar17 = 0" (identifier "uVar17") (= "=") (number_literal "0")) (; ";")) (expression_statement "*puVar10 = 0;" (assignment_expression "*puVar10 = 0" (pointer_expression "*puVar10" (* "*") (identifier "puVar10")) (= "=") (number_literal "0")) (; ";")) (expression_statement "bVar13 = 0;" (assignment_expression "bVar13 = 0" (identifier "bVar13") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n    local_28 = local_28 + 1;\n    bVar7 = *(byte *)(local_2c + -1 + local_28);\n    bVar8 = bVar13 & 0x1f;\n    bVar13 = bVar13 + 7;\n    uVar17 = uVar17 | (bVar7 & 0x7f) << bVar8;\n    *puVar10 = (short)uVar17;\n  } while ((char)bVar7 < '\0');" (do "do") (compound_statement "{\n    local_28 = local_28 + 1;\n    bVar7 = *(byte *)(local_2c + -1 + local_28);\n    bVar8 = bVar13 & 0x1f;\n    bVar13 = bVar13 + 7;\n    uVar17 = uVar17 | (bVar7 & 0x7f) << bVar8;\n    *puVar10 = (short)uVar17;\n  }" ({ "{") (expression_statement "local_28 = local_28 + 1;" (assignment_expression "local_28 = local_28 + 1" (identifier "local_28") (= "=") (binary_expression "local_28 + 1" (identifier "local_28") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar7 = *(byte *)(local_2c + -1 + local_28);" (assignment_expression "bVar7 = *(byte *)(local_2c + -1 + local_28)" (identifier "bVar7") (= "=") (pointer_expression "*(byte *)(local_2c + -1 + local_28)" (* "*") (cast_expression "(byte *)(local_2c + -1 + local_28)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_2c + -1 + local_28)" (( "(") (binary_expression "local_2c + -1 + local_28" (binary_expression "local_2c + -1" (identifier "local_2c") (+ "+") (number_literal "-1")) (+ "+") (identifier "local_28")) () ")"))))) (; ";")) (expression_statement "bVar8 = bVar13 & 0x1f;" (assignment_expression "bVar8 = bVar13 & 0x1f" (identifier "bVar8") (= "=") (binary_expression "bVar13 & 0x1f" (identifier "bVar13") (& "&") (number_literal "0x1f"))) (; ";")) (expression_statement "bVar13 = bVar13 + 7;" (assignment_expression "bVar13 = bVar13 + 7" (identifier "bVar13") (= "=") (binary_expression "bVar13 + 7" (identifier "bVar13") (+ "+") (number_literal "7"))) (; ";")) (expression_statement "uVar17 = uVar17 | (bVar7 & 0x7f) << bVar8;" (assignment_expression "uVar17 = uVar17 | (bVar7 & 0x7f) << bVar8" (identifier "uVar17") (= "=") (binary_expression "uVar17 | (bVar7 & 0x7f) << bVar8" (identifier "uVar17") (| "|") (binary_expression "(bVar7 & 0x7f) << bVar8" (parenthesized_expression "(bVar7 & 0x7f)" (( "(") (binary_expression "bVar7 & 0x7f" (identifier "bVar7") (& "&") (number_literal "0x7f")) () ")")) (<< "<<") (identifier "bVar8")))) (; ";")) (expression_statement "*puVar10 = (short)uVar17;" (assignment_expression "*puVar10 = (short)uVar17" (pointer_expression "*puVar10" (* "*") (identifier "puVar10")) (= "=") (cast_expression "(short)uVar17" (( "(") (type_descriptor "short" (sized_type_specifier "short" (short "short"))) () ")") (identifier "uVar17"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((char)bVar7 < '\0')" (( "(") (binary_expression "(char)bVar7 < '\0'" (cast_expression "(char)bVar7" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "bVar7")) (< "<") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (; ";")) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" (identifier "local_30") (= "=") (number_literal "0")) (; ";")) (if_statement "if ((int)uVar14 < 1) {\n    if (uVar14 != 0) goto LAB_0003920f;\n    local_40 = *(int *)(puVar10 + 2);\n  }\n  else {\n    iVar11 = 0;\n    puVar19 = &local_30;\n    do {\n      while( true ) {\n        iVar16 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        local_28 = iVar16;\n        if (-1 < (char)bVar13) break;\n        iVar15 = iVar11 + 1;\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        FUN_00037420(puVar19);\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_00037420(puVar19);\n        } while (iVar15 != iVar11);\n        local_40 = *(int *)(puVar10 + 2);\n        bVar18 = iVar11 == local_40;\n        if (local_40 <= iVar11) goto LAB_00038e55;\n      }\n      iVar16 = iVar11 + 1;\n      while( true ) {\n        iVar11 = iVar11 + 1;\n        FUN_00037420(puVar19);\n        if (iVar11 == iVar16 + (uint)bVar13) break;\n        if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n      }\n      local_40 = *(int *)(puVar10 + 2);\n      bVar18 = iVar11 == local_40;\n    } while (iVar11 < local_40);\nLAB_00038e55:\n    if (!bVar18) goto LAB_0003920f;\n    if (iVar11 < 1) {\n      iVar16 = 0;\n    }\n    else {\n      iVar16 = 0;\n      do {\n        iVar15 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        if ((char)bVar13 < '\0') {\n          iVar5 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391c0;\n          iVar1 = local_28 + 2;\n          iVar6 = iVar16 + -0x7e;\n          iVar2 = local_28 + 4;\n          iVar3 = local_28 + 3;\n          iVar4 = local_28 + 5;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          while( true ) {\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }\n        }\n        else {\n          local_28 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391e8;\n          iVar5 = iVar16 + 1;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          iVar16 = iVar5;\n          while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }\n        }\n      } while (iVar16 < iVar11);\n    }\n    if (iVar11 != iVar16) goto LAB_0003920f;\n  }" (if "if") (parenthesized_expression "((int)uVar14 < 1)" (( "(") (binary_expression "(int)uVar14 < 1" (cast_expression "(int)uVar14" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar14")) (< "<") (number_literal "1")) () ")")) (compound_statement "{\n    if (uVar14 != 0) goto LAB_0003920f;\n    local_40 = *(int *)(puVar10 + 2);\n  }" ({ "{") (if_statement "if (uVar14 != 0) goto LAB_0003920f;" (if "if") (parenthesized_expression "(uVar14 != 0)" (( "(") (binary_expression "uVar14 != 0" (identifier "uVar14") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0003920f;" (goto "goto") (statement_identifier "LAB_0003920f") (; ";"))) (expression_statement "local_40 = *(int *)(puVar10 + 2);" (assignment_expression "local_40 = *(int *)(puVar10 + 2)" (identifier "local_40") (= "=") (pointer_expression "*(int *)(puVar10 + 2)" (* "*") (cast_expression "(int *)(puVar10 + 2)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + 2)" (( "(") (binary_expression "puVar10 + 2" (identifier "puVar10") (+ "+") (number_literal "2")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n    iVar11 = 0;\n    puVar19 = &local_30;\n    do {\n      while( true ) {\n        iVar16 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        local_28 = iVar16;\n        if (-1 < (char)bVar13) break;\n        iVar15 = iVar11 + 1;\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        FUN_00037420(puVar19);\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_00037420(puVar19);\n        } while (iVar15 != iVar11);\n        local_40 = *(int *)(puVar10 + 2);\n        bVar18 = iVar11 == local_40;\n        if (local_40 <= iVar11) goto LAB_00038e55;\n      }\n      iVar16 = iVar11 + 1;\n      while( true ) {\n        iVar11 = iVar11 + 1;\n        FUN_00037420(puVar19);\n        if (iVar11 == iVar16 + (uint)bVar13) break;\n        if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n      }\n      local_40 = *(int *)(puVar10 + 2);\n      bVar18 = iVar11 == local_40;\n    } while (iVar11 < local_40);\nLAB_00038e55:\n    if (!bVar18) goto LAB_0003920f;\n    if (iVar11 < 1) {\n      iVar16 = 0;\n    }\n    else {\n      iVar16 = 0;\n      do {\n        iVar15 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        if ((char)bVar13 < '\0') {\n          iVar5 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391c0;\n          iVar1 = local_28 + 2;\n          iVar6 = iVar16 + -0x7e;\n          iVar2 = local_28 + 4;\n          iVar3 = local_28 + 3;\n          iVar4 = local_28 + 5;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          while( true ) {\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }\n        }\n        else {\n          local_28 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391e8;\n          iVar5 = iVar16 + 1;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          iVar16 = iVar5;\n          while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }\n        }\n      } while (iVar16 < iVar11);\n    }\n    if (iVar11 != iVar16) goto LAB_0003920f;\n  }" (else "else") (compound_statement "{\n    iVar11 = 0;\n    puVar19 = &local_30;\n    do {\n      while( true ) {\n        iVar16 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        local_28 = iVar16;\n        if (-1 < (char)bVar13) break;\n        iVar15 = iVar11 + 1;\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        FUN_00037420(puVar19);\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_00037420(puVar19);\n        } while (iVar15 != iVar11);\n        local_40 = *(int *)(puVar10 + 2);\n        bVar18 = iVar11 == local_40;\n        if (local_40 <= iVar11) goto LAB_00038e55;\n      }\n      iVar16 = iVar11 + 1;\n      while( true ) {\n        iVar11 = iVar11 + 1;\n        FUN_00037420(puVar19);\n        if (iVar11 == iVar16 + (uint)bVar13) break;\n        if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n      }\n      local_40 = *(int *)(puVar10 + 2);\n      bVar18 = iVar11 == local_40;\n    } while (iVar11 < local_40);\nLAB_00038e55:\n    if (!bVar18) goto LAB_0003920f;\n    if (iVar11 < 1) {\n      iVar16 = 0;\n    }\n    else {\n      iVar16 = 0;\n      do {\n        iVar15 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        if ((char)bVar13 < '\0') {\n          iVar5 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391c0;\n          iVar1 = local_28 + 2;\n          iVar6 = iVar16 + -0x7e;\n          iVar2 = local_28 + 4;\n          iVar3 = local_28 + 3;\n          iVar4 = local_28 + 5;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          while( true ) {\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }\n        }\n        else {\n          local_28 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391e8;\n          iVar5 = iVar16 + 1;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          iVar16 = iVar5;\n          while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }\n        }\n      } while (iVar16 < iVar11);\n    }\n    if (iVar11 != iVar16) goto LAB_0003920f;\n  }" ({ "{") (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" (identifier "iVar11") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar19 = &local_30;" (assignment_expression "puVar19 = &local_30" (identifier "puVar19") (= "=") (pointer_expression "&local_30" (& "&") (identifier "local_30"))) (; ";")) (do_statement "do {\n      while( true ) {\n        iVar16 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        local_28 = iVar16;\n        if (-1 < (char)bVar13) break;\n        iVar15 = iVar11 + 1;\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        FUN_00037420(puVar19);\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_00037420(puVar19);\n        } while (iVar15 != iVar11);\n        local_40 = *(int *)(puVar10 + 2);\n        bVar18 = iVar11 == local_40;\n        if (local_40 <= iVar11) goto LAB_00038e55;\n      }\n      iVar16 = iVar11 + 1;\n      while( true ) {\n        iVar11 = iVar11 + 1;\n        FUN_00037420(puVar19);\n        if (iVar11 == iVar16 + (uint)bVar13) break;\n        if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n      }\n      local_40 = *(int *)(puVar10 + 2);\n      bVar18 = iVar11 == local_40;\n    } while (iVar11 < local_40);" (do "do") (compound_statement "{\n      while( true ) {\n        iVar16 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        local_28 = iVar16;\n        if (-1 < (char)bVar13) break;\n        iVar15 = iVar11 + 1;\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        FUN_00037420(puVar19);\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_00037420(puVar19);\n        } while (iVar15 != iVar11);\n        local_40 = *(int *)(puVar10 + 2);\n        bVar18 = iVar11 == local_40;\n        if (local_40 <= iVar11) goto LAB_00038e55;\n      }\n      iVar16 = iVar11 + 1;\n      while( true ) {\n        iVar11 = iVar11 + 1;\n        FUN_00037420(puVar19);\n        if (iVar11 == iVar16 + (uint)bVar13) break;\n        if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n      }\n      local_40 = *(int *)(puVar10 + 2);\n      bVar18 = iVar11 == local_40;\n    }" ({ "{") (while_statement "while( true ) {\n        iVar16 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        local_28 = iVar16;\n        if (-1 < (char)bVar13) break;\n        iVar15 = iVar11 + 1;\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        FUN_00037420(puVar19);\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_00037420(puVar19);\n        } while (iVar15 != iVar11);\n        local_40 = *(int *)(puVar10 + 2);\n        bVar18 = iVar11 == local_40;\n        if (local_40 <= iVar11) goto LAB_00038e55;\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        iVar16 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        local_28 = iVar16;\n        if (-1 < (char)bVar13) break;\n        iVar15 = iVar11 + 1;\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        FUN_00037420(puVar19);\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_00037420(puVar19);\n        } while (iVar15 != iVar11);\n        local_40 = *(int *)(puVar10 + 2);\n        bVar18 = iVar11 == local_40;\n        if (local_40 <= iVar11) goto LAB_00038e55;\n      }" ({ "{") (expression_statement "iVar16 = local_28 + 1;" (assignment_expression "iVar16 = local_28 + 1" (identifier "iVar16") (= "=") (binary_expression "local_28 + 1" (identifier "local_28") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar13 = *(byte *)(local_2c + local_28);" (assignment_expression "bVar13 = *(byte *)(local_2c + local_28)" (identifier "bVar13") (= "=") (pointer_expression "*(byte *)(local_2c + local_28)" (* "*") (cast_expression "(byte *)(local_2c + local_28)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_2c + local_28)" (( "(") (binary_expression "local_2c + local_28" (identifier "local_2c") (+ "+") (identifier "local_28")) () ")"))))) (; ";")) (expression_statement "local_28 = iVar16;" (assignment_expression "local_28 = iVar16" (identifier "local_28") (= "=") (identifier "iVar16")) (; ";")) (if_statement "if (-1 < (char)bVar13) break;" (if "if") (parenthesized_expression "(-1 < (char)bVar13)" (( "(") (binary_expression "-1 < (char)bVar13" (number_literal "-1") (< "<") (cast_expression "(char)bVar13" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "bVar13"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar15 = iVar11 + 1;" (assignment_expression "iVar15 = iVar11 + 1" (identifier "iVar15") (= "=") (binary_expression "iVar11 + 1" (identifier "iVar11") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar11 = iVar11 + -0x7e + (uint)bVar13;" (assignment_expression "iVar11 = iVar11 + -0x7e + (uint)bVar13" (identifier "iVar11") (= "=") (binary_expression "iVar11 + -0x7e + (uint)bVar13" (binary_expression "iVar11 + -0x7e" (identifier "iVar11") (+ "+") (number_literal "-0x7e")) (+ "+") (cast_expression "(uint)bVar13" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar13")))) (; ";")) (expression_statement "FUN_00037420(puVar19);" (call_expression "FUN_00037420(puVar19)" (identifier "FUN_00037420") (argument_list "(puVar19)" (( "(") (identifier "puVar19") () ")"))) (; ";")) (do_statement "do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_00037420(puVar19);\n        } while (iVar15 != iVar11);" (do "do") (compound_statement "{\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_00037420(puVar19);\n        }" ({ "{") (expression_statement "iVar5 = local_28;" (assignment_expression "iVar5 = local_28" (identifier "iVar5") (= "=") (identifier "local_28")) (; ";")) (if_statement "if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;" (if "if") (parenthesized_expression "(*(int *)(puVar10 + 2) <= iVar15)" (( "(") (binary_expression "*(int *)(puVar10 + 2) <= iVar15" (pointer_expression "*(int *)(puVar10 + 2)" (* "*") (cast_expression "(int *)(puVar10 + 2)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + 2)" (( "(") (binary_expression "puVar10 + 2" (identifier "puVar10") (+ "+") (number_literal "2")) () ")")))) (<= "<=") (identifier "iVar15")) () ")")) (goto_statement "goto LAB_000391c0;" (goto "goto") (statement_identifier "LAB_000391c0") (; ";"))) (expression_statement "iVar15 = iVar15 + 1;" (assignment_expression "iVar15 = iVar15 + 1" (identifier "iVar15") (= "=") (binary_expression "iVar15 + 1" (identifier "iVar15") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_28 = iVar16;" (assignment_expression "local_28 = iVar16" (identifier "local_28") (= "=") (identifier "iVar16")) (; ";")) (expression_statement "FUN_00037420(puVar19);" (call_expression "FUN_00037420(puVar19)" (identifier "FUN_00037420") (argument_list "(puVar19)" (( "(") (identifier "puVar19") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar15 != iVar11)" (( "(") (binary_expression "iVar15 != iVar11" (identifier "iVar15") (!= "!=") (identifier "iVar11")) () ")")) (; ";")) (expression_statement "local_40 = *(int *)(puVar10 + 2);" (assignment_expression "local_40 = *(int *)(puVar10 + 2)" (identifier "local_40") (= "=") (pointer_expression "*(int *)(puVar10 + 2)" (* "*") (cast_expression "(int *)(puVar10 + 2)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + 2)" (( "(") (binary_expression "puVar10 + 2" (identifier "puVar10") (+ "+") (number_literal "2")) () ")"))))) (; ";")) (expression_statement "bVar18 = iVar11 == local_40;" (assignment_expression "bVar18 = iVar11 == local_40" (identifier "bVar18") (= "=") (binary_expression "iVar11 == local_40" (identifier "iVar11") (== "==") (identifier "local_40"))) (; ";")) (if_statement "if (local_40 <= iVar11) goto LAB_00038e55;" (if "if") (parenthesized_expression "(local_40 <= iVar11)" (( "(") (binary_expression "local_40 <= iVar11" (identifier "local_40") (<= "<=") (identifier "iVar11")) () ")")) (goto_statement "goto LAB_00038e55;" (goto "goto") (statement_identifier "LAB_00038e55") (; ";"))) (} "}"))) (expression_statement "iVar16 = iVar11 + 1;" (assignment_expression "iVar16 = iVar11 + 1" (identifier "iVar16") (= "=") (binary_expression "iVar11 + 1" (identifier "iVar11") (+ "+") (number_literal "1"))) (; ";")) (while_statement "while( true ) {\n        iVar11 = iVar11 + 1;\n        FUN_00037420(puVar19);\n        if (iVar11 == iVar16 + (uint)bVar13) break;\n        if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        iVar11 = iVar11 + 1;\n        FUN_00037420(puVar19);\n        if (iVar11 == iVar16 + (uint)bVar13) break;\n        if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n      }" ({ "{") (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" (identifier "iVar11") (= "=") (binary_expression "iVar11 + 1" (identifier "iVar11") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_00037420(puVar19);" (call_expression "FUN_00037420(puVar19)" (identifier "FUN_00037420") (argument_list "(puVar19)" (( "(") (identifier "puVar19") () ")"))) (; ";")) (if_statement "if (iVar11 == iVar16 + (uint)bVar13) break;" (if "if") (parenthesized_expression "(iVar11 == iVar16 + (uint)bVar13)" (( "(") (binary_expression "iVar11 == iVar16 + (uint)bVar13" (identifier "iVar11") (== "==") (binary_expression "iVar16 + (uint)bVar13" (identifier "iVar16") (+ "+") (cast_expression "(uint)bVar13" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar13")))) () ")")) (break_statement "break;" (break "break") (; ";"))) (if_statement "if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;" (if "if") (parenthesized_expression "(*(int *)(puVar10 + 2) <= iVar11)" (( "(") (binary_expression "*(int *)(puVar10 + 2) <= iVar11" (pointer_expression "*(int *)(puVar10 + 2)" (* "*") (cast_expression "(int *)(puVar10 + 2)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + 2)" (( "(") (binary_expression "puVar10 + 2" (identifier "puVar10") (+ "+") (number_literal "2")) () ")")))) (<= "<=") (identifier "iVar11")) () ")")) (goto_statement "goto LAB_000391e8;" (goto "goto") (statement_identifier "LAB_000391e8") (; ";"))) (} "}"))) (expression_statement "local_40 = *(int *)(puVar10 + 2);" (assignment_expression "local_40 = *(int *)(puVar10 + 2)" (identifier "local_40") (= "=") (pointer_expression "*(int *)(puVar10 + 2)" (* "*") (cast_expression "(int *)(puVar10 + 2)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + 2)" (( "(") (binary_expression "puVar10 + 2" (identifier "puVar10") (+ "+") (number_literal "2")) () ")"))))) (; ";")) (expression_statement "bVar18 = iVar11 == local_40;" (assignment_expression "bVar18 = iVar11 == local_40" (identifier "bVar18") (= "=") (binary_expression "iVar11 == local_40" (identifier "iVar11") (== "==") (identifier "local_40"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar11 < local_40)" (( "(") (binary_expression "iVar11 < local_40" (identifier "iVar11") (< "<") (identifier "local_40")) () ")")) (; ";")) (labeled_statement "LAB_00038e55:\n    if (!bVar18) goto LAB_0003920f;" (statement_identifier "LAB_00038e55") (: ":") (if_statement "if (!bVar18) goto LAB_0003920f;" (if "if") (parenthesized_expression "(!bVar18)" (( "(") (unary_expression "!bVar18" (! "!") (identifier "bVar18")) () ")")) (goto_statement "goto LAB_0003920f;" (goto "goto") (statement_identifier "LAB_0003920f") (; ";")))) (if_statement "if (iVar11 < 1) {\n      iVar16 = 0;\n    }\n    else {\n      iVar16 = 0;\n      do {\n        iVar15 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        if ((char)bVar13 < '\0') {\n          iVar5 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391c0;\n          iVar1 = local_28 + 2;\n          iVar6 = iVar16 + -0x7e;\n          iVar2 = local_28 + 4;\n          iVar3 = local_28 + 3;\n          iVar4 = local_28 + 5;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          while( true ) {\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }\n        }\n        else {\n          local_28 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391e8;\n          iVar5 = iVar16 + 1;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          iVar16 = iVar5;\n          while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }\n        }\n      } while (iVar16 < iVar11);\n    }" (if "if") (parenthesized_expression "(iVar11 < 1)" (( "(") (binary_expression "iVar11 < 1" (identifier "iVar11") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n      iVar16 = 0;\n    }" ({ "{") (expression_statement "iVar16 = 0;" (assignment_expression "iVar16 = 0" (identifier "iVar16") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      iVar16 = 0;\n      do {\n        iVar15 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        if ((char)bVar13 < '\0') {\n          iVar5 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391c0;\n          iVar1 = local_28 + 2;\n          iVar6 = iVar16 + -0x7e;\n          iVar2 = local_28 + 4;\n          iVar3 = local_28 + 3;\n          iVar4 = local_28 + 5;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          while( true ) {\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }\n        }\n        else {\n          local_28 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391e8;\n          iVar5 = iVar16 + 1;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          iVar16 = iVar5;\n          while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }\n        }\n      } while (iVar16 < iVar11);\n    }" (else "else") (compound_statement "{\n      iVar16 = 0;\n      do {\n        iVar15 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        if ((char)bVar13 < '\0') {\n          iVar5 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391c0;\n          iVar1 = local_28 + 2;\n          iVar6 = iVar16 + -0x7e;\n          iVar2 = local_28 + 4;\n          iVar3 = local_28 + 3;\n          iVar4 = local_28 + 5;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          while( true ) {\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }\n        }\n        else {\n          local_28 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391e8;\n          iVar5 = iVar16 + 1;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          iVar16 = iVar5;\n          while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }\n        }\n      } while (iVar16 < iVar11);\n    }" ({ "{") (expression_statement "iVar16 = 0;" (assignment_expression "iVar16 = 0" (identifier "iVar16") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        iVar15 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        if ((char)bVar13 < '\0') {\n          iVar5 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391c0;\n          iVar1 = local_28 + 2;\n          iVar6 = iVar16 + -0x7e;\n          iVar2 = local_28 + 4;\n          iVar3 = local_28 + 3;\n          iVar4 = local_28 + 5;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          while( true ) {\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }\n        }\n        else {\n          local_28 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391e8;\n          iVar5 = iVar16 + 1;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          iVar16 = iVar5;\n          while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }\n        }\n      } while (iVar16 < iVar11);" (do "do") (compound_statement "{\n        iVar15 = local_28 + 1;\n        bVar13 = *(byte *)(local_2c + local_28);\n        if ((char)bVar13 < '\0') {\n          iVar5 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391c0;\n          iVar1 = local_28 + 2;\n          iVar6 = iVar16 + -0x7e;\n          iVar2 = local_28 + 4;\n          iVar3 = local_28 + 3;\n          iVar4 = local_28 + 5;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          while( true ) {\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }\n        }\n        else {\n          local_28 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391e8;\n          iVar5 = iVar16 + 1;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          iVar16 = iVar5;\n          while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }\n        }\n      }" ({ "{") (expression_statement "iVar15 = local_28 + 1;" (assignment_expression "iVar15 = local_28 + 1" (identifier "iVar15") (= "=") (binary_expression "local_28 + 1" (identifier "local_28") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar13 = *(byte *)(local_2c + local_28);" (assignment_expression "bVar13 = *(byte *)(local_2c + local_28)" (identifier "bVar13") (= "=") (pointer_expression "*(byte *)(local_2c + local_28)" (* "*") (cast_expression "(byte *)(local_2c + local_28)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_2c + local_28)" (( "(") (binary_expression "local_2c + local_28" (identifier "local_2c") (+ "+") (identifier "local_28")) () ")"))))) (; ";")) (if_statement "if ((char)bVar13 < '\0') {\n          iVar5 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391c0;\n          iVar1 = local_28 + 2;\n          iVar6 = iVar16 + -0x7e;\n          iVar2 = local_28 + 4;\n          iVar3 = local_28 + 3;\n          iVar4 = local_28 + 5;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          while( true ) {\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }\n        }\n        else {\n          local_28 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391e8;\n          iVar5 = iVar16 + 1;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          iVar16 = iVar5;\n          while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }\n        }" (if "if") (parenthesized_expression "((char)bVar13 < '\0')" (( "(") (binary_expression "(char)bVar13 < '\0'" (cast_expression "(char)bVar13" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "bVar13")) (< "<") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          iVar5 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391c0;\n          iVar1 = local_28 + 2;\n          iVar6 = iVar16 + -0x7e;\n          iVar2 = local_28 + 4;\n          iVar3 = local_28 + 3;\n          iVar4 = local_28 + 5;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          while( true ) {\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }\n        }" ({ "{") (expression_statement "iVar5 = iVar15;" (assignment_expression "iVar5 = iVar15" (identifier "iVar5") (= "=") (identifier "iVar15")) (; ";")) (if_statement "if (iVar11 <= iVar16) goto LAB_000391c0;" (if "if") (parenthesized_expression "(iVar11 <= iVar16)" (( "(") (binary_expression "iVar11 <= iVar16" (identifier "iVar11") (<= "<=") (identifier "iVar16")) () ")")) (goto_statement "goto LAB_000391c0;" (goto "goto") (statement_identifier "LAB_000391c0") (; ";"))) (expression_statement "iVar1 = local_28 + 2;" (assignment_expression "iVar1 = local_28 + 2" (identifier "iVar1") (= "=") (binary_expression "local_28 + 2" (identifier "local_28") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "iVar6 = iVar16 + -0x7e;" (assignment_expression "iVar6 = iVar16 + -0x7e" (identifier "iVar6") (= "=") (binary_expression "iVar16 + -0x7e" (identifier "iVar16") (+ "+") (number_literal "-0x7e"))) (; ";")) (expression_statement "iVar2 = local_28 + 4;" (assignment_expression "iVar2 = local_28 + 4" (identifier "iVar2") (= "=") (binary_expression "local_28 + 4" (identifier "local_28") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "iVar3 = local_28 + 3;" (assignment_expression "iVar3 = local_28 + 3" (identifier "iVar3") (= "=") (binary_expression "local_28 + 3" (identifier "local_28") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "iVar4 = local_28 + 5;" (assignment_expression "iVar4 = local_28 + 5" (identifier "iVar4") (= "=") (binary_expression "local_28 + 5" (identifier "local_28") (+ "+") (number_literal "5"))) (; ";")) (expression_statement "local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);" (assignment_expression "local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc)" (identifier "local_68") (= "=") (cast_expression "(uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc)" (( "(") (binary_expression "*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc" (binary_expression "*(int *)(puVar10 + 10) + 4" (pointer_expression "*(int *)(puVar10 + 10)" (* "*") (cast_expression "(int *)(puVar10 + 10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + 10)" (( "(") (binary_expression "puVar10 + 10" (identifier "puVar10") (+ "+") (number_literal "10")) () ")")))) (+ "+") (number_literal "4")) (+ "+") (binary_expression "iVar16 * 0xc" (identifier "iVar16") (* "*") (number_literal "0xc"))) () ")")))) (; ";")) (while_statement "while( true ) {\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));\n            local_28 = iVar3;\n            if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }\n            iVar16 = iVar16 + 1;\n            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;\n            if (iVar16 == iVar6 + (uint)bVar13) break;\n            local_68 = local_68 + 3;\n            iVar5 = local_28;\n            if (iVar16 == iVar11) goto LAB_000391c0;\n          }" ({ "{") (expression_statement "uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c));" (assignment_expression "uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c))" (identifier "uVar14") (= "=") (cast_expression "(uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c))" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c))" (identifier "CONCAT11") (argument_list "(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(iVar1 + local_2c))" (( "(") (pointer_expression "*(undefined1 *)(local_2c + iVar15)" (* "*") (cast_expression "(undefined1 *)(local_2c + iVar15)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_2c + iVar15)" (( "(") (binary_expression "local_2c + iVar15" (identifier "local_2c") (+ "+") (identifier "iVar15")) () ")")))) (, ",") (pointer_expression "*(undefined1 *)(iVar1 + local_2c)" (* "*") (cast_expression "(undefined1 *)(iVar1 + local_2c)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + local_2c)" (( "(") (binary_expression "iVar1 + local_2c" (identifier "iVar1") (+ "+") (identifier "local_2c")) () ")")))) () ")"))))) (; ";")) (expression_statement "local_28 = iVar3;" (assignment_expression "local_28 = iVar3" (identifier "local_28") (= "=") (identifier "iVar3")) (; ";")) (if_statement "if (0x7fff < uVar14) {\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }" (if "if") (parenthesized_expression "(0x7fff < uVar14)" (( "(") (binary_expression "0x7fff < uVar14" (number_literal "0x7fff") (< "<") (identifier "uVar14")) () ")")) (compound_statement "{\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));\n              local_28 = iVar4;\n            }" ({ "{") (expression_statement "uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2));" (assignment_expression "uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2))" (identifier "uVar14") (= "=") (binary_expression "(uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2))" (binary_expression "(uVar14 & 0x7fff) << 0x10" (parenthesized_expression "(uVar14 & 0x7fff)" (( "(") (binary_expression "uVar14 & 0x7fff" (identifier "uVar14") (& "&") (number_literal "0x7fff")) () ")")) (<< "<<") (number_literal "0x10")) (| "|") (cast_expression "(uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2))" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CONCAT11(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2))" (identifier "CONCAT11") (argument_list "(*(undefined1 *)(local_2c + iVar3),\n                                      *(undefined1 *)(local_2c + iVar2))" (( "(") (pointer_expression "*(undefined1 *)(local_2c + iVar3)" (* "*") (cast_expression "(undefined1 *)(local_2c + iVar3)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_2c + iVar3)" (( "(") (binary_expression "local_2c + iVar3" (identifier "local_2c") (+ "+") (identifier "iVar3")) () ")")))) (, ",") (pointer_expression "*(undefined1 *)(local_2c + iVar2)" (* "*") (cast_expression "(undefined1 *)(local_2c + iVar2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_2c + iVar2)" (( "(") (binary_expression "local_2c + iVar2" (identifier "local_2c") (+ "+") (identifier "iVar2")) () ")")))) () ")")))))) (; ";")) (expression_statement "local_28 = iVar4;" (assignment_expression "local_28 = iVar4" (identifier "local_28") (= "=") (identifier "iVar4")) (; ";")) (} "}"))) (expression_statement "iVar16 = iVar16 + 1;" (assignment_expression "iVar16 = iVar16 + 1" (identifier "iVar16") (= "=") (binary_expression "iVar16 + 1" (identifier "iVar16") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;" (assignment_expression "*local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11" (pointer_expression "*local_68" (* "*") (identifier "local_68")) (= "=") (binary_expression "(uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |\n                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11" (binary_expression "(uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf" (binary_expression "(uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00" (binary_expression "(uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0" (binary_expression "(uVar14 >> 0x1b) << 0xd" (parenthesized_expression "(uVar14 >> 0x1b)" (( "(") (binary_expression "uVar14 >> 0x1b" (identifier "uVar14") (>> ">>") (number_literal "0x1b")) () ")")) (<< "<<") (number_literal "0xd")) (| "|") (binary_expression "uVar14 >> 0x13 & 0xf0" (binary_expression "uVar14 >> 0x13" (identifier "uVar14") (>> ">>") (number_literal "0x13")) (& "&") (number_literal "0xf0"))) (| "|") (binary_expression "uVar14 << 4 & 0x1f00" (binary_expression "uVar14 << 4" (identifier "uVar14") (<< "<<") (number_literal "4")) (& "&") (number_literal "0x1f00"))) (| "|") (binary_expression "uVar14 & 0xf" (identifier "uVar14") (& "&") (number_literal "0xf"))) (| "|") (binary_expression "((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11" (parenthesized_expression "((uVar14 << 4 & 0x7ffff00) >> 0xd)" (( "(") (binary_expression "(uVar14 << 4 & 0x7ffff00) >> 0xd" (parenthesized_expression "(uVar14 << 4 & 0x7ffff00)" (( "(") (binary_expression "uVar14 << 4 & 0x7ffff00" (binary_expression "uVar14 << 4" (identifier "uVar14") (<< "<<") (number_literal "4")) (& "&") (number_literal "0x7ffff00")) () ")")) (>> ">>") (number_literal "0xd")) () ")")) (<< "<<") (number_literal "0x11")))) (; ";")) (if_statement "if (iVar16 == iVar6 + (uint)bVar13) break;" (if "if") (parenthesized_expression "(iVar16 == iVar6 + (uint)bVar13)" (( "(") (binary_expression "iVar16 == iVar6 + (uint)bVar13" (identifier "iVar16") (== "==") (binary_expression "iVar6 + (uint)bVar13" (identifier "iVar6") (+ "+") (cast_expression "(uint)bVar13" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar13")))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "local_68 = local_68 + 3;" (assignment_expression "local_68 = local_68 + 3" (identifier "local_68") (= "=") (binary_expression "local_68 + 3" (identifier "local_68") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "iVar5 = local_28;" (assignment_expression "iVar5 = local_28" (identifier "iVar5") (= "=") (identifier "local_28")) (; ";")) (if_statement "if (iVar16 == iVar11) goto LAB_000391c0;" (if "if") (parenthesized_expression "(iVar16 == iVar11)" (( "(") (binary_expression "iVar16 == iVar11" (identifier "iVar16") (== "==") (identifier "iVar11")) () ")")) (goto_statement "goto LAB_000391c0;" (goto "goto") (statement_identifier "LAB_000391c0") (; ";"))) (} "}"))) (} "}")) (else_clause "else {\n          local_28 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391e8;\n          iVar5 = iVar16 + 1;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          iVar16 = iVar5;\n          while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }\n        }" (else "else") (compound_statement "{\n          local_28 = iVar15;\n          if (iVar11 <= iVar16) goto LAB_000391e8;\n          iVar5 = iVar16 + 1;\n          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);\n          iVar16 = iVar5;\n          while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }\n        }" ({ "{") (expression_statement "local_28 = iVar15;" (assignment_expression "local_28 = iVar15" (identifier "local_28") (= "=") (identifier "iVar15")) (; ";")) (if_statement "if (iVar11 <= iVar16) goto LAB_000391e8;" (if "if") (parenthesized_expression "(iVar11 <= iVar16)" (( "(") (binary_expression "iVar11 <= iVar16" (identifier "iVar11") (<= "<=") (identifier "iVar16")) () ")")) (goto_statement "goto LAB_000391e8;" (goto "goto") (statement_identifier "LAB_000391e8") (; ";"))) (expression_statement "iVar5 = iVar16 + 1;" (assignment_expression "iVar5 = iVar16 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar16 + 1" (identifier "iVar16") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);" (assignment_expression "local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc)" (identifier "local_68") (= "=") (cast_expression "(uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc)" (( "(") (binary_expression "*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc" (binary_expression "*(int *)(puVar10 + 10) + 4" (pointer_expression "*(int *)(puVar10 + 10)" (* "*") (cast_expression "(int *)(puVar10 + 10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + 10)" (( "(") (binary_expression "puVar10 + 10" (identifier "puVar10") (+ "+") (number_literal "10")) () ")")))) (+ "+") (number_literal "4")) (+ "+") (binary_expression "iVar16 * 0xc" (identifier "iVar16") (* "*") (number_literal "0xc"))) () ")")))) (; ";")) (expression_statement "iVar16 = iVar5;" (assignment_expression "iVar16 = iVar5" (identifier "iVar16") (= "=") (identifier "iVar5")) (; ";")) (while_statement "while( true ) {\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n            local_28 = iVar15 + 2;\n            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));\n            if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }\n            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;\n            if ((uint)bVar13 + iVar5 == iVar16) break;\n            local_68 = local_68 + 3;\n            bVar18 = iVar11 == iVar16;\n            iVar15 = local_28;\n            iVar16 = iVar16 + 1;\n            if (bVar18) goto LAB_000391e8;\n          }" ({ "{") (expression_statement "local_28 = iVar15 + 2;" (assignment_expression "local_28 = iVar15 + 2" (identifier "local_28") (= "=") (binary_expression "iVar15 + 2" (identifier "iVar15") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15));" (assignment_expression "uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15))" (identifier "uVar14") (= "=") (cast_expression "(uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15))" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CONCAT11(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15))" (identifier "CONCAT11") (argument_list "(*(undefined1 *)(local_2c + iVar15),\n                                    *(undefined1 *)(local_2c + 1 + iVar15))" (( "(") (pointer_expression "*(undefined1 *)(local_2c + iVar15)" (* "*") (cast_expression "(undefined1 *)(local_2c + iVar15)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_2c + iVar15)" (( "(") (binary_expression "local_2c + iVar15" (identifier "local_2c") (+ "+") (identifier "iVar15")) () ")")))) (, ",") (pointer_expression "*(undefined1 *)(local_2c + 1 + iVar15)" (* "*") (cast_expression "(undefined1 *)(local_2c + 1 + iVar15)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_2c + 1 + iVar15)" (( "(") (binary_expression "local_2c + 1 + iVar15" (binary_expression "local_2c + 1" (identifier "local_2c") (+ "+") (number_literal "1")) (+ "+") (identifier "iVar15")) () ")")))) () ")"))))) (; ";")) (if_statement "if (0x7fff < uVar14) {\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }" (if "if") (parenthesized_expression "(0x7fff < uVar14)" (( "(") (binary_expression "0x7fff < uVar14" (number_literal "0x7fff") (< "<") (identifier "uVar14")) () ")")) (compound_statement "{\n              local_28 = iVar15 + 4;\n              uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));\n            }" ({ "{") (expression_statement "local_28 = iVar15 + 4;" (assignment_expression "local_28 = iVar15 + 4" (identifier "local_28") (= "=") (binary_expression "iVar15 + 4" (identifier "iVar15") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3));" (assignment_expression "uVar14 = (uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3))" (identifier "uVar14") (= "=") (binary_expression "(uVar14 & 0x7fff) << 0x10 |\n                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3))" (binary_expression "(uVar14 & 0x7fff) << 0x10" (parenthesized_expression "(uVar14 & 0x7fff)" (( "(") (binary_expression "uVar14 & 0x7fff" (identifier "uVar14") (& "&") (number_literal "0x7fff")) () ")")) (<< "<<") (number_literal "0x10")) (| "|") (cast_expression "(uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3))" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3))" (identifier "CONCAT11") (argument_list "(*(undefined1 *)(local_2c + 2 + iVar15),\n                                      *(undefined1 *)(local_2c + iVar15 + 3))" (( "(") (pointer_expression "*(undefined1 *)(local_2c + 2 + iVar15)" (* "*") (cast_expression "(undefined1 *)(local_2c + 2 + iVar15)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_2c + 2 + iVar15)" (( "(") (binary_expression "local_2c + 2 + iVar15" (binary_expression "local_2c + 2" (identifier "local_2c") (+ "+") (number_literal "2")) (+ "+") (identifier "iVar15")) () ")")))) (, ",") (pointer_expression "*(undefined1 *)(local_2c + iVar15 + 3)" (* "*") (cast_expression "(undefined1 *)(local_2c + iVar15 + 3)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_2c + iVar15 + 3)" (( "(") (binary_expression "local_2c + iVar15 + 3" (binary_expression "local_2c + iVar15" (identifier "local_2c") (+ "+") (identifier "iVar15")) (+ "+") (number_literal "3")) () ")")))) () ")")))))) (; ";")) (} "}"))) (expression_statement "*local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;" (assignment_expression "*local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf" (pointer_expression "*local_68" (* "*") (identifier "local_68")) (= "=") (binary_expression "((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf" (binary_expression "((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |\n                        uVar14 << 4 & 0x1f00" (binary_expression "((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0" (binary_expression "((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |\n                        (uVar14 >> 0x1b) << 0xd" (binary_expression "((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11" (parenthesized_expression "((uVar14 << 4 & 0x7ffff00) >> 0xd)" (( "(") (binary_expression "(uVar14 << 4 & 0x7ffff00) >> 0xd" (parenthesized_expression "(uVar14 << 4 & 0x7ffff00)" (( "(") (binary_expression "uVar14 << 4 & 0x7ffff00" (binary_expression "uVar14 << 4" (identifier "uVar14") (<< "<<") (number_literal "4")) (& "&") (number_literal "0x7ffff00")) () ")")) (>> ">>") (number_literal "0xd")) () ")")) (<< "<<") (number_literal "0x11")) (| "|") (binary_expression "(uVar14 >> 0x1b) << 0xd" (parenthesized_expression "(uVar14 >> 0x1b)" (( "(") (binary_expression "uVar14 >> 0x1b" (identifier "uVar14") (>> ">>") (number_literal "0x1b")) () ")")) (<< "<<") (number_literal "0xd"))) (| "|") (binary_expression "uVar14 >> 0x13 & 0xf0" (binary_expression "uVar14 >> 0x13" (identifier "uVar14") (>> ">>") (number_literal "0x13")) (& "&") (number_literal "0xf0"))) (| "|") (binary_expression "uVar14 << 4 & 0x1f00" (binary_expression "uVar14 << 4" (identifier "uVar14") (<< "<<") (number_literal "4")) (& "&") (number_literal "0x1f00"))) (| "|") (binary_expression "uVar14 & 0xf" (identifier "uVar14") (& "&") (number_literal "0xf")))) (; ";")) (if_statement "if ((uint)bVar13 + iVar5 == iVar16) break;" (if "if") (parenthesized_expression "((uint)bVar13 + iVar5 == iVar16)" (( "(") (binary_expression "(uint)bVar13 + iVar5 == iVar16" (binary_expression "(uint)bVar13 + iVar5" (cast_expression "(uint)bVar13" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar13")) (+ "+") (identifier "iVar5")) (== "==") (identifier "iVar16")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "local_68 = local_68 + 3;" (assignment_expression "local_68 = local_68 + 3" (identifier "local_68") (= "=") (binary_expression "local_68 + 3" (identifier "local_68") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "bVar18 = iVar11 == iVar16;" (assignment_expression "bVar18 = iVar11 == iVar16" (identifier "bVar18") (= "=") (binary_expression "iVar11 == iVar16" (identifier "iVar11") (== "==") (identifier "iVar16"))) (; ";")) (expression_statement "iVar15 = local_28;" (assignment_expression "iVar15 = local_28" (identifier "iVar15") (= "=") (identifier "local_28")) (; ";")) (expression_statement "iVar16 = iVar16 + 1;" (assignment_expression "iVar16 = iVar16 + 1" (identifier "iVar16") (= "=") (binary_expression "iVar16 + 1" (identifier "iVar16") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (bVar18) goto LAB_000391e8;" (if "if") (parenthesized_expression "(bVar18)" (( "(") (identifier "bVar18") () ")")) (goto_statement "goto LAB_000391e8;" (goto "goto") (statement_identifier "LAB_000391e8") (; ";"))) (} "}"))) (} "}")))) (} "}")) (while "while") (parenthesized_expression "(iVar16 < iVar11)" (( "(") (binary_expression "iVar16 < iVar11" (identifier "iVar16") (< "<") (identifier "iVar11")) () ")")) (; ";")) (} "}")))) (if_statement "if (iVar11 != iVar16) goto LAB_0003920f;" (if "if") (parenthesized_expression "(iVar11 != iVar16)" (( "(") (binary_expression "iVar11 != iVar16" (identifier "iVar11") (!= "!=") (identifier "iVar16")) () ")")) (goto_statement "goto LAB_0003920f;" (goto "goto") (statement_identifier "LAB_0003920f") (; ";"))) (} "}")))) (expression_statement "piVar20 = &local_2c;" (assignment_expression "piVar20 = &local_2c" (identifier "piVar20") (= "=") (pointer_expression "&local_2c" (& "&") (identifier "local_2c"))) (; ";")) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" (identifier "iVar11") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" (identifier "local_34") (= "=") (number_literal "0")) (; ";")) (expression_statement "bVar18 = local_40 == 0;" (assignment_expression "bVar18 = local_40 == 0" (identifier "bVar18") (= "=") (binary_expression "local_40 == 0" (identifier "local_40") (== "==") (number_literal "0"))) (; ";")) (if_statement "if (0 < local_40) {\n    do {\n      iVar16 = local_28 + 1;\n      bVar13 = *(byte *)(local_2c + local_28);\n      local_28 = iVar16;\n      if ((char)bVar13 < '\0') {\n        iVar15 = iVar11 + 1;\n        FUN_000388e0(&local_34);\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_000388e0(&local_34);\n        } while (iVar15 != iVar11);\n        iVar16 = *(int *)(puVar10 + 2);\n      }\n      else {\n        iVar16 = iVar11 + 1;\n        while( true ) {\n          iVar11 = iVar11 + 1;\n          FUN_000388e0(&local_34);\n          if (iVar16 + (uint)bVar13 == iVar11) break;\n          if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n        }\n        iVar16 = *(int *)(puVar10 + 2);\n      }\n      bVar18 = iVar16 == iVar11;\n    } while (!bVar18 && iVar11 <= iVar16);\n  }" (if "if") (parenthesized_expression "(0 < local_40)" (( "(") (binary_expression "0 < local_40" (number_literal "0") (< "<") (identifier "local_40")) () ")")) (compound_statement "{\n    do {\n      iVar16 = local_28 + 1;\n      bVar13 = *(byte *)(local_2c + local_28);\n      local_28 = iVar16;\n      if ((char)bVar13 < '\0') {\n        iVar15 = iVar11 + 1;\n        FUN_000388e0(&local_34);\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_000388e0(&local_34);\n        } while (iVar15 != iVar11);\n        iVar16 = *(int *)(puVar10 + 2);\n      }\n      else {\n        iVar16 = iVar11 + 1;\n        while( true ) {\n          iVar11 = iVar11 + 1;\n          FUN_000388e0(&local_34);\n          if (iVar16 + (uint)bVar13 == iVar11) break;\n          if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n        }\n        iVar16 = *(int *)(puVar10 + 2);\n      }\n      bVar18 = iVar16 == iVar11;\n    } while (!bVar18 && iVar11 <= iVar16);\n  }" ({ "{") (do_statement "do {\n      iVar16 = local_28 + 1;\n      bVar13 = *(byte *)(local_2c + local_28);\n      local_28 = iVar16;\n      if ((char)bVar13 < '\0') {\n        iVar15 = iVar11 + 1;\n        FUN_000388e0(&local_34);\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_000388e0(&local_34);\n        } while (iVar15 != iVar11);\n        iVar16 = *(int *)(puVar10 + 2);\n      }\n      else {\n        iVar16 = iVar11 + 1;\n        while( true ) {\n          iVar11 = iVar11 + 1;\n          FUN_000388e0(&local_34);\n          if (iVar16 + (uint)bVar13 == iVar11) break;\n          if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n        }\n        iVar16 = *(int *)(puVar10 + 2);\n      }\n      bVar18 = iVar16 == iVar11;\n    } while (!bVar18 && iVar11 <= iVar16);" (do "do") (compound_statement "{\n      iVar16 = local_28 + 1;\n      bVar13 = *(byte *)(local_2c + local_28);\n      local_28 = iVar16;\n      if ((char)bVar13 < '\0') {\n        iVar15 = iVar11 + 1;\n        FUN_000388e0(&local_34);\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_000388e0(&local_34);\n        } while (iVar15 != iVar11);\n        iVar16 = *(int *)(puVar10 + 2);\n      }\n      else {\n        iVar16 = iVar11 + 1;\n        while( true ) {\n          iVar11 = iVar11 + 1;\n          FUN_000388e0(&local_34);\n          if (iVar16 + (uint)bVar13 == iVar11) break;\n          if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n        }\n        iVar16 = *(int *)(puVar10 + 2);\n      }\n      bVar18 = iVar16 == iVar11;\n    }" ({ "{") (expression_statement "iVar16 = local_28 + 1;" (assignment_expression "iVar16 = local_28 + 1" (identifier "iVar16") (= "=") (binary_expression "local_28 + 1" (identifier "local_28") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar13 = *(byte *)(local_2c + local_28);" (assignment_expression "bVar13 = *(byte *)(local_2c + local_28)" (identifier "bVar13") (= "=") (pointer_expression "*(byte *)(local_2c + local_28)" (* "*") (cast_expression "(byte *)(local_2c + local_28)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_2c + local_28)" (( "(") (binary_expression "local_2c + local_28" (identifier "local_2c") (+ "+") (identifier "local_28")) () ")"))))) (; ";")) (expression_statement "local_28 = iVar16;" (assignment_expression "local_28 = iVar16" (identifier "local_28") (= "=") (identifier "iVar16")) (; ";")) (if_statement "if ((char)bVar13 < '\0') {\n        iVar15 = iVar11 + 1;\n        FUN_000388e0(&local_34);\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_000388e0(&local_34);\n        } while (iVar15 != iVar11);\n        iVar16 = *(int *)(puVar10 + 2);\n      }\n      else {\n        iVar16 = iVar11 + 1;\n        while( true ) {\n          iVar11 = iVar11 + 1;\n          FUN_000388e0(&local_34);\n          if (iVar16 + (uint)bVar13 == iVar11) break;\n          if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n        }\n        iVar16 = *(int *)(puVar10 + 2);\n      }" (if "if") (parenthesized_expression "((char)bVar13 < '\0')" (( "(") (binary_expression "(char)bVar13 < '\0'" (cast_expression "(char)bVar13" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "bVar13")) (< "<") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        iVar15 = iVar11 + 1;\n        FUN_000388e0(&local_34);\n        iVar11 = iVar11 + -0x7e + (uint)bVar13;\n        do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_000388e0(&local_34);\n        } while (iVar15 != iVar11);\n        iVar16 = *(int *)(puVar10 + 2);\n      }" ({ "{") (expression_statement "iVar15 = iVar11 + 1;" (assignment_expression "iVar15 = iVar11 + 1" (identifier "iVar15") (= "=") (binary_expression "iVar11 + 1" (identifier "iVar11") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_000388e0(&local_34);" (call_expression "FUN_000388e0(&local_34)" (identifier "FUN_000388e0") (argument_list "(&local_34)" (( "(") (pointer_expression "&local_34" (& "&") (identifier "local_34")) () ")"))) (; ";")) (expression_statement "iVar11 = iVar11 + -0x7e + (uint)bVar13;" (assignment_expression "iVar11 = iVar11 + -0x7e + (uint)bVar13" (identifier "iVar11") (= "=") (binary_expression "iVar11 + -0x7e + (uint)bVar13" (binary_expression "iVar11 + -0x7e" (identifier "iVar11") (+ "+") (number_literal "-0x7e")) (+ "+") (cast_expression "(uint)bVar13" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar13")))) (; ";")) (do_statement "do {\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_000388e0(&local_34);\n        } while (iVar15 != iVar11);" (do "do") (compound_statement "{\n          iVar5 = local_28;\n          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;\n          iVar15 = iVar15 + 1;\n          local_28 = iVar16;\n          FUN_000388e0(&local_34);\n        }" ({ "{") (expression_statement "iVar5 = local_28;" (assignment_expression "iVar5 = local_28" (identifier "iVar5") (= "=") (identifier "local_28")) (; ";")) (if_statement "if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;" (if "if") (parenthesized_expression "(*(int *)(puVar10 + 2) <= iVar15)" (( "(") (binary_expression "*(int *)(puVar10 + 2) <= iVar15" (pointer_expression "*(int *)(puVar10 + 2)" (* "*") (cast_expression "(int *)(puVar10 + 2)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + 2)" (( "(") (binary_expression "puVar10 + 2" (identifier "puVar10") (+ "+") (number_literal "2")) () ")")))) (<= "<=") (identifier "iVar15")) () ")")) (goto_statement "goto LAB_000391c0;" (goto "goto") (statement_identifier "LAB_000391c0") (; ";"))) (expression_statement "iVar15 = iVar15 + 1;" (assignment_expression "iVar15 = iVar15 + 1" (identifier "iVar15") (= "=") (binary_expression "iVar15 + 1" (identifier "iVar15") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_28 = iVar16;" (assignment_expression "local_28 = iVar16" (identifier "local_28") (= "=") (identifier "iVar16")) (; ";")) (expression_statement "FUN_000388e0(&local_34);" (call_expression "FUN_000388e0(&local_34)" (identifier "FUN_000388e0") (argument_list "(&local_34)" (( "(") (pointer_expression "&local_34" (& "&") (identifier "local_34")) () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar15 != iVar11)" (( "(") (binary_expression "iVar15 != iVar11" (identifier "iVar15") (!= "!=") (identifier "iVar11")) () ")")) (; ";")) (expression_statement "iVar16 = *(int *)(puVar10 + 2);" (assignment_expression "iVar16 = *(int *)(puVar10 + 2)" (identifier "iVar16") (= "=") (pointer_expression "*(int *)(puVar10 + 2)" (* "*") (cast_expression "(int *)(puVar10 + 2)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + 2)" (( "(") (binary_expression "puVar10 + 2" (identifier "puVar10") (+ "+") (number_literal "2")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n        iVar16 = iVar11 + 1;\n        while( true ) {\n          iVar11 = iVar11 + 1;\n          FUN_000388e0(&local_34);\n          if (iVar16 + (uint)bVar13 == iVar11) break;\n          if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n        }\n        iVar16 = *(int *)(puVar10 + 2);\n      }" (else "else") (compound_statement "{\n        iVar16 = iVar11 + 1;\n        while( true ) {\n          iVar11 = iVar11 + 1;\n          FUN_000388e0(&local_34);\n          if (iVar16 + (uint)bVar13 == iVar11) break;\n          if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n        }\n        iVar16 = *(int *)(puVar10 + 2);\n      }" ({ "{") (expression_statement "iVar16 = iVar11 + 1;" (assignment_expression "iVar16 = iVar11 + 1" (identifier "iVar16") (= "=") (binary_expression "iVar11 + 1" (identifier "iVar11") (+ "+") (number_literal "1"))) (; ";")) (while_statement "while( true ) {\n          iVar11 = iVar11 + 1;\n          FUN_000388e0(&local_34);\n          if (iVar16 + (uint)bVar13 == iVar11) break;\n          if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n        }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n          iVar11 = iVar11 + 1;\n          FUN_000388e0(&local_34);\n          if (iVar16 + (uint)bVar13 == iVar11) break;\n          if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;\n        }" ({ "{") (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" (identifier "iVar11") (= "=") (binary_expression "iVar11 + 1" (identifier "iVar11") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_000388e0(&local_34);" (call_expression "FUN_000388e0(&local_34)" (identifier "FUN_000388e0") (argument_list "(&local_34)" (( "(") (pointer_expression "&local_34" (& "&") (identifier "local_34")) () ")"))) (; ";")) (if_statement "if (iVar16 + (uint)bVar13 == iVar11) break;" (if "if") (parenthesized_expression "(iVar16 + (uint)bVar13 == iVar11)" (( "(") (binary_expression "iVar16 + (uint)bVar13 == iVar11" (binary_expression "iVar16 + (uint)bVar13" (identifier "iVar16") (+ "+") (cast_expression "(uint)bVar13" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar13"))) (== "==") (identifier "iVar11")) () ")")) (break_statement "break;" (break "break") (; ";"))) (if_statement "if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;" (if "if") (parenthesized_expression "(*(int *)(puVar10 + 2) <= iVar11)" (( "(") (binary_expression "*(int *)(puVar10 + 2) <= iVar11" (pointer_expression "*(int *)(puVar10 + 2)" (* "*") (cast_expression "(int *)(puVar10 + 2)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + 2)" (( "(") (binary_expression "puVar10 + 2" (identifier "puVar10") (+ "+") (number_literal "2")) () ")")))) (<= "<=") (identifier "iVar11")) () ")")) (goto_statement "goto LAB_000391e8;" (goto "goto") (statement_identifier "LAB_000391e8") (; ";"))) (} "}"))) (expression_statement "iVar16 = *(int *)(puVar10 + 2);" (assignment_expression "iVar16 = *(int *)(puVar10 + 2)" (identifier "iVar16") (= "=") (pointer_expression "*(int *)(puVar10 + 2)" (* "*") (cast_expression "(int *)(puVar10 + 2)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + 2)" (( "(") (binary_expression "puVar10 + 2" (identifier "puVar10") (+ "+") (number_literal "2")) () ")"))))) (; ";")) (} "}")))) (expression_statement "bVar18 = iVar16 == iVar11;" (assignment_expression "bVar18 = iVar16 == iVar11" (identifier "bVar18") (= "=") (binary_expression "iVar16 == iVar11" (identifier "iVar16") (== "==") (identifier "iVar11"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(!bVar18 && iVar11 <= iVar16)" (( "(") (binary_expression "!bVar18 && iVar11 <= iVar16" (unary_expression "!bVar18" (! "!") (identifier "bVar18")) (&& "&&") (binary_expression "iVar11 <= iVar16" (identifier "iVar11") (<= "<=") (identifier "iVar16"))) () ")")) (; ";")) (} "}"))) (if_statement "if (bVar18) {\n    if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_0006c950(piVar20);\n    }\n    return puVar10;\n  }" (if "if") (parenthesized_expression "(bVar18)" (( "(") (identifier "bVar18") () ")")) (compound_statement "{\n    if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_0006c950(piVar20);\n    }\n    return puVar10;\n  }" ({ "{") (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n      FUN_0006c950(piVar20);\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                    \n      FUN_0006c950(piVar20);\n    }" ({ "{") (expression_statement "FUN_0006c950(piVar20);" (call_expression "FUN_0006c950(piVar20)" (identifier "FUN_0006c950") (argument_list "(piVar20)" (( "(") (identifier "piVar20") () ")"))) (; ";")) (} "}"))) (return_statement "return puVar10;" (return "return") (identifier "puVar10") (; ";")) (} "}"))) (labeled_statement "LAB_0003920f:\n                    \n  __assert_fail("n == ldata->cols","terminal.c",800,"readrle");" (statement_identifier "LAB_0003920f") (: ":") (expression_statement "__assert_fail("n == ldata->cols","terminal.c",800,"readrle");" (call_expression "__assert_fail("n == ldata->cols","terminal.c",800,"readrle")" (identifier "__assert_fail") (argument_list "("n == ldata->cols","terminal.c",800,"readrle")" (( "(") (string_literal ""n == ldata->cols"" (" """) (string_content "n == ldata->cols") (" """)) (, ",") (string_literal ""terminal.c"" (" """) (string_content "terminal.c") (" """)) (, ",") (number_literal "800") (, ",") (string_literal ""readrle"" (" """) (string_content "readrle") (" """)) () ")"))) (; ";"))) (labeled_statement "LAB_000391e8:\n  uVar14 = 0x319;" (statement_identifier "LAB_000391e8") (: ":") (expression_statement "uVar14 = 0x319;" (assignment_expression "uVar14 = 0x319" (identifier "uVar14") (= "=") (number_literal "0x319")) (; ";"))) (goto_statement "goto LAB_000391d0;" (goto "goto") (statement_identifier "LAB_000391d0") (; ";")) (labeled_statement "LAB_000391c0:\n  local_28 = iVar5;" (statement_identifier "LAB_000391c0") (: ":") (expression_statement "local_28 = iVar5;" (assignment_expression "local_28 = iVar5" (identifier "local_28") (= "=") (identifier "iVar5")) (; ";"))) (expression_statement "uVar14 = 0x30f;" (assignment_expression "uVar14 = 0x30f" (identifier "uVar14") (= "=") (number_literal "0x30f")) (; ";")) (labeled_statement "LAB_000391d0:\n                    \n  __assert_fail("n < ldata->cols","terminal.c",uVar14,"readrle");" (statement_identifier "LAB_000391d0") (: ":") (expression_statement "__assert_fail("n < ldata->cols","terminal.c",uVar14,"readrle");" (call_expression "__assert_fail("n < ldata->cols","terminal.c",uVar14,"readrle")" (identifier "__assert_fail") (argument_list "("n < ldata->cols","terminal.c",uVar14,"readrle")" (( "(") (string_literal ""n < ldata->cols"" (" """) (string_content "n < ldata->cols") (" """)) (, ",") (string_literal ""terminal.c"" (" """) (string_content "terminal.c") (" """)) (, ",") (identifier "uVar14") (, ",") (string_literal ""readrle"" (" """) (string_content "readrle") (" """)) () ")"))) (; ";"))) (} "}"))

/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

type_2 * __regparm3 decompressline(uchar *var_3,int *bytes_used)

{
  int iVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int *var_7;
  int var_19;
  type_1 *pbVar7;
  int var_22;
  type_1 var_10;
  type_1 var_11;
  type_2 *ptVar11;
  type_3 *var_12;
  int *var_6;
  type_1 var_8;
  type_4 var_4;
  int var_15;
  int var_17;
  type_4 var_9;
  int var_2;
  int var_14;
  int var_1;
  bool bVar21;
  type_3 *c;
  type_2 *in_stack_ffffff8c;
  type_5 *in_stack_ffffff90;
  type_2 *ldata;
  type_6 *pbVar22;
  type_5 *var_20;
  int var_16;
  type_5 state_1;
  type_5 state;
  type_6 buffer;
  
  var_22 = *(int *)(var_1 + 0x14);
  var_4 = 0;
  var_2 = 0;
  do {
    buffer.len = var_2 + 1;
    pbVar7 = var_3 + var_2;
    var_4 = var_4 | (*pbVar7 & 0x7f) << ((char)var_2 * '\a' & 0x1fU);
    var_2 = buffer.len;
  } while ((char)*pbVar7 < '\0');
  buffer.var_3 = var_3;
  ptVar11 = (type_2 *)var_5(1,0x18);
  c = (type_3 *)0xc;
  var_12 = (type_3 *)var_5(var_4,0xc);
  ptVar11->size = var_4;
  ptVar11->chars = var_12;
  ptVar11->cols = var_4;
  ptVar11->temporary = 1;
  ptVar11->cc_free = 0;
  if (0 < (int)var_4) {
    var_6 = &var_12->cc_next;
    var_7 = var_6 + var_4 * 3;
    do {
      *var_6 = 0;
      var_6 = var_6 + 3;
    } while (var_7 != var_6);
  }
  var_9 = 0;
  ptVar11->lattr = 0;
  var_8 = 0;
  var_2 = buffer.len;
  do {
    buffer.len = var_2 + 1;
    var_10 = buffer.var_3[var_2];
    var_11 = var_8 & 0x1f;
    var_8 = var_8 + 7;
    var_9 = var_9 | (var_10 & 0x7f) << var_11;
    ptVar11->lattr = (type_7)var_9;
    var_2 = buffer.len;
  } while ((char)var_10 < '\0');
  state = 0;
  if ((int)var_4 < 1) {
    if (var_4 != 0) goto LAB_0003920f;
    var_16 = ptVar11->cols;
  }
  else {
    var_2 = 0;
    ldata = (type_2 *)&state;
    do {
      while( true ) {
        var_17 = buffer.len + 1;
        var_8 = buffer.var_3[buffer.len];
        var_12 = ptVar11->chars;
        buffer.len = var_17;
        if (-1 < (char)var_8) break;
        var_14 = var_2 + 1;
        var_12 = var_12 + var_2;
        var_2 = var_2 + -0x7e + (type_4)var_8;
        var_13(&buffer,var_12,ldata,&c->chr);
        do {
          var_15 = buffer.len;
          if (ptVar11->cols <= var_14) goto LAB_000391c0;
          var_15 = var_14 + 1;
          buffer.len = var_17;
          var_13(&buffer,ptVar11->chars + var_14,ldata,&c->chr);
          var_14 = var_15;
        } while (var_15 != var_2);
        var_16 = ptVar11->cols;
        bVar21 = var_2 == var_16;
        if (var_16 <= var_2) goto LAB_00038e55;
      }
      var_17 = var_2 + 1;
      var_14 = var_2;
      while( true ) {
        var_2 = var_14 + 1;
        var_13(&buffer,var_12 + var_14,ldata,&c->chr);
        if (var_2 == var_17 + (type_4)var_8) break;
        if (ptVar11->cols <= var_2) goto LAB_000391e8;
        var_12 = ptVar11->chars;
        var_14 = var_2;
      }
      var_16 = ptVar11->cols;
      bVar21 = var_2 == var_16;
    } while (var_2 < var_16);
LAB_00038e55:
    if (!bVar21) goto LAB_0003920f;
    if (var_2 < 1) {
      var_17 = 0;
    }
    else {
      var_17 = 0;
      do {
        var_14 = buffer.len + 1;
        var_8 = buffer.var_3[buffer.len];
        if ((char)var_8 < '\0') {
          var_15 = var_14;
          if (var_2 <= var_17) goto LAB_000391c0;
          iVar1 = buffer.len + 2;
          var_19 = var_17 + -0x7e;
          iVar2 = buffer.len + 4;
          iVar3 = buffer.len + 3;
          iVar4 = buffer.len + 5;
          var_20 = &ptVar11->chars[var_17].attr;
          while( true ) {
            var_4 = (type_4)var_18(buffer.var_3[var_14],buffer.var_3[iVar1]);
            buffer.len = iVar3;
            if (0x7fff < var_4) {
              var_4 = (var_4 & 0x7fff) << 0x10 |
                       (type_4)var_18(buffer.var_3[iVar3],buffer.var_3[iVar2]);
              buffer.len = iVar4;
            }
            var_17 = var_17 + 1;
            *var_20 = (var_4 >> 0x1b) << 0xd | var_4 >> 0x13 & 0xf0 |
                        var_4 << 4 & 0x1f00 | var_4 & 0xf |
                        ((var_4 << 4 & 0x7ffff00) >> 0xd) << 0x11;
            if (var_17 == var_19 + (type_4)var_8) break;
            var_20 = var_20 + 3;
            var_15 = buffer.len;
            if (var_17 == var_2) goto LAB_000391c0;
          }
        }
        else {
          buffer.len = var_14;
          if (var_2 <= var_17) goto LAB_000391e8;
          var_15 = var_17 + 1;
          var_20 = &ptVar11->chars[var_17].attr;
          var_17 = var_15;
          while( true ) {
            buffer.len = var_14 + 2;
            var_4 = (type_4)var_18(buffer.var_3[var_14],buffer.var_3[var_14 + 1]);
            if (0x7fff < var_4) {
              buffer.len = var_14 + 4;
              var_4 = (var_4 & 0x7fff) << 0x10 |
                       (type_4)var_18(buffer.var_3[var_14 + 2],buffer.var_3[var_14 + 3]);
            }
            *var_20 = ((var_4 << 4 & 0x7ffff00) >> 0xd) << 0x11 |
                        (var_4 >> 0x1b) << 0xd | var_4 >> 0x13 & 0xf0 |
                        var_4 << 4 & 0x1f00 | var_4 & 0xf;
            if ((type_4)var_8 + var_15 == var_17) break;
            var_20 = var_20 + 3;
            bVar21 = var_2 == var_17;
            var_14 = buffer.len;
            var_17 = var_17 + 1;
            if (bVar21) goto LAB_000391e8;
          }
        }
      } while (var_17 < var_2);
    }
    if (var_2 != var_17) goto LAB_0003920f;
  }
  pbVar22 = &buffer;
  var_2 = 0;
  state_1 = 0;
  bVar21 = var_16 == 0;
  if (0 < var_16) {
    do {
      var_17 = buffer.len + 1;
      var_8 = buffer.var_3[buffer.len];
      buffer.len = var_17;
      if ((char)var_8 < '\0') {
        var_14 = var_2 + 1;
        var_21((type_6 *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90);
        var_2 = var_2 + -0x7e + (type_4)var_8;
        do {
          var_15 = buffer.len;
          if (ptVar11->cols <= var_14) goto LAB_000391c0;
          var_14 = var_14 + 1;
          buffer.len = var_17;
          var_21((type_6 *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90);
        } while (var_14 != var_2);
        var_17 = ptVar11->cols;
      }
      else {
        var_17 = var_2 + 1;
        while( true ) {
          var_2 = var_2 + 1;
          var_21((type_6 *)&state_1,c,in_stack_ffffff8c,in_stack_ffffff90);
          if (var_17 + (type_4)var_8 == var_2) break;
          if (ptVar11->cols <= var_2) goto LAB_000391e8;
        }
        var_17 = ptVar11->cols;
      }
      bVar21 = var_17 == var_2;
    } while (!bVar21 && var_2 <= var_17);
  }
  if (bVar21) {
    if (var_22 != *(int *)(var_1 + 0x14)) {
                    /* WARNING: Subroutine does not return */
      var_23(pbVar22);
    }
    return ptVar11;
  }
LAB_0003920f:
                    /* WARNING: Subroutine does not return */
  var_24("n == ldata->cols","terminal.c",800,"readrle");
LAB_000391e8:
  var_4 = 0x319;
  goto LAB_000391d0;
LAB_000391c0:
  buffer.len = var_15;
  var_4 = 0x30f;
LAB_000391d0:
                    /* WARNING: Subroutine does not return */
  var_24("n < ldata->cols","terminal.c",var_4,"readrle");
}


(translation_unit (ERROR (binary_expression left: (identifier) (ERROR (identifier)) right: (call_expression function: (identifier) arguments: (argument_list (ERROR (identifier)) (identifier))))) (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) 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: (identifier)) (declaration type: (type_identifier) 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: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) 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: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) 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))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (char_literal (escape_sequence))) right: (number_literal)))))))) condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (char_literal (escape_sequence))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (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: (binary_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier))))) condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (char_literal (escape_sequence))))) (expression_statement (assignment_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 (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: (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)))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (do_statement body: (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) consequence: (break_statement)) (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: (identifier) right: (number_literal)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (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: (identifier) right: (number_literal))))) right: (identifier))) consequence: (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: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (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: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier))))) consequence: (break_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: (identifier) right: (number_literal))))) right: (identifier))) consequence: (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: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (unary_expression argument: (identifier))) consequence: (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (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: (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: (binary_expression left: (identifier) right: (number_literal)))) (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: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))))))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) right: (number_literal))) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier))))) consequence: (break_statement)) (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 (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier)))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (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: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal))))))))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) 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: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) right: (binary_expression left: (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: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (identifier)) right: (identifier))) consequence: (break_statement)) (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: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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))))))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_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 (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (do_statement body: (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier))))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (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: (identifier) right: (number_literal))))) right: (identifier))) consequence: (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: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (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: (identifier) right: (number_literal)))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier))) right: (identifier))) consequence: (break_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: (identifier) right: (number_literal))))) right: (identifier))) consequence: (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: (identifier) right: (number_literal)))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))))) condition: (parenthesized_expression (binary_expression left: (unary_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (identifier))))))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (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 (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (return_statement (identifier)))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content)) (number_literal) (string_literal (string_content)))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) (goto_statement label: (statement_identifier)) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content)) (identifier) (string_literal (string_content))))))))

/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

undefined2 * __regparm3 MASKED(int param_1)

{
  int iVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  byte bVar7;
  byte bVar8;
  char cVar9;
  undefined2 *puVar10;
  int iVar11;
  undefined4 *puVar12;
  byte bVar13;
  uint uVar14;
  int iVar15;
  int iVar16;
  uint uVar17;
  int in_GS_OFFSET;
  bool bVar18;
  undefined4 *puVar19;
  int *piVar20;
  uint *local_68;
  int local_40;
  undefined4 local_34;
  undefined4 local_30;
  int local_2c;
  int local_28;
  int local_20;
  
  local_28 = 0;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  uVar14 = 0;
  do {
    cVar9 = (char)local_28;
    local_28 = local_28 + 1;
    bVar13 = *(byte *)(param_1 + -1 + local_28);
    uVar14 = uVar14 | (bVar13 & 0x7f) << (cVar9 * '\a' & 0x1fU);
  } while ((char)bVar13 < '\0');
  local_2c = param_1;
  puVar10 = (undefined2 *)FUN_00030000(1,0x18);
  iVar11 = FUN_00030000(uVar14,0xc);
  *(uint *)(puVar10 + 4) = uVar14;
  *(int *)(puVar10 + 10) = iVar11;
  *(uint *)(puVar10 + 2) = uVar14;
  *(undefined4 *)(puVar10 + 6) = 1;
  *(undefined4 *)(puVar10 + 8) = 0;
  if (0 < (int)uVar14) {
    puVar12 = (undefined4 *)(iVar11 + 8);
    puVar19 = puVar12 + uVar14 * 3;
    do {
      *puVar12 = 0;
      puVar12 = puVar12 + 3;
    } while (puVar19 != puVar12);
  }
  uVar17 = 0;
  *puVar10 = 0;
  bVar13 = 0;
  do {
    local_28 = local_28 + 1;
    bVar7 = *(byte *)(local_2c + -1 + local_28);
    bVar8 = bVar13 & 0x1f;
    bVar13 = bVar13 + 7;
    uVar17 = uVar17 | (bVar7 & 0x7f) << bVar8;
    *puVar10 = (short)uVar17;
  } while ((char)bVar7 < '\0');
  local_30 = 0;
  if ((int)uVar14 < 1) {
    if (uVar14 != 0) goto LAB_0003920f;
    local_40 = *(int *)(puVar10 + 2);
  }
  else {
    iVar11 = 0;
    puVar19 = &local_30;
    do {
      while( true ) {
        iVar16 = local_28 + 1;
        bVar13 = *(byte *)(local_2c + local_28);
        local_28 = iVar16;
        if (-1 < (char)bVar13) break;
        iVar15 = iVar11 + 1;
        iVar11 = iVar11 + -0x7e + (uint)bVar13;
        FUN_00037420(puVar19);
        do {
          iVar5 = local_28;
          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;
          iVar15 = iVar15 + 1;
          local_28 = iVar16;
          FUN_00037420(puVar19);
        } while (iVar15 != iVar11);
        local_40 = *(int *)(puVar10 + 2);
        bVar18 = iVar11 == local_40;
        if (local_40 <= iVar11) goto LAB_00038e55;
      }
      iVar16 = iVar11 + 1;
      while( true ) {
        iVar11 = iVar11 + 1;
        FUN_00037420(puVar19);
        if (iVar11 == iVar16 + (uint)bVar13) break;
        if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;
      }
      local_40 = *(int *)(puVar10 + 2);
      bVar18 = iVar11 == local_40;
    } while (iVar11 < local_40);
LAB_00038e55:
    if (!bVar18) goto LAB_0003920f;
    if (iVar11 < 1) {
      iVar16 = 0;
    }
    else {
      iVar16 = 0;
      do {
        iVar15 = local_28 + 1;
        bVar13 = *(byte *)(local_2c + local_28);
        if ((char)bVar13 < '\0') {
          iVar5 = iVar15;
          if (iVar11 <= iVar16) goto LAB_000391c0;
          iVar1 = local_28 + 2;
          iVar6 = iVar16 + -0x7e;
          iVar2 = local_28 + 4;
          iVar3 = local_28 + 3;
          iVar4 = local_28 + 5;
          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);
          while( true ) {
            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),
                                    *(undefined1 *)(iVar1 + local_2c));
            local_28 = iVar3;
            if (0x7fff < uVar14) {
              uVar14 = (uVar14 & 0x7fff) << 0x10 |
                       (uint)CONCAT11(*(undefined1 *)(local_2c + iVar3),
                                      *(undefined1 *)(local_2c + iVar2));
              local_28 = iVar4;
            }
            iVar16 = iVar16 + 1;
            *local_68 = (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |
                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf |
                        ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11;
            if (iVar16 == iVar6 + (uint)bVar13) break;
            local_68 = local_68 + 3;
            iVar5 = local_28;
            if (iVar16 == iVar11) goto LAB_000391c0;
          }
        }
        else {
          local_28 = iVar15;
          if (iVar11 <= iVar16) goto LAB_000391e8;
          iVar5 = iVar16 + 1;
          local_68 = (uint *)(*(int *)(puVar10 + 10) + 4 + iVar16 * 0xc);
          iVar16 = iVar5;
          while( true ) {
            local_28 = iVar15 + 2;
            uVar14 = (uint)CONCAT11(*(undefined1 *)(local_2c + iVar15),
                                    *(undefined1 *)(local_2c + 1 + iVar15));
            if (0x7fff < uVar14) {
              local_28 = iVar15 + 4;
              uVar14 = (uVar14 & 0x7fff) << 0x10 |
                       (uint)CONCAT11(*(undefined1 *)(local_2c + 2 + iVar15),
                                      *(undefined1 *)(local_2c + iVar15 + 3));
            }
            *local_68 = ((uVar14 << 4 & 0x7ffff00) >> 0xd) << 0x11 |
                        (uVar14 >> 0x1b) << 0xd | uVar14 >> 0x13 & 0xf0 |
                        uVar14 << 4 & 0x1f00 | uVar14 & 0xf;
            if ((uint)bVar13 + iVar5 == iVar16) break;
            local_68 = local_68 + 3;
            bVar18 = iVar11 == iVar16;
            iVar15 = local_28;
            iVar16 = iVar16 + 1;
            if (bVar18) goto LAB_000391e8;
          }
        }
      } while (iVar16 < iVar11);
    }
    if (iVar11 != iVar16) goto LAB_0003920f;
  }
  piVar20 = &local_2c;
  iVar11 = 0;
  local_34 = 0;
  bVar18 = local_40 == 0;
  if (0 < local_40) {
    do {
      iVar16 = local_28 + 1;
      bVar13 = *(byte *)(local_2c + local_28);
      local_28 = iVar16;
      if ((char)bVar13 < '\0') {
        iVar15 = iVar11 + 1;
        FUN_000388e0(&local_34);
        iVar11 = iVar11 + -0x7e + (uint)bVar13;
        do {
          iVar5 = local_28;
          if (*(int *)(puVar10 + 2) <= iVar15) goto LAB_000391c0;
          iVar15 = iVar15 + 1;
          local_28 = iVar16;
          FUN_000388e0(&local_34);
        } while (iVar15 != iVar11);
        iVar16 = *(int *)(puVar10 + 2);
      }
      else {
        iVar16 = iVar11 + 1;
        while( true ) {
          iVar11 = iVar11 + 1;
          FUN_000388e0(&local_34);
          if (iVar16 + (uint)bVar13 == iVar11) break;
          if (*(int *)(puVar10 + 2) <= iVar11) goto LAB_000391e8;
        }
        iVar16 = *(int *)(puVar10 + 2);
      }
      bVar18 = iVar16 == iVar11;
    } while (!bVar18 && iVar11 <= iVar16);
  }
  if (bVar18) {
    if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
      FUN_0006c950(piVar20);
    }
    return puVar10;
  }
LAB_0003920f:
                    /* WARNING: Subroutine does not return */
  __assert_fail("n == ldata->cols","terminal.c",800,"readrle");
LAB_000391e8:
  uVar14 = 0x319;
  goto LAB_000391d0;
LAB_000391c0:
  local_28 = iVar5;
  uVar14 = 0x30f;
LAB_000391d0:
                    /* WARNING: Subroutine does not return */
  __assert_fail("n < ldata->cols","terminal.c",uVar14,"readrle");
}

