
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;
  byte bVar2;
  char cVar3;
  wint_t *pwVar4;
  byte bVar5;
  int iVar6;
  reg_errcode_t rVar7;
  Idx idx;
  int iVar8;
  int in_GS_OFFSET;
  re_token_t token2;
  
  iVar8 = regexp->cur_idx;
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  if ((regexp->mb_cur_max == 1) || (iVar6 = re_string_char_size_at(regexp,iVar8), iVar6 < 2)) {
    idx = iVar8 + token_len;
    regexp->cur_idx = idx;
    bVar5 = token->field_0x4;
    if (((bVar5 & 0xfb) == 0x1a) || (bVar5 == 0x1c)) {
      if (idx < regexp->stop) {
        iVar8 = 0;
        bVar2 = (token->opr).c;
        do {
          if ((bVar5 == 0x1e) && (regexp->mbs_allocated != '\0')) {
            if (regexp->offsets_needed == '\0') {
              iVar6 = idx + 1;
              regexp->cur_idx = iVar6;
              bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + idx];
            }
            else {
              if (((idx != regexp->valid_len) && (regexp->wcs[idx] == 0xffffffff)) ||
                 (bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[idx]],
                 (bVar5 & 0x80) != 0)) goto LAB_0002ba6d;
              iVar6 = regexp->mb_cur_max;
              if (iVar6 != 1) {
                iVar6 = re_string_char_size_at(regexp,idx);
              }
              iVar6 = iVar6 + idx;
              regexp->cur_idx = iVar6;
            }
          }
          else {
LAB_0002ba6d:
            iVar6 = idx + 1;
            regexp->cur_idx = iVar6;
            bVar5 = regexp->mbs[idx];
          }
          if (regexp->stop <= iVar6) break;
          if ((bVar2 == bVar5) && (regexp->mbs[iVar6] == ']')) {
            regexp->cur_idx = iVar6 + 1;
            (elem->opr).name[iVar8] = '\0';
            cVar3 = token->field_0x4;
            if (cVar3 == '\x1c') {
              elem->type = EQUIV_CLASS;
              rVar7 = _REG_NOERROR;
            }
            else if (cVar3 == '\x1e') {
              elem->type = CHAR_CLASS;
              rVar7 = _REG_NOERROR;
            }
            else {
              rVar7 = _REG_NOERROR;
              if (cVar3 == '\x1a') {
                elem->type = COLL_SYM;
              }
            }
            goto LAB_0002b9f4;
          }
          (elem->opr).name[iVar8] = bVar5;
          iVar8 = iVar8 + 1;
          if (iVar8 == 0x20) break;
          idx = regexp->cur_idx;
          bVar5 = token->field_0x4;
        } while( true );
      }
      rVar7 = _REG_EBRACK;
    }
    else {
      if ((bVar5 == 0x16) && ((char)syntax == '\0')) {
        peek_token_bracket(&token2,regexp,(reg_syntax_t)dfa);
        rVar7 = _REG_ERANGE;
        if (token2._4_1_ != '\x15') goto LAB_0002b9f4;
      }
      elem->type = SB_CHAR;
      (elem->opr).ch = (token->opr).c;
      rVar7 = _REG_NOERROR;
    }
  }
  else {
    pwVar4 = regexp->wcs;
    elem->type = MB_CHAR;
    rVar7 = _REG_NOERROR;
    elem->opr = *(anon_union_4_3_ebfdf496_for_opr *)(pwVar4 + iVar8);
    regexp->cur_idx = iVar8 + iVar6;
  }
LAB_0002b9f4:
  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail_local();
  }
  return rVar7;
}



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

{
  int iVar1;
  byte bVar2;
  byte bVar3;
  int iVar4;
  undefined4 uVar5;
  int iVar6;
  int iVar7;
  int in_GS_OFFSET;
  char local_24;
  
  iVar7 = param_2[10];
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  if ((param_2[0x14] == 1) || (iVar4 = FUN_00023070(), iVar4 < 2)) {
    iVar7 = iVar7 + param_4;
    param_2[10] = iVar7;
    bVar3 = param_3[4];
    if (((bVar3 & 0xfb) == 0x1a) || (bVar3 == 0x1c)) {
      if (iVar7 < param_2[0xe]) {
        iVar4 = 0;
        bVar2 = *param_3;
        do {
          if ((bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {
            if ((char)param_2[0x13] == '\0') {
              iVar6 = iVar7 + 1;
              param_2[10] = iVar6;
              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);
            }
            else {
              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||
                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),
                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;
              iVar6 = param_2[0x14];
              if (iVar6 != 1) {
                iVar6 = FUN_00023070();
              }
              iVar6 = iVar6 + iVar7;
              param_2[10] = iVar6;
            }
          }
          else {
LAB_0002ba6d:
            iVar6 = iVar7 + 1;
            param_2[10] = iVar6;
            bVar3 = *(byte *)(param_2[1] + iVar7);
          }
          if (param_2[0xe] <= iVar6) break;
          if ((bVar2 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']')) {
            param_2[10] = iVar6 + 1;
            *(undefined1 *)(param_1[1] + iVar4) = 0;
            bVar3 = param_3[4];
            if (bVar3 == 0x1c) {
              *param_1 = 2;
              uVar5 = 0;
            }
            else if (bVar3 == 0x1e) {
              *param_1 = 4;
              uVar5 = 0;
            }
            else {
              uVar5 = 0;
              if (bVar3 == 0x1a) {
                *param_1 = 3;
              }
            }
            goto LAB_0002b9f4;
          }
          *(byte *)(param_1[1] + iVar4) = bVar3;
          iVar4 = iVar4 + 1;
          if (iVar4 == 0x20) break;
          iVar7 = param_2[10];
          bVar3 = param_3[4];
        } while( true );
      }
      uVar5 = 7;
    }
    else {
      if ((bVar3 == 0x16) && (param_6 == '\0')) {
        FUN_00021570();
        uVar5 = 0xb;
        if (local_24 != '\x15') goto LAB_0002b9f4;
      }
      *param_1 = 0;
      *(byte *)(param_1 + 1) = *param_3;
      uVar5 = 0;
    }
  }
  else {
    iVar6 = param_2[2];
    *param_1 = 1;
    uVar5 = 0;
    param_1[1] = *(undefined4 *)(iVar6 + iVar7 * 4);
    param_2[10] = iVar7 + iVar4;
  }
LAB_0002b9f4:
  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_00031620();
  }
  return uVar5;
}


