
reg_errcode_t __regparm3
parse_bracket_element
          (bracket_elem_t *elem,re_string_t *regexp,re_token_t *token,int token_len,re_dfa_t *dfa,
          reg_syntax_t syntax,_Bool accept_hyphen)

{
  int iVar1;
  uchar uVar2;
  byte bVar3;
  char cVar4;
  wint_t *pwVar5;
  int iVar6;
  reg_errcode_t rVar7;
  int iVar8;
  int iVar9;
  byte bVar10;
  int iVar11;
  int in_GS_OFFSET;
  char local_3c;
  re_token_t token2;
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  iVar8 = regexp->cur_idx;
  if (regexp->mb_cur_max != 1) {
    if (iVar8 + 1 < regexp->valid_len) {
      pwVar5 = regexp->wcs;
      if (pwVar5[iVar8 + 1] == 0xffffffff) {
        iVar11 = iVar8 + 2;
        do {
          iVar9 = iVar11;
          if (regexp->valid_len == iVar9) break;
          iVar11 = iVar9 + 1;
        } while (pwVar5[iVar9] == 0xffffffff);
        elem->type = MB_CHAR;
        elem->opr = *(anon_union_4_3_ebfdf496_for_opr *)(pwVar5 + iVar8);
        rVar7 = _REG_NOERROR;
        regexp->cur_idx = iVar9;
        goto LAB_0004b139;
      }
    }
  }
  bVar10 = token->field_0x4;
  iVar8 = iVar8 + token_len;
  regexp->cur_idx = iVar8;
  if (((bVar10 & 0xfb) == 0x1a) || (bVar10 == 0x1c)) {
    if (iVar8 < regexp->stop) {
      bVar3 = (token->opr).c;
      iVar11 = 0;
      do {
        iVar9 = iVar8 + 1;
        if ((bVar10 == 0x1e) && (regexp->mbs_allocated != '\0')) {
          if (regexp->offsets_needed == '\0') {
            regexp->cur_idx = iVar9;
            bVar10 = regexp->raw_mbs[regexp->raw_mbs_idx + iVar8];
          }
          else {
            iVar6 = regexp->valid_len;
            if (((iVar8 != iVar6) && (regexp->wcs[iVar8] == 0xffffffff)) ||
               (bVar10 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[iVar8]],
               (bVar10 & 0x80) != 0)) goto LAB_0004b19d;
            if (((regexp->mb_cur_max != 1) && (iVar9 < iVar6)) &&
               (regexp->wcs[iVar8 + 1] == 0xffffffff)) {
              iVar8 = iVar8 + 2;
              do {
                iVar9 = iVar8;
                if (iVar6 == iVar9) break;
                iVar8 = iVar9 + 1;
              } while (regexp->wcs[iVar9] == 0xffffffff);
            }
            regexp->cur_idx = iVar9;
          }
        }
        else {
LAB_0004b19d:
          regexp->cur_idx = iVar9;
          bVar10 = regexp->mbs[iVar8];
        }
        if (regexp->stop <= iVar9) break;
        if ((bVar3 == bVar10) && (regexp->mbs[iVar9] == ']')) {
          regexp->cur_idx = iVar9 + 1;
          (elem->opr).name[iVar11] = '\0';
          cVar4 = token->field_0x4;
          if (cVar4 == '\x1c') {
            elem->type = EQUIV_CLASS;
            rVar7 = _REG_NOERROR;
          }
          else if (cVar4 == '\x1e') {
            elem->type = CHAR_CLASS;
            rVar7 = _REG_NOERROR;
          }
          else {
            rVar7 = _REG_NOERROR;
            if (cVar4 == '\x1a') {
              elem->type = COLL_SYM;
            }
          }
          goto LAB_0004b139;
        }
        (elem->opr).name[iVar11] = bVar10;
        iVar11 = iVar11 + 1;
        if (iVar11 == 0x20) break;
        bVar10 = token->field_0x4;
        iVar8 = regexp->cur_idx;
      } while( true );
    }
    rVar7 = _REG_EBRACK;
  }
  else {
    if ((bVar10 == 0x16) && (local_3c = (char)syntax, local_3c == '\0')) {
      peek_token_bracket(&token2,regexp,(reg_syntax_t)dfa);
      rVar7 = _REG_ERANGE;
      if (token2._4_1_ != '\x15') goto LAB_0004b139;
    }
    uVar2 = (token->opr).c;
    elem->type = SB_CHAR;
    (elem->opr).ch = uVar2;
    rVar7 = _REG_NOERROR;
  }
LAB_0004b139:
  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail_local();
  }
  return rVar7;
}



undefined4 __regparm3
FUN_0004b080(undefined4 *param_1,int *param_2,byte *param_3,int param_4,undefined4 param_5,
            char param_6)

{
  int iVar1;
  byte bVar2;
  int iVar3;
  undefined4 uVar4;
  int iVar5;
  int iVar6;
  byte bVar7;
  int iVar8;
  int in_GS_OFFSET;
  char local_24;
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  iVar5 = param_2[10];
  if (param_2[0x14] != 1) {
    iVar8 = iVar5 + 1;
    if (iVar8 < param_2[7]) {
      iVar6 = param_2[2];
      if (*(int *)(iVar6 + iVar8 * 4) == -1) {
        iVar5 = iVar5 + 2;
        do {
          iVar3 = iVar5;
          if (param_2[7] == iVar3) break;
          iVar5 = iVar3 + 1;
        } while (*(int *)(iVar6 + -4 + (iVar3 + 1) * 4) == -1);
        *param_1 = 1;
        param_1[1] = *(undefined4 *)(iVar6 + -4 + iVar8 * 4);
        uVar4 = 0;
        param_2[10] = iVar3;
        goto LAB_0004b139;
      }
    }
  }
  bVar7 = param_3[4];
  iVar5 = iVar5 + param_4;
  param_2[10] = iVar5;
  if (((bVar7 & 0xfb) == 0x1a) || (bVar7 == 0x1c)) {
    if (iVar5 < param_2[0xe]) {
      bVar2 = *param_3;
      iVar8 = 0;
      do {
        iVar6 = iVar5 + 1;
        if ((bVar7 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {
          if ((char)param_2[0x13] == '\0') {
            param_2[10] = iVar6;
            bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);
          }
          else {
            iVar3 = param_2[7];
            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||
               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),
               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;
            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&
               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {
              iVar5 = iVar5 + 2;
              do {
                iVar6 = iVar5;
                if (iVar3 == iVar6) break;
                iVar5 = iVar6 + 1;
              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);
            }
            param_2[10] = iVar6;
          }
        }
        else {
LAB_0004b19d:
          param_2[10] = iVar6;
          bVar7 = *(byte *)(param_2[1] + iVar5);
        }
        if (param_2[0xe] <= iVar6) break;
        if ((bVar2 == bVar7) && (*(char *)(param_2[1] + iVar6) == ']')) {
          param_2[10] = iVar6 + 1;
          *(undefined1 *)(param_1[1] + iVar8) = 0;
          bVar7 = param_3[4];
          if (bVar7 == 0x1c) {
            *param_1 = 2;
            uVar4 = 0;
          }
          else if (bVar7 == 0x1e) {
            *param_1 = 4;
            uVar4 = 0;
          }
          else {
            uVar4 = 0;
            if (bVar7 == 0x1a) {
              *param_1 = 3;
            }
          }
          goto LAB_0004b139;
        }
        *(byte *)(param_1[1] + iVar8) = bVar7;
        iVar8 = iVar8 + 1;
        if (iVar8 == 0x20) break;
        bVar7 = param_3[4];
        iVar5 = param_2[10];
      } while( true );
    }
    uVar4 = 7;
  }
  else {
    if ((bVar7 == 0x16) && (param_6 == '\0')) {
      FUN_00047340();
      uVar4 = 0xb;
      if (local_24 != '\x15') goto LAB_0004b139;
    }
    bVar7 = *param_3;
    *param_1 = 0;
    *(byte *)(param_1 + 1) = bVar7;
    uVar4 = 0;
  }
LAB_0004b139:
  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_0005a8b0();
  }
  return uVar4;
}