PUSH EBP
MOV EBP,EAX
PUSH EDI
PUSH ESI
PUSH EBX
MOV EBX,EDX
SUB ESP,0x2c
MOV ESI,dword ptr [EDX + 0x28]
MOV dword ptr [ESP + 0x8],ECX
MOV EDI,dword ptr [ESP + 0x48]
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x1c],EAX
XOR EAX,EAX
CMP dword ptr [EDX + 0x50],0x1
JZ 0x0002b9b6
MOV EDX,ESI
MOV EAX,EBX
CALL 0x00023070
CMP EAX,0x1
JG 0x0002ba10
MOV EAX,dword ptr [ESP + 0x8]
ADD ESI,dword ptr [ESP + 0x40]
MOV dword ptr [EBX + 0x28],ESI
MOVZX EAX,byte ptr [EAX + 0x4]
MOV EDX,EAX
AND EDX,0xfffffffb
CMP DL,0x1a
JZ 0x0002ba30
CMP AL,0x1c
JZ 0x0002ba30
CMP AL,0x16
JNZ 0x0002b9e1
MOV EAX,EDI
TEST AL,AL
JZ 0x0002bb58
MOV EAX,dword ptr [ESP + 0x8]
MOV dword ptr [EBP],0x0
MOVZX EAX,byte ptr [EAX]
MOV byte ptr [EBP + 0x4],AL
XOR EAX,EAX
MOV EDI,dword ptr [ESP + 0x1c]
XOR EDI,dword ptr GS:[0x14]
JNZ 0x0002bb98
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDX,dword ptr [EBX + 0x8]
MOV dword ptr [EBP],0x1
MOV EDX,dword ptr [EDX + ESI*0x4]
ADD ESI,EAX
XOR EAX,EAX
MOV dword ptr [EBP + 0x4],EDX
MOV dword ptr [EBX + 0x28],ESI
JMP 0x0002b9f4
CMP ESI,dword ptr [EBX + 0x38]
JGE 0x0002bad0
MOV ECX,dword ptr [ESP + 0x8]
XOR EDI,EDI
MOVZX ECX,byte ptr [ECX]
MOV byte ptr [ESP + 0xe],CL
JMP 0x0002ba69
MOV EAX,dword ptr [EBP + 0x4]
MOV byte ptr [EAX + EDI*0x1],CL
ADD EDI,0x1
CMP EDI,0x20
JZ 0x0002bad0
MOV EAX,dword ptr [ESP + 0x8]
MOV ESI,dword ptr [EBX + 0x28]
MOVZX EAX,byte ptr [EAX + 0x4]
CMP AL,0x1e
JZ 0x0002bae0
MOV EDX,dword ptr [EBX + 0x4]
LEA EAX,[ESI + 0x1]
MOV dword ptr [EBX + 0x28],EAX
MOVZX ECX,byte ptr [EDX + ESI*0x1]
CMP EAX,dword ptr [EBX + 0x38]
JGE 0x0002bad0
CMP byte ptr [ESP + 0xe],CL
JNZ 0x0002ba50
MOV EDX,dword ptr [EBX + 0x4]
CMP byte ptr [EDX + EAX*0x1],0x5d
JNZ 0x0002ba50
ADD EAX,0x1
MOV dword ptr [EBX + 0x28],EAX
MOV EAX,dword ptr [EBP + 0x4]
MOV byte ptr [EAX + EDI*0x1],0x0
MOV EAX,dword ptr [ESP + 0x8]
MOVZX EDX,byte ptr [EAX + 0x4]
CMP DL,0x1c
JZ 0x0002bb8a
CMP DL,0x1e
JZ 0x0002bb7c
XOR EAX,EAX
CMP DL,0x1a
JNZ 0x0002b9f4
MOV dword ptr [EBP],0x3
JMP 0x0002b9f4
MOV EAX,0x7
JMP 0x0002b9f4
CMP byte ptr [EBX + 0x4b],0x0
JZ 0x0002ba6d
CMP byte ptr [EBX + 0x4c],0x0
JZ 0x0002bb40
LEA EAX,[ESI*0x4 + 0x0]
CMP ESI,dword ptr [EBX + 0x1c]
JZ 0x0002bb05
MOV EDX,dword ptr [EBX + 0x8]
CMP dword ptr [EDX + ESI*0x4],-0x1
JZ 0x0002ba6d
MOV EDX,dword ptr [EBX + 0xc]
MOV EAX,dword ptr [EDX + EAX*0x1]
ADD EAX,dword ptr [EBX]
ADD EAX,dword ptr [EBX + 0x18]
MOVZX ECX,byte ptr [EAX]
TEST CL,0x80
JNZ 0x0002ba6d
MOV EAX,dword ptr [EBX + 0x50]
CMP EAX,0x1
JZ 0x0002bb36
MOV EDX,ESI
MOV EAX,EBX
MOV byte ptr [ESP + 0xf],CL
CALL 0x00023070
MOVZX ECX,byte ptr [ESP + 0xf]
ADD EAX,ESI
MOV dword ptr [EBX + 0x28],EAX
JMP 0x0002ba7a
LEA EAX,[ESI + 0x1]
ADD ESI,dword ptr [EBX]
ADD ESI,dword ptr [EBX + 0x18]
MOV dword ptr [EBX + 0x28],EAX
MOVZX ECX,byte ptr [ESI]
JMP 0x0002ba7a
MOV ECX,dword ptr [ESP + 0x44]
LEA EAX,[ESP + 0x14]
MOV EDX,EBX
CALL 0x00021570
CMP byte ptr [ESP + 0x18],0x15
MOV EAX,0xb
JZ 0x0002b9e1
JMP 0x0002b9f4
MOV dword ptr [EBP],0x4
XOR EAX,EAX
JMP 0x0002b9f4
MOV dword ptr [EBP],0x2
XOR EAX,EAX
JMP 0x0002b9f4
CALL 0x00031620
(translation_unit "undefined4 __regparm3\nFUN_0002b980(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  byte bVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  char local_24;\n  \n  iVar7 = param_2[10];\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((param_2[0x14] == 1) || (iVar4 = FUN_00023070(), iVar4 < 2)) {\n    iVar7 = iVar7 + param_4;\n    param_2[10] = iVar7;\n    bVar3 = param_3[4];\n    if (((bVar3 & 0xfb) == 0x1a) || (bVar3 == 0x1c)) {\n      if (iVar7 < param_2[0xe]) {\n        iVar4 = 0;\n        bVar2 = *param_3;\n        do {\n          if ((bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n            if ((char)param_2[0x13] == '\0') {\n              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }\n          if (param_2[0xe] <= iVar6) break;\n          if ((bVar2 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']')) {\n            param_2[10] = iVar6 + 1;\n            *(undefined1 *)(param_1[1] + iVar4) = 0;\n            bVar3 = param_3[4];\n            if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          *(byte *)(param_1[1] + iVar4) = bVar3;\n          iVar4 = iVar4 + 1;\n          if (iVar4 == 0x20) break;\n          iVar7 = param_2[10];\n          bVar3 = param_3[4];\n        } while( true );\n      }\n      uVar5 = 7;\n    }\n    else {\n      if ((bVar3 == 0x16) && (param_6 == '\0')) {\n        FUN_00021570();\n        uVar5 = 0xb;\n        if (local_24 != '\x15') goto LAB_0002b9f4;\n      }\n      *param_1 = 0;\n      *(byte *)(param_1 + 1) = *param_3;\n      uVar5 = 0;\n    }\n  }\n  else {\n    iVar6 = param_2[2];\n    *param_1 = 1;\n    uVar5 = 0;\n    param_1[1] = *(undefined4 *)(iVar6 + iVar7 * 4);\n    param_2[10] = iVar7 + iVar4;\n  }\nLAB_0002b9f4:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00031620();\n  }\n  return uVar5;\n}\n\n" (function_definition "undefined4 __regparm3\nFUN_0002b980(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  byte bVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  char local_24;\n  \n  iVar7 = param_2[10];\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((param_2[0x14] == 1) || (iVar4 = FUN_00023070(), iVar4 < 2)) {\n    iVar7 = iVar7 + param_4;\n    param_2[10] = iVar7;\n    bVar3 = param_3[4];\n    if (((bVar3 & 0xfb) == 0x1a) || (bVar3 == 0x1c)) {\n      if (iVar7 < param_2[0xe]) {\n        iVar4 = 0;\n        bVar2 = *param_3;\n        do {\n          if ((bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n            if ((char)param_2[0x13] == '\0') {\n              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }\n          if (param_2[0xe] <= iVar6) break;\n          if ((bVar2 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']')) {\n            param_2[10] = iVar6 + 1;\n            *(undefined1 *)(param_1[1] + iVar4) = 0;\n            bVar3 = param_3[4];\n            if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          *(byte *)(param_1[1] + iVar4) = bVar3;\n          iVar4 = iVar4 + 1;\n          if (iVar4 == 0x20) break;\n          iVar7 = param_2[10];\n          bVar3 = param_3[4];\n        } while( true );\n      }\n      uVar5 = 7;\n    }\n    else {\n      if ((bVar3 == 0x16) && (param_6 == '\0')) {\n        FUN_00021570();\n        uVar5 = 0xb;\n        if (local_24 != '\x15') goto LAB_0002b9f4;\n      }\n      *param_1 = 0;\n      *(byte *)(param_1 + 1) = *param_3;\n      uVar5 = 0;\n    }\n  }\n  else {\n    iVar6 = param_2[2];\n    *param_1 = 1;\n    uVar5 = 0;\n    param_1[1] = *(undefined4 *)(iVar6 + iVar7 * 4);\n    param_2[10] = iVar7 + iVar4;\n  }\nLAB_0002b9f4:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00031620();\n  }\n  return uVar5;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_0002b980(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  byte bVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  char local_24;\n  \n  iVar7 = param_2[10];\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((param_2[0x14] == 1) || (iVar4 = FUN_00023070(), iVar4 < 2)) {\n    iVar7 = iVar7 + param_4;\n    param_2[10] = iVar7;\n    bVar3 = param_3[4];\n    if (((bVar3 & 0xfb) == 0x1a) || (bVar3 == 0x1c)) {\n      if (iVar7 < param_2[0xe]) {\n        iVar4 = 0;\n        bVar2 = *param_3;\n        do {\n          if ((bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n            if ((char)param_2[0x13] == '\0') {\n              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }\n          if (param_2[0xe] <= iVar6) break;\n          if ((bVar2 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']')) {\n            param_2[10] = iVar6 + 1;\n            *(undefined1 *)(param_1[1] + iVar4) = 0;\n            bVar3 = param_3[4];\n            if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          *(byte *)(param_1[1] + iVar4) = bVar3;\n          iVar4 = iVar4 + 1;\n          if (iVar4 == 0x20) break;\n          iVar7 = param_2[10];\n          bVar3 = param_3[4];\n        } while( true );\n      }\n      uVar5 = 7;\n    }\n    else {\n      if ((bVar3 == 0x16) && (param_6 == '\0')) {\n        FUN_00021570();\n        uVar5 = 0xb;\n        if (local_24 != '\x15') goto LAB_0002b9f4;\n      }\n      *param_1 = 0;\n      *(byte *)(param_1 + 1) = *param_3;\n      uVar5 = 0;\n    }\n  }\n  else {\n    iVar6 = param_2[2];\n    *param_1 = 1;\n    uVar5 = 0;\n    param_1[1] = *(undefined4 *)(iVar6 + iVar7 * 4);\n    param_2[10] = iVar7 + iVar4;\n  }\nLAB_0002b9f4:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00031620();\n  }\n  return uVar5;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "byte bVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "char local_24;" primitive_type identifier ;) (expression_statement "iVar7 = param_2[10];" (assignment_expression "iVar7 = param_2[10]" identifier = (subscript_expression "param_2[10]" identifier [ number_literal ])) ;) (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) ))))) ;) (if_statement "if ((param_2[0x14] == 1) || (iVar4 = FUN_00023070(), iVar4 < 2)) {\n    iVar7 = iVar7 + param_4;\n    param_2[10] = iVar7;\n    bVar3 = param_3[4];\n    if (((bVar3 & 0xfb) == 0x1a) || (bVar3 == 0x1c)) {\n      if (iVar7 < param_2[0xe]) {\n        iVar4 = 0;\n        bVar2 = *param_3;\n        do {\n          if ((bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n            if ((char)param_2[0x13] == '\0') {\n              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }\n          if (param_2[0xe] <= iVar6) break;\n          if ((bVar2 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']')) {\n            param_2[10] = iVar6 + 1;\n            *(undefined1 *)(param_1[1] + iVar4) = 0;\n            bVar3 = param_3[4];\n            if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          *(byte *)(param_1[1] + iVar4) = bVar3;\n          iVar4 = iVar4 + 1;\n          if (iVar4 == 0x20) break;\n          iVar7 = param_2[10];\n          bVar3 = param_3[4];\n        } while( true );\n      }\n      uVar5 = 7;\n    }\n    else {\n      if ((bVar3 == 0x16) && (param_6 == '\0')) {\n        FUN_00021570();\n        uVar5 = 0xb;\n        if (local_24 != '\x15') goto LAB_0002b9f4;\n      }\n      *param_1 = 0;\n      *(byte *)(param_1 + 1) = *param_3;\n      uVar5 = 0;\n    }\n  }\n  else {\n    iVar6 = param_2[2];\n    *param_1 = 1;\n    uVar5 = 0;\n    param_1[1] = *(undefined4 *)(iVar6 + iVar7 * 4);\n    param_2[10] = iVar7 + iVar4;\n  }" if (parenthesized_expression "((param_2[0x14] == 1) || (iVar4 = FUN_00023070(), iVar4 < 2))" ( (binary_expression "(param_2[0x14] == 1) || (iVar4 = FUN_00023070(), iVar4 < 2)" (parenthesized_expression "(param_2[0x14] == 1)" ( (binary_expression "param_2[0x14] == 1" (subscript_expression "param_2[0x14]" identifier [ number_literal ]) == number_literal) )) || (parenthesized_expression "(iVar4 = FUN_00023070(), iVar4 < 2)" ( (comma_expression "iVar4 = FUN_00023070(), iVar4 < 2" (assignment_expression "iVar4 = FUN_00023070()" identifier = (call_expression "FUN_00023070()" identifier (argument_list "()" ( )))) , (binary_expression "iVar4 < 2" identifier < number_literal)) ))) )) (compound_statement "{\n    iVar7 = iVar7 + param_4;\n    param_2[10] = iVar7;\n    bVar3 = param_3[4];\n    if (((bVar3 & 0xfb) == 0x1a) || (bVar3 == 0x1c)) {\n      if (iVar7 < param_2[0xe]) {\n        iVar4 = 0;\n        bVar2 = *param_3;\n        do {\n          if ((bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n            if ((char)param_2[0x13] == '\0') {\n              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }\n          if (param_2[0xe] <= iVar6) break;\n          if ((bVar2 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']')) {\n            param_2[10] = iVar6 + 1;\n            *(undefined1 *)(param_1[1] + iVar4) = 0;\n            bVar3 = param_3[4];\n            if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          *(byte *)(param_1[1] + iVar4) = bVar3;\n          iVar4 = iVar4 + 1;\n          if (iVar4 == 0x20) break;\n          iVar7 = param_2[10];\n          bVar3 = param_3[4];\n        } while( true );\n      }\n      uVar5 = 7;\n    }\n    else {\n      if ((bVar3 == 0x16) && (param_6 == '\0')) {\n        FUN_00021570();\n        uVar5 = 0xb;\n        if (local_24 != '\x15') goto LAB_0002b9f4;\n      }\n      *param_1 = 0;\n      *(byte *)(param_1 + 1) = *param_3;\n      uVar5 = 0;\n    }\n  }" { (expression_statement "iVar7 = iVar7 + param_4;" (assignment_expression "iVar7 = iVar7 + param_4" identifier = (binary_expression "iVar7 + param_4" identifier + identifier)) ;) (expression_statement "param_2[10] = iVar7;" (assignment_expression "param_2[10] = iVar7" (subscript_expression "param_2[10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "bVar3 = param_3[4];" (assignment_expression "bVar3 = param_3[4]" identifier = (subscript_expression "param_3[4]" identifier [ number_literal ])) ;) (if_statement "if (((bVar3 & 0xfb) == 0x1a) || (bVar3 == 0x1c)) {\n      if (iVar7 < param_2[0xe]) {\n        iVar4 = 0;\n        bVar2 = *param_3;\n        do {\n          if ((bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n            if ((char)param_2[0x13] == '\0') {\n              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }\n          if (param_2[0xe] <= iVar6) break;\n          if ((bVar2 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']')) {\n            param_2[10] = iVar6 + 1;\n            *(undefined1 *)(param_1[1] + iVar4) = 0;\n            bVar3 = param_3[4];\n            if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          *(byte *)(param_1[1] + iVar4) = bVar3;\n          iVar4 = iVar4 + 1;\n          if (iVar4 == 0x20) break;\n          iVar7 = param_2[10];\n          bVar3 = param_3[4];\n        } while( true );\n      }\n      uVar5 = 7;\n    }\n    else {\n      if ((bVar3 == 0x16) && (param_6 == '\0')) {\n        FUN_00021570();\n        uVar5 = 0xb;\n        if (local_24 != '\x15') goto LAB_0002b9f4;\n      }\n      *param_1 = 0;\n      *(byte *)(param_1 + 1) = *param_3;\n      uVar5 = 0;\n    }" if (parenthesized_expression "(((bVar3 & 0xfb) == 0x1a) || (bVar3 == 0x1c))" ( (binary_expression "((bVar3 & 0xfb) == 0x1a) || (bVar3 == 0x1c)" (parenthesized_expression "((bVar3 & 0xfb) == 0x1a)" ( (binary_expression "(bVar3 & 0xfb) == 0x1a" (parenthesized_expression "(bVar3 & 0xfb)" ( (binary_expression "bVar3 & 0xfb" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "(bVar3 == 0x1c)" ( (binary_expression "bVar3 == 0x1c" identifier == number_literal) ))) )) (compound_statement "{\n      if (iVar7 < param_2[0xe]) {\n        iVar4 = 0;\n        bVar2 = *param_3;\n        do {\n          if ((bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n            if ((char)param_2[0x13] == '\0') {\n              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }\n          if (param_2[0xe] <= iVar6) break;\n          if ((bVar2 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']')) {\n            param_2[10] = iVar6 + 1;\n            *(undefined1 *)(param_1[1] + iVar4) = 0;\n            bVar3 = param_3[4];\n            if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          *(byte *)(param_1[1] + iVar4) = bVar3;\n          iVar4 = iVar4 + 1;\n          if (iVar4 == 0x20) break;\n          iVar7 = param_2[10];\n          bVar3 = param_3[4];\n        } while( true );\n      }\n      uVar5 = 7;\n    }" { (if_statement "if (iVar7 < param_2[0xe]) {\n        iVar4 = 0;\n        bVar2 = *param_3;\n        do {\n          if ((bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n            if ((char)param_2[0x13] == '\0') {\n              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }\n          if (param_2[0xe] <= iVar6) break;\n          if ((bVar2 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']')) {\n            param_2[10] = iVar6 + 1;\n            *(undefined1 *)(param_1[1] + iVar4) = 0;\n            bVar3 = param_3[4];\n            if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          *(byte *)(param_1[1] + iVar4) = bVar3;\n          iVar4 = iVar4 + 1;\n          if (iVar4 == 0x20) break;\n          iVar7 = param_2[10];\n          bVar3 = param_3[4];\n        } while( true );\n      }" if (parenthesized_expression "(iVar7 < param_2[0xe])" ( (binary_expression "iVar7 < param_2[0xe]" identifier < (subscript_expression "param_2[0xe]" identifier [ number_literal ])) )) (compound_statement "{\n        iVar4 = 0;\n        bVar2 = *param_3;\n        do {\n          if ((bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n            if ((char)param_2[0x13] == '\0') {\n              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }\n          if (param_2[0xe] <= iVar6) break;\n          if ((bVar2 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']')) {\n            param_2[10] = iVar6 + 1;\n            *(undefined1 *)(param_1[1] + iVar4) = 0;\n            bVar3 = param_3[4];\n            if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          *(byte *)(param_1[1] + iVar4) = bVar3;\n          iVar4 = iVar4 + 1;\n          if (iVar4 == 0x20) break;\n          iVar7 = param_2[10];\n          bVar3 = param_3[4];\n        } while( true );\n      }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "bVar2 = *param_3;" (assignment_expression "bVar2 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (do_statement "do {\n          if ((bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n            if ((char)param_2[0x13] == '\0') {\n              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }\n          if (param_2[0xe] <= iVar6) break;\n          if ((bVar2 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']')) {\n            param_2[10] = iVar6 + 1;\n            *(undefined1 *)(param_1[1] + iVar4) = 0;\n            bVar3 = param_3[4];\n            if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          *(byte *)(param_1[1] + iVar4) = bVar3;\n          iVar4 = iVar4 + 1;\n          if (iVar4 == 0x20) break;\n          iVar7 = param_2[10];\n          bVar3 = param_3[4];\n        } while( true );" do (compound_statement "{\n          if ((bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n            if ((char)param_2[0x13] == '\0') {\n              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }\n          if (param_2[0xe] <= iVar6) break;\n          if ((bVar2 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']')) {\n            param_2[10] = iVar6 + 1;\n            *(undefined1 *)(param_1[1] + iVar4) = 0;\n            bVar3 = param_3[4];\n            if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          *(byte *)(param_1[1] + iVar4) = bVar3;\n          iVar4 = iVar4 + 1;\n          if (iVar4 == 0x20) break;\n          iVar7 = param_2[10];\n          bVar3 = param_3[4];\n        }" { (if_statement "if ((bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n            if ((char)param_2[0x13] == '\0') {\n              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }" if (parenthesized_expression "((bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0'))" ( (binary_expression "(bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')" (parenthesized_expression "(bVar3 == 0x1e)" ( (binary_expression "bVar3 == 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              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }\n          }" { (if_statement "if ((char)param_2[0x13] == '\0') {\n              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\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              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }" { (expression_statement "iVar6 = iVar7 + 1;" (assignment_expression "iVar6 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (expression_statement "param_2[10] = iVar6;" (assignment_expression "param_2[10] = iVar6" (subscript_expression "param_2[10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);" (assignment_expression "bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6])" identifier = (pointer_expression "*(byte *)(iVar7 + *param_2 + param_2[6])" * (cast_expression "(byte *)(iVar7 + *param_2 + param_2[6])" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + *param_2 + param_2[6])" ( (binary_expression "iVar7 + *param_2 + param_2[6]" (binary_expression "iVar7 + *param_2" identifier + (pointer_expression "*param_2" * identifier)) + (subscript_expression "param_2[6]" identifier [ number_literal ])) ))))) ;) }) (else_clause "else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }" else (compound_statement "{\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }" { (if_statement "if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;" if (parenthesized_expression "(((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0))" ( (binary_expression "((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)" (parenthesized_expression "((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1))" ( (binary_expression "(iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)" (parenthesized_expression "(iVar7 != param_2[7])" ( (binary_expression "iVar7 != param_2[7]" identifier != (subscript_expression "param_2[7]" identifier [ number_literal ])) )) && (parenthesized_expression "(*(int *)(param_2[2] + iVar7 * 4) == -1)" ( (binary_expression "*(int *)(param_2[2] + iVar7 * 4) == -1" (pointer_expression "*(int *)(param_2[2] + iVar7 * 4)" * (cast_expression "(int *)(param_2[2] + iVar7 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[2] + iVar7 * 4)" ( (binary_expression "param_2[2] + iVar7 * 4" (subscript_expression "param_2[2]" identifier [ number_literal ]) + (binary_expression "iVar7 * 4" identifier * number_literal)) )))) == number_literal) ))) )) || (parenthesized_expression "(bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)" ( (comma_expression "bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0" (assignment_expression "bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6])" identifier = (pointer_expression "*(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6])" * (cast_expression "(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6])" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6])" ( (binary_expression "*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]" (binary_expression "*(int *)(param_2[3] + iVar7 * 4) + *param_2" (pointer_expression "*(int *)(param_2[3] + iVar7 * 4)" * (cast_expression "(int *)(param_2[3] + iVar7 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[3] + iVar7 * 4)" ( (binary_expression "param_2[3] + iVar7 * 4" (subscript_expression "param_2[3]" identifier [ number_literal ]) + (binary_expression "iVar7 * 4" identifier * number_literal)) )))) + (pointer_expression "*param_2" * identifier)) + (subscript_expression "param_2[6]" identifier [ number_literal ])) ))))) , (binary_expression "(bVar3 & 0x80) != 0" (parenthesized_expression "(bVar3 & 0x80)" ( (binary_expression "bVar3 & 0x80" identifier & number_literal) )) != number_literal)) ))) )) (goto_statement "goto LAB_0002ba6d;" goto statement_identifier ;)) (expression_statement "iVar6 = param_2[0x14];" (assignment_expression "iVar6 = param_2[0x14]" identifier = (subscript_expression "param_2[0x14]" identifier [ number_literal ])) ;) (if_statement "if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }" if (parenthesized_expression "(iVar6 != 1)" ( (binary_expression "iVar6 != 1" identifier != number_literal) )) (compound_statement "{\n                iVar6 = FUN_00023070();\n              }" { (expression_statement "iVar6 = FUN_00023070();" (assignment_expression "iVar6 = FUN_00023070()" identifier = (call_expression "FUN_00023070()" identifier (argument_list "()" ( )))) ;) })) (expression_statement "iVar6 = iVar6 + iVar7;" (assignment_expression "iVar6 = iVar6 + iVar7" identifier = (binary_expression "iVar6 + iVar7" identifier + identifier)) ;) (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_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }" else (compound_statement "{\nLAB_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }" { (labeled_statement "LAB_0002ba6d:\n            iVar6 = iVar7 + 1;" statement_identifier : (expression_statement "iVar6 = iVar7 + 1;" (assignment_expression "iVar6 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;)) (expression_statement "param_2[10] = iVar6;" (assignment_expression "param_2[10] = iVar6" (subscript_expression "param_2[10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "bVar3 = *(byte *)(param_2[1] + iVar7);" (assignment_expression "bVar3 = *(byte *)(param_2[1] + iVar7)" identifier = (pointer_expression "*(byte *)(param_2[1] + iVar7)" * (cast_expression "(byte *)(param_2[1] + iVar7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[1] + iVar7)" ( (binary_expression "param_2[1] + iVar7" (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 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']')) {\n            param_2[10] = iVar6 + 1;\n            *(undefined1 *)(param_1[1] + iVar4) = 0;\n            bVar3 = param_3[4];\n            if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }\n            goto LAB_0002b9f4;\n          }" if (parenthesized_expression "((bVar2 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']'))" ( (binary_expression "(bVar2 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']')" (parenthesized_expression "(bVar2 == bVar3)" ( (binary_expression "bVar2 == bVar3" 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] + iVar4) = 0;\n            bVar3 = param_3[4];\n            if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }\n            goto LAB_0002b9f4;\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] + iVar4) = 0;" (assignment_expression "*(undefined1 *)(param_1[1] + iVar4) = 0" (pointer_expression "*(undefined1 *)(param_1[1] + iVar4)" * (cast_expression "(undefined1 *)(param_1[1] + iVar4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[1] + iVar4)" ( (binary_expression "param_1[1] + iVar4" (subscript_expression "param_1[1]" identifier [ number_literal ]) + identifier) )))) = number_literal) ;) (expression_statement "bVar3 = param_3[4];" (assignment_expression "bVar3 = param_3[4]" identifier = (subscript_expression "param_3[4]" identifier [ number_literal ])) ;) (if_statement "if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }" if (parenthesized_expression "(bVar3 == 0x1c)" ( (binary_expression "bVar3 == 0x1c" identifier == number_literal) )) (compound_statement "{\n              *param_1 = 2;\n              uVar5 = 0;\n            }" { (expression_statement "*param_1 = 2;" (assignment_expression "*param_1 = 2" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) }) (else_clause "else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }" else (if_statement "if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }" if (parenthesized_expression "(bVar3 == 0x1e)" ( (binary_expression "bVar3 == 0x1e" identifier == number_literal) )) (compound_statement "{\n              *param_1 = 4;\n              uVar5 = 0;\n            }" { (expression_statement "*param_1 = 4;" (assignment_expression "*param_1 = 4" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) }) (else_clause "else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }" else (compound_statement "{\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (if_statement "if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }" if (parenthesized_expression "(bVar3 == 0x1a)" ( (binary_expression "bVar3 == 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_0002b9f4;" goto statement_identifier ;) })) (expression_statement "*(byte *)(param_1[1] + iVar4) = bVar3;" (assignment_expression "*(byte *)(param_1[1] + iVar4) = bVar3" (pointer_expression "*(byte *)(param_1[1] + iVar4)" * (cast_expression "(byte *)(param_1[1] + iVar4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[1] + iVar4)" ( (binary_expression "param_1[1] + iVar4" (subscript_expression "param_1[1]" identifier [ number_literal ]) + identifier) )))) = identifier) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (if_statement "if (iVar4 == 0x20) break;" if (parenthesized_expression "(iVar4 == 0x20)" ( (binary_expression "iVar4 == 0x20" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar7 = param_2[10];" (assignment_expression "iVar7 = param_2[10]" identifier = (subscript_expression "param_2[10]" identifier [ number_literal ])) ;) (expression_statement "bVar3 = param_3[4];" (assignment_expression "bVar3 = param_3[4]" identifier = (subscript_expression "param_3[4]" identifier [ number_literal ])) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "uVar5 = 7;" (assignment_expression "uVar5 = 7" identifier = number_literal) ;) }) (else_clause "else {\n      if ((bVar3 == 0x16) && (param_6 == '\0')) {\n        FUN_00021570();\n        uVar5 = 0xb;\n        if (local_24 != '\x15') goto LAB_0002b9f4;\n      }\n      *param_1 = 0;\n      *(byte *)(param_1 + 1) = *param_3;\n      uVar5 = 0;\n    }" else (compound_statement "{\n      if ((bVar3 == 0x16) && (param_6 == '\0')) {\n        FUN_00021570();\n        uVar5 = 0xb;\n        if (local_24 != '\x15') goto LAB_0002b9f4;\n      }\n      *param_1 = 0;\n      *(byte *)(param_1 + 1) = *param_3;\n      uVar5 = 0;\n    }" { (if_statement "if ((bVar3 == 0x16) && (param_6 == '\0')) {\n        FUN_00021570();\n        uVar5 = 0xb;\n        if (local_24 != '\x15') goto LAB_0002b9f4;\n      }" if (parenthesized_expression "((bVar3 == 0x16) && (param_6 == '\0'))" ( (binary_expression "(bVar3 == 0x16) && (param_6 == '\0')" (parenthesized_expression "(bVar3 == 0x16)" ( (binary_expression "bVar3 == 0x16" identifier == number_literal) )) && (parenthesized_expression "(param_6 == '\0')" ( (binary_expression "param_6 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n        FUN_00021570();\n        uVar5 = 0xb;\n        if (local_24 != '\x15') goto LAB_0002b9f4;\n      }" { (expression_statement "FUN_00021570();" (call_expression "FUN_00021570()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar5 = 0xb;" (assignment_expression "uVar5 = 0xb" identifier = number_literal) ;) (if_statement "if (local_24 != '\x15') goto LAB_0002b9f4;" if (parenthesized_expression "(local_24 != '\x15')" ( (binary_expression "local_24 != '\x15'" identifier != (char_literal "'\x15'" ' escape_sequence ')) )) (goto_statement "goto LAB_0002b9f4;" goto statement_identifier ;)) })) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "*(byte *)(param_1 + 1) = *param_3;" (assignment_expression "*(byte *)(param_1 + 1) = *param_3" (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) )))) = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) }))) }) (else_clause "else {\n    iVar6 = param_2[2];\n    *param_1 = 1;\n    uVar5 = 0;\n    param_1[1] = *(undefined4 *)(iVar6 + iVar7 * 4);\n    param_2[10] = iVar7 + iVar4;\n  }" else (compound_statement "{\n    iVar6 = param_2[2];\n    *param_1 = 1;\n    uVar5 = 0;\n    param_1[1] = *(undefined4 *)(iVar6 + iVar7 * 4);\n    param_2[10] = iVar7 + iVar4;\n  }" { (expression_statement "iVar6 = param_2[2];" (assignment_expression "iVar6 = param_2[2]" identifier = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (expression_statement "*param_1 = 1;" (assignment_expression "*param_1 = 1" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "param_1[1] = *(undefined4 *)(iVar6 + iVar7 * 4);" (assignment_expression "param_1[1] = *(undefined4 *)(iVar6 + iVar7 * 4)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(iVar6 + iVar7 * 4)" * (cast_expression "(undefined4 *)(iVar6 + iVar7 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar7 * 4)" ( (binary_expression "iVar6 + iVar7 * 4" identifier + (binary_expression "iVar7 * 4" identifier * number_literal)) ))))) ;) (expression_statement "param_2[10] = iVar7 + iVar4;" (assignment_expression "param_2[10] = iVar7 + iVar4" (subscript_expression "param_2[10]" identifier [ number_literal ]) = (binary_expression "iVar7 + iVar4" identifier + identifier)) ;) }))) (labeled_statement "LAB_0002b9f4:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00031620();\n  }" statement_identifier : (if_statement "if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00031620();\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_00031620();\n  }" { comment (expression_statement "FUN_00031620();" (call_expression "FUN_00031620()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return uVar5;" 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  byte bVar2;\n  char cVar3;\n  wint_t *pwVar4;\n  byte bVar5;\n  int iVar6;\n  reg_errcode_t rVar7;\n  Idx idx;\n  int iVar8;\n  int in_GS_OFFSET;\n  re_token_t token2;\n  \n  iVar8 = regexp->cur_idx;\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((regexp->mb_cur_max == 1) || (iVar6 = re_string_char_size_at(regexp,iVar8), iVar6 < 2)) {\n    idx = iVar8 + token_len;\n    regexp->cur_idx = idx;\n    bVar5 = token->field_0x4;\n    if (((bVar5 & 0xfb) == 0x1a) || (bVar5 == 0x1c)) {\n      if (idx < regexp->stop) {\n        iVar8 = 0;\n        bVar2 = (token->opr).c;\n        do {\n          if ((bVar5 == 0x1e) && (regexp->mbs_allocated != '\0')) {\n            if (regexp->offsets_needed == '\0') {\n              iVar6 = idx + 1;\n              regexp->cur_idx = iVar6;\n              bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + idx];\n            }\n            else {\n              if (((idx != regexp->valid_len) && (regexp->wcs[idx] == 0xffffffff)) ||\n                 (bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[idx]],\n                 (bVar5 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = regexp->mb_cur_max;\n              if (iVar6 != 1) {\n                iVar6 = re_string_char_size_at(regexp,idx);\n              }\n              iVar6 = iVar6 + idx;\n              regexp->cur_idx = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = idx + 1;\n            regexp->cur_idx = iVar6;\n            bVar5 = regexp->mbs[idx];\n          }\n          if (regexp->stop <= iVar6) break;\n          if ((bVar2 == bVar5) && (regexp->mbs[iVar6] == ']')) {\n            regexp->cur_idx = iVar6 + 1;\n            (elem->opr).name[iVar8] = '\0';\n            cVar3 = token->field_0x4;\n            if (cVar3 == '\x1c') {\n              elem->type = EQUIV_CLASS;\n              rVar7 = _REG_NOERROR;\n            }\n            else if (cVar3 == '\x1e') {\n              elem->type = CHAR_CLASS;\n              rVar7 = _REG_NOERROR;\n            }\n            else {\n              rVar7 = _REG_NOERROR;\n              if (cVar3 == '\x1a') {\n                elem->type = COLL_SYM;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          (elem->opr).name[iVar8] = bVar5;\n          iVar8 = iVar8 + 1;\n          if (iVar8 == 0x20) break;\n          idx = regexp->cur_idx;\n          bVar5 = token->field_0x4;\n        } while( true );\n      }\n      rVar7 = _REG_EBRACK;\n    }\n    else {\n      if ((bVar5 == 0x16) && ((char)syntax == '\0')) {\n        peek_token_bracket(&token2,regexp,(reg_syntax_t)dfa);\n        rVar7 = _REG_ERANGE;\n        if (token2._4_1_ != '\x15') goto LAB_0002b9f4;\n      }\n      elem->type = SB_CHAR;\n      (elem->opr).ch = (token->opr).c;\n      rVar7 = _REG_NOERROR;\n    }\n  }\n  else {\n    pwVar4 = regexp->wcs;\n    elem->type = MB_CHAR;\n    rVar7 = _REG_NOERROR;\n    elem->opr = *(anon_union_4_3_ebfdf496_for_opr *)(pwVar4 + iVar8);\n    regexp->cur_idx = iVar8 + iVar6;\n  }\nLAB_0002b9f4:\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  byte bVar2;\n  char cVar3;\n  wint_t *pwVar4;\n  byte bVar5;\n  int iVar6;\n  reg_errcode_t rVar7;\n  Idx idx;\n  int iVar8;\n  int in_GS_OFFSET;\n  re_token_t token2;\n  \n  iVar8 = regexp->cur_idx;\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((regexp->mb_cur_max == 1) || (iVar6 = re_string_char_size_at(regexp,iVar8), iVar6 < 2)) {\n    idx = iVar8 + token_len;\n    regexp->cur_idx = idx;\n    bVar5 = token->field_0x4;\n    if (((bVar5 & 0xfb) == 0x1a) || (bVar5 == 0x1c)) {\n      if (idx < regexp->stop) {\n        iVar8 = 0;\n        bVar2 = (token->opr).c;\n        do {\n          if ((bVar5 == 0x1e) && (regexp->mbs_allocated != '\0')) {\n            if (regexp->offsets_needed == '\0') {\n              iVar6 = idx + 1;\n              regexp->cur_idx = iVar6;\n              bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + idx];\n            }\n            else {\n              if (((idx != regexp->valid_len) && (regexp->wcs[idx] == 0xffffffff)) ||\n                 (bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[idx]],\n                 (bVar5 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = regexp->mb_cur_max;\n              if (iVar6 != 1) {\n                iVar6 = re_string_char_size_at(regexp,idx);\n              }\n              iVar6 = iVar6 + idx;\n              regexp->cur_idx = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = idx + 1;\n            regexp->cur_idx = iVar6;\n            bVar5 = regexp->mbs[idx];\n          }\n          if (regexp->stop <= iVar6) break;\n          if ((bVar2 == bVar5) && (regexp->mbs[iVar6] == ']')) {\n            regexp->cur_idx = iVar6 + 1;\n            (elem->opr).name[iVar8] = '\0';\n            cVar3 = token->field_0x4;\n            if (cVar3 == '\x1c') {\n              elem->type = EQUIV_CLASS;\n              rVar7 = _REG_NOERROR;\n            }\n            else if (cVar3 == '\x1e') {\n              elem->type = CHAR_CLASS;\n              rVar7 = _REG_NOERROR;\n            }\n            else {\n              rVar7 = _REG_NOERROR;\n              if (cVar3 == '\x1a') {\n                elem->type = COLL_SYM;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          (elem->opr).name[iVar8] = bVar5;\n          iVar8 = iVar8 + 1;\n          if (iVar8 == 0x20) break;\n          idx = regexp->cur_idx;\n          bVar5 = token->field_0x4;\n        } while( true );\n      }\n      rVar7 = _REG_EBRACK;\n    }\n    else {\n      if ((bVar5 == 0x16) && ((char)syntax == '\0')) {\n        peek_token_bracket(&token2,regexp,(reg_syntax_t)dfa);\n        rVar7 = _REG_ERANGE;\n        if (token2._4_1_ != '\x15') goto LAB_0002b9f4;\n      }\n      elem->type = SB_CHAR;\n      (elem->opr).ch = (token->opr).c;\n      rVar7 = _REG_NOERROR;\n    }\n  }\n  else {\n    pwVar4 = regexp->wcs;\n    elem->type = MB_CHAR;\n    rVar7 = _REG_NOERROR;\n    elem->opr = *(anon_union_4_3_ebfdf496_for_opr *)(pwVar4 + iVar8);\n    regexp->cur_idx = iVar8 + iVar6;\n  }\nLAB_0002b9f4:\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  byte bVar2;\n  char cVar3;\n  wint_t *pwVar4;\n  byte bVar5;\n  int iVar6;\n  reg_errcode_t rVar7;\n  Idx idx;\n  int iVar8;\n  int in_GS_OFFSET;\n  re_token_t token2;\n  \n  iVar8 = regexp->cur_idx;\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((regexp->mb_cur_max == 1) || (iVar6 = re_string_char_size_at(regexp,iVar8), iVar6 < 2)) {\n    idx = iVar8 + token_len;\n    regexp->cur_idx = idx;\n    bVar5 = token->field_0x4;\n    if (((bVar5 & 0xfb) == 0x1a) || (bVar5 == 0x1c)) {\n      if (idx < regexp->stop) {\n        iVar8 = 0;\n        bVar2 = (token->opr).c;\n        do {\n          if ((bVar5 == 0x1e) && (regexp->mbs_allocated != '\0')) {\n            if (regexp->offsets_needed == '\0') {\n              iVar6 = idx + 1;\n              regexp->cur_idx = iVar6;\n              bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + idx];\n            }\n            else {\n              if (((idx != regexp->valid_len) && (regexp->wcs[idx] == 0xffffffff)) ||\n                 (bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[idx]],\n                 (bVar5 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = regexp->mb_cur_max;\n              if (iVar6 != 1) {\n                iVar6 = re_string_char_size_at(regexp,idx);\n              }\n              iVar6 = iVar6 + idx;\n              regexp->cur_idx = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = idx + 1;\n            regexp->cur_idx = iVar6;\n            bVar5 = regexp->mbs[idx];\n          }\n          if (regexp->stop <= iVar6) break;\n          if ((bVar2 == bVar5) && (regexp->mbs[iVar6] == ']')) {\n            regexp->cur_idx = iVar6 + 1;\n            (elem->opr).name[iVar8] = '\0';\n            cVar3 = token->field_0x4;\n            if (cVar3 == '\x1c') {\n              elem->type = EQUIV_CLASS;\n              rVar7 = _REG_NOERROR;\n            }\n            else if (cVar3 == '\x1e') {\n              elem->type = CHAR_CLASS;\n              rVar7 = _REG_NOERROR;\n            }\n            else {\n              rVar7 = _REG_NOERROR;\n              if (cVar3 == '\x1a') {\n                elem->type = COLL_SYM;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          (elem->opr).name[iVar8] = bVar5;\n          iVar8 = iVar8 + 1;\n          if (iVar8 == 0x20) break;\n          idx = regexp->cur_idx;\n          bVar5 = token->field_0x4;\n        } while( true );\n      }\n      rVar7 = _REG_EBRACK;\n    }\n    else {\n      if ((bVar5 == 0x16) && ((char)syntax == '\0')) {\n        peek_token_bracket(&token2,regexp,(reg_syntax_t)dfa);\n        rVar7 = _REG_ERANGE;\n        if (token2._4_1_ != '\x15') goto LAB_0002b9f4;\n      }\n      elem->type = SB_CHAR;\n      (elem->opr).ch = (token->opr).c;\n      rVar7 = _REG_NOERROR;\n    }\n  }\n  else {\n    pwVar4 = regexp->wcs;\n    elem->type = MB_CHAR;\n    rVar7 = _REG_NOERROR;\n    elem->opr = *(anon_union_4_3_ebfdf496_for_opr *)(pwVar4 + iVar8);\n    regexp->cur_idx = iVar8 + iVar6;\n  }\nLAB_0002b9f4:\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 "byte bVar2;" type_identifier identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "wint_t *pwVar4;" type_identifier (pointer_declarator "*pwVar4" * identifier) ;) (declaration "byte bVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "reg_errcode_t rVar7;" type_identifier identifier ;) (declaration "Idx idx;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "re_token_t token2;" type_identifier identifier ;) (expression_statement "iVar8 = regexp->cur_idx;" (assignment_expression "iVar8 = regexp->cur_idx" identifier = (field_expression "regexp->cur_idx" identifier -> field_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) ))))) ;) (if_statement "if ((regexp->mb_cur_max == 1) || (iVar6 = re_string_char_size_at(regexp,iVar8), iVar6 < 2)) {\n    idx = iVar8 + token_len;\n    regexp->cur_idx = idx;\n    bVar5 = token->field_0x4;\n    if (((bVar5 & 0xfb) == 0x1a) || (bVar5 == 0x1c)) {\n      if (idx < regexp->stop) {\n        iVar8 = 0;\n        bVar2 = (token->opr).c;\n        do {\n          if ((bVar5 == 0x1e) && (regexp->mbs_allocated != '\0')) {\n            if (regexp->offsets_needed == '\0') {\n              iVar6 = idx + 1;\n              regexp->cur_idx = iVar6;\n              bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + idx];\n            }\n            else {\n              if (((idx != regexp->valid_len) && (regexp->wcs[idx] == 0xffffffff)) ||\n                 (bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[idx]],\n                 (bVar5 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = regexp->mb_cur_max;\n              if (iVar6 != 1) {\n                iVar6 = re_string_char_size_at(regexp,idx);\n              }\n              iVar6 = iVar6 + idx;\n              regexp->cur_idx = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = idx + 1;\n            regexp->cur_idx = iVar6;\n            bVar5 = regexp->mbs[idx];\n          }\n          if (regexp->stop <= iVar6) break;\n          if ((bVar2 == bVar5) && (regexp->mbs[iVar6] == ']')) {\n            regexp->cur_idx = iVar6 + 1;\n            (elem->opr).name[iVar8] = '\0';\n            cVar3 = token->field_0x4;\n            if (cVar3 == '\x1c') {\n              elem->type = EQUIV_CLASS;\n              rVar7 = _REG_NOERROR;\n            }\n            else if (cVar3 == '\x1e') {\n              elem->type = CHAR_CLASS;\n              rVar7 = _REG_NOERROR;\n            }\n            else {\n              rVar7 = _REG_NOERROR;\n              if (cVar3 == '\x1a') {\n                elem->type = COLL_SYM;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          (elem->opr).name[iVar8] = bVar5;\n          iVar8 = iVar8 + 1;\n          if (iVar8 == 0x20) break;\n          idx = regexp->cur_idx;\n          bVar5 = token->field_0x4;\n        } while( true );\n      }\n      rVar7 = _REG_EBRACK;\n    }\n    else {\n      if ((bVar5 == 0x16) && ((char)syntax == '\0')) {\n        peek_token_bracket(&token2,regexp,(reg_syntax_t)dfa);\n        rVar7 = _REG_ERANGE;\n        if (token2._4_1_ != '\x15') goto LAB_0002b9f4;\n      }\n      elem->type = SB_CHAR;\n      (elem->opr).ch = (token->opr).c;\n      rVar7 = _REG_NOERROR;\n    }\n  }\n  else {\n    pwVar4 = regexp->wcs;\n    elem->type = MB_CHAR;\n    rVar7 = _REG_NOERROR;\n    elem->opr = *(anon_union_4_3_ebfdf496_for_opr *)(pwVar4 + iVar8);\n    regexp->cur_idx = iVar8 + iVar6;\n  }" if (parenthesized_expression "((regexp->mb_cur_max == 1) || (iVar6 = re_string_char_size_at(regexp,iVar8), iVar6 < 2))" ( (binary_expression "(regexp->mb_cur_max == 1) || (iVar6 = re_string_char_size_at(regexp,iVar8), iVar6 < 2)" (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 "(iVar6 = re_string_char_size_at(regexp,iVar8), iVar6 < 2)" ( (comma_expression "iVar6 = re_string_char_size_at(regexp,iVar8), iVar6 < 2" (assignment_expression "iVar6 = re_string_char_size_at(regexp,iVar8)" identifier = (call_expression "re_string_char_size_at(regexp,iVar8)" identifier (argument_list "(regexp,iVar8)" ( identifier , identifier )))) , (binary_expression "iVar6 < 2" identifier < number_literal)) ))) )) (compound_statement "{\n    idx = iVar8 + token_len;\n    regexp->cur_idx = idx;\n    bVar5 = token->field_0x4;\n    if (((bVar5 & 0xfb) == 0x1a) || (bVar5 == 0x1c)) {\n      if (idx < regexp->stop) {\n        iVar8 = 0;\n        bVar2 = (token->opr).c;\n        do {\n          if ((bVar5 == 0x1e) && (regexp->mbs_allocated != '\0')) {\n            if (regexp->offsets_needed == '\0') {\n              iVar6 = idx + 1;\n              regexp->cur_idx = iVar6;\n              bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + idx];\n            }\n            else {\n              if (((idx != regexp->valid_len) && (regexp->wcs[idx] == 0xffffffff)) ||\n                 (bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[idx]],\n                 (bVar5 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = regexp->mb_cur_max;\n              if (iVar6 != 1) {\n                iVar6 = re_string_char_size_at(regexp,idx);\n              }\n              iVar6 = iVar6 + idx;\n              regexp->cur_idx = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = idx + 1;\n            regexp->cur_idx = iVar6;\n            bVar5 = regexp->mbs[idx];\n          }\n          if (regexp->stop <= iVar6) break;\n          if ((bVar2 == bVar5) && (regexp->mbs[iVar6] == ']')) {\n            regexp->cur_idx = iVar6 + 1;\n            (elem->opr).name[iVar8] = '\0';\n            cVar3 = token->field_0x4;\n            if (cVar3 == '\x1c') {\n              elem->type = EQUIV_CLASS;\n              rVar7 = _REG_NOERROR;\n            }\n            else if (cVar3 == '\x1e') {\n              elem->type = CHAR_CLASS;\n              rVar7 = _REG_NOERROR;\n            }\n            else {\n              rVar7 = _REG_NOERROR;\n              if (cVar3 == '\x1a') {\n                elem->type = COLL_SYM;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          (elem->opr).name[iVar8] = bVar5;\n          iVar8 = iVar8 + 1;\n          if (iVar8 == 0x20) break;\n          idx = regexp->cur_idx;\n          bVar5 = token->field_0x4;\n        } while( true );\n      }\n      rVar7 = _REG_EBRACK;\n    }\n    else {\n      if ((bVar5 == 0x16) && ((char)syntax == '\0')) {\n        peek_token_bracket(&token2,regexp,(reg_syntax_t)dfa);\n        rVar7 = _REG_ERANGE;\n        if (token2._4_1_ != '\x15') goto LAB_0002b9f4;\n      }\n      elem->type = SB_CHAR;\n      (elem->opr).ch = (token->opr).c;\n      rVar7 = _REG_NOERROR;\n    }\n  }" { (expression_statement "idx = iVar8 + token_len;" (assignment_expression "idx = iVar8 + token_len" identifier = (binary_expression "iVar8 + token_len" identifier + identifier)) ;) (expression_statement "regexp->cur_idx = idx;" (assignment_expression "regexp->cur_idx = idx" (field_expression "regexp->cur_idx" identifier -> field_identifier) = identifier) ;) (expression_statement "bVar5 = token->field_0x4;" (assignment_expression "bVar5 = token->field_0x4" identifier = (field_expression "token->field_0x4" identifier -> field_identifier)) ;) (if_statement "if (((bVar5 & 0xfb) == 0x1a) || (bVar5 == 0x1c)) {\n      if (idx < regexp->stop) {\n        iVar8 = 0;\n        bVar2 = (token->opr).c;\n        do {\n          if ((bVar5 == 0x1e) && (regexp->mbs_allocated != '\0')) {\n            if (regexp->offsets_needed == '\0') {\n              iVar6 = idx + 1;\n              regexp->cur_idx = iVar6;\n              bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + idx];\n            }\n            else {\n              if (((idx != regexp->valid_len) && (regexp->wcs[idx] == 0xffffffff)) ||\n                 (bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[idx]],\n                 (bVar5 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = regexp->mb_cur_max;\n              if (iVar6 != 1) {\n                iVar6 = re_string_char_size_at(regexp,idx);\n              }\n              iVar6 = iVar6 + idx;\n              regexp->cur_idx = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = idx + 1;\n            regexp->cur_idx = iVar6;\n            bVar5 = regexp->mbs[idx];\n          }\n          if (regexp->stop <= iVar6) break;\n          if ((bVar2 == bVar5) && (regexp->mbs[iVar6] == ']')) {\n            regexp->cur_idx = iVar6 + 1;\n            (elem->opr).name[iVar8] = '\0';\n            cVar3 = token->field_0x4;\n            if (cVar3 == '\x1c') {\n              elem->type = EQUIV_CLASS;\n              rVar7 = _REG_NOERROR;\n            }\n            else if (cVar3 == '\x1e') {\n              elem->type = CHAR_CLASS;\n              rVar7 = _REG_NOERROR;\n            }\n            else {\n              rVar7 = _REG_NOERROR;\n              if (cVar3 == '\x1a') {\n                elem->type = COLL_SYM;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          (elem->opr).name[iVar8] = bVar5;\n          iVar8 = iVar8 + 1;\n          if (iVar8 == 0x20) break;\n          idx = regexp->cur_idx;\n          bVar5 = token->field_0x4;\n        } while( true );\n      }\n      rVar7 = _REG_EBRACK;\n    }\n    else {\n      if ((bVar5 == 0x16) && ((char)syntax == '\0')) {\n        peek_token_bracket(&token2,regexp,(reg_syntax_t)dfa);\n        rVar7 = _REG_ERANGE;\n        if (token2._4_1_ != '\x15') goto LAB_0002b9f4;\n      }\n      elem->type = SB_CHAR;\n      (elem->opr).ch = (token->opr).c;\n      rVar7 = _REG_NOERROR;\n    }" if (parenthesized_expression "(((bVar5 & 0xfb) == 0x1a) || (bVar5 == 0x1c))" ( (binary_expression "((bVar5 & 0xfb) == 0x1a) || (bVar5 == 0x1c)" (parenthesized_expression "((bVar5 & 0xfb) == 0x1a)" ( (binary_expression "(bVar5 & 0xfb) == 0x1a" (parenthesized_expression "(bVar5 & 0xfb)" ( (binary_expression "bVar5 & 0xfb" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "(bVar5 == 0x1c)" ( (binary_expression "bVar5 == 0x1c" identifier == number_literal) ))) )) (compound_statement "{\n      if (idx < regexp->stop) {\n        iVar8 = 0;\n        bVar2 = (token->opr).c;\n        do {\n          if ((bVar5 == 0x1e) && (regexp->mbs_allocated != '\0')) {\n            if (regexp->offsets_needed == '\0') {\n              iVar6 = idx + 1;\n              regexp->cur_idx = iVar6;\n              bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + idx];\n            }\n            else {\n              if (((idx != regexp->valid_len) && (regexp->wcs[idx] == 0xffffffff)) ||\n                 (bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[idx]],\n                 (bVar5 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = regexp->mb_cur_max;\n              if (iVar6 != 1) {\n                iVar6 = re_string_char_size_at(regexp,idx);\n              }\n              iVar6 = iVar6 + idx;\n              regexp->cur_idx = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = idx + 1;\n            regexp->cur_idx = iVar6;\n            bVar5 = regexp->mbs[idx];\n          }\n          if (regexp->stop <= iVar6) break;\n          if ((bVar2 == bVar5) && (regexp->mbs[iVar6] == ']')) {\n            regexp->cur_idx = iVar6 + 1;\n            (elem->opr).name[iVar8] = '\0';\n            cVar3 = token->field_0x4;\n            if (cVar3 == '\x1c') {\n              elem->type = EQUIV_CLASS;\n              rVar7 = _REG_NOERROR;\n            }\n            else if (cVar3 == '\x1e') {\n              elem->type = CHAR_CLASS;\n              rVar7 = _REG_NOERROR;\n            }\n            else {\n              rVar7 = _REG_NOERROR;\n              if (cVar3 == '\x1a') {\n                elem->type = COLL_SYM;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          (elem->opr).name[iVar8] = bVar5;\n          iVar8 = iVar8 + 1;\n          if (iVar8 == 0x20) break;\n          idx = regexp->cur_idx;\n          bVar5 = token->field_0x4;\n        } while( true );\n      }\n      rVar7 = _REG_EBRACK;\n    }" { (if_statement "if (idx < regexp->stop) {\n        iVar8 = 0;\n        bVar2 = (token->opr).c;\n        do {\n          if ((bVar5 == 0x1e) && (regexp->mbs_allocated != '\0')) {\n            if (regexp->offsets_needed == '\0') {\n              iVar6 = idx + 1;\n              regexp->cur_idx = iVar6;\n              bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + idx];\n            }\n            else {\n              if (((idx != regexp->valid_len) && (regexp->wcs[idx] == 0xffffffff)) ||\n                 (bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[idx]],\n                 (bVar5 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = regexp->mb_cur_max;\n              if (iVar6 != 1) {\n                iVar6 = re_string_char_size_at(regexp,idx);\n              }\n              iVar6 = iVar6 + idx;\n              regexp->cur_idx = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = idx + 1;\n            regexp->cur_idx = iVar6;\n            bVar5 = regexp->mbs[idx];\n          }\n          if (regexp->stop <= iVar6) break;\n          if ((bVar2 == bVar5) && (regexp->mbs[iVar6] == ']')) {\n            regexp->cur_idx = iVar6 + 1;\n            (elem->opr).name[iVar8] = '\0';\n            cVar3 = token->field_0x4;\n            if (cVar3 == '\x1c') {\n              elem->type = EQUIV_CLASS;\n              rVar7 = _REG_NOERROR;\n            }\n            else if (cVar3 == '\x1e') {\n              elem->type = CHAR_CLASS;\n              rVar7 = _REG_NOERROR;\n            }\n            else {\n              rVar7 = _REG_NOERROR;\n              if (cVar3 == '\x1a') {\n                elem->type = COLL_SYM;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          (elem->opr).name[iVar8] = bVar5;\n          iVar8 = iVar8 + 1;\n          if (iVar8 == 0x20) break;\n          idx = regexp->cur_idx;\n          bVar5 = token->field_0x4;\n        } while( true );\n      }" if (parenthesized_expression "(idx < regexp->stop)" ( (binary_expression "idx < regexp->stop" identifier < (field_expression "regexp->stop" identifier -> field_identifier)) )) (compound_statement "{\n        iVar8 = 0;\n        bVar2 = (token->opr).c;\n        do {\n          if ((bVar5 == 0x1e) && (regexp->mbs_allocated != '\0')) {\n            if (regexp->offsets_needed == '\0') {\n              iVar6 = idx + 1;\n              regexp->cur_idx = iVar6;\n              bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + idx];\n            }\n            else {\n              if (((idx != regexp->valid_len) && (regexp->wcs[idx] == 0xffffffff)) ||\n                 (bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[idx]],\n                 (bVar5 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = regexp->mb_cur_max;\n              if (iVar6 != 1) {\n                iVar6 = re_string_char_size_at(regexp,idx);\n              }\n              iVar6 = iVar6 + idx;\n              regexp->cur_idx = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = idx + 1;\n            regexp->cur_idx = iVar6;\n            bVar5 = regexp->mbs[idx];\n          }\n          if (regexp->stop <= iVar6) break;\n          if ((bVar2 == bVar5) && (regexp->mbs[iVar6] == ']')) {\n            regexp->cur_idx = iVar6 + 1;\n            (elem->opr).name[iVar8] = '\0';\n            cVar3 = token->field_0x4;\n            if (cVar3 == '\x1c') {\n              elem->type = EQUIV_CLASS;\n              rVar7 = _REG_NOERROR;\n            }\n            else if (cVar3 == '\x1e') {\n              elem->type = CHAR_CLASS;\n              rVar7 = _REG_NOERROR;\n            }\n            else {\n              rVar7 = _REG_NOERROR;\n              if (cVar3 == '\x1a') {\n                elem->type = COLL_SYM;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          (elem->opr).name[iVar8] = bVar5;\n          iVar8 = iVar8 + 1;\n          if (iVar8 == 0x20) break;\n          idx = regexp->cur_idx;\n          bVar5 = token->field_0x4;\n        } while( true );\n      }" { (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (expression_statement "bVar2 = (token->opr).c;" (assignment_expression "bVar2 = (token->opr).c" identifier = (field_expression "(token->opr).c" (parenthesized_expression "(token->opr)" ( (field_expression "token->opr" identifier -> field_identifier) )) . field_identifier)) ;) (do_statement "do {\n          if ((bVar5 == 0x1e) && (regexp->mbs_allocated != '\0')) {\n            if (regexp->offsets_needed == '\0') {\n              iVar6 = idx + 1;\n              regexp->cur_idx = iVar6;\n              bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + idx];\n            }\n            else {\n              if (((idx != regexp->valid_len) && (regexp->wcs[idx] == 0xffffffff)) ||\n                 (bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[idx]],\n                 (bVar5 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = regexp->mb_cur_max;\n              if (iVar6 != 1) {\n                iVar6 = re_string_char_size_at(regexp,idx);\n              }\n              iVar6 = iVar6 + idx;\n              regexp->cur_idx = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = idx + 1;\n            regexp->cur_idx = iVar6;\n            bVar5 = regexp->mbs[idx];\n          }\n          if (regexp->stop <= iVar6) break;\n          if ((bVar2 == bVar5) && (regexp->mbs[iVar6] == ']')) {\n            regexp->cur_idx = iVar6 + 1;\n            (elem->opr).name[iVar8] = '\0';\n            cVar3 = token->field_0x4;\n            if (cVar3 == '\x1c') {\n              elem->type = EQUIV_CLASS;\n              rVar7 = _REG_NOERROR;\n            }\n            else if (cVar3 == '\x1e') {\n              elem->type = CHAR_CLASS;\n              rVar7 = _REG_NOERROR;\n            }\n            else {\n              rVar7 = _REG_NOERROR;\n              if (cVar3 == '\x1a') {\n                elem->type = COLL_SYM;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          (elem->opr).name[iVar8] = bVar5;\n          iVar8 = iVar8 + 1;\n          if (iVar8 == 0x20) break;\n          idx = regexp->cur_idx;\n          bVar5 = token->field_0x4;\n        } while( true );" do (compound_statement "{\n          if ((bVar5 == 0x1e) && (regexp->mbs_allocated != '\0')) {\n            if (regexp->offsets_needed == '\0') {\n              iVar6 = idx + 1;\n              regexp->cur_idx = iVar6;\n              bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + idx];\n            }\n            else {\n              if (((idx != regexp->valid_len) && (regexp->wcs[idx] == 0xffffffff)) ||\n                 (bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[idx]],\n                 (bVar5 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = regexp->mb_cur_max;\n              if (iVar6 != 1) {\n                iVar6 = re_string_char_size_at(regexp,idx);\n              }\n              iVar6 = iVar6 + idx;\n              regexp->cur_idx = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = idx + 1;\n            regexp->cur_idx = iVar6;\n            bVar5 = regexp->mbs[idx];\n          }\n          if (regexp->stop <= iVar6) break;\n          if ((bVar2 == bVar5) && (regexp->mbs[iVar6] == ']')) {\n            regexp->cur_idx = iVar6 + 1;\n            (elem->opr).name[iVar8] = '\0';\n            cVar3 = token->field_0x4;\n            if (cVar3 == '\x1c') {\n              elem->type = EQUIV_CLASS;\n              rVar7 = _REG_NOERROR;\n            }\n            else if (cVar3 == '\x1e') {\n              elem->type = CHAR_CLASS;\n              rVar7 = _REG_NOERROR;\n            }\n            else {\n              rVar7 = _REG_NOERROR;\n              if (cVar3 == '\x1a') {\n                elem->type = COLL_SYM;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          (elem->opr).name[iVar8] = bVar5;\n          iVar8 = iVar8 + 1;\n          if (iVar8 == 0x20) break;\n          idx = regexp->cur_idx;\n          bVar5 = token->field_0x4;\n        }" { (if_statement "if ((bVar5 == 0x1e) && (regexp->mbs_allocated != '\0')) {\n            if (regexp->offsets_needed == '\0') {\n              iVar6 = idx + 1;\n              regexp->cur_idx = iVar6;\n              bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + idx];\n            }\n            else {\n              if (((idx != regexp->valid_len) && (regexp->wcs[idx] == 0xffffffff)) ||\n                 (bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[idx]],\n                 (bVar5 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = regexp->mb_cur_max;\n              if (iVar6 != 1) {\n                iVar6 = re_string_char_size_at(regexp,idx);\n              }\n              iVar6 = iVar6 + idx;\n              regexp->cur_idx = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = idx + 1;\n            regexp->cur_idx = iVar6;\n            bVar5 = regexp->mbs[idx];\n          }" if (parenthesized_expression "((bVar5 == 0x1e) && (regexp->mbs_allocated != '\0'))" ( (binary_expression "(bVar5 == 0x1e) && (regexp->mbs_allocated != '\0')" (parenthesized_expression "(bVar5 == 0x1e)" ( (binary_expression "bVar5 == 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              iVar6 = idx + 1;\n              regexp->cur_idx = iVar6;\n              bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + idx];\n            }\n            else {\n              if (((idx != regexp->valid_len) && (regexp->wcs[idx] == 0xffffffff)) ||\n                 (bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[idx]],\n                 (bVar5 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = regexp->mb_cur_max;\n              if (iVar6 != 1) {\n                iVar6 = re_string_char_size_at(regexp,idx);\n              }\n              iVar6 = iVar6 + idx;\n              regexp->cur_idx = iVar6;\n            }\n          }" { (if_statement "if (regexp->offsets_needed == '\0') {\n              iVar6 = idx + 1;\n              regexp->cur_idx = iVar6;\n              bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + idx];\n            }\n            else {\n              if (((idx != regexp->valid_len) && (regexp->wcs[idx] == 0xffffffff)) ||\n                 (bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[idx]],\n                 (bVar5 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = regexp->mb_cur_max;\n              if (iVar6 != 1) {\n                iVar6 = re_string_char_size_at(regexp,idx);\n              }\n              iVar6 = iVar6 + idx;\n              regexp->cur_idx = iVar6;\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              iVar6 = idx + 1;\n              regexp->cur_idx = iVar6;\n              bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + idx];\n            }" { (expression_statement "iVar6 = idx + 1;" (assignment_expression "iVar6 = idx + 1" identifier = (binary_expression "idx + 1" identifier + number_literal)) ;) (expression_statement "regexp->cur_idx = iVar6;" (assignment_expression "regexp->cur_idx = iVar6" (field_expression "regexp->cur_idx" identifier -> field_identifier) = identifier) ;) (expression_statement "bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + idx];" (assignment_expression "bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + idx]" identifier = (subscript_expression "regexp->raw_mbs[regexp->raw_mbs_idx + idx]" (field_expression "regexp->raw_mbs" identifier -> field_identifier) [ (binary_expression "regexp->raw_mbs_idx + idx" (field_expression "regexp->raw_mbs_idx" identifier -> field_identifier) + identifier) ])) ;) }) (else_clause "else {\n              if (((idx != regexp->valid_len) && (regexp->wcs[idx] == 0xffffffff)) ||\n                 (bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[idx]],\n                 (bVar5 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = regexp->mb_cur_max;\n              if (iVar6 != 1) {\n                iVar6 = re_string_char_size_at(regexp,idx);\n              }\n              iVar6 = iVar6 + idx;\n              regexp->cur_idx = iVar6;\n            }" else (compound_statement "{\n              if (((idx != regexp->valid_len) && (regexp->wcs[idx] == 0xffffffff)) ||\n                 (bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[idx]],\n                 (bVar5 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = regexp->mb_cur_max;\n              if (iVar6 != 1) {\n                iVar6 = re_string_char_size_at(regexp,idx);\n              }\n              iVar6 = iVar6 + idx;\n              regexp->cur_idx = iVar6;\n            }" { (if_statement "if (((idx != regexp->valid_len) && (regexp->wcs[idx] == 0xffffffff)) ||\n                 (bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[idx]],\n                 (bVar5 & 0x80) != 0)) goto LAB_0002ba6d;" if (parenthesized_expression "(((idx != regexp->valid_len) && (regexp->wcs[idx] == 0xffffffff)) ||\n                 (bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[idx]],\n                 (bVar5 & 0x80) != 0))" ( (binary_expression "((idx != regexp->valid_len) && (regexp->wcs[idx] == 0xffffffff)) ||\n                 (bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[idx]],\n                 (bVar5 & 0x80) != 0)" (parenthesized_expression "((idx != regexp->valid_len) && (regexp->wcs[idx] == 0xffffffff))" ( (binary_expression "(idx != regexp->valid_len) && (regexp->wcs[idx] == 0xffffffff)" (parenthesized_expression "(idx != regexp->valid_len)" ( (binary_expression "idx != regexp->valid_len" identifier != (field_expression "regexp->valid_len" identifier -> field_identifier)) )) && (parenthesized_expression "(regexp->wcs[idx] == 0xffffffff)" ( (binary_expression "regexp->wcs[idx] == 0xffffffff" (subscript_expression "regexp->wcs[idx]" (field_expression "regexp->wcs" identifier -> field_identifier) [ identifier ]) == number_literal) ))) )) || (parenthesized_expression "(bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[idx]],\n                 (bVar5 & 0x80) != 0)" ( (comma_expression "bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[idx]],\n                 (bVar5 & 0x80) != 0" (assignment_expression "bVar5 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[idx]]" identifier = (subscript_expression "regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[idx]]" (field_expression "regexp->raw_mbs" identifier -> field_identifier) [ (binary_expression "regexp->raw_mbs_idx + regexp->offsets[idx]" (field_expression "regexp->raw_mbs_idx" identifier -> field_identifier) + (subscript_expression "regexp->offsets[idx]" (field_expression "regexp->offsets" identifier -> field_identifier) [ identifier ])) ])) , (binary_expression "(bVar5 & 0x80) != 0" (parenthesized_expression "(bVar5 & 0x80)" ( (binary_expression "bVar5 & 0x80" identifier & number_literal) )) != number_literal)) ))) )) (goto_statement "goto LAB_0002ba6d;" goto statement_identifier ;)) (expression_statement "iVar6 = regexp->mb_cur_max;" (assignment_expression "iVar6 = regexp->mb_cur_max" identifier = (field_expression "regexp->mb_cur_max" identifier -> field_identifier)) ;) (if_statement "if (iVar6 != 1) {\n                iVar6 = re_string_char_size_at(regexp,idx);\n              }" if (parenthesized_expression "(iVar6 != 1)" ( (binary_expression "iVar6 != 1" identifier != number_literal) )) (compound_statement "{\n                iVar6 = re_string_char_size_at(regexp,idx);\n              }" { (expression_statement "iVar6 = re_string_char_size_at(regexp,idx);" (assignment_expression "iVar6 = re_string_char_size_at(regexp,idx)" identifier = (call_expression "re_string_char_size_at(regexp,idx)" identifier (argument_list "(regexp,idx)" ( identifier , identifier )))) ;) })) (expression_statement "iVar6 = iVar6 + idx;" (assignment_expression "iVar6 = iVar6 + idx" identifier = (binary_expression "iVar6 + idx" identifier + identifier)) ;) (expression_statement "regexp->cur_idx = iVar6;" (assignment_expression "regexp->cur_idx = iVar6" (field_expression "regexp->cur_idx" identifier -> field_identifier) = identifier) ;) }))) }) (else_clause "else {\nLAB_0002ba6d:\n            iVar6 = idx + 1;\n            regexp->cur_idx = iVar6;\n            bVar5 = regexp->mbs[idx];\n          }" else (compound_statement "{\nLAB_0002ba6d:\n            iVar6 = idx + 1;\n            regexp->cur_idx = iVar6;\n            bVar5 = regexp->mbs[idx];\n          }" { (labeled_statement "LAB_0002ba6d:\n            iVar6 = idx + 1;" statement_identifier : (expression_statement "iVar6 = idx + 1;" (assignment_expression "iVar6 = idx + 1" identifier = (binary_expression "idx + 1" identifier + number_literal)) ;)) (expression_statement "regexp->cur_idx = iVar6;" (assignment_expression "regexp->cur_idx = iVar6" (field_expression "regexp->cur_idx" identifier -> field_identifier) = identifier) ;) (expression_statement "bVar5 = regexp->mbs[idx];" (assignment_expression "bVar5 = regexp->mbs[idx]" identifier = (subscript_expression "regexp->mbs[idx]" (field_expression "regexp->mbs" identifier -> field_identifier) [ identifier ])) ;) }))) (if_statement "if (regexp->stop <= iVar6) break;" if (parenthesized_expression "(regexp->stop <= iVar6)" ( (binary_expression "regexp->stop <= iVar6" (field_expression "regexp->stop" identifier -> field_identifier) <= identifier) )) (break_statement "break;" break ;)) (if_statement "if ((bVar2 == bVar5) && (regexp->mbs[iVar6] == ']')) {\n            regexp->cur_idx = iVar6 + 1;\n            (elem->opr).name[iVar8] = '\0';\n            cVar3 = token->field_0x4;\n            if (cVar3 == '\x1c') {\n              elem->type = EQUIV_CLASS;\n              rVar7 = _REG_NOERROR;\n            }\n            else if (cVar3 == '\x1e') {\n              elem->type = CHAR_CLASS;\n              rVar7 = _REG_NOERROR;\n            }\n            else {\n              rVar7 = _REG_NOERROR;\n              if (cVar3 == '\x1a') {\n                elem->type = COLL_SYM;\n              }\n            }\n            goto LAB_0002b9f4;\n          }" if (parenthesized_expression "((bVar2 == bVar5) && (regexp->mbs[iVar6] == ']'))" ( (binary_expression "(bVar2 == bVar5) && (regexp->mbs[iVar6] == ']')" (parenthesized_expression "(bVar2 == bVar5)" ( (binary_expression "bVar2 == bVar5" identifier == identifier) )) && (parenthesized_expression "(regexp->mbs[iVar6] == ']')" ( (binary_expression "regexp->mbs[iVar6] == ']'" (subscript_expression "regexp->mbs[iVar6]" (field_expression "regexp->mbs" identifier -> field_identifier) [ identifier ]) == (char_literal "']'" ' character ')) ))) )) (compound_statement "{\n            regexp->cur_idx = iVar6 + 1;\n            (elem->opr).name[iVar8] = '\0';\n            cVar3 = token->field_0x4;\n            if (cVar3 == '\x1c') {\n              elem->type = EQUIV_CLASS;\n              rVar7 = _REG_NOERROR;\n            }\n            else if (cVar3 == '\x1e') {\n              elem->type = CHAR_CLASS;\n              rVar7 = _REG_NOERROR;\n            }\n            else {\n              rVar7 = _REG_NOERROR;\n              if (cVar3 == '\x1a') {\n                elem->type = COLL_SYM;\n              }\n            }\n            goto LAB_0002b9f4;\n          }" { (expression_statement "regexp->cur_idx = iVar6 + 1;" (assignment_expression "regexp->cur_idx = iVar6 + 1" (field_expression "regexp->cur_idx" identifier -> field_identifier) = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "(elem->opr).name[iVar8] = '\0';" (assignment_expression "(elem->opr).name[iVar8] = '\0'" (subscript_expression "(elem->opr).name[iVar8]" (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 "cVar3 = token->field_0x4;" (assignment_expression "cVar3 = token->field_0x4" identifier = (field_expression "token->field_0x4" identifier -> field_identifier)) ;) (if_statement "if (cVar3 == '\x1c') {\n              elem->type = EQUIV_CLASS;\n              rVar7 = _REG_NOERROR;\n            }\n            else if (cVar3 == '\x1e') {\n              elem->type = CHAR_CLASS;\n              rVar7 = _REG_NOERROR;\n            }\n            else {\n              rVar7 = _REG_NOERROR;\n              if (cVar3 == '\x1a') {\n                elem->type = COLL_SYM;\n              }\n            }" if (parenthesized_expression "(cVar3 == '\x1c')" ( (binary_expression "cVar3 == '\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 (cVar3 == '\x1e') {\n              elem->type = CHAR_CLASS;\n              rVar7 = _REG_NOERROR;\n            }\n            else {\n              rVar7 = _REG_NOERROR;\n              if (cVar3 == '\x1a') {\n                elem->type = COLL_SYM;\n              }\n            }" else (if_statement "if (cVar3 == '\x1e') {\n              elem->type = CHAR_CLASS;\n              rVar7 = _REG_NOERROR;\n            }\n            else {\n              rVar7 = _REG_NOERROR;\n              if (cVar3 == '\x1a') {\n                elem->type = COLL_SYM;\n              }\n            }" if (parenthesized_expression "(cVar3 == '\x1e')" ( (binary_expression "cVar3 == '\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 (cVar3 == '\x1a') {\n                elem->type = COLL_SYM;\n              }\n            }" else (compound_statement "{\n              rVar7 = _REG_NOERROR;\n              if (cVar3 == '\x1a') {\n                elem->type = COLL_SYM;\n              }\n            }" { (expression_statement "rVar7 = _REG_NOERROR;" (assignment_expression "rVar7 = _REG_NOERROR" identifier = identifier) ;) (if_statement "if (cVar3 == '\x1a') {\n                elem->type = COLL_SYM;\n              }" if (parenthesized_expression "(cVar3 == '\x1a')" ( (binary_expression "cVar3 == '\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_0002b9f4;" goto statement_identifier ;) })) (expression_statement "(elem->opr).name[iVar8] = bVar5;" (assignment_expression "(elem->opr).name[iVar8] = bVar5" (subscript_expression "(elem->opr).name[iVar8]" (field_expression "(elem->opr).name" (parenthesized_expression "(elem->opr)" ( (field_expression "elem->opr" identifier -> field_identifier) )) . field_identifier) [ 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 "idx = regexp->cur_idx;" (assignment_expression "idx = regexp->cur_idx" identifier = (field_expression "regexp->cur_idx" identifier -> field_identifier)) ;) (expression_statement "bVar5 = token->field_0x4;" (assignment_expression "bVar5 = token->field_0x4" identifier = (field_expression "token->field_0x4" 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 ((bVar5 == 0x16) && ((char)syntax == '\0')) {\n        peek_token_bracket(&token2,regexp,(reg_syntax_t)dfa);\n        rVar7 = _REG_ERANGE;\n        if (token2._4_1_ != '\x15') goto LAB_0002b9f4;\n      }\n      elem->type = SB_CHAR;\n      (elem->opr).ch = (token->opr).c;\n      rVar7 = _REG_NOERROR;\n    }" else (compound_statement "{\n      if ((bVar5 == 0x16) && ((char)syntax == '\0')) {\n        peek_token_bracket(&token2,regexp,(reg_syntax_t)dfa);\n        rVar7 = _REG_ERANGE;\n        if (token2._4_1_ != '\x15') goto LAB_0002b9f4;\n      }\n      elem->type = SB_CHAR;\n      (elem->opr).ch = (token->opr).c;\n      rVar7 = _REG_NOERROR;\n    }" { (if_statement "if ((bVar5 == 0x16) && ((char)syntax == '\0')) {\n        peek_token_bracket(&token2,regexp,(reg_syntax_t)dfa);\n        rVar7 = _REG_ERANGE;\n        if (token2._4_1_ != '\x15') goto LAB_0002b9f4;\n      }" if (parenthesized_expression "((bVar5 == 0x16) && ((char)syntax == '\0'))" ( (binary_expression "(bVar5 == 0x16) && ((char)syntax == '\0')" (parenthesized_expression "(bVar5 == 0x16)" ( (binary_expression "bVar5 == 0x16" identifier == number_literal) )) && (parenthesized_expression "((char)syntax == '\0')" ( (binary_expression "(char)syntax == '\0'" (cast_expression "(char)syntax" ( (type_descriptor "char" primitive_type) ) 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_0002b9f4;\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_0002b9f4;" 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_0002b9f4;" goto statement_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 = (token->opr).c;" (assignment_expression "(elem->opr).ch = (token->opr).c" (field_expression "(elem->opr).ch" (parenthesized_expression "(elem->opr)" ( (field_expression "elem->opr" identifier -> field_identifier) )) . field_identifier) = (field_expression "(token->opr).c" (parenthesized_expression "(token->opr)" ( (field_expression "token->opr" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "rVar7 = _REG_NOERROR;" (assignment_expression "rVar7 = _REG_NOERROR" identifier = identifier) ;) }))) }) (else_clause "else {\n    pwVar4 = regexp->wcs;\n    elem->type = MB_CHAR;\n    rVar7 = _REG_NOERROR;\n    elem->opr = *(anon_union_4_3_ebfdf496_for_opr *)(pwVar4 + iVar8);\n    regexp->cur_idx = iVar8 + iVar6;\n  }" else (compound_statement "{\n    pwVar4 = regexp->wcs;\n    elem->type = MB_CHAR;\n    rVar7 = _REG_NOERROR;\n    elem->opr = *(anon_union_4_3_ebfdf496_for_opr *)(pwVar4 + iVar8);\n    regexp->cur_idx = iVar8 + iVar6;\n  }" { (expression_statement "pwVar4 = regexp->wcs;" (assignment_expression "pwVar4 = regexp->wcs" identifier = (field_expression "regexp->wcs" identifier -> field_identifier)) ;) (expression_statement "elem->type = MB_CHAR;" (assignment_expression "elem->type = MB_CHAR" (field_expression "elem->type" identifier -> field_identifier) = identifier) ;) (expression_statement "rVar7 = _REG_NOERROR;" (assignment_expression "rVar7 = _REG_NOERROR" identifier = identifier) ;) (expression_statement "elem->opr = *(anon_union_4_3_ebfdf496_for_opr *)(pwVar4 + iVar8);" (assignment_expression "elem->opr = *(anon_union_4_3_ebfdf496_for_opr *)(pwVar4 + iVar8)" (field_expression "elem->opr" identifier -> field_identifier) = (pointer_expression "*(anon_union_4_3_ebfdf496_for_opr *)(pwVar4 + iVar8)" * (cast_expression "(anon_union_4_3_ebfdf496_for_opr *)(pwVar4 + iVar8)" ( (type_descriptor "anon_union_4_3_ebfdf496_for_opr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pwVar4 + iVar8)" ( (binary_expression "pwVar4 + iVar8" identifier + identifier) ))))) ;) (expression_statement "regexp->cur_idx = iVar8 + iVar6;" (assignment_expression "regexp->cur_idx = iVar8 + iVar6" (field_expression "regexp->cur_idx" identifier -> field_identifier) = (binary_expression "iVar8 + iVar6" identifier + identifier)) ;) }))) (labeled_statement "LAB_0002b9f4:\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_0002b980(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  byte bVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  char local_24;\n  \n  iVar7 = param_2[10];\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((param_2[0x14] == 1) || (iVar4 = FUN_00023070(), iVar4 < 2)) {\n    iVar7 = iVar7 + param_4;\n    param_2[10] = iVar7;\n    bVar3 = param_3[4];\n    if (((bVar3 & 0xfb) == 0x1a) || (bVar3 == 0x1c)) {\n      if (iVar7 < param_2[0xe]) {\n        iVar4 = 0;\n        bVar2 = *param_3;\n        do {\n          if ((bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n            if ((char)param_2[0x13] == '\0') {\n              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }\n          if (param_2[0xe] <= iVar6) break;\n          if ((bVar2 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']')) {\n            param_2[10] = iVar6 + 1;\n            *(undefined1 *)(param_1[1] + iVar4) = 0;\n            bVar3 = param_3[4];\n            if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          *(byte *)(param_1[1] + iVar4) = bVar3;\n          iVar4 = iVar4 + 1;\n          if (iVar4 == 0x20) break;\n          iVar7 = param_2[10];\n          bVar3 = param_3[4];\n        } while( true );\n      }\n      uVar5 = 7;\n    }\n    else {\n      if ((bVar3 == 0x16) && (param_6 == '\0')) {\n        FUN_00021570();\n        uVar5 = 0xb;\n        if (local_24 != '\x15') goto LAB_0002b9f4;\n      }\n      *param_1 = 0;\n      *(byte *)(param_1 + 1) = *param_3;\n      uVar5 = 0;\n    }\n  }\n  else {\n    iVar6 = param_2[2];\n    *param_1 = 1;\n    uVar5 = 0;\n    param_1[1] = *(undefined4 *)(iVar6 + iVar7 * 4);\n    param_2[10] = iVar7 + iVar4;\n  }\nLAB_0002b9f4:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00031620();\n  }\n  return uVar5;\n}\n\n" (function_definition "undefined4 __regparm3\nFUN_0002b980(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  byte bVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  char local_24;\n  \n  iVar7 = param_2[10];\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((param_2[0x14] == 1) || (iVar4 = FUN_00023070(), iVar4 < 2)) {\n    iVar7 = iVar7 + param_4;\n    param_2[10] = iVar7;\n    bVar3 = param_3[4];\n    if (((bVar3 & 0xfb) == 0x1a) || (bVar3 == 0x1c)) {\n      if (iVar7 < param_2[0xe]) {\n        iVar4 = 0;\n        bVar2 = *param_3;\n        do {\n          if ((bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n            if ((char)param_2[0x13] == '\0') {\n              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }\n          if (param_2[0xe] <= iVar6) break;\n          if ((bVar2 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']')) {\n            param_2[10] = iVar6 + 1;\n            *(undefined1 *)(param_1[1] + iVar4) = 0;\n            bVar3 = param_3[4];\n            if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          *(byte *)(param_1[1] + iVar4) = bVar3;\n          iVar4 = iVar4 + 1;\n          if (iVar4 == 0x20) break;\n          iVar7 = param_2[10];\n          bVar3 = param_3[4];\n        } while( true );\n      }\n      uVar5 = 7;\n    }\n    else {\n      if ((bVar3 == 0x16) && (param_6 == '\0')) {\n        FUN_00021570();\n        uVar5 = 0xb;\n        if (local_24 != '\x15') goto LAB_0002b9f4;\n      }\n      *param_1 = 0;\n      *(byte *)(param_1 + 1) = *param_3;\n      uVar5 = 0;\n    }\n  }\n  else {\n    iVar6 = param_2[2];\n    *param_1 = 1;\n    uVar5 = 0;\n    param_1[1] = *(undefined4 *)(iVar6 + iVar7 * 4);\n    param_2[10] = iVar7 + iVar4;\n  }\nLAB_0002b9f4:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00031620();\n  }\n  return uVar5;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_0002b980(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  byte bVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  char local_24;\n  \n  iVar7 = param_2[10];\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((param_2[0x14] == 1) || (iVar4 = FUN_00023070(), iVar4 < 2)) {\n    iVar7 = iVar7 + param_4;\n    param_2[10] = iVar7;\n    bVar3 = param_3[4];\n    if (((bVar3 & 0xfb) == 0x1a) || (bVar3 == 0x1c)) {\n      if (iVar7 < param_2[0xe]) {\n        iVar4 = 0;\n        bVar2 = *param_3;\n        do {\n          if ((bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n            if ((char)param_2[0x13] == '\0') {\n              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }\n          if (param_2[0xe] <= iVar6) break;\n          if ((bVar2 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']')) {\n            param_2[10] = iVar6 + 1;\n            *(undefined1 *)(param_1[1] + iVar4) = 0;\n            bVar3 = param_3[4];\n            if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          *(byte *)(param_1[1] + iVar4) = bVar3;\n          iVar4 = iVar4 + 1;\n          if (iVar4 == 0x20) break;\n          iVar7 = param_2[10];\n          bVar3 = param_3[4];\n        } while( true );\n      }\n      uVar5 = 7;\n    }\n    else {\n      if ((bVar3 == 0x16) && (param_6 == '\0')) {\n        FUN_00021570();\n        uVar5 = 0xb;\n        if (local_24 != '\x15') goto LAB_0002b9f4;\n      }\n      *param_1 = 0;\n      *(byte *)(param_1 + 1) = *param_3;\n      uVar5 = 0;\n    }\n  }\n  else {\n    iVar6 = param_2[2];\n    *param_1 = 1;\n    uVar5 = 0;\n    param_1[1] = *(undefined4 *)(iVar6 + iVar7 * 4);\n    param_2[10] = iVar7 + iVar4;\n  }\nLAB_0002b9f4:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00031620();\n  }\n  return uVar5;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "byte bVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "char local_24;" primitive_type identifier ;) (expression_statement "iVar7 = param_2[10];" (assignment_expression "iVar7 = param_2[10]" identifier = (subscript_expression "param_2[10]" identifier [ number_literal ])) ;) (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) ))))) ;) (if_statement "if ((param_2[0x14] == 1) || (iVar4 = FUN_00023070(), iVar4 < 2)) {\n    iVar7 = iVar7 + param_4;\n    param_2[10] = iVar7;\n    bVar3 = param_3[4];\n    if (((bVar3 & 0xfb) == 0x1a) || (bVar3 == 0x1c)) {\n      if (iVar7 < param_2[0xe]) {\n        iVar4 = 0;\n        bVar2 = *param_3;\n        do {\n          if ((bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n            if ((char)param_2[0x13] == '\0') {\n              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }\n          if (param_2[0xe] <= iVar6) break;\n          if ((bVar2 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']')) {\n            param_2[10] = iVar6 + 1;\n            *(undefined1 *)(param_1[1] + iVar4) = 0;\n            bVar3 = param_3[4];\n            if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          *(byte *)(param_1[1] + iVar4) = bVar3;\n          iVar4 = iVar4 + 1;\n          if (iVar4 == 0x20) break;\n          iVar7 = param_2[10];\n          bVar3 = param_3[4];\n        } while( true );\n      }\n      uVar5 = 7;\n    }\n    else {\n      if ((bVar3 == 0x16) && (param_6 == '\0')) {\n        FUN_00021570();\n        uVar5 = 0xb;\n        if (local_24 != '\x15') goto LAB_0002b9f4;\n      }\n      *param_1 = 0;\n      *(byte *)(param_1 + 1) = *param_3;\n      uVar5 = 0;\n    }\n  }\n  else {\n    iVar6 = param_2[2];\n    *param_1 = 1;\n    uVar5 = 0;\n    param_1[1] = *(undefined4 *)(iVar6 + iVar7 * 4);\n    param_2[10] = iVar7 + iVar4;\n  }" if (parenthesized_expression "((param_2[0x14] == 1) || (iVar4 = FUN_00023070(), iVar4 < 2))" ( (binary_expression "(param_2[0x14] == 1) || (iVar4 = FUN_00023070(), iVar4 < 2)" (parenthesized_expression "(param_2[0x14] == 1)" ( (binary_expression "param_2[0x14] == 1" (subscript_expression "param_2[0x14]" identifier [ number_literal ]) == number_literal) )) || (parenthesized_expression "(iVar4 = FUN_00023070(), iVar4 < 2)" ( (comma_expression "iVar4 = FUN_00023070(), iVar4 < 2" (assignment_expression "iVar4 = FUN_00023070()" identifier = (call_expression "FUN_00023070()" identifier (argument_list "()" ( )))) , (binary_expression "iVar4 < 2" identifier < number_literal)) ))) )) (compound_statement "{\n    iVar7 = iVar7 + param_4;\n    param_2[10] = iVar7;\n    bVar3 = param_3[4];\n    if (((bVar3 & 0xfb) == 0x1a) || (bVar3 == 0x1c)) {\n      if (iVar7 < param_2[0xe]) {\n        iVar4 = 0;\n        bVar2 = *param_3;\n        do {\n          if ((bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n            if ((char)param_2[0x13] == '\0') {\n              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }\n          if (param_2[0xe] <= iVar6) break;\n          if ((bVar2 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']')) {\n            param_2[10] = iVar6 + 1;\n            *(undefined1 *)(param_1[1] + iVar4) = 0;\n            bVar3 = param_3[4];\n            if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          *(byte *)(param_1[1] + iVar4) = bVar3;\n          iVar4 = iVar4 + 1;\n          if (iVar4 == 0x20) break;\n          iVar7 = param_2[10];\n          bVar3 = param_3[4];\n        } while( true );\n      }\n      uVar5 = 7;\n    }\n    else {\n      if ((bVar3 == 0x16) && (param_6 == '\0')) {\n        FUN_00021570();\n        uVar5 = 0xb;\n        if (local_24 != '\x15') goto LAB_0002b9f4;\n      }\n      *param_1 = 0;\n      *(byte *)(param_1 + 1) = *param_3;\n      uVar5 = 0;\n    }\n  }" { (expression_statement "iVar7 = iVar7 + param_4;" (assignment_expression "iVar7 = iVar7 + param_4" identifier = (binary_expression "iVar7 + param_4" identifier + identifier)) ;) (expression_statement "param_2[10] = iVar7;" (assignment_expression "param_2[10] = iVar7" (subscript_expression "param_2[10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "bVar3 = param_3[4];" (assignment_expression "bVar3 = param_3[4]" identifier = (subscript_expression "param_3[4]" identifier [ number_literal ])) ;) (if_statement "if (((bVar3 & 0xfb) == 0x1a) || (bVar3 == 0x1c)) {\n      if (iVar7 < param_2[0xe]) {\n        iVar4 = 0;\n        bVar2 = *param_3;\n        do {\n          if ((bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n            if ((char)param_2[0x13] == '\0') {\n              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }\n          if (param_2[0xe] <= iVar6) break;\n          if ((bVar2 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']')) {\n            param_2[10] = iVar6 + 1;\n            *(undefined1 *)(param_1[1] + iVar4) = 0;\n            bVar3 = param_3[4];\n            if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          *(byte *)(param_1[1] + iVar4) = bVar3;\n          iVar4 = iVar4 + 1;\n          if (iVar4 == 0x20) break;\n          iVar7 = param_2[10];\n          bVar3 = param_3[4];\n        } while( true );\n      }\n      uVar5 = 7;\n    }\n    else {\n      if ((bVar3 == 0x16) && (param_6 == '\0')) {\n        FUN_00021570();\n        uVar5 = 0xb;\n        if (local_24 != '\x15') goto LAB_0002b9f4;\n      }\n      *param_1 = 0;\n      *(byte *)(param_1 + 1) = *param_3;\n      uVar5 = 0;\n    }" if (parenthesized_expression "(((bVar3 & 0xfb) == 0x1a) || (bVar3 == 0x1c))" ( (binary_expression "((bVar3 & 0xfb) == 0x1a) || (bVar3 == 0x1c)" (parenthesized_expression "((bVar3 & 0xfb) == 0x1a)" ( (binary_expression "(bVar3 & 0xfb) == 0x1a" (parenthesized_expression "(bVar3 & 0xfb)" ( (binary_expression "bVar3 & 0xfb" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "(bVar3 == 0x1c)" ( (binary_expression "bVar3 == 0x1c" identifier == number_literal) ))) )) (compound_statement "{\n      if (iVar7 < param_2[0xe]) {\n        iVar4 = 0;\n        bVar2 = *param_3;\n        do {\n          if ((bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n            if ((char)param_2[0x13] == '\0') {\n              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }\n          if (param_2[0xe] <= iVar6) break;\n          if ((bVar2 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']')) {\n            param_2[10] = iVar6 + 1;\n            *(undefined1 *)(param_1[1] + iVar4) = 0;\n            bVar3 = param_3[4];\n            if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          *(byte *)(param_1[1] + iVar4) = bVar3;\n          iVar4 = iVar4 + 1;\n          if (iVar4 == 0x20) break;\n          iVar7 = param_2[10];\n          bVar3 = param_3[4];\n        } while( true );\n      }\n      uVar5 = 7;\n    }" { (if_statement "if (iVar7 < param_2[0xe]) {\n        iVar4 = 0;\n        bVar2 = *param_3;\n        do {\n          if ((bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n            if ((char)param_2[0x13] == '\0') {\n              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }\n          if (param_2[0xe] <= iVar6) break;\n          if ((bVar2 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']')) {\n            param_2[10] = iVar6 + 1;\n            *(undefined1 *)(param_1[1] + iVar4) = 0;\n            bVar3 = param_3[4];\n            if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          *(byte *)(param_1[1] + iVar4) = bVar3;\n          iVar4 = iVar4 + 1;\n          if (iVar4 == 0x20) break;\n          iVar7 = param_2[10];\n          bVar3 = param_3[4];\n        } while( true );\n      }" if (parenthesized_expression "(iVar7 < param_2[0xe])" ( (binary_expression "iVar7 < param_2[0xe]" identifier < (subscript_expression "param_2[0xe]" identifier [ number_literal ])) )) (compound_statement "{\n        iVar4 = 0;\n        bVar2 = *param_3;\n        do {\n          if ((bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n            if ((char)param_2[0x13] == '\0') {\n              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }\n          if (param_2[0xe] <= iVar6) break;\n          if ((bVar2 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']')) {\n            param_2[10] = iVar6 + 1;\n            *(undefined1 *)(param_1[1] + iVar4) = 0;\n            bVar3 = param_3[4];\n            if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          *(byte *)(param_1[1] + iVar4) = bVar3;\n          iVar4 = iVar4 + 1;\n          if (iVar4 == 0x20) break;\n          iVar7 = param_2[10];\n          bVar3 = param_3[4];\n        } while( true );\n      }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "bVar2 = *param_3;" (assignment_expression "bVar2 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (do_statement "do {\n          if ((bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n            if ((char)param_2[0x13] == '\0') {\n              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }\n          if (param_2[0xe] <= iVar6) break;\n          if ((bVar2 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']')) {\n            param_2[10] = iVar6 + 1;\n            *(undefined1 *)(param_1[1] + iVar4) = 0;\n            bVar3 = param_3[4];\n            if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          *(byte *)(param_1[1] + iVar4) = bVar3;\n          iVar4 = iVar4 + 1;\n          if (iVar4 == 0x20) break;\n          iVar7 = param_2[10];\n          bVar3 = param_3[4];\n        } while( true );" do (compound_statement "{\n          if ((bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n            if ((char)param_2[0x13] == '\0') {\n              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }\n          if (param_2[0xe] <= iVar6) break;\n          if ((bVar2 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']')) {\n            param_2[10] = iVar6 + 1;\n            *(undefined1 *)(param_1[1] + iVar4) = 0;\n            bVar3 = param_3[4];\n            if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          *(byte *)(param_1[1] + iVar4) = bVar3;\n          iVar4 = iVar4 + 1;\n          if (iVar4 == 0x20) break;\n          iVar7 = param_2[10];\n          bVar3 = param_3[4];\n        }" { (if_statement "if ((bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n            if ((char)param_2[0x13] == '\0') {\n              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }" if (parenthesized_expression "((bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0'))" ( (binary_expression "(bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')" (parenthesized_expression "(bVar3 == 0x1e)" ( (binary_expression "bVar3 == 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              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }\n          }" { (if_statement "if ((char)param_2[0x13] == '\0') {\n              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\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              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }" { (expression_statement "iVar6 = iVar7 + 1;" (assignment_expression "iVar6 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (expression_statement "param_2[10] = iVar6;" (assignment_expression "param_2[10] = iVar6" (subscript_expression "param_2[10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);" (assignment_expression "bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6])" identifier = (pointer_expression "*(byte *)(iVar7 + *param_2 + param_2[6])" * (cast_expression "(byte *)(iVar7 + *param_2 + param_2[6])" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + *param_2 + param_2[6])" ( (binary_expression "iVar7 + *param_2 + param_2[6]" (binary_expression "iVar7 + *param_2" identifier + (pointer_expression "*param_2" * identifier)) + (subscript_expression "param_2[6]" identifier [ number_literal ])) ))))) ;) }) (else_clause "else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }" else (compound_statement "{\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }" { (if_statement "if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;" if (parenthesized_expression "(((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0))" ( (binary_expression "((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)" (parenthesized_expression "((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1))" ( (binary_expression "(iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)" (parenthesized_expression "(iVar7 != param_2[7])" ( (binary_expression "iVar7 != param_2[7]" identifier != (subscript_expression "param_2[7]" identifier [ number_literal ])) )) && (parenthesized_expression "(*(int *)(param_2[2] + iVar7 * 4) == -1)" ( (binary_expression "*(int *)(param_2[2] + iVar7 * 4) == -1" (pointer_expression "*(int *)(param_2[2] + iVar7 * 4)" * (cast_expression "(int *)(param_2[2] + iVar7 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[2] + iVar7 * 4)" ( (binary_expression "param_2[2] + iVar7 * 4" (subscript_expression "param_2[2]" identifier [ number_literal ]) + (binary_expression "iVar7 * 4" identifier * number_literal)) )))) == number_literal) ))) )) || (parenthesized_expression "(bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)" ( (comma_expression "bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0" (assignment_expression "bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6])" identifier = (pointer_expression "*(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6])" * (cast_expression "(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6])" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6])" ( (binary_expression "*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]" (binary_expression "*(int *)(param_2[3] + iVar7 * 4) + *param_2" (pointer_expression "*(int *)(param_2[3] + iVar7 * 4)" * (cast_expression "(int *)(param_2[3] + iVar7 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[3] + iVar7 * 4)" ( (binary_expression "param_2[3] + iVar7 * 4" (subscript_expression "param_2[3]" identifier [ number_literal ]) + (binary_expression "iVar7 * 4" identifier * number_literal)) )))) + (pointer_expression "*param_2" * identifier)) + (subscript_expression "param_2[6]" identifier [ number_literal ])) ))))) , (binary_expression "(bVar3 & 0x80) != 0" (parenthesized_expression "(bVar3 & 0x80)" ( (binary_expression "bVar3 & 0x80" identifier & number_literal) )) != number_literal)) ))) )) (goto_statement "goto LAB_0002ba6d;" goto statement_identifier ;)) (expression_statement "iVar6 = param_2[0x14];" (assignment_expression "iVar6 = param_2[0x14]" identifier = (subscript_expression "param_2[0x14]" identifier [ number_literal ])) ;) (if_statement "if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }" if (parenthesized_expression "(iVar6 != 1)" ( (binary_expression "iVar6 != 1" identifier != number_literal) )) (compound_statement "{\n                iVar6 = FUN_00023070();\n              }" { (expression_statement "iVar6 = FUN_00023070();" (assignment_expression "iVar6 = FUN_00023070()" identifier = (call_expression "FUN_00023070()" identifier (argument_list "()" ( )))) ;) })) (expression_statement "iVar6 = iVar6 + iVar7;" (assignment_expression "iVar6 = iVar6 + iVar7" identifier = (binary_expression "iVar6 + iVar7" identifier + identifier)) ;) (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_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }" else (compound_statement "{\nLAB_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }" { (labeled_statement "LAB_0002ba6d:\n            iVar6 = iVar7 + 1;" statement_identifier : (expression_statement "iVar6 = iVar7 + 1;" (assignment_expression "iVar6 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;)) (expression_statement "param_2[10] = iVar6;" (assignment_expression "param_2[10] = iVar6" (subscript_expression "param_2[10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "bVar3 = *(byte *)(param_2[1] + iVar7);" (assignment_expression "bVar3 = *(byte *)(param_2[1] + iVar7)" identifier = (pointer_expression "*(byte *)(param_2[1] + iVar7)" * (cast_expression "(byte *)(param_2[1] + iVar7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[1] + iVar7)" ( (binary_expression "param_2[1] + iVar7" (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 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']')) {\n            param_2[10] = iVar6 + 1;\n            *(undefined1 *)(param_1[1] + iVar4) = 0;\n            bVar3 = param_3[4];\n            if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }\n            goto LAB_0002b9f4;\n          }" if (parenthesized_expression "((bVar2 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']'))" ( (binary_expression "(bVar2 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']')" (parenthesized_expression "(bVar2 == bVar3)" ( (binary_expression "bVar2 == bVar3" 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] + iVar4) = 0;\n            bVar3 = param_3[4];\n            if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }\n            goto LAB_0002b9f4;\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] + iVar4) = 0;" (assignment_expression "*(undefined1 *)(param_1[1] + iVar4) = 0" (pointer_expression "*(undefined1 *)(param_1[1] + iVar4)" * (cast_expression "(undefined1 *)(param_1[1] + iVar4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[1] + iVar4)" ( (binary_expression "param_1[1] + iVar4" (subscript_expression "param_1[1]" identifier [ number_literal ]) + identifier) )))) = number_literal) ;) (expression_statement "bVar3 = param_3[4];" (assignment_expression "bVar3 = param_3[4]" identifier = (subscript_expression "param_3[4]" identifier [ number_literal ])) ;) (if_statement "if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }" if (parenthesized_expression "(bVar3 == 0x1c)" ( (binary_expression "bVar3 == 0x1c" identifier == number_literal) )) (compound_statement "{\n              *param_1 = 2;\n              uVar5 = 0;\n            }" { (expression_statement "*param_1 = 2;" (assignment_expression "*param_1 = 2" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) }) (else_clause "else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }" else (if_statement "if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }" if (parenthesized_expression "(bVar3 == 0x1e)" ( (binary_expression "bVar3 == 0x1e" identifier == number_literal) )) (compound_statement "{\n              *param_1 = 4;\n              uVar5 = 0;\n            }" { (expression_statement "*param_1 = 4;" (assignment_expression "*param_1 = 4" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) }) (else_clause "else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }" else (compound_statement "{\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (if_statement "if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }" if (parenthesized_expression "(bVar3 == 0x1a)" ( (binary_expression "bVar3 == 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_0002b9f4;" goto statement_identifier ;) })) (expression_statement "*(byte *)(param_1[1] + iVar4) = bVar3;" (assignment_expression "*(byte *)(param_1[1] + iVar4) = bVar3" (pointer_expression "*(byte *)(param_1[1] + iVar4)" * (cast_expression "(byte *)(param_1[1] + iVar4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[1] + iVar4)" ( (binary_expression "param_1[1] + iVar4" (subscript_expression "param_1[1]" identifier [ number_literal ]) + identifier) )))) = identifier) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (if_statement "if (iVar4 == 0x20) break;" if (parenthesized_expression "(iVar4 == 0x20)" ( (binary_expression "iVar4 == 0x20" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar7 = param_2[10];" (assignment_expression "iVar7 = param_2[10]" identifier = (subscript_expression "param_2[10]" identifier [ number_literal ])) ;) (expression_statement "bVar3 = param_3[4];" (assignment_expression "bVar3 = param_3[4]" identifier = (subscript_expression "param_3[4]" identifier [ number_literal ])) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "uVar5 = 7;" (assignment_expression "uVar5 = 7" identifier = number_literal) ;) }) (else_clause "else {\n      if ((bVar3 == 0x16) && (param_6 == '\0')) {\n        FUN_00021570();\n        uVar5 = 0xb;\n        if (local_24 != '\x15') goto LAB_0002b9f4;\n      }\n      *param_1 = 0;\n      *(byte *)(param_1 + 1) = *param_3;\n      uVar5 = 0;\n    }" else (compound_statement "{\n      if ((bVar3 == 0x16) && (param_6 == '\0')) {\n        FUN_00021570();\n        uVar5 = 0xb;\n        if (local_24 != '\x15') goto LAB_0002b9f4;\n      }\n      *param_1 = 0;\n      *(byte *)(param_1 + 1) = *param_3;\n      uVar5 = 0;\n    }" { (if_statement "if ((bVar3 == 0x16) && (param_6 == '\0')) {\n        FUN_00021570();\n        uVar5 = 0xb;\n        if (local_24 != '\x15') goto LAB_0002b9f4;\n      }" if (parenthesized_expression "((bVar3 == 0x16) && (param_6 == '\0'))" ( (binary_expression "(bVar3 == 0x16) && (param_6 == '\0')" (parenthesized_expression "(bVar3 == 0x16)" ( (binary_expression "bVar3 == 0x16" identifier == number_literal) )) && (parenthesized_expression "(param_6 == '\0')" ( (binary_expression "param_6 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n        FUN_00021570();\n        uVar5 = 0xb;\n        if (local_24 != '\x15') goto LAB_0002b9f4;\n      }" { (expression_statement "FUN_00021570();" (call_expression "FUN_00021570()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar5 = 0xb;" (assignment_expression "uVar5 = 0xb" identifier = number_literal) ;) (if_statement "if (local_24 != '\x15') goto LAB_0002b9f4;" if (parenthesized_expression "(local_24 != '\x15')" ( (binary_expression "local_24 != '\x15'" identifier != (char_literal "'\x15'" ' escape_sequence ')) )) (goto_statement "goto LAB_0002b9f4;" goto statement_identifier ;)) })) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "*(byte *)(param_1 + 1) = *param_3;" (assignment_expression "*(byte *)(param_1 + 1) = *param_3" (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) )))) = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) }))) }) (else_clause "else {\n    iVar6 = param_2[2];\n    *param_1 = 1;\n    uVar5 = 0;\n    param_1[1] = *(undefined4 *)(iVar6 + iVar7 * 4);\n    param_2[10] = iVar7 + iVar4;\n  }" else (compound_statement "{\n    iVar6 = param_2[2];\n    *param_1 = 1;\n    uVar5 = 0;\n    param_1[1] = *(undefined4 *)(iVar6 + iVar7 * 4);\n    param_2[10] = iVar7 + iVar4;\n  }" { (expression_statement "iVar6 = param_2[2];" (assignment_expression "iVar6 = param_2[2]" identifier = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (expression_statement "*param_1 = 1;" (assignment_expression "*param_1 = 1" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "param_1[1] = *(undefined4 *)(iVar6 + iVar7 * 4);" (assignment_expression "param_1[1] = *(undefined4 *)(iVar6 + iVar7 * 4)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(iVar6 + iVar7 * 4)" * (cast_expression "(undefined4 *)(iVar6 + iVar7 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar7 * 4)" ( (binary_expression "iVar6 + iVar7 * 4" identifier + (binary_expression "iVar7 * 4" identifier * number_literal)) ))))) ;) (expression_statement "param_2[10] = iVar7 + iVar4;" (assignment_expression "param_2[10] = iVar7 + iVar4" (subscript_expression "param_2[10]" identifier [ number_literal ]) = (binary_expression "iVar7 + iVar4" identifier + identifier)) ;) }))) (labeled_statement "LAB_0002b9f4:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00031620();\n  }" statement_identifier : (if_statement "if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00031620();\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_00031620();\n  }" { (expression_statement "FUN_00031620();" (call_expression "FUN_00031620()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return uVar5;" 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 ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) , (binary_expression IDENT < LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (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 & 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 = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (do_statement do (compound_statement { (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 IDENT = (binary_expression IDENT + LIT)) ;) (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 { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (subscript_expression IDENT [ LIT ])) )) && (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 ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }))) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (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 (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_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 IDENT + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + IDENT)) ;) }))) (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_0002b980(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  byte bVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  char local_24;\n  \n  iVar7 = param_2[10];\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((param_2[0x14] == 1) || (iVar4 = FUN_00023070(), iVar4 < 2)) {\n    iVar7 = iVar7 + param_4;\n    param_2[10] = iVar7;\n    bVar3 = param_3[4];\n    if (((bVar3 & 0xfb) == 0x1a) || (bVar3 == 0x1c)) {\n      if (iVar7 < param_2[0xe]) {\n        iVar4 = 0;\n        bVar2 = *param_3;\n        do {\n          if ((bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n            if ((char)param_2[0x13] == '\0') {\n              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }\n          if (param_2[0xe] <= iVar6) break;\n          if ((bVar2 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']')) {\n            param_2[10] = iVar6 + 1;\n            *(undefined1 *)(param_1[1] + iVar4) = 0;\n            bVar3 = param_3[4];\n            if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          *(byte *)(param_1[1] + iVar4) = bVar3;\n          iVar4 = iVar4 + 1;\n          if (iVar4 == 0x20) break;\n          iVar7 = param_2[10];\n          bVar3 = param_3[4];\n        } while( true );\n      }\n      uVar5 = 7;\n    }\n    else {\n      if ((bVar3 == 0x16) && (param_6 == '\0')) {\n        FUN_00021570();\n        uVar5 = 0xb;\n        if (local_24 != '\x15') goto LAB_0002b9f4;\n      }\n      *param_1 = 0;\n      *(byte *)(param_1 + 1) = *param_3;\n      uVar5 = 0;\n    }\n  }\n  else {\n    iVar6 = param_2[2];\n    *param_1 = 1;\n    uVar5 = 0;\n    param_1[1] = *(undefined4 *)(iVar6 + iVar7 * 4);\n    param_2[10] = iVar7 + iVar4;\n  }\nLAB_0002b9f4:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00031620();\n  }\n  return uVar5;\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0002b980(undefined4 *param_1,int *param_2,byte *param_3,int param_4,undefined4 param_5,\n            char param_6)" (identifier "FUN_0002b980") (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  byte bVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int in_GS_OFFSET;\n  char local_24;\n  \n  iVar7 = param_2[10];\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((param_2[0x14] == 1) || (iVar4 = FUN_00023070(), iVar4 < 2)) {\n    iVar7 = iVar7 + param_4;\n    param_2[10] = iVar7;\n    bVar3 = param_3[4];\n    if (((bVar3 & 0xfb) == 0x1a) || (bVar3 == 0x1c)) {\n      if (iVar7 < param_2[0xe]) {\n        iVar4 = 0;\n        bVar2 = *param_3;\n        do {\n          if ((bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n            if ((char)param_2[0x13] == '\0') {\n              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }\n          if (param_2[0xe] <= iVar6) break;\n          if ((bVar2 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']')) {\n            param_2[10] = iVar6 + 1;\n            *(undefined1 *)(param_1[1] + iVar4) = 0;\n            bVar3 = param_3[4];\n            if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          *(byte *)(param_1[1] + iVar4) = bVar3;\n          iVar4 = iVar4 + 1;\n          if (iVar4 == 0x20) break;\n          iVar7 = param_2[10];\n          bVar3 = param_3[4];\n        } while( true );\n      }\n      uVar5 = 7;\n    }\n    else {\n      if ((bVar3 == 0x16) && (param_6 == '\0')) {\n        FUN_00021570();\n        uVar5 = 0xb;\n        if (local_24 != '\x15') goto LAB_0002b9f4;\n      }\n      *param_1 = 0;\n      *(byte *)(param_1 + 1) = *param_3;\n      uVar5 = 0;\n    }\n  }\n  else {\n    iVar6 = param_2[2];\n    *param_1 = 1;\n    uVar5 = 0;\n    param_1[1] = *(undefined4 *)(iVar6 + iVar7 * 4);\n    param_2[10] = iVar7 + iVar4;\n  }\nLAB_0002b9f4:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00031620();\n  }\n  return uVar5;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "byte bVar2;" (type_identifier "byte") (identifier "bVar2") (; ";")) (declaration "byte bVar3;" (type_identifier "byte") (identifier "bVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "char local_24;" (primitive_type "char") (identifier "local_24") (; ";")) (expression_statement "iVar7 = param_2[10];" (assignment_expression "iVar7 = param_2[10]" (identifier "iVar7") (= "=") (subscript_expression "param_2[10]" (identifier "param_2") ([ "[") (number_literal "10") (] "]"))) (; ";")) (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")) () ")"))))) (; ";")) (if_statement "if ((param_2[0x14] == 1) || (iVar4 = FUN_00023070(), iVar4 < 2)) {\n    iVar7 = iVar7 + param_4;\n    param_2[10] = iVar7;\n    bVar3 = param_3[4];\n    if (((bVar3 & 0xfb) == 0x1a) || (bVar3 == 0x1c)) {\n      if (iVar7 < param_2[0xe]) {\n        iVar4 = 0;\n        bVar2 = *param_3;\n        do {\n          if ((bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n            if ((char)param_2[0x13] == '\0') {\n              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }\n          if (param_2[0xe] <= iVar6) break;\n          if ((bVar2 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']')) {\n            param_2[10] = iVar6 + 1;\n            *(undefined1 *)(param_1[1] + iVar4) = 0;\n            bVar3 = param_3[4];\n            if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          *(byte *)(param_1[1] + iVar4) = bVar3;\n          iVar4 = iVar4 + 1;\n          if (iVar4 == 0x20) break;\n          iVar7 = param_2[10];\n          bVar3 = param_3[4];\n        } while( true );\n      }\n      uVar5 = 7;\n    }\n    else {\n      if ((bVar3 == 0x16) && (param_6 == '\0')) {\n        FUN_00021570();\n        uVar5 = 0xb;\n        if (local_24 != '\x15') goto LAB_0002b9f4;\n      }\n      *param_1 = 0;\n      *(byte *)(param_1 + 1) = *param_3;\n      uVar5 = 0;\n    }\n  }\n  else {\n    iVar6 = param_2[2];\n    *param_1 = 1;\n    uVar5 = 0;\n    param_1[1] = *(undefined4 *)(iVar6 + iVar7 * 4);\n    param_2[10] = iVar7 + iVar4;\n  }" (if "if") (parenthesized_expression "((param_2[0x14] == 1) || (iVar4 = FUN_00023070(), iVar4 < 2))" (( "(") (binary_expression "(param_2[0x14] == 1) || (iVar4 = FUN_00023070(), iVar4 < 2)" (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 "(iVar4 = FUN_00023070(), iVar4 < 2)" (( "(") (comma_expression "iVar4 = FUN_00023070(), iVar4 < 2" (assignment_expression "iVar4 = FUN_00023070()" (identifier "iVar4") (= "=") (call_expression "FUN_00023070()" (identifier "FUN_00023070") (argument_list "()" (( "(") () ")")))) (, ",") (binary_expression "iVar4 < 2" (identifier "iVar4") (< "<") (number_literal "2"))) () ")"))) () ")")) (compound_statement "{\n    iVar7 = iVar7 + param_4;\n    param_2[10] = iVar7;\n    bVar3 = param_3[4];\n    if (((bVar3 & 0xfb) == 0x1a) || (bVar3 == 0x1c)) {\n      if (iVar7 < param_2[0xe]) {\n        iVar4 = 0;\n        bVar2 = *param_3;\n        do {\n          if ((bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n            if ((char)param_2[0x13] == '\0') {\n              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }\n          if (param_2[0xe] <= iVar6) break;\n          if ((bVar2 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']')) {\n            param_2[10] = iVar6 + 1;\n            *(undefined1 *)(param_1[1] + iVar4) = 0;\n            bVar3 = param_3[4];\n            if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          *(byte *)(param_1[1] + iVar4) = bVar3;\n          iVar4 = iVar4 + 1;\n          if (iVar4 == 0x20) break;\n          iVar7 = param_2[10];\n          bVar3 = param_3[4];\n        } while( true );\n      }\n      uVar5 = 7;\n    }\n    else {\n      if ((bVar3 == 0x16) && (param_6 == '\0')) {\n        FUN_00021570();\n        uVar5 = 0xb;\n        if (local_24 != '\x15') goto LAB_0002b9f4;\n      }\n      *param_1 = 0;\n      *(byte *)(param_1 + 1) = *param_3;\n      uVar5 = 0;\n    }\n  }" ({ "{") (expression_statement "iVar7 = iVar7 + param_4;" (assignment_expression "iVar7 = iVar7 + param_4" (identifier "iVar7") (= "=") (binary_expression "iVar7 + param_4" (identifier "iVar7") (+ "+") (identifier "param_4"))) (; ";")) (expression_statement "param_2[10] = iVar7;" (assignment_expression "param_2[10] = iVar7" (subscript_expression "param_2[10]" (identifier "param_2") ([ "[") (number_literal "10") (] "]")) (= "=") (identifier "iVar7")) (; ";")) (expression_statement "bVar3 = param_3[4];" (assignment_expression "bVar3 = param_3[4]" (identifier "bVar3") (= "=") (subscript_expression "param_3[4]" (identifier "param_3") ([ "[") (number_literal "4") (] "]"))) (; ";")) (if_statement "if (((bVar3 & 0xfb) == 0x1a) || (bVar3 == 0x1c)) {\n      if (iVar7 < param_2[0xe]) {\n        iVar4 = 0;\n        bVar2 = *param_3;\n        do {\n          if ((bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n            if ((char)param_2[0x13] == '\0') {\n              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }\n          if (param_2[0xe] <= iVar6) break;\n          if ((bVar2 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']')) {\n            param_2[10] = iVar6 + 1;\n            *(undefined1 *)(param_1[1] + iVar4) = 0;\n            bVar3 = param_3[4];\n            if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          *(byte *)(param_1[1] + iVar4) = bVar3;\n          iVar4 = iVar4 + 1;\n          if (iVar4 == 0x20) break;\n          iVar7 = param_2[10];\n          bVar3 = param_3[4];\n        } while( true );\n      }\n      uVar5 = 7;\n    }\n    else {\n      if ((bVar3 == 0x16) && (param_6 == '\0')) {\n        FUN_00021570();\n        uVar5 = 0xb;\n        if (local_24 != '\x15') goto LAB_0002b9f4;\n      }\n      *param_1 = 0;\n      *(byte *)(param_1 + 1) = *param_3;\n      uVar5 = 0;\n    }" (if "if") (parenthesized_expression "(((bVar3 & 0xfb) == 0x1a) || (bVar3 == 0x1c))" (( "(") (binary_expression "((bVar3 & 0xfb) == 0x1a) || (bVar3 == 0x1c)" (parenthesized_expression "((bVar3 & 0xfb) == 0x1a)" (( "(") (binary_expression "(bVar3 & 0xfb) == 0x1a" (parenthesized_expression "(bVar3 & 0xfb)" (( "(") (binary_expression "bVar3 & 0xfb" (identifier "bVar3") (& "&") (number_literal "0xfb")) () ")")) (== "==") (number_literal "0x1a")) () ")")) (|| "||") (parenthesized_expression "(bVar3 == 0x1c)" (( "(") (binary_expression "bVar3 == 0x1c" (identifier "bVar3") (== "==") (number_literal "0x1c")) () ")"))) () ")")) (compound_statement "{\n      if (iVar7 < param_2[0xe]) {\n        iVar4 = 0;\n        bVar2 = *param_3;\n        do {\n          if ((bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n            if ((char)param_2[0x13] == '\0') {\n              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }\n          if (param_2[0xe] <= iVar6) break;\n          if ((bVar2 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']')) {\n            param_2[10] = iVar6 + 1;\n            *(undefined1 *)(param_1[1] + iVar4) = 0;\n            bVar3 = param_3[4];\n            if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          *(byte *)(param_1[1] + iVar4) = bVar3;\n          iVar4 = iVar4 + 1;\n          if (iVar4 == 0x20) break;\n          iVar7 = param_2[10];\n          bVar3 = param_3[4];\n        } while( true );\n      }\n      uVar5 = 7;\n    }" ({ "{") (if_statement "if (iVar7 < param_2[0xe]) {\n        iVar4 = 0;\n        bVar2 = *param_3;\n        do {\n          if ((bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n            if ((char)param_2[0x13] == '\0') {\n              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }\n          if (param_2[0xe] <= iVar6) break;\n          if ((bVar2 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']')) {\n            param_2[10] = iVar6 + 1;\n            *(undefined1 *)(param_1[1] + iVar4) = 0;\n            bVar3 = param_3[4];\n            if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          *(byte *)(param_1[1] + iVar4) = bVar3;\n          iVar4 = iVar4 + 1;\n          if (iVar4 == 0x20) break;\n          iVar7 = param_2[10];\n          bVar3 = param_3[4];\n        } while( true );\n      }" (if "if") (parenthesized_expression "(iVar7 < param_2[0xe])" (( "(") (binary_expression "iVar7 < param_2[0xe]" (identifier "iVar7") (< "<") (subscript_expression "param_2[0xe]" (identifier "param_2") ([ "[") (number_literal "0xe") (] "]"))) () ")")) (compound_statement "{\n        iVar4 = 0;\n        bVar2 = *param_3;\n        do {\n          if ((bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n            if ((char)param_2[0x13] == '\0') {\n              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }\n          if (param_2[0xe] <= iVar6) break;\n          if ((bVar2 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']')) {\n            param_2[10] = iVar6 + 1;\n            *(undefined1 *)(param_1[1] + iVar4) = 0;\n            bVar3 = param_3[4];\n            if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          *(byte *)(param_1[1] + iVar4) = bVar3;\n          iVar4 = iVar4 + 1;\n          if (iVar4 == 0x20) break;\n          iVar7 = param_2[10];\n          bVar3 = param_3[4];\n        } while( true );\n      }" ({ "{") (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "bVar2 = *param_3;" (assignment_expression "bVar2 = *param_3" (identifier "bVar2") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (do_statement "do {\n          if ((bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n            if ((char)param_2[0x13] == '\0') {\n              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }\n          if (param_2[0xe] <= iVar6) break;\n          if ((bVar2 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']')) {\n            param_2[10] = iVar6 + 1;\n            *(undefined1 *)(param_1[1] + iVar4) = 0;\n            bVar3 = param_3[4];\n            if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          *(byte *)(param_1[1] + iVar4) = bVar3;\n          iVar4 = iVar4 + 1;\n          if (iVar4 == 0x20) break;\n          iVar7 = param_2[10];\n          bVar3 = param_3[4];\n        } while( true );" (do "do") (compound_statement "{\n          if ((bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n            if ((char)param_2[0x13] == '\0') {\n              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }\n          if (param_2[0xe] <= iVar6) break;\n          if ((bVar2 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']')) {\n            param_2[10] = iVar6 + 1;\n            *(undefined1 *)(param_1[1] + iVar4) = 0;\n            bVar3 = param_3[4];\n            if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }\n            goto LAB_0002b9f4;\n          }\n          *(byte *)(param_1[1] + iVar4) = bVar3;\n          iVar4 = iVar4 + 1;\n          if (iVar4 == 0x20) break;\n          iVar7 = param_2[10];\n          bVar3 = param_3[4];\n        }" ({ "{") (if_statement "if ((bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {\n            if ((char)param_2[0x13] == '\0') {\n              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }\n          }\n          else {\nLAB_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }" (if "if") (parenthesized_expression "((bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0'))" (( "(") (binary_expression "(bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')" (parenthesized_expression "(bVar3 == 0x1e)" (( "(") (binary_expression "bVar3 == 0x1e" (identifier "bVar3") (== "==") (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              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }\n          }" ({ "{") (if_statement "if ((char)param_2[0x13] == '\0') {\n              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }\n            else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\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              iVar6 = iVar7 + 1;\n              param_2[10] = iVar6;\n              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);\n            }" ({ "{") (expression_statement "iVar6 = iVar7 + 1;" (assignment_expression "iVar6 = iVar7 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (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")) (; ";")) (expression_statement "bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);" (assignment_expression "bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6])" (identifier "bVar3") (= "=") (pointer_expression "*(byte *)(iVar7 + *param_2 + param_2[6])" (* "*") (cast_expression "(byte *)(iVar7 + *param_2 + param_2[6])" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + *param_2 + param_2[6])" (( "(") (binary_expression "iVar7 + *param_2 + param_2[6]" (binary_expression "iVar7 + *param_2" (identifier "iVar7") (+ "+") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (+ "+") (subscript_expression "param_2[6]" (identifier "param_2") ([ "[") (number_literal "6") (] "]"))) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }" (else "else") (compound_statement "{\n              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;\n              iVar6 = param_2[0x14];\n              if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }\n              iVar6 = iVar6 + iVar7;\n              param_2[10] = iVar6;\n            }" ({ "{") (if_statement "if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;" (if "if") (parenthesized_expression "(((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0))" (( "(") (binary_expression "((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||\n                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)" (parenthesized_expression "((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1))" (( "(") (binary_expression "(iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)" (parenthesized_expression "(iVar7 != param_2[7])" (( "(") (binary_expression "iVar7 != param_2[7]" (identifier "iVar7") (!= "!=") (subscript_expression "param_2[7]" (identifier "param_2") ([ "[") (number_literal "7") (] "]"))) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(param_2[2] + iVar7 * 4) == -1)" (( "(") (binary_expression "*(int *)(param_2[2] + iVar7 * 4) == -1" (pointer_expression "*(int *)(param_2[2] + iVar7 * 4)" (* "*") (cast_expression "(int *)(param_2[2] + iVar7 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2[2] + iVar7 * 4)" (( "(") (binary_expression "param_2[2] + iVar7 * 4" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (+ "+") (binary_expression "iVar7 * 4" (identifier "iVar7") (* "*") (number_literal "4"))) () ")")))) (== "==") (number_literal "-1")) () ")"))) () ")")) (|| "||") (parenthesized_expression "(bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0)" (( "(") (comma_expression "bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),\n                 (bVar3 & 0x80) != 0" (assignment_expression "bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6])" (identifier "bVar3") (= "=") (pointer_expression "*(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6])" (* "*") (cast_expression "(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6])" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6])" (( "(") (binary_expression "*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]" (binary_expression "*(int *)(param_2[3] + iVar7 * 4) + *param_2" (pointer_expression "*(int *)(param_2[3] + iVar7 * 4)" (* "*") (cast_expression "(int *)(param_2[3] + iVar7 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2[3] + iVar7 * 4)" (( "(") (binary_expression "param_2[3] + iVar7 * 4" (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]")) (+ "+") (binary_expression "iVar7 * 4" (identifier "iVar7") (* "*") (number_literal "4"))) () ")")))) (+ "+") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (+ "+") (subscript_expression "param_2[6]" (identifier "param_2") ([ "[") (number_literal "6") (] "]"))) () ")"))))) (, ",") (binary_expression "(bVar3 & 0x80) != 0" (parenthesized_expression "(bVar3 & 0x80)" (( "(") (binary_expression "bVar3 & 0x80" (identifier "bVar3") (& "&") (number_literal "0x80")) () ")")) (!= "!=") (number_literal "0"))) () ")"))) () ")")) (goto_statement "goto LAB_0002ba6d;" (goto "goto") (statement_identifier "LAB_0002ba6d") (; ";"))) (expression_statement "iVar6 = param_2[0x14];" (assignment_expression "iVar6 = param_2[0x14]" (identifier "iVar6") (= "=") (subscript_expression "param_2[0x14]" (identifier "param_2") ([ "[") (number_literal "0x14") (] "]"))) (; ";")) (if_statement "if (iVar6 != 1) {\n                iVar6 = FUN_00023070();\n              }" (if "if") (parenthesized_expression "(iVar6 != 1)" (( "(") (binary_expression "iVar6 != 1" (identifier "iVar6") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n                iVar6 = FUN_00023070();\n              }" ({ "{") (expression_statement "iVar6 = FUN_00023070();" (assignment_expression "iVar6 = FUN_00023070()" (identifier "iVar6") (= "=") (call_expression "FUN_00023070()" (identifier "FUN_00023070") (argument_list "()" (( "(") () ")")))) (; ";")) (} "}"))) (expression_statement "iVar6 = iVar6 + iVar7;" (assignment_expression "iVar6 = iVar6 + iVar7" (identifier "iVar6") (= "=") (binary_expression "iVar6 + iVar7" (identifier "iVar6") (+ "+") (identifier "iVar7"))) (; ";")) (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_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }" (else "else") (compound_statement "{\nLAB_0002ba6d:\n            iVar6 = iVar7 + 1;\n            param_2[10] = iVar6;\n            bVar3 = *(byte *)(param_2[1] + iVar7);\n          }" ({ "{") (labeled_statement "LAB_0002ba6d:\n            iVar6 = iVar7 + 1;" (statement_identifier "LAB_0002ba6d") (: ":") (expression_statement "iVar6 = iVar7 + 1;" (assignment_expression "iVar6 = iVar7 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (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")) (; ";")) (expression_statement "bVar3 = *(byte *)(param_2[1] + iVar7);" (assignment_expression "bVar3 = *(byte *)(param_2[1] + iVar7)" (identifier "bVar3") (= "=") (pointer_expression "*(byte *)(param_2[1] + iVar7)" (* "*") (cast_expression "(byte *)(param_2[1] + iVar7)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2[1] + iVar7)" (( "(") (binary_expression "param_2[1] + iVar7" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (+ "+") (identifier "iVar7")) () ")"))))) (; ";")) (} "}")))) (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 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']')) {\n            param_2[10] = iVar6 + 1;\n            *(undefined1 *)(param_1[1] + iVar4) = 0;\n            bVar3 = param_3[4];\n            if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }\n            goto LAB_0002b9f4;\n          }" (if "if") (parenthesized_expression "((bVar2 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']'))" (( "(") (binary_expression "(bVar2 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']')" (parenthesized_expression "(bVar2 == bVar3)" (( "(") (binary_expression "bVar2 == bVar3" (identifier "bVar2") (== "==") (identifier "bVar3")) () ")")) (&& "&&") (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] + iVar4) = 0;\n            bVar3 = param_3[4];\n            if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }\n            goto LAB_0002b9f4;\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] + iVar4) = 0;" (assignment_expression "*(undefined1 *)(param_1[1] + iVar4) = 0" (pointer_expression "*(undefined1 *)(param_1[1] + iVar4)" (* "*") (cast_expression "(undefined1 *)(param_1[1] + iVar4)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[1] + iVar4)" (( "(") (binary_expression "param_1[1] + iVar4" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (+ "+") (identifier "iVar4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "bVar3 = param_3[4];" (assignment_expression "bVar3 = param_3[4]" (identifier "bVar3") (= "=") (subscript_expression "param_3[4]" (identifier "param_3") ([ "[") (number_literal "4") (] "]"))) (; ";")) (if_statement "if (bVar3 == 0x1c) {\n              *param_1 = 2;\n              uVar5 = 0;\n            }\n            else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }" (if "if") (parenthesized_expression "(bVar3 == 0x1c)" (( "(") (binary_expression "bVar3 == 0x1c" (identifier "bVar3") (== "==") (number_literal "0x1c")) () ")")) (compound_statement "{\n              *param_1 = 2;\n              uVar5 = 0;\n            }" ({ "{") (expression_statement "*param_1 = 2;" (assignment_expression "*param_1 = 2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "2")) (; ";")) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }" (else "else") (if_statement "if (bVar3 == 0x1e) {\n              *param_1 = 4;\n              uVar5 = 0;\n            }\n            else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }" (if "if") (parenthesized_expression "(bVar3 == 0x1e)" (( "(") (binary_expression "bVar3 == 0x1e" (identifier "bVar3") (== "==") (number_literal "0x1e")) () ")")) (compound_statement "{\n              *param_1 = 4;\n              uVar5 = 0;\n            }" ({ "{") (expression_statement "*param_1 = 4;" (assignment_expression "*param_1 = 4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "4")) (; ";")) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }" (else "else") (compound_statement "{\n              uVar5 = 0;\n              if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }\n            }" ({ "{") (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (if_statement "if (bVar3 == 0x1a) {\n                *param_1 = 3;\n              }" (if "if") (parenthesized_expression "(bVar3 == 0x1a)" (( "(") (binary_expression "bVar3 == 0x1a" (identifier "bVar3") (== "==") (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_0002b9f4;" (goto "goto") (statement_identifier "LAB_0002b9f4") (; ";")) (} "}"))) (expression_statement "*(byte *)(param_1[1] + iVar4) = bVar3;" (assignment_expression "*(byte *)(param_1[1] + iVar4) = bVar3" (pointer_expression "*(byte *)(param_1[1] + iVar4)" (* "*") (cast_expression "(byte *)(param_1[1] + iVar4)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[1] + iVar4)" (( "(") (binary_expression "param_1[1] + iVar4" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (+ "+") (identifier "iVar4")) () ")")))) (= "=") (identifier "bVar3")) (; ";")) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar4 == 0x20) break;" (if "if") (parenthesized_expression "(iVar4 == 0x20)" (( "(") (binary_expression "iVar4 == 0x20" (identifier "iVar4") (== "==") (number_literal "0x20")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar7 = param_2[10];" (assignment_expression "iVar7 = param_2[10]" (identifier "iVar7") (= "=") (subscript_expression "param_2[10]" (identifier "param_2") ([ "[") (number_literal "10") (] "]"))) (; ";")) (expression_statement "bVar3 = param_3[4];" (assignment_expression "bVar3 = param_3[4]" (identifier "bVar3") (= "=") (subscript_expression "param_3[4]" (identifier "param_3") ([ "[") (number_literal "4") (] "]"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}"))) (expression_statement "uVar5 = 7;" (assignment_expression "uVar5 = 7" (identifier "uVar5") (= "=") (number_literal "7")) (; ";")) (} "}")) (else_clause "else {\n      if ((bVar3 == 0x16) && (param_6 == '\0')) {\n        FUN_00021570();\n        uVar5 = 0xb;\n        if (local_24 != '\x15') goto LAB_0002b9f4;\n      }\n      *param_1 = 0;\n      *(byte *)(param_1 + 1) = *param_3;\n      uVar5 = 0;\n    }" (else "else") (compound_statement "{\n      if ((bVar3 == 0x16) && (param_6 == '\0')) {\n        FUN_00021570();\n        uVar5 = 0xb;\n        if (local_24 != '\x15') goto LAB_0002b9f4;\n      }\n      *param_1 = 0;\n      *(byte *)(param_1 + 1) = *param_3;\n      uVar5 = 0;\n    }" ({ "{") (if_statement "if ((bVar3 == 0x16) && (param_6 == '\0')) {\n        FUN_00021570();\n        uVar5 = 0xb;\n        if (local_24 != '\x15') goto LAB_0002b9f4;\n      }" (if "if") (parenthesized_expression "((bVar3 == 0x16) && (param_6 == '\0'))" (( "(") (binary_expression "(bVar3 == 0x16) && (param_6 == '\0')" (parenthesized_expression "(bVar3 == 0x16)" (( "(") (binary_expression "bVar3 == 0x16" (identifier "bVar3") (== "==") (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_00021570();\n        uVar5 = 0xb;\n        if (local_24 != '\x15') goto LAB_0002b9f4;\n      }" ({ "{") (expression_statement "FUN_00021570();" (call_expression "FUN_00021570()" (identifier "FUN_00021570") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar5 = 0xb;" (assignment_expression "uVar5 = 0xb" (identifier "uVar5") (= "=") (number_literal "0xb")) (; ";")) (if_statement "if (local_24 != '\x15') goto LAB_0002b9f4;" (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_0002b9f4;" (goto "goto") (statement_identifier "LAB_0002b9f4") (; ";"))) (} "}"))) (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) = *param_3;" (assignment_expression "*(byte *)(param_1 + 1) = *param_3" (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")) () ")")))) (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n    iVar6 = param_2[2];\n    *param_1 = 1;\n    uVar5 = 0;\n    param_1[1] = *(undefined4 *)(iVar6 + iVar7 * 4);\n    param_2[10] = iVar7 + iVar4;\n  }" (else "else") (compound_statement "{\n    iVar6 = param_2[2];\n    *param_1 = 1;\n    uVar5 = 0;\n    param_1[1] = *(undefined4 *)(iVar6 + iVar7 * 4);\n    param_2[10] = iVar7 + iVar4;\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") (] "]"))) (; ";")) (expression_statement "*param_1 = 1;" (assignment_expression "*param_1 = 1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "1")) (; ";")) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[1] = *(undefined4 *)(iVar6 + iVar7 * 4);" (assignment_expression "param_1[1] = *(undefined4 *)(iVar6 + iVar7 * 4)" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (pointer_expression "*(undefined4 *)(iVar6 + iVar7 * 4)" (* "*") (cast_expression "(undefined4 *)(iVar6 + iVar7 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + iVar7 * 4)" (( "(") (binary_expression "iVar6 + iVar7 * 4" (identifier "iVar6") (+ "+") (binary_expression "iVar7 * 4" (identifier "iVar7") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "param_2[10] = iVar7 + iVar4;" (assignment_expression "param_2[10] = iVar7 + iVar4" (subscript_expression "param_2[10]" (identifier "param_2") ([ "[") (number_literal "10") (] "]")) (= "=") (binary_expression "iVar7 + iVar4" (identifier "iVar7") (+ "+") (identifier "iVar4"))) (; ";")) (} "}")))) (labeled_statement "LAB_0002b9f4:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00031620();\n  }" (statement_identifier "LAB_0002b9f4") (: ":") (if_statement "if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00031620();\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_00031620();\n  }" ({ "{") (expression_statement "FUN_00031620();" (call_expression "FUN_00031620()" (identifier "FUN_00031620") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (return_statement "return uVar5;" (return "return") (identifier "uVar5") (; ";")) (} "}")))

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_12;
  type_8 var_8;
  char var_9;
  type_9 *var_11;
  type_8 var_6;
  int var_3;
  type_1 rVar7;
  type_10 var_7;
  int var_4;
  int var_1;
  type_4 token2;
  
  var_4 = regexp->cur_idx;
  var_12 = *(int *)(var_1 + 0x14);
  if ((regexp->mb_cur_max == 1) || (var_3 = var_2(regexp,var_4), var_3 < 2)) {
    var_7 = var_4 + var_5;
    regexp->cur_idx = var_7;
    var_6 = token->field_0x4;
    if (((var_6 & 0xfb) == 0x1a) || (var_6 == 0x1c)) {
      if (var_7 < regexp->stop) {
        var_4 = 0;
        var_8 = (token->opr).c;
        do {
          if ((var_6 == 0x1e) && (regexp->mbs_allocated != '\0')) {
            if (regexp->offsets_needed == '\0') {
              var_3 = var_7 + 1;
              regexp->cur_idx = var_3;
              var_6 = regexp->raw_mbs[regexp->raw_mbs_idx + var_7];
            }
            else {
              if (((var_7 != regexp->valid_len) && (regexp->wcs[var_7] == 0xffffffff)) ||
                 (var_6 = regexp->raw_mbs[regexp->raw_mbs_idx + regexp->offsets[var_7]],
                 (var_6 & 0x80) != 0)) goto LAB_0002ba6d;
              var_3 = regexp->mb_cur_max;
              if (var_3 != 1) {
                var_3 = var_2(regexp,var_7);
              }
              var_3 = var_3 + var_7;
              regexp->cur_idx = var_3;
            }
          }
          else {
LAB_0002ba6d:
            var_3 = var_7 + 1;
            regexp->cur_idx = var_3;
            var_6 = regexp->mbs[var_7];
          }
          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_4] = '\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_0002b9f4;
          }
          (elem->opr).name[var_4] = var_6;
          var_4 = var_4 + 1;
          if (var_4 == 0x20) break;
          var_7 = regexp->cur_idx;
          var_6 = token->field_0x4;
        } while( true );
      }
      rVar7 = _REG_EBRACK;
    }
    else {
      if ((var_6 == 0x16) && ((char)syntax == '\0')) {
        var_10(&token2,regexp,(type_6)dfa);
        rVar7 = _REG_ERANGE;
        if (token2._4_1_ != '\x15') goto LAB_0002b9f4;
      }
      elem->type = SB_CHAR;
      (elem->opr).ch = (token->opr).c;
      rVar7 = _REG_NOERROR;
    }
  }
  else {
    var_11 = regexp->wcs;
    elem->type = MB_CHAR;
    rVar7 = _REG_NOERROR;
    elem->opr = *(type_11 *)(var_11 + var_4);
    regexp->cur_idx = var_4 + var_3;
  }
LAB_0002b9f4:
  if (var_12 != *(int *)(var_1 + 0x14)) {
                    /* WARNING: Subroutine does not return */
    var_13();
  }
  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: (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: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (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))) (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: (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: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (do_statement body: (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: (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: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (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 (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (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: (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))) (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: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))))) (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))))))) alternative: (else_clause (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (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: (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: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (identifier))))))) (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;
  byte bVar3;
  int iVar4;
  undefined4 uVar5;
  int iVar6;
  int iVar7;
  int in_GS_OFFSET;
  char local_24;
  
  iVar7 = param_2[10];
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  if ((param_2[0x14] == 1) || (iVar4 = FUN_00023070(), iVar4 < 2)) {
    iVar7 = iVar7 + param_4;
    param_2[10] = iVar7;
    bVar3 = param_3[4];
    if (((bVar3 & 0xfb) == 0x1a) || (bVar3 == 0x1c)) {
      if (iVar7 < param_2[0xe]) {
        iVar4 = 0;
        bVar2 = *param_3;
        do {
          if ((bVar3 == 0x1e) && (*(char *)((int)param_2 + 0x4b) != '\0')) {
            if ((char)param_2[0x13] == '\0') {
              iVar6 = iVar7 + 1;
              param_2[10] = iVar6;
              bVar3 = *(byte *)(iVar7 + *param_2 + param_2[6]);
            }
            else {
              if (((iVar7 != param_2[7]) && (*(int *)(param_2[2] + iVar7 * 4) == -1)) ||
                 (bVar3 = *(byte *)(*(int *)(param_2[3] + iVar7 * 4) + *param_2 + param_2[6]),
                 (bVar3 & 0x80) != 0)) goto LAB_0002ba6d;
              iVar6 = param_2[0x14];
              if (iVar6 != 1) {
                iVar6 = FUN_00023070();
              }
              iVar6 = iVar6 + iVar7;
              param_2[10] = iVar6;
            }
          }
          else {
LAB_0002ba6d:
            iVar6 = iVar7 + 1;
            param_2[10] = iVar6;
            bVar3 = *(byte *)(param_2[1] + iVar7);
          }
          if (param_2[0xe] <= iVar6) break;
          if ((bVar2 == bVar3) && (*(char *)(param_2[1] + iVar6) == ']')) {
            param_2[10] = iVar6 + 1;
            *(undefined1 *)(param_1[1] + iVar4) = 0;
            bVar3 = param_3[4];
            if (bVar3 == 0x1c) {
              *param_1 = 2;
              uVar5 = 0;
            }
            else if (bVar3 == 0x1e) {
              *param_1 = 4;
              uVar5 = 0;
            }
            else {
              uVar5 = 0;
              if (bVar3 == 0x1a) {
                *param_1 = 3;
              }
            }
            goto LAB_0002b9f4;
          }
          *(byte *)(param_1[1] + iVar4) = bVar3;
          iVar4 = iVar4 + 1;
          if (iVar4 == 0x20) break;
          iVar7 = param_2[10];
          bVar3 = param_3[4];
        } while( true );
      }
      uVar5 = 7;
    }
    else {
      if ((bVar3 == 0x16) && (param_6 == '\0')) {
        FUN_00021570();
        uVar5 = 0xb;
        if (local_24 != '\x15') goto LAB_0002b9f4;
      }
      *param_1 = 0;
      *(byte *)(param_1 + 1) = *param_3;
      uVar5 = 0;
    }
  }
  else {
    iVar6 = param_2[2];
    *param_1 = 1;
    uVar5 = 0;
    param_1[1] = *(undefined4 *)(iVar6 + iVar7 * 4);
    param_2[10] = iVar7 + iVar4;
  }
LAB_0002b9f4:
  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_00031620();
  }
  return uVar5;
}