PUSH EBP
MOV EBP,ECX
PUSH EDI
MOV EDI,EAX
PUSH ESI
PUSH EBX
SUB ESP,0x3c
MOV EAX,dword ptr [ESP + 0x58]
MOV dword ptr [ESP + 0x10],EAX
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x2c],EAX
XOR EAX,EAX
CMP dword ptr [EDX + 0x50],0x1
MOV EAX,dword ptr [EDX + 0x28]
JZ 0x0004b100
MOV ESI,dword ptr [EDX + 0x1c]
LEA ECX,[EAX + 0x1]
MOV dword ptr [ESP + 0xc],ESI
CMP ECX,ESI
JGE 0x0004b100
MOV EBX,dword ptr [EDX + 0x8]
LEA ESI,[ECX*0x4 + 0x0]
MOV dword ptr [ESP + 0x14],ESI
CMP dword ptr [EBX + ECX*0x4],-0x1
JNZ 0x0004b100
ADD EAX,0x2
MOV ESI,dword ptr [ESP + 0xc]
JMP 0x0004b0e2
ADD EAX,0x1
CMP dword ptr [EBX + EAX*0x4 + -0x4],-0x1
JNZ 0x0004b0e8
MOV ECX,EAX
CMP ESI,EAX
JNZ 0x0004b0d8
MOV EAX,dword ptr [ESP + 0x14]
MOV dword ptr [EDI],0x1
MOV EAX,dword ptr [EBX + EAX*0x1 + -0x4]
MOV dword ptr [EDI + 0x4],EAX
XOR EAX,EAX
MOV dword ptr [EDX + 0x28],ECX
JMP 0x0004b139
MOVZX EBX,byte ptr [EBP + 0x4]
ADD EAX,dword ptr [ESP + 0x50]
MOV dword ptr [EDX + 0x28],EAX
MOV ECX,EBX
AND ECX,0xfffffffb
CMP CL,0x1a
JZ 0x0004b158
CMP BL,0x1c
JZ 0x0004b158
CMP BL,0x16
JNZ 0x0004b12a
CMP byte ptr [ESP + 0x10],0x0
JZ 0x0004b2d0
MOVZX EAX,byte ptr [EBP]
MOV dword ptr [EDI],0x0
MOV byte ptr [EDI + 0x4],AL
XOR EAX,EAX
MOV EDI,dword ptr [ESP + 0x2c]
XOR EDI,dword ptr GS:[0x14]
JNZ 0x0004b30c
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET
CMP EAX,dword ptr [EDX + 0x38]
JGE 0x0004b200
MOVZX ECX,byte ptr [EBP]
XOR ESI,ESI
MOV dword ptr [ESP + 0x10],EDI
MOV dword ptr [ESP + 0xc],EBP
MOV byte ptr [ESP + 0x14],CL
JMP 0x0004b195
MOV EAX,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [EAX + 0x4]
MOV byte ptr [EAX + ESI*0x1],BL
ADD ESI,0x1
CMP ESI,0x20
JZ 0x0004b200
MOV EAX,dword ptr [ESP + 0xc]
MOVZX EBX,byte ptr [EAX + 0x4]
MOV EAX,dword ptr [EDX + 0x28]
LEA ECX,[EAX + 0x1]
CMP BL,0x1e
JZ 0x0004b210
MOV EBX,dword ptr [EDX + 0x4]
MOV dword ptr [EDX + 0x28],ECX
MOVZX EBX,byte ptr [EBX + EAX*0x1]
CMP dword ptr [EDX + 0x38],ECX
JLE 0x0004b200
CMP byte ptr [ESP + 0x14],BL
JNZ 0x0004b178
MOV EAX,dword ptr [EDX + 0x4]
CMP byte ptr [EAX + ECX*0x1],0x5d
JNZ 0x0004b178
MOV EDI,dword ptr [ESP + 0x10]
MOV EBP,dword ptr [ESP + 0xc]
ADD ECX,0x1
MOV dword ptr [EDX + 0x28],ECX
MOV EAX,dword ptr [EDI + 0x4]
MOV byte ptr [EAX + ESI*0x1],0x0
MOVZX EDX,byte ptr [EBP + 0x4]
CMP DL,0x1c
JZ 0x0004b2ff
CMP DL,0x1e
JZ 0x0004b2f2
XOR EAX,EAX
CMP DL,0x1a
JNZ 0x0004b139
MOV dword ptr [EDI],0x3
JMP 0x0004b139
MOV EAX,0x7
JMP 0x0004b139
CMP byte ptr [EDX + 0x4b],0x0
JZ 0x0004b19d
CMP byte ptr [EDX + 0x4c],0x0
JZ 0x0004b2c0
MOV EBX,dword ptr [EDX + 0x1c]
MOV EDI,EBX
MOV dword ptr [ESP + 0x18],EBX
LEA EBX,[EAX*0x4 + 0x0]
MOV dword ptr [ESP + 0x1c],EBX
CMP EAX,EDI
JZ 0x0004b245
MOV EBX,dword ptr [EDX + 0x8]
CMP dword ptr [EBX + EAX*0x4],-0x1
JZ 0x0004b19d
MOV EBX,dword ptr [EDX + 0xc]
LEA EBP,[EAX*0x4 + 0x0]
MOV EBX,dword ptr [EBX + EBP*0x1]
ADD EBX,dword ptr [EDX]
ADD EBX,dword ptr [EDX + 0x18]
MOVZX EBX,byte ptr [EBX]
TEST BL,0x80
JNZ 0x0004b19d
CMP dword ptr [EDX + 0x50],0x1
JZ 0x0004b2b0
CMP dword ptr [ESP + 0x18],ECX
JLE 0x0004b2b0
MOV EBP,dword ptr [EDX + 0x8]
LEA EDI,[EAX*0x4 + 0x0]
CMP dword ptr [EBP + EDI*0x1 + 0x4],-0x1
JNZ 0x0004b2b0
MOV dword ptr [ESP + 0x1c],ESI
MOV EDI,EBP
ADD EAX,0x2
MOV ESI,dword ptr [ESP + 0x18]
MOV EBP,dword ptr [ESP + 0xc]
JMP 0x0004b2a2
ADD EAX,0x1
CMP dword ptr [EDI + EAX*0x4 + -0x4],-0x1
JNZ 0x0004b2a8
MOV ECX,EAX
CMP ESI,EAX
JNZ 0x0004b298
MOV dword ptr [ESP + 0xc],EBP
MOV ESI,dword ptr [ESP + 0x1c]
MOV dword ptr [EDX + 0x28],ECX
JMP 0x0004b1a7
ADD EAX,dword ptr [EDX]
ADD EAX,dword ptr [EDX + 0x18]
MOV dword ptr [EDX + 0x28],ECX
MOVZX EBX,byte ptr [EAX]
JMP 0x0004b1a7
MOV ECX,dword ptr [ESP + 0x54]
LEA EAX,[ESP + 0x24]
CALL 0x00047340
CMP byte ptr [ESP + 0x28],0x15
MOV EAX,0xb
JZ 0x0004b12a
JMP 0x0004b139
MOV dword ptr [EDI],0x4
XOR EAX,EAX
JMP 0x0004b139
MOV dword ptr [EDI],0x2
XOR EAX,EAX
JMP 0x0004b139
CALL 0x0005a8b0
(translation_unit "undefined4 __regparm3\nFUN_0004b080(undefined4 *param_1,int *param_2,byte *param_3,int param_4,undefined4 param_5,\n            char param_6)\n\n{\n  int iVar1;\n  byte bVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int iVar6;\n  byte bVar7;\n  int iVar8;\n  int in_GS_OFFSET;\n  char local_24;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar5 = param_2[10];\n  if (param_2[0x14] != 1) {\n    iVar8 = iVar5 + 1;\n    if (iVar8 < param_2[7]) {\n      iVar6 = param_2[2];\n      if (*(int *)(iVar6 + iVar8 * 4) == -1) {\n        iVar5 = iVar5 + 2;\n        do {\n          iVar3 = iVar5;\n          if (param_2[7] == iVar3) break;\n          iVar5 = iVar3 + 1;\n        } while (*(int *)(iVar6 + -4 + (iVar3 + 1) * 4) == -1);\n        *param_1 = 1;\n        param_1[1] = *(undefined4 *)(iVar6 + -4 + iVar8 * 4);\n        uVar4 = 0;\n        param_2[10] = iVar3;\n        goto LAB_0004b139;\n      }\n    }\n  }\n  bVar7 = param_3[4];\n  iVar5 = iVar5 + param_4;\n  param_2[10] = iVar5;\n  if (((bVar7 & 0xfb) == 0x1a) || (bVar7 == 0x1c)) {\n    if (iVar5 < param_2[0xe]) {\n      bVar2 = *param_3;\n      iVar8 = 0;\n      do {\n        iVar6 = iVar5 + 1;\n        if ((bVar7 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n          if ((char)param_2[0x13] == '\0') {\n            param_2[10] = iVar6;\n            bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);\n          }\n          else {\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }\n        }\n        else {\nLAB_0004b19d:\n          param_2[10] = iVar6;\n          bVar7 = *(byte *)(param_2[1] + iVar5);\n        }\n        if (param_2[0xe] <= iVar6) break;\n        if ((bVar2 == bVar7) && (*(char *)(param_2[1] + iVar6) == ']')) {\n          param_2[10] = iVar6 + 1;\n          *(undefined1 *)(param_1[1] + iVar8) = 0;\n          bVar7 = param_3[4];\n          if (bVar7 == 0x1c) {\n            *param_1 = 2;\n            uVar4 = 0;\n          }\n          else if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }\n          goto LAB_0004b139;\n        }\n        *(byte *)(param_1[1] + iVar8) = bVar7;\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x20) break;\n        bVar7 = param_3[4];\n        iVar5 = param_2[10];\n      } while( true );\n    }\n    uVar4 = 7;\n  }\n  else {\n    if ((bVar7 == 0x16) && (param_6 == '\0')) {\n      FUN_00047340();\n      uVar4 = 0xb;\n      if (local_24 != '\x15') goto LAB_0004b139;\n    }\n    bVar7 = *param_3;\n    *param_1 = 0;\n    *(byte *)(param_1 + 1) = bVar7;\n    uVar4 = 0;\n  }\nLAB_0004b139:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0005a8b0();\n  }\n  return uVar4;\n}\n\n" (function_definition "undefined4 __regparm3\nFUN_0004b080(undefined4 *param_1,int *param_2,byte *param_3,int param_4,undefined4 param_5,\n            char param_6)\n\n{\n  int iVar1;\n  byte bVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int iVar6;\n  byte bVar7;\n  int iVar8;\n  int in_GS_OFFSET;\n  char local_24;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar5 = param_2[10];\n  if (param_2[0x14] != 1) {\n    iVar8 = iVar5 + 1;\n    if (iVar8 < param_2[7]) {\n      iVar6 = param_2[2];\n      if (*(int *)(iVar6 + iVar8 * 4) == -1) {\n        iVar5 = iVar5 + 2;\n        do {\n          iVar3 = iVar5;\n          if (param_2[7] == iVar3) break;\n          iVar5 = iVar3 + 1;\n        } while (*(int *)(iVar6 + -4 + (iVar3 + 1) * 4) == -1);\n        *param_1 = 1;\n        param_1[1] = *(undefined4 *)(iVar6 + -4 + iVar8 * 4);\n        uVar4 = 0;\n        param_2[10] = iVar3;\n        goto LAB_0004b139;\n      }\n    }\n  }\n  bVar7 = param_3[4];\n  iVar5 = iVar5 + param_4;\n  param_2[10] = iVar5;\n  if (((bVar7 & 0xfb) == 0x1a) || (bVar7 == 0x1c)) {\n    if (iVar5 < param_2[0xe]) {\n      bVar2 = *param_3;\n      iVar8 = 0;\n      do {\n        iVar6 = iVar5 + 1;\n        if ((bVar7 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n          if ((char)param_2[0x13] == '\0') {\n            param_2[10] = iVar6;\n            bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);\n          }\n          else {\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }\n        }\n        else {\nLAB_0004b19d:\n          param_2[10] = iVar6;\n          bVar7 = *(byte *)(param_2[1] + iVar5);\n        }\n        if (param_2[0xe] <= iVar6) break;\n        if ((bVar2 == bVar7) && (*(char *)(param_2[1] + iVar6) == ']')) {\n          param_2[10] = iVar6 + 1;\n          *(undefined1 *)(param_1[1] + iVar8) = 0;\n          bVar7 = param_3[4];\n          if (bVar7 == 0x1c) {\n            *param_1 = 2;\n            uVar4 = 0;\n          }\n          else if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }\n          goto LAB_0004b139;\n        }\n        *(byte *)(param_1[1] + iVar8) = bVar7;\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x20) break;\n        bVar7 = param_3[4];\n        iVar5 = param_2[10];\n      } while( true );\n    }\n    uVar4 = 7;\n  }\n  else {\n    if ((bVar7 == 0x16) && (param_6 == '\0')) {\n      FUN_00047340();\n      uVar4 = 0xb;\n      if (local_24 != '\x15') goto LAB_0004b139;\n    }\n    bVar7 = *param_3;\n    *param_1 = 0;\n    *(byte *)(param_1 + 1) = bVar7;\n    uVar4 = 0;\n  }\nLAB_0004b139:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0005a8b0();\n  }\n  return uVar4;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_0004b080(undefined4 *param_1,int *param_2,byte *param_3,int param_4,undefined4 param_5,\n            char param_6)" identifier (parameter_list "(undefined4 *param_1,int *param_2,byte *param_3,int param_4,undefined4 param_5,\n            char param_6)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "byte *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "char param_6" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  byte bVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int iVar6;\n  byte bVar7;\n  int iVar8;\n  int in_GS_OFFSET;\n  char local_24;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar5 = param_2[10];\n  if (param_2[0x14] != 1) {\n    iVar8 = iVar5 + 1;\n    if (iVar8 < param_2[7]) {\n      iVar6 = param_2[2];\n      if (*(int *)(iVar6 + iVar8 * 4) == -1) {\n        iVar5 = iVar5 + 2;\n        do {\n          iVar3 = iVar5;\n          if (param_2[7] == iVar3) break;\n          iVar5 = iVar3 + 1;\n        } while (*(int *)(iVar6 + -4 + (iVar3 + 1) * 4) == -1);\n        *param_1 = 1;\n        param_1[1] = *(undefined4 *)(iVar6 + -4 + iVar8 * 4);\n        uVar4 = 0;\n        param_2[10] = iVar3;\n        goto LAB_0004b139;\n      }\n    }\n  }\n  bVar7 = param_3[4];\n  iVar5 = iVar5 + param_4;\n  param_2[10] = iVar5;\n  if (((bVar7 & 0xfb) == 0x1a) || (bVar7 == 0x1c)) {\n    if (iVar5 < param_2[0xe]) {\n      bVar2 = *param_3;\n      iVar8 = 0;\n      do {\n        iVar6 = iVar5 + 1;\n        if ((bVar7 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n          if ((char)param_2[0x13] == '\0') {\n            param_2[10] = iVar6;\n            bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);\n          }\n          else {\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }\n        }\n        else {\nLAB_0004b19d:\n          param_2[10] = iVar6;\n          bVar7 = *(byte *)(param_2[1] + iVar5);\n        }\n        if (param_2[0xe] <= iVar6) break;\n        if ((bVar2 == bVar7) && (*(char *)(param_2[1] + iVar6) == ']')) {\n          param_2[10] = iVar6 + 1;\n          *(undefined1 *)(param_1[1] + iVar8) = 0;\n          bVar7 = param_3[4];\n          if (bVar7 == 0x1c) {\n            *param_1 = 2;\n            uVar4 = 0;\n          }\n          else if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }\n          goto LAB_0004b139;\n        }\n        *(byte *)(param_1[1] + iVar8) = bVar7;\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x20) break;\n        bVar7 = param_3[4];\n        iVar5 = param_2[10];\n      } while( true );\n    }\n    uVar4 = 7;\n  }\n  else {\n    if ((bVar7 == 0x16) && (param_6 == '\0')) {\n      FUN_00047340();\n      uVar4 = 0xb;\n      if (local_24 != '\x15') goto LAB_0004b139;\n    }\n    bVar7 = *param_3;\n    *param_1 = 0;\n    *(byte *)(param_1 + 1) = bVar7;\n    uVar4 = 0;\n  }\nLAB_0004b139:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0005a8b0();\n  }\n  return uVar4;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "byte bVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "char local_24;" primitive_type identifier ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(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 "iVar5 = param_2[10];" (assignment_expression "iVar5 = param_2[10]" identifier = (subscript_expression "param_2[10]" identifier [ number_literal ])) ;) (if_statement "if (param_2[0x14] != 1) {\n    iVar8 = iVar5 + 1;\n    if (iVar8 < param_2[7]) {\n      iVar6 = param_2[2];\n      if (*(int *)(iVar6 + iVar8 * 4) == -1) {\n        iVar5 = iVar5 + 2;\n        do {\n          iVar3 = iVar5;\n          if (param_2[7] == iVar3) break;\n          iVar5 = iVar3 + 1;\n        } while (*(int *)(iVar6 + -4 + (iVar3 + 1) * 4) == -1);\n        *param_1 = 1;\n        param_1[1] = *(undefined4 *)(iVar6 + -4 + iVar8 * 4);\n        uVar4 = 0;\n        param_2[10] = iVar3;\n        goto LAB_0004b139;\n      }\n    }\n  }" if (parenthesized_expression "(param_2[0x14] != 1)" ( (binary_expression "param_2[0x14] != 1" (subscript_expression "param_2[0x14]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    iVar8 = iVar5 + 1;\n    if (iVar8 < param_2[7]) {\n      iVar6 = param_2[2];\n      if (*(int *)(iVar6 + iVar8 * 4) == -1) {\n        iVar5 = iVar5 + 2;\n        do {\n          iVar3 = iVar5;\n          if (param_2[7] == iVar3) break;\n          iVar5 = iVar3 + 1;\n        } while (*(int *)(iVar6 + -4 + (iVar3 + 1) * 4) == -1);\n        *param_1 = 1;\n        param_1[1] = *(undefined4 *)(iVar6 + -4 + iVar8 * 4);\n        uVar4 = 0;\n        param_2[10] = iVar3;\n        goto LAB_0004b139;\n      }\n    }\n  }" { (expression_statement "iVar8 = iVar5 + 1;" (assignment_expression "iVar8 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (if_statement "if (iVar8 < param_2[7]) {\n      iVar6 = param_2[2];\n      if (*(int *)(iVar6 + iVar8 * 4) == -1) {\n        iVar5 = iVar5 + 2;\n        do {\n          iVar3 = iVar5;\n          if (param_2[7] == iVar3) break;\n          iVar5 = iVar3 + 1;\n        } while (*(int *)(iVar6 + -4 + (iVar3 + 1) * 4) == -1);\n        *param_1 = 1;\n        param_1[1] = *(undefined4 *)(iVar6 + -4 + iVar8 * 4);\n        uVar4 = 0;\n        param_2[10] = iVar3;\n        goto LAB_0004b139;\n      }\n    }" if (parenthesized_expression "(iVar8 < param_2[7])" ( (binary_expression "iVar8 < param_2[7]" identifier < (subscript_expression "param_2[7]" identifier [ number_literal ])) )) (compound_statement "{\n      iVar6 = param_2[2];\n      if (*(int *)(iVar6 + iVar8 * 4) == -1) {\n        iVar5 = iVar5 + 2;\n        do {\n          iVar3 = iVar5;\n          if (param_2[7] == iVar3) break;\n          iVar5 = iVar3 + 1;\n        } while (*(int *)(iVar6 + -4 + (iVar3 + 1) * 4) == -1);\n        *param_1 = 1;\n        param_1[1] = *(undefined4 *)(iVar6 + -4 + iVar8 * 4);\n        uVar4 = 0;\n        param_2[10] = iVar3;\n        goto LAB_0004b139;\n      }\n    }" { (expression_statement "iVar6 = param_2[2];" (assignment_expression "iVar6 = param_2[2]" identifier = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (if_statement "if (*(int *)(iVar6 + iVar8 * 4) == -1) {\n        iVar5 = iVar5 + 2;\n        do {\n          iVar3 = iVar5;\n          if (param_2[7] == iVar3) break;\n          iVar5 = iVar3 + 1;\n        } while (*(int *)(iVar6 + -4 + (iVar3 + 1) * 4) == -1);\n        *param_1 = 1;\n        param_1[1] = *(undefined4 *)(iVar6 + -4 + iVar8 * 4);\n        uVar4 = 0;\n        param_2[10] = iVar3;\n        goto LAB_0004b139;\n      }" if (parenthesized_expression "(*(int *)(iVar6 + iVar8 * 4) == -1)" ( (binary_expression "*(int *)(iVar6 + iVar8 * 4) == -1" (pointer_expression "*(int *)(iVar6 + iVar8 * 4)" * (cast_expression "(int *)(iVar6 + iVar8 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar8 * 4)" ( (binary_expression "iVar6 + iVar8 * 4" identifier + (binary_expression "iVar8 * 4" identifier * number_literal)) )))) == number_literal) )) (compound_statement "{\n        iVar5 = iVar5 + 2;\n        do {\n          iVar3 = iVar5;\n          if (param_2[7] == iVar3) break;\n          iVar5 = iVar3 + 1;\n        } while (*(int *)(iVar6 + -4 + (iVar3 + 1) * 4) == -1);\n        *param_1 = 1;\n        param_1[1] = *(undefined4 *)(iVar6 + -4 + iVar8 * 4);\n        uVar4 = 0;\n        param_2[10] = iVar3;\n        goto LAB_0004b139;\n      }" { (expression_statement "iVar5 = iVar5 + 2;" (assignment_expression "iVar5 = iVar5 + 2" identifier = (binary_expression "iVar5 + 2" identifier + number_literal)) ;) (do_statement "do {\n          iVar3 = iVar5;\n          if (param_2[7] == iVar3) break;\n          iVar5 = iVar3 + 1;\n        } while (*(int *)(iVar6 + -4 + (iVar3 + 1) * 4) == -1);" do (compound_statement "{\n          iVar3 = iVar5;\n          if (param_2[7] == iVar3) break;\n          iVar5 = iVar3 + 1;\n        }" { (expression_statement "iVar3 = iVar5;" (assignment_expression "iVar3 = iVar5" identifier = identifier) ;) (if_statement "if (param_2[7] == iVar3) break;" if (parenthesized_expression "(param_2[7] == iVar3)" ( (binary_expression "param_2[7] == iVar3" (subscript_expression "param_2[7]" identifier [ number_literal ]) == identifier) )) (break_statement "break;" break ;)) (expression_statement "iVar5 = iVar3 + 1;" (assignment_expression "iVar5 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*(int *)(iVar6 + -4 + (iVar3 + 1) * 4) == -1)" ( (binary_expression "*(int *)(iVar6 + -4 + (iVar3 + 1) * 4) == -1" (pointer_expression "*(int *)(iVar6 + -4 + (iVar3 + 1) * 4)" * (cast_expression "(int *)(iVar6 + -4 + (iVar3 + 1) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + -4 + (iVar3 + 1) * 4)" ( (binary_expression "iVar6 + -4 + (iVar3 + 1) * 4" (binary_expression "iVar6 + -4" identifier + number_literal) + (binary_expression "(iVar3 + 1) * 4" (parenthesized_expression "(iVar3 + 1)" ( (binary_expression "iVar3 + 1" identifier + number_literal) )) * number_literal)) )))) == number_literal) )) ;) (expression_statement "*param_1 = 1;" (assignment_expression "*param_1 = 1" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1[1] = *(undefined4 *)(iVar6 + -4 + iVar8 * 4);" (assignment_expression "param_1[1] = *(undefined4 *)(iVar6 + -4 + iVar8 * 4)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(iVar6 + -4 + iVar8 * 4)" * (cast_expression "(undefined4 *)(iVar6 + -4 + iVar8 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + -4 + iVar8 * 4)" ( (binary_expression "iVar6 + -4 + iVar8 * 4" (binary_expression "iVar6 + -4" identifier + number_literal) + (binary_expression "iVar8 * 4" identifier * number_literal)) ))))) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "param_2[10] = iVar3;" (assignment_expression "param_2[10] = iVar3" (subscript_expression "param_2[10]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_0004b139;" goto statement_identifier ;) })) })) })) (expression_statement "bVar7 = param_3[4];" (assignment_expression "bVar7 = param_3[4]" identifier = (subscript_expression "param_3[4]" identifier [ number_literal ])) ;) (expression_statement "iVar5 = iVar5 + param_4;" (assignment_expression "iVar5 = iVar5 + param_4" identifier = (binary_expression "iVar5 + param_4" identifier + identifier)) ;) (expression_statement "param_2[10] = iVar5;" (assignment_expression "param_2[10] = iVar5" (subscript_expression "param_2[10]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (((bVar7 & 0xfb) == 0x1a) || (bVar7 == 0x1c)) {\n    if (iVar5 < param_2[0xe]) {\n      bVar2 = *param_3;\n      iVar8 = 0;\n      do {\n        iVar6 = iVar5 + 1;\n        if ((bVar7 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n          if ((char)param_2[0x13] == '\0') {\n            param_2[10] = iVar6;\n            bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);\n          }\n          else {\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }\n        }\n        else {\nLAB_0004b19d:\n          param_2[10] = iVar6;\n          bVar7 = *(byte *)(param_2[1] + iVar5);\n        }\n        if (param_2[0xe] <= iVar6) break;\n        if ((bVar2 == bVar7) && (*(char *)(param_2[1] + iVar6) == ']')) {\n          param_2[10] = iVar6 + 1;\n          *(undefined1 *)(param_1[1] + iVar8) = 0;\n          bVar7 = param_3[4];\n          if (bVar7 == 0x1c) {\n            *param_1 = 2;\n            uVar4 = 0;\n          }\n          else if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }\n          goto LAB_0004b139;\n        }\n        *(byte *)(param_1[1] + iVar8) = bVar7;\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x20) break;\n        bVar7 = param_3[4];\n        iVar5 = param_2[10];\n      } while( true );\n    }\n    uVar4 = 7;\n  }\n  else {\n    if ((bVar7 == 0x16) && (param_6 == '\0')) {\n      FUN_00047340();\n      uVar4 = 0xb;\n      if (local_24 != '\x15') goto LAB_0004b139;\n    }\n    bVar7 = *param_3;\n    *param_1 = 0;\n    *(byte *)(param_1 + 1) = bVar7;\n    uVar4 = 0;\n  }" if (parenthesized_expression "(((bVar7 & 0xfb) == 0x1a) || (bVar7 == 0x1c))" ( (binary_expression "((bVar7 & 0xfb) == 0x1a) || (bVar7 == 0x1c)" (parenthesized_expression "((bVar7 & 0xfb) == 0x1a)" ( (binary_expression "(bVar7 & 0xfb) == 0x1a" (parenthesized_expression "(bVar7 & 0xfb)" ( (binary_expression "bVar7 & 0xfb" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "(bVar7 == 0x1c)" ( (binary_expression "bVar7 == 0x1c" identifier == number_literal) ))) )) (compound_statement "{\n    if (iVar5 < param_2[0xe]) {\n      bVar2 = *param_3;\n      iVar8 = 0;\n      do {\n        iVar6 = iVar5 + 1;\n        if ((bVar7 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n          if ((char)param_2[0x13] == '\0') {\n            param_2[10] = iVar6;\n            bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);\n          }\n          else {\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }\n        }\n        else {\nLAB_0004b19d:\n          param_2[10] = iVar6;\n          bVar7 = *(byte *)(param_2[1] + iVar5);\n        }\n        if (param_2[0xe] <= iVar6) break;\n        if ((bVar2 == bVar7) && (*(char *)(param_2[1] + iVar6) == ']')) {\n          param_2[10] = iVar6 + 1;\n          *(undefined1 *)(param_1[1] + iVar8) = 0;\n          bVar7 = param_3[4];\n          if (bVar7 == 0x1c) {\n            *param_1 = 2;\n            uVar4 = 0;\n          }\n          else if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }\n          goto LAB_0004b139;\n        }\n        *(byte *)(param_1[1] + iVar8) = bVar7;\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x20) break;\n        bVar7 = param_3[4];\n        iVar5 = param_2[10];\n      } while( true );\n    }\n    uVar4 = 7;\n  }" { (if_statement "if (iVar5 < param_2[0xe]) {\n      bVar2 = *param_3;\n      iVar8 = 0;\n      do {\n        iVar6 = iVar5 + 1;\n        if ((bVar7 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n          if ((char)param_2[0x13] == '\0') {\n            param_2[10] = iVar6;\n            bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);\n          }\n          else {\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }\n        }\n        else {\nLAB_0004b19d:\n          param_2[10] = iVar6;\n          bVar7 = *(byte *)(param_2[1] + iVar5);\n        }\n        if (param_2[0xe] <= iVar6) break;\n        if ((bVar2 == bVar7) && (*(char *)(param_2[1] + iVar6) == ']')) {\n          param_2[10] = iVar6 + 1;\n          *(undefined1 *)(param_1[1] + iVar8) = 0;\n          bVar7 = param_3[4];\n          if (bVar7 == 0x1c) {\n            *param_1 = 2;\n            uVar4 = 0;\n          }\n          else if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }\n          goto LAB_0004b139;\n        }\n        *(byte *)(param_1[1] + iVar8) = bVar7;\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x20) break;\n        bVar7 = param_3[4];\n        iVar5 = param_2[10];\n      } while( true );\n    }" if (parenthesized_expression "(iVar5 < param_2[0xe])" ( (binary_expression "iVar5 < param_2[0xe]" identifier < (subscript_expression "param_2[0xe]" identifier [ number_literal ])) )) (compound_statement "{\n      bVar2 = *param_3;\n      iVar8 = 0;\n      do {\n        iVar6 = iVar5 + 1;\n        if ((bVar7 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n          if ((char)param_2[0x13] == '\0') {\n            param_2[10] = iVar6;\n            bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);\n          }\n          else {\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }\n        }\n        else {\nLAB_0004b19d:\n          param_2[10] = iVar6;\n          bVar7 = *(byte *)(param_2[1] + iVar5);\n        }\n        if (param_2[0xe] <= iVar6) break;\n        if ((bVar2 == bVar7) && (*(char *)(param_2[1] + iVar6) == ']')) {\n          param_2[10] = iVar6 + 1;\n          *(undefined1 *)(param_1[1] + iVar8) = 0;\n          bVar7 = param_3[4];\n          if (bVar7 == 0x1c) {\n            *param_1 = 2;\n            uVar4 = 0;\n          }\n          else if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }\n          goto LAB_0004b139;\n        }\n        *(byte *)(param_1[1] + iVar8) = bVar7;\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x20) break;\n        bVar7 = param_3[4];\n        iVar5 = param_2[10];\n      } while( true );\n    }" { (expression_statement "bVar2 = *param_3;" (assignment_expression "bVar2 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar6 = iVar5 + 1;\n        if ((bVar7 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n          if ((char)param_2[0x13] == '\0') {\n            param_2[10] = iVar6;\n            bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);\n          }\n          else {\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }\n        }\n        else {\nLAB_0004b19d:\n          param_2[10] = iVar6;\n          bVar7 = *(byte *)(param_2[1] + iVar5);\n        }\n        if (param_2[0xe] <= iVar6) break;\n        if ((bVar2 == bVar7) && (*(char *)(param_2[1] + iVar6) == ']')) {\n          param_2[10] = iVar6 + 1;\n          *(undefined1 *)(param_1[1] + iVar8) = 0;\n          bVar7 = param_3[4];\n          if (bVar7 == 0x1c) {\n            *param_1 = 2;\n            uVar4 = 0;\n          }\n          else if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }\n          goto LAB_0004b139;\n        }\n        *(byte *)(param_1[1] + iVar8) = bVar7;\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x20) break;\n        bVar7 = param_3[4];\n        iVar5 = param_2[10];\n      } while( true );" do (compound_statement "{\n        iVar6 = iVar5 + 1;\n        if ((bVar7 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n          if ((char)param_2[0x13] == '\0') {\n            param_2[10] = iVar6;\n            bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);\n          }\n          else {\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }\n        }\n        else {\nLAB_0004b19d:\n          param_2[10] = iVar6;\n          bVar7 = *(byte *)(param_2[1] + iVar5);\n        }\n        if (param_2[0xe] <= iVar6) break;\n        if ((bVar2 == bVar7) && (*(char *)(param_2[1] + iVar6) == ']')) {\n          param_2[10] = iVar6 + 1;\n          *(undefined1 *)(param_1[1] + iVar8) = 0;\n          bVar7 = param_3[4];\n          if (bVar7 == 0x1c) {\n            *param_1 = 2;\n            uVar4 = 0;\n          }\n          else if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }\n          goto LAB_0004b139;\n        }\n        *(byte *)(param_1[1] + iVar8) = bVar7;\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x20) break;\n        bVar7 = param_3[4];\n        iVar5 = param_2[10];\n      }" { (expression_statement "iVar6 = iVar5 + 1;" (assignment_expression "iVar6 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (if_statement "if ((bVar7 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n          if ((char)param_2[0x13] == '\0') {\n            param_2[10] = iVar6;\n            bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);\n          }\n          else {\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }\n        }\n        else {\nLAB_0004b19d:\n          param_2[10] = iVar6;\n          bVar7 = *(byte *)(param_2[1] + iVar5);\n        }" if (parenthesized_expression "((bVar7 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0'))" ( (binary_expression "(bVar7 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')" (parenthesized_expression "(bVar7 == 0x1e)" ( (binary_expression "bVar7 == 0x1e" identifier == number_literal) )) && (parenthesized_expression "(*(char *)((int)param_2 + 0x4b) != '\0')" ( (binary_expression "*(char *)((int)param_2 + 0x4b) != '\0'" (pointer_expression "*(char *)((int)param_2 + 0x4b)" * (cast_expression "(char *)((int)param_2 + 0x4b)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 0x4b)" ( (binary_expression "(int)param_2 + 0x4b" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n          if ((char)param_2[0x13] == '\0') {\n            param_2[10] = iVar6;\n            bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);\n          }\n          else {\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }\n        }" { (if_statement "if ((char)param_2[0x13] == '\0') {\n            param_2[10] = iVar6;\n            bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);\n          }\n          else {\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }" if (parenthesized_expression "((char)param_2[0x13] == '\0')" ( (binary_expression "(char)param_2[0x13] == '\0'" (cast_expression "(char)param_2[0x13]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "param_2[0x13]" identifier [ number_literal ])) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            param_2[10] = iVar6;\n            bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);\n          }" { (expression_statement "param_2[10] = iVar6;" (assignment_expression "param_2[10] = iVar6" (subscript_expression "param_2[10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);" (assignment_expression "bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6])" identifier = (pointer_expression "*(byte *)(iVar5 + *param_2 + param_2[6])" * (cast_expression "(byte *)(iVar5 + *param_2 + param_2[6])" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + *param_2 + param_2[6])" ( (binary_expression "iVar5 + *param_2 + param_2[6]" (binary_expression "iVar5 + *param_2" identifier + (pointer_expression "*param_2" * identifier)) + (subscript_expression "param_2[6]" identifier [ number_literal ])) ))))) ;) }) (else_clause "else {\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }" else (compound_statement "{\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }" { (expression_statement "iVar3 = param_2[7];" (assignment_expression "iVar3 = param_2[7]" identifier = (subscript_expression "param_2[7]" identifier [ number_literal ])) ;) (if_statement "if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;" if (parenthesized_expression "(((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0))" ( (binary_expression "((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)" (parenthesized_expression "((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1))" ( (binary_expression "(iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)" (parenthesized_expression "(iVar5 != iVar3)" ( (binary_expression "iVar5 != iVar3" identifier != identifier) )) && (parenthesized_expression "(*(int *)(param_2[2] + iVar5 * 4) == -1)" ( (binary_expression "*(int *)(param_2[2] + iVar5 * 4) == -1" (pointer_expression "*(int *)(param_2[2] + iVar5 * 4)" * (cast_expression "(int *)(param_2[2] + iVar5 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[2] + iVar5 * 4)" ( (binary_expression "param_2[2] + iVar5 * 4" (subscript_expression "param_2[2]" identifier [ number_literal ]) + (binary_expression "iVar5 * 4" identifier * number_literal)) )))) == number_literal) ))) )) || (parenthesized_expression "(bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)" ( (comma_expression "bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0" (assignment_expression "bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6])" identifier = (pointer_expression "*(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6])" * (cast_expression "(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6])" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6])" ( (binary_expression "*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]" (binary_expression "*(int *)(param_2[3] + iVar5 * 4) + *param_2" (pointer_expression "*(int *)(param_2[3] + iVar5 * 4)" * (cast_expression "(int *)(param_2[3] + iVar5 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[3] + iVar5 * 4)" ( (binary_expression "param_2[3] + iVar5 * 4" (subscript_expression "param_2[3]" identifier [ number_literal ]) + (binary_expression "iVar5 * 4" identifier * number_literal)) )))) + (pointer_expression "*param_2" * identifier)) + (subscript_expression "param_2[6]" identifier [ number_literal ])) ))))) , (binary_expression "(bVar7 & 0x80) != 0" (parenthesized_expression "(bVar7 & 0x80)" ( (binary_expression "bVar7 & 0x80" identifier & number_literal) )) != number_literal)) ))) )) (goto_statement "goto LAB_0004b19d;" goto statement_identifier ;)) (if_statement "if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }" if (parenthesized_expression "(((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1))" ( (binary_expression "((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)" (parenthesized_expression "((param_2[0x14] != 1) && (iVar6 < iVar3))" ( (binary_expression "(param_2[0x14] != 1) && (iVar6 < iVar3)" (parenthesized_expression "(param_2[0x14] != 1)" ( (binary_expression "param_2[0x14] != 1" (subscript_expression "param_2[0x14]" identifier [ number_literal ]) != number_literal) )) && (parenthesized_expression "(iVar6 < iVar3)" ( (binary_expression "iVar6 < iVar3" identifier < identifier) ))) )) && (parenthesized_expression "(*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)" ( (binary_expression "*(int *)(param_2[2] + 4 + iVar5 * 4) == -1" (pointer_expression "*(int *)(param_2[2] + 4 + iVar5 * 4)" * (cast_expression "(int *)(param_2[2] + 4 + iVar5 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[2] + 4 + iVar5 * 4)" ( (binary_expression "param_2[2] + 4 + iVar5 * 4" (binary_expression "param_2[2] + 4" (subscript_expression "param_2[2]" identifier [ number_literal ]) + number_literal) + (binary_expression "iVar5 * 4" identifier * number_literal)) )))) == number_literal) ))) )) (compound_statement "{\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }" { (expression_statement "iVar5 = iVar5 + 2;" (assignment_expression "iVar5 = iVar5 + 2" identifier = (binary_expression "iVar5 + 2" identifier + number_literal)) ;) (do_statement "do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);" do (compound_statement "{\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              }" { (expression_statement "iVar6 = iVar5;" (assignment_expression "iVar6 = iVar5" identifier = identifier) ;) (if_statement "if (iVar3 == iVar6) break;" if (parenthesized_expression "(iVar3 == iVar6)" ( (binary_expression "iVar3 == iVar6" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "iVar5 = iVar6 + 1;" (assignment_expression "iVar5 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1)" ( (binary_expression "*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1" (pointer_expression "*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4)" * (cast_expression "(int *)(param_2[2] + -4 + (iVar6 + 1) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[2] + -4 + (iVar6 + 1) * 4)" ( (binary_expression "param_2[2] + -4 + (iVar6 + 1) * 4" (binary_expression "param_2[2] + -4" (subscript_expression "param_2[2]" identifier [ number_literal ]) + number_literal) + (binary_expression "(iVar6 + 1) * 4" (parenthesized_expression "(iVar6 + 1)" ( (binary_expression "iVar6 + 1" identifier + number_literal) )) * number_literal)) )))) == number_literal) )) ;) })) (expression_statement "param_2[10] = iVar6;" (assignment_expression "param_2[10] = iVar6" (subscript_expression "param_2[10]" identifier [ number_literal ]) = identifier) ;) }))) }) (else_clause "else {\nLAB_0004b19d:\n          param_2[10] = iVar6;\n          bVar7 = *(byte *)(param_2[1] + iVar5);\n        }" else (compound_statement "{\nLAB_0004b19d:\n          param_2[10] = iVar6;\n          bVar7 = *(byte *)(param_2[1] + iVar5);\n        }" { (labeled_statement "LAB_0004b19d:\n          param_2[10] = iVar6;" statement_identifier : (expression_statement "param_2[10] = iVar6;" (assignment_expression "param_2[10] = iVar6" (subscript_expression "param_2[10]" identifier [ number_literal ]) = identifier) ;)) (expression_statement "bVar7 = *(byte *)(param_2[1] + iVar5);" (assignment_expression "bVar7 = *(byte *)(param_2[1] + iVar5)" identifier = (pointer_expression "*(byte *)(param_2[1] + iVar5)" * (cast_expression "(byte *)(param_2[1] + iVar5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[1] + iVar5)" ( (binary_expression "param_2[1] + iVar5" (subscript_expression "param_2[1]" identifier [ number_literal ]) + identifier) ))))) ;) }))) (if_statement "if (param_2[0xe] <= iVar6) break;" if (parenthesized_expression "(param_2[0xe] <= iVar6)" ( (binary_expression "param_2[0xe] <= iVar6" (subscript_expression "param_2[0xe]" identifier [ number_literal ]) <= identifier) )) (break_statement "break;" break ;)) (if_statement "if ((bVar2 == bVar7) && (*(char *)(param_2[1] + iVar6) == ']')) {\n          param_2[10] = iVar6 + 1;\n          *(undefined1 *)(param_1[1] + iVar8) = 0;\n          bVar7 = param_3[4];\n          if (bVar7 == 0x1c) {\n            *param_1 = 2;\n            uVar4 = 0;\n          }\n          else if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }\n          goto LAB_0004b139;\n        }" if (parenthesized_expression "((bVar2 == bVar7) && (*(char *)(param_2[1] + iVar6) == ']'))" ( (binary_expression "(bVar2 == bVar7) && (*(char *)(param_2[1] + iVar6) == ']')" (parenthesized_expression "(bVar2 == bVar7)" ( (binary_expression "bVar2 == bVar7" identifier == identifier) )) && (parenthesized_expression "(*(char *)(param_2[1] + iVar6) == ']')" ( (binary_expression "*(char *)(param_2[1] + iVar6) == ']'" (pointer_expression "*(char *)(param_2[1] + iVar6)" * (cast_expression "(char *)(param_2[1] + iVar6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[1] + iVar6)" ( (binary_expression "param_2[1] + iVar6" (subscript_expression "param_2[1]" identifier [ number_literal ]) + identifier) )))) == (char_literal "']'" ' character ')) ))) )) (compound_statement "{\n          param_2[10] = iVar6 + 1;\n          *(undefined1 *)(param_1[1] + iVar8) = 0;\n          bVar7 = param_3[4];\n          if (bVar7 == 0x1c) {\n            *param_1 = 2;\n            uVar4 = 0;\n          }\n          else if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }\n          goto LAB_0004b139;\n        }" { (expression_statement "param_2[10] = iVar6 + 1;" (assignment_expression "param_2[10] = iVar6 + 1" (subscript_expression "param_2[10]" identifier [ number_literal ]) = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "*(undefined1 *)(param_1[1] + iVar8) = 0;" (assignment_expression "*(undefined1 *)(param_1[1] + iVar8) = 0" (pointer_expression "*(undefined1 *)(param_1[1] + iVar8)" * (cast_expression "(undefined1 *)(param_1[1] + iVar8)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[1] + iVar8)" ( (binary_expression "param_1[1] + iVar8" (subscript_expression "param_1[1]" identifier [ number_literal ]) + identifier) )))) = number_literal) ;) (expression_statement "bVar7 = param_3[4];" (assignment_expression "bVar7 = param_3[4]" identifier = (subscript_expression "param_3[4]" identifier [ number_literal ])) ;) (if_statement "if (bVar7 == 0x1c) {\n            *param_1 = 2;\n            uVar4 = 0;\n          }\n          else if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }" if (parenthesized_expression "(bVar7 == 0x1c)" ( (binary_expression "bVar7 == 0x1c" identifier == number_literal) )) (compound_statement "{\n            *param_1 = 2;\n            uVar4 = 0;\n          }" { (expression_statement "*param_1 = 2;" (assignment_expression "*param_1 = 2" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) }) (else_clause "else if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }" else (if_statement "if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }" if (parenthesized_expression "(bVar7 == 0x1e)" ( (binary_expression "bVar7 == 0x1e" identifier == number_literal) )) (compound_statement "{\n            *param_1 = 4;\n            uVar4 = 0;\n          }" { (expression_statement "*param_1 = 4;" (assignment_expression "*param_1 = 4" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }" else (compound_statement "{\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (if_statement "if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }" if (parenthesized_expression "(bVar7 == 0x1a)" ( (binary_expression "bVar7 == 0x1a" identifier == number_literal) )) (compound_statement "{\n              *param_1 = 3;\n            }" { (expression_statement "*param_1 = 3;" (assignment_expression "*param_1 = 3" (pointer_expression "*param_1" * identifier) = number_literal) ;) })) }))))) (goto_statement "goto LAB_0004b139;" goto statement_identifier ;) })) (expression_statement "*(byte *)(param_1[1] + iVar8) = bVar7;" (assignment_expression "*(byte *)(param_1[1] + iVar8) = bVar7" (pointer_expression "*(byte *)(param_1[1] + iVar8)" * (cast_expression "(byte *)(param_1[1] + iVar8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[1] + iVar8)" ( (binary_expression "param_1[1] + iVar8" (subscript_expression "param_1[1]" identifier [ number_literal ]) + identifier) )))) = identifier) ;) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (if_statement "if (iVar8 == 0x20) break;" if (parenthesized_expression "(iVar8 == 0x20)" ( (binary_expression "iVar8 == 0x20" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "bVar7 = param_3[4];" (assignment_expression "bVar7 = param_3[4]" identifier = (subscript_expression "param_3[4]" identifier [ number_literal ])) ;) (expression_statement "iVar5 = param_2[10];" (assignment_expression "iVar5 = param_2[10]" identifier = (subscript_expression "param_2[10]" identifier [ number_literal ])) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "uVar4 = 7;" (assignment_expression "uVar4 = 7" identifier = number_literal) ;) }) (else_clause "else {\n    if ((bVar7 == 0x16) && (param_6 == '\0')) {\n      FUN_00047340();\n      uVar4 = 0xb;\n      if (local_24 != '\x15') goto LAB_0004b139;\n    }\n    bVar7 = *param_3;\n    *param_1 = 0;\n    *(byte *)(param_1 + 1) = bVar7;\n    uVar4 = 0;\n  }" else (compound_statement "{\n    if ((bVar7 == 0x16) && (param_6 == '\0')) {\n      FUN_00047340();\n      uVar4 = 0xb;\n      if (local_24 != '\x15') goto LAB_0004b139;\n    }\n    bVar7 = *param_3;\n    *param_1 = 0;\n    *(byte *)(param_1 + 1) = bVar7;\n    uVar4 = 0;\n  }" { (if_statement "if ((bVar7 == 0x16) && (param_6 == '\0')) {\n      FUN_00047340();\n      uVar4 = 0xb;\n      if (local_24 != '\x15') goto LAB_0004b139;\n    }" if (parenthesized_expression "((bVar7 == 0x16) && (param_6 == '\0'))" ( (binary_expression "(bVar7 == 0x16) && (param_6 == '\0')" (parenthesized_expression "(bVar7 == 0x16)" ( (binary_expression "bVar7 == 0x16" identifier == number_literal) )) && (parenthesized_expression "(param_6 == '\0')" ( (binary_expression "param_6 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      FUN_00047340();\n      uVar4 = 0xb;\n      if (local_24 != '\x15') goto LAB_0004b139;\n    }" { (expression_statement "FUN_00047340();" (call_expression "FUN_00047340()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar4 = 0xb;" (assignment_expression "uVar4 = 0xb" identifier = number_literal) ;) (if_statement "if (local_24 != '\x15') goto LAB_0004b139;" if (parenthesized_expression "(local_24 != '\x15')" ( (binary_expression "local_24 != '\x15'" identifier != (char_literal "'\x15'" ' escape_sequence ')) )) (goto_statement "goto LAB_0004b139;" goto statement_identifier ;)) })) (expression_statement "bVar7 = *param_3;" (assignment_expression "bVar7 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "*(byte *)(param_1 + 1) = bVar7;" (assignment_expression "*(byte *)(param_1 + 1) = bVar7" (pointer_expression "*(byte *)(param_1 + 1)" * (cast_expression "(byte *)(param_1 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) }))) (labeled_statement "LAB_0004b139:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0005a8b0();\n  }" statement_identifier : (if_statement "if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0005a8b0();\n  }" if (parenthesized_expression "(iVar1 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 != *(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_0005a8b0();\n  }" { comment (expression_statement "FUN_0005a8b0();" (call_expression "FUN_0005a8b0()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return uVar4;" return identifier ;) })))
(translation_unit "reg_errcode_t __regparm3\nparse_bracket_element\n          (bracket_elem_t *elem,re_string_t *regexp,re_token_t *token,int token_len,re_dfa_t *dfa,\n          reg_syntax_t syntax,_Bool accept_hyphen)\n\n{\n  int iVar1;\n  uchar uVar2;\n  byte bVar3;\n  char cVar4;\n  wint_t *pwVar5;\n  int iVar6;\n  reg_errcode_t rVar7;\n  int iVar8;\n  int iVar9;\n  byte bVar10;\n  int iVar11;\n  int in_GS_OFFSET;\n  char local_3c;\n  re_token_t token2;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar8 = regexp->cur_idx;\n  if (regexp->mb_cur_max != 1) {\n    if (iVar8 + 1 < regexp->valid_len) {\n      pwVar5 = regexp->wcs;\n      if (pwVar5[iVar8 + 1] == 0xffffffff) {\n        iVar11 = iVar8 + 2;\n        do {\n          iVar9 = iVar11;\n          if (regexp->valid_len == iVar9) break;\n          iVar11 = iVar9 + 1;\n        } while (pwVar5[iVar9] == 0xffffffff);\n        elem->type = MB_CHAR;\n        elem->opr = *(anon_union_4_3_ebfdf496_for_opr *)(pwVar5 + iVar8);\n        rVar7 = _REG_NOERROR;\n        regexp->cur_idx = iVar9;\n        goto LAB_0004b139;\n      }\n    }\n  }\n  bVar10 = token->field_0x4;\n  iVar8 = iVar8 + token_len;\n  regexp->cur_idx = iVar8;\n  if (((bVar10 & 0xfb) == 0x1a) || (bVar10 == 0x1c)) {\n    if (iVar8 < regexp->stop) {\n      bVar3 = (token->opr).c;\n      iVar11 = 0;\n      do {\n        iVar9 = iVar8 + 1;\n        if ((bVar10 == 0x1e) && (regexp->mbs_allocated != '\0')) {\n          if (regexp->offsets_needed == '\0') {\n            regexp->cur_idx = iVar9;\n            bVar10 = regexp->raw_mbs[regexp->raw_mbs_idx + iVar8];\n          }\n          else {\n            iVar6 = regexp->valid_len;\n            if (((iVar8 != iVar6) && (regexp->wcs[iVar8] == 0xffffffff)) ||\n               (bVar10 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[iVar8]],\n               (bVar10 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((regexp->mb_cur_max != 1) && (iVar9 < iVar6)) &&\n               (regexp->wcs[iVar8 + 1] == 0xffffffff)) {\n              iVar8 = iVar8 + 2;\n              do {\n                iVar9 = iVar8;\n                if (iVar6 == iVar9) break;\n                iVar8 = iVar9 + 1;\n              } while (regexp->wcs[iVar9] == 0xffffffff);\n            }\n            regexp->cur_idx = iVar9;\n          }\n        }\n        else {\nLAB_0004b19d:\n          regexp->cur_idx = iVar9;\n          bVar10 = regexp->mbs[iVar8];\n        }\n        if (regexp->stop <= iVar9) break;\n        if ((bVar3 == bVar10) && (regexp->mbs[iVar9] == ']')) {\n          regexp->cur_idx = iVar9 + 1;\n          (elem->opr).name[iVar11] = '\0';\n          cVar4 = token->field_0x4;\n          if (cVar4 == '\x1c') {\n            elem->type = EQUIV_CLASS;\n            rVar7 = _REG_NOERROR;\n          }\n          else if (cVar4 == '\x1e') {\n            elem->type = CHAR_CLASS;\n            rVar7 = _REG_NOERROR;\n          }\n          else {\n            rVar7 = _REG_NOERROR;\n            if (cVar4 == '\x1a') {\n              elem->type = COLL_SYM;\n            }\n          }\n          goto LAB_0004b139;\n        }\n        (elem->opr).name[iVar11] = bVar10;\n        iVar11 = iVar11 + 1;\n        if (iVar11 == 0x20) break;\n        bVar10 = token->field_0x4;\n        iVar8 = regexp->cur_idx;\n      } while( true );\n    }\n    rVar7 = _REG_EBRACK;\n  }\n  else {\n    if ((bVar10 == 0x16) && (local_3c = (char)syntax, local_3c == '\0')) {\n      peek_token_bracket(&token2,regexp,(reg_syntax_t)dfa);\n      rVar7 = _REG_ERANGE;\n      if (token2._4_1_ != '\x15') goto LAB_0004b139;\n    }\n    uVar2 = (token->opr).c;\n    elem->type = SB_CHAR;\n    (elem->opr).ch = uVar2;\n    rVar7 = _REG_NOERROR;\n  }\nLAB_0004b139:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return rVar7;\n}\n\n" (function_definition "reg_errcode_t __regparm3\nparse_bracket_element\n          (bracket_elem_t *elem,re_string_t *regexp,re_token_t *token,int token_len,re_dfa_t *dfa,\n          reg_syntax_t syntax,_Bool accept_hyphen)\n\n{\n  int iVar1;\n  uchar uVar2;\n  byte bVar3;\n  char cVar4;\n  wint_t *pwVar5;\n  int iVar6;\n  reg_errcode_t rVar7;\n  int iVar8;\n  int iVar9;\n  byte bVar10;\n  int iVar11;\n  int in_GS_OFFSET;\n  char local_3c;\n  re_token_t token2;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar8 = regexp->cur_idx;\n  if (regexp->mb_cur_max != 1) {\n    if (iVar8 + 1 < regexp->valid_len) {\n      pwVar5 = regexp->wcs;\n      if (pwVar5[iVar8 + 1] == 0xffffffff) {\n        iVar11 = iVar8 + 2;\n        do {\n          iVar9 = iVar11;\n          if (regexp->valid_len == iVar9) break;\n          iVar11 = iVar9 + 1;\n        } while (pwVar5[iVar9] == 0xffffffff);\n        elem->type = MB_CHAR;\n        elem->opr = *(anon_union_4_3_ebfdf496_for_opr *)(pwVar5 + iVar8);\n        rVar7 = _REG_NOERROR;\n        regexp->cur_idx = iVar9;\n        goto LAB_0004b139;\n      }\n    }\n  }\n  bVar10 = token->field_0x4;\n  iVar8 = iVar8 + token_len;\n  regexp->cur_idx = iVar8;\n  if (((bVar10 & 0xfb) == 0x1a) || (bVar10 == 0x1c)) {\n    if (iVar8 < regexp->stop) {\n      bVar3 = (token->opr).c;\n      iVar11 = 0;\n      do {\n        iVar9 = iVar8 + 1;\n        if ((bVar10 == 0x1e) && (regexp->mbs_allocated != '\0')) {\n          if (regexp->offsets_needed == '\0') {\n            regexp->cur_idx = iVar9;\n            bVar10 = regexp->raw_mbs[regexp->raw_mbs_idx + iVar8];\n          }\n          else {\n            iVar6 = regexp->valid_len;\n            if (((iVar8 != iVar6) && (regexp->wcs[iVar8] == 0xffffffff)) ||\n               (bVar10 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[iVar8]],\n               (bVar10 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((regexp->mb_cur_max != 1) && (iVar9 < iVar6)) &&\n               (regexp->wcs[iVar8 + 1] == 0xffffffff)) {\n              iVar8 = iVar8 + 2;\n              do {\n                iVar9 = iVar8;\n                if (iVar6 == iVar9) break;\n                iVar8 = iVar9 + 1;\n              } while (regexp->wcs[iVar9] == 0xffffffff);\n            }\n            regexp->cur_idx = iVar9;\n          }\n        }\n        else {\nLAB_0004b19d:\n          regexp->cur_idx = iVar9;\n          bVar10 = regexp->mbs[iVar8];\n        }\n        if (regexp->stop <= iVar9) break;\n        if ((bVar3 == bVar10) && (regexp->mbs[iVar9] == ']')) {\n          regexp->cur_idx = iVar9 + 1;\n          (elem->opr).name[iVar11] = '\0';\n          cVar4 = token->field_0x4;\n          if (cVar4 == '\x1c') {\n            elem->type = EQUIV_CLASS;\n            rVar7 = _REG_NOERROR;\n          }\n          else if (cVar4 == '\x1e') {\n            elem->type = CHAR_CLASS;\n            rVar7 = _REG_NOERROR;\n          }\n          else {\n            rVar7 = _REG_NOERROR;\n            if (cVar4 == '\x1a') {\n              elem->type = COLL_SYM;\n            }\n          }\n          goto LAB_0004b139;\n        }\n        (elem->opr).name[iVar11] = bVar10;\n        iVar11 = iVar11 + 1;\n        if (iVar11 == 0x20) break;\n        bVar10 = token->field_0x4;\n        iVar8 = regexp->cur_idx;\n      } while( true );\n    }\n    rVar7 = _REG_EBRACK;\n  }\n  else {\n    if ((bVar10 == 0x16) && (local_3c = (char)syntax, local_3c == '\0')) {\n      peek_token_bracket(&token2,regexp,(reg_syntax_t)dfa);\n      rVar7 = _REG_ERANGE;\n      if (token2._4_1_ != '\x15') goto LAB_0004b139;\n    }\n    uVar2 = (token->opr).c;\n    elem->type = SB_CHAR;\n    (elem->opr).ch = uVar2;\n    rVar7 = _REG_NOERROR;\n  }\nLAB_0004b139:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return rVar7;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "parse_bracket_element\n          (bracket_elem_t *elem,re_string_t *regexp,re_token_t *token,int token_len,re_dfa_t *dfa,\n          reg_syntax_t syntax,_Bool accept_hyphen)" identifier (parameter_list "(bracket_elem_t *elem,re_string_t *regexp,re_token_t *token,int token_len,re_dfa_t *dfa,\n          reg_syntax_t syntax,_Bool accept_hyphen)" ( (parameter_declaration "bracket_elem_t *elem" type_identifier (pointer_declarator "*elem" * identifier)) , (parameter_declaration "re_string_t *regexp" type_identifier (pointer_declarator "*regexp" * identifier)) , (parameter_declaration "re_token_t *token" type_identifier (pointer_declarator "*token" * identifier)) , (parameter_declaration "int token_len" primitive_type identifier) , (parameter_declaration "re_dfa_t *dfa" type_identifier (pointer_declarator "*dfa" * identifier)) , (parameter_declaration "reg_syntax_t syntax" type_identifier identifier) , (parameter_declaration "_Bool accept_hyphen" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  uchar uVar2;\n  byte bVar3;\n  char cVar4;\n  wint_t *pwVar5;\n  int iVar6;\n  reg_errcode_t rVar7;\n  int iVar8;\n  int iVar9;\n  byte bVar10;\n  int iVar11;\n  int in_GS_OFFSET;\n  char local_3c;\n  re_token_t token2;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar8 = regexp->cur_idx;\n  if (regexp->mb_cur_max != 1) {\n    if (iVar8 + 1 < regexp->valid_len) {\n      pwVar5 = regexp->wcs;\n      if (pwVar5[iVar8 + 1] == 0xffffffff) {\n        iVar11 = iVar8 + 2;\n        do {\n          iVar9 = iVar11;\n          if (regexp->valid_len == iVar9) break;\n          iVar11 = iVar9 + 1;\n        } while (pwVar5[iVar9] == 0xffffffff);\n        elem->type = MB_CHAR;\n        elem->opr = *(anon_union_4_3_ebfdf496_for_opr *)(pwVar5 + iVar8);\n        rVar7 = _REG_NOERROR;\n        regexp->cur_idx = iVar9;\n        goto LAB_0004b139;\n      }\n    }\n  }\n  bVar10 = token->field_0x4;\n  iVar8 = iVar8 + token_len;\n  regexp->cur_idx = iVar8;\n  if (((bVar10 & 0xfb) == 0x1a) || (bVar10 == 0x1c)) {\n    if (iVar8 < regexp->stop) {\n      bVar3 = (token->opr).c;\n      iVar11 = 0;\n      do {\n        iVar9 = iVar8 + 1;\n        if ((bVar10 == 0x1e) && (regexp->mbs_allocated != '\0')) {\n          if (regexp->offsets_needed == '\0') {\n            regexp->cur_idx = iVar9;\n            bVar10 = regexp->raw_mbs[regexp->raw_mbs_idx + iVar8];\n          }\n          else {\n            iVar6 = regexp->valid_len;\n            if (((iVar8 != iVar6) && (regexp->wcs[iVar8] == 0xffffffff)) ||\n               (bVar10 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[iVar8]],\n               (bVar10 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((regexp->mb_cur_max != 1) && (iVar9 < iVar6)) &&\n               (regexp->wcs[iVar8 + 1] == 0xffffffff)) {\n              iVar8 = iVar8 + 2;\n              do {\n                iVar9 = iVar8;\n                if (iVar6 == iVar9) break;\n                iVar8 = iVar9 + 1;\n              } while (regexp->wcs[iVar9] == 0xffffffff);\n            }\n            regexp->cur_idx = iVar9;\n          }\n        }\n        else {\nLAB_0004b19d:\n          regexp->cur_idx = iVar9;\n          bVar10 = regexp->mbs[iVar8];\n        }\n        if (regexp->stop <= iVar9) break;\n        if ((bVar3 == bVar10) && (regexp->mbs[iVar9] == ']')) {\n          regexp->cur_idx = iVar9 + 1;\n          (elem->opr).name[iVar11] = '\0';\n          cVar4 = token->field_0x4;\n          if (cVar4 == '\x1c') {\n            elem->type = EQUIV_CLASS;\n            rVar7 = _REG_NOERROR;\n          }\n          else if (cVar4 == '\x1e') {\n            elem->type = CHAR_CLASS;\n            rVar7 = _REG_NOERROR;\n          }\n          else {\n            rVar7 = _REG_NOERROR;\n            if (cVar4 == '\x1a') {\n              elem->type = COLL_SYM;\n            }\n          }\n          goto LAB_0004b139;\n        }\n        (elem->opr).name[iVar11] = bVar10;\n        iVar11 = iVar11 + 1;\n        if (iVar11 == 0x20) break;\n        bVar10 = token->field_0x4;\n        iVar8 = regexp->cur_idx;\n      } while( true );\n    }\n    rVar7 = _REG_EBRACK;\n  }\n  else {\n    if ((bVar10 == 0x16) && (local_3c = (char)syntax, local_3c == '\0')) {\n      peek_token_bracket(&token2,regexp,(reg_syntax_t)dfa);\n      rVar7 = _REG_ERANGE;\n      if (token2._4_1_ != '\x15') goto LAB_0004b139;\n    }\n    uVar2 = (token->opr).c;\n    elem->type = SB_CHAR;\n    (elem->opr).ch = uVar2;\n    rVar7 = _REG_NOERROR;\n  }\nLAB_0004b139:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return rVar7;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uchar uVar2;" type_identifier identifier ;) (declaration "byte bVar3;" type_identifier identifier ;) (declaration "char cVar4;" primitive_type identifier ;) (declaration "wint_t *pwVar5;" type_identifier (pointer_declarator "*pwVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "reg_errcode_t rVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "byte bVar10;" type_identifier identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "char local_3c;" primitive_type identifier ;) (declaration "re_token_t token2;" type_identifier identifier ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(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 "iVar8 = regexp->cur_idx;" (assignment_expression "iVar8 = regexp->cur_idx" identifier = (field_expression "regexp->cur_idx" identifier -> field_identifier)) ;) (if_statement "if (regexp->mb_cur_max != 1) {\n    if (iVar8 + 1 < regexp->valid_len) {\n      pwVar5 = regexp->wcs;\n      if (pwVar5[iVar8 + 1] == 0xffffffff) {\n        iVar11 = iVar8 + 2;\n        do {\n          iVar9 = iVar11;\n          if (regexp->valid_len == iVar9) break;\n          iVar11 = iVar9 + 1;\n        } while (pwVar5[iVar9] == 0xffffffff);\n        elem->type = MB_CHAR;\n        elem->opr = *(anon_union_4_3_ebfdf496_for_opr *)(pwVar5 + iVar8);\n        rVar7 = _REG_NOERROR;\n        regexp->cur_idx = iVar9;\n        goto LAB_0004b139;\n      }\n    }\n  }" if (parenthesized_expression "(regexp->mb_cur_max != 1)" ( (binary_expression "regexp->mb_cur_max != 1" (field_expression "regexp->mb_cur_max" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n    if (iVar8 + 1 < regexp->valid_len) {\n      pwVar5 = regexp->wcs;\n      if (pwVar5[iVar8 + 1] == 0xffffffff) {\n        iVar11 = iVar8 + 2;\n        do {\n          iVar9 = iVar11;\n          if (regexp->valid_len == iVar9) break;\n          iVar11 = iVar9 + 1;\n        } while (pwVar5[iVar9] == 0xffffffff);\n        elem->type = MB_CHAR;\n        elem->opr = *(anon_union_4_3_ebfdf496_for_opr *)(pwVar5 + iVar8);\n        rVar7 = _REG_NOERROR;\n        regexp->cur_idx = iVar9;\n        goto LAB_0004b139;\n      }\n    }\n  }" { (if_statement "if (iVar8 + 1 < regexp->valid_len) {\n      pwVar5 = regexp->wcs;\n      if (pwVar5[iVar8 + 1] == 0xffffffff) {\n        iVar11 = iVar8 + 2;\n        do {\n          iVar9 = iVar11;\n          if (regexp->valid_len == iVar9) break;\n          iVar11 = iVar9 + 1;\n        } while (pwVar5[iVar9] == 0xffffffff);\n        elem->type = MB_CHAR;\n        elem->opr = *(anon_union_4_3_ebfdf496_for_opr *)(pwVar5 + iVar8);\n        rVar7 = _REG_NOERROR;\n        regexp->cur_idx = iVar9;\n        goto LAB_0004b139;\n      }\n    }" if (parenthesized_expression "(iVar8 + 1 < regexp->valid_len)" ( (binary_expression "iVar8 + 1 < regexp->valid_len" (binary_expression "iVar8 + 1" identifier + number_literal) < (field_expression "regexp->valid_len" identifier -> field_identifier)) )) (compound_statement "{\n      pwVar5 = regexp->wcs;\n      if (pwVar5[iVar8 + 1] == 0xffffffff) {\n        iVar11 = iVar8 + 2;\n        do {\n          iVar9 = iVar11;\n          if (regexp->valid_len == iVar9) break;\n          iVar11 = iVar9 + 1;\n        } while (pwVar5[iVar9] == 0xffffffff);\n        elem->type = MB_CHAR;\n        elem->opr = *(anon_union_4_3_ebfdf496_for_opr *)(pwVar5 + iVar8);\n        rVar7 = _REG_NOERROR;\n        regexp->cur_idx = iVar9;\n        goto LAB_0004b139;\n      }\n    }" { (expression_statement "pwVar5 = regexp->wcs;" (assignment_expression "pwVar5 = regexp->wcs" identifier = (field_expression "regexp->wcs" identifier -> field_identifier)) ;) (if_statement "if (pwVar5[iVar8 + 1] == 0xffffffff) {\n        iVar11 = iVar8 + 2;\n        do {\n          iVar9 = iVar11;\n          if (regexp->valid_len == iVar9) break;\n          iVar11 = iVar9 + 1;\n        } while (pwVar5[iVar9] == 0xffffffff);\n        elem->type = MB_CHAR;\n        elem->opr = *(anon_union_4_3_ebfdf496_for_opr *)(pwVar5 + iVar8);\n        rVar7 = _REG_NOERROR;\n        regexp->cur_idx = iVar9;\n        goto LAB_0004b139;\n      }" if (parenthesized_expression "(pwVar5[iVar8 + 1] == 0xffffffff)" ( (binary_expression "pwVar5[iVar8 + 1] == 0xffffffff" (subscript_expression "pwVar5[iVar8 + 1]" identifier [ (binary_expression "iVar8 + 1" identifier + number_literal) ]) == number_literal) )) (compound_statement "{\n        iVar11 = iVar8 + 2;\n        do {\n          iVar9 = iVar11;\n          if (regexp->valid_len == iVar9) break;\n          iVar11 = iVar9 + 1;\n        } while (pwVar5[iVar9] == 0xffffffff);\n        elem->type = MB_CHAR;\n        elem->opr = *(anon_union_4_3_ebfdf496_for_opr *)(pwVar5 + iVar8);\n        rVar7 = _REG_NOERROR;\n        regexp->cur_idx = iVar9;\n        goto LAB_0004b139;\n      }" { (expression_statement "iVar11 = iVar8 + 2;" (assignment_expression "iVar11 = iVar8 + 2" identifier = (binary_expression "iVar8 + 2" identifier + number_literal)) ;) (do_statement "do {\n          iVar9 = iVar11;\n          if (regexp->valid_len == iVar9) break;\n          iVar11 = iVar9 + 1;\n        } while (pwVar5[iVar9] == 0xffffffff);" do (compound_statement "{\n          iVar9 = iVar11;\n          if (regexp->valid_len == iVar9) break;\n          iVar11 = iVar9 + 1;\n        }" { (expression_statement "iVar9 = iVar11;" (assignment_expression "iVar9 = iVar11" identifier = identifier) ;) (if_statement "if (regexp->valid_len == iVar9) break;" if (parenthesized_expression "(regexp->valid_len == iVar9)" ( (binary_expression "regexp->valid_len == iVar9" (field_expression "regexp->valid_len" identifier -> field_identifier) == identifier) )) (break_statement "break;" break ;)) (expression_statement "iVar11 = iVar9 + 1;" (assignment_expression "iVar11 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pwVar5[iVar9] == 0xffffffff)" ( (binary_expression "pwVar5[iVar9] == 0xffffffff" (subscript_expression "pwVar5[iVar9]" identifier [ identifier ]) == number_literal) )) ;) (expression_statement "elem->type = MB_CHAR;" (assignment_expression "elem->type = MB_CHAR" (field_expression "elem->type" identifier -> field_identifier) = identifier) ;) (expression_statement "elem->opr = *(anon_union_4_3_ebfdf496_for_opr *)(pwVar5 + iVar8);" (assignment_expression "elem->opr = *(anon_union_4_3_ebfdf496_for_opr *)(pwVar5 + iVar8)" (field_expression "elem->opr" identifier -> field_identifier) = (pointer_expression "*(anon_union_4_3_ebfdf496_for_opr *)(pwVar5 + iVar8)" * (cast_expression "(anon_union_4_3_ebfdf496_for_opr *)(pwVar5 + iVar8)" ( (type_descriptor "anon_union_4_3_ebfdf496_for_opr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pwVar5 + iVar8)" ( (binary_expression "pwVar5 + iVar8" identifier + identifier) ))))) ;) (expression_statement "rVar7 = _REG_NOERROR;" (assignment_expression "rVar7 = _REG_NOERROR" identifier = identifier) ;) (expression_statement "regexp->cur_idx = iVar9;" (assignment_expression "regexp->cur_idx = iVar9" (field_expression "regexp->cur_idx" identifier -> field_identifier) = identifier) ;) (goto_statement "goto LAB_0004b139;" goto statement_identifier ;) })) })) })) (expression_statement "bVar10 = token->field_0x4;" (assignment_expression "bVar10 = token->field_0x4" identifier = (field_expression "token->field_0x4" identifier -> field_identifier)) ;) (expression_statement "iVar8 = iVar8 + token_len;" (assignment_expression "iVar8 = iVar8 + token_len" identifier = (binary_expression "iVar8 + token_len" identifier + identifier)) ;) (expression_statement "regexp->cur_idx = iVar8;" (assignment_expression "regexp->cur_idx = iVar8" (field_expression "regexp->cur_idx" identifier -> field_identifier) = identifier) ;) (if_statement "if (((bVar10 & 0xfb) == 0x1a) || (bVar10 == 0x1c)) {\n    if (iVar8 < regexp->stop) {\n      bVar3 = (token->opr).c;\n      iVar11 = 0;\n      do {\n        iVar9 = iVar8 + 1;\n        if ((bVar10 == 0x1e) && (regexp->mbs_allocated != '\0')) {\n          if (regexp->offsets_needed == '\0') {\n            regexp->cur_idx = iVar9;\n            bVar10 = regexp->raw_mbs[regexp->raw_mbs_idx + iVar8];\n          }\n          else {\n            iVar6 = regexp->valid_len;\n            if (((iVar8 != iVar6) && (regexp->wcs[iVar8] == 0xffffffff)) ||\n               (bVar10 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[iVar8]],\n               (bVar10 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((regexp->mb_cur_max != 1) && (iVar9 < iVar6)) &&\n               (regexp->wcs[iVar8 + 1] == 0xffffffff)) {\n              iVar8 = iVar8 + 2;\n              do {\n                iVar9 = iVar8;\n                if (iVar6 == iVar9) break;\n                iVar8 = iVar9 + 1;\n              } while (regexp->wcs[iVar9] == 0xffffffff);\n            }\n            regexp->cur_idx = iVar9;\n          }\n        }\n        else {\nLAB_0004b19d:\n          regexp->cur_idx = iVar9;\n          bVar10 = regexp->mbs[iVar8];\n        }\n        if (regexp->stop <= iVar9) break;\n        if ((bVar3 == bVar10) && (regexp->mbs[iVar9] == ']')) {\n          regexp->cur_idx = iVar9 + 1;\n          (elem->opr).name[iVar11] = '\0';\n          cVar4 = token->field_0x4;\n          if (cVar4 == '\x1c') {\n            elem->type = EQUIV_CLASS;\n            rVar7 = _REG_NOERROR;\n          }\n          else if (cVar4 == '\x1e') {\n            elem->type = CHAR_CLASS;\n            rVar7 = _REG_NOERROR;\n          }\n          else {\n            rVar7 = _REG_NOERROR;\n            if (cVar4 == '\x1a') {\n              elem->type = COLL_SYM;\n            }\n          }\n          goto LAB_0004b139;\n        }\n        (elem->opr).name[iVar11] = bVar10;\n        iVar11 = iVar11 + 1;\n        if (iVar11 == 0x20) break;\n        bVar10 = token->field_0x4;\n        iVar8 = regexp->cur_idx;\n      } while( true );\n    }\n    rVar7 = _REG_EBRACK;\n  }\n  else {\n    if ((bVar10 == 0x16) && (local_3c = (char)syntax, local_3c == '\0')) {\n      peek_token_bracket(&token2,regexp,(reg_syntax_t)dfa);\n      rVar7 = _REG_ERANGE;\n      if (token2._4_1_ != '\x15') goto LAB_0004b139;\n    }\n    uVar2 = (token->opr).c;\n    elem->type = SB_CHAR;\n    (elem->opr).ch = uVar2;\n    rVar7 = _REG_NOERROR;\n  }" if (parenthesized_expression "(((bVar10 & 0xfb) == 0x1a) || (bVar10 == 0x1c))" ( (binary_expression "((bVar10 & 0xfb) == 0x1a) || (bVar10 == 0x1c)" (parenthesized_expression "((bVar10 & 0xfb) == 0x1a)" ( (binary_expression "(bVar10 & 0xfb) == 0x1a" (parenthesized_expression "(bVar10 & 0xfb)" ( (binary_expression "bVar10 & 0xfb" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "(bVar10 == 0x1c)" ( (binary_expression "bVar10 == 0x1c" identifier == number_literal) ))) )) (compound_statement "{\n    if (iVar8 < regexp->stop) {\n      bVar3 = (token->opr).c;\n      iVar11 = 0;\n      do {\n        iVar9 = iVar8 + 1;\n        if ((bVar10 == 0x1e) && (regexp->mbs_allocated != '\0')) {\n          if (regexp->offsets_needed == '\0') {\n            regexp->cur_idx = iVar9;\n            bVar10 = regexp->raw_mbs[regexp->raw_mbs_idx + iVar8];\n          }\n          else {\n            iVar6 = regexp->valid_len;\n            if (((iVar8 != iVar6) && (regexp->wcs[iVar8] == 0xffffffff)) ||\n               (bVar10 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[iVar8]],\n               (bVar10 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((regexp->mb_cur_max != 1) && (iVar9 < iVar6)) &&\n               (regexp->wcs[iVar8 + 1] == 0xffffffff)) {\n              iVar8 = iVar8 + 2;\n              do {\n                iVar9 = iVar8;\n                if (iVar6 == iVar9) break;\n                iVar8 = iVar9 + 1;\n              } while (regexp->wcs[iVar9] == 0xffffffff);\n            }\n            regexp->cur_idx = iVar9;\n          }\n        }\n        else {\nLAB_0004b19d:\n          regexp->cur_idx = iVar9;\n          bVar10 = regexp->mbs[iVar8];\n        }\n        if (regexp->stop <= iVar9) break;\n        if ((bVar3 == bVar10) && (regexp->mbs[iVar9] == ']')) {\n          regexp->cur_idx = iVar9 + 1;\n          (elem->opr).name[iVar11] = '\0';\n          cVar4 = token->field_0x4;\n          if (cVar4 == '\x1c') {\n            elem->type = EQUIV_CLASS;\n            rVar7 = _REG_NOERROR;\n          }\n          else if (cVar4 == '\x1e') {\n            elem->type = CHAR_CLASS;\n            rVar7 = _REG_NOERROR;\n          }\n          else {\n            rVar7 = _REG_NOERROR;\n            if (cVar4 == '\x1a') {\n              elem->type = COLL_SYM;\n            }\n          }\n          goto LAB_0004b139;\n        }\n        (elem->opr).name[iVar11] = bVar10;\n        iVar11 = iVar11 + 1;\n        if (iVar11 == 0x20) break;\n        bVar10 = token->field_0x4;\n        iVar8 = regexp->cur_idx;\n      } while( true );\n    }\n    rVar7 = _REG_EBRACK;\n  }" { (if_statement "if (iVar8 < regexp->stop) {\n      bVar3 = (token->opr).c;\n      iVar11 = 0;\n      do {\n        iVar9 = iVar8 + 1;\n        if ((bVar10 == 0x1e) && (regexp->mbs_allocated != '\0')) {\n          if (regexp->offsets_needed == '\0') {\n            regexp->cur_idx = iVar9;\n            bVar10 = regexp->raw_mbs[regexp->raw_mbs_idx + iVar8];\n          }\n          else {\n            iVar6 = regexp->valid_len;\n            if (((iVar8 != iVar6) && (regexp->wcs[iVar8] == 0xffffffff)) ||\n               (bVar10 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[iVar8]],\n               (bVar10 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((regexp->mb_cur_max != 1) && (iVar9 < iVar6)) &&\n               (regexp->wcs[iVar8 + 1] == 0xffffffff)) {\n              iVar8 = iVar8 + 2;\n              do {\n                iVar9 = iVar8;\n                if (iVar6 == iVar9) break;\n                iVar8 = iVar9 + 1;\n              } while (regexp->wcs[iVar9] == 0xffffffff);\n            }\n            regexp->cur_idx = iVar9;\n          }\n        }\n        else {\nLAB_0004b19d:\n          regexp->cur_idx = iVar9;\n          bVar10 = regexp->mbs[iVar8];\n        }\n        if (regexp->stop <= iVar9) break;\n        if ((bVar3 == bVar10) && (regexp->mbs[iVar9] == ']')) {\n          regexp->cur_idx = iVar9 + 1;\n          (elem->opr).name[iVar11] = '\0';\n          cVar4 = token->field_0x4;\n          if (cVar4 == '\x1c') {\n            elem->type = EQUIV_CLASS;\n            rVar7 = _REG_NOERROR;\n          }\n          else if (cVar4 == '\x1e') {\n            elem->type = CHAR_CLASS;\n            rVar7 = _REG_NOERROR;\n          }\n          else {\n            rVar7 = _REG_NOERROR;\n            if (cVar4 == '\x1a') {\n              elem->type = COLL_SYM;\n            }\n          }\n          goto LAB_0004b139;\n        }\n        (elem->opr).name[iVar11] = bVar10;\n        iVar11 = iVar11 + 1;\n        if (iVar11 == 0x20) break;\n        bVar10 = token->field_0x4;\n        iVar8 = regexp->cur_idx;\n      } while( true );\n    }" if (parenthesized_expression "(iVar8 < regexp->stop)" ( (binary_expression "iVar8 < regexp->stop" identifier < (field_expression "regexp->stop" identifier -> field_identifier)) )) (compound_statement "{\n      bVar3 = (token->opr).c;\n      iVar11 = 0;\n      do {\n        iVar9 = iVar8 + 1;\n        if ((bVar10 == 0x1e) && (regexp->mbs_allocated != '\0')) {\n          if (regexp->offsets_needed == '\0') {\n            regexp->cur_idx = iVar9;\n            bVar10 = regexp->raw_mbs[regexp->raw_mbs_idx + iVar8];\n          }\n          else {\n            iVar6 = regexp->valid_len;\n            if (((iVar8 != iVar6) && (regexp->wcs[iVar8] == 0xffffffff)) ||\n               (bVar10 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[iVar8]],\n               (bVar10 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((regexp->mb_cur_max != 1) && (iVar9 < iVar6)) &&\n               (regexp->wcs[iVar8 + 1] == 0xffffffff)) {\n              iVar8 = iVar8 + 2;\n              do {\n                iVar9 = iVar8;\n                if (iVar6 == iVar9) break;\n                iVar8 = iVar9 + 1;\n              } while (regexp->wcs[iVar9] == 0xffffffff);\n            }\n            regexp->cur_idx = iVar9;\n          }\n        }\n        else {\nLAB_0004b19d:\n          regexp->cur_idx = iVar9;\n          bVar10 = regexp->mbs[iVar8];\n        }\n        if (regexp->stop <= iVar9) break;\n        if ((bVar3 == bVar10) && (regexp->mbs[iVar9] == ']')) {\n          regexp->cur_idx = iVar9 + 1;\n          (elem->opr).name[iVar11] = '\0';\n          cVar4 = token->field_0x4;\n          if (cVar4 == '\x1c') {\n            elem->type = EQUIV_CLASS;\n            rVar7 = _REG_NOERROR;\n          }\n          else if (cVar4 == '\x1e') {\n            elem->type = CHAR_CLASS;\n            rVar7 = _REG_NOERROR;\n          }\n          else {\n            rVar7 = _REG_NOERROR;\n            if (cVar4 == '\x1a') {\n              elem->type = COLL_SYM;\n            }\n          }\n          goto LAB_0004b139;\n        }\n        (elem->opr).name[iVar11] = bVar10;\n        iVar11 = iVar11 + 1;\n        if (iVar11 == 0x20) break;\n        bVar10 = token->field_0x4;\n        iVar8 = regexp->cur_idx;\n      } while( true );\n    }" { (expression_statement "bVar3 = (token->opr).c;" (assignment_expression "bVar3 = (token->opr).c" identifier = (field_expression "(token->opr).c" (parenthesized_expression "(token->opr)" ( (field_expression "token->opr" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar9 = iVar8 + 1;\n        if ((bVar10 == 0x1e) && (regexp->mbs_allocated != '\0')) {\n          if (regexp->offsets_needed == '\0') {\n            regexp->cur_idx = iVar9;\n            bVar10 = regexp->raw_mbs[regexp->raw_mbs_idx + iVar8];\n          }\n          else {\n            iVar6 = regexp->valid_len;\n            if (((iVar8 != iVar6) && (regexp->wcs[iVar8] == 0xffffffff)) ||\n               (bVar10 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[iVar8]],\n               (bVar10 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((regexp->mb_cur_max != 1) && (iVar9 < iVar6)) &&\n               (regexp->wcs[iVar8 + 1] == 0xffffffff)) {\n              iVar8 = iVar8 + 2;\n              do {\n                iVar9 = iVar8;\n                if (iVar6 == iVar9) break;\n                iVar8 = iVar9 + 1;\n              } while (regexp->wcs[iVar9] == 0xffffffff);\n            }\n            regexp->cur_idx = iVar9;\n          }\n        }\n        else {\nLAB_0004b19d:\n          regexp->cur_idx = iVar9;\n          bVar10 = regexp->mbs[iVar8];\n        }\n        if (regexp->stop <= iVar9) break;\n        if ((bVar3 == bVar10) && (regexp->mbs[iVar9] == ']')) {\n          regexp->cur_idx = iVar9 + 1;\n          (elem->opr).name[iVar11] = '\0';\n          cVar4 = token->field_0x4;\n          if (cVar4 == '\x1c') {\n            elem->type = EQUIV_CLASS;\n            rVar7 = _REG_NOERROR;\n          }\n          else if (cVar4 == '\x1e') {\n            elem->type = CHAR_CLASS;\n            rVar7 = _REG_NOERROR;\n          }\n          else {\n            rVar7 = _REG_NOERROR;\n            if (cVar4 == '\x1a') {\n              elem->type = COLL_SYM;\n            }\n          }\n          goto LAB_0004b139;\n        }\n        (elem->opr).name[iVar11] = bVar10;\n        iVar11 = iVar11 + 1;\n        if (iVar11 == 0x20) break;\n        bVar10 = token->field_0x4;\n        iVar8 = regexp->cur_idx;\n      } while( true );" do (compound_statement "{\n        iVar9 = iVar8 + 1;\n        if ((bVar10 == 0x1e) && (regexp->mbs_allocated != '\0')) {\n          if (regexp->offsets_needed == '\0') {\n            regexp->cur_idx = iVar9;\n            bVar10 = regexp->raw_mbs[regexp->raw_mbs_idx + iVar8];\n          }\n          else {\n            iVar6 = regexp->valid_len;\n            if (((iVar8 != iVar6) && (regexp->wcs[iVar8] == 0xffffffff)) ||\n               (bVar10 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[iVar8]],\n               (bVar10 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((regexp->mb_cur_max != 1) && (iVar9 < iVar6)) &&\n               (regexp->wcs[iVar8 + 1] == 0xffffffff)) {\n              iVar8 = iVar8 + 2;\n              do {\n                iVar9 = iVar8;\n                if (iVar6 == iVar9) break;\n                iVar8 = iVar9 + 1;\n              } while (regexp->wcs[iVar9] == 0xffffffff);\n            }\n            regexp->cur_idx = iVar9;\n          }\n        }\n        else {\nLAB_0004b19d:\n          regexp->cur_idx = iVar9;\n          bVar10 = regexp->mbs[iVar8];\n        }\n        if (regexp->stop <= iVar9) break;\n        if ((bVar3 == bVar10) && (regexp->mbs[iVar9] == ']')) {\n          regexp->cur_idx = iVar9 + 1;\n          (elem->opr).name[iVar11] = '\0';\n          cVar4 = token->field_0x4;\n          if (cVar4 == '\x1c') {\n            elem->type = EQUIV_CLASS;\n            rVar7 = _REG_NOERROR;\n          }\n          else if (cVar4 == '\x1e') {\n            elem->type = CHAR_CLASS;\n            rVar7 = _REG_NOERROR;\n          }\n          else {\n            rVar7 = _REG_NOERROR;\n            if (cVar4 == '\x1a') {\n              elem->type = COLL_SYM;\n            }\n          }\n          goto LAB_0004b139;\n        }\n        (elem->opr).name[iVar11] = bVar10;\n        iVar11 = iVar11 + 1;\n        if (iVar11 == 0x20) break;\n        bVar10 = token->field_0x4;\n        iVar8 = regexp->cur_idx;\n      }" { (expression_statement "iVar9 = iVar8 + 1;" (assignment_expression "iVar9 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (if_statement "if ((bVar10 == 0x1e) && (regexp->mbs_allocated != '\0')) {\n          if (regexp->offsets_needed == '\0') {\n            regexp->cur_idx = iVar9;\n            bVar10 = regexp->raw_mbs[regexp->raw_mbs_idx + iVar8];\n          }\n          else {\n            iVar6 = regexp->valid_len;\n            if (((iVar8 != iVar6) && (regexp->wcs[iVar8] == 0xffffffff)) ||\n               (bVar10 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[iVar8]],\n               (bVar10 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((regexp->mb_cur_max != 1) && (iVar9 < iVar6)) &&\n               (regexp->wcs[iVar8 + 1] == 0xffffffff)) {\n              iVar8 = iVar8 + 2;\n              do {\n                iVar9 = iVar8;\n                if (iVar6 == iVar9) break;\n                iVar8 = iVar9 + 1;\n              } while (regexp->wcs[iVar9] == 0xffffffff);\n            }\n            regexp->cur_idx = iVar9;\n          }\n        }\n        else {\nLAB_0004b19d:\n          regexp->cur_idx = iVar9;\n          bVar10 = regexp->mbs[iVar8];\n        }" if (parenthesized_expression "((bVar10 == 0x1e) && (regexp->mbs_allocated != '\0'))" ( (binary_expression "(bVar10 == 0x1e) && (regexp->mbs_allocated != '\0')" (parenthesized_expression "(bVar10 == 0x1e)" ( (binary_expression "bVar10 == 0x1e" identifier == number_literal) )) && (parenthesized_expression "(regexp->mbs_allocated != '\0')" ( (binary_expression "regexp->mbs_allocated != '\0'" (field_expression "regexp->mbs_allocated" identifier -> field_identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n          if (regexp->offsets_needed == '\0') {\n            regexp->cur_idx = iVar9;\n            bVar10 = regexp->raw_mbs[regexp->raw_mbs_idx + iVar8];\n          }\n          else {\n            iVar6 = regexp->valid_len;\n            if (((iVar8 != iVar6) && (regexp->wcs[iVar8] == 0xffffffff)) ||\n               (bVar10 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[iVar8]],\n               (bVar10 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((regexp->mb_cur_max != 1) && (iVar9 < iVar6)) &&\n               (regexp->wcs[iVar8 + 1] == 0xffffffff)) {\n              iVar8 = iVar8 + 2;\n              do {\n                iVar9 = iVar8;\n                if (iVar6 == iVar9) break;\n                iVar8 = iVar9 + 1;\n              } while (regexp->wcs[iVar9] == 0xffffffff);\n            }\n            regexp->cur_idx = iVar9;\n          }\n        }" { (if_statement "if (regexp->offsets_needed == '\0') {\n            regexp->cur_idx = iVar9;\n            bVar10 = regexp->raw_mbs[regexp->raw_mbs_idx + iVar8];\n          }\n          else {\n            iVar6 = regexp->valid_len;\n            if (((iVar8 != iVar6) && (regexp->wcs[iVar8] == 0xffffffff)) ||\n               (bVar10 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[iVar8]],\n               (bVar10 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((regexp->mb_cur_max != 1) && (iVar9 < iVar6)) &&\n               (regexp->wcs[iVar8 + 1] == 0xffffffff)) {\n              iVar8 = iVar8 + 2;\n              do {\n                iVar9 = iVar8;\n                if (iVar6 == iVar9) break;\n                iVar8 = iVar9 + 1;\n              } while (regexp->wcs[iVar9] == 0xffffffff);\n            }\n            regexp->cur_idx = iVar9;\n          }" if (parenthesized_expression "(regexp->offsets_needed == '\0')" ( (binary_expression "regexp->offsets_needed == '\0'" (field_expression "regexp->offsets_needed" identifier -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            regexp->cur_idx = iVar9;\n            bVar10 = regexp->raw_mbs[regexp->raw_mbs_idx + iVar8];\n          }" { (expression_statement "regexp->cur_idx = iVar9;" (assignment_expression "regexp->cur_idx = iVar9" (field_expression "regexp->cur_idx" identifier -> field_identifier) = identifier) ;) (expression_statement "bVar10 = regexp->raw_mbs[regexp->raw_mbs_idx + iVar8];" (assignment_expression "bVar10 = regexp->raw_mbs[regexp->raw_mbs_idx + iVar8]" identifier = (subscript_expression "regexp->raw_mbs[regexp->raw_mbs_idx + iVar8]" (field_expression "regexp->raw_mbs" identifier -> field_identifier) [ (binary_expression "regexp->raw_mbs_idx + iVar8" (field_expression "regexp->raw_mbs_idx" identifier -> field_identifier) + identifier) ])) ;) }) (else_clause "else {\n            iVar6 = regexp->valid_len;\n            if (((iVar8 != iVar6) && (regexp->wcs[iVar8] == 0xffffffff)) ||\n               (bVar10 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[iVar8]],\n               (bVar10 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((regexp->mb_cur_max != 1) && (iVar9 < iVar6)) &&\n               (regexp->wcs[iVar8 + 1] == 0xffffffff)) {\n              iVar8 = iVar8 + 2;\n              do {\n                iVar9 = iVar8;\n                if (iVar6 == iVar9) break;\n                iVar8 = iVar9 + 1;\n              } while (regexp->wcs[iVar9] == 0xffffffff);\n            }\n            regexp->cur_idx = iVar9;\n          }" else (compound_statement "{\n            iVar6 = regexp->valid_len;\n            if (((iVar8 != iVar6) && (regexp->wcs[iVar8] == 0xffffffff)) ||\n               (bVar10 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[iVar8]],\n               (bVar10 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((regexp->mb_cur_max != 1) && (iVar9 < iVar6)) &&\n               (regexp->wcs[iVar8 + 1] == 0xffffffff)) {\n              iVar8 = iVar8 + 2;\n              do {\n                iVar9 = iVar8;\n                if (iVar6 == iVar9) break;\n                iVar8 = iVar9 + 1;\n              } while (regexp->wcs[iVar9] == 0xffffffff);\n            }\n            regexp->cur_idx = iVar9;\n          }" { (expression_statement "iVar6 = regexp->valid_len;" (assignment_expression "iVar6 = regexp->valid_len" identifier = (field_expression "regexp->valid_len" identifier -> field_identifier)) ;) (if_statement "if (((iVar8 != iVar6) && (regexp->wcs[iVar8] == 0xffffffff)) ||\n               (bVar10 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[iVar8]],\n               (bVar10 & 0x80) != 0)) goto LAB_0004b19d;" if (parenthesized_expression "(((iVar8 != iVar6) && (regexp->wcs[iVar8] == 0xffffffff)) ||\n               (bVar10 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[iVar8]],\n               (bVar10 & 0x80) != 0))" ( (binary_expression "((iVar8 != iVar6) && (regexp->wcs[iVar8] == 0xffffffff)) ||\n               (bVar10 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[iVar8]],\n               (bVar10 & 0x80) != 0)" (parenthesized_expression "((iVar8 != iVar6) && (regexp->wcs[iVar8] == 0xffffffff))" ( (binary_expression "(iVar8 != iVar6) && (regexp->wcs[iVar8] == 0xffffffff)" (parenthesized_expression "(iVar8 != iVar6)" ( (binary_expression "iVar8 != iVar6" identifier != identifier) )) && (parenthesized_expression "(regexp->wcs[iVar8] == 0xffffffff)" ( (binary_expression "regexp->wcs[iVar8] == 0xffffffff" (subscript_expression "regexp->wcs[iVar8]" (field_expression "regexp->wcs" identifier -> field_identifier) [ identifier ]) == number_literal) ))) )) || (parenthesized_expression "(bVar10 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[iVar8]],\n               (bVar10 & 0x80) != 0)" ( (comma_expression "bVar10 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[iVar8]],\n               (bVar10 & 0x80) != 0" (assignment_expression "bVar10 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[iVar8]]" identifier = (subscript_expression "regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[iVar8]]" (field_expression "regexp->raw_mbs" identifier -> field_identifier) [ (binary_expression "regexp->raw_mbs_idx + regexp->offsets[iVar8]" (field_expression "regexp->raw_mbs_idx" identifier -> field_identifier) + (subscript_expression "regexp->offsets[iVar8]" (field_expression "regexp->offsets" identifier -> field_identifier) [ identifier ])) ])) , (binary_expression "(bVar10 & 0x80) != 0" (parenthesized_expression "(bVar10 & 0x80)" ( (binary_expression "bVar10 & 0x80" identifier & number_literal) )) != number_literal)) ))) )) (goto_statement "goto LAB_0004b19d;" goto statement_identifier ;)) (if_statement "if (((regexp->mb_cur_max != 1) && (iVar9 < iVar6)) &&\n               (regexp->wcs[iVar8 + 1] == 0xffffffff)) {\n              iVar8 = iVar8 + 2;\n              do {\n                iVar9 = iVar8;\n                if (iVar6 == iVar9) break;\n                iVar8 = iVar9 + 1;\n              } while (regexp->wcs[iVar9] == 0xffffffff);\n            }" if (parenthesized_expression "(((regexp->mb_cur_max != 1) && (iVar9 < iVar6)) &&\n               (regexp->wcs[iVar8 + 1] == 0xffffffff))" ( (binary_expression "((regexp->mb_cur_max != 1) && (iVar9 < iVar6)) &&\n               (regexp->wcs[iVar8 + 1] == 0xffffffff)" (parenthesized_expression "((regexp->mb_cur_max != 1) && (iVar9 < iVar6))" ( (binary_expression "(regexp->mb_cur_max != 1) && (iVar9 < iVar6)" (parenthesized_expression "(regexp->mb_cur_max != 1)" ( (binary_expression "regexp->mb_cur_max != 1" (field_expression "regexp->mb_cur_max" identifier -> field_identifier) != number_literal) )) && (parenthesized_expression "(iVar9 < iVar6)" ( (binary_expression "iVar9 < iVar6" identifier < identifier) ))) )) && (parenthesized_expression "(regexp->wcs[iVar8 + 1] == 0xffffffff)" ( (binary_expression "regexp->wcs[iVar8 + 1] == 0xffffffff" (subscript_expression "regexp->wcs[iVar8 + 1]" (field_expression "regexp->wcs" identifier -> field_identifier) [ (binary_expression "iVar8 + 1" identifier + number_literal) ]) == number_literal) ))) )) (compound_statement "{\n              iVar8 = iVar8 + 2;\n              do {\n                iVar9 = iVar8;\n                if (iVar6 == iVar9) break;\n                iVar8 = iVar9 + 1;\n              } while (regexp->wcs[iVar9] == 0xffffffff);\n            }" { (expression_statement "iVar8 = iVar8 + 2;" (assignment_expression "iVar8 = iVar8 + 2" identifier = (binary_expression "iVar8 + 2" identifier + number_literal)) ;) (do_statement "do {\n                iVar9 = iVar8;\n                if (iVar6 == iVar9) break;\n                iVar8 = iVar9 + 1;\n              } while (regexp->wcs[iVar9] == 0xffffffff);" do (compound_statement "{\n                iVar9 = iVar8;\n                if (iVar6 == iVar9) break;\n                iVar8 = iVar9 + 1;\n              }" { (expression_statement "iVar9 = iVar8;" (assignment_expression "iVar9 = iVar8" identifier = identifier) ;) (if_statement "if (iVar6 == iVar9) break;" if (parenthesized_expression "(iVar6 == iVar9)" ( (binary_expression "iVar6 == iVar9" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "iVar8 = iVar9 + 1;" (assignment_expression "iVar8 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(regexp->wcs[iVar9] == 0xffffffff)" ( (binary_expression "regexp->wcs[iVar9] == 0xffffffff" (subscript_expression "regexp->wcs[iVar9]" (field_expression "regexp->wcs" identifier -> field_identifier) [ identifier ]) == number_literal) )) ;) })) (expression_statement "regexp->cur_idx = iVar9;" (assignment_expression "regexp->cur_idx = iVar9" (field_expression "regexp->cur_idx" identifier -> field_identifier) = identifier) ;) }))) }) (else_clause "else {\nLAB_0004b19d:\n          regexp->cur_idx = iVar9;\n          bVar10 = regexp->mbs[iVar8];\n        }" else (compound_statement "{\nLAB_0004b19d:\n          regexp->cur_idx = iVar9;\n          bVar10 = regexp->mbs[iVar8];\n        }" { (labeled_statement "LAB_0004b19d:\n          regexp->cur_idx = iVar9;" statement_identifier : (expression_statement "regexp->cur_idx = iVar9;" (assignment_expression "regexp->cur_idx = iVar9" (field_expression "regexp->cur_idx" identifier -> field_identifier) = identifier) ;)) (expression_statement "bVar10 = regexp->mbs[iVar8];" (assignment_expression "bVar10 = regexp->mbs[iVar8]" identifier = (subscript_expression "regexp->mbs[iVar8]" (field_expression "regexp->mbs" identifier -> field_identifier) [ identifier ])) ;) }))) (if_statement "if (regexp->stop <= iVar9) break;" if (parenthesized_expression "(regexp->stop <= iVar9)" ( (binary_expression "regexp->stop <= iVar9" (field_expression "regexp->stop" identifier -> field_identifier) <= identifier) )) (break_statement "break;" break ;)) (if_statement "if ((bVar3 == bVar10) && (regexp->mbs[iVar9] == ']')) {\n          regexp->cur_idx = iVar9 + 1;\n          (elem->opr).name[iVar11] = '\0';\n          cVar4 = token->field_0x4;\n          if (cVar4 == '\x1c') {\n            elem->type = EQUIV_CLASS;\n            rVar7 = _REG_NOERROR;\n          }\n          else if (cVar4 == '\x1e') {\n            elem->type = CHAR_CLASS;\n            rVar7 = _REG_NOERROR;\n          }\n          else {\n            rVar7 = _REG_NOERROR;\n            if (cVar4 == '\x1a') {\n              elem->type = COLL_SYM;\n            }\n          }\n          goto LAB_0004b139;\n        }" if (parenthesized_expression "((bVar3 == bVar10) && (regexp->mbs[iVar9] == ']'))" ( (binary_expression "(bVar3 == bVar10) && (regexp->mbs[iVar9] == ']')" (parenthesized_expression "(bVar3 == bVar10)" ( (binary_expression "bVar3 == bVar10" identifier == identifier) )) && (parenthesized_expression "(regexp->mbs[iVar9] == ']')" ( (binary_expression "regexp->mbs[iVar9] == ']'" (subscript_expression "regexp->mbs[iVar9]" (field_expression "regexp->mbs" identifier -> field_identifier) [ identifier ]) == (char_literal "']'" ' character ')) ))) )) (compound_statement "{\n          regexp->cur_idx = iVar9 + 1;\n          (elem->opr).name[iVar11] = '\0';\n          cVar4 = token->field_0x4;\n          if (cVar4 == '\x1c') {\n            elem->type = EQUIV_CLASS;\n            rVar7 = _REG_NOERROR;\n          }\n          else if (cVar4 == '\x1e') {\n            elem->type = CHAR_CLASS;\n            rVar7 = _REG_NOERROR;\n          }\n          else {\n            rVar7 = _REG_NOERROR;\n            if (cVar4 == '\x1a') {\n              elem->type = COLL_SYM;\n            }\n          }\n          goto LAB_0004b139;\n        }" { (expression_statement "regexp->cur_idx = iVar9 + 1;" (assignment_expression "regexp->cur_idx = iVar9 + 1" (field_expression "regexp->cur_idx" identifier -> field_identifier) = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (expression_statement "(elem->opr).name[iVar11] = '\0';" (assignment_expression "(elem->opr).name[iVar11] = '\0'" (subscript_expression "(elem->opr).name[iVar11]" (field_expression "(elem->opr).name" (parenthesized_expression "(elem->opr)" ( (field_expression "elem->opr" identifier -> field_identifier) )) . field_identifier) [ identifier ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "cVar4 = token->field_0x4;" (assignment_expression "cVar4 = token->field_0x4" identifier = (field_expression "token->field_0x4" identifier -> field_identifier)) ;) (if_statement "if (cVar4 == '\x1c') {\n            elem->type = EQUIV_CLASS;\n            rVar7 = _REG_NOERROR;\n          }\n          else if (cVar4 == '\x1e') {\n            elem->type = CHAR_CLASS;\n            rVar7 = _REG_NOERROR;\n          }\n          else {\n            rVar7 = _REG_NOERROR;\n            if (cVar4 == '\x1a') {\n              elem->type = COLL_SYM;\n            }\n          }" if (parenthesized_expression "(cVar4 == '\x1c')" ( (binary_expression "cVar4 == '\x1c'" identifier == (char_literal "'\x1c'" ' escape_sequence ')) )) (compound_statement "{\n            elem->type = EQUIV_CLASS;\n            rVar7 = _REG_NOERROR;\n          }" { (expression_statement "elem->type = EQUIV_CLASS;" (assignment_expression "elem->type = EQUIV_CLASS" (field_expression "elem->type" identifier -> field_identifier) = identifier) ;) (expression_statement "rVar7 = _REG_NOERROR;" (assignment_expression "rVar7 = _REG_NOERROR" identifier = identifier) ;) }) (else_clause "else if (cVar4 == '\x1e') {\n            elem->type = CHAR_CLASS;\n            rVar7 = _REG_NOERROR;\n          }\n          else {\n            rVar7 = _REG_NOERROR;\n            if (cVar4 == '\x1a') {\n              elem->type = COLL_SYM;\n            }\n          }" else (if_statement "if (cVar4 == '\x1e') {\n            elem->type = CHAR_CLASS;\n            rVar7 = _REG_NOERROR;\n          }\n          else {\n            rVar7 = _REG_NOERROR;\n            if (cVar4 == '\x1a') {\n              elem->type = COLL_SYM;\n            }\n          }" if (parenthesized_expression "(cVar4 == '\x1e')" ( (binary_expression "cVar4 == '\x1e'" identifier == (char_literal "'\x1e'" ' escape_sequence ')) )) (compound_statement "{\n            elem->type = CHAR_CLASS;\n            rVar7 = _REG_NOERROR;\n          }" { (expression_statement "elem->type = CHAR_CLASS;" (assignment_expression "elem->type = CHAR_CLASS" (field_expression "elem->type" identifier -> field_identifier) = identifier) ;) (expression_statement "rVar7 = _REG_NOERROR;" (assignment_expression "rVar7 = _REG_NOERROR" identifier = identifier) ;) }) (else_clause "else {\n            rVar7 = _REG_NOERROR;\n            if (cVar4 == '\x1a') {\n              elem->type = COLL_SYM;\n            }\n          }" else (compound_statement "{\n            rVar7 = _REG_NOERROR;\n            if (cVar4 == '\x1a') {\n              elem->type = COLL_SYM;\n            }\n          }" { (expression_statement "rVar7 = _REG_NOERROR;" (assignment_expression "rVar7 = _REG_NOERROR" identifier = identifier) ;) (if_statement "if (cVar4 == '\x1a') {\n              elem->type = COLL_SYM;\n            }" if (parenthesized_expression "(cVar4 == '\x1a')" ( (binary_expression "cVar4 == '\x1a'" identifier == (char_literal "'\x1a'" ' escape_sequence ')) )) (compound_statement "{\n              elem->type = COLL_SYM;\n            }" { (expression_statement "elem->type = COLL_SYM;" (assignment_expression "elem->type = COLL_SYM" (field_expression "elem->type" identifier -> field_identifier) = identifier) ;) })) }))))) (goto_statement "goto LAB_0004b139;" goto statement_identifier ;) })) (expression_statement "(elem->opr).name[iVar11] = bVar10;" (assignment_expression "(elem->opr).name[iVar11] = bVar10" (subscript_expression "(elem->opr).name[iVar11]" (field_expression "(elem->opr).name" (parenthesized_expression "(elem->opr)" ( (field_expression "elem->opr" identifier -> field_identifier) )) . field_identifier) [ identifier ]) = identifier) ;) (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) (if_statement "if (iVar11 == 0x20) break;" if (parenthesized_expression "(iVar11 == 0x20)" ( (binary_expression "iVar11 == 0x20" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "bVar10 = token->field_0x4;" (assignment_expression "bVar10 = token->field_0x4" identifier = (field_expression "token->field_0x4" identifier -> field_identifier)) ;) (expression_statement "iVar8 = regexp->cur_idx;" (assignment_expression "iVar8 = regexp->cur_idx" identifier = (field_expression "regexp->cur_idx" identifier -> field_identifier)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "rVar7 = _REG_EBRACK;" (assignment_expression "rVar7 = _REG_EBRACK" identifier = identifier) ;) }) (else_clause "else {\n    if ((bVar10 == 0x16) && (local_3c = (char)syntax, local_3c == '\0')) {\n      peek_token_bracket(&token2,regexp,(reg_syntax_t)dfa);\n      rVar7 = _REG_ERANGE;\n      if (token2._4_1_ != '\x15') goto LAB_0004b139;\n    }\n    uVar2 = (token->opr).c;\n    elem->type = SB_CHAR;\n    (elem->opr).ch = uVar2;\n    rVar7 = _REG_NOERROR;\n  }" else (compound_statement "{\n    if ((bVar10 == 0x16) && (local_3c = (char)syntax, local_3c == '\0')) {\n      peek_token_bracket(&token2,regexp,(reg_syntax_t)dfa);\n      rVar7 = _REG_ERANGE;\n      if (token2._4_1_ != '\x15') goto LAB_0004b139;\n    }\n    uVar2 = (token->opr).c;\n    elem->type = SB_CHAR;\n    (elem->opr).ch = uVar2;\n    rVar7 = _REG_NOERROR;\n  }" { (if_statement "if ((bVar10 == 0x16) && (local_3c = (char)syntax, local_3c == '\0')) {\n      peek_token_bracket(&token2,regexp,(reg_syntax_t)dfa);\n      rVar7 = _REG_ERANGE;\n      if (token2._4_1_ != '\x15') goto LAB_0004b139;\n    }" if (parenthesized_expression "((bVar10 == 0x16) && (local_3c = (char)syntax, local_3c == '\0'))" ( (binary_expression "(bVar10 == 0x16) && (local_3c = (char)syntax, local_3c == '\0')" (parenthesized_expression "(bVar10 == 0x16)" ( (binary_expression "bVar10 == 0x16" identifier == number_literal) )) && (parenthesized_expression "(local_3c = (char)syntax, local_3c == '\0')" ( (comma_expression "local_3c = (char)syntax, local_3c == '\0'" (assignment_expression "local_3c = (char)syntax" identifier = (cast_expression "(char)syntax" ( (type_descriptor "char" primitive_type) ) identifier)) , (binary_expression "local_3c == '\0'" identifier == (char_literal "'\0'" ' escape_sequence '))) ))) )) (compound_statement "{\n      peek_token_bracket(&token2,regexp,(reg_syntax_t)dfa);\n      rVar7 = _REG_ERANGE;\n      if (token2._4_1_ != '\x15') goto LAB_0004b139;\n    }" { (expression_statement "peek_token_bracket(&token2,regexp,(reg_syntax_t)dfa);" (call_expression "peek_token_bracket(&token2,regexp,(reg_syntax_t)dfa)" identifier (argument_list "(&token2,regexp,(reg_syntax_t)dfa)" ( (pointer_expression "&token2" & identifier) , identifier , (cast_expression "(reg_syntax_t)dfa" ( (type_descriptor "reg_syntax_t" type_identifier) ) identifier) ))) ;) (expression_statement "rVar7 = _REG_ERANGE;" (assignment_expression "rVar7 = _REG_ERANGE" identifier = identifier) ;) (if_statement "if (token2._4_1_ != '\x15') goto LAB_0004b139;" if (parenthesized_expression "(token2._4_1_ != '\x15')" ( (binary_expression "token2._4_1_ != '\x15'" (field_expression "token2._4_1_" identifier . field_identifier) != (char_literal "'\x15'" ' escape_sequence ')) )) (goto_statement "goto LAB_0004b139;" goto statement_identifier ;)) })) (expression_statement "uVar2 = (token->opr).c;" (assignment_expression "uVar2 = (token->opr).c" identifier = (field_expression "(token->opr).c" (parenthesized_expression "(token->opr)" ( (field_expression "token->opr" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "elem->type = SB_CHAR;" (assignment_expression "elem->type = SB_CHAR" (field_expression "elem->type" identifier -> field_identifier) = identifier) ;) (expression_statement "(elem->opr).ch = uVar2;" (assignment_expression "(elem->opr).ch = uVar2" (field_expression "(elem->opr).ch" (parenthesized_expression "(elem->opr)" ( (field_expression "elem->opr" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "rVar7 = _REG_NOERROR;" (assignment_expression "rVar7 = _REG_NOERROR" identifier = identifier) ;) }))) (labeled_statement "LAB_0004b139:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" statement_identifier : (if_statement "if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" if (parenthesized_expression "(iVar1 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 != *(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();\n  }" { comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return rVar7;" return identifier ;) })))
(translation_unit "undefined4 __regparm3\nFUN_0004b080(undefined4 *param_1,int *param_2,byte *param_3,int param_4,undefined4 param_5,\n            char param_6)\n\n{\n  int iVar1;\n  byte bVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int iVar6;\n  byte bVar7;\n  int iVar8;\n  int in_GS_OFFSET;\n  char local_24;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar5 = param_2[10];\n  if (param_2[0x14] != 1) {\n    iVar8 = iVar5 + 1;\n    if (iVar8 < param_2[7]) {\n      iVar6 = param_2[2];\n      if (*(int *)(iVar6 + iVar8 * 4) == -1) {\n        iVar5 = iVar5 + 2;\n        do {\n          iVar3 = iVar5;\n          if (param_2[7] == iVar3) break;\n          iVar5 = iVar3 + 1;\n        } while (*(int *)(iVar6 + -4 + (iVar3 + 1) * 4) == -1);\n        *param_1 = 1;\n        param_1[1] = *(undefined4 *)(iVar6 + -4 + iVar8 * 4);\n        uVar4 = 0;\n        param_2[10] = iVar3;\n        goto LAB_0004b139;\n      }\n    }\n  }\n  bVar7 = param_3[4];\n  iVar5 = iVar5 + param_4;\n  param_2[10] = iVar5;\n  if (((bVar7 & 0xfb) == 0x1a) || (bVar7 == 0x1c)) {\n    if (iVar5 < param_2[0xe]) {\n      bVar2 = *param_3;\n      iVar8 = 0;\n      do {\n        iVar6 = iVar5 + 1;\n        if ((bVar7 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n          if ((char)param_2[0x13] == '\0') {\n            param_2[10] = iVar6;\n            bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);\n          }\n          else {\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }\n        }\n        else {\nLAB_0004b19d:\n          param_2[10] = iVar6;\n          bVar7 = *(byte *)(param_2[1] + iVar5);\n        }\n        if (param_2[0xe] <= iVar6) break;\n        if ((bVar2 == bVar7) && (*(char *)(param_2[1] + iVar6) == ']')) {\n          param_2[10] = iVar6 + 1;\n          *(undefined1 *)(param_1[1] + iVar8) = 0;\n          bVar7 = param_3[4];\n          if (bVar7 == 0x1c) {\n            *param_1 = 2;\n            uVar4 = 0;\n          }\n          else if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }\n          goto LAB_0004b139;\n        }\n        *(byte *)(param_1[1] + iVar8) = bVar7;\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x20) break;\n        bVar7 = param_3[4];\n        iVar5 = param_2[10];\n      } while( true );\n    }\n    uVar4 = 7;\n  }\n  else {\n    if ((bVar7 == 0x16) && (param_6 == '\0')) {\n      FUN_00047340();\n      uVar4 = 0xb;\n      if (local_24 != '\x15') goto LAB_0004b139;\n    }\n    bVar7 = *param_3;\n    *param_1 = 0;\n    *(byte *)(param_1 + 1) = bVar7;\n    uVar4 = 0;\n  }\nLAB_0004b139:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0005a8b0();\n  }\n  return uVar4;\n}\n\n" (function_definition "undefined4 __regparm3\nFUN_0004b080(undefined4 *param_1,int *param_2,byte *param_3,int param_4,undefined4 param_5,\n            char param_6)\n\n{\n  int iVar1;\n  byte bVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int iVar6;\n  byte bVar7;\n  int iVar8;\n  int in_GS_OFFSET;\n  char local_24;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar5 = param_2[10];\n  if (param_2[0x14] != 1) {\n    iVar8 = iVar5 + 1;\n    if (iVar8 < param_2[7]) {\n      iVar6 = param_2[2];\n      if (*(int *)(iVar6 + iVar8 * 4) == -1) {\n        iVar5 = iVar5 + 2;\n        do {\n          iVar3 = iVar5;\n          if (param_2[7] == iVar3) break;\n          iVar5 = iVar3 + 1;\n        } while (*(int *)(iVar6 + -4 + (iVar3 + 1) * 4) == -1);\n        *param_1 = 1;\n        param_1[1] = *(undefined4 *)(iVar6 + -4 + iVar8 * 4);\n        uVar4 = 0;\n        param_2[10] = iVar3;\n        goto LAB_0004b139;\n      }\n    }\n  }\n  bVar7 = param_3[4];\n  iVar5 = iVar5 + param_4;\n  param_2[10] = iVar5;\n  if (((bVar7 & 0xfb) == 0x1a) || (bVar7 == 0x1c)) {\n    if (iVar5 < param_2[0xe]) {\n      bVar2 = *param_3;\n      iVar8 = 0;\n      do {\n        iVar6 = iVar5 + 1;\n        if ((bVar7 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n          if ((char)param_2[0x13] == '\0') {\n            param_2[10] = iVar6;\n            bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);\n          }\n          else {\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }\n        }\n        else {\nLAB_0004b19d:\n          param_2[10] = iVar6;\n          bVar7 = *(byte *)(param_2[1] + iVar5);\n        }\n        if (param_2[0xe] <= iVar6) break;\n        if ((bVar2 == bVar7) && (*(char *)(param_2[1] + iVar6) == ']')) {\n          param_2[10] = iVar6 + 1;\n          *(undefined1 *)(param_1[1] + iVar8) = 0;\n          bVar7 = param_3[4];\n          if (bVar7 == 0x1c) {\n            *param_1 = 2;\n            uVar4 = 0;\n          }\n          else if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }\n          goto LAB_0004b139;\n        }\n        *(byte *)(param_1[1] + iVar8) = bVar7;\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x20) break;\n        bVar7 = param_3[4];\n        iVar5 = param_2[10];\n      } while( true );\n    }\n    uVar4 = 7;\n  }\n  else {\n    if ((bVar7 == 0x16) && (param_6 == '\0')) {\n      FUN_00047340();\n      uVar4 = 0xb;\n      if (local_24 != '\x15') goto LAB_0004b139;\n    }\n    bVar7 = *param_3;\n    *param_1 = 0;\n    *(byte *)(param_1 + 1) = bVar7;\n    uVar4 = 0;\n  }\nLAB_0004b139:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0005a8b0();\n  }\n  return uVar4;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_0004b080(undefined4 *param_1,int *param_2,byte *param_3,int param_4,undefined4 param_5,\n            char param_6)" identifier (parameter_list "(undefined4 *param_1,int *param_2,byte *param_3,int param_4,undefined4 param_5,\n            char param_6)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "byte *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "char param_6" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  byte bVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int iVar6;\n  byte bVar7;\n  int iVar8;\n  int in_GS_OFFSET;\n  char local_24;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar5 = param_2[10];\n  if (param_2[0x14] != 1) {\n    iVar8 = iVar5 + 1;\n    if (iVar8 < param_2[7]) {\n      iVar6 = param_2[2];\n      if (*(int *)(iVar6 + iVar8 * 4) == -1) {\n        iVar5 = iVar5 + 2;\n        do {\n          iVar3 = iVar5;\n          if (param_2[7] == iVar3) break;\n          iVar5 = iVar3 + 1;\n        } while (*(int *)(iVar6 + -4 + (iVar3 + 1) * 4) == -1);\n        *param_1 = 1;\n        param_1[1] = *(undefined4 *)(iVar6 + -4 + iVar8 * 4);\n        uVar4 = 0;\n        param_2[10] = iVar3;\n        goto LAB_0004b139;\n      }\n    }\n  }\n  bVar7 = param_3[4];\n  iVar5 = iVar5 + param_4;\n  param_2[10] = iVar5;\n  if (((bVar7 & 0xfb) == 0x1a) || (bVar7 == 0x1c)) {\n    if (iVar5 < param_2[0xe]) {\n      bVar2 = *param_3;\n      iVar8 = 0;\n      do {\n        iVar6 = iVar5 + 1;\n        if ((bVar7 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n          if ((char)param_2[0x13] == '\0') {\n            param_2[10] = iVar6;\n            bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);\n          }\n          else {\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }\n        }\n        else {\nLAB_0004b19d:\n          param_2[10] = iVar6;\n          bVar7 = *(byte *)(param_2[1] + iVar5);\n        }\n        if (param_2[0xe] <= iVar6) break;\n        if ((bVar2 == bVar7) && (*(char *)(param_2[1] + iVar6) == ']')) {\n          param_2[10] = iVar6 + 1;\n          *(undefined1 *)(param_1[1] + iVar8) = 0;\n          bVar7 = param_3[4];\n          if (bVar7 == 0x1c) {\n            *param_1 = 2;\n            uVar4 = 0;\n          }\n          else if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }\n          goto LAB_0004b139;\n        }\n        *(byte *)(param_1[1] + iVar8) = bVar7;\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x20) break;\n        bVar7 = param_3[4];\n        iVar5 = param_2[10];\n      } while( true );\n    }\n    uVar4 = 7;\n  }\n  else {\n    if ((bVar7 == 0x16) && (param_6 == '\0')) {\n      FUN_00047340();\n      uVar4 = 0xb;\n      if (local_24 != '\x15') goto LAB_0004b139;\n    }\n    bVar7 = *param_3;\n    *param_1 = 0;\n    *(byte *)(param_1 + 1) = bVar7;\n    uVar4 = 0;\n  }\nLAB_0004b139:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0005a8b0();\n  }\n  return uVar4;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "byte bVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "char local_24;" primitive_type identifier ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(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 "iVar5 = param_2[10];" (assignment_expression "iVar5 = param_2[10]" identifier = (subscript_expression "param_2[10]" identifier [ number_literal ])) ;) (if_statement "if (param_2[0x14] != 1) {\n    iVar8 = iVar5 + 1;\n    if (iVar8 < param_2[7]) {\n      iVar6 = param_2[2];\n      if (*(int *)(iVar6 + iVar8 * 4) == -1) {\n        iVar5 = iVar5 + 2;\n        do {\n          iVar3 = iVar5;\n          if (param_2[7] == iVar3) break;\n          iVar5 = iVar3 + 1;\n        } while (*(int *)(iVar6 + -4 + (iVar3 + 1) * 4) == -1);\n        *param_1 = 1;\n        param_1[1] = *(undefined4 *)(iVar6 + -4 + iVar8 * 4);\n        uVar4 = 0;\n        param_2[10] = iVar3;\n        goto LAB_0004b139;\n      }\n    }\n  }" if (parenthesized_expression "(param_2[0x14] != 1)" ( (binary_expression "param_2[0x14] != 1" (subscript_expression "param_2[0x14]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    iVar8 = iVar5 + 1;\n    if (iVar8 < param_2[7]) {\n      iVar6 = param_2[2];\n      if (*(int *)(iVar6 + iVar8 * 4) == -1) {\n        iVar5 = iVar5 + 2;\n        do {\n          iVar3 = iVar5;\n          if (param_2[7] == iVar3) break;\n          iVar5 = iVar3 + 1;\n        } while (*(int *)(iVar6 + -4 + (iVar3 + 1) * 4) == -1);\n        *param_1 = 1;\n        param_1[1] = *(undefined4 *)(iVar6 + -4 + iVar8 * 4);\n        uVar4 = 0;\n        param_2[10] = iVar3;\n        goto LAB_0004b139;\n      }\n    }\n  }" { (expression_statement "iVar8 = iVar5 + 1;" (assignment_expression "iVar8 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (if_statement "if (iVar8 < param_2[7]) {\n      iVar6 = param_2[2];\n      if (*(int *)(iVar6 + iVar8 * 4) == -1) {\n        iVar5 = iVar5 + 2;\n        do {\n          iVar3 = iVar5;\n          if (param_2[7] == iVar3) break;\n          iVar5 = iVar3 + 1;\n        } while (*(int *)(iVar6 + -4 + (iVar3 + 1) * 4) == -1);\n        *param_1 = 1;\n        param_1[1] = *(undefined4 *)(iVar6 + -4 + iVar8 * 4);\n        uVar4 = 0;\n        param_2[10] = iVar3;\n        goto LAB_0004b139;\n      }\n    }" if (parenthesized_expression "(iVar8 < param_2[7])" ( (binary_expression "iVar8 < param_2[7]" identifier < (subscript_expression "param_2[7]" identifier [ number_literal ])) )) (compound_statement "{\n      iVar6 = param_2[2];\n      if (*(int *)(iVar6 + iVar8 * 4) == -1) {\n        iVar5 = iVar5 + 2;\n        do {\n          iVar3 = iVar5;\n          if (param_2[7] == iVar3) break;\n          iVar5 = iVar3 + 1;\n        } while (*(int *)(iVar6 + -4 + (iVar3 + 1) * 4) == -1);\n        *param_1 = 1;\n        param_1[1] = *(undefined4 *)(iVar6 + -4 + iVar8 * 4);\n        uVar4 = 0;\n        param_2[10] = iVar3;\n        goto LAB_0004b139;\n      }\n    }" { (expression_statement "iVar6 = param_2[2];" (assignment_expression "iVar6 = param_2[2]" identifier = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (if_statement "if (*(int *)(iVar6 + iVar8 * 4) == -1) {\n        iVar5 = iVar5 + 2;\n        do {\n          iVar3 = iVar5;\n          if (param_2[7] == iVar3) break;\n          iVar5 = iVar3 + 1;\n        } while (*(int *)(iVar6 + -4 + (iVar3 + 1) * 4) == -1);\n        *param_1 = 1;\n        param_1[1] = *(undefined4 *)(iVar6 + -4 + iVar8 * 4);\n        uVar4 = 0;\n        param_2[10] = iVar3;\n        goto LAB_0004b139;\n      }" if (parenthesized_expression "(*(int *)(iVar6 + iVar8 * 4) == -1)" ( (binary_expression "*(int *)(iVar6 + iVar8 * 4) == -1" (pointer_expression "*(int *)(iVar6 + iVar8 * 4)" * (cast_expression "(int *)(iVar6 + iVar8 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar8 * 4)" ( (binary_expression "iVar6 + iVar8 * 4" identifier + (binary_expression "iVar8 * 4" identifier * number_literal)) )))) == number_literal) )) (compound_statement "{\n        iVar5 = iVar5 + 2;\n        do {\n          iVar3 = iVar5;\n          if (param_2[7] == iVar3) break;\n          iVar5 = iVar3 + 1;\n        } while (*(int *)(iVar6 + -4 + (iVar3 + 1) * 4) == -1);\n        *param_1 = 1;\n        param_1[1] = *(undefined4 *)(iVar6 + -4 + iVar8 * 4);\n        uVar4 = 0;\n        param_2[10] = iVar3;\n        goto LAB_0004b139;\n      }" { (expression_statement "iVar5 = iVar5 + 2;" (assignment_expression "iVar5 = iVar5 + 2" identifier = (binary_expression "iVar5 + 2" identifier + number_literal)) ;) (do_statement "do {\n          iVar3 = iVar5;\n          if (param_2[7] == iVar3) break;\n          iVar5 = iVar3 + 1;\n        } while (*(int *)(iVar6 + -4 + (iVar3 + 1) * 4) == -1);" do (compound_statement "{\n          iVar3 = iVar5;\n          if (param_2[7] == iVar3) break;\n          iVar5 = iVar3 + 1;\n        }" { (expression_statement "iVar3 = iVar5;" (assignment_expression "iVar3 = iVar5" identifier = identifier) ;) (if_statement "if (param_2[7] == iVar3) break;" if (parenthesized_expression "(param_2[7] == iVar3)" ( (binary_expression "param_2[7] == iVar3" (subscript_expression "param_2[7]" identifier [ number_literal ]) == identifier) )) (break_statement "break;" break ;)) (expression_statement "iVar5 = iVar3 + 1;" (assignment_expression "iVar5 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*(int *)(iVar6 + -4 + (iVar3 + 1) * 4) == -1)" ( (binary_expression "*(int *)(iVar6 + -4 + (iVar3 + 1) * 4) == -1" (pointer_expression "*(int *)(iVar6 + -4 + (iVar3 + 1) * 4)" * (cast_expression "(int *)(iVar6 + -4 + (iVar3 + 1) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + -4 + (iVar3 + 1) * 4)" ( (binary_expression "iVar6 + -4 + (iVar3 + 1) * 4" (binary_expression "iVar6 + -4" identifier + number_literal) + (binary_expression "(iVar3 + 1) * 4" (parenthesized_expression "(iVar3 + 1)" ( (binary_expression "iVar3 + 1" identifier + number_literal) )) * number_literal)) )))) == number_literal) )) ;) (expression_statement "*param_1 = 1;" (assignment_expression "*param_1 = 1" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1[1] = *(undefined4 *)(iVar6 + -4 + iVar8 * 4);" (assignment_expression "param_1[1] = *(undefined4 *)(iVar6 + -4 + iVar8 * 4)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(iVar6 + -4 + iVar8 * 4)" * (cast_expression "(undefined4 *)(iVar6 + -4 + iVar8 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + -4 + iVar8 * 4)" ( (binary_expression "iVar6 + -4 + iVar8 * 4" (binary_expression "iVar6 + -4" identifier + number_literal) + (binary_expression "iVar8 * 4" identifier * number_literal)) ))))) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "param_2[10] = iVar3;" (assignment_expression "param_2[10] = iVar3" (subscript_expression "param_2[10]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_0004b139;" goto statement_identifier ;) })) })) })) (expression_statement "bVar7 = param_3[4];" (assignment_expression "bVar7 = param_3[4]" identifier = (subscript_expression "param_3[4]" identifier [ number_literal ])) ;) (expression_statement "iVar5 = iVar5 + param_4;" (assignment_expression "iVar5 = iVar5 + param_4" identifier = (binary_expression "iVar5 + param_4" identifier + identifier)) ;) (expression_statement "param_2[10] = iVar5;" (assignment_expression "param_2[10] = iVar5" (subscript_expression "param_2[10]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (((bVar7 & 0xfb) == 0x1a) || (bVar7 == 0x1c)) {\n    if (iVar5 < param_2[0xe]) {\n      bVar2 = *param_3;\n      iVar8 = 0;\n      do {\n        iVar6 = iVar5 + 1;\n        if ((bVar7 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n          if ((char)param_2[0x13] == '\0') {\n            param_2[10] = iVar6;\n            bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);\n          }\n          else {\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }\n        }\n        else {\nLAB_0004b19d:\n          param_2[10] = iVar6;\n          bVar7 = *(byte *)(param_2[1] + iVar5);\n        }\n        if (param_2[0xe] <= iVar6) break;\n        if ((bVar2 == bVar7) && (*(char *)(param_2[1] + iVar6) == ']')) {\n          param_2[10] = iVar6 + 1;\n          *(undefined1 *)(param_1[1] + iVar8) = 0;\n          bVar7 = param_3[4];\n          if (bVar7 == 0x1c) {\n            *param_1 = 2;\n            uVar4 = 0;\n          }\n          else if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }\n          goto LAB_0004b139;\n        }\n        *(byte *)(param_1[1] + iVar8) = bVar7;\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x20) break;\n        bVar7 = param_3[4];\n        iVar5 = param_2[10];\n      } while( true );\n    }\n    uVar4 = 7;\n  }\n  else {\n    if ((bVar7 == 0x16) && (param_6 == '\0')) {\n      FUN_00047340();\n      uVar4 = 0xb;\n      if (local_24 != '\x15') goto LAB_0004b139;\n    }\n    bVar7 = *param_3;\n    *param_1 = 0;\n    *(byte *)(param_1 + 1) = bVar7;\n    uVar4 = 0;\n  }" if (parenthesized_expression "(((bVar7 & 0xfb) == 0x1a) || (bVar7 == 0x1c))" ( (binary_expression "((bVar7 & 0xfb) == 0x1a) || (bVar7 == 0x1c)" (parenthesized_expression "((bVar7 & 0xfb) == 0x1a)" ( (binary_expression "(bVar7 & 0xfb) == 0x1a" (parenthesized_expression "(bVar7 & 0xfb)" ( (binary_expression "bVar7 & 0xfb" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "(bVar7 == 0x1c)" ( (binary_expression "bVar7 == 0x1c" identifier == number_literal) ))) )) (compound_statement "{\n    if (iVar5 < param_2[0xe]) {\n      bVar2 = *param_3;\n      iVar8 = 0;\n      do {\n        iVar6 = iVar5 + 1;\n        if ((bVar7 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n          if ((char)param_2[0x13] == '\0') {\n            param_2[10] = iVar6;\n            bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);\n          }\n          else {\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }\n        }\n        else {\nLAB_0004b19d:\n          param_2[10] = iVar6;\n          bVar7 = *(byte *)(param_2[1] + iVar5);\n        }\n        if (param_2[0xe] <= iVar6) break;\n        if ((bVar2 == bVar7) && (*(char *)(param_2[1] + iVar6) == ']')) {\n          param_2[10] = iVar6 + 1;\n          *(undefined1 *)(param_1[1] + iVar8) = 0;\n          bVar7 = param_3[4];\n          if (bVar7 == 0x1c) {\n            *param_1 = 2;\n            uVar4 = 0;\n          }\n          else if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }\n          goto LAB_0004b139;\n        }\n        *(byte *)(param_1[1] + iVar8) = bVar7;\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x20) break;\n        bVar7 = param_3[4];\n        iVar5 = param_2[10];\n      } while( true );\n    }\n    uVar4 = 7;\n  }" { (if_statement "if (iVar5 < param_2[0xe]) {\n      bVar2 = *param_3;\n      iVar8 = 0;\n      do {\n        iVar6 = iVar5 + 1;\n        if ((bVar7 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n          if ((char)param_2[0x13] == '\0') {\n            param_2[10] = iVar6;\n            bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);\n          }\n          else {\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }\n        }\n        else {\nLAB_0004b19d:\n          param_2[10] = iVar6;\n          bVar7 = *(byte *)(param_2[1] + iVar5);\n        }\n        if (param_2[0xe] <= iVar6) break;\n        if ((bVar2 == bVar7) && (*(char *)(param_2[1] + iVar6) == ']')) {\n          param_2[10] = iVar6 + 1;\n          *(undefined1 *)(param_1[1] + iVar8) = 0;\n          bVar7 = param_3[4];\n          if (bVar7 == 0x1c) {\n            *param_1 = 2;\n            uVar4 = 0;\n          }\n          else if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }\n          goto LAB_0004b139;\n        }\n        *(byte *)(param_1[1] + iVar8) = bVar7;\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x20) break;\n        bVar7 = param_3[4];\n        iVar5 = param_2[10];\n      } while( true );\n    }" if (parenthesized_expression "(iVar5 < param_2[0xe])" ( (binary_expression "iVar5 < param_2[0xe]" identifier < (subscript_expression "param_2[0xe]" identifier [ number_literal ])) )) (compound_statement "{\n      bVar2 = *param_3;\n      iVar8 = 0;\n      do {\n        iVar6 = iVar5 + 1;\n        if ((bVar7 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n          if ((char)param_2[0x13] == '\0') {\n            param_2[10] = iVar6;\n            bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);\n          }\n          else {\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }\n        }\n        else {\nLAB_0004b19d:\n          param_2[10] = iVar6;\n          bVar7 = *(byte *)(param_2[1] + iVar5);\n        }\n        if (param_2[0xe] <= iVar6) break;\n        if ((bVar2 == bVar7) && (*(char *)(param_2[1] + iVar6) == ']')) {\n          param_2[10] = iVar6 + 1;\n          *(undefined1 *)(param_1[1] + iVar8) = 0;\n          bVar7 = param_3[4];\n          if (bVar7 == 0x1c) {\n            *param_1 = 2;\n            uVar4 = 0;\n          }\n          else if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }\n          goto LAB_0004b139;\n        }\n        *(byte *)(param_1[1] + iVar8) = bVar7;\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x20) break;\n        bVar7 = param_3[4];\n        iVar5 = param_2[10];\n      } while( true );\n    }" { (expression_statement "bVar2 = *param_3;" (assignment_expression "bVar2 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar6 = iVar5 + 1;\n        if ((bVar7 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n          if ((char)param_2[0x13] == '\0') {\n            param_2[10] = iVar6;\n            bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);\n          }\n          else {\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }\n        }\n        else {\nLAB_0004b19d:\n          param_2[10] = iVar6;\n          bVar7 = *(byte *)(param_2[1] + iVar5);\n        }\n        if (param_2[0xe] <= iVar6) break;\n        if ((bVar2 == bVar7) && (*(char *)(param_2[1] + iVar6) == ']')) {\n          param_2[10] = iVar6 + 1;\n          *(undefined1 *)(param_1[1] + iVar8) = 0;\n          bVar7 = param_3[4];\n          if (bVar7 == 0x1c) {\n            *param_1 = 2;\n            uVar4 = 0;\n          }\n          else if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }\n          goto LAB_0004b139;\n        }\n        *(byte *)(param_1[1] + iVar8) = bVar7;\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x20) break;\n        bVar7 = param_3[4];\n        iVar5 = param_2[10];\n      } while( true );" do (compound_statement "{\n        iVar6 = iVar5 + 1;\n        if ((bVar7 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n          if ((char)param_2[0x13] == '\0') {\n            param_2[10] = iVar6;\n            bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);\n          }\n          else {\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }\n        }\n        else {\nLAB_0004b19d:\n          param_2[10] = iVar6;\n          bVar7 = *(byte *)(param_2[1] + iVar5);\n        }\n        if (param_2[0xe] <= iVar6) break;\n        if ((bVar2 == bVar7) && (*(char *)(param_2[1] + iVar6) == ']')) {\n          param_2[10] = iVar6 + 1;\n          *(undefined1 *)(param_1[1] + iVar8) = 0;\n          bVar7 = param_3[4];\n          if (bVar7 == 0x1c) {\n            *param_1 = 2;\n            uVar4 = 0;\n          }\n          else if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }\n          goto LAB_0004b139;\n        }\n        *(byte *)(param_1[1] + iVar8) = bVar7;\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x20) break;\n        bVar7 = param_3[4];\n        iVar5 = param_2[10];\n      }" { (expression_statement "iVar6 = iVar5 + 1;" (assignment_expression "iVar6 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (if_statement "if ((bVar7 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n          if ((char)param_2[0x13] == '\0') {\n            param_2[10] = iVar6;\n            bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);\n          }\n          else {\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }\n        }\n        else {\nLAB_0004b19d:\n          param_2[10] = iVar6;\n          bVar7 = *(byte *)(param_2[1] + iVar5);\n        }" if (parenthesized_expression "((bVar7 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0'))" ( (binary_expression "(bVar7 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')" (parenthesized_expression "(bVar7 == 0x1e)" ( (binary_expression "bVar7 == 0x1e" identifier == number_literal) )) && (parenthesized_expression "(*(char *)((int)param_2 + 0x4b) != '\0')" ( (binary_expression "*(char *)((int)param_2 + 0x4b) != '\0'" (pointer_expression "*(char *)((int)param_2 + 0x4b)" * (cast_expression "(char *)((int)param_2 + 0x4b)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 0x4b)" ( (binary_expression "(int)param_2 + 0x4b" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n          if ((char)param_2[0x13] == '\0') {\n            param_2[10] = iVar6;\n            bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);\n          }\n          else {\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }\n        }" { (if_statement "if ((char)param_2[0x13] == '\0') {\n            param_2[10] = iVar6;\n            bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);\n          }\n          else {\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }" if (parenthesized_expression "((char)param_2[0x13] == '\0')" ( (binary_expression "(char)param_2[0x13] == '\0'" (cast_expression "(char)param_2[0x13]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "param_2[0x13]" identifier [ number_literal ])) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            param_2[10] = iVar6;\n            bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);\n          }" { (expression_statement "param_2[10] = iVar6;" (assignment_expression "param_2[10] = iVar6" (subscript_expression "param_2[10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);" (assignment_expression "bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6])" identifier = (pointer_expression "*(byte *)(iVar5 + *param_2 + param_2[6])" * (cast_expression "(byte *)(iVar5 + *param_2 + param_2[6])" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + *param_2 + param_2[6])" ( (binary_expression "iVar5 + *param_2 + param_2[6]" (binary_expression "iVar5 + *param_2" identifier + (pointer_expression "*param_2" * identifier)) + (subscript_expression "param_2[6]" identifier [ number_literal ])) ))))) ;) }) (else_clause "else {\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }" else (compound_statement "{\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }" { (expression_statement "iVar3 = param_2[7];" (assignment_expression "iVar3 = param_2[7]" identifier = (subscript_expression "param_2[7]" identifier [ number_literal ])) ;) (if_statement "if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;" if (parenthesized_expression "(((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0))" ( (binary_expression "((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)" (parenthesized_expression "((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1))" ( (binary_expression "(iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)" (parenthesized_expression "(iVar5 != iVar3)" ( (binary_expression "iVar5 != iVar3" identifier != identifier) )) && (parenthesized_expression "(*(int *)(param_2[2] + iVar5 * 4) == -1)" ( (binary_expression "*(int *)(param_2[2] + iVar5 * 4) == -1" (pointer_expression "*(int *)(param_2[2] + iVar5 * 4)" * (cast_expression "(int *)(param_2[2] + iVar5 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[2] + iVar5 * 4)" ( (binary_expression "param_2[2] + iVar5 * 4" (subscript_expression "param_2[2]" identifier [ number_literal ]) + (binary_expression "iVar5 * 4" identifier * number_literal)) )))) == number_literal) ))) )) || (parenthesized_expression "(bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)" ( (comma_expression "bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0" (assignment_expression "bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6])" identifier = (pointer_expression "*(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6])" * (cast_expression "(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6])" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6])" ( (binary_expression "*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]" (binary_expression "*(int *)(param_2[3] + iVar5 * 4) + *param_2" (pointer_expression "*(int *)(param_2[3] + iVar5 * 4)" * (cast_expression "(int *)(param_2[3] + iVar5 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[3] + iVar5 * 4)" ( (binary_expression "param_2[3] + iVar5 * 4" (subscript_expression "param_2[3]" identifier [ number_literal ]) + (binary_expression "iVar5 * 4" identifier * number_literal)) )))) + (pointer_expression "*param_2" * identifier)) + (subscript_expression "param_2[6]" identifier [ number_literal ])) ))))) , (binary_expression "(bVar7 & 0x80) != 0" (parenthesized_expression "(bVar7 & 0x80)" ( (binary_expression "bVar7 & 0x80" identifier & number_literal) )) != number_literal)) ))) )) (goto_statement "goto LAB_0004b19d;" goto statement_identifier ;)) (if_statement "if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }" if (parenthesized_expression "(((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1))" ( (binary_expression "((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)" (parenthesized_expression "((param_2[0x14] != 1) && (iVar6 < iVar3))" ( (binary_expression "(param_2[0x14] != 1) && (iVar6 < iVar3)" (parenthesized_expression "(param_2[0x14] != 1)" ( (binary_expression "param_2[0x14] != 1" (subscript_expression "param_2[0x14]" identifier [ number_literal ]) != number_literal) )) && (parenthesized_expression "(iVar6 < iVar3)" ( (binary_expression "iVar6 < iVar3" identifier < identifier) ))) )) && (parenthesized_expression "(*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)" ( (binary_expression "*(int *)(param_2[2] + 4 + iVar5 * 4) == -1" (pointer_expression "*(int *)(param_2[2] + 4 + iVar5 * 4)" * (cast_expression "(int *)(param_2[2] + 4 + iVar5 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[2] + 4 + iVar5 * 4)" ( (binary_expression "param_2[2] + 4 + iVar5 * 4" (binary_expression "param_2[2] + 4" (subscript_expression "param_2[2]" identifier [ number_literal ]) + number_literal) + (binary_expression "iVar5 * 4" identifier * number_literal)) )))) == number_literal) ))) )) (compound_statement "{\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }" { (expression_statement "iVar5 = iVar5 + 2;" (assignment_expression "iVar5 = iVar5 + 2" identifier = (binary_expression "iVar5 + 2" identifier + number_literal)) ;) (do_statement "do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);" do (compound_statement "{\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              }" { (expression_statement "iVar6 = iVar5;" (assignment_expression "iVar6 = iVar5" identifier = identifier) ;) (if_statement "if (iVar3 == iVar6) break;" if (parenthesized_expression "(iVar3 == iVar6)" ( (binary_expression "iVar3 == iVar6" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "iVar5 = iVar6 + 1;" (assignment_expression "iVar5 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1)" ( (binary_expression "*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1" (pointer_expression "*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4)" * (cast_expression "(int *)(param_2[2] + -4 + (iVar6 + 1) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[2] + -4 + (iVar6 + 1) * 4)" ( (binary_expression "param_2[2] + -4 + (iVar6 + 1) * 4" (binary_expression "param_2[2] + -4" (subscript_expression "param_2[2]" identifier [ number_literal ]) + number_literal) + (binary_expression "(iVar6 + 1) * 4" (parenthesized_expression "(iVar6 + 1)" ( (binary_expression "iVar6 + 1" identifier + number_literal) )) * number_literal)) )))) == number_literal) )) ;) })) (expression_statement "param_2[10] = iVar6;" (assignment_expression "param_2[10] = iVar6" (subscript_expression "param_2[10]" identifier [ number_literal ]) = identifier) ;) }))) }) (else_clause "else {\nLAB_0004b19d:\n          param_2[10] = iVar6;\n          bVar7 = *(byte *)(param_2[1] + iVar5);\n        }" else (compound_statement "{\nLAB_0004b19d:\n          param_2[10] = iVar6;\n          bVar7 = *(byte *)(param_2[1] + iVar5);\n        }" { (labeled_statement "LAB_0004b19d:\n          param_2[10] = iVar6;" statement_identifier : (expression_statement "param_2[10] = iVar6;" (assignment_expression "param_2[10] = iVar6" (subscript_expression "param_2[10]" identifier [ number_literal ]) = identifier) ;)) (expression_statement "bVar7 = *(byte *)(param_2[1] + iVar5);" (assignment_expression "bVar7 = *(byte *)(param_2[1] + iVar5)" identifier = (pointer_expression "*(byte *)(param_2[1] + iVar5)" * (cast_expression "(byte *)(param_2[1] + iVar5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[1] + iVar5)" ( (binary_expression "param_2[1] + iVar5" (subscript_expression "param_2[1]" identifier [ number_literal ]) + identifier) ))))) ;) }))) (if_statement "if (param_2[0xe] <= iVar6) break;" if (parenthesized_expression "(param_2[0xe] <= iVar6)" ( (binary_expression "param_2[0xe] <= iVar6" (subscript_expression "param_2[0xe]" identifier [ number_literal ]) <= identifier) )) (break_statement "break;" break ;)) (if_statement "if ((bVar2 == bVar7) && (*(char *)(param_2[1] + iVar6) == ']')) {\n          param_2[10] = iVar6 + 1;\n          *(undefined1 *)(param_1[1] + iVar8) = 0;\n          bVar7 = param_3[4];\n          if (bVar7 == 0x1c) {\n            *param_1 = 2;\n            uVar4 = 0;\n          }\n          else if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }\n          goto LAB_0004b139;\n        }" if (parenthesized_expression "((bVar2 == bVar7) && (*(char *)(param_2[1] + iVar6) == ']'))" ( (binary_expression "(bVar2 == bVar7) && (*(char *)(param_2[1] + iVar6) == ']')" (parenthesized_expression "(bVar2 == bVar7)" ( (binary_expression "bVar2 == bVar7" identifier == identifier) )) && (parenthesized_expression "(*(char *)(param_2[1] + iVar6) == ']')" ( (binary_expression "*(char *)(param_2[1] + iVar6) == ']'" (pointer_expression "*(char *)(param_2[1] + iVar6)" * (cast_expression "(char *)(param_2[1] + iVar6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[1] + iVar6)" ( (binary_expression "param_2[1] + iVar6" (subscript_expression "param_2[1]" identifier [ number_literal ]) + identifier) )))) == (char_literal "']'" ' character ')) ))) )) (compound_statement "{\n          param_2[10] = iVar6 + 1;\n          *(undefined1 *)(param_1[1] + iVar8) = 0;\n          bVar7 = param_3[4];\n          if (bVar7 == 0x1c) {\n            *param_1 = 2;\n            uVar4 = 0;\n          }\n          else if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }\n          goto LAB_0004b139;\n        }" { (expression_statement "param_2[10] = iVar6 + 1;" (assignment_expression "param_2[10] = iVar6 + 1" (subscript_expression "param_2[10]" identifier [ number_literal ]) = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "*(undefined1 *)(param_1[1] + iVar8) = 0;" (assignment_expression "*(undefined1 *)(param_1[1] + iVar8) = 0" (pointer_expression "*(undefined1 *)(param_1[1] + iVar8)" * (cast_expression "(undefined1 *)(param_1[1] + iVar8)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[1] + iVar8)" ( (binary_expression "param_1[1] + iVar8" (subscript_expression "param_1[1]" identifier [ number_literal ]) + identifier) )))) = number_literal) ;) (expression_statement "bVar7 = param_3[4];" (assignment_expression "bVar7 = param_3[4]" identifier = (subscript_expression "param_3[4]" identifier [ number_literal ])) ;) (if_statement "if (bVar7 == 0x1c) {\n            *param_1 = 2;\n            uVar4 = 0;\n          }\n          else if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }" if (parenthesized_expression "(bVar7 == 0x1c)" ( (binary_expression "bVar7 == 0x1c" identifier == number_literal) )) (compound_statement "{\n            *param_1 = 2;\n            uVar4 = 0;\n          }" { (expression_statement "*param_1 = 2;" (assignment_expression "*param_1 = 2" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) }) (else_clause "else if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }" else (if_statement "if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }" if (parenthesized_expression "(bVar7 == 0x1e)" ( (binary_expression "bVar7 == 0x1e" identifier == number_literal) )) (compound_statement "{\n            *param_1 = 4;\n            uVar4 = 0;\n          }" { (expression_statement "*param_1 = 4;" (assignment_expression "*param_1 = 4" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }" else (compound_statement "{\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (if_statement "if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }" if (parenthesized_expression "(bVar7 == 0x1a)" ( (binary_expression "bVar7 == 0x1a" identifier == number_literal) )) (compound_statement "{\n              *param_1 = 3;\n            }" { (expression_statement "*param_1 = 3;" (assignment_expression "*param_1 = 3" (pointer_expression "*param_1" * identifier) = number_literal) ;) })) }))))) (goto_statement "goto LAB_0004b139;" goto statement_identifier ;) })) (expression_statement "*(byte *)(param_1[1] + iVar8) = bVar7;" (assignment_expression "*(byte *)(param_1[1] + iVar8) = bVar7" (pointer_expression "*(byte *)(param_1[1] + iVar8)" * (cast_expression "(byte *)(param_1[1] + iVar8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[1] + iVar8)" ( (binary_expression "param_1[1] + iVar8" (subscript_expression "param_1[1]" identifier [ number_literal ]) + identifier) )))) = identifier) ;) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (if_statement "if (iVar8 == 0x20) break;" if (parenthesized_expression "(iVar8 == 0x20)" ( (binary_expression "iVar8 == 0x20" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "bVar7 = param_3[4];" (assignment_expression "bVar7 = param_3[4]" identifier = (subscript_expression "param_3[4]" identifier [ number_literal ])) ;) (expression_statement "iVar5 = param_2[10];" (assignment_expression "iVar5 = param_2[10]" identifier = (subscript_expression "param_2[10]" identifier [ number_literal ])) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "uVar4 = 7;" (assignment_expression "uVar4 = 7" identifier = number_literal) ;) }) (else_clause "else {\n    if ((bVar7 == 0x16) && (param_6 == '\0')) {\n      FUN_00047340();\n      uVar4 = 0xb;\n      if (local_24 != '\x15') goto LAB_0004b139;\n    }\n    bVar7 = *param_3;\n    *param_1 = 0;\n    *(byte *)(param_1 + 1) = bVar7;\n    uVar4 = 0;\n  }" else (compound_statement "{\n    if ((bVar7 == 0x16) && (param_6 == '\0')) {\n      FUN_00047340();\n      uVar4 = 0xb;\n      if (local_24 != '\x15') goto LAB_0004b139;\n    }\n    bVar7 = *param_3;\n    *param_1 = 0;\n    *(byte *)(param_1 + 1) = bVar7;\n    uVar4 = 0;\n  }" { (if_statement "if ((bVar7 == 0x16) && (param_6 == '\0')) {\n      FUN_00047340();\n      uVar4 = 0xb;\n      if (local_24 != '\x15') goto LAB_0004b139;\n    }" if (parenthesized_expression "((bVar7 == 0x16) && (param_6 == '\0'))" ( (binary_expression "(bVar7 == 0x16) && (param_6 == '\0')" (parenthesized_expression "(bVar7 == 0x16)" ( (binary_expression "bVar7 == 0x16" identifier == number_literal) )) && (parenthesized_expression "(param_6 == '\0')" ( (binary_expression "param_6 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      FUN_00047340();\n      uVar4 = 0xb;\n      if (local_24 != '\x15') goto LAB_0004b139;\n    }" { (expression_statement "FUN_00047340();" (call_expression "FUN_00047340()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar4 = 0xb;" (assignment_expression "uVar4 = 0xb" identifier = number_literal) ;) (if_statement "if (local_24 != '\x15') goto LAB_0004b139;" if (parenthesized_expression "(local_24 != '\x15')" ( (binary_expression "local_24 != '\x15'" identifier != (char_literal "'\x15'" ' escape_sequence ')) )) (goto_statement "goto LAB_0004b139;" goto statement_identifier ;)) })) (expression_statement "bVar7 = *param_3;" (assignment_expression "bVar7 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "*(byte *)(param_1 + 1) = bVar7;" (assignment_expression "*(byte *)(param_1 + 1) = bVar7" (pointer_expression "*(byte *)(param_1 + 1)" * (cast_expression "(byte *)(param_1 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) }))) (labeled_statement "LAB_0004b139:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0005a8b0();\n  }" statement_identifier : (if_statement "if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0005a8b0();\n  }" if (parenthesized_expression "(iVar1 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 != *(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_0005a8b0();\n  }" { (expression_statement "FUN_0005a8b0();" (call_expression "FUN_0005a8b0()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return uVar4;" return identifier ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE 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 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 = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (subscript_expression IDENT [ LIT ])) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * LIT)) )))) == LIT) )) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (goto_statement goto statement_identifier ;) })) })) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < (subscript_expression IDENT [ LIT ])) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (pointer_expression * IDENT)) + (subscript_expression IDENT [ LIT ])) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != IDENT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression IDENT * LIT)) )))) == LIT) ))) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (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 (subscript_expression IDENT [ LIT ]) + (binary_expression IDENT * LIT)) )))) + (pointer_expression * IDENT)) + (subscript_expression IDENT [ LIT ])) ))))) , (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT)) ))) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) && (parenthesized_expression ( (binary_expression IDENT < IDENT) ))) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) + (binary_expression IDENT * LIT)) )))) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) + (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * LIT)) )))) == LIT) )) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }))) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + IDENT) ))))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) <= IDENT) )) (break_statement break ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == IDENT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + IDENT) )))) == (char_literal ' character ')) ))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + IDENT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) })) }))))) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + IDENT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }) while (parenthesized_expression ( BOOL )) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * 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 IDENT = LIT) ;) }))) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (return_statement return IDENT ;) })))
(function_definition "undefined4 __regparm3\nFUN_0004b080(undefined4 *param_1,int *param_2,byte *param_3,int param_4,undefined4 param_5,\n            char param_6)\n\n{\n  int iVar1;\n  byte bVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int iVar6;\n  byte bVar7;\n  int iVar8;\n  int in_GS_OFFSET;\n  char local_24;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar5 = param_2[10];\n  if (param_2[0x14] != 1) {\n    iVar8 = iVar5 + 1;\n    if (iVar8 < param_2[7]) {\n      iVar6 = param_2[2];\n      if (*(int *)(iVar6 + iVar8 * 4) == -1) {\n        iVar5 = iVar5 + 2;\n        do {\n          iVar3 = iVar5;\n          if (param_2[7] == iVar3) break;\n          iVar5 = iVar3 + 1;\n        } while (*(int *)(iVar6 + -4 + (iVar3 + 1) * 4) == -1);\n        *param_1 = 1;\n        param_1[1] = *(undefined4 *)(iVar6 + -4 + iVar8 * 4);\n        uVar4 = 0;\n        param_2[10] = iVar3;\n        goto LAB_0004b139;\n      }\n    }\n  }\n  bVar7 = param_3[4];\n  iVar5 = iVar5 + param_4;\n  param_2[10] = iVar5;\n  if (((bVar7 & 0xfb) == 0x1a) || (bVar7 == 0x1c)) {\n    if (iVar5 < param_2[0xe]) {\n      bVar2 = *param_3;\n      iVar8 = 0;\n      do {\n        iVar6 = iVar5 + 1;\n        if ((bVar7 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n          if ((char)param_2[0x13] == '\0') {\n            param_2[10] = iVar6;\n            bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);\n          }\n          else {\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }\n        }\n        else {\nLAB_0004b19d:\n          param_2[10] = iVar6;\n          bVar7 = *(byte *)(param_2[1] + iVar5);\n        }\n        if (param_2[0xe] <= iVar6) break;\n        if ((bVar2 == bVar7) && (*(char *)(param_2[1] + iVar6) == ']')) {\n          param_2[10] = iVar6 + 1;\n          *(undefined1 *)(param_1[1] + iVar8) = 0;\n          bVar7 = param_3[4];\n          if (bVar7 == 0x1c) {\n            *param_1 = 2;\n            uVar4 = 0;\n          }\n          else if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }\n          goto LAB_0004b139;\n        }\n        *(byte *)(param_1[1] + iVar8) = bVar7;\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x20) break;\n        bVar7 = param_3[4];\n        iVar5 = param_2[10];\n      } while( true );\n    }\n    uVar4 = 7;\n  }\n  else {\n    if ((bVar7 == 0x16) && (param_6 == '\0')) {\n      FUN_00047340();\n      uVar4 = 0xb;\n      if (local_24 != '\x15') goto LAB_0004b139;\n    }\n    bVar7 = *param_3;\n    *param_1 = 0;\n    *(byte *)(param_1 + 1) = bVar7;\n    uVar4 = 0;\n  }\nLAB_0004b139:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0005a8b0();\n  }\n  return uVar4;\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0004b080(undefined4 *param_1,int *param_2,byte *param_3,int param_4,undefined4 param_5,\n            char param_6)" (identifier "FUN_0004b080") (parameter_list "(undefined4 *param_1,int *param_2,byte *param_3,int param_4,undefined4 param_5,\n            char param_6)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "byte *param_3" (type_identifier "byte") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) (, ",") (parameter_declaration "char param_6" (primitive_type "char") (identifier "param_6")) () ")"))) (compound_statement "{\n  int iVar1;\n  byte bVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int iVar6;\n  byte bVar7;\n  int iVar8;\n  int in_GS_OFFSET;\n  char local_24;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar5 = param_2[10];\n  if (param_2[0x14] != 1) {\n    iVar8 = iVar5 + 1;\n    if (iVar8 < param_2[7]) {\n      iVar6 = param_2[2];\n      if (*(int *)(iVar6 + iVar8 * 4) == -1) {\n        iVar5 = iVar5 + 2;\n        do {\n          iVar3 = iVar5;\n          if (param_2[7] == iVar3) break;\n          iVar5 = iVar3 + 1;\n        } while (*(int *)(iVar6 + -4 + (iVar3 + 1) * 4) == -1);\n        *param_1 = 1;\n        param_1[1] = *(undefined4 *)(iVar6 + -4 + iVar8 * 4);\n        uVar4 = 0;\n        param_2[10] = iVar3;\n        goto LAB_0004b139;\n      }\n    }\n  }\n  bVar7 = param_3[4];\n  iVar5 = iVar5 + param_4;\n  param_2[10] = iVar5;\n  if (((bVar7 & 0xfb) == 0x1a) || (bVar7 == 0x1c)) {\n    if (iVar5 < param_2[0xe]) {\n      bVar2 = *param_3;\n      iVar8 = 0;\n      do {\n        iVar6 = iVar5 + 1;\n        if ((bVar7 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n          if ((char)param_2[0x13] == '\0') {\n            param_2[10] = iVar6;\n            bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);\n          }\n          else {\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }\n        }\n        else {\nLAB_0004b19d:\n          param_2[10] = iVar6;\n          bVar7 = *(byte *)(param_2[1] + iVar5);\n        }\n        if (param_2[0xe] <= iVar6) break;\n        if ((bVar2 == bVar7) && (*(char *)(param_2[1] + iVar6) == ']')) {\n          param_2[10] = iVar6 + 1;\n          *(undefined1 *)(param_1[1] + iVar8) = 0;\n          bVar7 = param_3[4];\n          if (bVar7 == 0x1c) {\n            *param_1 = 2;\n            uVar4 = 0;\n          }\n          else if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }\n          goto LAB_0004b139;\n        }\n        *(byte *)(param_1[1] + iVar8) = bVar7;\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x20) break;\n        bVar7 = param_3[4];\n        iVar5 = param_2[10];\n      } while( true );\n    }\n    uVar4 = 7;\n  }\n  else {\n    if ((bVar7 == 0x16) && (param_6 == '\0')) {\n      FUN_00047340();\n      uVar4 = 0xb;\n      if (local_24 != '\x15') goto LAB_0004b139;\n    }\n    bVar7 = *param_3;\n    *param_1 = 0;\n    *(byte *)(param_1 + 1) = bVar7;\n    uVar4 = 0;\n  }\nLAB_0004b139:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0005a8b0();\n  }\n  return uVar4;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "byte bVar2;" (type_identifier "byte") (identifier "bVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (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 "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "char local_24;" (primitive_type "char") (identifier "local_24") (; ";")) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "iVar1") (= "=") (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 "iVar5 = param_2[10];" (assignment_expression "iVar5 = param_2[10]" (identifier "iVar5") (= "=") (subscript_expression "param_2[10]" (identifier "param_2") ([ "[") (number_literal "10") (] "]"))) (; ";")) (if_statement "if (param_2[0x14] != 1) {\n    iVar8 = iVar5 + 1;\n    if (iVar8 < param_2[7]) {\n      iVar6 = param_2[2];\n      if (*(int *)(iVar6 + iVar8 * 4) == -1) {\n        iVar5 = iVar5 + 2;\n        do {\n          iVar3 = iVar5;\n          if (param_2[7] == iVar3) break;\n          iVar5 = iVar3 + 1;\n        } while (*(int *)(iVar6 + -4 + (iVar3 + 1) * 4) == -1);\n        *param_1 = 1;\n        param_1[1] = *(undefined4 *)(iVar6 + -4 + iVar8 * 4);\n        uVar4 = 0;\n        param_2[10] = iVar3;\n        goto LAB_0004b139;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(param_2[0x14] != 1)" (( "(") (binary_expression "param_2[0x14] != 1" (subscript_expression "param_2[0x14]" (identifier "param_2") ([ "[") (number_literal "0x14") (] "]")) (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n    iVar8 = iVar5 + 1;\n    if (iVar8 < param_2[7]) {\n      iVar6 = param_2[2];\n      if (*(int *)(iVar6 + iVar8 * 4) == -1) {\n        iVar5 = iVar5 + 2;\n        do {\n          iVar3 = iVar5;\n          if (param_2[7] == iVar3) break;\n          iVar5 = iVar3 + 1;\n        } while (*(int *)(iVar6 + -4 + (iVar3 + 1) * 4) == -1);\n        *param_1 = 1;\n        param_1[1] = *(undefined4 *)(iVar6 + -4 + iVar8 * 4);\n        uVar4 = 0;\n        param_2[10] = iVar3;\n        goto LAB_0004b139;\n      }\n    }\n  }" ({ "{") (expression_statement "iVar8 = iVar5 + 1;" (assignment_expression "iVar8 = iVar5 + 1" (identifier "iVar8") (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar8 < param_2[7]) {\n      iVar6 = param_2[2];\n      if (*(int *)(iVar6 + iVar8 * 4) == -1) {\n        iVar5 = iVar5 + 2;\n        do {\n          iVar3 = iVar5;\n          if (param_2[7] == iVar3) break;\n          iVar5 = iVar3 + 1;\n        } while (*(int *)(iVar6 + -4 + (iVar3 + 1) * 4) == -1);\n        *param_1 = 1;\n        param_1[1] = *(undefined4 *)(iVar6 + -4 + iVar8 * 4);\n        uVar4 = 0;\n        param_2[10] = iVar3;\n        goto LAB_0004b139;\n      }\n    }" (if "if") (parenthesized_expression "(iVar8 < param_2[7])" (( "(") (binary_expression "iVar8 < param_2[7]" (identifier "iVar8") (< "<") (subscript_expression "param_2[7]" (identifier "param_2") ([ "[") (number_literal "7") (] "]"))) () ")")) (compound_statement "{\n      iVar6 = param_2[2];\n      if (*(int *)(iVar6 + iVar8 * 4) == -1) {\n        iVar5 = iVar5 + 2;\n        do {\n          iVar3 = iVar5;\n          if (param_2[7] == iVar3) break;\n          iVar5 = iVar3 + 1;\n        } while (*(int *)(iVar6 + -4 + (iVar3 + 1) * 4) == -1);\n        *param_1 = 1;\n        param_1[1] = *(undefined4 *)(iVar6 + -4 + iVar8 * 4);\n        uVar4 = 0;\n        param_2[10] = iVar3;\n        goto LAB_0004b139;\n      }\n    }" ({ "{") (expression_statement "iVar6 = param_2[2];" (assignment_expression "iVar6 = param_2[2]" (identifier "iVar6") (= "=") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (if_statement "if (*(int *)(iVar6 + iVar8 * 4) == -1) {\n        iVar5 = iVar5 + 2;\n        do {\n          iVar3 = iVar5;\n          if (param_2[7] == iVar3) break;\n          iVar5 = iVar3 + 1;\n        } while (*(int *)(iVar6 + -4 + (iVar3 + 1) * 4) == -1);\n        *param_1 = 1;\n        param_1[1] = *(undefined4 *)(iVar6 + -4 + iVar8 * 4);\n        uVar4 = 0;\n        param_2[10] = iVar3;\n        goto LAB_0004b139;\n      }" (if "if") (parenthesized_expression "(*(int *)(iVar6 + iVar8 * 4) == -1)" (( "(") (binary_expression "*(int *)(iVar6 + iVar8 * 4) == -1" (pointer_expression "*(int *)(iVar6 + iVar8 * 4)" (* "*") (cast_expression "(int *)(iVar6 + iVar8 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + iVar8 * 4)" (( "(") (binary_expression "iVar6 + iVar8 * 4" (identifier "iVar6") (+ "+") (binary_expression "iVar8 * 4" (identifier "iVar8") (* "*") (number_literal "4"))) () ")")))) (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n        iVar5 = iVar5 + 2;\n        do {\n          iVar3 = iVar5;\n          if (param_2[7] == iVar3) break;\n          iVar5 = iVar3 + 1;\n        } while (*(int *)(iVar6 + -4 + (iVar3 + 1) * 4) == -1);\n        *param_1 = 1;\n        param_1[1] = *(undefined4 *)(iVar6 + -4 + iVar8 * 4);\n        uVar4 = 0;\n        param_2[10] = iVar3;\n        goto LAB_0004b139;\n      }" ({ "{") (expression_statement "iVar5 = iVar5 + 2;" (assignment_expression "iVar5 = iVar5 + 2" (identifier "iVar5") (= "=") (binary_expression "iVar5 + 2" (identifier "iVar5") (+ "+") (number_literal "2"))) (; ";")) (do_statement "do {\n          iVar3 = iVar5;\n          if (param_2[7] == iVar3) break;\n          iVar5 = iVar3 + 1;\n        } while (*(int *)(iVar6 + -4 + (iVar3 + 1) * 4) == -1);" (do "do") (compound_statement "{\n          iVar3 = iVar5;\n          if (param_2[7] == iVar3) break;\n          iVar5 = iVar3 + 1;\n        }" ({ "{") (expression_statement "iVar3 = iVar5;" (assignment_expression "iVar3 = iVar5" (identifier "iVar3") (= "=") (identifier "iVar5")) (; ";")) (if_statement "if (param_2[7] == iVar3) break;" (if "if") (parenthesized_expression "(param_2[7] == iVar3)" (( "(") (binary_expression "param_2[7] == iVar3" (subscript_expression "param_2[7]" (identifier "param_2") ([ "[") (number_literal "7") (] "]")) (== "==") (identifier "iVar3")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar5 = iVar3 + 1;" (assignment_expression "iVar5 = iVar3 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*(int *)(iVar6 + -4 + (iVar3 + 1) * 4) == -1)" (( "(") (binary_expression "*(int *)(iVar6 + -4 + (iVar3 + 1) * 4) == -1" (pointer_expression "*(int *)(iVar6 + -4 + (iVar3 + 1) * 4)" (* "*") (cast_expression "(int *)(iVar6 + -4 + (iVar3 + 1) * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + -4 + (iVar3 + 1) * 4)" (( "(") (binary_expression "iVar6 + -4 + (iVar3 + 1) * 4" (binary_expression "iVar6 + -4" (identifier "iVar6") (+ "+") (number_literal "-4")) (+ "+") (binary_expression "(iVar3 + 1) * 4" (parenthesized_expression "(iVar3 + 1)" (( "(") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1")) () ")")) (* "*") (number_literal "4"))) () ")")))) (== "==") (number_literal "-1")) () ")")) (; ";")) (expression_statement "*param_1 = 1;" (assignment_expression "*param_1 = 1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "1")) (; ";")) (expression_statement "param_1[1] = *(undefined4 *)(iVar6 + -4 + iVar8 * 4);" (assignment_expression "param_1[1] = *(undefined4 *)(iVar6 + -4 + iVar8 * 4)" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (pointer_expression "*(undefined4 *)(iVar6 + -4 + iVar8 * 4)" (* "*") (cast_expression "(undefined4 *)(iVar6 + -4 + iVar8 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + -4 + iVar8 * 4)" (( "(") (binary_expression "iVar6 + -4 + iVar8 * 4" (binary_expression "iVar6 + -4" (identifier "iVar6") (+ "+") (number_literal "-4")) (+ "+") (binary_expression "iVar8 * 4" (identifier "iVar8") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "param_2[10] = iVar3;" (assignment_expression "param_2[10] = iVar3" (subscript_expression "param_2[10]" (identifier "param_2") ([ "[") (number_literal "10") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (goto_statement "goto LAB_0004b139;" (goto "goto") (statement_identifier "LAB_0004b139") (; ";")) (} "}"))) (} "}"))) (} "}"))) (expression_statement "bVar7 = param_3[4];" (assignment_expression "bVar7 = param_3[4]" (identifier "bVar7") (= "=") (subscript_expression "param_3[4]" (identifier "param_3") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "iVar5 = iVar5 + param_4;" (assignment_expression "iVar5 = iVar5 + param_4" (identifier "iVar5") (= "=") (binary_expression "iVar5 + param_4" (identifier "iVar5") (+ "+") (identifier "param_4"))) (; ";")) (expression_statement "param_2[10] = iVar5;" (assignment_expression "param_2[10] = iVar5" (subscript_expression "param_2[10]" (identifier "param_2") ([ "[") (number_literal "10") (] "]")) (= "=") (identifier "iVar5")) (; ";")) (if_statement "if (((bVar7 & 0xfb) == 0x1a) || (bVar7 == 0x1c)) {\n    if (iVar5 < param_2[0xe]) {\n      bVar2 = *param_3;\n      iVar8 = 0;\n      do {\n        iVar6 = iVar5 + 1;\n        if ((bVar7 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n          if ((char)param_2[0x13] == '\0') {\n            param_2[10] = iVar6;\n            bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);\n          }\n          else {\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }\n        }\n        else {\nLAB_0004b19d:\n          param_2[10] = iVar6;\n          bVar7 = *(byte *)(param_2[1] + iVar5);\n        }\n        if (param_2[0xe] <= iVar6) break;\n        if ((bVar2 == bVar7) && (*(char *)(param_2[1] + iVar6) == ']')) {\n          param_2[10] = iVar6 + 1;\n          *(undefined1 *)(param_1[1] + iVar8) = 0;\n          bVar7 = param_3[4];\n          if (bVar7 == 0x1c) {\n            *param_1 = 2;\n            uVar4 = 0;\n          }\n          else if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }\n          goto LAB_0004b139;\n        }\n        *(byte *)(param_1[1] + iVar8) = bVar7;\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x20) break;\n        bVar7 = param_3[4];\n        iVar5 = param_2[10];\n      } while( true );\n    }\n    uVar4 = 7;\n  }\n  else {\n    if ((bVar7 == 0x16) && (param_6 == '\0')) {\n      FUN_00047340();\n      uVar4 = 0xb;\n      if (local_24 != '\x15') goto LAB_0004b139;\n    }\n    bVar7 = *param_3;\n    *param_1 = 0;\n    *(byte *)(param_1 + 1) = bVar7;\n    uVar4 = 0;\n  }" (if "if") (parenthesized_expression "(((bVar7 & 0xfb) == 0x1a) || (bVar7 == 0x1c))" (( "(") (binary_expression "((bVar7 & 0xfb) == 0x1a) || (bVar7 == 0x1c)" (parenthesized_expression "((bVar7 & 0xfb) == 0x1a)" (( "(") (binary_expression "(bVar7 & 0xfb) == 0x1a" (parenthesized_expression "(bVar7 & 0xfb)" (( "(") (binary_expression "bVar7 & 0xfb" (identifier "bVar7") (& "&") (number_literal "0xfb")) () ")")) (== "==") (number_literal "0x1a")) () ")")) (|| "||") (parenthesized_expression "(bVar7 == 0x1c)" (( "(") (binary_expression "bVar7 == 0x1c" (identifier "bVar7") (== "==") (number_literal "0x1c")) () ")"))) () ")")) (compound_statement "{\n    if (iVar5 < param_2[0xe]) {\n      bVar2 = *param_3;\n      iVar8 = 0;\n      do {\n        iVar6 = iVar5 + 1;\n        if ((bVar7 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n          if ((char)param_2[0x13] == '\0') {\n            param_2[10] = iVar6;\n            bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);\n          }\n          else {\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }\n        }\n        else {\nLAB_0004b19d:\n          param_2[10] = iVar6;\n          bVar7 = *(byte *)(param_2[1] + iVar5);\n        }\n        if (param_2[0xe] <= iVar6) break;\n        if ((bVar2 == bVar7) && (*(char *)(param_2[1] + iVar6) == ']')) {\n          param_2[10] = iVar6 + 1;\n          *(undefined1 *)(param_1[1] + iVar8) = 0;\n          bVar7 = param_3[4];\n          if (bVar7 == 0x1c) {\n            *param_1 = 2;\n            uVar4 = 0;\n          }\n          else if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }\n          goto LAB_0004b139;\n        }\n        *(byte *)(param_1[1] + iVar8) = bVar7;\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x20) break;\n        bVar7 = param_3[4];\n        iVar5 = param_2[10];\n      } while( true );\n    }\n    uVar4 = 7;\n  }" ({ "{") (if_statement "if (iVar5 < param_2[0xe]) {\n      bVar2 = *param_3;\n      iVar8 = 0;\n      do {\n        iVar6 = iVar5 + 1;\n        if ((bVar7 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n          if ((char)param_2[0x13] == '\0') {\n            param_2[10] = iVar6;\n            bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);\n          }\n          else {\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }\n        }\n        else {\nLAB_0004b19d:\n          param_2[10] = iVar6;\n          bVar7 = *(byte *)(param_2[1] + iVar5);\n        }\n        if (param_2[0xe] <= iVar6) break;\n        if ((bVar2 == bVar7) && (*(char *)(param_2[1] + iVar6) == ']')) {\n          param_2[10] = iVar6 + 1;\n          *(undefined1 *)(param_1[1] + iVar8) = 0;\n          bVar7 = param_3[4];\n          if (bVar7 == 0x1c) {\n            *param_1 = 2;\n            uVar4 = 0;\n          }\n          else if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }\n          goto LAB_0004b139;\n        }\n        *(byte *)(param_1[1] + iVar8) = bVar7;\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x20) break;\n        bVar7 = param_3[4];\n        iVar5 = param_2[10];\n      } while( true );\n    }" (if "if") (parenthesized_expression "(iVar5 < param_2[0xe])" (( "(") (binary_expression "iVar5 < param_2[0xe]" (identifier "iVar5") (< "<") (subscript_expression "param_2[0xe]" (identifier "param_2") ([ "[") (number_literal "0xe") (] "]"))) () ")")) (compound_statement "{\n      bVar2 = *param_3;\n      iVar8 = 0;\n      do {\n        iVar6 = iVar5 + 1;\n        if ((bVar7 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n          if ((char)param_2[0x13] == '\0') {\n            param_2[10] = iVar6;\n            bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);\n          }\n          else {\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }\n        }\n        else {\nLAB_0004b19d:\n          param_2[10] = iVar6;\n          bVar7 = *(byte *)(param_2[1] + iVar5);\n        }\n        if (param_2[0xe] <= iVar6) break;\n        if ((bVar2 == bVar7) && (*(char *)(param_2[1] + iVar6) == ']')) {\n          param_2[10] = iVar6 + 1;\n          *(undefined1 *)(param_1[1] + iVar8) = 0;\n          bVar7 = param_3[4];\n          if (bVar7 == 0x1c) {\n            *param_1 = 2;\n            uVar4 = 0;\n          }\n          else if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }\n          goto LAB_0004b139;\n        }\n        *(byte *)(param_1[1] + iVar8) = bVar7;\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x20) break;\n        bVar7 = param_3[4];\n        iVar5 = param_2[10];\n      } while( true );\n    }" ({ "{") (expression_statement "bVar2 = *param_3;" (assignment_expression "bVar2 = *param_3" (identifier "bVar2") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" (identifier "iVar8") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        iVar6 = iVar5 + 1;\n        if ((bVar7 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n          if ((char)param_2[0x13] == '\0') {\n            param_2[10] = iVar6;\n            bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);\n          }\n          else {\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }\n        }\n        else {\nLAB_0004b19d:\n          param_2[10] = iVar6;\n          bVar7 = *(byte *)(param_2[1] + iVar5);\n        }\n        if (param_2[0xe] <= iVar6) break;\n        if ((bVar2 == bVar7) && (*(char *)(param_2[1] + iVar6) == ']')) {\n          param_2[10] = iVar6 + 1;\n          *(undefined1 *)(param_1[1] + iVar8) = 0;\n          bVar7 = param_3[4];\n          if (bVar7 == 0x1c) {\n            *param_1 = 2;\n            uVar4 = 0;\n          }\n          else if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }\n          goto LAB_0004b139;\n        }\n        *(byte *)(param_1[1] + iVar8) = bVar7;\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x20) break;\n        bVar7 = param_3[4];\n        iVar5 = param_2[10];\n      } while( true );" (do "do") (compound_statement "{\n        iVar6 = iVar5 + 1;\n        if ((bVar7 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n          if ((char)param_2[0x13] == '\0') {\n            param_2[10] = iVar6;\n            bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);\n          }\n          else {\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }\n        }\n        else {\nLAB_0004b19d:\n          param_2[10] = iVar6;\n          bVar7 = *(byte *)(param_2[1] + iVar5);\n        }\n        if (param_2[0xe] <= iVar6) break;\n        if ((bVar2 == bVar7) && (*(char *)(param_2[1] + iVar6) == ']')) {\n          param_2[10] = iVar6 + 1;\n          *(undefined1 *)(param_1[1] + iVar8) = 0;\n          bVar7 = param_3[4];\n          if (bVar7 == 0x1c) {\n            *param_1 = 2;\n            uVar4 = 0;\n          }\n          else if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }\n          goto LAB_0004b139;\n        }\n        *(byte *)(param_1[1] + iVar8) = bVar7;\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x20) break;\n        bVar7 = param_3[4];\n        iVar5 = param_2[10];\n      }" ({ "{") (expression_statement "iVar6 = iVar5 + 1;" (assignment_expression "iVar6 = iVar5 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if ((bVar7 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n          if ((char)param_2[0x13] == '\0') {\n            param_2[10] = iVar6;\n            bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);\n          }\n          else {\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }\n        }\n        else {\nLAB_0004b19d:\n          param_2[10] = iVar6;\n          bVar7 = *(byte *)(param_2[1] + iVar5);\n        }" (if "if") (parenthesized_expression "((bVar7 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0'))" (( "(") (binary_expression "(bVar7 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')" (parenthesized_expression "(bVar7 == 0x1e)" (( "(") (binary_expression "bVar7 == 0x1e" (identifier "bVar7") (== "==") (number_literal "0x1e")) () ")")) (&& "&&") (parenthesized_expression "(*(char *)((int)param_2 + 0x4b) != '\0')" (( "(") (binary_expression "*(char *)((int)param_2 + 0x4b) != '\0'" (pointer_expression "*(char *)((int)param_2 + 0x4b)" (* "*") (cast_expression "(char *)((int)param_2 + 0x4b)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_2 + 0x4b)" (( "(") (binary_expression "(int)param_2 + 0x4b" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (+ "+") (number_literal "0x4b")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n          if ((char)param_2[0x13] == '\0') {\n            param_2[10] = iVar6;\n            bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);\n          }\n          else {\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }\n        }" ({ "{") (if_statement "if ((char)param_2[0x13] == '\0') {\n            param_2[10] = iVar6;\n            bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);\n          }\n          else {\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }" (if "if") (parenthesized_expression "((char)param_2[0x13] == '\0')" (( "(") (binary_expression "(char)param_2[0x13] == '\0'" (cast_expression "(char)param_2[0x13]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "param_2[0x13]" (identifier "param_2") ([ "[") (number_literal "0x13") (] "]"))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n            param_2[10] = iVar6;\n            bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);\n          }" ({ "{") (expression_statement "param_2[10] = iVar6;" (assignment_expression "param_2[10] = iVar6" (subscript_expression "param_2[10]" (identifier "param_2") ([ "[") (number_literal "10") (] "]")) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);" (assignment_expression "bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6])" (identifier "bVar7") (= "=") (pointer_expression "*(byte *)(iVar5 + *param_2 + param_2[6])" (* "*") (cast_expression "(byte *)(iVar5 + *param_2 + param_2[6])" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + *param_2 + param_2[6])" (( "(") (binary_expression "iVar5 + *param_2 + param_2[6]" (binary_expression "iVar5 + *param_2" (identifier "iVar5") (+ "+") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (+ "+") (subscript_expression "param_2[6]" (identifier "param_2") ([ "[") (number_literal "6") (] "]"))) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }" (else "else") (compound_statement "{\n            iVar3 = param_2[7];\n            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;\n            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }\n            param_2[10] = iVar6;\n          }" ({ "{") (expression_statement "iVar3 = param_2[7];" (assignment_expression "iVar3 = param_2[7]" (identifier "iVar3") (= "=") (subscript_expression "param_2[7]" (identifier "param_2") ([ "[") (number_literal "7") (] "]"))) (; ";")) (if_statement "if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;" (if "if") (parenthesized_expression "(((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0))" (( "(") (binary_expression "((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||\n               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)" (parenthesized_expression "((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1))" (( "(") (binary_expression "(iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)" (parenthesized_expression "(iVar5 != iVar3)" (( "(") (binary_expression "iVar5 != iVar3" (identifier "iVar5") (!= "!=") (identifier "iVar3")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(param_2[2] + iVar5 * 4) == -1)" (( "(") (binary_expression "*(int *)(param_2[2] + iVar5 * 4) == -1" (pointer_expression "*(int *)(param_2[2] + iVar5 * 4)" (* "*") (cast_expression "(int *)(param_2[2] + iVar5 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2[2] + iVar5 * 4)" (( "(") (binary_expression "param_2[2] + iVar5 * 4" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (+ "+") (binary_expression "iVar5 * 4" (identifier "iVar5") (* "*") (number_literal "4"))) () ")")))) (== "==") (number_literal "-1")) () ")"))) () ")")) (|| "||") (parenthesized_expression "(bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0)" (( "(") (comma_expression "bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),\n               (bVar7 & 0x80) != 0" (assignment_expression "bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6])" (identifier "bVar7") (= "=") (pointer_expression "*(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6])" (* "*") (cast_expression "(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6])" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6])" (( "(") (binary_expression "*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]" (binary_expression "*(int *)(param_2[3] + iVar5 * 4) + *param_2" (pointer_expression "*(int *)(param_2[3] + iVar5 * 4)" (* "*") (cast_expression "(int *)(param_2[3] + iVar5 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2[3] + iVar5 * 4)" (( "(") (binary_expression "param_2[3] + iVar5 * 4" (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]")) (+ "+") (binary_expression "iVar5 * 4" (identifier "iVar5") (* "*") (number_literal "4"))) () ")")))) (+ "+") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (+ "+") (subscript_expression "param_2[6]" (identifier "param_2") ([ "[") (number_literal "6") (] "]"))) () ")"))))) (, ",") (binary_expression "(bVar7 & 0x80) != 0" (parenthesized_expression "(bVar7 & 0x80)" (( "(") (binary_expression "bVar7 & 0x80" (identifier "bVar7") (& "&") (number_literal "0x80")) () ")")) (!= "!=") (number_literal "0"))) () ")"))) () ")")) (goto_statement "goto LAB_0004b19d;" (goto "goto") (statement_identifier "LAB_0004b19d") (; ";"))) (if_statement "if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }" (if "if") (parenthesized_expression "(((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1))" (( "(") (binary_expression "((param_2[0x14] != 1) && (iVar6 < iVar3)) &&\n               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)" (parenthesized_expression "((param_2[0x14] != 1) && (iVar6 < iVar3))" (( "(") (binary_expression "(param_2[0x14] != 1) && (iVar6 < iVar3)" (parenthesized_expression "(param_2[0x14] != 1)" (( "(") (binary_expression "param_2[0x14] != 1" (subscript_expression "param_2[0x14]" (identifier "param_2") ([ "[") (number_literal "0x14") (] "]")) (!= "!=") (number_literal "1")) () ")")) (&& "&&") (parenthesized_expression "(iVar6 < iVar3)" (( "(") (binary_expression "iVar6 < iVar3" (identifier "iVar6") (< "<") (identifier "iVar3")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)" (( "(") (binary_expression "*(int *)(param_2[2] + 4 + iVar5 * 4) == -1" (pointer_expression "*(int *)(param_2[2] + 4 + iVar5 * 4)" (* "*") (cast_expression "(int *)(param_2[2] + 4 + iVar5 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2[2] + 4 + iVar5 * 4)" (( "(") (binary_expression "param_2[2] + 4 + iVar5 * 4" (binary_expression "param_2[2] + 4" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (+ "+") (number_literal "4")) (+ "+") (binary_expression "iVar5 * 4" (identifier "iVar5") (* "*") (number_literal "4"))) () ")")))) (== "==") (number_literal "-1")) () ")"))) () ")")) (compound_statement "{\n              iVar5 = iVar5 + 2;\n              do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);\n            }" ({ "{") (expression_statement "iVar5 = iVar5 + 2;" (assignment_expression "iVar5 = iVar5 + 2" (identifier "iVar5") (= "=") (binary_expression "iVar5 + 2" (identifier "iVar5") (+ "+") (number_literal "2"))) (; ";")) (do_statement "do {\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);" (do "do") (compound_statement "{\n                iVar6 = iVar5;\n                if (iVar3 == iVar6) break;\n                iVar5 = iVar6 + 1;\n              }" ({ "{") (expression_statement "iVar6 = iVar5;" (assignment_expression "iVar6 = iVar5" (identifier "iVar6") (= "=") (identifier "iVar5")) (; ";")) (if_statement "if (iVar3 == iVar6) break;" (if "if") (parenthesized_expression "(iVar3 == iVar6)" (( "(") (binary_expression "iVar3 == iVar6" (identifier "iVar3") (== "==") (identifier "iVar6")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar5 = iVar6 + 1;" (assignment_expression "iVar5 = iVar6 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1)" (( "(") (binary_expression "*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1" (pointer_expression "*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4)" (* "*") (cast_expression "(int *)(param_2[2] + -4 + (iVar6 + 1) * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2[2] + -4 + (iVar6 + 1) * 4)" (( "(") (binary_expression "param_2[2] + -4 + (iVar6 + 1) * 4" (binary_expression "param_2[2] + -4" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (+ "+") (number_literal "-4")) (+ "+") (binary_expression "(iVar6 + 1) * 4" (parenthesized_expression "(iVar6 + 1)" (( "(") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1")) () ")")) (* "*") (number_literal "4"))) () ")")))) (== "==") (number_literal "-1")) () ")")) (; ";")) (} "}"))) (expression_statement "param_2[10] = iVar6;" (assignment_expression "param_2[10] = iVar6" (subscript_expression "param_2[10]" (identifier "param_2") ([ "[") (number_literal "10") (] "]")) (= "=") (identifier "iVar6")) (; ";")) (} "}")))) (} "}")) (else_clause "else {\nLAB_0004b19d:\n          param_2[10] = iVar6;\n          bVar7 = *(byte *)(param_2[1] + iVar5);\n        }" (else "else") (compound_statement "{\nLAB_0004b19d:\n          param_2[10] = iVar6;\n          bVar7 = *(byte *)(param_2[1] + iVar5);\n        }" ({ "{") (labeled_statement "LAB_0004b19d:\n          param_2[10] = iVar6;" (statement_identifier "LAB_0004b19d") (: ":") (expression_statement "param_2[10] = iVar6;" (assignment_expression "param_2[10] = iVar6" (subscript_expression "param_2[10]" (identifier "param_2") ([ "[") (number_literal "10") (] "]")) (= "=") (identifier "iVar6")) (; ";"))) (expression_statement "bVar7 = *(byte *)(param_2[1] + iVar5);" (assignment_expression "bVar7 = *(byte *)(param_2[1] + iVar5)" (identifier "bVar7") (= "=") (pointer_expression "*(byte *)(param_2[1] + iVar5)" (* "*") (cast_expression "(byte *)(param_2[1] + iVar5)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2[1] + iVar5)" (( "(") (binary_expression "param_2[1] + iVar5" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (+ "+") (identifier "iVar5")) () ")"))))) (; ";")) (} "}")))) (if_statement "if (param_2[0xe] <= iVar6) break;" (if "if") (parenthesized_expression "(param_2[0xe] <= iVar6)" (( "(") (binary_expression "param_2[0xe] <= iVar6" (subscript_expression "param_2[0xe]" (identifier "param_2") ([ "[") (number_literal "0xe") (] "]")) (<= "<=") (identifier "iVar6")) () ")")) (break_statement "break;" (break "break") (; ";"))) (if_statement "if ((bVar2 == bVar7) && (*(char *)(param_2[1] + iVar6) == ']')) {\n          param_2[10] = iVar6 + 1;\n          *(undefined1 *)(param_1[1] + iVar8) = 0;\n          bVar7 = param_3[4];\n          if (bVar7 == 0x1c) {\n            *param_1 = 2;\n            uVar4 = 0;\n          }\n          else if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }\n          goto LAB_0004b139;\n        }" (if "if") (parenthesized_expression "((bVar2 == bVar7) && (*(char *)(param_2[1] + iVar6) == ']'))" (( "(") (binary_expression "(bVar2 == bVar7) && (*(char *)(param_2[1] + iVar6) == ']')" (parenthesized_expression "(bVar2 == bVar7)" (( "(") (binary_expression "bVar2 == bVar7" (identifier "bVar2") (== "==") (identifier "bVar7")) () ")")) (&& "&&") (parenthesized_expression "(*(char *)(param_2[1] + iVar6) == ']')" (( "(") (binary_expression "*(char *)(param_2[1] + iVar6) == ']'" (pointer_expression "*(char *)(param_2[1] + iVar6)" (* "*") (cast_expression "(char *)(param_2[1] + iVar6)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2[1] + iVar6)" (( "(") (binary_expression "param_2[1] + iVar6" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (+ "+") (identifier "iVar6")) () ")")))) (== "==") (char_literal "']'" (' "'") (character "]") (' "'"))) () ")"))) () ")")) (compound_statement "{\n          param_2[10] = iVar6 + 1;\n          *(undefined1 *)(param_1[1] + iVar8) = 0;\n          bVar7 = param_3[4];\n          if (bVar7 == 0x1c) {\n            *param_1 = 2;\n            uVar4 = 0;\n          }\n          else if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }\n          goto LAB_0004b139;\n        }" ({ "{") (expression_statement "param_2[10] = iVar6 + 1;" (assignment_expression "param_2[10] = iVar6 + 1" (subscript_expression "param_2[10]" (identifier "param_2") ([ "[") (number_literal "10") (] "]")) (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(undefined1 *)(param_1[1] + iVar8) = 0;" (assignment_expression "*(undefined1 *)(param_1[1] + iVar8) = 0" (pointer_expression "*(undefined1 *)(param_1[1] + iVar8)" (* "*") (cast_expression "(undefined1 *)(param_1[1] + iVar8)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[1] + iVar8)" (( "(") (binary_expression "param_1[1] + iVar8" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (+ "+") (identifier "iVar8")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "bVar7 = param_3[4];" (assignment_expression "bVar7 = param_3[4]" (identifier "bVar7") (= "=") (subscript_expression "param_3[4]" (identifier "param_3") ([ "[") (number_literal "4") (] "]"))) (; ";")) (if_statement "if (bVar7 == 0x1c) {\n            *param_1 = 2;\n            uVar4 = 0;\n          }\n          else if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }" (if "if") (parenthesized_expression "(bVar7 == 0x1c)" (( "(") (binary_expression "bVar7 == 0x1c" (identifier "bVar7") (== "==") (number_literal "0x1c")) () ")")) (compound_statement "{\n            *param_1 = 2;\n            uVar4 = 0;\n          }" ({ "{") (expression_statement "*param_1 = 2;" (assignment_expression "*param_1 = 2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "2")) (; ";")) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }" (else "else") (if_statement "if (bVar7 == 0x1e) {\n            *param_1 = 4;\n            uVar4 = 0;\n          }\n          else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }" (if "if") (parenthesized_expression "(bVar7 == 0x1e)" (( "(") (binary_expression "bVar7 == 0x1e" (identifier "bVar7") (== "==") (number_literal "0x1e")) () ")")) (compound_statement "{\n            *param_1 = 4;\n            uVar4 = 0;\n          }" ({ "{") (expression_statement "*param_1 = 4;" (assignment_expression "*param_1 = 4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "4")) (; ";")) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }" (else "else") (compound_statement "{\n            uVar4 = 0;\n            if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }\n          }" ({ "{") (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (if_statement "if (bVar7 == 0x1a) {\n              *param_1 = 3;\n            }" (if "if") (parenthesized_expression "(bVar7 == 0x1a)" (( "(") (binary_expression "bVar7 == 0x1a" (identifier "bVar7") (== "==") (number_literal "0x1a")) () ")")) (compound_statement "{\n              *param_1 = 3;\n            }" ({ "{") (expression_statement "*param_1 = 3;" (assignment_expression "*param_1 = 3" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "3")) (; ";")) (} "}"))) (} "}")))))) (goto_statement "goto LAB_0004b139;" (goto "goto") (statement_identifier "LAB_0004b139") (; ";")) (} "}"))) (expression_statement "*(byte *)(param_1[1] + iVar8) = bVar7;" (assignment_expression "*(byte *)(param_1[1] + iVar8) = bVar7" (pointer_expression "*(byte *)(param_1[1] + iVar8)" (* "*") (cast_expression "(byte *)(param_1[1] + iVar8)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[1] + iVar8)" (( "(") (binary_expression "param_1[1] + iVar8" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (+ "+") (identifier "iVar8")) () ")")))) (= "=") (identifier "bVar7")) (; ";")) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" (identifier "iVar8") (= "=") (binary_expression "iVar8 + 1" (identifier "iVar8") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar8 == 0x20) break;" (if "if") (parenthesized_expression "(iVar8 == 0x20)" (( "(") (binary_expression "iVar8 == 0x20" (identifier "iVar8") (== "==") (number_literal "0x20")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "bVar7 = param_3[4];" (assignment_expression "bVar7 = param_3[4]" (identifier "bVar7") (= "=") (subscript_expression "param_3[4]" (identifier "param_3") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "iVar5 = param_2[10];" (assignment_expression "iVar5 = param_2[10]" (identifier "iVar5") (= "=") (subscript_expression "param_2[10]" (identifier "param_2") ([ "[") (number_literal "10") (] "]"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}"))) (expression_statement "uVar4 = 7;" (assignment_expression "uVar4 = 7" (identifier "uVar4") (= "=") (number_literal "7")) (; ";")) (} "}")) (else_clause "else {\n    if ((bVar7 == 0x16) && (param_6 == '\0')) {\n      FUN_00047340();\n      uVar4 = 0xb;\n      if (local_24 != '\x15') goto LAB_0004b139;\n    }\n    bVar7 = *param_3;\n    *param_1 = 0;\n    *(byte *)(param_1 + 1) = bVar7;\n    uVar4 = 0;\n  }" (else "else") (compound_statement "{\n    if ((bVar7 == 0x16) && (param_6 == '\0')) {\n      FUN_00047340();\n      uVar4 = 0xb;\n      if (local_24 != '\x15') goto LAB_0004b139;\n    }\n    bVar7 = *param_3;\n    *param_1 = 0;\n    *(byte *)(param_1 + 1) = bVar7;\n    uVar4 = 0;\n  }" ({ "{") (if_statement "if ((bVar7 == 0x16) && (param_6 == '\0')) {\n      FUN_00047340();\n      uVar4 = 0xb;\n      if (local_24 != '\x15') goto LAB_0004b139;\n    }" (if "if") (parenthesized_expression "((bVar7 == 0x16) && (param_6 == '\0'))" (( "(") (binary_expression "(bVar7 == 0x16) && (param_6 == '\0')" (parenthesized_expression "(bVar7 == 0x16)" (( "(") (binary_expression "bVar7 == 0x16" (identifier "bVar7") (== "==") (number_literal "0x16")) () ")")) (&& "&&") (parenthesized_expression "(param_6 == '\0')" (( "(") (binary_expression "param_6 == '\0'" (identifier "param_6") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n      FUN_00047340();\n      uVar4 = 0xb;\n      if (local_24 != '\x15') goto LAB_0004b139;\n    }" ({ "{") (expression_statement "FUN_00047340();" (call_expression "FUN_00047340()" (identifier "FUN_00047340") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar4 = 0xb;" (assignment_expression "uVar4 = 0xb" (identifier "uVar4") (= "=") (number_literal "0xb")) (; ";")) (if_statement "if (local_24 != '\x15') goto LAB_0004b139;" (if "if") (parenthesized_expression "(local_24 != '\x15')" (( "(") (binary_expression "local_24 != '\x15'" (identifier "local_24") (!= "!=") (char_literal "'\x15'" (' "'") (escape_sequence "\x15") (' "'"))) () ")")) (goto_statement "goto LAB_0004b139;" (goto "goto") (statement_identifier "LAB_0004b139") (; ";"))) (} "}"))) (expression_statement "bVar7 = *param_3;" (assignment_expression "bVar7 = *param_3" (identifier "bVar7") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(byte *)(param_1 + 1) = bVar7;" (assignment_expression "*(byte *)(param_1 + 1) = bVar7" (pointer_expression "*(byte *)(param_1 + 1)" (* "*") (cast_expression "(byte *)(param_1 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))) (= "=") (identifier "bVar7")) (; ";")) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (} "}")))) (labeled_statement "LAB_0004b139:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0005a8b0();\n  }" (statement_identifier "LAB_0004b139") (: ":") (if_statement "if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0005a8b0();\n  }" (if "if") (parenthesized_expression "(iVar1 != *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "iVar1 != *(int *)(in_GS_OFFSET + 0x14)" (identifier "iVar1") (!= "!=") (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_0005a8b0();\n  }" ({ "{") (expression_statement "FUN_0005a8b0();" (call_expression "FUN_0005a8b0()" (identifier "FUN_0005a8b0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (return_statement "return uVar4;" (return "return") (identifier "uVar4") (; ";")) (} "}")))

type_1 __regparm3
function_1
          (type_2 *elem,type_3 *regexp,type_4 *token,int var_5,type_5 *dfa,
          type_6 syntax,type_7 accept_hyphen)

{
  int var_13;
  type_8 uVar2;
  type_9 var_8;
  char var_9;
  type_10 *var_4;
  int var_7;
  type_1 rVar7;
  int var_2;
  int var_3;
  type_9 var_6;
  int var_10;
  int var_1;
  char var_11;
  type_4 token2;
  
  var_13 = *(int *)(var_1 + 0x14);
  var_2 = regexp->cur_idx;
  if (regexp->mb_cur_max != 1) {
    if (var_2 + 1 < regexp->valid_len) {
      var_4 = regexp->wcs;
      if (var_4[var_2 + 1] == 0xffffffff) {
        var_10 = var_2 + 2;
        do {
          var_3 = var_10;
          if (regexp->valid_len == var_3) break;
          var_10 = var_3 + 1;
        } while (var_4[var_3] == 0xffffffff);
        elem->type = MB_CHAR;
        elem->opr = *(type_11 *)(var_4 + var_2);
        rVar7 = _REG_NOERROR;
        regexp->cur_idx = var_3;
        goto LAB_0004b139;
      }
    }
  }
  var_6 = token->field_0x4;
  var_2 = var_2 + var_5;
  regexp->cur_idx = var_2;
  if (((var_6 & 0xfb) == 0x1a) || (var_6 == 0x1c)) {
    if (var_2 < regexp->stop) {
      var_8 = (token->opr).c;
      var_10 = 0;
      do {
        var_3 = var_2 + 1;
        if ((var_6 == 0x1e) && (regexp->mbs_allocated != '\0')) {
          if (regexp->offsets_needed == '\0') {
            regexp->cur_idx = var_3;
            var_6 = regexp->raw_mbs[regexp->raw_mbs_idx + var_2];
          }
          else {
            var_7 = regexp->valid_len;
            if (((var_2 != var_7) && (regexp->wcs[var_2] == 0xffffffff)) ||
               (var_6 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[var_2]],
               (var_6 & 0x80) != 0)) goto LAB_0004b19d;
            if (((regexp->mb_cur_max != 1) && (var_3 < var_7)) &&
               (regexp->wcs[var_2 + 1] == 0xffffffff)) {
              var_2 = var_2 + 2;
              do {
                var_3 = var_2;
                if (var_7 == var_3) break;
                var_2 = var_3 + 1;
              } while (regexp->wcs[var_3] == 0xffffffff);
            }
            regexp->cur_idx = var_3;
          }
        }
        else {
LAB_0004b19d:
          regexp->cur_idx = var_3;
          var_6 = regexp->mbs[var_2];
        }
        if (regexp->stop <= var_3) break;
        if ((var_8 == var_6) && (regexp->mbs[var_3] == ']')) {
          regexp->cur_idx = var_3 + 1;
          (elem->opr).name[var_10] = '\0';
          var_9 = token->field_0x4;
          if (var_9 == '\x1c') {
            elem->type = EQUIV_CLASS;
            rVar7 = _REG_NOERROR;
          }
          else if (var_9 == '\x1e') {
            elem->type = CHAR_CLASS;
            rVar7 = _REG_NOERROR;
          }
          else {
            rVar7 = _REG_NOERROR;
            if (var_9 == '\x1a') {
              elem->type = COLL_SYM;
            }
          }
          goto LAB_0004b139;
        }
        (elem->opr).name[var_10] = var_6;
        var_10 = var_10 + 1;
        if (var_10 == 0x20) break;
        var_6 = token->field_0x4;
        var_2 = regexp->cur_idx;
      } while( true );
    }
    rVar7 = _REG_EBRACK;
  }
  else {
    if ((var_6 == 0x16) && (var_11 = (char)syntax, var_11 == '\0')) {
      var_12(&token2,regexp,(type_6)dfa);
      rVar7 = _REG_ERANGE;
      if (token2._4_1_ != '\x15') goto LAB_0004b139;
    }
    uVar2 = (token->opr).c;
    elem->type = SB_CHAR;
    (elem->opr).ch = uVar2;
    rVar7 = _REG_NOERROR;
  }
LAB_0004b139:
  if (var_13 != *(int *)(var_1 + 0x14)) {
                    /* WARNING: Subroutine does not return */
    var_14();
  }
  return rVar7;
}


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

undefined4 __regparm3
MASKED(undefined4 *param_1,int *param_2,byte *param_3,int param_4,undefined4 param_5,
            char param_6)

{
  int iVar1;
  byte bVar2;
  int iVar3;
  undefined4 uVar4;
  int iVar5;
  int iVar6;
  byte bVar7;
  int iVar8;
  int in_GS_OFFSET;
  char local_24;
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  iVar5 = param_2[10];
  if (param_2[0x14] != 1) {
    iVar8 = iVar5 + 1;
    if (iVar8 < param_2[7]) {
      iVar6 = param_2[2];
      if (*(int *)(iVar6 + iVar8 * 4) == -1) {
        iVar5 = iVar5 + 2;
        do {
          iVar3 = iVar5;
          if (param_2[7] == iVar3) break;
          iVar5 = iVar3 + 1;
        } while (*(int *)(iVar6 + -4 + (iVar3 + 1) * 4) == -1);
        *param_1 = 1;
        param_1[1] = *(undefined4 *)(iVar6 + -4 + iVar8 * 4);
        uVar4 = 0;
        param_2[10] = iVar3;
        goto LAB_0004b139;
      }
    }
  }
  bVar7 = param_3[4];
  iVar5 = iVar5 + param_4;
  param_2[10] = iVar5;
  if (((bVar7 & 0xfb) == 0x1a) || (bVar7 == 0x1c)) {
    if (iVar5 < param_2[0xe]) {
      bVar2 = *param_3;
      iVar8 = 0;
      do {
        iVar6 = iVar5 + 1;
        if ((bVar7 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {
          if ((char)param_2[0x13] == '\0') {
            param_2[10] = iVar6;
            bVar7 = *(byte *)(iVar5 + *param_2 + param_2[6]);
          }
          else {
            iVar3 = param_2[7];
            if (((iVar5 != iVar3) && (*(int *)(param_2[2] + iVar5 * 4) == -1)) ||
               (bVar7 = *(byte *)(*(int *)(param_2[3] + iVar5 * 4) + *param_2 + param_2[6]),
               (bVar7 & 0x80) != 0)) goto LAB_0004b19d;
            if (((param_2[0x14] != 1) && (iVar6 < iVar3)) &&
               (*(int *)(param_2[2] + 4 + iVar5 * 4) == -1)) {
              iVar5 = iVar5 + 2;
              do {
                iVar6 = iVar5;
                if (iVar3 == iVar6) break;
                iVar5 = iVar6 + 1;
              } while (*(int *)(param_2[2] + -4 + (iVar6 + 1) * 4) == -1);
            }
            param_2[10] = iVar6;
          }
        }
        else {
LAB_0004b19d:
          param_2[10] = iVar6;
          bVar7 = *(byte *)(param_2[1] + iVar5);
        }
        if (param_2[0xe] <= iVar6) break;
        if ((bVar2 == bVar7) && (*(char *)(param_2[1] + iVar6) == ']')) {
          param_2[10] = iVar6 + 1;
          *(undefined1 *)(param_1[1] + iVar8) = 0;
          bVar7 = param_3[4];
          if (bVar7 == 0x1c) {
            *param_1 = 2;
            uVar4 = 0;
          }
          else if (bVar7 == 0x1e) {
            *param_1 = 4;
            uVar4 = 0;
          }
          else {
            uVar4 = 0;
            if (bVar7 == 0x1a) {
              *param_1 = 3;
            }
          }
          goto LAB_0004b139;
        }
        *(byte *)(param_1[1] + iVar8) = bVar7;
        iVar8 = iVar8 + 1;
        if (iVar8 == 0x20) break;
        bVar7 = param_3[4];
        iVar5 = param_2[10];
      } while( true );
    }
    uVar4 = 7;
  }
  else {
    if ((bVar7 == 0x16) && (param_6 == '\0')) {
      FUN_00047340();
      uVar4 = 0xb;
      if (local_24 != '\x15') goto LAB_0004b139;
    }
    bVar7 = *param_3;
    *param_1 = 0;
    *(byte *)(param_1 + 1) = bVar7;
    uVar4 = 0;
  }
LAB_0004b139:
  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_0005a8b0();
  }
  return uVar4;
}

