
/* WARNING: Removing unreachable block (ram,0x0011f384) */
/* WARNING: Removing unreachable block (ram,0x0011f4d8) */
/* WARNING: Removing unreachable block (ram,0x0011f390) */
/* WARNING: Removing unreachable block (ram,0x0011f4f0) */
/* WARNING: Removing unreachable block (ram,0x0011f720) */
/* WARNING: Removing unreachable block (ram,0x0011f4f8) */
/* WARNING: Removing unreachable block (ram,0x0011f504) */
/* WARNING: Removing unreachable block (ram,0x0011f538) */
/* WARNING: Removing unreachable block (ram,0x0011f514) */
/* WARNING: Removing unreachable block (ram,0x0011f540) */
/* WARNING: Removing unreachable block (ram,0x0011f51c) */
/* WARNING: Removing unreachable block (ram,0x0011f548) */
/* WARNING: Removing unreachable block (ram,0x0011f558) */
/* WARNING: Removing unreachable block (ram,0x0011f520) */
/* WARNING: Removing unreachable block (ram,0x0011f6e0) */
/* WARNING: Removing unreachable block (ram,0x0011f52c) */
/* WARNING: Removing unreachable block (ram,0x0011f6e4) */
/* WARNING: Removing unreachable block (ram,0x0011f70c) */
/* WARNING: Removing unreachable block (ram,0x0011f5a4) */
/* WARNING: Removing unreachable block (ram,0x0011f560) */
/* WARNING: Removing unreachable block (ram,0x0011f5ac) */
/* WARNING: Removing unreachable block (ram,0x0011f5b4) */
/* WARNING: Removing unreachable block (ram,0x0011f578) */
/* WARNING: Removing unreachable block (ram,0x0011f5c4) */
/* WARNING: Removing unreachable block (ram,0x0011f590) */
/* WARNING: Removing unreachable block (ram,0x0011f598) */
/* WARNING: Removing unreachable block (ram,0x0011f740) */
/* WARNING: Removing unreachable block (ram,0x0011f744) */
/* WARNING: Removing unreachable block (ram,0x0011f39c) */
/* WARNING: Removing unreachable block (ram,0x0011f3d8) */
/* WARNING: Removing unreachable block (ram,0x0011f5ec) */

int history_expand(char *hstring,char **output)

{
  char cVar1;
  undefined *puVar2;
  uint uVar3;
  char *pcVar4;
  code *pcVar5;
  char *pcVar6;
  char cVar13;
  char *pcVar7;
  char *pcVar8;
  uint uVar9;
  int iVar10;
  undefined4 uVar11;
  undefined4 *puVar12;
  int iVar14;
  bool bVar15;
  int iVar16;
  int *piVar17;
  int iVar18;
  int iVar19;
  int iVar20;
  undefined *puVar21;
  int local_c8;
  uint local_c4;
  char *local_c0;
  uint local_b0;
  int local_a8;
  int i;
  int i_1;
  int fake_i;
  mbstate_t ps;
  mbstate_t ps_1;
  char fake_s [3];
  char mb [16];
  int local_2c;
  
  local_2c = *(int *)PTR___stack_chk_guard_0015858c;
  uVar3 = 0;
  if (output == (char **)0x0) goto LAB_0011f678;
  if (*PTR_history_expansion_char_00156fcc == '\0') {
    iVar20 = (*(code *)PTR_strlen_00158444)();
    uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);
    pcVar4 = (char *)(*(code *)PTR_strcpy_001584cc)(uVar11,hstring);
    *output = pcVar4;
    uVar3 = 0;
    goto LAB_0011f678;
  }
  pcVar4 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x100);
  *pcVar4 = '\0';
  local_c8 = (*(code *)PTR_strlen_00158444)(hstring);
  if (*hstring != *PTR_history_subst_char_00156fd0) {
    ps.__count = 0;
    ps.__value.__wch = 0;
    uVar3 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);
    i = 0;
    pcVar6 = hstring;
    if ((*(int *)PTR_history_quoting_state_001569a0 == 0x27) &&
       (*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0)) {
      hist_string_extract_single_quoted(hstring,&i,0);
      if (hstring[i] == '\0') goto LAB_0011d994;
      i = i + 1;
    }
    puVar2 = PTR_history_quotes_inhibit_expansion_00157524;
    puVar21 = PTR_history_comment_char_00156f80;
    if (hstring[i] != '\0') {
      pcVar5 = (code *)(PTR_LAB_0015657c + -0x3e90);
      do {
        uVar9 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();
        if ((uVar9 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {
LAB_0011f800:
          iVar20 = i;
          iVar18 = (int)(hstring + i)[1];
          if (((char)*puVar21 == 0) || (iVar10 = (int)hstring[i], (char)*puVar21 != iVar10)) {
            iVar10 = (int)hstring[i];
            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;
            if (iVar10 != iVar14) {
              if (uVar3 == 0) goto LAB_0011f844;
LAB_0011f788:
              if (iVar10 == 0x5c) {
                if (iVar18 == 0x22) {
                  i = i + 1;
                }
                else {
                  iVar16 = *(int *)puVar2;
                  if (iVar16 != 0) goto LAB_0011f7a4;
                }
              }
              else {
                iVar16 = *(int *)puVar2;
                if (iVar16 != 0) {
                  if (iVar10 == 0x22) {
LAB_0011da74:
                    uVar3 = 1 - uVar3;
                  }
                  else {
LAB_0011f7a4:
                    if (uVar3 == 0) goto LAB_0011f858;
                    if (iVar16 != 0) goto LAB_0011f7b4;
                  }
                }
              }
              goto LAB_0011f7c0;
            }
          }
          else if (uVar3 == 0) {
            if ((i == 0) ||
               ((hstring[i + -1] != '\0' &&
                (iVar10 = (*(code *)PTR_strchr_0015844c)
                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),
                iVar10 != 0)))) goto LAB_0011da2c;
            iVar10 = (int)hstring[iVar20];
            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;
            if (iVar10 != iVar14) {
LAB_0011f844:
              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;
              if (iVar10 == 0x22) goto LAB_0011da74;
LAB_0011f858:
              if (iVar10 == 0x27) {
                if (iVar20 < 1) {
                  bVar15 = false;
                }
                else {
                  bVar15 = hstring[iVar20 + -1] == '$';
                }
                i = iVar20 + 1;
                (*pcVar5)(hstring,&i,bVar15);
                uVar3 = 0;
              }
              else {
LAB_0011f7b4:
                if ((iVar10 == 0x5c) && ((iVar18 == 0x27 || (iVar18 == iVar14)))) {
                  i = iVar20 + 1;
                }
              }
              goto LAB_0011f7c0;
            }
          }
          else {
            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;
            if (iVar10 != iVar14) goto LAB_0011f788;
          }
          if (((iVar18 != 0) &&
              (iVar10 = (*(code *)PTR_strchr_0015844c)
                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar18),
              iVar10 == 0)) && ((uVar3 == 0 || (iVar18 != 0x22)))) {
            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)
            goto LAB_0011d9ac;
            iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(hstring,iVar20);
            if (iVar20 == 0) break;
          }
        }
        else {
          iVar20 = _rl_get_char_len(hstring + i,&ps);
          if (iVar20 < 2) goto LAB_0011f800;
          i = i + iVar20 + -1;
        }
LAB_0011f7c0:
        i = i + 1;
      } while (hstring[i] != '\0');
    }
    goto LAB_0011d994;
  }
  pcVar6 = (char *)(*(code *)PTR_xmalloc_001565b8)(local_c8 + 5);
  cVar1 = *PTR_history_expansion_char_00156fcc;
  pcVar6[1] = cVar1;
  *pcVar6 = cVar1;
  pcVar6[2] = ':';
  pcVar6[3] = 's';
  (*(code *)PTR_strcpy_001584cc)(pcVar6 + 4,hstring);
  local_c8 = local_c8 + 4;
  goto LAB_0011d9ac;
LAB_0011da2c:
  do {
    i = iVar20 + 1;
    iVar20 = i;
  } while (hstring[i] != '\0');
LAB_0011d994:
  if (hstring[i] != *PTR_history_expansion_char_00156fcc) {
    (*(code *)PTR_xfree_00156bb4)(pcVar4);
    iVar20 = (*(code *)PTR_strlen_00158444)(hstring);
    uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);
    pcVar4 = (char *)(*(code *)PTR_strcpy_001584cc)(uVar11,hstring);
    *output = pcVar4;
    uVar3 = 0;
    goto LAB_0011f678;
  }
LAB_0011d9ac:
  local_c4 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);
  i = 0;
  if (*(int *)PTR_history_quoting_state_001569a0 == 0x27) {
    iVar20 = 0x100;
    if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {
      local_b0 = 1;
      iVar10 = 0;
    }
    else {
      hist_string_extract_single_quoted(pcVar6,&i,0);
      if (i < 1) {
        if (pcVar6[i] == '\0') {
          iVar20 = 0x100;
          local_b0 = 0;
          iVar10 = 0;
        }
        else {
          iVar18 = 0;
          iVar20 = 0x100;
LAB_0011dbe0:
          iVar10 = iVar18 + 1;
          pcVar4[iVar18] = pcVar6[i];
          pcVar4[iVar10] = '\0';
          i = i + 1;
          local_b0 = 0;
        }
      }
      else {
        iVar20 = 0x100;
        iVar18 = 0;
        while( true ) {
          iVar10 = iVar18 + 1;
          pcVar4[iVar18] = pcVar6[iVar18];
          pcVar4[iVar10] = '\0';
          if (i <= iVar10) break;
          iVar18 = iVar10;
          if (iVar20 + -1 <= iVar10) {
            iVar20 = iVar20 + 0x40;
            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);
          }
        }
        if (pcVar6[i] != '\0') {
          iVar18 = iVar10;
          if (iVar20 + -1 <= iVar10) {
            iVar20 = iVar20 + 0x40;
            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);
          }
          goto LAB_0011dbe0;
        }
        local_b0 = 0;
      }
    }
  }
  else {
    iVar20 = 0x100;
    local_b0 = 0;
    iVar10 = 0;
  }
  puVar2 = PTR_DAT_001565b0;
  puVar21 = PTR_pidstat_table_3077__0015656c;
  if (i < local_c8) {
    local_a8 = 0;
    uVar3 = 0;
    do {
      cVar1 = pcVar6[i];
      if (uVar3 == 0) {
        uVar9 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();
        if ((1 < uVar9) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {
          mb[0] = '\0';
          mb[1] = '\0';
          mb[2] = '\0';
          mb[3] = '\0';
          mb[4] = '\0';
          mb[5] = '\0';
          mb[6] = '\0';
          mb[7] = '\0';
          mb[8] = '\0';
          mb[9] = '\0';
          mb[10] = '\0';
          mb[0xb] = '\0';
          mb[0xc] = '\0';
          mb[0xd] = '\0';
          mb[0xe] = '\0';
          mb[0xf] = '\0';
          piVar17 = (int *)mb;
          cVar13 = cVar1;
          do {
            *(char *)piVar17 = cVar13;
            ps.__count = 0;
            ps.__value.__wch = 0;
            iVar18 = _rl_get_char_len(mb,&ps);
            if (iVar18 != -2) break;
            i = i + 1;
            piVar17 = (int *)((int)piVar17 + 1);
            cVar13 = pcVar6[i];
          } while (&local_2c != piVar17);
          uVar9 = (*(code *)PTR_strlen_00158444)(mb);
          if (1 < uVar9) {
            iVar18 = iVar10 + uVar9;
            iVar10 = iVar20;
            if (iVar20 <= iVar18) {
              do {
                iVar10 = iVar10 + 0x80;
              } while (iVar10 <= iVar18);
              iVar20 = iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U);
              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);
            }
            (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - uVar9),mb);
            uVar3 = 0;
            goto LAB_0011dc80;
          }
        }
        iVar18 = i;
        if (*PTR_history_expansion_char_00156fcc == cVar1) {
LAB_0011e340:
          iVar14 = (int)pcVar6[i + 1];
          if ((((iVar14 != 0) &&
               (iVar16 = (*(code *)PTR_strchr_0015844c)
                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar14),
               iVar16 == 0)) && ((local_c4 == 0 || (iVar14 != 0x22)))) &&
             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||
              (iVar18 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar18),
              iVar18 == 0)))) {
            iVar14 = i;
            iVar18 = 0x27;
            if ((local_b0 == 0) && (iVar18 = 0x22, local_c4 == 0)) {
              iVar18 = 0;
            }
            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);
            i_1 = iVar14;
            iVar16 = (int)pcVar6[iVar14 + 1];
            if (iVar16 == 0) {
LAB_0011e654:
              pcVar7 = get_history_event(pcVar6,&i_1,iVar18);
              iVar19 = i_1;
            }
            else {
              iVar19 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar16);
              if (iVar19 == 0) {
                pcVar7 = pcVar4;
                iVar19 = iVar14 + 2;
                if (iVar16 != 0x23) goto LAB_0011e654;
              }
              else {
                fake_i = 0;
                fake_s[0] = *PTR_history_expansion_char_00156fcc;
                fake_s[2] = '\0';
                i_1 = iVar14 + 1;
                fake_s[1] = fake_s[0];
                pcVar7 = get_history_event(fake_s,&fake_i,0);
                iVar19 = i_1;
              }
            }
            i_1 = iVar19;
            iVar18 = i_1;
            if (pcVar7 == (char *)0x0) {
              pcVar7 = hist_error(pcVar6,iVar14,i_1,0);
              (*(code *)PTR_xfree_00156bb4)(local_c0);
              goto LAB_0011e9e8;
            }
            iVar14 = i_1 + 1;
            if (pcVar6[i_1] != ':') {
              iVar14 = i_1;
            }
            iVar16 = (int)pcVar6[iVar14];
            if (iVar16 == 0x25) {
              i_1 = iVar14 + 1;
              if (*(int *)(PTR_pidstat_table_3077__0015656c + -0x3384) == 0) {
                pcVar8 = (char *)(*(code *)PTR_xmalloc_001565b8)(1);
                *pcVar8 = '\0';
              }
              else {
                iVar20 = (*(code *)PTR_strlen_00158444)();
                uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);
                pcVar8 = (char *)(*(code *)PTR_strcpy_001584cc)
                                           (uVar11,*(undefined4 *)
                                                    (PTR_pidstat_table_3077__0015656c + -0x3384));
              }
              goto LAB_0011e5b8;
            }
            if (iVar16 == 0x2a) {
              i_1 = iVar14 + 1;
              pcVar8 = history_arg_extract(1,0x24,pcVar7);
              if (pcVar8 == (char *)0x0) {
                pcVar8 = (char *)(*(code *)PTR_xmalloc_001565b8)(1);
                *pcVar8 = '\0';
              }
              goto LAB_0011e5b8;
            }
            if (iVar16 == 0x24) {
              i_1 = iVar14 + 1;
              pcVar8 = history_arg_extract(0x24,0x24,pcVar7);
              if (pcVar8 == puVar21 + -0x336c) goto LAB_0011e864;
              if (pcVar8 != (char *)0x0) goto LAB_0011e5c8;
LAB_0011e61c:
              iVar18 = (*(code *)PTR_strlen_00158444)(pcVar7);
              uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar18 + 1);
              uVar11 = (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar7);
              if (pcVar6[i_1] != ':') {
                i_1 = i_1 + -1;
                iVar18 = (*(code *)PTR_strlen_00158444)(uVar11);
                if (0x7f < iVar18) {
                  local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar18 + 2);
                }
                (*(code *)PTR_strcpy_001584cc)(local_c0,uVar11);
                (*(code *)PTR_xfree_00156bb4)(uVar11);
                iVar18 = i_1;
                local_a8 = local_a8 + 1;
                if (*local_c0 != '\0') {
                  iVar16 = (*(code *)PTR_strlen_00158444)();
                  iVar10 = iVar10 + iVar16;
                  iVar14 = iVar20;
                  if (iVar20 <= iVar10) {
                    do {
                      iVar14 = iVar14 + 0x80;
                    } while (iVar14 <= iVar10);
                    iVar20 = iVar20 + 0x80 + (iVar10 - iVar20 & 0xffffff80U);
                    pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);
                  }
                  (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar10 - iVar16),local_c0);
                }
                (*(code *)PTR_xfree_00156bb4)(local_c0);
                i = iVar18;
                iVar18 = iVar10;
                goto LAB_0011dc80;
              }
              iVar20 = (int)pcVar6[i_1 + 1];
              if ((iVar20 == 0x67) || (iVar20 == 0x61)) {
                iVar20 = (int)pcVar6[i_1 + 2];
                i_1 = i_1 + 1;
              }
              else if (iVar20 == 0x47) {
                iVar20 = (int)pcVar6[i_1 + 2];
                i_1 = i_1 + 1;
              }
              if ((iVar20 - 0x26U & 0xff) < 0x53) {
                    /* WARNING: Could not emulate address calculation at 0x0011e968 */
                    /* WARNING: Treating indirect jump as call */
                iVar20 = (*(code *)((int)pidstat_table +
                                   *(int *)(puVar2 + (iVar20 - 0x26U & 0xff) * 4 + 0x484) + 0x1554))
                                   ();
                return iVar20;
              }
              pcVar7 = hist_error(pcVar6,i_1 + 1,i_1 + 2,3);
              (*(code *)PTR_xfree_00156bb4)(local_c0);
              (*(code *)PTR_xfree_00156bb4)(uVar11);
            }
            else {
              if (iVar16 == 0x2d) {
                iVar20 = 0;
                goto LAB_0011e8ac;
              }
              if (iVar16 == 0x5e) {
                iVar14 = iVar14 + 1;
                iVar20 = 1;
              }
              else {
                if ((9 < (iVar16 - 0x30U & 0xff)) || (pcVar6[i_1] != ':')) goto LAB_0011e61c;
                iVar20 = 0;
                do {
                  iVar20 = iVar16 + -0x30 + iVar20 * 10;
                  iVar14 = iVar14 + 1;
                  iVar16 = (int)pcVar6[iVar14];
                } while ((iVar16 - 0x30U & 0xff) < 10);
              }
              cVar1 = pcVar6[iVar14];
              if (cVar1 == '^') {
                iVar10 = 1;
LAB_0011e838:
                i_1 = iVar14 + 1;
LAB_0011e83c:
                bVar15 = iVar10 < iVar20;
LAB_0011e840:
                if (((!bVar15) || (iVar10 == 0x24)) || (iVar10 < 0)) goto LAB_0011e5a4;
              }
              else {
                if (cVar1 == '*') {
                  iVar10 = 0x24;
                  goto LAB_0011e838;
                }
                iVar10 = iVar20;
                i_1 = iVar14;
                if (cVar1 == '-') {
LAB_0011e8ac:
                  i_1 = iVar14 + 1;
                  iVar16 = (int)pcVar6[i_1];
                  if (9 < (iVar16 - 0x30U & 0xff)) {
                    if (iVar16 != 0x24) {
                      iVar10 = -1;
                      goto LAB_0011e5a4;
                    }
                    i_1 = iVar14 + 2;
                    iVar10 = 0x24;
                    goto LAB_0011e83c;
                  }
                  iVar10 = 0;
                  do {
                    iVar10 = iVar16 + -0x30 + iVar10 * 10;
                    i_1 = i_1 + 1;
                    iVar16 = (int)pcVar6[i_1];
                    bVar15 = iVar10 < iVar20;
                  } while ((iVar16 - 0x30U & 0xff) < 10);
                  goto LAB_0011e840;
                }
LAB_0011e5a4:
                pcVar8 = history_arg_extract(iVar20,iVar10,pcVar7);
                if (pcVar8 != (char *)0x0) {
LAB_0011e5b8:
                  if (pcVar8 != puVar21 + -0x336c) {
LAB_0011e5c8:
                    iVar20 = (*(code *)PTR_strlen_00158444)(pcVar8);
                    uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);
                    (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar8);
                    iVar20 = (*(code *)PTR_free_001585ac)(pcVar8);
                    return iVar20;
                  }
                }
              }
LAB_0011e864:
              pcVar7 = hist_error(pcVar6,iVar18,i_1,1);
              (*(code *)PTR_xfree_00156bb4)(local_c0);
            }
LAB_0011e9e8:
            *output = pcVar7;
            (*(code *)PTR_xfree_00156bb4)(pcVar4);
            if (pcVar6 == hstring) {
              uVar3 = 0xffffffff;
            }
            else {
              (*(code *)PTR_xfree_00156bb4)(pcVar6);
              uVar3 = 0xffffffff;
            }
            goto LAB_0011f678;
          }
          if (iVar20 + -1 <= iVar10) {
            iVar20 = iVar20 + 0x40;
            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);
          }
          pcVar4[iVar10] = pcVar6[i];
          pcVar4[iVar10 + 1] = '\0';
          iVar18 = iVar10 + 1;
        }
        else if (*PTR_history_comment_char_00156f80 == cVar1) {
LAB_0011de7c:
          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&
             ((i == 0 ||
              ((pcVar6[i + -1] != '\0' &&
               (iVar14 = (*(code *)PTR_strchr_0015844c)
                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),
               iVar14 != 0)))))) {
            uVar11 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar18) + 1);
            (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar6 + i);
            iVar14 = (*(code *)PTR_strlen_00158444)(uVar11);
            iVar18 = iVar10 + iVar14;
            iVar10 = iVar20;
            if (iVar20 <= iVar18) {
              do {
                iVar10 = iVar10 + 0x80;
              } while (iVar10 <= iVar18);
              iVar20 = iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U);
              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);
            }
            (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar14),uVar11);
            (*(code *)PTR_xfree_00156bb4)(uVar11);
            i = local_c8;
          }
          else {
            if (iVar20 + -1 <= iVar10) {
              iVar20 = iVar20 + 0x40;
              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);
            }
            pcVar4[iVar10] = pcVar6[i];
            pcVar4[iVar10 + 1] = '\0';
            iVar18 = iVar10 + 1;
          }
        }
        else if (cVar1 == '\"') {
          local_c4 = 1 - local_c4;
          if (iVar20 + -1 <= iVar10) {
            iVar20 = iVar20 + 0x40;
            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);
          }
          iVar18 = iVar10 + 1;
          pcVar4[iVar10] = '\"';
          pcVar4[iVar18] = '\0';
        }
        else if (cVar1 < '#') {
          if (cVar1 == -3) goto LAB_0011e340;
          if (cVar1 == -2) goto LAB_0011de7c;
LAB_0011df70:
          if (iVar20 + -1 <= iVar10) {
            iVar20 = iVar20 + 0x40;
            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);
          }
          pcVar4[iVar10] = pcVar6[i];
          pcVar4[iVar10 + 1] = '\0';
          iVar18 = iVar10 + 1;
        }
        else if (cVar1 == '\'') {
          if (local_b0 == 0) {
            if (local_c4 == 0) {
              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {
                if (iVar20 + -1 <= iVar10) {
                  iVar20 = iVar20 + 0x40;
                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);
                }
                pcVar4[iVar10] = pcVar6[i];
                pcVar4[iVar10 + 1] = '\0';
                local_b0 = 1;
                uVar3 = 0;
                iVar18 = iVar10 + 1;
                local_c4 = uVar3;
              }
              else {
                if (i < 1) {
                  uVar3 = 0;
                }
                else {
                  uVar3 = (uint)(pcVar6[i + -1] == '$');
                }
                i = i + 1;
                hist_string_extract_single_quoted(pcVar6,&i,uVar3);
                iVar16 = i - iVar18;
                iVar19 = iVar16 + 2;
                iVar14 = (*(code *)PTR_xmalloc_001565b8)(iVar19);
                (*(code *)PTR_strncpy_001583e4)(iVar14,pcVar6 + iVar18,iVar19);
                *(undefined1 *)(iVar14 + iVar16 + 1) = 0;
                iVar16 = (*(code *)PTR_strlen_00158444)(iVar14);
                iVar18 = iVar10 + iVar16;
                iVar10 = iVar20;
                if (iVar20 <= iVar18) {
                  do {
                    iVar10 = iVar10 + 0x80;
                  } while (iVar10 <= iVar18);
                  iVar20 = (iVar18 - iVar20 & 0xffffff80U) + iVar20 + 0x80;
                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);
                }
                (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar16),iVar14);
                (*(code *)PTR_xfree_00156bb4)(iVar14);
                local_b0 = local_c4;
                uVar3 = local_c4;
              }
            }
            else {
              if (iVar20 + -1 <= iVar10) {
                iVar20 = iVar20 + 0x40;
                pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);
              }
              pcVar4[iVar10] = pcVar6[i];
              pcVar4[iVar10 + 1] = '\0';
              uVar3 = local_b0;
              iVar18 = iVar10 + 1;
            }
          }
          else {
            if (iVar20 + -1 <= iVar10) {
              iVar20 = iVar20 + 0x40;
              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);
            }
            pcVar4[iVar10] = '\'';
            pcVar4[iVar10 + 1] = '\0';
            iVar18 = iVar10 + 1;
            local_b0 = uVar3;
          }
        }
        else {
          if (cVar1 != '\\') goto LAB_0011df70;
          if (iVar20 + -1 <= iVar10) {
            iVar20 = iVar20 + 0x40;
            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);
          }
          pcVar4[iVar10] = '\\';
          pcVar4[iVar10 + 1] = '\0';
          uVar3 = 1;
          iVar18 = iVar10 + 1;
        }
      }
      else {
        if (iVar20 + -1 <= iVar10) {
          iVar20 = iVar20 + 0x40;
          pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);
        }
        pcVar4[iVar10] = cVar1;
        pcVar4[iVar10 + 1] = '\0';
        uVar3 = 0;
        iVar18 = iVar10 + 1;
      }
LAB_0011dc80:
      i = i + 1;
      iVar10 = iVar18;
    } while (i < local_c8);
    *output = pcVar4;
    if (pcVar6 != hstring) {
LAB_0011f650:
      (*(code *)PTR_xfree_00156bb4)(pcVar6);
    }
  }
  else {
    *output = pcVar4;
    if (pcVar6 != hstring) {
      local_a8 = 0;
      goto LAB_0011f650;
    }
    local_a8 = 0;
  }
  uVar3 = (uint)(local_a8 != 0);
LAB_0011f678:
  if (local_2c == *(int *)PTR___stack_chk_guard_0015858c) {
    return uVar3;
  }
  iVar20 = local_2c;
  puVar21 = PTR___stack_chk_fail_0015853c;
  (*(code *)PTR___stack_chk_fail_0015853c)();
  if (iVar20 == 0) {
    iVar20 = (**(code **)(puVar21 + 0x384f4))(*(int *)(puVar21 + 0x36ccc) + 0x66e4);
    if (iVar20 == 0) {
      iVar18 = 0;
    }
    else {
      iVar10 = (**(code **)(puVar21 + 0x38b94))(iVar20);
      iVar18 = (**(code **)(puVar21 + 0x36d08))(iVar10 + 10);
      (**(code **)(puVar21 + 0x38c1c))(iVar18,iVar20);
      *(undefined1 *)(iVar18 + iVar10) = 0x2f;
      puVar12 = (undefined4 *)(iVar18 + iVar10 + 1);
      iVar20 = *(int *)(puVar21 + 0x36d00);
      uVar11 = *(undefined4 *)(iVar20 + 0x5d4);
      *puVar12 = *(undefined4 *)(iVar20 + 0x5d0);
      puVar12[1] = uVar11;
      *(undefined1 *)(puVar12 + 2) = *(undefined1 *)(iVar20 + 0x5d8);
    }
  }
  else {
    iVar18 = (**(code **)(puVar21 + 0x38b94))();
    uVar11 = (**(code **)(puVar21 + 0x36d08))(iVar18 + 1);
    iVar18 = (**(code **)(puVar21 + 0x38c1c))(uVar11,iVar20);
  }
  return iVar18;
}



/* WARNING: Removing unreachable block (ram,0x0011f384) */
/* WARNING: Removing unreachable block (ram,0x0011f4d8) */
/* WARNING: Removing unreachable block (ram,0x0011f390) */
/* WARNING: Removing unreachable block (ram,0x0011f4f0) */
/* WARNING: Removing unreachable block (ram,0x0011f720) */
/* WARNING: Removing unreachable block (ram,0x0011f4f8) */
/* WARNING: Removing unreachable block (ram,0x0011f504) */
/* WARNING: Removing unreachable block (ram,0x0011f538) */
/* WARNING: Removing unreachable block (ram,0x0011f514) */
/* WARNING: Removing unreachable block (ram,0x0011f540) */
/* WARNING: Removing unreachable block (ram,0x0011f51c) */
/* WARNING: Removing unreachable block (ram,0x0011f548) */
/* WARNING: Removing unreachable block (ram,0x0011f558) */
/* WARNING: Removing unreachable block (ram,0x0011f520) */
/* WARNING: Removing unreachable block (ram,0x0011f6e0) */
/* WARNING: Removing unreachable block (ram,0x0011f52c) */
/* WARNING: Removing unreachable block (ram,0x0011f6e4) */
/* WARNING: Removing unreachable block (ram,0x0011f70c) */
/* WARNING: Removing unreachable block (ram,0x0011f5a4) */
/* WARNING: Removing unreachable block (ram,0x0011f560) */
/* WARNING: Removing unreachable block (ram,0x0011f5ac) */
/* WARNING: Removing unreachable block (ram,0x0011f5b4) */
/* WARNING: Removing unreachable block (ram,0x0011f578) */
/* WARNING: Removing unreachable block (ram,0x0011f5c4) */
/* WARNING: Removing unreachable block (ram,0x0011f590) */
/* WARNING: Removing unreachable block (ram,0x0011f598) */
/* WARNING: Removing unreachable block (ram,0x0011f740) */
/* WARNING: Removing unreachable block (ram,0x0011f744) */
/* WARNING: Removing unreachable block (ram,0x0011f39c) */
/* WARNING: Removing unreachable block (ram,0x0011f3d8) */
/* WARNING: Removing unreachable block (ram,0x0011f5ec) */
/* WARNING: Type propagation algorithm not settling */

uint history_expand(char *param_1,undefined4 *param_2)

{
  char cVar1;
  undefined *puVar2;
  uint uVar3;
  undefined1 *puVar4;
  code *pcVar5;
  char *pcVar6;
  char cVar14;
  undefined1 *puVar7;
  undefined1 *puVar8;
  undefined4 uVar9;
  uint uVar10;
  int iVar11;
  undefined4 uVar12;
  undefined4 *puVar13;
  int iVar15;
  bool bVar16;
  int iVar17;
  int iVar18;
  int *piVar19;
  int iVar20;
  int iVar21;
  int iVar22;
  undefined *puVar23;
  int local_c8;
  uint local_c4;
  char *local_c0;
  uint local_b0;
  int local_a8;
  int local_5c;
  int local_58 [6];
  undefined1 local_40;
  undefined1 local_3f;
  undefined1 local_3e;
  int local_3c [5];
  
  local_3c[4] = *(int *)PTR___stack_chk_guard_0015858c;
  uVar3 = 0;
  if (param_2 == (undefined4 *)0x0) goto LAB_0011f678;
  if (*PTR_history_expansion_char_00156fcc == '\0') {
    iVar22 = (*(code *)PTR_strlen_00158444)();
    uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);
    uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);
    *param_2 = uVar12;
    uVar3 = 0;
    goto LAB_0011f678;
  }
  puVar4 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(0x100);
  *puVar4 = 0;
  local_c8 = (*(code *)PTR_strlen_00158444)(param_1);
  if (*param_1 != *PTR_history_subst_char_00156fd0) {
    local_58[2] = 0;
    local_58[3] = 0;
    uVar3 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);
    local_5c = 0;
    pcVar6 = param_1;
    if ((*(int *)PTR_history_quoting_state_001569a0 == 0x27) &&
       (*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0)) {
      FUN_0011c170(param_1,&local_5c,0);
      if (param_1[local_5c] == '\0') goto LAB_0011d994;
      local_5c = local_5c + 1;
    }
    puVar2 = PTR_history_quotes_inhibit_expansion_00157524;
    puVar23 = PTR_history_comment_char_00156f80;
    if (param_1[local_5c] != '\0') {
      pcVar5 = (code *)(PTR_LAB_0015657c + -0x3e90);
      do {
        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();
        if ((uVar10 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {
LAB_0011f800:
          iVar22 = local_5c;
          iVar20 = (int)(param_1 + local_5c)[1];
          if (((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11))
          {
            iVar11 = (int)param_1[local_5c];
            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;
            if (iVar11 != iVar15) {
              if (uVar3 == 0) goto LAB_0011f844;
LAB_0011f788:
              if (iVar11 == 0x5c) {
                if (iVar20 == 0x22) {
                  local_5c = local_5c + 1;
                }
                else {
                  iVar18 = *(int *)puVar2;
                  if (iVar18 != 0) goto LAB_0011f7a4;
                }
              }
              else {
                iVar18 = *(int *)puVar2;
                if (iVar18 != 0) {
                  if (iVar11 == 0x22) {
LAB_0011da74:
                    uVar3 = 1 - uVar3;
                  }
                  else {
LAB_0011f7a4:
                    if (uVar3 == 0) goto LAB_0011f858;
                    if (iVar18 != 0) goto LAB_0011f7b4;
                  }
                }
              }
              goto LAB_0011f7c0;
            }
          }
          else if (uVar3 == 0) {
            if ((local_5c == 0) ||
               ((param_1[local_5c + -1] != '\0' &&
                (iVar11 = (*(code *)PTR_strchr_0015844c)
                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),
                iVar11 != 0)))) goto LAB_0011da2c;
            iVar11 = (int)param_1[iVar22];
            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;
            if (iVar11 != iVar15) {
LAB_0011f844:
              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;
              if (iVar11 == 0x22) goto LAB_0011da74;
LAB_0011f858:
              if (iVar11 == 0x27) {
                if (iVar22 < 1) {
                  bVar16 = false;
                }
                else {
                  bVar16 = param_1[iVar22 + -1] == '$';
                }
                local_5c = iVar22 + 1;
                (*pcVar5)(param_1,&local_5c,bVar16);
                uVar3 = 0;
              }
              else {
LAB_0011f7b4:
                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {
                  local_5c = iVar22 + 1;
                }
              }
              goto LAB_0011f7c0;
            }
          }
          else {
            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;
            if (iVar11 != iVar15) goto LAB_0011f788;
          }
          if (((iVar20 != 0) &&
              (iVar11 = (*(code *)PTR_strchr_0015844c)
                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),
              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22)))) {
            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)
            goto LAB_0011d9ac;
            iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);
            if (iVar22 == 0) break;
          }
        }
        else {
          iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2);
          if (iVar22 < 2) goto LAB_0011f800;
          local_5c = local_5c + iVar22 + -1;
        }
LAB_0011f7c0:
        local_5c = local_5c + 1;
      } while (param_1[local_5c] != '\0');
    }
    goto LAB_0011d994;
  }
  pcVar6 = (char *)(*(code *)PTR_xmalloc_001565b8)(local_c8 + 5);
  cVar1 = *PTR_history_expansion_char_00156fcc;
  pcVar6[1] = cVar1;
  *pcVar6 = cVar1;
  pcVar6[2] = ':';
  pcVar6[3] = 's';
  (*(code *)PTR_strcpy_001584cc)(pcVar6 + 4,param_1);
  local_c8 = local_c8 + 4;
  goto LAB_0011d9ac;
LAB_0011da2c:
  do {
    local_5c = iVar22 + 1;
    iVar22 = local_5c;
  } while (param_1[local_5c] != '\0');
LAB_0011d994:
  if (param_1[local_5c] != *PTR_history_expansion_char_00156fcc) {
    (*(code *)PTR_xfree_00156bb4)(puVar4);
    iVar22 = (*(code *)PTR_strlen_00158444)(param_1);
    uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);
    uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);
    *param_2 = uVar12;
    uVar3 = 0;
    goto LAB_0011f678;
  }
LAB_0011d9ac:
  local_c4 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);
  local_5c = 0;
  if (*(int *)PTR_history_quoting_state_001569a0 == 0x27) {
    iVar22 = 0x100;
    if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {
      local_b0 = 1;
      iVar11 = 0;
    }
    else {
      FUN_0011c170(pcVar6,&local_5c,0);
      if (local_5c < 1) {
        if (pcVar6[local_5c] == '\0') {
          iVar22 = 0x100;
          local_b0 = 0;
          iVar11 = 0;
        }
        else {
          iVar20 = 0;
          iVar22 = 0x100;
LAB_0011dbe0:
          iVar11 = iVar20 + 1;
          puVar4[iVar20] = pcVar6[local_5c];
          puVar4[iVar11] = 0;
          local_5c = local_5c + 1;
          local_b0 = 0;
        }
      }
      else {
        iVar22 = 0x100;
        iVar20 = 0;
        while( true ) {
          iVar11 = iVar20 + 1;
          puVar4[iVar20] = pcVar6[iVar20];
          puVar4[iVar11] = 0;
          if (local_5c <= iVar11) break;
          iVar20 = iVar11;
          if (iVar22 + -1 <= iVar11) {
            iVar22 = iVar22 + 0x40;
            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);
          }
        }
        if (pcVar6[local_5c] != '\0') {
          iVar20 = iVar11;
          if (iVar22 + -1 <= iVar11) {
            iVar22 = iVar22 + 0x40;
            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);
          }
          goto LAB_0011dbe0;
        }
        local_b0 = 0;
      }
    }
  }
  else {
    iVar22 = 0x100;
    local_b0 = 0;
    iVar11 = 0;
  }
  puVar2 = PTR_DAT_001565b0;
  puVar23 = PTR_DAT_0015656c;
  if (local_5c < local_c8) {
    local_a8 = 0;
    uVar3 = 0;
    do {
      cVar1 = pcVar6[local_5c];
      if (uVar3 == 0) {
        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();
        if ((1 < uVar10) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {
          local_3c[0] = 0;
          local_3c[1] = 0;
          local_3c[2] = 0;
          local_3c[3] = 0;
          piVar19 = local_3c;
          cVar14 = cVar1;
          do {
            *(char *)piVar19 = cVar14;
            local_58[2] = 0;
            local_58[3] = 0;
            iVar20 = _rl_get_char_len(local_3c,local_58 + 2);
            if (iVar20 != -2) break;
            local_5c = local_5c + 1;
            piVar19 = (int *)((int)piVar19 + 1);
            cVar14 = pcVar6[local_5c];
          } while (local_3c + 4 != piVar19);
          uVar10 = (*(code *)PTR_strlen_00158444)(local_3c);
          if (1 < uVar10) {
            iVar20 = iVar11 + uVar10;
            iVar11 = iVar22;
            if (iVar22 <= iVar20) {
              do {
                iVar11 = iVar11 + 0x80;
              } while (iVar11 <= iVar20);
              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);
              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);
            }
            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);
            uVar3 = 0;
            goto LAB_0011dc80;
          }
        }
        iVar20 = local_5c;
        if (*PTR_history_expansion_char_00156fcc == cVar1) {
LAB_0011e340:
          iVar15 = (int)pcVar6[local_5c + 1];
          if ((((iVar15 != 0) &&
               (iVar18 = (*(code *)PTR_strchr_0015844c)
                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),
               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&
             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||
              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),
              iVar20 == 0)))) {
            iVar20 = local_5c;
            uVar12 = 0x27;
            if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {
              uVar12 = 0;
            }
            local_58[4] = 0;
            local_58[5] = 0;
            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);
            local_58[0] = iVar20;
            iVar15 = (int)pcVar6[iVar20 + 1];
            if (iVar15 == 0) {
LAB_0011e654:
              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);
              iVar18 = local_58[0];
            }
            else {
              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);
              if (iVar18 == 0) {
                puVar7 = puVar4;
                iVar18 = iVar20 + 2;
                if (iVar15 != 0x23) goto LAB_0011e654;
              }
              else {
                local_58[1] = 0;
                local_40 = *PTR_history_expansion_char_00156fcc;
                local_3e = 0;
                local_58[0] = iVar20 + 1;
                local_3f = local_40;
                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);
                iVar18 = local_58[0];
              }
            }
            local_58[0] = iVar18;
            iVar15 = local_58[0];
            if (puVar7 == (undefined1 *)0x0) {
              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);
              (*(code *)PTR_xfree_00156bb4)(local_c0);
            }
            else {
              iVar20 = local_58[0] + 1;
              if (pcVar6[local_58[0]] != ':') {
                iVar20 = local_58[0];
              }
              iVar18 = (int)pcVar6[iVar20];
              if (iVar18 == 0x25) {
                local_58[0] = iVar20 + 1;
                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {
                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);
                  *puVar8 = 0;
                }
                else {
                  iVar20 = (*(code *)PTR_strlen_00158444)();
                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);
                  puVar8 = (undefined1 *)
                           (*(code *)PTR_strcpy_001584cc)
                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));
                }
LAB_0011e5b8:
                if (puVar8 != puVar23 + -0x336c) {
LAB_0011e5c8:
                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);
                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);
                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);
                  (*(code *)PTR_free_001585ac)(puVar8);
LAB_0011e61c:
                  if (pcVar6[local_58[0]] != ':') {
                    local_58[0] = local_58[0] + -1;
                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);
                    if (0x7f < iVar20) {
                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);
                    }
                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);
                    (*(code *)PTR_xfree_00156bb4)(uVar9);
                    iVar20 = local_58[0];
                    local_a8 = local_a8 + 1;
                    if (*local_c0 != '\0') {
                      iVar18 = (*(code *)PTR_strlen_00158444)();
                      iVar11 = iVar11 + iVar18;
                      iVar15 = iVar22;
                      if (iVar22 <= iVar11) {
                        do {
                          iVar15 = iVar15 + 0x80;
                        } while (iVar15 <= iVar11);
                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);
                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);
                      }
                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);
                    }
                    (*(code *)PTR_xfree_00156bb4)(local_c0);
                    local_5c = iVar20;
                    iVar20 = iVar11;
                    goto LAB_0011dc80;
                  }
                  iVar22 = (int)pcVar6[local_58[0] + 1];
                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {
                    iVar22 = (int)pcVar6[local_58[0] + 2];
                    local_58[0] = local_58[0] + 1;
                  }
                  else if (iVar22 == 0x47) {
                    iVar22 = (int)pcVar6[local_58[0] + 2];
                    local_58[0] = local_58[0] + 1;
                  }
                  if ((iVar22 - 0x26U & 0xff) < 0x53) {
                    /* WARNING: Could not emulate address calculation at 0x0011e968 */
                    /* WARNING: Treating indirect jump as call */
                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +
                                                                  0x484)))();
                    return uVar3;
                  }
                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);
                  (*(code *)PTR_xfree_00156bb4)(local_c0);
                  (*(code *)PTR_xfree_00156bb4)(uVar9);
                  goto LAB_0011e9e8;
                }
              }
              else {
                if (iVar18 == 0x2a) {
                  local_58[0] = iVar20 + 1;
                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);
                  if (puVar8 == (undefined1 *)0x0) {
                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);
                    *puVar8 = 0;
                  }
                  goto LAB_0011e5b8;
                }
                if (iVar18 == 0x24) {
                  local_58[0] = iVar20 + 1;
                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);
                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;
                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;
LAB_0011e7cc:
                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);
                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);
                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);
                  goto LAB_0011e61c;
                }
                if (iVar18 == 0x2d) {
                  iVar21 = 0;
LAB_0011e8ac:
                  local_58[0] = iVar20 + 1;
                  iVar17 = (int)pcVar6[local_58[0]];
                  if ((iVar17 - 0x30U & 0xff) < 10) {
                    iVar18 = 0;
                    do {
                      iVar18 = iVar17 + -0x30 + iVar18 * 10;
                      local_58[0] = local_58[0] + 1;
                      iVar17 = (int)pcVar6[local_58[0]];
                      bVar16 = iVar18 < iVar21;
                    } while ((iVar17 - 0x30U & 0xff) < 10);
                    goto LAB_0011e840;
                  }
                  if (iVar17 == 0x24) {
                    local_58[0] = iVar20 + 2;
                    iVar18 = 0x24;
                    goto LAB_0011e83c;
                  }
                  iVar18 = -1;
                }
                else {
                  if (iVar18 == 0x5e) {
                    iVar20 = iVar20 + 1;
                    iVar21 = 1;
                  }
                  else {
                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))
                    goto LAB_0011e7cc;
                    iVar21 = 0;
                    do {
                      iVar21 = iVar18 + -0x30 + iVar21 * 10;
                      iVar20 = iVar20 + 1;
                      iVar18 = (int)pcVar6[iVar20];
                    } while ((iVar18 - 0x30U & 0xff) < 10);
                  }
                  cVar1 = pcVar6[iVar20];
                  if (cVar1 == '^') {
                    iVar18 = 1;
                  }
                  else {
                    if (cVar1 != '*') {
                      iVar18 = iVar21;
                      local_58[0] = iVar20;
                      if (cVar1 == '-') goto LAB_0011e8ac;
                      goto LAB_0011e5a4;
                    }
                    iVar18 = 0x24;
                  }
                  local_58[0] = iVar20 + 1;
LAB_0011e83c:
                  bVar16 = iVar18 < iVar21;
LAB_0011e840:
                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;
                }
LAB_0011e5a4:
                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);
                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;
              }
LAB_0011e864:
              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);
              (*(code *)PTR_xfree_00156bb4)(local_c0);
            }
LAB_0011e9e8:
            *param_2 = uVar12;
            (*(code *)PTR_xfree_00156bb4)(puVar4);
            if (pcVar6 == param_1) {
              uVar3 = 0xffffffff;
            }
            else {
              (*(code *)PTR_xfree_00156bb4)(pcVar6);
              uVar3 = 0xffffffff;
            }
            goto LAB_0011f678;
          }
          if (iVar22 + -1 <= iVar11) {
            iVar22 = iVar22 + 0x40;
            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);
          }
          puVar4[iVar11] = pcVar6[local_5c];
          puVar4[iVar11 + 1] = 0;
          iVar20 = iVar11 + 1;
        }
        else if (*PTR_history_comment_char_00156f80 == cVar1) {
LAB_0011de7c:
          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&
             ((local_5c == 0 ||
              ((pcVar6[local_5c + -1] != '\0' &&
               (iVar15 = (*(code *)PTR_strchr_0015844c)
                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),
               iVar15 != 0)))))) {
            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);
            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);
            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);
            iVar20 = iVar11 + iVar15;
            iVar11 = iVar22;
            if (iVar22 <= iVar20) {
              do {
                iVar11 = iVar11 + 0x80;
              } while (iVar11 <= iVar20);
              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);
              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);
            }
            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);
            (*(code *)PTR_xfree_00156bb4)(uVar12);
            local_5c = local_c8;
          }
          else {
            if (iVar22 + -1 <= iVar11) {
              iVar22 = iVar22 + 0x40;
              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);
            }
            puVar4[iVar11] = pcVar6[local_5c];
            puVar4[iVar11 + 1] = 0;
            iVar20 = iVar11 + 1;
          }
        }
        else if (cVar1 == '\"') {
          local_c4 = 1 - local_c4;
          if (iVar22 + -1 <= iVar11) {
            iVar22 = iVar22 + 0x40;
            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);
          }
          iVar20 = iVar11 + 1;
          puVar4[iVar11] = 0x22;
          puVar4[iVar20] = 0;
        }
        else if (cVar1 < '#') {
          if (cVar1 == -3) goto LAB_0011e340;
          if (cVar1 == -2) goto LAB_0011de7c;
LAB_0011df70:
          if (iVar22 + -1 <= iVar11) {
            iVar22 = iVar22 + 0x40;
            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);
          }
          puVar4[iVar11] = pcVar6[local_5c];
          puVar4[iVar11 + 1] = 0;
          iVar20 = iVar11 + 1;
        }
        else if (cVar1 == '\'') {
          if (local_b0 == 0) {
            if (local_c4 == 0) {
              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {
                if (iVar22 + -1 <= iVar11) {
                  iVar22 = iVar22 + 0x40;
                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);
                }
                puVar4[iVar11] = pcVar6[local_5c];
                puVar4[iVar11 + 1] = 0;
                local_b0 = 1;
                uVar3 = 0;
                iVar20 = iVar11 + 1;
                local_c4 = uVar3;
              }
              else {
                if (local_5c < 1) {
                  bVar16 = false;
                }
                else {
                  bVar16 = pcVar6[local_5c + -1] == '$';
                }
                local_5c = local_5c + 1;
                FUN_0011c170(pcVar6,&local_5c,bVar16);
                iVar18 = local_5c - iVar20;
                iVar21 = iVar18 + 2;
                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);
                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);
                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;
                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);
                iVar20 = iVar11 + iVar18;
                iVar11 = iVar22;
                if (iVar22 <= iVar20) {
                  do {
                    iVar11 = iVar11 + 0x80;
                  } while (iVar11 <= iVar20);
                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;
                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);
                }
                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);
                (*(code *)PTR_xfree_00156bb4)(iVar15);
                local_b0 = local_c4;
                uVar3 = local_c4;
              }
            }
            else {
              if (iVar22 + -1 <= iVar11) {
                iVar22 = iVar22 + 0x40;
                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);
              }
              puVar4[iVar11] = pcVar6[local_5c];
              puVar4[iVar11 + 1] = 0;
              uVar3 = local_b0;
              iVar20 = iVar11 + 1;
            }
          }
          else {
            if (iVar22 + -1 <= iVar11) {
              iVar22 = iVar22 + 0x40;
              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);
            }
            puVar4[iVar11] = 0x27;
            puVar4[iVar11 + 1] = 0;
            iVar20 = iVar11 + 1;
            local_b0 = uVar3;
          }
        }
        else {
          if (cVar1 != '\\') goto LAB_0011df70;
          if (iVar22 + -1 <= iVar11) {
            iVar22 = iVar22 + 0x40;
            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);
          }
          puVar4[iVar11] = 0x5c;
          puVar4[iVar11 + 1] = 0;
          uVar3 = 1;
          iVar20 = iVar11 + 1;
        }
      }
      else {
        if (iVar22 + -1 <= iVar11) {
          iVar22 = iVar22 + 0x40;
          puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);
        }
        puVar4[iVar11] = cVar1;
        puVar4[iVar11 + 1] = 0;
        uVar3 = 0;
        iVar20 = iVar11 + 1;
      }
LAB_0011dc80:
      local_5c = local_5c + 1;
      iVar11 = iVar20;
    } while (local_5c < local_c8);
    *param_2 = puVar4;
    if (pcVar6 != param_1) {
LAB_0011f650:
      (*(code *)PTR_xfree_00156bb4)(pcVar6);
    }
  }
  else {
    *param_2 = puVar4;
    if (pcVar6 != param_1) {
      local_a8 = 0;
      goto LAB_0011f650;
    }
    local_a8 = 0;
  }
  uVar3 = (uint)(local_a8 != 0);
LAB_0011f678:
  if (local_3c[4] == *(int *)PTR___stack_chk_guard_0015858c) {
    return uVar3;
  }
  iVar22 = local_3c[4];
  puVar23 = PTR___stack_chk_fail_0015853c;
  (*(code *)PTR___stack_chk_fail_0015853c)();
  if (iVar22 == 0) {
    iVar22 = (**(code **)(puVar23 + 0x384f4))(*(int *)(puVar23 + 0x36ccc) + 0x66e4);
    if (iVar22 == 0) {
      uVar3 = 0;
    }
    else {
      iVar20 = (**(code **)(puVar23 + 0x38b94))(iVar22);
      uVar3 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 10);
      (**(code **)(puVar23 + 0x38c1c))(uVar3,iVar22);
      *(undefined1 *)(uVar3 + iVar20) = 0x2f;
      puVar13 = (undefined4 *)(uVar3 + iVar20 + 1);
      iVar22 = *(int *)(puVar23 + 0x36d00);
      uVar12 = *(undefined4 *)(iVar22 + 0x5d4);
      *puVar13 = *(undefined4 *)(iVar22 + 0x5d0);
      puVar13[1] = uVar12;
      *(undefined1 *)(puVar13 + 2) = *(undefined1 *)(iVar22 + 0x5d8);
    }
  }
  else {
    iVar20 = (**(code **)(puVar23 + 0x38b94))();
    uVar12 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 1);
    uVar3 = (**(code **)(puVar23 + 0x38c1c))(uVar12,iVar22);
  }
  return uVar3;
}


lui gp,0x4
addiu gp,gp,0xe84
addu gp,gp,t9
addiu sp,sp,-0xe8
sw ra,0xe4(sp)
sw s8,0xe0(sp)
sw s7,0xdc(sp)
sw s6,0xd8(sp)
sw s5,0xd4(sp)
sw s4,0xd0(sp)
sw s3,0xcc(sp)
sw s2,0xc8(sp)
sw s1,0xc4(sp)
sw s0,0xc0(sp)
sw gp,0x18(sp)
sw a1,0x2c(sp)
lw v0,-0x5fb4(gp)
lw v0,0x0(v0)
sw v0,0xbc(sp)
beq a1,zero,0x0011f678
_or v0,zero,zero
lw v0,-0x7574(gp)
lb v0,0x0(v0)
beq v0,zero,0x0011d7b8
_or s3,a0,zero
li a0,0x100
lw t9,-0x7f88(gp)
jalr t9
_nop
lw gp,0x18(sp)
or s6,v0,zero
sb zero,0x0(v0)
or a0,s3,zero
lw t9,-0x60fc(gp)
jalr t9
_nop
lw gp,0x18(sp)
or s0,v0,zero
sw v0,0x20(sp)
lb v1,0x0(s3)
lw v0,-0x7570(gp)
lb v0,0x0(v0)
beq v1,v0,0x0011d804
_lw v0,-0x7ba0(gp)
sw zero,0x98(sp)
sw zero,0x9c(sp)
lw v0,0x0(v0)
xori v1,v0,0x22
sltiu s8,v1,0x1
li v1,0x27
beq v0,v1,0x0011d860
_sw zero,0x8c(sp)
lw v0,0x8c(sp)
addu v0,s3,v0
lb v0,0x0(v0)
beq v0,zero,0x0011d990
_lw v0,-0x7fc4(gp)
lw s4,-0x75c0(gp)
lw s5,-0x701c(gp)
addiu s7,sp,0x8c
addiu v0,v0,-0x3e90
b 0x0011f7d8
_sw v0,0x24(sp)
lw t9,-0x60fc(gp)
jalr t9
_nop
lw gp,0x18(sp)
addiu a0,v0,0x1
lw t9,-0x7f88(gp)
jalr t9
_nop
lw gp,0x18(sp)
or a1,s3,zero
or a0,v0,zero
lw t9,-0x6074(gp)
jalr t9
_nop
lw gp,0x18(sp)
lw v1,0x2c(sp)
sw v0,0x0(v1)
b 0x0011f678
_or v0,zero,zero
addiu a0,s0,0x5
lw t9,-0x7f88(gp)
jalr t9
_nop
lw gp,0x18(sp)
or s4,v0,zero
lw v0,-0x7574(gp)
lb v0,0x0(v0)
sb v0,0x1(s4)
sb v0,0x0(s4)
li v0,0x3a
sb v0,0x2(s4)
li v0,0x73
sb v0,0x3(s4)
or a1,s3,zero
addiu a0,s4,0x4
lw t9,-0x6074(gp)
jalr t9
_nop
lw gp,0x18(sp)
addiu v0,s0,0x4
b 0x0011d9ac
_sw v0,0x20(sp)
lw v0,-0x701c(gp)
lw v0,0x0(v0)
beq v0,zero,0x0011d790
_lw v0,0x8c(sp)
or a2,zero,zero
addiu a1,sp,0x8c
or a0,s3,zero
lw t9,-0x7fc4(gp)
addiu t9,t9,-0x3e90
bal 0x0011c170
_nop
lw gp,0x18(sp)
lw v0,0x8c(sp)
addu v1,s3,v0
lb v1,0x0(v1)
beq v1,zero,0x0011d994
_nop
addiu v0,v0,0x1
b 0x0011d78c
_sw v0,0x8c(sp)
lw a0,0x8c(sp)
addu a0,s3,a0
lw t9,-0x65b4(gp)
bal 0x00121844
_nop
lw gp,0x18(sp)
slti v1,v0,0x2
bne v1,zero,0x0011f800
_addiu v0,v0,-0x1
lw v1,0x8c(sp)
addu v0,v1,v0
b 0x0011f7bc
_sw v0,0x8c(sp)
bne s8,zero,0x0011f77c
_lw v1,-0x7574(gp)
beq s0,zero,0x0011da28
_addu v0,s3,s0
lb a1,-0x1(v0)
beq a1,zero,0x0011d91c
_lw t9,-0x60f4(gp)
lw v0,-0x62e4(gp)
lw a0,0x0(v0)
jalr t9
_nop
lw gp,0x18(sp)
bne v0,zero,0x0011da28
_addu v0,s3,s0
lb v0,0x0(v0)
lw v1,-0x7574(gp)
lb v1,0x0(v1)
bne v0,v1,0x0011f844
_nop
beq s2,zero,0x0011f7bc
_or a1,s1,zero
lw v0,-0x62e0(gp)
lw a0,0x0(v0)
lw t9,-0x60f4(gp)
jalr t9
_nop
lw gp,0x18(sp)
bne v0,zero,0x0011f7c0
_lw v0,0x8c(sp)
beq s8,zero,0x0011d96c
_lw v0,-0x7014(gp)
li v0,0x22
beq s2,v0,0x0011f7bc
_lw v0,-0x7014(gp)
lw t9,0x0(v0)
beq t9,zero,0x0011db08
_or a1,s0,zero
or a0,s3,zero
jalr t9
_nop
lw gp,0x18(sp)
bne v0,zero,0x0011f7c0
_lw v0,0x8c(sp)
lw v0,0x8c(sp)
addu v0,s3,v0
lb v1,0x0(v0)
lw v0,-0x7574(gp)
lb v0,0x0(v0)
bne v1,v0,0x0011daa4
_or s4,s3,zero
lw v0,-0x7ba0(gp)
lw v0,0x0(v0)
xori v1,v0,0x22
sltiu v1,v1,0x1
sw v1,0x24(sp)
li v1,0x27
beq v0,v1,0x0011db10
_sw zero,0x8c(sp)
li s7,0x100
sw zero,0x38(sp)
or s8,zero,zero
lw v0,0x8c(sp)
lw v1,0x20(sp)
slt v1,v0,v1
beq v1,zero,0x0011f6c0
_or a0,zero,zero
sw zero,0x34(sp)
sw zero,0x40(sp)
lw v1,-0x7fd4(gp)
sw v1,0x48(sp)
lw v1,-0x7f90(gp)
addiu v1,v1,0x484
sw v1,0x30(sp)
lw v1,-0x7fc4(gp)
addiu v1,v1,-0x3cd4
sw v1,0x4c(sp)
sw s3,0x3c(sp)
or s3,s7,zero
or s7,s6,zero
b 0x0011dc9c
_or s6,a0,zero
addiu s0,s0,0x1
or v1,s0,zero
addiu s0,s0,0x1
addu v0,s3,s0
lb v0,-0x1(v0)
bne v0,zero,0x0011da2c
_nop
b 0x0011d990
_sw v1,0x8c(sp)
beq s2,a0,0x0011da68
_nop
lw a0,0x0(s5)
beq a0,zero,0x0011f7bc
_nop
b 0x0011f7a4
_nop
addiu s0,s0,0x1
b 0x0011f7bc
_sw s0,0x8c(sp)
li v0,0x1
b 0x0011f7bc
_subu s8,v0,s8
b 0x0011f878
_or a2,zero,zero
beq s2,v0,0x0011da98
_nop
bne s1,v1,0x0011f7c0
_lw v0,0x8c(sp)
addiu s0,s0,0x1
b 0x0011f7bc
_sw s0,0x8c(sp)
or a0,s6,zero
lw t9,-0x798c(gp)
jalr t9
_nop
lw gp,0x18(sp)
or a0,s3,zero
lw t9,-0x60fc(gp)
jalr t9
_nop
lw gp,0x18(sp)
addiu a0,v0,0x1
lw t9,-0x7f88(gp)
jalr t9
_nop
lw gp,0x18(sp)
or a1,s3,zero
or a0,v0,zero
lw t9,-0x6074(gp)
jalr t9
_nop
lw gp,0x18(sp)
lw v1,0x2c(sp)
sw v0,0x0(v1)
b 0x0011f678
_or v0,zero,zero
b 0x0011d9ac
_or s4,s3,zero
lw v0,-0x701c(gp)
lw s8,0x0(v0)
bne s8,zero,0x0011db2c
_li s7,0x100
li v0,0x1
b 0x0011d9d8
_sw v0,0x38(sp)
or a2,zero,zero
addiu a1,sp,0x8c
or a0,s4,zero
lw t9,-0x7fc4(gp)
addiu t9,t9,-0x3e90
bal 0x0011c170
_nop
lw gp,0x18(sp)
lw v0,0x8c(sp)
blez v0,0x0011f75c
_or s8,zero,zero
li s7,0x100
b 0x0011db7c
_or a0,s6,zero
or a1,s7,zero
lw t9,-0x7e04(gp)
jalr t9
_nop
lw gp,0x18(sp)
or a0,v0,zero
or v1,s8,zero
addiu s8,s8,0x1
addu v0,s4,s8
lb v0,-0x1(v0)
addu v1,a0,v1
sb v0,0x0(v1)
addu v0,a0,s8
sb zero,0x0(v0)
lw v0,0x8c(sp)
slt v1,s8,v0
beq v1,zero,0x0011dbc0
_addiu v1,s7,-0x1
slt v1,s8,v1
bne v1,zero,0x0011db80
_or v1,s8,zero
b 0x0011db64
_addiu s7,s7,0x40
addu v0,s4,v0
lb v0,0x0(v0)
beq v0,zero,0x0011dc40
_or s6,a0,zero
addiu v0,s7,-0x1
slt v0,s8,v0
beq v0,zero,0x0011dc18
_lw t9,-0x7e04(gp)
addiu v1,s8,0x1
lw v0,0x8c(sp)
addu v0,s4,v0
lb a0,0x0(v0)
addu v0,s6,s8
sb a0,0x0(v0)
addu v0,s6,v1
sb zero,0x0(v0)
lw v0,0x8c(sp)
addiu v0,v0,0x1
sw v0,0x8c(sp)
or s8,v1,zero
b 0x0011d9d8
_sw zero,0x38(sp)
addiu s7,s7,0x40
or a1,s7,zero
jalr t9
_nop
lw gp,0x18(sp)
b 0x0011dbe0
_or s6,v0,zero
or s8,zero,zero
b 0x0011dbe0
_li s7,0x100
b 0x0011d9d8
_sw zero,0x38(sp)
or a1,s3,zero
or a0,s7,zero
lw t9,-0x7e04(gp)
jalr t9
_nop
lw gp,0x18(sp)
or s7,v0,zero
addiu v0,s8,0x1
addu s8,s7,s8
sb s0,0x0(s8)
addu v1,s7,v0
sb zero,0x0(v1)
or s8,v0,zero
or s6,zero,zero
lw v0,0x8c(sp)
addiu v0,v0,0x1
sw v0,0x8c(sp)
lw v1,0x20(sp)
slt v1,v0,v1
beq v1,zero,0x0011f640
_nop
addu v0,s4,v0
beq s6,zero,0x0011dcc0
_lb s0,0x0(v0)
addiu v0,s3,-0x1
slt v0,s8,v0
bne v0,zero,0x0011dc68
_addiu v0,s8,0x1
b 0x0011dc48
_addiu s3,s3,0x40
lw t9,-0x6060(gp)
jalr t9
_nop
lw gp,0x18(sp)
sltiu v0,v0,0x2
bne v0,zero,0x0011dce8
_lw v0,-0x6728(gp)
lw v0,0x0(v0)
beq v0,zero,0x0011dd58
_sw v0,0x28(sp)
lw v0,-0x7574(gp)
lb v0,0x0(v0)
beq v0,s0,0x0011e340
_lw v0,-0x75c0(gp)
lb v0,0x0(v0)
beq v0,s0,0x0011de7c
_li v0,0x22
beq s0,v0,0x0011dfe4
_slti v0,s0,0x23
bne v0,zero,0x0011de6c
_li v0,-0x3
li v0,0x27
beq s0,v0,0x0011e044
_li v0,0x5c
bne s0,v0,0x0011df70
_addiu v0,s3,-0x1
slt v0,s8,v0
beq v0,zero,0x0011dfc4
_or a0,s7,zero
addiu v0,s8,0x1
addu s8,s7,s8
li v1,0x5c
sb v1,0x0(s8)
addu v1,s7,v0
sb zero,0x0(v1)
or s8,v0,zero
b 0x0011dc80
_li s6,0x1
or v0,s0,zero
sw zero,0xac(sp)
addiu s1,sp,0xac
sw zero,0xb0(sp)
sw zero,0xb4(sp)
sw zero,0xb8(sp)
addiu v1,sp,0xbc
addiu s2,sp,0x98
or s5,s1,zero
sw s0,0x44(sp)
or s0,v1,zero
sb v0,0x0(s1)
sw zero,0x0(s2)
sw zero,0x4(s2)
or a1,s2,zero
or a0,s5,zero
lw t9,-0x65b4(gp)
bal 0x00121844
_nop
lw gp,0x18(sp)
li v1,-0x2
bne v0,v1,0x0011ddcc
_lw v0,0x8c(sp)
addiu v0,v0,0x1
sw v0,0x8c(sp)
addu v0,s4,v0
addiu s1,s1,0x1
bne s0,s1,0x0011dd84
_lb v0,0x0(v0)
lw s0,0x44(sp)
addiu a0,sp,0xac
lw t9,-0x60fc(gp)
jalr t9
_nop
lw gp,0x18(sp)
or s1,v0,zero
sltiu v0,v0,0x2
bne v0,zero,0x0011dcec
_lw v0,-0x7574(gp)
addu s8,s8,s1
slt v0,s8,s3
beq v0,zero,0x0011de28
_or v0,s3,zero
subu a0,s8,s1
addiu a1,sp,0xac
addu a0,s7,a0
lw t9,-0x6074(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x0011dc80
_lw s6,0x28(sp)
addiu v0,v0,0x80
slt v1,s8,v0
beq v1,zero,0x0011de2c
_addiu v0,v0,0x80
addiu v1,s3,0x80
subu v0,s8,s3
srl v0,v0,0x7
sll v0,v0,0x7
addu s3,v1,v0
or a1,s3,zero
or a0,s7,zero
lw t9,-0x7e04(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x0011de04
_or s7,v0,zero
beq s0,v0,0x0011e340
_li v0,-0x2
bne s0,v0,0x0011df70
_addiu v0,s3,-0x1
lw v0,0x24(sp)
beq v0,zero,0x0011de9c
_lw s0,0x8c(sp)
lw v0,-0x701c(gp)
lw v0,0x0(v0)
bne v0,zero,0x0011e2ec
_addiu v0,s3,-0x1
lw s0,0x8c(sp)
beq s0,zero,0x0011ded0
_addu v0,s4,s0
lb a1,-0x1(v0)
beq a1,zero,0x0011e2ec
_addiu v0,s3,-0x1
lw v0,-0x62e4(gp)
lw a0,0x0(v0)
lw t9,-0x60f4(gp)
jalr t9
_nop
lw gp,0x18(sp)
beq v0,zero,0x0011e2ec
_addiu v0,s3,-0x1
lw v0,0x20(sp)
subu a0,v0,s0
addiu a0,a0,0x1
lw t9,-0x7f88(gp)
jalr t9
_nop
lw gp,0x18(sp)
or s0,v0,zero
lw a1,0x8c(sp)
addu a1,s4,a1
or a0,v0,zero
lw t9,-0x6074(gp)
jalr t9
_nop
lw gp,0x18(sp)
or a0,s0,zero
lw t9,-0x60fc(gp)
jalr t9
_nop
lw gp,0x18(sp)
or s1,v0,zero
addu s8,s8,v0
slt v0,s8,s3
beq v0,zero,0x0011e2a8
_or v0,s3,zero
subu a0,s8,s1
or a1,s0,zero
addu a0,s7,a0
lw t9,-0x6074(gp)
jalr t9
_nop
lw gp,0x18(sp)
or a0,s0,zero
lw t9,-0x798c(gp)
jalr t9
_nop
lw gp,0x18(sp)
lw v0,0x20(sp)
b 0x0011dc80
_sw v0,0x8c(sp)
slt v0,s8,v0
beq v0,zero,0x0011dfa4
_or a0,s7,zero
addiu v1,s8,0x1
lw v0,0x8c(sp)
addu v0,s4,v0
lb v0,0x0(v0)
addu s8,s7,s8
sb v0,0x0(s8)
addu v0,s7,v1
sb zero,0x0(v0)
b 0x0011dc80
_or s8,v1,zero
addiu s3,s3,0x40
or a1,s3,zero
lw t9,-0x7e04(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x0011df7c
_or s7,v0,zero
addiu s3,s3,0x40
or a1,s3,zero
lw t9,-0x7e04(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x0011dd34
_or s7,v0,zero
li v0,0x1
lw v1,0x24(sp)
subu v0,v0,v1
sw v0,0x24(sp)
addiu v0,s3,-0x1
slt v0,s8,v0
beq v0,zero,0x0011e024
_or a0,s7,zero
addiu v0,s8,0x1
addu s8,s7,s8
li v1,0x22
sb v1,0x0(s8)
addu v1,s7,v0
sb zero,0x0(v1)
b 0x0011dc80
_or s8,v0,zero
addiu s3,s3,0x40
or a1,s3,zero
lw t9,-0x7e04(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x0011e004
_or s7,v0,zero
lw v0,0x38(sp)
beq v0,zero,0x0011e0a4
_lw v0,0x24(sp)
addiu v0,s3,-0x1
slt v0,s8,v0
beq v0,zero,0x0011e084
_or a0,s7,zero
addiu v0,s8,0x1
addu s8,s7,s8
li v1,0x27
sb v1,0x0(s8)
addu v1,s7,v0
sb zero,0x0(v1)
sw s6,0x38(sp)
b 0x0011dc80
_or s8,v0,zero
addiu s3,s3,0x40
or a1,s3,zero
lw t9,-0x7e04(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x0011e060
_or s7,v0,zero
bne v0,zero,0x0011e250
_addiu v0,s3,-0x1
lw v0,-0x701c(gp)
lw s6,0x0(v0)
beq s6,zero,0x0011e1f0
_addiu v0,s3,-0x1
lw s2,0x8c(sp)
blez s2,0x0011e1a4
_addu v0,s4,s2
lb a2,-0x1(v0)
xori a2,a2,0x24
sltiu a2,a2,0x1
addiu v0,s2,0x1
sw v0,0x8c(sp)
addiu a1,sp,0x8c
or a0,s4,zero
lw t9,-0x7fc4(gp)
addiu t9,t9,-0x3e90
bal 0x0011c170
_nop
lw gp,0x18(sp)
lw s0,0x8c(sp)
subu s0,s0,s2
addiu s5,s0,0x2
or a0,s5,zero
lw t9,-0x7f88(gp)
jalr t9
_nop
lw gp,0x18(sp)
or s1,v0,zero
or a2,s5,zero
addu a1,s4,s2
or a0,v0,zero
lw t9,-0x615c(gp)
jalr t9
_nop
lw gp,0x18(sp)
addu s0,s1,s0
sb zero,0x1(s0)
or a0,s1,zero
lw t9,-0x60fc(gp)
jalr t9
_nop
lw gp,0x18(sp)
or s0,v0,zero
addu s8,s8,v0
slt v0,s8,s3
beq v0,zero,0x0011e1ac
_or v0,s3,zero
subu a0,s8,s0
or a1,s1,zero
addu a0,s7,a0
lw t9,-0x6074(gp)
jalr t9
_nop
lw gp,0x18(sp)
or a0,s1,zero
lw t9,-0x798c(gp)
jalr t9
_nop
lw gp,0x18(sp)
lw s6,0x24(sp)
b 0x0011dc80
_sw s6,0x38(sp)
b 0x0011e0d4
_lw a2,0x24(sp)
addiu v0,v0,0x80
slt v1,s8,v0
beq v1,zero,0x0011e1b0
_addiu v0,v0,0x80
addiu v1,s3,0x80
subu v0,s8,s3
srl v0,v0,0x7
sll v0,v0,0x7
addu s3,v0,v1
or a1,s3,zero
or a0,s7,zero
lw t9,-0x7e04(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x0011e168
_or s7,v0,zero
slt v0,s8,v0
beq v0,zero,0x0011e230
_or a0,s7,zero
addiu v1,s8,0x1
lw v0,0x8c(sp)
addu v0,s4,v0
lb v0,0x0(v0)
addu s8,s7,s8
sb v0,0x0(s8)
addu v0,s7,v1
sb zero,0x0(v0)
sw s6,0x24(sp)
or s8,v1,zero
li v0,0x1
b 0x0011dc80
_sw v0,0x38(sp)
addiu s3,s3,0x40
or a1,s3,zero
lw t9,-0x7e04(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x0011e1fc
_or s7,v0,zero
slt v0,s8,v0
beq v0,zero,0x0011e288
_or a0,s7,zero
addiu v1,s8,0x1
lw v0,0x8c(sp)
addu v0,s4,v0
lb v0,0x0(v0)
addu s8,s7,s8
sb v0,0x0(s8)
addu v0,s7,v1
sb zero,0x0(v0)
lw s6,0x38(sp)
b 0x0011dc80
_or s8,v1,zero
addiu s3,s3,0x40
or a1,s3,zero
lw t9,-0x7e04(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x0011e25c
_or s7,v0,zero
addiu v0,v0,0x80
slt v1,s8,v0
beq v1,zero,0x0011e2ac
_addiu v0,v0,0x80
addiu v1,s3,0x80
subu v0,s8,s3
srl v0,v0,0x7
sll v0,v0,0x7
addu s3,v1,v0
or a1,s3,zero
or a0,s7,zero
lw t9,-0x7e04(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x0011df34
_or s7,v0,zero
slt v0,s8,v0
beq v0,zero,0x0011e320
_or a0,s7,zero
addiu v1,s8,0x1
lw v0,0x8c(sp)
addu v0,s4,v0
lb v0,0x0(v0)
addu s8,s7,s8
sb v0,0x0(s8)
addu v0,s7,v1
sb zero,0x0(v0)
b 0x0011dc80
_or s8,v1,zero
addiu s3,s3,0x40
or a1,s3,zero
lw t9,-0x7e04(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x0011e2f8
_or s7,v0,zero
lw s1,0x8c(sp)
addu v0,s4,s1
lb s0,0x1(v0)
beq s0,zero,0x0011e37c
_addiu v0,s3,-0x1
or a1,s0,zero
lw v0,-0x62e0(gp)
lw a0,0x0(v0)
lw t9,-0x60f4(gp)
jalr t9
_nop
lw gp,0x18(sp)
beq v0,zero,0x0011e3b0
_lw v0,0x24(sp)
addiu v0,s3,-0x1
slt v0,s8,v0
beq v0,zero,0x0011e49c
_or a0,s7,zero
addiu v1,s8,0x1
lw v0,0x8c(sp)
addu v0,s4,v0
lb v0,0x0(v0)
addu s8,s7,s8
sb v0,0x0(s8)
addu v0,s7,v1
sb zero,0x0(v0)
b 0x0011dc80
_or s8,v1,zero
beq v0,zero,0x0011e3c4
_lw v0,-0x7014(gp)
li v0,0x22
beq s0,v0,0x0011e378
_lw v0,-0x7014(gp)
lw t9,0x0(v0)
beq t9,zero,0x0011e3e8
_or a1,s1,zero
or a0,s4,zero
jalr t9
_nop
lw gp,0x18(sp)
bne v0,zero,0x0011e37c
_addiu v0,s3,-0x1
lw v0,0x38(sp)
bne v0,zero,0x0011e400
_li s2,0x27
li s2,0x22
lw v0,0x24(sp)
movz s2,v0,v0
lw s0,0x8c(sp)
sw zero,0xa0(sp)
sw zero,0xa4(sp)
li a0,0x80
lw t9,-0x7f88(gp)
jalr t9
_nop
lw gp,0x18(sp)
sw v0,0x28(sp)
sw s0,0x90(sp)
addu v0,s4,s0
lb s1,0x1(v0)
beq s1,zero,0x0011e654
_or a2,s2,zero
or a1,s1,zero
lw a0,-0x7f90(gp)
addiu a0,a0,0x44c
lw t9,-0x60f4(gp)
jalr t9
_nop
lw gp,0x18(sp)
beq v0,zero,0x0011e4bc
_addiu v0,s0,0x1
sw zero,0x94(sp)
sw v0,0x90(sp)
lw v0,-0x7574(gp)
lb v0,0x0(v0)
sb v0,0xa9(sp)
sb v0,0xa8(sp)
sb zero,0xaa(sp)
or a2,zero,zero
addiu a1,sp,0x94
addiu a0,sp,0xa8
lw t9,-0x62dc(gp)
bal 0x0011ccac
_nop
lw gp,0x18(sp)
b 0x0011e4d0
_or s1,v0,zero
addiu s3,s3,0x40
or a1,s3,zero
lw t9,-0x7e04(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x0011e388
_or s7,v0,zero
li v0,0x23
bne s1,v0,0x0011e650
_addiu v0,s0,0x2
sw v0,0x90(sp)
or s1,s7,zero
beq s1,zero,0x0011e674
_lw s2,0x90(sp)
addu v0,s4,s2
lb v1,0x0(v0)
li v0,0x3a
beq v1,v0,0x0011e6bc
_addiu a2,s2,0x1
or a0,s6,zero
or a2,s2,zero
addu v0,s4,a2
lb v0,0x0(v0)
li v1,0x25
beq v0,v1,0x0011e6c4
_li v1,0x2a
beq v0,v1,0x0011e740
_li v1,0x24
beq v0,v1,0x0011e78c
_li v1,0x2d
beq v0,v1,0x0011e8a8
_li v1,0x5e
beq v0,v1,0x0011e820
_addiu v1,v0,-0x30
andi v1,v1,0xff
sltiu v1,v1,0xa
beq v1,zero,0x0011e7cc
_nop
beq a0,zero,0x0011e7cc
_or a0,s6,zero
sll v1,a0,0x2
addu v1,v1,a0
sll v1,v1,0x1
addiu v0,v0,-0x30
addu a0,v0,v1
addiu a2,a2,0x1
addu v0,s4,a2
lb v0,0x0(v0)
addiu v1,v0,-0x30
andi v1,v1,0xff
sltiu v1,v1,0xa
bne v1,zero,0x0011e544
_sll v1,a0,0x2
addu v0,s4,a2
lb v0,0x0(v0)
li v1,0x5e
beq v0,v1,0x0011e834
_li v1,0x2a
beq v0,v1,0x0011e82c
_li v1,0x2d
beq v0,v1,0x0011e8ac
_or a1,a0,zero
sw a2,0x90(sp)
or a2,s1,zero
lw t9,-0x63dc(gp)
bal 0x0011d430
_nop
lw gp,0x18(sp)
beq v0,zero,0x0011e92c
_or s0,v0,zero
lw v0,0x48(sp)
addiu v0,v0,-0x336c
beq s0,v0,0x0011f750
_or a0,s0,zero
lw t9,-0x60fc(gp)
jalr t9
_nop
lw gp,0x18(sp)
addiu a0,v0,0x1
lw t9,-0x7f88(gp)
jalr t9
_nop
lw gp,0x18(sp)
or a1,s0,zero
or a0,v0,zero
lw t9,-0x6074(gp)
jalr t9
_nop
lw gp,0x18(sp)
or s5,v0,zero
or a0,s0,zero
lw t9,-0x5f94(gp)
jalr t9
_nop
lw gp,0x18(sp)
lw v0,0x90(sp)
sw v0,0x68(sp)
sw s6,0x44(sp)
sw s6,0x58(sp)
sw s6,0x5c(sp)
or s2,s6,zero
lw v0,-0x7fd4(gp)
sw v0,0x50(sp)
lw v1,-0x7fd4(gp)
sw v1,0x54(sp)
addiu v0,v0,-0x3378
b 0x0011f31c
_sw v0,0x6c(sp)
or a2,s2,zero
addiu a1,sp,0x90
or a0,s4,zero
lw t9,-0x62dc(gp)
bal 0x0011ccac
_nop
lw gp,0x18(sp)
b 0x0011e4d0
_or s1,v0,zero
lw s3,0x3c(sp)
or a3,zero,zero
lw a2,0x90(sp)
or a1,s0,zero
or a0,s4,zero
lw t9,-0x7fc4(gp)
addiu t9,t9,-0x3e1c
bal 0x0011c1e4
_nop
lw gp,0x18(sp)
or s0,v0,zero
lw a0,0x28(sp)
lw t9,-0x798c(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x0011e9e4
_or s6,s7,zero
b 0x0011e4f4
_li a0,0x1
addiu a2,a2,0x1
sw a2,0x90(sp)
lw v0,-0x7fd4(gp)
lw a0,-0x3384(v0)
beq a0,zero,0x0011e720
_lw t9,-0x60fc(gp)
jalr t9
_nop
lw gp,0x18(sp)
addiu a0,v0,0x1
lw t9,-0x7f88(gp)
jalr t9
_nop
lw gp,0x18(sp)
lw v1,-0x7fd4(gp)
lw a1,-0x3384(v1)
or a0,v0,zero
lw t9,-0x6074(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x0011e5b8
_or s0,v0,zero
li a0,0x1
lw t9,-0x7f88(gp)
jalr t9
_nop
lw gp,0x18(sp)
sb zero,0x0(v0)
b 0x0011e5b8
_or s0,v0,zero
addiu a2,a2,0x1
sw a2,0x90(sp)
or a2,s1,zero
li a1,0x24
li a0,0x1
lw t9,-0x63dc(gp)
bal 0x0011d430
_nop
lw gp,0x18(sp)
bne v0,zero,0x0011e5b8
_or s0,v0,zero
li a0,0x1
lw t9,-0x7f88(gp)
jalr t9
_nop
lw gp,0x18(sp)
sb zero,0x0(v0)
b 0x0011e5b8
_or s0,v0,zero
addiu a2,a2,0x1
sw a2,0x90(sp)
or a2,s1,zero
li a1,0x24
li a0,0x24
lw t9,-0x63dc(gp)
bal 0x0011d430
_nop
lw gp,0x18(sp)
or s0,v0,zero
lw v0,0x48(sp)
addiu v0,v0,-0x336c
beq s0,v0,0x0011e814
_nop
bne s0,zero,0x0011e5c8
_or a0,s0,zero
or a0,s1,zero
lw t9,-0x60fc(gp)
jalr t9
_nop
lw gp,0x18(sp)
addiu a0,v0,0x1
lw t9,-0x7f88(gp)
jalr t9
_nop
lw gp,0x18(sp)
or a1,s1,zero
or a0,v0,zero
lw t9,-0x6074(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x0011e61c
_or s5,v0,zero
or s6,s7,zero
b 0x0011e864
_lw s3,0x3c(sp)
addiu a2,a2,0x1
b 0x0011e574
_li a0,0x1
b 0x0011e838
_li a1,0x24
li a1,0x1
addiu v1,a2,0x1
slt v0,a1,a0
beq v0,zero,0x0011e59c
_sw v1,0x90(sp)
li v0,0x24
beq a1,v0,0x0011e5a0
_or a2,s1,zero
bltz a1,0x0011e5a4
_lw t9,-0x63dc(gp)
or s6,s7,zero
lw s3,0x3c(sp)
li a3,0x1
lw a2,0x90(sp)
or a1,s2,zero
or a0,s4,zero
lw t9,-0x7fc4(gp)
addiu t9,t9,-0x3e1c
bal 0x0011c1e4
_nop
lw gp,0x18(sp)
or s0,v0,zero
lw a0,0x28(sp)
lw t9,-0x798c(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x0011e9e8
_lw v0,0x2c(sp)
or a0,s6,zero
addiu v1,a2,0x1
addu v0,s4,v1
lb a3,0x0(v0)
addiu v0,a3,-0x30
andi v0,v0,0xff
sltiu v0,v0,0xa
beq v0,zero,0x0011e90c
_li v0,0x24
or a1,s6,zero
sll v0,a1,0x2
addu v0,v0,a1
sll v0,v0,0x1
addiu a3,a3,-0x30
addu a1,a3,v0
addiu v1,v1,0x1
addu v0,s4,v1
lb a3,0x0(v0)
addiu v0,a3,-0x30
andi v0,v0,0xff
sltiu v0,v0,0xa
bne v0,zero,0x0011e8d0
_slt v0,a1,a0
b 0x0011e840
_nop
beq a3,v0,0x0011e920
_nop
sw v1,0x90(sp)
b 0x0011e59c
_li a1,-0x1
addiu v1,a2,0x2
b 0x0011e83c
_li a1,0x24
or s6,s7,zero
b 0x0011e864
_lw s3,0x3c(sp)
addiu v1,v0,0x1
sw v1,0x90(sp)
addu v0,s4,v0
lb v1,0x2(v0)
li s2,0x1
addiu v0,v1,-0x26
andi a0,v0,0xff
sltiu a0,a0,0x53
beq a0,zero,0x0011e988
_andi v0,v0,0xff
sll v0,v0,0x2
lw a0,0x30(sp)
addu v0,a0,v0
lw v0,0x0(v0)
addu v0,v0,gp
jr v0
_nop
li v0,0x78
b 0x0011f310
_sw v0,0x58(sp)
or s6,s7,zero
lw s3,0x3c(sp)
lw a1,0x90(sp)
li a3,0x3
addiu a2,a1,0x2
addiu a1,a1,0x1
or a0,s4,zero
lw t9,-0x7fc4(gp)
addiu t9,t9,-0x3e1c
bal 0x0011c1e4
_nop
lw gp,0x18(sp)
or s0,v0,zero
lw a0,0x28(sp)
lw t9,-0x798c(gp)
jalr t9
_nop
lw gp,0x18(sp)
or a0,s5,zero
lw t9,-0x798c(gp)
jalr t9
_nop
lw gp,0x18(sp)
lw v0,0x2c(sp)
sw s0,0x0(v0)
or a0,s6,zero
lw t9,-0x798c(gp)
jalr t9
_nop
lw gp,0x18(sp)
beq s4,s3,0x0011f6b8
_or a0,s4,zero
lw t9,-0x798c(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x0011f678
_li v0,-0x1
lw v0,0x44(sp)
addiu v0,v0,0x1
b 0x0011f310
_sw v0,0x44(sp)
li a1,0x2f
or a0,s5,zero
lw t9,-0x61d4(gp)
jalr t9
_nop
lw gp,0x18(sp)
beq v0,zero,0x0011f310
_addiu s0,v0,0x1
or a0,s0,zero
lw t9,-0x60fc(gp)
jalr t9
_nop
lw gp,0x18(sp)
addiu a0,v0,0x1
lw t9,-0x7f88(gp)
jalr t9
_nop
lw gp,0x18(sp)
or a1,s0,zero
or a0,v0,zero
lw t9,-0x6074(gp)
jalr t9
_nop
lw gp,0x18(sp)
or s0,v0,zero
or a0,s5,zero
lw t9,-0x798c(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x0011f310
_or s5,s0,zero
li a1,0x2f
or a0,s5,zero
lw t9,-0x61d4(gp)
jalr t9
_nop
lw gp,0x18(sp)
beq v0,zero,0x0011f310
_nop
b 0x0011f310
_sb zero,0x0(v0)
li a1,0x2e
or a0,s5,zero
lw t9,-0x61d4(gp)
jalr t9
_nop
lw gp,0x18(sp)
beq v0,zero,0x0011f310
_nop
b 0x0011f310
_sb zero,0x0(v0)
li a1,0x2e
or a0,s5,zero
lw t9,-0x61d4(gp)
jalr t9
_nop
lw gp,0x18(sp)
beq v0,zero,0x0011f310
_or s0,v0,zero
or a0,v0,zero
lw t9,-0x60fc(gp)
jalr t9
_nop
lw gp,0x18(sp)
addiu a0,v0,0x1
lw t9,-0x7f88(gp)
jalr t9
_nop
lw gp,0x18(sp)
or a1,s0,zero
or a0,v0,zero
lw t9,-0x6074(gp)
jalr t9
_nop
lw gp,0x18(sp)
or s0,v0,zero
or a0,s5,zero
lw t9,-0x798c(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x0011f310
_or s5,s0,zero
li v0,0x73
bne v1,v0,0x0011ef60
_or a0,s4,zero
lw t9,-0x60fc(gp)
jalr t9
_nop
lw gp,0x18(sp)
lw v1,0x90(sp)
addiu v1,v1,0x2
slt v0,v1,v0
beq v0,zero,0x0011f314
_lw v0,0x90(sp)
lw t9,-0x6060(gp)
jalr t9
_nop
lw gp,0x18(sp)
sltiu v0,v0,0x2
bne v0,zero,0x0011ebd8
_lw v0,-0x6728(gp)
lw s0,0x0(v0)
beq s0,zero,0x0011ed1c
_lw a1,0x90(sp)
lw v0,0x90(sp)
addu v0,s4,v0
lb s0,0x2(v0)
lw v0,0x90(sp)
addiu v0,v0,0x3
sw v0,0x90(sp)
lw v0,0x6c(sp)
sw v0,0x10(sp)
or a3,zero,zero
or a2,s0,zero
addiu a1,sp,0x90
or a0,s4,zero
lw t9,-0x7fc4(gp)
addiu t9,t9,-0x3628
bal 0x0011c9d8
_nop
lw gp,0x18(sp)
beq v0,zero,0x0011ed74
_or s1,v0,zero
lw v0,-0x7fd4(gp)
lw a0,-0x3370(v0)
beq a0,zero,0x0011ec44
_lw t9,-0x5f94(gp)
jalr t9
_nop
lw gp,0x18(sp)
lw v0,-0x7fd4(gp)
sw s1,-0x3370(v0)
lw v0,-0x7fd4(gp)
lw a0,-0x3374(v0)
beq a0,zero,0x0011ec64
_lw t9,-0x5f94(gp)
jalr t9
_nop
lw gp,0x18(sp)
lw s1,0x54(sp)
addiu v0,s1,-0x337c
sw v0,0x10(sp)
li a3,0x1
or a2,s0,zero
addiu a1,sp,0x90
or a0,s4,zero
lw t9,-0x7fc4(gp)
addiu t9,t9,-0x3628
bal 0x0011c9d8
_nop
lw gp,0x18(sp)
lw v1,-0x7fd4(gp)
sw v0,-0x3374(v1)
li a1,0x26
or a0,v0,zero
lw t9,-0x60f4(gp)
jalr t9
_nop
lw gp,0x18(sp)
beq v0,zero,0x0011ef6c
_lw v1,-0x337c(s1)
lw v0,0x50(sp)
lw v0,-0x3378(v0)
addu v0,v1,v0
sw v0,0x64(sp)
or a0,v0,zero
lw t9,-0x7f88(gp)
jalr t9
_nop
lw gp,0x18(sp)
or v1,v0,zero
sw v0,0x60(sp)
lw v0,-0x337c(s1)
blez v0,0x0011ef58
_or s0,s6,zero
or s1,s6,zero
lw a0,-0x7fd4(gp)
sw a0,0x60(sp)
lw a0,-0x7fd4(gp)
sw a0,0x70(sp)
sw s8,0x74(sp)
sw s2,0x78(sp)
or s2,v1,zero
b 0x0011eeb8
_lw s8,0x64(sp)
addiu s1,sp,0xa0
or a2,s1,zero
addiu a1,a1,0x2
or a0,s4,zero
lw t9,-0x6698(gp)
bal 0x00121adc
_nop
lw gp,0x18(sp)
lw a0,0x90(sp)
addiu a0,a0,0x2
or a1,s1,zero
addu a0,s4,a0
lw t9,-0x65b4(gp)
bal 0x00121844
_nop
lw gp,0x18(sp)
slti v0,v0,0x2
beq v0,zero,0x0011ebe8
_lw v0,0x90(sp)
addu v0,s4,v0
b 0x0011ebe4
_lb s0,0x2(v0)
lw v0,-0x7fd4(gp)
lw v0,-0x3370(v0)
bne v0,zero,0x0011ec4c
_lw v0,-0x7fd4(gp)
lw v0,-0x7fd4(gp)
lw a0,-0x3380(v0)
beq a0,zero,0x0011eda0
_lw v0,0x50(sp)
lb v0,0x0(a0)
bne v0,zero,0x0011eda8
_lw v0,0x50(sp)
b 0x0011ec48
_sw zero,-0x3378(v0)
lw t9,-0x60fc(gp)
jalr t9
_nop
lw gp,0x18(sp)
addiu a0,v0,0x1
lw t9,-0x7f88(gp)
jalr t9
_nop
lw gp,0x18(sp)
lw v1,-0x7fd4(gp)
lw a1,-0x3380(v1)
or a0,v0,zero
lw t9,-0x6074(gp)
jalr t9
_nop
lw gp,0x18(sp)
lw v1,-0x7fd4(gp)
sw v0,-0x3370(v1)
or a0,v0,zero
lw t9,-0x60fc(gp)
jalr t9
_nop
lw gp,0x18(sp)
lw v1,0x50(sp)
b 0x0011ec48
_sw v0,-0x3378(v1)
lw v0,0x50(sp)
lw v1,-0x3378(v0)
addu v0,v1,s1
slt v0,v0,s8
beq v0,zero,0x0011ee54
_or a0,s2,zero
lw v0,0x70(sp)
lw a1,-0x3370(v0)
addu a0,s2,s1
lw t9,-0x6074(gp)
jalr t9
_nop
lw gp,0x18(sp)
lw v0,0x50(sp)
lw v0,-0x3378(v0)
b 0x0011eea0
_addu s1,s1,v0
sll s8,s8,0x1
addu s8,v1,s8
or a1,s8,zero
lw t9,-0x7e04(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x0011ee28
_or s2,v0,zero
slt v0,s1,s8
beq v0,zero,0x0011eef4
_or a0,s2,zero
lw v0,0x60(sp)
lw v0,-0x3374(v0)
addu v0,v0,s0
lb v1,0x0(v0)
addu v0,s2,s1
sb v1,0x0(v0)
addiu s1,s1,0x1
addiu s0,s0,0x1
lw v0,0x54(sp)
lw v0,-0x337c(v0)
slt v0,s0,v0
beq v0,zero,0x0011ef14
_nop
lw v0,0x60(sp)
lw v0,-0x3374(v0)
addu v1,v0,s0
lb v1,0x0(v1)
li a0,0x26
beq v1,a0,0x0011ee10
_li a0,0x5c
bne v1,a0,0x0011ee78
_addu v0,v0,s0
lb v0,0x1(v0)
li v1,0x26
bne v0,v1,0x0011ee7c
_slt v0,s1,s8
b 0x0011ee7c
_addiu s0,s0,0x1
sll s8,s8,0x1
or a1,s8,zero
lw t9,-0x7e04(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x0011ee84
_or s2,v0,zero
lw s8,0x74(sp)
sw s2,0x60(sp)
lw s2,0x78(sp)
lw v0,0x60(sp)
addu v0,v0,s1
sb zero,0x0(v0)
lw s0,-0x7fd4(gp)
lw a0,-0x3374(s0)
lw t9,-0x798c(gp)
jalr t9
_nop
lw gp,0x18(sp)
lw v0,0x60(sp)
sw v0,-0x3374(s0)
lw v0,0x54(sp)
b 0x0011ef6c
_sw s1,-0x337c(v0)
b 0x0011ef20
_or s1,s6,zero
lw v0,0x90(sp)
addiu v0,v0,0x2
sw v0,0x90(sp)
lw v0,0x50(sp)
lw s1,-0x3378(v0)
beq s1,zero,0x0011efd4
_or a0,s5,zero
lw t9,-0x60fc(gp)
jalr t9
_nop
lw gp,0x18(sp)
or v1,v0,zero
slt v0,v0,s1
bne v0,zero,0x0011f030
_li v0,0x1
sw s6,0x60(sp)
or s0,s6,zero
sw v0,0x74(sp)
lw v0,-0x7fd4(gp)
sw v0,0x70(sp)
sw s6,0x84(sp)
lw v0,-0x7fd4(gp)
sw v0,0x64(sp)
sw s8,0x78(sp)
sw s6,0x7c(sp)
sw s3,0x80(sp)
lw s3,0x5c(sp)
b 0x0011f110
_or s8,v1,zero
lw s3,0x3c(sp)
li a3,0x4
lw a2,0x90(sp)
lw a1,0x68(sp)
or a0,s4,zero
lw t9,-0x7fc4(gp)
addiu t9,t9,-0x3e1c
bal 0x0011c1e4
_nop
lw gp,0x18(sp)
or s0,v0,zero
lw a0,0x28(sp)
lw t9,-0x798c(gp)
jalr t9
_nop
lw gp,0x18(sp)
or a0,s5,zero
lw t9,-0x798c(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x0011e9e4
_or s6,s7,zero
lw s3,0x3c(sp)
li a3,0x2
lw a2,0x90(sp)
lw a1,0x68(sp)
or a0,s4,zero
lw t9,-0x7fc4(gp)
addiu t9,t9,-0x3e1c
bal 0x0011c1e4
_nop
lw gp,0x18(sp)
or s0,v0,zero
lw a0,0x28(sp)
lw t9,-0x798c(gp)
jalr t9
_nop
lw gp,0x18(sp)
or a0,s5,zero
lw t9,-0x798c(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x0011e9e4
_or s6,s7,zero
addiu s0,s0,0x1
addu v0,s5,s0
lb v0,0x0(v0)
beq v0,zero,0x0011f0bc
_or a1,s0,zero
li v1,0x20
beq v0,v1,0x0011f08c
_addiu v0,v0,-0x9
andi v0,v0,0xff
sltiu v0,v0,0x2
bne v0,zero,0x0011f08c
_or a1,s0,zero
or a0,s5,zero
lw t9,0x4c(sp)
jalr t9
_nop
lw gp,0x18(sp)
sw v0,0x60(sp)
beq s1,zero,0x0011f150
_addu a0,s5,s0
lw v0,0x64(sp)
lw a1,-0x3370(v0)
lb v1,0x0(a0)
lb v0,0x0(a1)
beq v1,v0,0x0011f138
_or a2,s1,zero
addiu s0,s0,0x1
lw v0,0x50(sp)
lw s1,-0x3378(v0)
addu v0,s1,s0
slt v0,s8,v0
bne v0,zero,0x0011f28c
_lw s6,0x7c(sp)
beq s3,zero,0x0011f0d4
_lw v0,0x60(sp)
slt v0,v0,s0
beq v0,zero,0x0011f0d4
_addu v0,s5,s0
lb v0,0x0(v0)
bne v0,zero,0x0011f0a4
_li v1,0x20
b 0x0011f0bc
_or a1,s0,zero
lw t9,-0x6238(gp)
jalr t9
_nop
lw gp,0x18(sp)
bne v0,zero,0x0011f0f4
_nop
lw v0,0x54(sp)
lw v0,-0x337c(v0)
subu s1,v0,s1
addu s1,s1,s8
addiu a0,s1,0x1
lw t9,-0x7f88(gp)
jalr t9
_nop
lw gp,0x18(sp)
or s6,v0,zero
or a2,s0,zero
or a1,s5,zero
or a0,v0,zero
lw t9,-0x615c(gp)
jalr t9
_nop
lw gp,0x18(sp)
lw v0,0x54(sp)
lw a2,-0x337c(v0)
lw v1,0x70(sp)
lw a1,-0x3374(v1)
addu a0,s6,s0
lw t9,-0x615c(gp)
jalr t9
_nop
lw gp,0x18(sp)
lw v1,0x50(sp)
lw a1,-0x3378(v1)
addu a1,s0,a1
lw v0,0x54(sp)
lw a0,-0x337c(v0)
addu a0,s0,a0
subu a2,s8,a1
addu a1,s5,a1
addu a0,s6,a0
lw t9,-0x615c(gp)
jalr t9
_nop
lw gp,0x18(sp)
addu s1,s6,s1
sb zero,0x0(s1)
or a0,s5,zero
lw t9,-0x798c(gp)
jalr t9
_nop
lw gp,0x18(sp)
bne s2,zero,0x0011f230
_lw v0,0x54(sp)
bne s3,zero,0x0011f268
_or a0,s6,zero
lw s8,0x78(sp)
lw s3,0x80(sp)
or s5,s6,zero
lw s6,0x7c(sp)
b 0x0011f31c
_lw s2,0x5c(sp)
lw v0,-0x337c(v0)
addiu v0,v0,-0x1
addu s0,s0,v0
or a0,s6,zero
lw t9,-0x60fc(gp)
jalr t9
_nop
lw gp,0x18(sp)
or s8,v0,zero
addiu s2,s2,0x1
lw v0,0x84(sp)
sw v0,0x74(sp)
b 0x0011f0f4
_or s5,s6,zero
lw t9,-0x60fc(gp)
jalr t9
_nop
lw gp,0x18(sp)
or s8,v0,zero
lw s0,0x60(sp)
sw s2,0x74(sp)
b 0x0011f0f4
_or s5,s6,zero
lw s8,0x78(sp)
slti v0,s2,0x2
bne v0,zero,0x0011f2a4
_lw s3,0x80(sp)
b 0x0011f31c
_or s2,s6,zero
lw v0,0x74(sp)
beq v0,zero,0x0011f31c
_li a3,0x2
lw s3,0x3c(sp)
lw a2,0x90(sp)
lw a1,0x68(sp)
or a0,s4,zero
lw t9,-0x7fc4(gp)
addiu t9,t9,-0x3e1c
bal 0x0011c1e4
_nop
lw gp,0x18(sp)
or s0,v0,zero
lw a0,0x28(sp)
lw t9,-0x798c(gp)
jalr t9
_nop
lw gp,0x18(sp)
or a0,s5,zero
lw t9,-0x798c(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x0011e9e4
_or s6,s7,zero
li v0,0x71
sw v0,0x58(sp)
lw v0,0x90(sp)
addiu v0,v0,0x2
sw v0,0x90(sp)
lw v0,0x90(sp)
addu v1,s4,v0
lb a0,0x0(v1)
li v1,0x3a
bne a0,v1,0x0011f370
_addu v1,s4,v0
lb v1,0x1(v1)
li a0,0x67
beq v1,a0,0x0011e938
_li a0,0x61
beq v1,a0,0x0011e938
_li a0,0x47
bne v1,a0,0x0011e94c
_nop
addiu v1,v0,0x1
sw v1,0x90(sp)
addu v0,s4,v0
lb v1,0x2(v0)
li v0,0x1
b 0x0011e94c
_sw v0,0x5c(sp)
addiu v0,v0,-0x1
sw v0,0x90(sp)
lw v1,0x58(sp)
beq v1,zero,0x0011f3f4
_or a0,s5,zero
li v0,0x71
beq v1,v0,0x0011f4d8
_li v0,0x78
lw v1,0x58(sp)
beq v1,v0,0x0011f4f0
_lw t9,-0x60fc(gp)
jalr t9
_nop
lw gp,0x18(sp)
addiu a0,v0,0x1
lw t9,-0x7f88(gp)
jalr t9
_nop
lw gp,0x18(sp)
or a1,s5,zero
or a0,v0,zero
lw t9,-0x6074(gp)
jalr t9
_nop
lw gp,0x18(sp)
or s0,v0,zero
or a0,s5,zero
lw t9,-0x798c(gp)
jalr t9
_nop
lw gp,0x18(sp)
or s5,s0,zero
or a0,s5,zero
lw t9,-0x60fc(gp)
jalr t9
_nop
lw gp,0x18(sp)
slti v1,v0,0x80
beq v1,zero,0x0011f5d0
_addiu a1,v0,0x2
or a1,s5,zero
lw a0,0x28(sp)
lw t9,-0x6074(gp)
jalr t9
_nop
lw gp,0x18(sp)
or a0,s5,zero
lw t9,-0x798c(gp)
jalr t9
_nop
lw gp,0x18(sp)
lw v0,0x44(sp)
bltz v0,0x0011f5ec
_lw s1,0x90(sp)
lw v0,0x40(sp)
addiu v0,v0,0x1
sw v0,0x40(sp)
lw a0,0x28(sp)
lb v0,0x0(a0)
beq v0,zero,0x0011f4ac
_lw t9,-0x798c(gp)
lw t9,-0x60fc(gp)
jalr t9
_nop
lw gp,0x18(sp)
or s0,v0,zero
addu s8,s8,v0
slt v0,s8,s3
beq v0,zero,0x0011f5fc
_or v0,s3,zero
subu a0,s8,s0
lw a1,0x28(sp)
addu a0,s7,a0
lw t9,-0x6074(gp)
jalr t9
_nop
lw gp,0x18(sp)
lw a0,0x28(sp)
lw t9,-0x798c(gp)
jalr t9
_nop
lw gp,0x18(sp)
lw v0,0x44(sp)
xori v0,v0,0x1
sltiu v0,v0,0x1
lw v1,0x34(sp)
addu v0,v1,v0
sw v0,0x34(sp)
b 0x0011dc80
_sw s1,0x8c(sp)
lw t9,-0x7b74(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x0011f3d8
_or s0,v0,zero
beq s5,zero,0x0011f720
_li a0,0x3
lb v0,0x0(s5)
beq v0,zero,0x0011f6e0
_or v1,s5,zero
li a0,0x3
li a1,0x27
b 0x0011f538
_li a2,0x20
b 0x0011f520
_addiu a0,a0,0x3
addiu a0,a0,0x2
addiu v1,v1,0x1
beq v1,zero,0x0011f6e0
_addiu a0,a0,0x1
lb v0,0x0(v1)
beq v0,zero,0x0011f6e4
_lw t9,-0x7f88(gp)
beq v0,a1,0x0011f514
_nop
beq v0,a2,0x0011f51c
_addiu v0,v0,-0x9
andi v0,v0,0xff
sltiu v0,v0,0x2
beq v0,zero,0x0011f520
_nop
b 0x0011f520
_addiu a0,a0,0x2
sb a2,0x0(v0)
sb t0,0x1(v0)
sb a2,0x2(v0)
sb a2,0x3(v0)
b 0x0011f590
_addiu v0,v0,0x4
sb a2,0x0(v0)
or a1,a0,zero
lb v1,-0x1(a0)
sb v1,0x1(v0)
sb a2,0x2(v0)
addiu v0,v0,0x3
beq a1,zero,0x0011f744
_li v1,0x27
lb v1,0x0(a1)
beq v1,zero,0x0011f740
_addiu a0,a0,0x1
beq v1,a3,0x0011f560
_or a1,a0,zero
beq v1,t1,0x0011f578
_addiu a1,v1,-0x9
andi a1,a1,0xff
sltiu a1,a1,0x2
bne a1,zero,0x0011f578
_or a1,a0,zero
sb v1,0x0(v0)
b 0x0011f590
_addiu v0,v0,0x1
lw a0,0x28(sp)
lw t9,-0x7e04(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x0011f410
_sw v0,0x28(sp)
or s6,s7,zero
lw s3,0x3c(sp)
b 0x0011e9e4
_lw s0,0x28(sp)
addiu v0,v0,0x80
slt v1,s8,v0
beq v1,zero,0x0011f600
_addiu v0,v0,0x80
addiu v1,s3,0x80
subu v0,s8,s3
srl v0,v0,0x7
sll v0,v0,0x7
addu s3,v1,v0
or a1,s3,zero
or a0,s7,zero
lw t9,-0x7e04(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x0011f488
_or s7,v0,zero
lw s3,0x3c(sp)
lw v0,0x2c(sp)
beq s4,s3,0x0011f664
_sw s7,0x0(v0)
or a0,s4,zero
lw t9,-0x798c(gp)
jalr t9
_nop
lw gp,0x18(sp)
lw v0,0x34(sp)
bne v0,zero,0x0011f678
_li v0,0x2
lw v0,0x40(sp)
sltu v0,zero,v0
lw a0,0xbc(sp)
lw v1,-0x5fb4(gp)
lw v1,0x0(v1)
bne a0,v1,0x0011f8a0
_lw ra,0xe4(sp)
lw s8,0xe0(sp)
lw s7,0xdc(sp)
lw s6,0xd8(sp)
lw s5,0xd4(sp)
lw s4,0xd0(sp)
lw s3,0xcc(sp)
lw s2,0xc8(sp)
lw s1,0xc4(sp)
lw s0,0xc0(sp)
jr ra
_addiu sp,sp,0xe8
b 0x0011f678
_li v0,-0x1
lw v0,0x2c(sp)
beq s4,s3,0x0011f6d8
_sw s6,0x0(v0)
sw zero,0x34(sp)
b 0x0011f650
_sw zero,0x40(sp)
b 0x0011f670
_sw zero,0x40(sp)
lw t9,-0x7f88(gp)
jalr t9
_nop
lw gp,0x18(sp)
or s0,v0,zero
addiu v0,v0,0x1
li v1,0x27
sb v1,0x0(s0)
lb v1,0x0(s5)
beq v1,zero,0x0011f740
_addiu a0,s5,0x1
li a3,0x27
li t1,0x20
li a2,0x27
b 0x0011f5a4
_li t0,0x5c
lw t9,-0x7f88(gp)
jalr t9
_nop
lw gp,0x18(sp)
or s0,v0,zero
addiu v0,v0,0x1
li v1,0x27
sb v1,0x0(s0)
li v1,0x27
sb v1,0x0(v0)
b 0x0011f3d8
_sb zero,0x1(v0)
or s6,s7,zero
b 0x0011e864
_lw s3,0x3c(sp)
addu v0,s4,v0
lb v0,0x0(v0)
bne v0,zero,0x0011dc34
_nop
li s7,0x100
sw zero,0x38(sp)
b 0x0011d9d8
_or s8,zero,zero
lb v1,0x0(v1)
beq v0,v1,0x0011d930
_li a0,0x5c
beq v0,a0,0x0011da4c
_li a0,0x22
lw a0,0x0(s5)
beq a0,zero,0x0011f7bc
_li a1,0x22
beq v0,a1,0x0011da74
_nop
beq s8,zero,0x0011f858
_nop
beq a0,zero,0x0011f7bc
_li a0,0x5c
beq v0,a0,0x0011da88
_li v0,0x27
lw v0,0x8c(sp)
addiu v0,v0,0x1
sw v0,0x8c(sp)
addu v0,s3,v0
lb v0,0x0(v0)
beq v0,zero,0x0011d994
_lw v0,0x8c(sp)
lw t9,-0x6060(gp)
jalr t9
_nop
lw gp,0x18(sp)
sltiu v0,v0,0x2
bne v0,zero,0x0011f800
_lw v0,-0x6728(gp)
lw v0,0x0(v0)
beq v0,zero,0x0011d8b0
_addiu a1,sp,0x98
lw s0,0x8c(sp)
addu v0,s3,s0
lb s1,0x1(v0)
lb v1,0x0(s4)
beq v1,zero,0x0011f828
_or s2,s1,zero
lb v0,0x0(v0)
beq v1,v0,0x0011d8e4
_nop
addu v0,s3,s0
lb v0,0x0(v0)
lw v1,-0x7574(gp)
lb v1,0x0(v1)
beq v0,v1,0x0011d930
_nop
bne s8,zero,0x0011f788
_li a0,0x5c
lw a0,0x0(s5)
beq a0,zero,0x0011f7bc
_li a0,0x22
beq v0,a0,0x0011da74
_nop
li a0,0x27
bne v0,a0,0x0011f7b4
_li a0,0x5c
blez s0,0x0011da80
_addu v0,s3,s0
lb a2,-0x1(v0)
xori a2,a2,0x24
sltiu a2,a2,0x1
addiu s0,s0,0x1
sw s0,0x8c(sp)
or a1,s7,zero
or a0,s3,zero
lw t9,0x24(sp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x0011f7bc
_or s8,zero,zero
lw t9,-0x6004(gp)
jalr t9
_nop
nop
(translation_unit "/* WARNING: Removing unreachable block (ram,0x0011f384) */\n/* WARNING: Removing unreachable block (ram,0x0011f4d8) */\n/* WARNING: Removing unreachable block (ram,0x0011f390) */\n/* WARNING: Removing unreachable block (ram,0x0011f4f0) */\n/* WARNING: Removing unreachable block (ram,0x0011f720) */\n/* WARNING: Removing unreachable block (ram,0x0011f4f8) */\n/* WARNING: Removing unreachable block (ram,0x0011f504) */\n/* WARNING: Removing unreachable block (ram,0x0011f538) */\n/* WARNING: Removing unreachable block (ram,0x0011f514) */\n/* WARNING: Removing unreachable block (ram,0x0011f540) */\n/* WARNING: Removing unreachable block (ram,0x0011f51c) */\n/* WARNING: Removing unreachable block (ram,0x0011f548) */\n/* WARNING: Removing unreachable block (ram,0x0011f558) */\n/* WARNING: Removing unreachable block (ram,0x0011f520) */\n/* WARNING: Removing unreachable block (ram,0x0011f6e0) */\n/* WARNING: Removing unreachable block (ram,0x0011f52c) */\n/* WARNING: Removing unreachable block (ram,0x0011f6e4) */\n/* WARNING: Removing unreachable block (ram,0x0011f70c) */\n/* WARNING: Removing unreachable block (ram,0x0011f5a4) */\n/* WARNING: Removing unreachable block (ram,0x0011f560) */\n/* WARNING: Removing unreachable block (ram,0x0011f5ac) */\n/* WARNING: Removing unreachable block (ram,0x0011f5b4) */\n/* WARNING: Removing unreachable block (ram,0x0011f578) */\n/* WARNING: Removing unreachable block (ram,0x0011f5c4) */\n/* WARNING: Removing unreachable block (ram,0x0011f590) */\n/* WARNING: Removing unreachable block (ram,0x0011f598) */\n/* WARNING: Removing unreachable block (ram,0x0011f740) */\n/* WARNING: Removing unreachable block (ram,0x0011f744) */\n/* WARNING: Removing unreachable block (ram,0x0011f39c) */\n/* WARNING: Removing unreachable block (ram,0x0011f3d8) */\n/* WARNING: Removing unreachable block (ram,0x0011f5ec) */\n/* WARNING: Type propagation algorithm not settling */\n\nuint history_expand(char *param_1,undefined4 *param_2)\n\n{\n  char cVar1;\n  undefined *puVar2;\n  uint uVar3;\n  undefined1 *puVar4;\n  code *pcVar5;\n  char *pcVar6;\n  char cVar14;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  undefined4 uVar9;\n  uint uVar10;\n  int iVar11;\n  undefined4 uVar12;\n  undefined4 *puVar13;\n  int iVar15;\n  bool bVar16;\n  int iVar17;\n  int iVar18;\n  int *piVar19;\n  int iVar20;\n  int iVar21;\n  int iVar22;\n  undefined *puVar23;\n  int local_c8;\n  uint local_c4;\n  char *local_c0;\n  uint local_b0;\n  int local_a8;\n  int local_5c;\n  int local_58 [6];\n  undefined1 local_40;\n  undefined1 local_3f;\n  undefined1 local_3e;\n  int local_3c [5];\n  \n  local_3c[4] = *(int *)PTR___stack_chk_guard_0015858c;\n  uVar3 = 0;\n  if (param_2 == (undefined4 *)0x0) goto LAB_0011f678;\n  if (*PTR_history_expansion_char_00156fcc == '\0') {\n    iVar22 = (*(code *)PTR_strlen_00158444)();\n    uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);\n    uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);\n    *param_2 = uVar12;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }\n  puVar4 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(0x100);\n  *puVar4 = 0;\n  local_c8 = (*(code *)PTR_strlen_00158444)(param_1);\n  if (*param_1 != *PTR_history_subst_char_00156fd0) {\n    local_58[2] = 0;\n    local_58[3] = 0;\n    uVar3 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);\n    local_5c = 0;\n    pcVar6 = param_1;\n    if ((*(int *)PTR_history_quoting_state_001569a0 == 0x27) &&\n       (*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0)) {\n      FUN_0011c170(param_1,&local_5c,0);\n      if (param_1[local_5c] == '\0') goto LAB_0011d994;\n      local_5c = local_5c + 1;\n    }\n    puVar2 = PTR_history_quotes_inhibit_expansion_00157524;\n    puVar23 = PTR_history_comment_char_00156f80;\n    if (param_1[local_5c] != '\0') {\n      pcVar5 = (code *)(PTR_LAB_0015657c + -0x3e90);\n      do {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((uVar10 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {\nLAB_0011f800:\n          iVar22 = local_5c;\n          iVar20 = (int)(param_1 + local_5c)[1];\n          if (((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11))\n          {\n            iVar11 = (int)param_1[local_5c];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }\n          if (((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);\n            if (iVar22 == 0) break;\n          }\n        }\n        else {\n          iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2);\n          if (iVar22 < 2) goto LAB_0011f800;\n          local_5c = local_5c + iVar22 + -1;\n        }\nLAB_0011f7c0:\n        local_5c = local_5c + 1;\n      } while (param_1[local_5c] != '\0');\n    }\n    goto LAB_0011d994;\n  }\n  pcVar6 = (char *)(*(code *)PTR_xmalloc_001565b8)(local_c8 + 5);\n  cVar1 = *PTR_history_expansion_char_00156fcc;\n  pcVar6[1] = cVar1;\n  *pcVar6 = cVar1;\n  pcVar6[2] = ':';\n  pcVar6[3] = 's';\n  (*(code *)PTR_strcpy_001584cc)(pcVar6 + 4,param_1);\n  local_c8 = local_c8 + 4;\n  goto LAB_0011d9ac;\nLAB_0011da2c:\n  do {\n    local_5c = iVar22 + 1;\n    iVar22 = local_5c;\n  } while (param_1[local_5c] != '\0');\nLAB_0011d994:\n  if (param_1[local_5c] != *PTR_history_expansion_char_00156fcc) {\n    (*(code *)PTR_xfree_00156bb4)(puVar4);\n    iVar22 = (*(code *)PTR_strlen_00158444)(param_1);\n    uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);\n    uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);\n    *param_2 = uVar12;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }\nLAB_0011d9ac:\n  local_c4 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);\n  local_5c = 0;\n  if (*(int *)PTR_history_quoting_state_001569a0 == 0x27) {\n    iVar22 = 0x100;\n    if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n      local_b0 = 1;\n      iVar11 = 0;\n    }\n    else {\n      FUN_0011c170(pcVar6,&local_5c,0);\n      if (local_5c < 1) {\n        if (pcVar6[local_5c] == '\0') {\n          iVar22 = 0x100;\n          local_b0 = 0;\n          iVar11 = 0;\n        }\n        else {\n          iVar20 = 0;\n          iVar22 = 0x100;\nLAB_0011dbe0:\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[local_5c];\n          puVar4[iVar11] = 0;\n          local_5c = local_5c + 1;\n          local_b0 = 0;\n        }\n      }\n      else {\n        iVar22 = 0x100;\n        iVar20 = 0;\n        while( true ) {\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[iVar20];\n          puVar4[iVar11] = 0;\n          if (local_5c <= iVar11) break;\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n        }\n        if (pcVar6[local_5c] != '\0') {\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }\n    }\n  }\n  else {\n    iVar22 = 0x100;\n    local_b0 = 0;\n    iVar11 = 0;\n  }\n  puVar2 = PTR_DAT_001565b0;\n  puVar23 = PTR_DAT_0015656c;\n  if (local_5c < local_c8) {\n    local_a8 = 0;\n    uVar3 = 0;\n    do {\n      cVar1 = pcVar6[local_5c];\n      if (uVar3 == 0) {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((1 < uVar10) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {\n          local_3c[0] = 0;\n          local_3c[1] = 0;\n          local_3c[2] = 0;\n          local_3c[3] = 0;\n          piVar19 = local_3c;\n          cVar14 = cVar1;\n          do {\n            *(char *)piVar19 = cVar14;\n            local_58[2] = 0;\n            local_58[3] = 0;\n            iVar20 = _rl_get_char_len(local_3c,local_58 + 2);\n            if (iVar20 != -2) break;\n            local_5c = local_5c + 1;\n            piVar19 = (int *)((int)piVar19 + 1);\n            cVar14 = pcVar6[local_5c];\n          } while (local_3c + 4 != piVar19);\n          uVar10 = (*(code *)PTR_strlen_00158444)(local_3c);\n          if (1 < uVar10) {\n            iVar20 = iVar11 + uVar10;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }\n        iVar20 = local_5c;\n        if (*PTR_history_expansion_char_00156fcc == cVar1) {\nLAB_0011e340:\n          iVar15 = (int)pcVar6[local_5c + 1];\n          if ((((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))) {\n            iVar20 = local_5c;\n            uVar12 = 0x27;\n            if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }\n            local_58[4] = 0;\n            local_58[5] = 0;\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            local_58[0] = iVar20;\n            iVar15 = (int)pcVar6[iVar20 + 1];\n            if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }\n            local_58[0] = iVar18;\n            iVar15 = local_58[0];\n            if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    /* WARNING: Could not emulate address calculation at 0x0011e968 */\n                    /* WARNING: Treating indirect jump as call */\n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *param_2 = uVar12;\n            (*(code *)PTR_xfree_00156bb4)(puVar4);\n            if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }\n      }\n      else {\n        if (iVar22 + -1 <= iVar11) {\n          iVar22 = iVar22 + 0x40;\n          puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n        }\n        puVar4[iVar11] = cVar1;\n        puVar4[iVar11 + 1] = 0;\n        uVar3 = 0;\n        iVar20 = iVar11 + 1;\n      }\nLAB_0011dc80:\n      local_5c = local_5c + 1;\n      iVar11 = iVar20;\n    } while (local_5c < local_c8);\n    *param_2 = puVar4;\n    if (pcVar6 != param_1) {\nLAB_0011f650:\n      (*(code *)PTR_xfree_00156bb4)(pcVar6);\n    }\n  }\n  else {\n    *param_2 = puVar4;\n    if (pcVar6 != param_1) {\n      local_a8 = 0;\n      goto LAB_0011f650;\n    }\n    local_a8 = 0;\n  }\n  uVar3 = (uint)(local_a8 != 0);\nLAB_0011f678:\n  if (local_3c[4] == *(int *)PTR___stack_chk_guard_0015858c) {\n    return uVar3;\n  }\n  iVar22 = local_3c[4];\n  puVar23 = PTR___stack_chk_fail_0015853c;\n  (*(code *)PTR___stack_chk_fail_0015853c)();\n  if (iVar22 == 0) {\n    iVar22 = (**(code **)(puVar23 + 0x384f4))(*(int *)(puVar23 + 0x36ccc) + 0x66e4);\n    if (iVar22 == 0) {\n      uVar3 = 0;\n    }\n    else {\n      iVar20 = (**(code **)(puVar23 + 0x38b94))(iVar22);\n      uVar3 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 10);\n      (**(code **)(puVar23 + 0x38c1c))(uVar3,iVar22);\n      *(undefined1 *)(uVar3 + iVar20) = 0x2f;\n      puVar13 = (undefined4 *)(uVar3 + iVar20 + 1);\n      iVar22 = *(int *)(puVar23 + 0x36d00);\n      uVar12 = *(undefined4 *)(iVar22 + 0x5d4);\n      *puVar13 = *(undefined4 *)(iVar22 + 0x5d0);\n      puVar13[1] = uVar12;\n      *(undefined1 *)(puVar13 + 2) = *(undefined1 *)(iVar22 + 0x5d8);\n    }\n  }\n  else {\n    iVar20 = (**(code **)(puVar23 + 0x38b94))();\n    uVar12 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 1);\n    uVar3 = (**(code **)(puVar23 + 0x38c1c))(uVar12,iVar22);\n  }\n  return uVar3;\n}\n\n" comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment (function_definition "uint history_expand(char *param_1,undefined4 *param_2)\n\n{\n  char cVar1;\n  undefined *puVar2;\n  uint uVar3;\n  undefined1 *puVar4;\n  code *pcVar5;\n  char *pcVar6;\n  char cVar14;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  undefined4 uVar9;\n  uint uVar10;\n  int iVar11;\n  undefined4 uVar12;\n  undefined4 *puVar13;\n  int iVar15;\n  bool bVar16;\n  int iVar17;\n  int iVar18;\n  int *piVar19;\n  int iVar20;\n  int iVar21;\n  int iVar22;\n  undefined *puVar23;\n  int local_c8;\n  uint local_c4;\n  char *local_c0;\n  uint local_b0;\n  int local_a8;\n  int local_5c;\n  int local_58 [6];\n  undefined1 local_40;\n  undefined1 local_3f;\n  undefined1 local_3e;\n  int local_3c [5];\n  \n  local_3c[4] = *(int *)PTR___stack_chk_guard_0015858c;\n  uVar3 = 0;\n  if (param_2 == (undefined4 *)0x0) goto LAB_0011f678;\n  if (*PTR_history_expansion_char_00156fcc == '\0') {\n    iVar22 = (*(code *)PTR_strlen_00158444)();\n    uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);\n    uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);\n    *param_2 = uVar12;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }\n  puVar4 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(0x100);\n  *puVar4 = 0;\n  local_c8 = (*(code *)PTR_strlen_00158444)(param_1);\n  if (*param_1 != *PTR_history_subst_char_00156fd0) {\n    local_58[2] = 0;\n    local_58[3] = 0;\n    uVar3 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);\n    local_5c = 0;\n    pcVar6 = param_1;\n    if ((*(int *)PTR_history_quoting_state_001569a0 == 0x27) &&\n       (*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0)) {\n      FUN_0011c170(param_1,&local_5c,0);\n      if (param_1[local_5c] == '\0') goto LAB_0011d994;\n      local_5c = local_5c + 1;\n    }\n    puVar2 = PTR_history_quotes_inhibit_expansion_00157524;\n    puVar23 = PTR_history_comment_char_00156f80;\n    if (param_1[local_5c] != '\0') {\n      pcVar5 = (code *)(PTR_LAB_0015657c + -0x3e90);\n      do {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((uVar10 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {\nLAB_0011f800:\n          iVar22 = local_5c;\n          iVar20 = (int)(param_1 + local_5c)[1];\n          if (((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11))\n          {\n            iVar11 = (int)param_1[local_5c];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }\n          if (((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);\n            if (iVar22 == 0) break;\n          }\n        }\n        else {\n          iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2);\n          if (iVar22 < 2) goto LAB_0011f800;\n          local_5c = local_5c + iVar22 + -1;\n        }\nLAB_0011f7c0:\n        local_5c = local_5c + 1;\n      } while (param_1[local_5c] != '\0');\n    }\n    goto LAB_0011d994;\n  }\n  pcVar6 = (char *)(*(code *)PTR_xmalloc_001565b8)(local_c8 + 5);\n  cVar1 = *PTR_history_expansion_char_00156fcc;\n  pcVar6[1] = cVar1;\n  *pcVar6 = cVar1;\n  pcVar6[2] = ':';\n  pcVar6[3] = 's';\n  (*(code *)PTR_strcpy_001584cc)(pcVar6 + 4,param_1);\n  local_c8 = local_c8 + 4;\n  goto LAB_0011d9ac;\nLAB_0011da2c:\n  do {\n    local_5c = iVar22 + 1;\n    iVar22 = local_5c;\n  } while (param_1[local_5c] != '\0');\nLAB_0011d994:\n  if (param_1[local_5c] != *PTR_history_expansion_char_00156fcc) {\n    (*(code *)PTR_xfree_00156bb4)(puVar4);\n    iVar22 = (*(code *)PTR_strlen_00158444)(param_1);\n    uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);\n    uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);\n    *param_2 = uVar12;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }\nLAB_0011d9ac:\n  local_c4 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);\n  local_5c = 0;\n  if (*(int *)PTR_history_quoting_state_001569a0 == 0x27) {\n    iVar22 = 0x100;\n    if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n      local_b0 = 1;\n      iVar11 = 0;\n    }\n    else {\n      FUN_0011c170(pcVar6,&local_5c,0);\n      if (local_5c < 1) {\n        if (pcVar6[local_5c] == '\0') {\n          iVar22 = 0x100;\n          local_b0 = 0;\n          iVar11 = 0;\n        }\n        else {\n          iVar20 = 0;\n          iVar22 = 0x100;\nLAB_0011dbe0:\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[local_5c];\n          puVar4[iVar11] = 0;\n          local_5c = local_5c + 1;\n          local_b0 = 0;\n        }\n      }\n      else {\n        iVar22 = 0x100;\n        iVar20 = 0;\n        while( true ) {\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[iVar20];\n          puVar4[iVar11] = 0;\n          if (local_5c <= iVar11) break;\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n        }\n        if (pcVar6[local_5c] != '\0') {\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }\n    }\n  }\n  else {\n    iVar22 = 0x100;\n    local_b0 = 0;\n    iVar11 = 0;\n  }\n  puVar2 = PTR_DAT_001565b0;\n  puVar23 = PTR_DAT_0015656c;\n  if (local_5c < local_c8) {\n    local_a8 = 0;\n    uVar3 = 0;\n    do {\n      cVar1 = pcVar6[local_5c];\n      if (uVar3 == 0) {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((1 < uVar10) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {\n          local_3c[0] = 0;\n          local_3c[1] = 0;\n          local_3c[2] = 0;\n          local_3c[3] = 0;\n          piVar19 = local_3c;\n          cVar14 = cVar1;\n          do {\n            *(char *)piVar19 = cVar14;\n            local_58[2] = 0;\n            local_58[3] = 0;\n            iVar20 = _rl_get_char_len(local_3c,local_58 + 2);\n            if (iVar20 != -2) break;\n            local_5c = local_5c + 1;\n            piVar19 = (int *)((int)piVar19 + 1);\n            cVar14 = pcVar6[local_5c];\n          } while (local_3c + 4 != piVar19);\n          uVar10 = (*(code *)PTR_strlen_00158444)(local_3c);\n          if (1 < uVar10) {\n            iVar20 = iVar11 + uVar10;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }\n        iVar20 = local_5c;\n        if (*PTR_history_expansion_char_00156fcc == cVar1) {\nLAB_0011e340:\n          iVar15 = (int)pcVar6[local_5c + 1];\n          if ((((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))) {\n            iVar20 = local_5c;\n            uVar12 = 0x27;\n            if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }\n            local_58[4] = 0;\n            local_58[5] = 0;\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            local_58[0] = iVar20;\n            iVar15 = (int)pcVar6[iVar20 + 1];\n            if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }\n            local_58[0] = iVar18;\n            iVar15 = local_58[0];\n            if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    /* WARNING: Could not emulate address calculation at 0x0011e968 */\n                    /* WARNING: Treating indirect jump as call */\n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *param_2 = uVar12;\n            (*(code *)PTR_xfree_00156bb4)(puVar4);\n            if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }\n      }\n      else {\n        if (iVar22 + -1 <= iVar11) {\n          iVar22 = iVar22 + 0x40;\n          puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n        }\n        puVar4[iVar11] = cVar1;\n        puVar4[iVar11 + 1] = 0;\n        uVar3 = 0;\n        iVar20 = iVar11 + 1;\n      }\nLAB_0011dc80:\n      local_5c = local_5c + 1;\n      iVar11 = iVar20;\n    } while (local_5c < local_c8);\n    *param_2 = puVar4;\n    if (pcVar6 != param_1) {\nLAB_0011f650:\n      (*(code *)PTR_xfree_00156bb4)(pcVar6);\n    }\n  }\n  else {\n    *param_2 = puVar4;\n    if (pcVar6 != param_1) {\n      local_a8 = 0;\n      goto LAB_0011f650;\n    }\n    local_a8 = 0;\n  }\n  uVar3 = (uint)(local_a8 != 0);\nLAB_0011f678:\n  if (local_3c[4] == *(int *)PTR___stack_chk_guard_0015858c) {\n    return uVar3;\n  }\n  iVar22 = local_3c[4];\n  puVar23 = PTR___stack_chk_fail_0015853c;\n  (*(code *)PTR___stack_chk_fail_0015853c)();\n  if (iVar22 == 0) {\n    iVar22 = (**(code **)(puVar23 + 0x384f4))(*(int *)(puVar23 + 0x36ccc) + 0x66e4);\n    if (iVar22 == 0) {\n      uVar3 = 0;\n    }\n    else {\n      iVar20 = (**(code **)(puVar23 + 0x38b94))(iVar22);\n      uVar3 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 10);\n      (**(code **)(puVar23 + 0x38c1c))(uVar3,iVar22);\n      *(undefined1 *)(uVar3 + iVar20) = 0x2f;\n      puVar13 = (undefined4 *)(uVar3 + iVar20 + 1);\n      iVar22 = *(int *)(puVar23 + 0x36d00);\n      uVar12 = *(undefined4 *)(iVar22 + 0x5d4);\n      *puVar13 = *(undefined4 *)(iVar22 + 0x5d0);\n      puVar13[1] = uVar12;\n      *(undefined1 *)(puVar13 + 2) = *(undefined1 *)(iVar22 + 0x5d8);\n    }\n  }\n  else {\n    iVar20 = (**(code **)(puVar23 + 0x38b94))();\n    uVar12 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 1);\n    uVar3 = (**(code **)(puVar23 + 0x38c1c))(uVar12,iVar22);\n  }\n  return uVar3;\n}" type_identifier (function_declarator "history_expand(char *param_1,undefined4 *param_2)" identifier (parameter_list "(char *param_1,undefined4 *param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  undefined *puVar2;\n  uint uVar3;\n  undefined1 *puVar4;\n  code *pcVar5;\n  char *pcVar6;\n  char cVar14;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  undefined4 uVar9;\n  uint uVar10;\n  int iVar11;\n  undefined4 uVar12;\n  undefined4 *puVar13;\n  int iVar15;\n  bool bVar16;\n  int iVar17;\n  int iVar18;\n  int *piVar19;\n  int iVar20;\n  int iVar21;\n  int iVar22;\n  undefined *puVar23;\n  int local_c8;\n  uint local_c4;\n  char *local_c0;\n  uint local_b0;\n  int local_a8;\n  int local_5c;\n  int local_58 [6];\n  undefined1 local_40;\n  undefined1 local_3f;\n  undefined1 local_3e;\n  int local_3c [5];\n  \n  local_3c[4] = *(int *)PTR___stack_chk_guard_0015858c;\n  uVar3 = 0;\n  if (param_2 == (undefined4 *)0x0) goto LAB_0011f678;\n  if (*PTR_history_expansion_char_00156fcc == '\0') {\n    iVar22 = (*(code *)PTR_strlen_00158444)();\n    uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);\n    uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);\n    *param_2 = uVar12;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }\n  puVar4 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(0x100);\n  *puVar4 = 0;\n  local_c8 = (*(code *)PTR_strlen_00158444)(param_1);\n  if (*param_1 != *PTR_history_subst_char_00156fd0) {\n    local_58[2] = 0;\n    local_58[3] = 0;\n    uVar3 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);\n    local_5c = 0;\n    pcVar6 = param_1;\n    if ((*(int *)PTR_history_quoting_state_001569a0 == 0x27) &&\n       (*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0)) {\n      FUN_0011c170(param_1,&local_5c,0);\n      if (param_1[local_5c] == '\0') goto LAB_0011d994;\n      local_5c = local_5c + 1;\n    }\n    puVar2 = PTR_history_quotes_inhibit_expansion_00157524;\n    puVar23 = PTR_history_comment_char_00156f80;\n    if (param_1[local_5c] != '\0') {\n      pcVar5 = (code *)(PTR_LAB_0015657c + -0x3e90);\n      do {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((uVar10 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {\nLAB_0011f800:\n          iVar22 = local_5c;\n          iVar20 = (int)(param_1 + local_5c)[1];\n          if (((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11))\n          {\n            iVar11 = (int)param_1[local_5c];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }\n          if (((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);\n            if (iVar22 == 0) break;\n          }\n        }\n        else {\n          iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2);\n          if (iVar22 < 2) goto LAB_0011f800;\n          local_5c = local_5c + iVar22 + -1;\n        }\nLAB_0011f7c0:\n        local_5c = local_5c + 1;\n      } while (param_1[local_5c] != '\0');\n    }\n    goto LAB_0011d994;\n  }\n  pcVar6 = (char *)(*(code *)PTR_xmalloc_001565b8)(local_c8 + 5);\n  cVar1 = *PTR_history_expansion_char_00156fcc;\n  pcVar6[1] = cVar1;\n  *pcVar6 = cVar1;\n  pcVar6[2] = ':';\n  pcVar6[3] = 's';\n  (*(code *)PTR_strcpy_001584cc)(pcVar6 + 4,param_1);\n  local_c8 = local_c8 + 4;\n  goto LAB_0011d9ac;\nLAB_0011da2c:\n  do {\n    local_5c = iVar22 + 1;\n    iVar22 = local_5c;\n  } while (param_1[local_5c] != '\0');\nLAB_0011d994:\n  if (param_1[local_5c] != *PTR_history_expansion_char_00156fcc) {\n    (*(code *)PTR_xfree_00156bb4)(puVar4);\n    iVar22 = (*(code *)PTR_strlen_00158444)(param_1);\n    uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);\n    uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);\n    *param_2 = uVar12;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }\nLAB_0011d9ac:\n  local_c4 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);\n  local_5c = 0;\n  if (*(int *)PTR_history_quoting_state_001569a0 == 0x27) {\n    iVar22 = 0x100;\n    if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n      local_b0 = 1;\n      iVar11 = 0;\n    }\n    else {\n      FUN_0011c170(pcVar6,&local_5c,0);\n      if (local_5c < 1) {\n        if (pcVar6[local_5c] == '\0') {\n          iVar22 = 0x100;\n          local_b0 = 0;\n          iVar11 = 0;\n        }\n        else {\n          iVar20 = 0;\n          iVar22 = 0x100;\nLAB_0011dbe0:\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[local_5c];\n          puVar4[iVar11] = 0;\n          local_5c = local_5c + 1;\n          local_b0 = 0;\n        }\n      }\n      else {\n        iVar22 = 0x100;\n        iVar20 = 0;\n        while( true ) {\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[iVar20];\n          puVar4[iVar11] = 0;\n          if (local_5c <= iVar11) break;\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n        }\n        if (pcVar6[local_5c] != '\0') {\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }\n    }\n  }\n  else {\n    iVar22 = 0x100;\n    local_b0 = 0;\n    iVar11 = 0;\n  }\n  puVar2 = PTR_DAT_001565b0;\n  puVar23 = PTR_DAT_0015656c;\n  if (local_5c < local_c8) {\n    local_a8 = 0;\n    uVar3 = 0;\n    do {\n      cVar1 = pcVar6[local_5c];\n      if (uVar3 == 0) {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((1 < uVar10) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {\n          local_3c[0] = 0;\n          local_3c[1] = 0;\n          local_3c[2] = 0;\n          local_3c[3] = 0;\n          piVar19 = local_3c;\n          cVar14 = cVar1;\n          do {\n            *(char *)piVar19 = cVar14;\n            local_58[2] = 0;\n            local_58[3] = 0;\n            iVar20 = _rl_get_char_len(local_3c,local_58 + 2);\n            if (iVar20 != -2) break;\n            local_5c = local_5c + 1;\n            piVar19 = (int *)((int)piVar19 + 1);\n            cVar14 = pcVar6[local_5c];\n          } while (local_3c + 4 != piVar19);\n          uVar10 = (*(code *)PTR_strlen_00158444)(local_3c);\n          if (1 < uVar10) {\n            iVar20 = iVar11 + uVar10;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }\n        iVar20 = local_5c;\n        if (*PTR_history_expansion_char_00156fcc == cVar1) {\nLAB_0011e340:\n          iVar15 = (int)pcVar6[local_5c + 1];\n          if ((((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))) {\n            iVar20 = local_5c;\n            uVar12 = 0x27;\n            if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }\n            local_58[4] = 0;\n            local_58[5] = 0;\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            local_58[0] = iVar20;\n            iVar15 = (int)pcVar6[iVar20 + 1];\n            if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }\n            local_58[0] = iVar18;\n            iVar15 = local_58[0];\n            if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    /* WARNING: Could not emulate address calculation at 0x0011e968 */\n                    /* WARNING: Treating indirect jump as call */\n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *param_2 = uVar12;\n            (*(code *)PTR_xfree_00156bb4)(puVar4);\n            if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }\n      }\n      else {\n        if (iVar22 + -1 <= iVar11) {\n          iVar22 = iVar22 + 0x40;\n          puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n        }\n        puVar4[iVar11] = cVar1;\n        puVar4[iVar11 + 1] = 0;\n        uVar3 = 0;\n        iVar20 = iVar11 + 1;\n      }\nLAB_0011dc80:\n      local_5c = local_5c + 1;\n      iVar11 = iVar20;\n    } while (local_5c < local_c8);\n    *param_2 = puVar4;\n    if (pcVar6 != param_1) {\nLAB_0011f650:\n      (*(code *)PTR_xfree_00156bb4)(pcVar6);\n    }\n  }\n  else {\n    *param_2 = puVar4;\n    if (pcVar6 != param_1) {\n      local_a8 = 0;\n      goto LAB_0011f650;\n    }\n    local_a8 = 0;\n  }\n  uVar3 = (uint)(local_a8 != 0);\nLAB_0011f678:\n  if (local_3c[4] == *(int *)PTR___stack_chk_guard_0015858c) {\n    return uVar3;\n  }\n  iVar22 = local_3c[4];\n  puVar23 = PTR___stack_chk_fail_0015853c;\n  (*(code *)PTR___stack_chk_fail_0015853c)();\n  if (iVar22 == 0) {\n    iVar22 = (**(code **)(puVar23 + 0x384f4))(*(int *)(puVar23 + 0x36ccc) + 0x66e4);\n    if (iVar22 == 0) {\n      uVar3 = 0;\n    }\n    else {\n      iVar20 = (**(code **)(puVar23 + 0x38b94))(iVar22);\n      uVar3 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 10);\n      (**(code **)(puVar23 + 0x38c1c))(uVar3,iVar22);\n      *(undefined1 *)(uVar3 + iVar20) = 0x2f;\n      puVar13 = (undefined4 *)(uVar3 + iVar20 + 1);\n      iVar22 = *(int *)(puVar23 + 0x36d00);\n      uVar12 = *(undefined4 *)(iVar22 + 0x5d4);\n      *puVar13 = *(undefined4 *)(iVar22 + 0x5d0);\n      puVar13[1] = uVar12;\n      *(undefined1 *)(puVar13 + 2) = *(undefined1 *)(iVar22 + 0x5d8);\n    }\n  }\n  else {\n    iVar20 = (**(code **)(puVar23 + 0x38b94))();\n    uVar12 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 1);\n    uVar3 = (**(code **)(puVar23 + 0x38c1c))(uVar12,iVar22);\n  }\n  return uVar3;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined1 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "code *pcVar5;" type_identifier (pointer_declarator "*pcVar5" * identifier) ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "char cVar14;" primitive_type identifier ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "undefined4 uVar12;" type_identifier identifier ;) (declaration "undefined4 *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "bool bVar16;" primitive_type identifier ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "int iVar18;" primitive_type identifier ;) (declaration "int *piVar19;" primitive_type (pointer_declarator "*piVar19" * identifier) ;) (declaration "int iVar20;" primitive_type identifier ;) (declaration "int iVar21;" primitive_type identifier ;) (declaration "int iVar22;" primitive_type identifier ;) (declaration "undefined *puVar23;" type_identifier (pointer_declarator "*puVar23" * identifier) ;) (declaration "int local_c8;" primitive_type identifier ;) (declaration "uint local_c4;" type_identifier identifier ;) (declaration "char *local_c0;" primitive_type (pointer_declarator "*local_c0" * identifier) ;) (declaration "uint local_b0;" type_identifier identifier ;) (declaration "int local_a8;" primitive_type identifier ;) (declaration "int local_5c;" primitive_type identifier ;) (declaration "int local_58 [6];" primitive_type (array_declarator "local_58 [6]" identifier [ number_literal ]) ;) (declaration "undefined1 local_40;" type_identifier identifier ;) (declaration "undefined1 local_3f;" type_identifier identifier ;) (declaration "undefined1 local_3e;" type_identifier identifier ;) (declaration "int local_3c [5];" primitive_type (array_declarator "local_3c [5]" identifier [ number_literal ]) ;) (expression_statement "local_3c[4] = *(int *)PTR___stack_chk_guard_0015858c;" (assignment_expression "local_3c[4] = *(int *)PTR___stack_chk_guard_0015858c" (subscript_expression "local_3c[4]" identifier [ number_literal ]) = (pointer_expression "*(int *)PTR___stack_chk_guard_0015858c" * (cast_expression "(int *)PTR___stack_chk_guard_0015858c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (if_statement "if (param_2 == (undefined4 *)0x0) goto LAB_0011f678;" if (parenthesized_expression "(param_2 == (undefined4 *)0x0)" ( (binary_expression "param_2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0011f678;" goto statement_identifier ;)) (if_statement "if (*PTR_history_expansion_char_00156fcc == '\0') {\n    iVar22 = (*(code *)PTR_strlen_00158444)();\n    uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);\n    uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);\n    *param_2 = uVar12;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }" if (parenthesized_expression "(*PTR_history_expansion_char_00156fcc == '\0')" ( (binary_expression "*PTR_history_expansion_char_00156fcc == '\0'" (pointer_expression "*PTR_history_expansion_char_00156fcc" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar22 = (*(code *)PTR_strlen_00158444)();\n    uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);\n    uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);\n    *param_2 = uVar12;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }" { (expression_statement "iVar22 = (*(code *)PTR_strlen_00158444)();" (assignment_expression "iVar22 = (*(code *)PTR_strlen_00158444)()" identifier = (call_expression "(*(code *)PTR_strlen_00158444)()" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);" (assignment_expression "uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001565b8)(iVar22 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar22 + 1)" ( (binary_expression "iVar22 + 1" identifier + number_literal) )))) ;) (expression_statement "uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);" (assignment_expression "uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1)" identifier = (call_expression "(*(code *)PTR_strcpy_001584cc)(uVar12,param_1)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" ( (pointer_expression "*(code *)PTR_strcpy_001584cc" * (cast_expression "(code *)PTR_strcpy_001584cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar12,param_1)" ( identifier , identifier )))) ;) (expression_statement "*param_2 = uVar12;" (assignment_expression "*param_2 = uVar12" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0011f678;" goto statement_identifier ;) })) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(0x100);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(0x100)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xmalloc_001565b8)(0x100)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001565b8)(0x100)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x100)" ( number_literal ))))) ;) (expression_statement "*puVar4 = 0;" (assignment_expression "*puVar4 = 0" (pointer_expression "*puVar4" * identifier) = number_literal) ;) (expression_statement "local_c8 = (*(code *)PTR_strlen_00158444)(param_1);" (assignment_expression "local_c8 = (*(code *)PTR_strlen_00158444)(param_1)" identifier = (call_expression "(*(code *)PTR_strlen_00158444)(param_1)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (*param_1 != *PTR_history_subst_char_00156fd0) {\n    local_58[2] = 0;\n    local_58[3] = 0;\n    uVar3 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);\n    local_5c = 0;\n    pcVar6 = param_1;\n    if ((*(int *)PTR_history_quoting_state_001569a0 == 0x27) &&\n       (*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0)) {\n      FUN_0011c170(param_1,&local_5c,0);\n      if (param_1[local_5c] == '\0') goto LAB_0011d994;\n      local_5c = local_5c + 1;\n    }\n    puVar2 = PTR_history_quotes_inhibit_expansion_00157524;\n    puVar23 = PTR_history_comment_char_00156f80;\n    if (param_1[local_5c] != '\0') {\n      pcVar5 = (code *)(PTR_LAB_0015657c + -0x3e90);\n      do {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((uVar10 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {\nLAB_0011f800:\n          iVar22 = local_5c;\n          iVar20 = (int)(param_1 + local_5c)[1];\n          if (((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11))\n          {\n            iVar11 = (int)param_1[local_5c];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }\n          if (((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);\n            if (iVar22 == 0) break;\n          }\n        }\n        else {\n          iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2);\n          if (iVar22 < 2) goto LAB_0011f800;\n          local_5c = local_5c + iVar22 + -1;\n        }\nLAB_0011f7c0:\n        local_5c = local_5c + 1;\n      } while (param_1[local_5c] != '\0');\n    }\n    goto LAB_0011d994;\n  }" if (parenthesized_expression "(*param_1 != *PTR_history_subst_char_00156fd0)" ( (binary_expression "*param_1 != *PTR_history_subst_char_00156fd0" (pointer_expression "*param_1" * identifier) != (pointer_expression "*PTR_history_subst_char_00156fd0" * identifier)) )) (compound_statement "{\n    local_58[2] = 0;\n    local_58[3] = 0;\n    uVar3 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);\n    local_5c = 0;\n    pcVar6 = param_1;\n    if ((*(int *)PTR_history_quoting_state_001569a0 == 0x27) &&\n       (*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0)) {\n      FUN_0011c170(param_1,&local_5c,0);\n      if (param_1[local_5c] == '\0') goto LAB_0011d994;\n      local_5c = local_5c + 1;\n    }\n    puVar2 = PTR_history_quotes_inhibit_expansion_00157524;\n    puVar23 = PTR_history_comment_char_00156f80;\n    if (param_1[local_5c] != '\0') {\n      pcVar5 = (code *)(PTR_LAB_0015657c + -0x3e90);\n      do {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((uVar10 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {\nLAB_0011f800:\n          iVar22 = local_5c;\n          iVar20 = (int)(param_1 + local_5c)[1];\n          if (((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11))\n          {\n            iVar11 = (int)param_1[local_5c];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }\n          if (((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);\n            if (iVar22 == 0) break;\n          }\n        }\n        else {\n          iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2);\n          if (iVar22 < 2) goto LAB_0011f800;\n          local_5c = local_5c + iVar22 + -1;\n        }\nLAB_0011f7c0:\n        local_5c = local_5c + 1;\n      } while (param_1[local_5c] != '\0');\n    }\n    goto LAB_0011d994;\n  }" { (expression_statement "local_58[2] = 0;" (assignment_expression "local_58[2] = 0" (subscript_expression "local_58[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_58[3] = 0;" (assignment_expression "local_58[3] = 0" (subscript_expression "local_58[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar3 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);" (assignment_expression "uVar3 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22)" identifier = (call_expression "(uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)PTR_history_quoting_state_001569a0 == 0x22)" ( (binary_expression "*(int *)PTR_history_quoting_state_001569a0 == 0x22" (pointer_expression "*(int *)PTR_history_quoting_state_001569a0" * (cast_expression "(int *)PTR_history_quoting_state_001569a0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )))) ;) (expression_statement "local_5c = 0;" (assignment_expression "local_5c = 0" identifier = number_literal) ;) (expression_statement "pcVar6 = param_1;" (assignment_expression "pcVar6 = param_1" identifier = identifier) ;) (if_statement "if ((*(int *)PTR_history_quoting_state_001569a0 == 0x27) &&\n       (*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0)) {\n      FUN_0011c170(param_1,&local_5c,0);\n      if (param_1[local_5c] == '\0') goto LAB_0011d994;\n      local_5c = local_5c + 1;\n    }" if (parenthesized_expression "((*(int *)PTR_history_quoting_state_001569a0 == 0x27) &&\n       (*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0))" ( (binary_expression "(*(int *)PTR_history_quoting_state_001569a0 == 0x27) &&\n       (*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0)" (parenthesized_expression "(*(int *)PTR_history_quoting_state_001569a0 == 0x27)" ( (binary_expression "*(int *)PTR_history_quoting_state_001569a0 == 0x27" (pointer_expression "*(int *)PTR_history_quoting_state_001569a0" * (cast_expression "(int *)PTR_history_quoting_state_001569a0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) && (parenthesized_expression "(*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0)" ( (binary_expression "*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0" (pointer_expression "*(int *)PTR_history_quotes_inhibit_expansion_00157524" * (cast_expression "(int *)PTR_history_quotes_inhibit_expansion_00157524" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) ))) )) (compound_statement "{\n      FUN_0011c170(param_1,&local_5c,0);\n      if (param_1[local_5c] == '\0') goto LAB_0011d994;\n      local_5c = local_5c + 1;\n    }" { (expression_statement "FUN_0011c170(param_1,&local_5c,0);" (call_expression "FUN_0011c170(param_1,&local_5c,0)" identifier (argument_list "(param_1,&local_5c,0)" ( identifier , (pointer_expression "&local_5c" & identifier) , number_literal ))) ;) (if_statement "if (param_1[local_5c] == '\0') goto LAB_0011d994;" if (parenthesized_expression "(param_1[local_5c] == '\0')" ( (binary_expression "param_1[local_5c] == '\0'" (subscript_expression "param_1[local_5c]" identifier [ identifier ]) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0011d994;" goto statement_identifier ;)) (expression_statement "local_5c = local_5c + 1;" (assignment_expression "local_5c = local_5c + 1" identifier = (binary_expression "local_5c + 1" identifier + number_literal)) ;) })) (expression_statement "puVar2 = PTR_history_quotes_inhibit_expansion_00157524;" (assignment_expression "puVar2 = PTR_history_quotes_inhibit_expansion_00157524" identifier = identifier) ;) (expression_statement "puVar23 = PTR_history_comment_char_00156f80;" (assignment_expression "puVar23 = PTR_history_comment_char_00156f80" identifier = identifier) ;) (if_statement "if (param_1[local_5c] != '\0') {\n      pcVar5 = (code *)(PTR_LAB_0015657c + -0x3e90);\n      do {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((uVar10 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {\nLAB_0011f800:\n          iVar22 = local_5c;\n          iVar20 = (int)(param_1 + local_5c)[1];\n          if (((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11))\n          {\n            iVar11 = (int)param_1[local_5c];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }\n          if (((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);\n            if (iVar22 == 0) break;\n          }\n        }\n        else {\n          iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2);\n          if (iVar22 < 2) goto LAB_0011f800;\n          local_5c = local_5c + iVar22 + -1;\n        }\nLAB_0011f7c0:\n        local_5c = local_5c + 1;\n      } while (param_1[local_5c] != '\0');\n    }" if (parenthesized_expression "(param_1[local_5c] != '\0')" ( (binary_expression "param_1[local_5c] != '\0'" (subscript_expression "param_1[local_5c]" identifier [ identifier ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      pcVar5 = (code *)(PTR_LAB_0015657c + -0x3e90);\n      do {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((uVar10 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {\nLAB_0011f800:\n          iVar22 = local_5c;\n          iVar20 = (int)(param_1 + local_5c)[1];\n          if (((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11))\n          {\n            iVar11 = (int)param_1[local_5c];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }\n          if (((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);\n            if (iVar22 == 0) break;\n          }\n        }\n        else {\n          iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2);\n          if (iVar22 < 2) goto LAB_0011f800;\n          local_5c = local_5c + iVar22 + -1;\n        }\nLAB_0011f7c0:\n        local_5c = local_5c + 1;\n      } while (param_1[local_5c] != '\0');\n    }" { (expression_statement "pcVar5 = (code *)(PTR_LAB_0015657c + -0x3e90);" (assignment_expression "pcVar5 = (code *)(PTR_LAB_0015657c + -0x3e90)" identifier = (cast_expression "(code *)(PTR_LAB_0015657c + -0x3e90)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015657c + -0x3e90)" ( (binary_expression "PTR_LAB_0015657c + -0x3e90" identifier + number_literal) )))) ;) (do_statement "do {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((uVar10 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {\nLAB_0011f800:\n          iVar22 = local_5c;\n          iVar20 = (int)(param_1 + local_5c)[1];\n          if (((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11))\n          {\n            iVar11 = (int)param_1[local_5c];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }\n          if (((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);\n            if (iVar22 == 0) break;\n          }\n        }\n        else {\n          iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2);\n          if (iVar22 < 2) goto LAB_0011f800;\n          local_5c = local_5c + iVar22 + -1;\n        }\nLAB_0011f7c0:\n        local_5c = local_5c + 1;\n      } while (param_1[local_5c] != '\0');" do (compound_statement "{\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((uVar10 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {\nLAB_0011f800:\n          iVar22 = local_5c;\n          iVar20 = (int)(param_1 + local_5c)[1];\n          if (((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11))\n          {\n            iVar11 = (int)param_1[local_5c];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }\n          if (((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);\n            if (iVar22 == 0) break;\n          }\n        }\n        else {\n          iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2);\n          if (iVar22 < 2) goto LAB_0011f800;\n          local_5c = local_5c + iVar22 + -1;\n        }\nLAB_0011f7c0:\n        local_5c = local_5c + 1;\n      }" { (expression_statement "uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();" (assignment_expression "uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)()" identifier = (call_expression "(*(code *)PTR___ctype_get_mb_cur_max_001584e0)()" (parenthesized_expression "(*(code *)PTR___ctype_get_mb_cur_max_001584e0)" ( (pointer_expression "*(code *)PTR___ctype_get_mb_cur_max_001584e0" * (cast_expression "(code *)PTR___ctype_get_mb_cur_max_001584e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if ((uVar10 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {\nLAB_0011f800:\n          iVar22 = local_5c;\n          iVar20 = (int)(param_1 + local_5c)[1];\n          if (((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11))\n          {\n            iVar11 = (int)param_1[local_5c];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }\n          if (((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);\n            if (iVar22 == 0) break;\n          }\n        }\n        else {\n          iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2);\n          if (iVar22 < 2) goto LAB_0011f800;\n          local_5c = local_5c + iVar22 + -1;\n        }" if (parenthesized_expression "((uVar10 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0))" ( (binary_expression "(uVar10 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)" (parenthesized_expression "(uVar10 < 2)" ( (binary_expression "uVar10 < 2" identifier < number_literal) )) || (parenthesized_expression "(*(int *)PTR_rl_byte_oriented_00157e18 != 0)" ( (binary_expression "*(int *)PTR_rl_byte_oriented_00157e18 != 0" (pointer_expression "*(int *)PTR_rl_byte_oriented_00157e18" * (cast_expression "(int *)PTR_rl_byte_oriented_00157e18" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) ))) )) (compound_statement "{\nLAB_0011f800:\n          iVar22 = local_5c;\n          iVar20 = (int)(param_1 + local_5c)[1];\n          if (((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11))\n          {\n            iVar11 = (int)param_1[local_5c];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }\n          if (((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);\n            if (iVar22 == 0) break;\n          }\n        }" { (labeled_statement "LAB_0011f800:\n          iVar22 = local_5c;" statement_identifier : (expression_statement "iVar22 = local_5c;" (assignment_expression "iVar22 = local_5c" identifier = identifier) ;)) (expression_statement "iVar20 = (int)(param_1 + local_5c)[1];" (assignment_expression "iVar20 = (int)(param_1 + local_5c)[1]" identifier = (cast_expression "(int)(param_1 + local_5c)[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "(param_1 + local_5c)[1]" (parenthesized_expression "(param_1 + local_5c)" ( (binary_expression "param_1 + local_5c" identifier + identifier) )) [ number_literal ]))) ;) (if_statement "if (((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11))\n          {\n            iVar11 = (int)param_1[local_5c];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }" if (parenthesized_expression "(((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11))" ( (binary_expression "((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11)" (parenthesized_expression "((char)*puVar23 == 0)" ( (binary_expression "(char)*puVar23 == 0" (cast_expression "(char)*puVar23" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*puVar23" * identifier)) == number_literal) )) || (parenthesized_expression "(iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11)" ( (comma_expression "iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11" (assignment_expression "iVar11 = (int)param_1[local_5c]" identifier = (cast_expression "(int)param_1[local_5c]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[local_5c]" identifier [ identifier ]))) , (binary_expression "(char)*puVar23 != iVar11" (cast_expression "(char)*puVar23" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*puVar23" * identifier)) != identifier)) ))) )) (compound_statement "{\n            iVar11 = (int)param_1[local_5c];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }" { (expression_statement "iVar11 = (int)param_1[local_5c];" (assignment_expression "iVar11 = (int)param_1[local_5c]" identifier = (cast_expression "(int)param_1[local_5c]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[local_5c]" identifier [ identifier ]))) ;) (expression_statement "iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;" (assignment_expression "iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc" identifier = (cast_expression "(int)(char)*PTR_history_expansion_char_00156fcc" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)*PTR_history_expansion_char_00156fcc" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*PTR_history_expansion_char_00156fcc" * identifier)))) ;) (if_statement "if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }" if (parenthesized_expression "(iVar11 != iVar15)" ( (binary_expression "iVar11 != iVar15" identifier != identifier) )) (compound_statement "{\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }" { (if_statement "if (uVar3 == 0) goto LAB_0011f844;" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0011f844;" goto statement_identifier ;)) (labeled_statement "LAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }" statement_identifier : (if_statement "if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }" if (parenthesized_expression "(iVar11 == 0x5c)" ( (binary_expression "iVar11 == 0x5c" identifier == number_literal) )) (compound_statement "{\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }" { (if_statement "if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }" if (parenthesized_expression "(iVar20 == 0x22)" ( (binary_expression "iVar20 == 0x22" identifier == number_literal) )) (compound_statement "{\n                  local_5c = local_5c + 1;\n                }" { (expression_statement "local_5c = local_5c + 1;" (assignment_expression "local_5c = local_5c + 1" identifier = (binary_expression "local_5c + 1" identifier + number_literal)) ;) }) (else_clause "else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }" else (compound_statement "{\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }" { (expression_statement "iVar18 = *(int *)puVar2;" (assignment_expression "iVar18 = *(int *)puVar2" identifier = (pointer_expression "*(int *)puVar2" * (cast_expression "(int *)puVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (iVar18 != 0) goto LAB_0011f7a4;" if (parenthesized_expression "(iVar18 != 0)" ( (binary_expression "iVar18 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0011f7a4;" goto statement_identifier ;)) }))) }) (else_clause "else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }" else (compound_statement "{\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }" { (expression_statement "iVar18 = *(int *)puVar2;" (assignment_expression "iVar18 = *(int *)puVar2" identifier = (pointer_expression "*(int *)puVar2" * (cast_expression "(int *)puVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }" if (parenthesized_expression "(iVar18 != 0)" ( (binary_expression "iVar18 != 0" identifier != number_literal) )) (compound_statement "{\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }" { (if_statement "if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }" if (parenthesized_expression "(iVar11 == 0x22)" ( (binary_expression "iVar11 == 0x22" identifier == number_literal) )) (compound_statement "{\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }" { (labeled_statement "LAB_0011da74:\n                    uVar3 = 1 - uVar3;" statement_identifier : (expression_statement "uVar3 = 1 - uVar3;" (assignment_expression "uVar3 = 1 - uVar3" identifier = (binary_expression "1 - uVar3" number_literal - identifier)) ;)) }) (else_clause "else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }" else (compound_statement "{\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }" { (labeled_statement "LAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;" statement_identifier : (if_statement "if (uVar3 == 0) goto LAB_0011f858;" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0011f858;" goto statement_identifier ;))) (if_statement "if (iVar18 != 0) goto LAB_0011f7b4;" if (parenthesized_expression "(iVar18 != 0)" ( (binary_expression "iVar18 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0011f7b4;" goto statement_identifier ;)) }))) })) })))) (goto_statement "goto LAB_0011f7c0;" goto statement_identifier ;) })) }) (else_clause "else if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }" else (if_statement "if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (compound_statement "{\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }" { (if_statement "if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;" if (parenthesized_expression "((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0))))" ( (binary_expression "(local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))" (parenthesized_expression "(local_5c == 0)" ( (binary_expression "local_5c == 0" identifier == number_literal) )) || (parenthesized_expression "((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))" ( (parenthesized_expression "(param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0))" ( (binary_expression "param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)" (binary_expression "param_1[local_5c + -1] != '\0'" (subscript_expression "param_1[local_5c + -1]" identifier [ (binary_expression "local_5c + -1" identifier + number_literal) ]) != (char_literal "'\0'" ' escape_sequence ')) && (parenthesized_expression "(iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)" ( (comma_expression "iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0" (assignment_expression "iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c)" identifier = (call_expression "(*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c)" (parenthesized_expression "(*(code *)PTR_strchr_0015844c)" ( (pointer_expression "*(code *)PTR_strchr_0015844c" * (cast_expression "(code *)PTR_strchr_0015844c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_history_word_delimiters_0015825c)" ( (pointer_expression "*(undefined4 *)PTR_history_word_delimiters_0015825c" * (cast_expression "(undefined4 *)PTR_history_word_delimiters_0015825c" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )))) , (binary_expression "iVar11 != 0" identifier != number_literal)) ))) )) ))) )) (goto_statement "goto LAB_0011da2c;" goto statement_identifier ;)) (expression_statement "iVar11 = (int)param_1[iVar22];" (assignment_expression "iVar11 = (int)param_1[iVar22]" identifier = (cast_expression "(int)param_1[iVar22]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[iVar22]" identifier [ identifier ]))) ;) (expression_statement "iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;" (assignment_expression "iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc" identifier = (cast_expression "(int)(char)*PTR_history_expansion_char_00156fcc" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)*PTR_history_expansion_char_00156fcc" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*PTR_history_expansion_char_00156fcc" * identifier)))) ;) (if_statement "if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }" if (parenthesized_expression "(iVar11 != iVar15)" ( (binary_expression "iVar11 != iVar15" identifier != identifier) )) (compound_statement "{\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }" { (labeled_statement "LAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;" statement_identifier : (if_statement "if (*(int *)puVar2 == 0) goto LAB_0011f7c0;" if (parenthesized_expression "(*(int *)puVar2 == 0)" ( (binary_expression "*(int *)puVar2 == 0" (pointer_expression "*(int *)puVar2" * (cast_expression "(int *)puVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (goto_statement "goto LAB_0011f7c0;" goto statement_identifier ;))) (if_statement "if (iVar11 == 0x22) goto LAB_0011da74;" if (parenthesized_expression "(iVar11 == 0x22)" ( (binary_expression "iVar11 == 0x22" identifier == number_literal) )) (goto_statement "goto LAB_0011da74;" goto statement_identifier ;)) (labeled_statement "LAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }" statement_identifier : (if_statement "if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }" if (parenthesized_expression "(iVar11 == 0x27)" ( (binary_expression "iVar11 == 0x27" identifier == number_literal) )) (compound_statement "{\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }" { (if_statement "if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }" if (parenthesized_expression "(iVar22 < 1)" ( (binary_expression "iVar22 < 1" identifier < number_literal) )) (compound_statement "{\n                  bVar16 = false;\n                }" { (expression_statement "bVar16 = false;" (assignment_expression "bVar16 = false" identifier = false) ;) }) (else_clause "else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }" else (compound_statement "{\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }" { (expression_statement "bVar16 = param_1[iVar22 + -1] == '$';" (assignment_expression "bVar16 = param_1[iVar22 + -1] == '$'" identifier = (binary_expression "param_1[iVar22 + -1] == '$'" (subscript_expression "param_1[iVar22 + -1]" identifier [ (binary_expression "iVar22 + -1" identifier + number_literal) ]) == (char_literal "'$'" ' character '))) ;) }))) (expression_statement "local_5c = iVar22 + 1;" (assignment_expression "local_5c = iVar22 + 1" identifier = (binary_expression "iVar22 + 1" identifier + number_literal)) ;) (expression_statement "(*pcVar5)(param_1,&local_5c,bVar16);" (call_expression "(*pcVar5)(param_1,&local_5c,bVar16)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(param_1,&local_5c,bVar16)" ( identifier , (pointer_expression "&local_5c" & identifier) , identifier ))) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }" else (compound_statement "{\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }" { (labeled_statement "LAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }" statement_identifier : (if_statement "if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }" if (parenthesized_expression "((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15))))" ( (binary_expression "(iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))" (parenthesized_expression "(iVar11 == 0x5c)" ( (binary_expression "iVar11 == 0x5c" identifier == number_literal) )) && (parenthesized_expression "((iVar20 == 0x27 || (iVar20 == iVar15)))" ( (parenthesized_expression "(iVar20 == 0x27 || (iVar20 == iVar15))" ( (binary_expression "iVar20 == 0x27 || (iVar20 == iVar15)" (binary_expression "iVar20 == 0x27" identifier == number_literal) || (parenthesized_expression "(iVar20 == iVar15)" ( (binary_expression "iVar20 == iVar15" identifier == identifier) ))) )) ))) )) (compound_statement "{\n                  local_5c = iVar22 + 1;\n                }" { (expression_statement "local_5c = iVar22 + 1;" (assignment_expression "local_5c = iVar22 + 1" identifier = (binary_expression "iVar22 + 1" identifier + number_literal)) ;) }))) })))) (goto_statement "goto LAB_0011f7c0;" goto statement_identifier ;) })) }) (else_clause "else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }" else (compound_statement "{\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }" { (expression_statement "iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;" (assignment_expression "iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc" identifier = (cast_expression "(int)(char)*PTR_history_expansion_char_00156fcc" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)*PTR_history_expansion_char_00156fcc" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*PTR_history_expansion_char_00156fcc" * identifier)))) ;) (if_statement "if (iVar11 != iVar15) goto LAB_0011f788;" if (parenthesized_expression "(iVar11 != iVar15)" ( (binary_expression "iVar11 != iVar15" identifier != identifier) )) (goto_statement "goto LAB_0011f788;" goto statement_identifier ;)) }))))) (if_statement "if (((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);\n            if (iVar22 == 0) break;\n          }" if (parenthesized_expression "(((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22))))" ( (binary_expression "((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22)))" (parenthesized_expression "((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0))" ( (binary_expression "(iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)" (parenthesized_expression "(iVar20 != 0)" ( (binary_expression "iVar20 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)" ( (comma_expression "iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0" (assignment_expression "iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20)" identifier = (call_expression "(*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20)" (parenthesized_expression "(*(code *)PTR_strchr_0015844c)" ( (pointer_expression "*(code *)PTR_strchr_0015844c" * (cast_expression "(code *)PTR_strchr_0015844c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20)" ( (pointer_expression "*(undefined4 *)PTR_history_no_expand_chars_00158260" * (cast_expression "(undefined4 *)PTR_history_no_expand_chars_00158260" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , identifier )))) , (binary_expression "iVar11 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "((uVar3 == 0 || (iVar20 != 0x22)))" ( (parenthesized_expression "(uVar3 == 0 || (iVar20 != 0x22))" ( (binary_expression "uVar3 == 0 || (iVar20 != 0x22)" (binary_expression "uVar3 == 0" identifier == number_literal) || (parenthesized_expression "(iVar20 != 0x22)" ( (binary_expression "iVar20 != 0x22" identifier != number_literal) ))) )) ))) )) (compound_statement "{\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);\n            if (iVar22 == 0) break;\n          }" { (if_statement "if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;" if (parenthesized_expression "(*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)" ( (binary_expression "*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0" (pointer_expression "*(code **)PTR_history_inhibit_expansion_function_0015752c" * (cast_expression "(code **)PTR_history_inhibit_expansion_function_0015752c" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0011d9ac;" goto statement_identifier ;)) (expression_statement "iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);" (assignment_expression "iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22)" identifier = (call_expression "(**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22)" (parenthesized_expression "(**(code **)PTR_history_inhibit_expansion_function_0015752c)" ( (pointer_expression "**(code **)PTR_history_inhibit_expansion_function_0015752c" * (pointer_expression "*(code **)PTR_history_inhibit_expansion_function_0015752c" * (cast_expression "(code **)PTR_history_inhibit_expansion_function_0015752c" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(param_1,iVar22)" ( identifier , identifier )))) ;) (if_statement "if (iVar22 == 0) break;" if (parenthesized_expression "(iVar22 == 0)" ( (binary_expression "iVar22 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) })) }) (else_clause "else {\n          iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2);\n          if (iVar22 < 2) goto LAB_0011f800;\n          local_5c = local_5c + iVar22 + -1;\n        }" else (compound_statement "{\n          iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2);\n          if (iVar22 < 2) goto LAB_0011f800;\n          local_5c = local_5c + iVar22 + -1;\n        }" { (expression_statement "iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2);" (assignment_expression "iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2)" identifier = (call_expression "_rl_get_char_len(param_1 + local_5c,local_58 + 2)" identifier (argument_list "(param_1 + local_5c,local_58 + 2)" ( (binary_expression "param_1 + local_5c" identifier + identifier) , (binary_expression "local_58 + 2" identifier + number_literal) )))) ;) (if_statement "if (iVar22 < 2) goto LAB_0011f800;" if (parenthesized_expression "(iVar22 < 2)" ( (binary_expression "iVar22 < 2" identifier < number_literal) )) (goto_statement "goto LAB_0011f800;" goto statement_identifier ;)) (expression_statement "local_5c = local_5c + iVar22 + -1;" (assignment_expression "local_5c = local_5c + iVar22 + -1" identifier = (binary_expression "local_5c + iVar22 + -1" (binary_expression "local_5c + iVar22" identifier + identifier) + number_literal)) ;) }))) (labeled_statement "LAB_0011f7c0:\n        local_5c = local_5c + 1;" statement_identifier : (expression_statement "local_5c = local_5c + 1;" (assignment_expression "local_5c = local_5c + 1" identifier = (binary_expression "local_5c + 1" identifier + number_literal)) ;)) }) while (parenthesized_expression "(param_1[local_5c] != '\0')" ( (binary_expression "param_1[local_5c] != '\0'" (subscript_expression "param_1[local_5c]" identifier [ identifier ]) != (char_literal "'\0'" ' escape_sequence ')) )) ;) })) (goto_statement "goto LAB_0011d994;" goto statement_identifier ;) })) (expression_statement "pcVar6 = (char *)(*(code *)PTR_xmalloc_001565b8)(local_c8 + 5);" (assignment_expression "pcVar6 = (char *)(*(code *)PTR_xmalloc_001565b8)(local_c8 + 5)" identifier = (cast_expression "(char *)(*(code *)PTR_xmalloc_001565b8)(local_c8 + 5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001565b8)(local_c8 + 5)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_c8 + 5)" ( (binary_expression "local_c8 + 5" identifier + number_literal) ))))) ;) (expression_statement "cVar1 = *PTR_history_expansion_char_00156fcc;" (assignment_expression "cVar1 = *PTR_history_expansion_char_00156fcc" identifier = (pointer_expression "*PTR_history_expansion_char_00156fcc" * identifier)) ;) (expression_statement "pcVar6[1] = cVar1;" (assignment_expression "pcVar6[1] = cVar1" (subscript_expression "pcVar6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*pcVar6 = cVar1;" (assignment_expression "*pcVar6 = cVar1" (pointer_expression "*pcVar6" * identifier) = identifier) ;) (expression_statement "pcVar6[2] = ':';" (assignment_expression "pcVar6[2] = ':'" (subscript_expression "pcVar6[2]" identifier [ number_literal ]) = (char_literal "':'" ' character ')) ;) (expression_statement "pcVar6[3] = 's';" (assignment_expression "pcVar6[3] = 's'" (subscript_expression "pcVar6[3]" identifier [ number_literal ]) = (char_literal "'s'" ' character ')) ;) (expression_statement "(*(code *)PTR_strcpy_001584cc)(pcVar6 + 4,param_1);" (call_expression "(*(code *)PTR_strcpy_001584cc)(pcVar6 + 4,param_1)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" ( (pointer_expression "*(code *)PTR_strcpy_001584cc" * (cast_expression "(code *)PTR_strcpy_001584cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar6 + 4,param_1)" ( (binary_expression "pcVar6 + 4" identifier + number_literal) , identifier ))) ;) (expression_statement "local_c8 = local_c8 + 4;" (assignment_expression "local_c8 = local_c8 + 4" identifier = (binary_expression "local_c8 + 4" identifier + number_literal)) ;) (goto_statement "goto LAB_0011d9ac;" goto statement_identifier ;) (labeled_statement "LAB_0011da2c:\n  do {\n    local_5c = iVar22 + 1;\n    iVar22 = local_5c;\n  } while (param_1[local_5c] != '\0');" statement_identifier : (do_statement "do {\n    local_5c = iVar22 + 1;\n    iVar22 = local_5c;\n  } while (param_1[local_5c] != '\0');" do (compound_statement "{\n    local_5c = iVar22 + 1;\n    iVar22 = local_5c;\n  }" { (expression_statement "local_5c = iVar22 + 1;" (assignment_expression "local_5c = iVar22 + 1" identifier = (binary_expression "iVar22 + 1" identifier + number_literal)) ;) (expression_statement "iVar22 = local_5c;" (assignment_expression "iVar22 = local_5c" identifier = identifier) ;) }) while (parenthesized_expression "(param_1[local_5c] != '\0')" ( (binary_expression "param_1[local_5c] != '\0'" (subscript_expression "param_1[local_5c]" identifier [ identifier ]) != (char_literal "'\0'" ' escape_sequence ')) )) ;)) (labeled_statement "LAB_0011d994:\n  if (param_1[local_5c] != *PTR_history_expansion_char_00156fcc) {\n    (*(code *)PTR_xfree_00156bb4)(puVar4);\n    iVar22 = (*(code *)PTR_strlen_00158444)(param_1);\n    uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);\n    uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);\n    *param_2 = uVar12;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }" statement_identifier : (if_statement "if (param_1[local_5c] != *PTR_history_expansion_char_00156fcc) {\n    (*(code *)PTR_xfree_00156bb4)(puVar4);\n    iVar22 = (*(code *)PTR_strlen_00158444)(param_1);\n    uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);\n    uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);\n    *param_2 = uVar12;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }" if (parenthesized_expression "(param_1[local_5c] != *PTR_history_expansion_char_00156fcc)" ( (binary_expression "param_1[local_5c] != *PTR_history_expansion_char_00156fcc" (subscript_expression "param_1[local_5c]" identifier [ identifier ]) != (pointer_expression "*PTR_history_expansion_char_00156fcc" * identifier)) )) (compound_statement "{\n    (*(code *)PTR_xfree_00156bb4)(puVar4);\n    iVar22 = (*(code *)PTR_strlen_00158444)(param_1);\n    uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);\n    uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);\n    *param_2 = uVar12;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }" { (expression_statement "(*(code *)PTR_xfree_00156bb4)(puVar4);" (call_expression "(*(code *)PTR_xfree_00156bb4)(puVar4)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" ( (pointer_expression "*(code *)PTR_xfree_00156bb4" * (cast_expression "(code *)PTR_xfree_00156bb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier ))) ;) (expression_statement "iVar22 = (*(code *)PTR_strlen_00158444)(param_1);" (assignment_expression "iVar22 = (*(code *)PTR_strlen_00158444)(param_1)" identifier = (call_expression "(*(code *)PTR_strlen_00158444)(param_1)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);" (assignment_expression "uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001565b8)(iVar22 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar22 + 1)" ( (binary_expression "iVar22 + 1" identifier + number_literal) )))) ;) (expression_statement "uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);" (assignment_expression "uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1)" identifier = (call_expression "(*(code *)PTR_strcpy_001584cc)(uVar12,param_1)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" ( (pointer_expression "*(code *)PTR_strcpy_001584cc" * (cast_expression "(code *)PTR_strcpy_001584cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar12,param_1)" ( identifier , identifier )))) ;) (expression_statement "*param_2 = uVar12;" (assignment_expression "*param_2 = uVar12" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0011f678;" goto statement_identifier ;) }))) (labeled_statement "LAB_0011d9ac:\n  local_c4 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);" statement_identifier : (expression_statement "local_c4 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);" (assignment_expression "local_c4 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22)" identifier = (call_expression "(uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)PTR_history_quoting_state_001569a0 == 0x22)" ( (binary_expression "*(int *)PTR_history_quoting_state_001569a0 == 0x22" (pointer_expression "*(int *)PTR_history_quoting_state_001569a0" * (cast_expression "(int *)PTR_history_quoting_state_001569a0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )))) ;)) (expression_statement "local_5c = 0;" (assignment_expression "local_5c = 0" identifier = number_literal) ;) (if_statement "if (*(int *)PTR_history_quoting_state_001569a0 == 0x27) {\n    iVar22 = 0x100;\n    if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n      local_b0 = 1;\n      iVar11 = 0;\n    }\n    else {\n      FUN_0011c170(pcVar6,&local_5c,0);\n      if (local_5c < 1) {\n        if (pcVar6[local_5c] == '\0') {\n          iVar22 = 0x100;\n          local_b0 = 0;\n          iVar11 = 0;\n        }\n        else {\n          iVar20 = 0;\n          iVar22 = 0x100;\nLAB_0011dbe0:\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[local_5c];\n          puVar4[iVar11] = 0;\n          local_5c = local_5c + 1;\n          local_b0 = 0;\n        }\n      }\n      else {\n        iVar22 = 0x100;\n        iVar20 = 0;\n        while( true ) {\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[iVar20];\n          puVar4[iVar11] = 0;\n          if (local_5c <= iVar11) break;\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n        }\n        if (pcVar6[local_5c] != '\0') {\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }\n    }\n  }\n  else {\n    iVar22 = 0x100;\n    local_b0 = 0;\n    iVar11 = 0;\n  }" if (parenthesized_expression "(*(int *)PTR_history_quoting_state_001569a0 == 0x27)" ( (binary_expression "*(int *)PTR_history_quoting_state_001569a0 == 0x27" (pointer_expression "*(int *)PTR_history_quoting_state_001569a0" * (cast_expression "(int *)PTR_history_quoting_state_001569a0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n    iVar22 = 0x100;\n    if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n      local_b0 = 1;\n      iVar11 = 0;\n    }\n    else {\n      FUN_0011c170(pcVar6,&local_5c,0);\n      if (local_5c < 1) {\n        if (pcVar6[local_5c] == '\0') {\n          iVar22 = 0x100;\n          local_b0 = 0;\n          iVar11 = 0;\n        }\n        else {\n          iVar20 = 0;\n          iVar22 = 0x100;\nLAB_0011dbe0:\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[local_5c];\n          puVar4[iVar11] = 0;\n          local_5c = local_5c + 1;\n          local_b0 = 0;\n        }\n      }\n      else {\n        iVar22 = 0x100;\n        iVar20 = 0;\n        while( true ) {\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[iVar20];\n          puVar4[iVar11] = 0;\n          if (local_5c <= iVar11) break;\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n        }\n        if (pcVar6[local_5c] != '\0') {\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }\n    }\n  }" { (expression_statement "iVar22 = 0x100;" (assignment_expression "iVar22 = 0x100" identifier = number_literal) ;) (if_statement "if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n      local_b0 = 1;\n      iVar11 = 0;\n    }\n    else {\n      FUN_0011c170(pcVar6,&local_5c,0);\n      if (local_5c < 1) {\n        if (pcVar6[local_5c] == '\0') {\n          iVar22 = 0x100;\n          local_b0 = 0;\n          iVar11 = 0;\n        }\n        else {\n          iVar20 = 0;\n          iVar22 = 0x100;\nLAB_0011dbe0:\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[local_5c];\n          puVar4[iVar11] = 0;\n          local_5c = local_5c + 1;\n          local_b0 = 0;\n        }\n      }\n      else {\n        iVar22 = 0x100;\n        iVar20 = 0;\n        while( true ) {\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[iVar20];\n          puVar4[iVar11] = 0;\n          if (local_5c <= iVar11) break;\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n        }\n        if (pcVar6[local_5c] != '\0') {\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }\n    }" if (parenthesized_expression "(*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)" ( (binary_expression "*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0" (pointer_expression "*(int *)PTR_history_quotes_inhibit_expansion_00157524" * (cast_expression "(int *)PTR_history_quotes_inhibit_expansion_00157524" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n      local_b0 = 1;\n      iVar11 = 0;\n    }" { (expression_statement "local_b0 = 1;" (assignment_expression "local_b0 = 1" identifier = number_literal) ;) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      FUN_0011c170(pcVar6,&local_5c,0);\n      if (local_5c < 1) {\n        if (pcVar6[local_5c] == '\0') {\n          iVar22 = 0x100;\n          local_b0 = 0;\n          iVar11 = 0;\n        }\n        else {\n          iVar20 = 0;\n          iVar22 = 0x100;\nLAB_0011dbe0:\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[local_5c];\n          puVar4[iVar11] = 0;\n          local_5c = local_5c + 1;\n          local_b0 = 0;\n        }\n      }\n      else {\n        iVar22 = 0x100;\n        iVar20 = 0;\n        while( true ) {\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[iVar20];\n          puVar4[iVar11] = 0;\n          if (local_5c <= iVar11) break;\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n        }\n        if (pcVar6[local_5c] != '\0') {\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }\n    }" else (compound_statement "{\n      FUN_0011c170(pcVar6,&local_5c,0);\n      if (local_5c < 1) {\n        if (pcVar6[local_5c] == '\0') {\n          iVar22 = 0x100;\n          local_b0 = 0;\n          iVar11 = 0;\n        }\n        else {\n          iVar20 = 0;\n          iVar22 = 0x100;\nLAB_0011dbe0:\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[local_5c];\n          puVar4[iVar11] = 0;\n          local_5c = local_5c + 1;\n          local_b0 = 0;\n        }\n      }\n      else {\n        iVar22 = 0x100;\n        iVar20 = 0;\n        while( true ) {\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[iVar20];\n          puVar4[iVar11] = 0;\n          if (local_5c <= iVar11) break;\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n        }\n        if (pcVar6[local_5c] != '\0') {\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }\n    }" { (expression_statement "FUN_0011c170(pcVar6,&local_5c,0);" (call_expression "FUN_0011c170(pcVar6,&local_5c,0)" identifier (argument_list "(pcVar6,&local_5c,0)" ( identifier , (pointer_expression "&local_5c" & identifier) , number_literal ))) ;) (if_statement "if (local_5c < 1) {\n        if (pcVar6[local_5c] == '\0') {\n          iVar22 = 0x100;\n          local_b0 = 0;\n          iVar11 = 0;\n        }\n        else {\n          iVar20 = 0;\n          iVar22 = 0x100;\nLAB_0011dbe0:\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[local_5c];\n          puVar4[iVar11] = 0;\n          local_5c = local_5c + 1;\n          local_b0 = 0;\n        }\n      }\n      else {\n        iVar22 = 0x100;\n        iVar20 = 0;\n        while( true ) {\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[iVar20];\n          puVar4[iVar11] = 0;\n          if (local_5c <= iVar11) break;\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n        }\n        if (pcVar6[local_5c] != '\0') {\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }" if (parenthesized_expression "(local_5c < 1)" ( (binary_expression "local_5c < 1" identifier < number_literal) )) (compound_statement "{\n        if (pcVar6[local_5c] == '\0') {\n          iVar22 = 0x100;\n          local_b0 = 0;\n          iVar11 = 0;\n        }\n        else {\n          iVar20 = 0;\n          iVar22 = 0x100;\nLAB_0011dbe0:\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[local_5c];\n          puVar4[iVar11] = 0;\n          local_5c = local_5c + 1;\n          local_b0 = 0;\n        }\n      }" { (if_statement "if (pcVar6[local_5c] == '\0') {\n          iVar22 = 0x100;\n          local_b0 = 0;\n          iVar11 = 0;\n        }\n        else {\n          iVar20 = 0;\n          iVar22 = 0x100;\nLAB_0011dbe0:\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[local_5c];\n          puVar4[iVar11] = 0;\n          local_5c = local_5c + 1;\n          local_b0 = 0;\n        }" if (parenthesized_expression "(pcVar6[local_5c] == '\0')" ( (binary_expression "pcVar6[local_5c] == '\0'" (subscript_expression "pcVar6[local_5c]" identifier [ identifier ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar22 = 0x100;\n          local_b0 = 0;\n          iVar11 = 0;\n        }" { (expression_statement "iVar22 = 0x100;" (assignment_expression "iVar22 = 0x100" identifier = number_literal) ;) (expression_statement "local_b0 = 0;" (assignment_expression "local_b0 = 0" identifier = number_literal) ;) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) }) (else_clause "else {\n          iVar20 = 0;\n          iVar22 = 0x100;\nLAB_0011dbe0:\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[local_5c];\n          puVar4[iVar11] = 0;\n          local_5c = local_5c + 1;\n          local_b0 = 0;\n        }" else (compound_statement "{\n          iVar20 = 0;\n          iVar22 = 0x100;\nLAB_0011dbe0:\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[local_5c];\n          puVar4[iVar11] = 0;\n          local_5c = local_5c + 1;\n          local_b0 = 0;\n        }" { (expression_statement "iVar20 = 0;" (assignment_expression "iVar20 = 0" identifier = number_literal) ;) (expression_statement "iVar22 = 0x100;" (assignment_expression "iVar22 = 0x100" identifier = number_literal) ;) (labeled_statement "LAB_0011dbe0:\n          iVar11 = iVar20 + 1;" statement_identifier : (expression_statement "iVar11 = iVar20 + 1;" (assignment_expression "iVar11 = iVar20 + 1" identifier = (binary_expression "iVar20 + 1" identifier + number_literal)) ;)) (expression_statement "puVar4[iVar20] = pcVar6[local_5c];" (assignment_expression "puVar4[iVar20] = pcVar6[local_5c]" (subscript_expression "puVar4[iVar20]" identifier [ identifier ]) = (subscript_expression "pcVar6[local_5c]" identifier [ identifier ])) ;) (expression_statement "puVar4[iVar11] = 0;" (assignment_expression "puVar4[iVar11] = 0" (subscript_expression "puVar4[iVar11]" identifier [ identifier ]) = number_literal) ;) (expression_statement "local_5c = local_5c + 1;" (assignment_expression "local_5c = local_5c + 1" identifier = (binary_expression "local_5c + 1" identifier + number_literal)) ;) (expression_statement "local_b0 = 0;" (assignment_expression "local_b0 = 0" identifier = number_literal) ;) }))) }) (else_clause "else {\n        iVar22 = 0x100;\n        iVar20 = 0;\n        while( true ) {\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[iVar20];\n          puVar4[iVar11] = 0;\n          if (local_5c <= iVar11) break;\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n        }\n        if (pcVar6[local_5c] != '\0') {\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }" else (compound_statement "{\n        iVar22 = 0x100;\n        iVar20 = 0;\n        while( true ) {\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[iVar20];\n          puVar4[iVar11] = 0;\n          if (local_5c <= iVar11) break;\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n        }\n        if (pcVar6[local_5c] != '\0') {\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }" { (expression_statement "iVar22 = 0x100;" (assignment_expression "iVar22 = 0x100" identifier = number_literal) ;) (expression_statement "iVar20 = 0;" (assignment_expression "iVar20 = 0" identifier = number_literal) ;) (while_statement "while( true ) {\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[iVar20];\n          puVar4[iVar11] = 0;\n          if (local_5c <= iVar11) break;\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[iVar20];\n          puVar4[iVar11] = 0;\n          if (local_5c <= iVar11) break;\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n        }" { (expression_statement "iVar11 = iVar20 + 1;" (assignment_expression "iVar11 = iVar20 + 1" identifier = (binary_expression "iVar20 + 1" identifier + number_literal)) ;) (expression_statement "puVar4[iVar20] = pcVar6[iVar20];" (assignment_expression "puVar4[iVar20] = pcVar6[iVar20]" (subscript_expression "puVar4[iVar20]" identifier [ identifier ]) = (subscript_expression "pcVar6[iVar20]" identifier [ identifier ])) ;) (expression_statement "puVar4[iVar11] = 0;" (assignment_expression "puVar4[iVar11] = 0" (subscript_expression "puVar4[iVar11]" identifier [ identifier ]) = number_literal) ;) (if_statement "if (local_5c <= iVar11) break;" if (parenthesized_expression "(local_5c <= iVar11)" ( (binary_expression "local_5c <= iVar11" identifier <= identifier) )) (break_statement "break;" break ;)) (expression_statement "iVar20 = iVar11;" (assignment_expression "iVar20 = iVar11" identifier = identifier) ;) (if_statement "if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }" if (parenthesized_expression "(iVar22 + -1 <= iVar11)" ( (binary_expression "iVar22 + -1 <= iVar11" (binary_expression "iVar22 + -1" identifier + number_literal) <= identifier) )) (compound_statement "{\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }" { (expression_statement "iVar22 = iVar22 + 0x40;" (assignment_expression "iVar22 = iVar22 + 0x40" identifier = (binary_expression "iVar22 + 0x40" identifier + number_literal)) ;) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,iVar22)" ( identifier , identifier ))))) ;) })) })) (if_statement "if (pcVar6[local_5c] != '\0') {\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          goto LAB_0011dbe0;\n        }" if (parenthesized_expression "(pcVar6[local_5c] != '\0')" ( (binary_expression "pcVar6[local_5c] != '\0'" (subscript_expression "pcVar6[local_5c]" identifier [ identifier ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          goto LAB_0011dbe0;\n        }" { (expression_statement "iVar20 = iVar11;" (assignment_expression "iVar20 = iVar11" identifier = identifier) ;) (if_statement "if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }" if (parenthesized_expression "(iVar22 + -1 <= iVar11)" ( (binary_expression "iVar22 + -1 <= iVar11" (binary_expression "iVar22 + -1" identifier + number_literal) <= identifier) )) (compound_statement "{\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }" { (expression_statement "iVar22 = iVar22 + 0x40;" (assignment_expression "iVar22 = iVar22 + 0x40" identifier = (binary_expression "iVar22 + 0x40" identifier + number_literal)) ;) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,iVar22)" ( identifier , identifier ))))) ;) })) (goto_statement "goto LAB_0011dbe0;" goto statement_identifier ;) })) (expression_statement "local_b0 = 0;" (assignment_expression "local_b0 = 0" identifier = number_literal) ;) }))) }))) }) (else_clause "else {\n    iVar22 = 0x100;\n    local_b0 = 0;\n    iVar11 = 0;\n  }" else (compound_statement "{\n    iVar22 = 0x100;\n    local_b0 = 0;\n    iVar11 = 0;\n  }" { (expression_statement "iVar22 = 0x100;" (assignment_expression "iVar22 = 0x100" identifier = number_literal) ;) (expression_statement "local_b0 = 0;" (assignment_expression "local_b0 = 0" identifier = number_literal) ;) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) }))) (expression_statement "puVar2 = PTR_DAT_001565b0;" (assignment_expression "puVar2 = PTR_DAT_001565b0" identifier = identifier) ;) (expression_statement "puVar23 = PTR_DAT_0015656c;" (assignment_expression "puVar23 = PTR_DAT_0015656c" identifier = identifier) ;) (if_statement "if (local_5c < local_c8) {\n    local_a8 = 0;\n    uVar3 = 0;\n    do {\n      cVar1 = pcVar6[local_5c];\n      if (uVar3 == 0) {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((1 < uVar10) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {\n          local_3c[0] = 0;\n          local_3c[1] = 0;\n          local_3c[2] = 0;\n          local_3c[3] = 0;\n          piVar19 = local_3c;\n          cVar14 = cVar1;\n          do {\n            *(char *)piVar19 = cVar14;\n            local_58[2] = 0;\n            local_58[3] = 0;\n            iVar20 = _rl_get_char_len(local_3c,local_58 + 2);\n            if (iVar20 != -2) break;\n            local_5c = local_5c + 1;\n            piVar19 = (int *)((int)piVar19 + 1);\n            cVar14 = pcVar6[local_5c];\n          } while (local_3c + 4 != piVar19);\n          uVar10 = (*(code *)PTR_strlen_00158444)(local_3c);\n          if (1 < uVar10) {\n            iVar20 = iVar11 + uVar10;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }\n        iVar20 = local_5c;\n        if (*PTR_history_expansion_char_00156fcc == cVar1) {\nLAB_0011e340:\n          iVar15 = (int)pcVar6[local_5c + 1];\n          if ((((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))) {\n            iVar20 = local_5c;\n            uVar12 = 0x27;\n            if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }\n            local_58[4] = 0;\n            local_58[5] = 0;\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            local_58[0] = iVar20;\n            iVar15 = (int)pcVar6[iVar20 + 1];\n            if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }\n            local_58[0] = iVar18;\n            iVar15 = local_58[0];\n            if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    /* WARNING: Could not emulate address calculation at 0x0011e968 */\n                    /* WARNING: Treating indirect jump as call */\n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *param_2 = uVar12;\n            (*(code *)PTR_xfree_00156bb4)(puVar4);\n            if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }\n      }\n      else {\n        if (iVar22 + -1 <= iVar11) {\n          iVar22 = iVar22 + 0x40;\n          puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n        }\n        puVar4[iVar11] = cVar1;\n        puVar4[iVar11 + 1] = 0;\n        uVar3 = 0;\n        iVar20 = iVar11 + 1;\n      }\nLAB_0011dc80:\n      local_5c = local_5c + 1;\n      iVar11 = iVar20;\n    } while (local_5c < local_c8);\n    *param_2 = puVar4;\n    if (pcVar6 != param_1) {\nLAB_0011f650:\n      (*(code *)PTR_xfree_00156bb4)(pcVar6);\n    }\n  }\n  else {\n    *param_2 = puVar4;\n    if (pcVar6 != param_1) {\n      local_a8 = 0;\n      goto LAB_0011f650;\n    }\n    local_a8 = 0;\n  }" if (parenthesized_expression "(local_5c < local_c8)" ( (binary_expression "local_5c < local_c8" identifier < identifier) )) (compound_statement "{\n    local_a8 = 0;\n    uVar3 = 0;\n    do {\n      cVar1 = pcVar6[local_5c];\n      if (uVar3 == 0) {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((1 < uVar10) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {\n          local_3c[0] = 0;\n          local_3c[1] = 0;\n          local_3c[2] = 0;\n          local_3c[3] = 0;\n          piVar19 = local_3c;\n          cVar14 = cVar1;\n          do {\n            *(char *)piVar19 = cVar14;\n            local_58[2] = 0;\n            local_58[3] = 0;\n            iVar20 = _rl_get_char_len(local_3c,local_58 + 2);\n            if (iVar20 != -2) break;\n            local_5c = local_5c + 1;\n            piVar19 = (int *)((int)piVar19 + 1);\n            cVar14 = pcVar6[local_5c];\n          } while (local_3c + 4 != piVar19);\n          uVar10 = (*(code *)PTR_strlen_00158444)(local_3c);\n          if (1 < uVar10) {\n            iVar20 = iVar11 + uVar10;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }\n        iVar20 = local_5c;\n        if (*PTR_history_expansion_char_00156fcc == cVar1) {\nLAB_0011e340:\n          iVar15 = (int)pcVar6[local_5c + 1];\n          if ((((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))) {\n            iVar20 = local_5c;\n            uVar12 = 0x27;\n            if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }\n            local_58[4] = 0;\n            local_58[5] = 0;\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            local_58[0] = iVar20;\n            iVar15 = (int)pcVar6[iVar20 + 1];\n            if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }\n            local_58[0] = iVar18;\n            iVar15 = local_58[0];\n            if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    /* WARNING: Could not emulate address calculation at 0x0011e968 */\n                    /* WARNING: Treating indirect jump as call */\n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *param_2 = uVar12;\n            (*(code *)PTR_xfree_00156bb4)(puVar4);\n            if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }\n      }\n      else {\n        if (iVar22 + -1 <= iVar11) {\n          iVar22 = iVar22 + 0x40;\n          puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n        }\n        puVar4[iVar11] = cVar1;\n        puVar4[iVar11 + 1] = 0;\n        uVar3 = 0;\n        iVar20 = iVar11 + 1;\n      }\nLAB_0011dc80:\n      local_5c = local_5c + 1;\n      iVar11 = iVar20;\n    } while (local_5c < local_c8);\n    *param_2 = puVar4;\n    if (pcVar6 != param_1) {\nLAB_0011f650:\n      (*(code *)PTR_xfree_00156bb4)(pcVar6);\n    }\n  }" { (expression_statement "local_a8 = 0;" (assignment_expression "local_a8 = 0" identifier = number_literal) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      cVar1 = pcVar6[local_5c];\n      if (uVar3 == 0) {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((1 < uVar10) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {\n          local_3c[0] = 0;\n          local_3c[1] = 0;\n          local_3c[2] = 0;\n          local_3c[3] = 0;\n          piVar19 = local_3c;\n          cVar14 = cVar1;\n          do {\n            *(char *)piVar19 = cVar14;\n            local_58[2] = 0;\n            local_58[3] = 0;\n            iVar20 = _rl_get_char_len(local_3c,local_58 + 2);\n            if (iVar20 != -2) break;\n            local_5c = local_5c + 1;\n            piVar19 = (int *)((int)piVar19 + 1);\n            cVar14 = pcVar6[local_5c];\n          } while (local_3c + 4 != piVar19);\n          uVar10 = (*(code *)PTR_strlen_00158444)(local_3c);\n          if (1 < uVar10) {\n            iVar20 = iVar11 + uVar10;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }\n        iVar20 = local_5c;\n        if (*PTR_history_expansion_char_00156fcc == cVar1) {\nLAB_0011e340:\n          iVar15 = (int)pcVar6[local_5c + 1];\n          if ((((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))) {\n            iVar20 = local_5c;\n            uVar12 = 0x27;\n            if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }\n            local_58[4] = 0;\n            local_58[5] = 0;\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            local_58[0] = iVar20;\n            iVar15 = (int)pcVar6[iVar20 + 1];\n            if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }\n            local_58[0] = iVar18;\n            iVar15 = local_58[0];\n            if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    /* WARNING: Could not emulate address calculation at 0x0011e968 */\n                    /* WARNING: Treating indirect jump as call */\n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *param_2 = uVar12;\n            (*(code *)PTR_xfree_00156bb4)(puVar4);\n            if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }\n      }\n      else {\n        if (iVar22 + -1 <= iVar11) {\n          iVar22 = iVar22 + 0x40;\n          puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n        }\n        puVar4[iVar11] = cVar1;\n        puVar4[iVar11 + 1] = 0;\n        uVar3 = 0;\n        iVar20 = iVar11 + 1;\n      }\nLAB_0011dc80:\n      local_5c = local_5c + 1;\n      iVar11 = iVar20;\n    } while (local_5c < local_c8);" do (compound_statement "{\n      cVar1 = pcVar6[local_5c];\n      if (uVar3 == 0) {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((1 < uVar10) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {\n          local_3c[0] = 0;\n          local_3c[1] = 0;\n          local_3c[2] = 0;\n          local_3c[3] = 0;\n          piVar19 = local_3c;\n          cVar14 = cVar1;\n          do {\n            *(char *)piVar19 = cVar14;\n            local_58[2] = 0;\n            local_58[3] = 0;\n            iVar20 = _rl_get_char_len(local_3c,local_58 + 2);\n            if (iVar20 != -2) break;\n            local_5c = local_5c + 1;\n            piVar19 = (int *)((int)piVar19 + 1);\n            cVar14 = pcVar6[local_5c];\n          } while (local_3c + 4 != piVar19);\n          uVar10 = (*(code *)PTR_strlen_00158444)(local_3c);\n          if (1 < uVar10) {\n            iVar20 = iVar11 + uVar10;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }\n        iVar20 = local_5c;\n        if (*PTR_history_expansion_char_00156fcc == cVar1) {\nLAB_0011e340:\n          iVar15 = (int)pcVar6[local_5c + 1];\n          if ((((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))) {\n            iVar20 = local_5c;\n            uVar12 = 0x27;\n            if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }\n            local_58[4] = 0;\n            local_58[5] = 0;\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            local_58[0] = iVar20;\n            iVar15 = (int)pcVar6[iVar20 + 1];\n            if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }\n            local_58[0] = iVar18;\n            iVar15 = local_58[0];\n            if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    /* WARNING: Could not emulate address calculation at 0x0011e968 */\n                    /* WARNING: Treating indirect jump as call */\n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *param_2 = uVar12;\n            (*(code *)PTR_xfree_00156bb4)(puVar4);\n            if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }\n      }\n      else {\n        if (iVar22 + -1 <= iVar11) {\n          iVar22 = iVar22 + 0x40;\n          puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n        }\n        puVar4[iVar11] = cVar1;\n        puVar4[iVar11 + 1] = 0;\n        uVar3 = 0;\n        iVar20 = iVar11 + 1;\n      }\nLAB_0011dc80:\n      local_5c = local_5c + 1;\n      iVar11 = iVar20;\n    }" { (expression_statement "cVar1 = pcVar6[local_5c];" (assignment_expression "cVar1 = pcVar6[local_5c]" identifier = (subscript_expression "pcVar6[local_5c]" identifier [ identifier ])) ;) (if_statement "if (uVar3 == 0) {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((1 < uVar10) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {\n          local_3c[0] = 0;\n          local_3c[1] = 0;\n          local_3c[2] = 0;\n          local_3c[3] = 0;\n          piVar19 = local_3c;\n          cVar14 = cVar1;\n          do {\n            *(char *)piVar19 = cVar14;\n            local_58[2] = 0;\n            local_58[3] = 0;\n            iVar20 = _rl_get_char_len(local_3c,local_58 + 2);\n            if (iVar20 != -2) break;\n            local_5c = local_5c + 1;\n            piVar19 = (int *)((int)piVar19 + 1);\n            cVar14 = pcVar6[local_5c];\n          } while (local_3c + 4 != piVar19);\n          uVar10 = (*(code *)PTR_strlen_00158444)(local_3c);\n          if (1 < uVar10) {\n            iVar20 = iVar11 + uVar10;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }\n        iVar20 = local_5c;\n        if (*PTR_history_expansion_char_00156fcc == cVar1) {\nLAB_0011e340:\n          iVar15 = (int)pcVar6[local_5c + 1];\n          if ((((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))) {\n            iVar20 = local_5c;\n            uVar12 = 0x27;\n            if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }\n            local_58[4] = 0;\n            local_58[5] = 0;\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            local_58[0] = iVar20;\n            iVar15 = (int)pcVar6[iVar20 + 1];\n            if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }\n            local_58[0] = iVar18;\n            iVar15 = local_58[0];\n            if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    /* WARNING: Could not emulate address calculation at 0x0011e968 */\n                    /* WARNING: Treating indirect jump as call */\n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *param_2 = uVar12;\n            (*(code *)PTR_xfree_00156bb4)(puVar4);\n            if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }\n      }\n      else {\n        if (iVar22 + -1 <= iVar11) {\n          iVar22 = iVar22 + 0x40;\n          puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n        }\n        puVar4[iVar11] = cVar1;\n        puVar4[iVar11 + 1] = 0;\n        uVar3 = 0;\n        iVar20 = iVar11 + 1;\n      }" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((1 < uVar10) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {\n          local_3c[0] = 0;\n          local_3c[1] = 0;\n          local_3c[2] = 0;\n          local_3c[3] = 0;\n          piVar19 = local_3c;\n          cVar14 = cVar1;\n          do {\n            *(char *)piVar19 = cVar14;\n            local_58[2] = 0;\n            local_58[3] = 0;\n            iVar20 = _rl_get_char_len(local_3c,local_58 + 2);\n            if (iVar20 != -2) break;\n            local_5c = local_5c + 1;\n            piVar19 = (int *)((int)piVar19 + 1);\n            cVar14 = pcVar6[local_5c];\n          } while (local_3c + 4 != piVar19);\n          uVar10 = (*(code *)PTR_strlen_00158444)(local_3c);\n          if (1 < uVar10) {\n            iVar20 = iVar11 + uVar10;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }\n        iVar20 = local_5c;\n        if (*PTR_history_expansion_char_00156fcc == cVar1) {\nLAB_0011e340:\n          iVar15 = (int)pcVar6[local_5c + 1];\n          if ((((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))) {\n            iVar20 = local_5c;\n            uVar12 = 0x27;\n            if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }\n            local_58[4] = 0;\n            local_58[5] = 0;\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            local_58[0] = iVar20;\n            iVar15 = (int)pcVar6[iVar20 + 1];\n            if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }\n            local_58[0] = iVar18;\n            iVar15 = local_58[0];\n            if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    /* WARNING: Could not emulate address calculation at 0x0011e968 */\n                    /* WARNING: Treating indirect jump as call */\n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *param_2 = uVar12;\n            (*(code *)PTR_xfree_00156bb4)(puVar4);\n            if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }\n      }" { (expression_statement "uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();" (assignment_expression "uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)()" identifier = (call_expression "(*(code *)PTR___ctype_get_mb_cur_max_001584e0)()" (parenthesized_expression "(*(code *)PTR___ctype_get_mb_cur_max_001584e0)" ( (pointer_expression "*(code *)PTR___ctype_get_mb_cur_max_001584e0" * (cast_expression "(code *)PTR___ctype_get_mb_cur_max_001584e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if ((1 < uVar10) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {\n          local_3c[0] = 0;\n          local_3c[1] = 0;\n          local_3c[2] = 0;\n          local_3c[3] = 0;\n          piVar19 = local_3c;\n          cVar14 = cVar1;\n          do {\n            *(char *)piVar19 = cVar14;\n            local_58[2] = 0;\n            local_58[3] = 0;\n            iVar20 = _rl_get_char_len(local_3c,local_58 + 2);\n            if (iVar20 != -2) break;\n            local_5c = local_5c + 1;\n            piVar19 = (int *)((int)piVar19 + 1);\n            cVar14 = pcVar6[local_5c];\n          } while (local_3c + 4 != piVar19);\n          uVar10 = (*(code *)PTR_strlen_00158444)(local_3c);\n          if (1 < uVar10) {\n            iVar20 = iVar11 + uVar10;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }" if (parenthesized_expression "((1 < uVar10) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0))" ( (binary_expression "(1 < uVar10) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)" (parenthesized_expression "(1 < uVar10)" ( (binary_expression "1 < uVar10" number_literal < identifier) )) && (parenthesized_expression "(*(int *)PTR_rl_byte_oriented_00157e18 == 0)" ( (binary_expression "*(int *)PTR_rl_byte_oriented_00157e18 == 0" (pointer_expression "*(int *)PTR_rl_byte_oriented_00157e18" * (cast_expression "(int *)PTR_rl_byte_oriented_00157e18" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) ))) )) (compound_statement "{\n          local_3c[0] = 0;\n          local_3c[1] = 0;\n          local_3c[2] = 0;\n          local_3c[3] = 0;\n          piVar19 = local_3c;\n          cVar14 = cVar1;\n          do {\n            *(char *)piVar19 = cVar14;\n            local_58[2] = 0;\n            local_58[3] = 0;\n            iVar20 = _rl_get_char_len(local_3c,local_58 + 2);\n            if (iVar20 != -2) break;\n            local_5c = local_5c + 1;\n            piVar19 = (int *)((int)piVar19 + 1);\n            cVar14 = pcVar6[local_5c];\n          } while (local_3c + 4 != piVar19);\n          uVar10 = (*(code *)PTR_strlen_00158444)(local_3c);\n          if (1 < uVar10) {\n            iVar20 = iVar11 + uVar10;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }" { (expression_statement "local_3c[0] = 0;" (assignment_expression "local_3c[0] = 0" (subscript_expression "local_3c[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_3c[1] = 0;" (assignment_expression "local_3c[1] = 0" (subscript_expression "local_3c[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_3c[2] = 0;" (assignment_expression "local_3c[2] = 0" (subscript_expression "local_3c[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_3c[3] = 0;" (assignment_expression "local_3c[3] = 0" (subscript_expression "local_3c[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar19 = local_3c;" (assignment_expression "piVar19 = local_3c" identifier = identifier) ;) (expression_statement "cVar14 = cVar1;" (assignment_expression "cVar14 = cVar1" identifier = identifier) ;) (do_statement "do {\n            *(char *)piVar19 = cVar14;\n            local_58[2] = 0;\n            local_58[3] = 0;\n            iVar20 = _rl_get_char_len(local_3c,local_58 + 2);\n            if (iVar20 != -2) break;\n            local_5c = local_5c + 1;\n            piVar19 = (int *)((int)piVar19 + 1);\n            cVar14 = pcVar6[local_5c];\n          } while (local_3c + 4 != piVar19);" do (compound_statement "{\n            *(char *)piVar19 = cVar14;\n            local_58[2] = 0;\n            local_58[3] = 0;\n            iVar20 = _rl_get_char_len(local_3c,local_58 + 2);\n            if (iVar20 != -2) break;\n            local_5c = local_5c + 1;\n            piVar19 = (int *)((int)piVar19 + 1);\n            cVar14 = pcVar6[local_5c];\n          }" { (expression_statement "*(char *)piVar19 = cVar14;" (assignment_expression "*(char *)piVar19 = cVar14" (pointer_expression "*(char *)piVar19" * (cast_expression "(char *)piVar19" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "local_58[2] = 0;" (assignment_expression "local_58[2] = 0" (subscript_expression "local_58[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_58[3] = 0;" (assignment_expression "local_58[3] = 0" (subscript_expression "local_58[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar20 = _rl_get_char_len(local_3c,local_58 + 2);" (assignment_expression "iVar20 = _rl_get_char_len(local_3c,local_58 + 2)" identifier = (call_expression "_rl_get_char_len(local_3c,local_58 + 2)" identifier (argument_list "(local_3c,local_58 + 2)" ( identifier , (binary_expression "local_58 + 2" identifier + number_literal) )))) ;) (if_statement "if (iVar20 != -2) break;" if (parenthesized_expression "(iVar20 != -2)" ( (binary_expression "iVar20 != -2" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "local_5c = local_5c + 1;" (assignment_expression "local_5c = local_5c + 1" identifier = (binary_expression "local_5c + 1" identifier + number_literal)) ;) (expression_statement "piVar19 = (int *)((int)piVar19 + 1);" (assignment_expression "piVar19 = (int *)((int)piVar19 + 1)" identifier = (cast_expression "(int *)((int)piVar19 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar19 + 1)" ( (binary_expression "(int)piVar19 + 1" (cast_expression "(int)piVar19" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "cVar14 = pcVar6[local_5c];" (assignment_expression "cVar14 = pcVar6[local_5c]" identifier = (subscript_expression "pcVar6[local_5c]" identifier [ identifier ])) ;) }) while (parenthesized_expression "(local_3c + 4 != piVar19)" ( (binary_expression "local_3c + 4 != piVar19" (binary_expression "local_3c + 4" identifier + number_literal) != identifier) )) ;) (expression_statement "uVar10 = (*(code *)PTR_strlen_00158444)(local_3c);" (assignment_expression "uVar10 = (*(code *)PTR_strlen_00158444)(local_3c)" identifier = (call_expression "(*(code *)PTR_strlen_00158444)(local_3c)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_3c)" ( identifier )))) ;) (if_statement "if (1 < uVar10) {\n            iVar20 = iVar11 + uVar10;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }" if (parenthesized_expression "(1 < uVar10)" ( (binary_expression "1 < uVar10" number_literal < identifier) )) (compound_statement "{\n            iVar20 = iVar11 + uVar10;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }" { (expression_statement "iVar20 = iVar11 + uVar10;" (assignment_expression "iVar20 = iVar11 + uVar10" identifier = (binary_expression "iVar11 + uVar10" identifier + identifier)) ;) (expression_statement "iVar11 = iVar22;" (assignment_expression "iVar11 = iVar22" identifier = identifier) ;) (if_statement "if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }" if (parenthesized_expression "(iVar22 <= iVar20)" ( (binary_expression "iVar22 <= iVar20" identifier <= identifier) )) (compound_statement "{\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }" { (do_statement "do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);" do (compound_statement "{\n                iVar11 = iVar11 + 0x80;\n              }" { (expression_statement "iVar11 = iVar11 + 0x80;" (assignment_expression "iVar11 = iVar11 + 0x80" identifier = (binary_expression "iVar11 + 0x80" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar11 <= iVar20)" ( (binary_expression "iVar11 <= iVar20" identifier <= identifier) )) ;) (expression_statement "iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);" (assignment_expression "iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U)" identifier = (binary_expression "iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U)" (binary_expression "iVar22 + 0x80" identifier + number_literal) + (parenthesized_expression "(iVar20 - iVar22 & 0xffffff80U)" ( (binary_expression "iVar20 - iVar22 & 0xffffff80U" (binary_expression "iVar20 - iVar22" identifier - identifier) & number_literal) )))) ;) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,iVar22)" ( identifier , identifier ))))) ;) })) (expression_statement "(*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);" (call_expression "(*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" ( (pointer_expression "*(code *)PTR_strcpy_001584cc" * (cast_expression "(code *)PTR_strcpy_001584cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4 + (iVar20 - uVar10),local_3c)" ( (binary_expression "puVar4 + (iVar20 - uVar10)" identifier + (parenthesized_expression "(iVar20 - uVar10)" ( (binary_expression "iVar20 - uVar10" identifier - identifier) ))) , identifier ))) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0011dc80;" goto statement_identifier ;) })) })) (expression_statement "iVar20 = local_5c;" (assignment_expression "iVar20 = local_5c" identifier = identifier) ;) (if_statement "if (*PTR_history_expansion_char_00156fcc == cVar1) {\nLAB_0011e340:\n          iVar15 = (int)pcVar6[local_5c + 1];\n          if ((((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))) {\n            iVar20 = local_5c;\n            uVar12 = 0x27;\n            if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }\n            local_58[4] = 0;\n            local_58[5] = 0;\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            local_58[0] = iVar20;\n            iVar15 = (int)pcVar6[iVar20 + 1];\n            if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }\n            local_58[0] = iVar18;\n            iVar15 = local_58[0];\n            if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    /* WARNING: Could not emulate address calculation at 0x0011e968 */\n                    /* WARNING: Treating indirect jump as call */\n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *param_2 = uVar12;\n            (*(code *)PTR_xfree_00156bb4)(puVar4);\n            if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }" if (parenthesized_expression "(*PTR_history_expansion_char_00156fcc == cVar1)" ( (binary_expression "*PTR_history_expansion_char_00156fcc == cVar1" (pointer_expression "*PTR_history_expansion_char_00156fcc" * identifier) == identifier) )) (compound_statement "{\nLAB_0011e340:\n          iVar15 = (int)pcVar6[local_5c + 1];\n          if ((((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))) {\n            iVar20 = local_5c;\n            uVar12 = 0x27;\n            if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }\n            local_58[4] = 0;\n            local_58[5] = 0;\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            local_58[0] = iVar20;\n            iVar15 = (int)pcVar6[iVar20 + 1];\n            if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }\n            local_58[0] = iVar18;\n            iVar15 = local_58[0];\n            if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    /* WARNING: Could not emulate address calculation at 0x0011e968 */\n                    /* WARNING: Treating indirect jump as call */\n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *param_2 = uVar12;\n            (*(code *)PTR_xfree_00156bb4)(puVar4);\n            if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }" { (labeled_statement "LAB_0011e340:\n          iVar15 = (int)pcVar6[local_5c + 1];" statement_identifier : (expression_statement "iVar15 = (int)pcVar6[local_5c + 1];" (assignment_expression "iVar15 = (int)pcVar6[local_5c + 1]" identifier = (cast_expression "(int)pcVar6[local_5c + 1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar6[local_5c + 1]" identifier [ (binary_expression "local_5c + 1" identifier + number_literal) ]))) ;)) (if_statement "if ((((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))) {\n            iVar20 = local_5c;\n            uVar12 = 0x27;\n            if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }\n            local_58[4] = 0;\n            local_58[5] = 0;\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            local_58[0] = iVar20;\n            iVar15 = (int)pcVar6[iVar20 + 1];\n            if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }\n            local_58[0] = iVar18;\n            iVar15 = local_58[0];\n            if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    /* WARNING: Could not emulate address calculation at 0x0011e968 */\n                    /* WARNING: Treating indirect jump as call */\n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *param_2 = uVar12;\n            (*(code *)PTR_xfree_00156bb4)(puVar4);\n            if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }" if (parenthesized_expression "((((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0))))" ( (binary_expression "(((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))" (parenthesized_expression "(((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22))))" ( (binary_expression "((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))" (parenthesized_expression "((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0))" ( (binary_expression "(iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)" (parenthesized_expression "(iVar15 != 0)" ( (binary_expression "iVar15 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)" ( (comma_expression "iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0" (assignment_expression "iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15)" identifier = (call_expression "(*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15)" (parenthesized_expression "(*(code *)PTR_strchr_0015844c)" ( (pointer_expression "*(code *)PTR_strchr_0015844c" * (cast_expression "(code *)PTR_strchr_0015844c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15)" ( (pointer_expression "*(undefined4 *)PTR_history_no_expand_chars_00158260" * (cast_expression "(undefined4 *)PTR_history_no_expand_chars_00158260" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , identifier )))) , (binary_expression "iVar18 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "((local_c4 == 0 || (iVar15 != 0x22)))" ( (parenthesized_expression "(local_c4 == 0 || (iVar15 != 0x22))" ( (binary_expression "local_c4 == 0 || (iVar15 != 0x22)" (binary_expression "local_c4 == 0" identifier == number_literal) || (parenthesized_expression "(iVar15 != 0x22)" ( (binary_expression "iVar15 != 0x22" identifier != number_literal) ))) )) ))) )) && (parenthesized_expression "((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))" ( (parenthesized_expression "(*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0))" ( (binary_expression "*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)" (binary_expression "*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0" (pointer_expression "*(code **)PTR_history_inhibit_expansion_function_0015752c" * (cast_expression "(code **)PTR_history_inhibit_expansion_function_0015752c" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) || (parenthesized_expression "(iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)" ( (comma_expression "iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0" (assignment_expression "iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20)" identifier = (call_expression "(**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20)" (parenthesized_expression "(**(code **)PTR_history_inhibit_expansion_function_0015752c)" ( (pointer_expression "**(code **)PTR_history_inhibit_expansion_function_0015752c" * (pointer_expression "*(code **)PTR_history_inhibit_expansion_function_0015752c" * (cast_expression "(code **)PTR_history_inhibit_expansion_function_0015752c" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(pcVar6,iVar20)" ( identifier , identifier )))) , (binary_expression "iVar20 == 0" identifier == number_literal)) ))) )) ))) )) (compound_statement "{\n            iVar20 = local_5c;\n            uVar12 = 0x27;\n            if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }\n            local_58[4] = 0;\n            local_58[5] = 0;\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            local_58[0] = iVar20;\n            iVar15 = (int)pcVar6[iVar20 + 1];\n            if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }\n            local_58[0] = iVar18;\n            iVar15 = local_58[0];\n            if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    /* WARNING: Could not emulate address calculation at 0x0011e968 */\n                    /* WARNING: Treating indirect jump as call */\n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *param_2 = uVar12;\n            (*(code *)PTR_xfree_00156bb4)(puVar4);\n            if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }" { (expression_statement "iVar20 = local_5c;" (assignment_expression "iVar20 = local_5c" identifier = identifier) ;) (expression_statement "uVar12 = 0x27;" (assignment_expression "uVar12 = 0x27" identifier = number_literal) ;) (if_statement "if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }" if (parenthesized_expression "((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0))" ( (binary_expression "(local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)" (parenthesized_expression "(local_b0 == 0)" ( (binary_expression "local_b0 == 0" identifier == number_literal) )) && (parenthesized_expression "(uVar12 = 0x22, local_c4 == 0)" ( (comma_expression "uVar12 = 0x22, local_c4 == 0" (assignment_expression "uVar12 = 0x22" identifier = number_literal) , (binary_expression "local_c4 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n              uVar12 = 0;\n            }" { (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" identifier = number_literal) ;) })) (expression_statement "local_58[4] = 0;" (assignment_expression "local_58[4] = 0" (subscript_expression "local_58[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_58[5] = 0;" (assignment_expression "local_58[5] = 0" (subscript_expression "local_58[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);" (assignment_expression "local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80)" identifier = (cast_expression "(char *)(*(code *)PTR_xmalloc_001565b8)(0x80)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001565b8)(0x80)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x80)" ( number_literal ))))) ;) (expression_statement "local_58[0] = iVar20;" (assignment_expression "local_58[0] = iVar20" (subscript_expression "local_58[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar15 = (int)pcVar6[iVar20 + 1];" (assignment_expression "iVar15 = (int)pcVar6[iVar20 + 1]" identifier = (cast_expression "(int)pcVar6[iVar20 + 1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar6[iVar20 + 1]" identifier [ (binary_expression "iVar20 + 1" identifier + number_literal) ]))) ;) (if_statement "if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }" if (parenthesized_expression "(iVar15 == 0)" ( (binary_expression "iVar15 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }" { (labeled_statement "LAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);" statement_identifier : (expression_statement "puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);" (assignment_expression "puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12)" identifier = (cast_expression "(undefined1 *)get_history_event(pcVar6,local_58,uVar12)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "get_history_event(pcVar6,local_58,uVar12)" identifier (argument_list "(pcVar6,local_58,uVar12)" ( identifier , identifier , identifier ))))) ;)) (expression_statement "iVar18 = local_58[0];" (assignment_expression "iVar18 = local_58[0]" identifier = (subscript_expression "local_58[0]" identifier [ number_literal ])) ;) }) (else_clause "else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }" else (compound_statement "{\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }" { (expression_statement "iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);" (assignment_expression "iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12)" identifier = (call_expression "(*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12)" (parenthesized_expression "(*(code *)PTR_strchr_0015844c)" ( (pointer_expression "*(code *)PTR_strchr_0015844c" * (cast_expression "(code *)PTR_strchr_0015844c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12)" ( (binary_expression "PTR_DAT_001565b0 + 0x44c" identifier + number_literal) , identifier , identifier )))) ;) (if_statement "if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }" if (parenthesized_expression "(iVar18 == 0)" ( (binary_expression "iVar18 == 0" identifier == number_literal) )) (compound_statement "{\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }" { (expression_statement "puVar7 = puVar4;" (assignment_expression "puVar7 = puVar4" identifier = identifier) ;) (expression_statement "iVar18 = iVar20 + 2;" (assignment_expression "iVar18 = iVar20 + 2" identifier = (binary_expression "iVar20 + 2" identifier + number_literal)) ;) (if_statement "if (iVar15 != 0x23) goto LAB_0011e654;" if (parenthesized_expression "(iVar15 != 0x23)" ( (binary_expression "iVar15 != 0x23" identifier != number_literal) )) (goto_statement "goto LAB_0011e654;" goto statement_identifier ;)) }) (else_clause "else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }" else (compound_statement "{\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }" { (expression_statement "local_58[1] = 0;" (assignment_expression "local_58[1] = 0" (subscript_expression "local_58[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_40 = *PTR_history_expansion_char_00156fcc;" (assignment_expression "local_40 = *PTR_history_expansion_char_00156fcc" identifier = (pointer_expression "*PTR_history_expansion_char_00156fcc" * identifier)) ;) (expression_statement "local_3e = 0;" (assignment_expression "local_3e = 0" identifier = number_literal) ;) (expression_statement "local_58[0] = iVar20 + 1;" (assignment_expression "local_58[0] = iVar20 + 1" (subscript_expression "local_58[0]" identifier [ number_literal ]) = (binary_expression "iVar20 + 1" identifier + number_literal)) ;) (expression_statement "local_3f = local_40;" (assignment_expression "local_3f = local_40" identifier = identifier) ;) (expression_statement "puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);" (assignment_expression "puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0)" identifier = (cast_expression "(undefined1 *)get_history_event(&local_40,local_58 + 1,0)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "get_history_event(&local_40,local_58 + 1,0)" identifier (argument_list "(&local_40,local_58 + 1,0)" ( (pointer_expression "&local_40" & identifier) , (binary_expression "local_58 + 1" identifier + number_literal) , number_literal ))))) ;) (expression_statement "iVar18 = local_58[0];" (assignment_expression "iVar18 = local_58[0]" identifier = (subscript_expression "local_58[0]" identifier [ number_literal ])) ;) }))) }))) (expression_statement "local_58[0] = iVar18;" (assignment_expression "local_58[0] = iVar18" (subscript_expression "local_58[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar15 = local_58[0];" (assignment_expression "iVar15 = local_58[0]" identifier = (subscript_expression "local_58[0]" identifier [ number_literal ])) ;) (if_statement "if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    /* WARNING: Could not emulate address calculation at 0x0011e968 */\n                    /* WARNING: Treating indirect jump as call */\n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }" if (parenthesized_expression "(puVar7 == (undefined1 *)0x0)" ( (binary_expression "puVar7 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }" { (expression_statement "uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);" (assignment_expression "uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0)" identifier = (call_expression "FUN_0011c1e4(pcVar6,iVar20,local_58[0],0)" identifier (argument_list "(pcVar6,iVar20,local_58[0],0)" ( identifier , identifier , (subscript_expression "local_58[0]" identifier [ number_literal ]) , number_literal )))) ;) (expression_statement "(*(code *)PTR_xfree_00156bb4)(local_c0);" (call_expression "(*(code *)PTR_xfree_00156bb4)(local_c0)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" ( (pointer_expression "*(code *)PTR_xfree_00156bb4" * (cast_expression "(code *)PTR_xfree_00156bb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_c0)" ( identifier ))) ;) }) (else_clause "else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    /* WARNING: Could not emulate address calculation at 0x0011e968 */\n                    /* WARNING: Treating indirect jump as call */\n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }" else (compound_statement "{\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    /* WARNING: Could not emulate address calculation at 0x0011e968 */\n                    /* WARNING: Treating indirect jump as call */\n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }" { (expression_statement "iVar20 = local_58[0] + 1;" (assignment_expression "iVar20 = local_58[0] + 1" identifier = (binary_expression "local_58[0] + 1" (subscript_expression "local_58[0]" identifier [ number_literal ]) + number_literal)) ;) (if_statement "if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }" if (parenthesized_expression "(pcVar6[local_58[0]] != ':')" ( (binary_expression "pcVar6[local_58[0]] != ':'" (subscript_expression "pcVar6[local_58[0]]" identifier [ (subscript_expression "local_58[0]" identifier [ number_literal ]) ]) != (char_literal "':'" ' character ')) )) (compound_statement "{\n                iVar20 = local_58[0];\n              }" { (expression_statement "iVar20 = local_58[0];" (assignment_expression "iVar20 = local_58[0]" identifier = (subscript_expression "local_58[0]" identifier [ number_literal ])) ;) })) (expression_statement "iVar18 = (int)pcVar6[iVar20];" (assignment_expression "iVar18 = (int)pcVar6[iVar20]" identifier = (cast_expression "(int)pcVar6[iVar20]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar6[iVar20]" identifier [ identifier ]))) ;) (if_statement "if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    /* WARNING: Could not emulate address calculation at 0x0011e968 */\n                    /* WARNING: Treating indirect jump as call */\n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }" if (parenthesized_expression "(iVar18 == 0x25)" ( (binary_expression "iVar18 == 0x25" identifier == number_literal) )) (compound_statement "{\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    /* WARNING: Could not emulate address calculation at 0x0011e968 */\n                    /* WARNING: Treating indirect jump as call */\n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }" { (expression_statement "local_58[0] = iVar20 + 1;" (assignment_expression "local_58[0] = iVar20 + 1" (subscript_expression "local_58[0]" identifier [ number_literal ]) = (binary_expression "iVar20 + 1" identifier + number_literal)) ;) (if_statement "if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }" if (parenthesized_expression "(*(int *)(PTR_DAT_0015656c + -0x3384) == 0)" ( (binary_expression "*(int *)(PTR_DAT_0015656c + -0x3384) == 0" (pointer_expression "*(int *)(PTR_DAT_0015656c + -0x3384)" * (cast_expression "(int *)(PTR_DAT_0015656c + -0x3384)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0015656c + -0x3384)" ( (binary_expression "PTR_DAT_0015656c + -0x3384" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }" { (expression_statement "puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);" (assignment_expression "puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001565b8)(1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1)" ( number_literal ))))) ;) (expression_statement "*puVar8 = 0;" (assignment_expression "*puVar8 = 0" (pointer_expression "*puVar8" * identifier) = number_literal) ;) }) (else_clause "else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }" else (compound_statement "{\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }" { (expression_statement "iVar20 = (*(code *)PTR_strlen_00158444)();" (assignment_expression "iVar20 = (*(code *)PTR_strlen_00158444)()" identifier = (call_expression "(*(code *)PTR_strlen_00158444)()" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);" (assignment_expression "uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001565b8)(iVar20 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar20 + 1)" ( (binary_expression "iVar20 + 1" identifier + number_literal) )))) ;) (expression_statement "puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));" (assignment_expression "puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384))" identifier = (cast_expression "(undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384))" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384))" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" ( (pointer_expression "*(code *)PTR_strcpy_001584cc" * (cast_expression "(code *)PTR_strcpy_001584cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384))" ( identifier , (pointer_expression "*(undefined4 *)(PTR_DAT_0015656c + -0x3384)" * (cast_expression "(undefined4 *)(PTR_DAT_0015656c + -0x3384)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0015656c + -0x3384)" ( (binary_expression "PTR_DAT_0015656c + -0x3384" identifier + number_literal) )))) ))))) ;) }))) (labeled_statement "LAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    /* WARNING: Could not emulate address calculation at 0x0011e968 */\n                    /* WARNING: Treating indirect jump as call */\n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }" statement_identifier : (if_statement "if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    /* WARNING: Could not emulate address calculation at 0x0011e968 */\n                    /* WARNING: Treating indirect jump as call */\n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }" if (parenthesized_expression "(puVar8 != puVar23 + -0x336c)" ( (binary_expression "puVar8 != puVar23 + -0x336c" identifier != (binary_expression "puVar23 + -0x336c" identifier + number_literal)) )) (compound_statement "{\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    /* WARNING: Could not emulate address calculation at 0x0011e968 */\n                    /* WARNING: Treating indirect jump as call */\n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }" { (labeled_statement "LAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);" statement_identifier : (expression_statement "iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);" (assignment_expression "iVar20 = (*(code *)PTR_strlen_00158444)(puVar8)" identifier = (call_expression "(*(code *)PTR_strlen_00158444)(puVar8)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar8)" ( identifier )))) ;)) (expression_statement "uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);" (assignment_expression "uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001565b8)(iVar20 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar20 + 1)" ( (binary_expression "iVar20 + 1" identifier + number_literal) )))) ;) (expression_statement "uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);" (assignment_expression "uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8)" identifier = (call_expression "(*(code *)PTR_strcpy_001584cc)(uVar12,puVar8)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" ( (pointer_expression "*(code *)PTR_strcpy_001584cc" * (cast_expression "(code *)PTR_strcpy_001584cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar12,puVar8)" ( identifier , identifier )))) ;) (expression_statement "(*(code *)PTR_free_001585ac)(puVar8);" (call_expression "(*(code *)PTR_free_001585ac)(puVar8)" (parenthesized_expression "(*(code *)PTR_free_001585ac)" ( (pointer_expression "*(code *)PTR_free_001585ac" * (cast_expression "(code *)PTR_free_001585ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar8)" ( identifier ))) ;) (labeled_statement "LAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }" statement_identifier : (if_statement "if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }" if (parenthesized_expression "(pcVar6[local_58[0]] != ':')" ( (binary_expression "pcVar6[local_58[0]] != ':'" (subscript_expression "pcVar6[local_58[0]]" identifier [ (subscript_expression "local_58[0]" identifier [ number_literal ]) ]) != (char_literal "':'" ' character ')) )) (compound_statement "{\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }" { (expression_statement "local_58[0] = local_58[0] + -1;" (assignment_expression "local_58[0] = local_58[0] + -1" (subscript_expression "local_58[0]" identifier [ number_literal ]) = (binary_expression "local_58[0] + -1" (subscript_expression "local_58[0]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);" (assignment_expression "iVar20 = (*(code *)PTR_strlen_00158444)(uVar9)" identifier = (call_expression "(*(code *)PTR_strlen_00158444)(uVar9)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar9)" ( identifier )))) ;) (if_statement "if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }" if (parenthesized_expression "(0x7f < iVar20)" ( (binary_expression "0x7f < iVar20" number_literal < identifier) )) (compound_statement "{\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }" { (expression_statement "local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);" (assignment_expression "local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2)" identifier = (cast_expression "(char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_c0,iVar20 + 2)" ( identifier , (binary_expression "iVar20 + 2" identifier + number_literal) ))))) ;) })) (expression_statement "(*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);" (call_expression "(*(code *)PTR_strcpy_001584cc)(local_c0,uVar9)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" ( (pointer_expression "*(code *)PTR_strcpy_001584cc" * (cast_expression "(code *)PTR_strcpy_001584cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_c0,uVar9)" ( identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_xfree_00156bb4)(uVar9);" (call_expression "(*(code *)PTR_xfree_00156bb4)(uVar9)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" ( (pointer_expression "*(code *)PTR_xfree_00156bb4" * (cast_expression "(code *)PTR_xfree_00156bb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar9)" ( identifier ))) ;) (expression_statement "iVar20 = local_58[0];" (assignment_expression "iVar20 = local_58[0]" identifier = (subscript_expression "local_58[0]" identifier [ number_literal ])) ;) (expression_statement "local_a8 = local_a8 + 1;" (assignment_expression "local_a8 = local_a8 + 1" identifier = (binary_expression "local_a8 + 1" identifier + number_literal)) ;) (if_statement "if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }" if (parenthesized_expression "(*local_c0 != '\0')" ( (binary_expression "*local_c0 != '\0'" (pointer_expression "*local_c0" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }" { (expression_statement "iVar18 = (*(code *)PTR_strlen_00158444)();" (assignment_expression "iVar18 = (*(code *)PTR_strlen_00158444)()" identifier = (call_expression "(*(code *)PTR_strlen_00158444)()" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "iVar11 = iVar11 + iVar18;" (assignment_expression "iVar11 = iVar11 + iVar18" identifier = (binary_expression "iVar11 + iVar18" identifier + identifier)) ;) (expression_statement "iVar15 = iVar22;" (assignment_expression "iVar15 = iVar22" identifier = identifier) ;) (if_statement "if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }" if (parenthesized_expression "(iVar22 <= iVar11)" ( (binary_expression "iVar22 <= iVar11" identifier <= identifier) )) (compound_statement "{\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }" { (do_statement "do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);" do (compound_statement "{\n                          iVar15 = iVar15 + 0x80;\n                        }" { (expression_statement "iVar15 = iVar15 + 0x80;" (assignment_expression "iVar15 = iVar15 + 0x80" identifier = (binary_expression "iVar15 + 0x80" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar15 <= iVar11)" ( (binary_expression "iVar15 <= iVar11" identifier <= identifier) )) ;) (expression_statement "iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);" (assignment_expression "iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U)" identifier = (binary_expression "iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U)" (binary_expression "iVar22 + 0x80" identifier + number_literal) + (parenthesized_expression "(iVar11 - iVar22 & 0xffffff80U)" ( (binary_expression "iVar11 - iVar22 & 0xffffff80U" (binary_expression "iVar11 - iVar22" identifier - identifier) & number_literal) )))) ;) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,iVar22)" ( identifier , identifier ))))) ;) })) (expression_statement "(*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);" (call_expression "(*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" ( (pointer_expression "*(code *)PTR_strcpy_001584cc" * (cast_expression "(code *)PTR_strcpy_001584cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4 + (iVar11 - iVar18),local_c0)" ( (binary_expression "puVar4 + (iVar11 - iVar18)" identifier + (parenthesized_expression "(iVar11 - iVar18)" ( (binary_expression "iVar11 - iVar18" identifier - identifier) ))) , identifier ))) ;) })) (expression_statement "(*(code *)PTR_xfree_00156bb4)(local_c0);" (call_expression "(*(code *)PTR_xfree_00156bb4)(local_c0)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" ( (pointer_expression "*(code *)PTR_xfree_00156bb4" * (cast_expression "(code *)PTR_xfree_00156bb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_c0)" ( identifier ))) ;) (expression_statement "local_5c = iVar20;" (assignment_expression "local_5c = iVar20" identifier = identifier) ;) (expression_statement "iVar20 = iVar11;" (assignment_expression "iVar20 = iVar11" identifier = identifier) ;) (goto_statement "goto LAB_0011dc80;" goto statement_identifier ;) }))) (expression_statement "iVar22 = (int)pcVar6[local_58[0] + 1];" (assignment_expression "iVar22 = (int)pcVar6[local_58[0] + 1]" identifier = (cast_expression "(int)pcVar6[local_58[0] + 1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar6[local_58[0] + 1]" identifier [ (binary_expression "local_58[0] + 1" (subscript_expression "local_58[0]" identifier [ number_literal ]) + number_literal) ]))) ;) (if_statement "if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }" if (parenthesized_expression "((iVar22 == 0x67) || (iVar22 == 0x61))" ( (binary_expression "(iVar22 == 0x67) || (iVar22 == 0x61)" (parenthesized_expression "(iVar22 == 0x67)" ( (binary_expression "iVar22 == 0x67" identifier == number_literal) )) || (parenthesized_expression "(iVar22 == 0x61)" ( (binary_expression "iVar22 == 0x61" identifier == number_literal) ))) )) (compound_statement "{\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }" { (expression_statement "iVar22 = (int)pcVar6[local_58[0] + 2];" (assignment_expression "iVar22 = (int)pcVar6[local_58[0] + 2]" identifier = (cast_expression "(int)pcVar6[local_58[0] + 2]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar6[local_58[0] + 2]" identifier [ (binary_expression "local_58[0] + 2" (subscript_expression "local_58[0]" identifier [ number_literal ]) + number_literal) ]))) ;) (expression_statement "local_58[0] = local_58[0] + 1;" (assignment_expression "local_58[0] = local_58[0] + 1" (subscript_expression "local_58[0]" identifier [ number_literal ]) = (binary_expression "local_58[0] + 1" (subscript_expression "local_58[0]" identifier [ number_literal ]) + number_literal)) ;) }) (else_clause "else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }" else (if_statement "if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }" if (parenthesized_expression "(iVar22 == 0x47)" ( (binary_expression "iVar22 == 0x47" identifier == number_literal) )) (compound_statement "{\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }" { (expression_statement "iVar22 = (int)pcVar6[local_58[0] + 2];" (assignment_expression "iVar22 = (int)pcVar6[local_58[0] + 2]" identifier = (cast_expression "(int)pcVar6[local_58[0] + 2]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar6[local_58[0] + 2]" identifier [ (binary_expression "local_58[0] + 2" (subscript_expression "local_58[0]" identifier [ number_literal ]) + number_literal) ]))) ;) (expression_statement "local_58[0] = local_58[0] + 1;" (assignment_expression "local_58[0] = local_58[0] + 1" (subscript_expression "local_58[0]" identifier [ number_literal ]) = (binary_expression "local_58[0] + 1" (subscript_expression "local_58[0]" identifier [ number_literal ]) + number_literal)) ;) })))) (if_statement "if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    /* WARNING: Could not emulate address calculation at 0x0011e968 */\n                    /* WARNING: Treating indirect jump as call */\n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }" if (parenthesized_expression "((iVar22 - 0x26U & 0xff) < 0x53)" ( (binary_expression "(iVar22 - 0x26U & 0xff) < 0x53" (parenthesized_expression "(iVar22 - 0x26U & 0xff)" ( (binary_expression "iVar22 - 0x26U & 0xff" (binary_expression "iVar22 - 0x26U" identifier - number_literal) & number_literal) )) < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x0011e968 */\n                    /* WARNING: Treating indirect jump as call */\n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }" { comment comment (expression_statement "uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();" (assignment_expression "uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))()" identifier = (call_expression "(*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484))" * (cast_expression "(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484))" ( (binary_expression "&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)" * (cast_expression "(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)" ( (binary_expression "puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484" (binary_expression "puVar2 + (iVar22 - 0x26U & 0xff) * 4" identifier + (binary_expression "(iVar22 - 0x26U & 0xff) * 4" (parenthesized_expression "(iVar22 - 0x26U & 0xff)" ( (binary_expression "iVar22 - 0x26U & 0xff" (binary_expression "iVar22 - 0x26U" identifier - number_literal) & number_literal) )) * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar3;" return identifier ;) })) (expression_statement "uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);" (assignment_expression "uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3)" identifier = (call_expression "FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3)" identifier (argument_list "(pcVar6,local_58[0] + 1,local_58[0] + 2,3)" ( identifier , (binary_expression "local_58[0] + 1" (subscript_expression "local_58[0]" identifier [ number_literal ]) + number_literal) , (binary_expression "local_58[0] + 2" (subscript_expression "local_58[0]" identifier [ number_literal ]) + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR_xfree_00156bb4)(local_c0);" (call_expression "(*(code *)PTR_xfree_00156bb4)(local_c0)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" ( (pointer_expression "*(code *)PTR_xfree_00156bb4" * (cast_expression "(code *)PTR_xfree_00156bb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_c0)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_xfree_00156bb4)(uVar9);" (call_expression "(*(code *)PTR_xfree_00156bb4)(uVar9)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" ( (pointer_expression "*(code *)PTR_xfree_00156bb4" * (cast_expression "(code *)PTR_xfree_00156bb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar9)" ( identifier ))) ;) (goto_statement "goto LAB_0011e9e8;" goto statement_identifier ;) }))) }) (else_clause "else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }" else (compound_statement "{\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }" { (if_statement "if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }" if (parenthesized_expression "(iVar18 == 0x2a)" ( (binary_expression "iVar18 == 0x2a" identifier == number_literal) )) (compound_statement "{\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }" { (expression_statement "local_58[0] = iVar20 + 1;" (assignment_expression "local_58[0] = iVar20 + 1" (subscript_expression "local_58[0]" identifier [ number_literal ]) = (binary_expression "iVar20 + 1" identifier + number_literal)) ;) (expression_statement "puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);" (assignment_expression "puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7)" identifier = (cast_expression "(undefined1 *)history_arg_extract(1,0x24,puVar7)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "history_arg_extract(1,0x24,puVar7)" identifier (argument_list "(1,0x24,puVar7)" ( number_literal , number_literal , identifier ))))) ;) (if_statement "if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }" if (parenthesized_expression "(puVar8 == (undefined1 *)0x0)" ( (binary_expression "puVar8 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }" { (expression_statement "puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);" (assignment_expression "puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001565b8)(1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1)" ( number_literal ))))) ;) (expression_statement "*puVar8 = 0;" (assignment_expression "*puVar8 = 0" (pointer_expression "*puVar8" * identifier) = number_literal) ;) })) (goto_statement "goto LAB_0011e5b8;" goto statement_identifier ;) })) (if_statement "if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }" if (parenthesized_expression "(iVar18 == 0x24)" ( (binary_expression "iVar18 == 0x24" identifier == number_literal) )) (compound_statement "{\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }" { (expression_statement "local_58[0] = iVar20 + 1;" (assignment_expression "local_58[0] = iVar20 + 1" (subscript_expression "local_58[0]" identifier [ number_literal ]) = (binary_expression "iVar20 + 1" identifier + number_literal)) ;) (expression_statement "puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);" (assignment_expression "puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7)" identifier = (cast_expression "(undefined1 *)history_arg_extract(0x24,0x24,puVar7)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "history_arg_extract(0x24,0x24,puVar7)" identifier (argument_list "(0x24,0x24,puVar7)" ( number_literal , number_literal , identifier ))))) ;) (if_statement "if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;" if (parenthesized_expression "(puVar8 == puVar23 + -0x336c)" ( (binary_expression "puVar8 == puVar23 + -0x336c" identifier == (binary_expression "puVar23 + -0x336c" identifier + number_literal)) )) (goto_statement "goto LAB_0011e864;" goto statement_identifier ;)) (if_statement "if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;" if (parenthesized_expression "(puVar8 != (undefined1 *)0x0)" ( (binary_expression "puVar8 != (undefined1 *)0x0" identifier != (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0011e5c8;" goto statement_identifier ;)) (labeled_statement "LAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);" statement_identifier : (expression_statement "iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);" (assignment_expression "iVar20 = (*(code *)PTR_strlen_00158444)(puVar7)" identifier = (call_expression "(*(code *)PTR_strlen_00158444)(puVar7)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar7)" ( identifier )))) ;)) (expression_statement "uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);" (assignment_expression "uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001565b8)(iVar20 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar20 + 1)" ( (binary_expression "iVar20 + 1" identifier + number_literal) )))) ;) (expression_statement "uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);" (assignment_expression "uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7)" identifier = (call_expression "(*(code *)PTR_strcpy_001584cc)(uVar12,puVar7)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" ( (pointer_expression "*(code *)PTR_strcpy_001584cc" * (cast_expression "(code *)PTR_strcpy_001584cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar12,puVar7)" ( identifier , identifier )))) ;) (goto_statement "goto LAB_0011e61c;" goto statement_identifier ;) })) (if_statement "if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }" if (parenthesized_expression "(iVar18 == 0x2d)" ( (binary_expression "iVar18 == 0x2d" identifier == number_literal) )) (compound_statement "{\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }" { (expression_statement "iVar21 = 0;" (assignment_expression "iVar21 = 0" identifier = number_literal) ;) (labeled_statement "LAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;" statement_identifier : (expression_statement "local_58[0] = iVar20 + 1;" (assignment_expression "local_58[0] = iVar20 + 1" (subscript_expression "local_58[0]" identifier [ number_literal ]) = (binary_expression "iVar20 + 1" identifier + number_literal)) ;)) (expression_statement "iVar17 = (int)pcVar6[local_58[0]];" (assignment_expression "iVar17 = (int)pcVar6[local_58[0]]" identifier = (cast_expression "(int)pcVar6[local_58[0]]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar6[local_58[0]]" identifier [ (subscript_expression "local_58[0]" identifier [ number_literal ]) ]))) ;) (if_statement "if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }" if (parenthesized_expression "((iVar17 - 0x30U & 0xff) < 10)" ( (binary_expression "(iVar17 - 0x30U & 0xff) < 10" (parenthesized_expression "(iVar17 - 0x30U & 0xff)" ( (binary_expression "iVar17 - 0x30U & 0xff" (binary_expression "iVar17 - 0x30U" identifier - number_literal) & number_literal) )) < number_literal) )) (compound_statement "{\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }" { (expression_statement "iVar18 = 0;" (assignment_expression "iVar18 = 0" identifier = number_literal) ;) (do_statement "do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);" do (compound_statement "{\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    }" { (expression_statement "iVar18 = iVar17 + -0x30 + iVar18 * 10;" (assignment_expression "iVar18 = iVar17 + -0x30 + iVar18 * 10" identifier = (binary_expression "iVar17 + -0x30 + iVar18 * 10" (binary_expression "iVar17 + -0x30" identifier + number_literal) + (binary_expression "iVar18 * 10" identifier * number_literal))) ;) (expression_statement "local_58[0] = local_58[0] + 1;" (assignment_expression "local_58[0] = local_58[0] + 1" (subscript_expression "local_58[0]" identifier [ number_literal ]) = (binary_expression "local_58[0] + 1" (subscript_expression "local_58[0]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "iVar17 = (int)pcVar6[local_58[0]];" (assignment_expression "iVar17 = (int)pcVar6[local_58[0]]" identifier = (cast_expression "(int)pcVar6[local_58[0]]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar6[local_58[0]]" identifier [ (subscript_expression "local_58[0]" identifier [ number_literal ]) ]))) ;) (expression_statement "bVar16 = iVar18 < iVar21;" (assignment_expression "bVar16 = iVar18 < iVar21" identifier = (binary_expression "iVar18 < iVar21" identifier < identifier)) ;) }) while (parenthesized_expression "((iVar17 - 0x30U & 0xff) < 10)" ( (binary_expression "(iVar17 - 0x30U & 0xff) < 10" (parenthesized_expression "(iVar17 - 0x30U & 0xff)" ( (binary_expression "iVar17 - 0x30U & 0xff" (binary_expression "iVar17 - 0x30U" identifier - number_literal) & number_literal) )) < number_literal) )) ;) (goto_statement "goto LAB_0011e840;" goto statement_identifier ;) })) (if_statement "if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }" if (parenthesized_expression "(iVar17 == 0x24)" ( (binary_expression "iVar17 == 0x24" identifier == number_literal) )) (compound_statement "{\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }" { (expression_statement "local_58[0] = iVar20 + 2;" (assignment_expression "local_58[0] = iVar20 + 2" (subscript_expression "local_58[0]" identifier [ number_literal ]) = (binary_expression "iVar20 + 2" identifier + number_literal)) ;) (expression_statement "iVar18 = 0x24;" (assignment_expression "iVar18 = 0x24" identifier = number_literal) ;) (goto_statement "goto LAB_0011e83c;" goto statement_identifier ;) })) (expression_statement "iVar18 = -1;" (assignment_expression "iVar18 = -1" identifier = number_literal) ;) }) (else_clause "else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }" else (compound_statement "{\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }" { (if_statement "if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }" if (parenthesized_expression "(iVar18 == 0x5e)" ( (binary_expression "iVar18 == 0x5e" identifier == number_literal) )) (compound_statement "{\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }" { (expression_statement "iVar20 = iVar20 + 1;" (assignment_expression "iVar20 = iVar20 + 1" identifier = (binary_expression "iVar20 + 1" identifier + number_literal)) ;) (expression_statement "iVar21 = 1;" (assignment_expression "iVar21 = 1" identifier = number_literal) ;) }) (else_clause "else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }" else (compound_statement "{\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }" { (if_statement "if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;" if (parenthesized_expression "((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))" ( (binary_expression "(9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':')" (parenthesized_expression "(9 < (iVar18 - 0x30U & 0xff))" ( (binary_expression "9 < (iVar18 - 0x30U & 0xff)" number_literal < (parenthesized_expression "(iVar18 - 0x30U & 0xff)" ( (binary_expression "iVar18 - 0x30U & 0xff" (binary_expression "iVar18 - 0x30U" identifier - number_literal) & number_literal) ))) )) || (parenthesized_expression "(pcVar6[local_58[0]] != ':')" ( (binary_expression "pcVar6[local_58[0]] != ':'" (subscript_expression "pcVar6[local_58[0]]" identifier [ (subscript_expression "local_58[0]" identifier [ number_literal ]) ]) != (char_literal "':'" ' character ')) ))) )) (goto_statement "goto LAB_0011e7cc;" goto statement_identifier ;)) (expression_statement "iVar21 = 0;" (assignment_expression "iVar21 = 0" identifier = number_literal) ;) (do_statement "do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);" do (compound_statement "{\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    }" { (expression_statement "iVar21 = iVar18 + -0x30 + iVar21 * 10;" (assignment_expression "iVar21 = iVar18 + -0x30 + iVar21 * 10" identifier = (binary_expression "iVar18 + -0x30 + iVar21 * 10" (binary_expression "iVar18 + -0x30" identifier + number_literal) + (binary_expression "iVar21 * 10" identifier * number_literal))) ;) (expression_statement "iVar20 = iVar20 + 1;" (assignment_expression "iVar20 = iVar20 + 1" identifier = (binary_expression "iVar20 + 1" identifier + number_literal)) ;) (expression_statement "iVar18 = (int)pcVar6[iVar20];" (assignment_expression "iVar18 = (int)pcVar6[iVar20]" identifier = (cast_expression "(int)pcVar6[iVar20]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar6[iVar20]" identifier [ identifier ]))) ;) }) while (parenthesized_expression "((iVar18 - 0x30U & 0xff) < 10)" ( (binary_expression "(iVar18 - 0x30U & 0xff) < 10" (parenthesized_expression "(iVar18 - 0x30U & 0xff)" ( (binary_expression "iVar18 - 0x30U & 0xff" (binary_expression "iVar18 - 0x30U" identifier - number_literal) & number_literal) )) < number_literal) )) ;) }))) (expression_statement "cVar1 = pcVar6[iVar20];" (assignment_expression "cVar1 = pcVar6[iVar20]" identifier = (subscript_expression "pcVar6[iVar20]" identifier [ identifier ])) ;) (if_statement "if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }" if (parenthesized_expression "(cVar1 == '^')" ( (binary_expression "cVar1 == '^'" identifier == (char_literal "'^'" ' character ')) )) (compound_statement "{\n                    iVar18 = 1;\n                  }" { (expression_statement "iVar18 = 1;" (assignment_expression "iVar18 = 1" identifier = number_literal) ;) }) (else_clause "else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }" else (compound_statement "{\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }" { (if_statement "if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }" if (parenthesized_expression "(cVar1 != '*')" ( (binary_expression "cVar1 != '*'" identifier != (char_literal "'*'" ' character ')) )) (compound_statement "{\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }" { (expression_statement "iVar18 = iVar21;" (assignment_expression "iVar18 = iVar21" identifier = identifier) ;) (expression_statement "local_58[0] = iVar20;" (assignment_expression "local_58[0] = iVar20" (subscript_expression "local_58[0]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (cVar1 == '-') goto LAB_0011e8ac;" if (parenthesized_expression "(cVar1 == '-')" ( (binary_expression "cVar1 == '-'" identifier == (char_literal "'-'" ' character ')) )) (goto_statement "goto LAB_0011e8ac;" goto statement_identifier ;)) (goto_statement "goto LAB_0011e5a4;" goto statement_identifier ;) })) (expression_statement "iVar18 = 0x24;" (assignment_expression "iVar18 = 0x24" identifier = number_literal) ;) }))) (expression_statement "local_58[0] = iVar20 + 1;" (assignment_expression "local_58[0] = iVar20 + 1" (subscript_expression "local_58[0]" identifier [ number_literal ]) = (binary_expression "iVar20 + 1" identifier + number_literal)) ;) (labeled_statement "LAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;" statement_identifier : (expression_statement "bVar16 = iVar18 < iVar21;" (assignment_expression "bVar16 = iVar18 < iVar21" identifier = (binary_expression "iVar18 < iVar21" identifier < identifier)) ;)) (labeled_statement "LAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;" statement_identifier : (if_statement "if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;" if (parenthesized_expression "(((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18))" ( (binary_expression "((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)" (parenthesized_expression "((bVar16) && (iVar18 != 0x24))" ( (binary_expression "(bVar16) && (iVar18 != 0x24)" (parenthesized_expression "(bVar16)" ( identifier )) && (parenthesized_expression "(iVar18 != 0x24)" ( (binary_expression "iVar18 != 0x24" identifier != number_literal) ))) )) && (parenthesized_expression "(-1 < iVar18)" ( (binary_expression "-1 < iVar18" number_literal < identifier) ))) )) (goto_statement "goto LAB_0011e864;" goto statement_identifier ;))) }))) (labeled_statement "LAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);" statement_identifier : (expression_statement "puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);" (assignment_expression "puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7)" identifier = (cast_expression "(undefined1 *)history_arg_extract(iVar21,iVar18,puVar7)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "history_arg_extract(iVar21,iVar18,puVar7)" identifier (argument_list "(iVar21,iVar18,puVar7)" ( identifier , identifier , identifier ))))) ;)) (if_statement "if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;" if (parenthesized_expression "(puVar8 != (undefined1 *)0x0)" ( (binary_expression "puVar8 != (undefined1 *)0x0" identifier != (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0011e5b8;" goto statement_identifier ;)) }))) (labeled_statement "LAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);" statement_identifier : (expression_statement "uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);" (assignment_expression "uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1)" identifier = (call_expression "FUN_0011c1e4(pcVar6,iVar15,local_58[0],1)" identifier (argument_list "(pcVar6,iVar15,local_58[0],1)" ( identifier , identifier , (subscript_expression "local_58[0]" identifier [ number_literal ]) , number_literal )))) ;)) (expression_statement "(*(code *)PTR_xfree_00156bb4)(local_c0);" (call_expression "(*(code *)PTR_xfree_00156bb4)(local_c0)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" ( (pointer_expression "*(code *)PTR_xfree_00156bb4" * (cast_expression "(code *)PTR_xfree_00156bb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_c0)" ( identifier ))) ;) }))) (labeled_statement "LAB_0011e9e8:\n            *param_2 = uVar12;" statement_identifier : (expression_statement "*param_2 = uVar12;" (assignment_expression "*param_2 = uVar12" (pointer_expression "*param_2" * identifier) = identifier) ;)) (expression_statement "(*(code *)PTR_xfree_00156bb4)(puVar4);" (call_expression "(*(code *)PTR_xfree_00156bb4)(puVar4)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" ( (pointer_expression "*(code *)PTR_xfree_00156bb4" * (cast_expression "(code *)PTR_xfree_00156bb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier ))) ;) (if_statement "if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }" if (parenthesized_expression "(pcVar6 == param_1)" ( (binary_expression "pcVar6 == param_1" identifier == identifier) )) (compound_statement "{\n              uVar3 = 0xffffffff;\n            }" { (expression_statement "uVar3 = 0xffffffff;" (assignment_expression "uVar3 = 0xffffffff" identifier = number_literal) ;) }) (else_clause "else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }" else (compound_statement "{\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }" { (expression_statement "(*(code *)PTR_xfree_00156bb4)(pcVar6);" (call_expression "(*(code *)PTR_xfree_00156bb4)(pcVar6)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" ( (pointer_expression "*(code *)PTR_xfree_00156bb4" * (cast_expression "(code *)PTR_xfree_00156bb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar6)" ( identifier ))) ;) (expression_statement "uVar3 = 0xffffffff;" (assignment_expression "uVar3 = 0xffffffff" identifier = number_literal) ;) }))) (goto_statement "goto LAB_0011f678;" goto statement_identifier ;) })) (if_statement "if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }" if (parenthesized_expression "(iVar22 + -1 <= iVar11)" ( (binary_expression "iVar22 + -1 <= iVar11" (binary_expression "iVar22 + -1" identifier + number_literal) <= identifier) )) (compound_statement "{\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }" { (expression_statement "iVar22 = iVar22 + 0x40;" (assignment_expression "iVar22 = iVar22 + 0x40" identifier = (binary_expression "iVar22 + 0x40" identifier + number_literal)) ;) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,iVar22)" ( identifier , identifier ))))) ;) })) (expression_statement "puVar4[iVar11] = pcVar6[local_5c];" (assignment_expression "puVar4[iVar11] = pcVar6[local_5c]" (subscript_expression "puVar4[iVar11]" identifier [ identifier ]) = (subscript_expression "pcVar6[local_5c]" identifier [ identifier ])) ;) (expression_statement "puVar4[iVar11 + 1] = 0;" (assignment_expression "puVar4[iVar11 + 1] = 0" (subscript_expression "puVar4[iVar11 + 1]" identifier [ (binary_expression "iVar11 + 1" identifier + number_literal) ]) = number_literal) ;) (expression_statement "iVar20 = iVar11 + 1;" (assignment_expression "iVar20 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) }) (else_clause "else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }" else (if_statement "if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }" if (parenthesized_expression "(*PTR_history_comment_char_00156f80 == cVar1)" ( (binary_expression "*PTR_history_comment_char_00156f80 == cVar1" (pointer_expression "*PTR_history_comment_char_00156f80" * identifier) == identifier) )) (compound_statement "{\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }\n        }" { (labeled_statement "LAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }" statement_identifier : (if_statement "if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }" if (parenthesized_expression "(((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0))))))" ( (binary_expression "((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))" (parenthesized_expression "((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0))" ( (binary_expression "(local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)" (parenthesized_expression "(local_c4 == 0)" ( (binary_expression "local_c4 == 0" identifier == number_literal) )) || (parenthesized_expression "(*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)" ( (binary_expression "*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0" (pointer_expression "*(int *)PTR_history_quotes_inhibit_expansion_00157524" * (cast_expression "(int *)PTR_history_quotes_inhibit_expansion_00157524" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) ))) )) && (parenthesized_expression "((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))" ( (parenthesized_expression "(local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0))))" ( (binary_expression "local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))" (binary_expression "local_5c == 0" identifier == number_literal) || (parenthesized_expression "((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))" ( (parenthesized_expression "(pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0))" ( (binary_expression "pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)" (binary_expression "pcVar6[local_5c + -1] != '\0'" (subscript_expression "pcVar6[local_5c + -1]" identifier [ (binary_expression "local_5c + -1" identifier + number_literal) ]) != (char_literal "'\0'" ' escape_sequence ')) && (parenthesized_expression "(iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)" ( (comma_expression "iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0" (assignment_expression "iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c)" identifier = (call_expression "(*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c)" (parenthesized_expression "(*(code *)PTR_strchr_0015844c)" ( (pointer_expression "*(code *)PTR_strchr_0015844c" * (cast_expression "(code *)PTR_strchr_0015844c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_history_word_delimiters_0015825c)" ( (pointer_expression "*(undefined4 *)PTR_history_word_delimiters_0015825c" * (cast_expression "(undefined4 *)PTR_history_word_delimiters_0015825c" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )))) , (binary_expression "iVar15 != 0" identifier != number_literal)) ))) )) ))) )) ))) )) (compound_statement "{\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }" { (expression_statement "uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);" (assignment_expression "uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((local_c8 - iVar20) + 1)" ( (binary_expression "(local_c8 - iVar20) + 1" (parenthesized_expression "(local_c8 - iVar20)" ( (binary_expression "local_c8 - iVar20" identifier - identifier) )) + number_literal) )))) ;) (expression_statement "(*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);" (call_expression "(*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" ( (pointer_expression "*(code *)PTR_strcpy_001584cc" * (cast_expression "(code *)PTR_strcpy_001584cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar12,pcVar6 + local_5c)" ( identifier , (binary_expression "pcVar6 + local_5c" identifier + identifier) ))) ;) (expression_statement "iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);" (assignment_expression "iVar15 = (*(code *)PTR_strlen_00158444)(uVar12)" identifier = (call_expression "(*(code *)PTR_strlen_00158444)(uVar12)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar12)" ( identifier )))) ;) (expression_statement "iVar20 = iVar11 + iVar15;" (assignment_expression "iVar20 = iVar11 + iVar15" identifier = (binary_expression "iVar11 + iVar15" identifier + identifier)) ;) (expression_statement "iVar11 = iVar22;" (assignment_expression "iVar11 = iVar22" identifier = identifier) ;) (if_statement "if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }" if (parenthesized_expression "(iVar22 <= iVar20)" ( (binary_expression "iVar22 <= iVar20" identifier <= identifier) )) (compound_statement "{\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }" { (do_statement "do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);" do (compound_statement "{\n                iVar11 = iVar11 + 0x80;\n              }" { (expression_statement "iVar11 = iVar11 + 0x80;" (assignment_expression "iVar11 = iVar11 + 0x80" identifier = (binary_expression "iVar11 + 0x80" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar11 <= iVar20)" ( (binary_expression "iVar11 <= iVar20" identifier <= identifier) )) ;) (expression_statement "iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);" (assignment_expression "iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U)" identifier = (binary_expression "iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U)" (binary_expression "iVar22 + 0x80" identifier + number_literal) + (parenthesized_expression "(iVar20 - iVar22 & 0xffffff80U)" ( (binary_expression "iVar20 - iVar22 & 0xffffff80U" (binary_expression "iVar20 - iVar22" identifier - identifier) & number_literal) )))) ;) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,iVar22)" ( identifier , identifier ))))) ;) })) (expression_statement "(*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);" (call_expression "(*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" ( (pointer_expression "*(code *)PTR_strcpy_001584cc" * (cast_expression "(code *)PTR_strcpy_001584cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4 + (iVar20 - iVar15),uVar12)" ( (binary_expression "puVar4 + (iVar20 - iVar15)" identifier + (parenthesized_expression "(iVar20 - iVar15)" ( (binary_expression "iVar20 - iVar15" identifier - identifier) ))) , identifier ))) ;) (expression_statement "(*(code *)PTR_xfree_00156bb4)(uVar12);" (call_expression "(*(code *)PTR_xfree_00156bb4)(uVar12)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" ( (pointer_expression "*(code *)PTR_xfree_00156bb4" * (cast_expression "(code *)PTR_xfree_00156bb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar12)" ( identifier ))) ;) (expression_statement "local_5c = local_c8;" (assignment_expression "local_5c = local_c8" identifier = identifier) ;) }) (else_clause "else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }" else (compound_statement "{\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }" { (if_statement "if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }" if (parenthesized_expression "(iVar22 + -1 <= iVar11)" ( (binary_expression "iVar22 + -1 <= iVar11" (binary_expression "iVar22 + -1" identifier + number_literal) <= identifier) )) (compound_statement "{\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }" { (expression_statement "iVar22 = iVar22 + 0x40;" (assignment_expression "iVar22 = iVar22 + 0x40" identifier = (binary_expression "iVar22 + 0x40" identifier + number_literal)) ;) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,iVar22)" ( identifier , identifier ))))) ;) })) (expression_statement "puVar4[iVar11] = pcVar6[local_5c];" (assignment_expression "puVar4[iVar11] = pcVar6[local_5c]" (subscript_expression "puVar4[iVar11]" identifier [ identifier ]) = (subscript_expression "pcVar6[local_5c]" identifier [ identifier ])) ;) (expression_statement "puVar4[iVar11 + 1] = 0;" (assignment_expression "puVar4[iVar11 + 1] = 0" (subscript_expression "puVar4[iVar11 + 1]" identifier [ (binary_expression "iVar11 + 1" identifier + number_literal) ]) = number_literal) ;) (expression_statement "iVar20 = iVar11 + 1;" (assignment_expression "iVar20 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) })))) }) (else_clause "else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }" else (if_statement "if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }" if (parenthesized_expression "(cVar1 == '\"')" ( (binary_expression "cVar1 == '\"'" identifier == (char_literal "'\"'" ' escape_sequence ')) )) (compound_statement "{\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }" { (expression_statement "local_c4 = 1 - local_c4;" (assignment_expression "local_c4 = 1 - local_c4" identifier = (binary_expression "1 - local_c4" number_literal - identifier)) ;) (if_statement "if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }" if (parenthesized_expression "(iVar22 + -1 <= iVar11)" ( (binary_expression "iVar22 + -1 <= iVar11" (binary_expression "iVar22 + -1" identifier + number_literal) <= identifier) )) (compound_statement "{\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }" { (expression_statement "iVar22 = iVar22 + 0x40;" (assignment_expression "iVar22 = iVar22 + 0x40" identifier = (binary_expression "iVar22 + 0x40" identifier + number_literal)) ;) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,iVar22)" ( identifier , identifier ))))) ;) })) (expression_statement "iVar20 = iVar11 + 1;" (assignment_expression "iVar20 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) (expression_statement "puVar4[iVar11] = 0x22;" (assignment_expression "puVar4[iVar11] = 0x22" (subscript_expression "puVar4[iVar11]" identifier [ identifier ]) = number_literal) ;) (expression_statement "puVar4[iVar20] = 0;" (assignment_expression "puVar4[iVar20] = 0" (subscript_expression "puVar4[iVar20]" identifier [ identifier ]) = number_literal) ;) }) (else_clause "else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }" else (if_statement "if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }" if (parenthesized_expression "(cVar1 < '#')" ( (binary_expression "cVar1 < '#'" identifier < (char_literal "'#'" ' character ')) )) (compound_statement "{\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }" { (if_statement "if (cVar1 == -3) goto LAB_0011e340;" if (parenthesized_expression "(cVar1 == -3)" ( (binary_expression "cVar1 == -3" identifier == number_literal) )) (goto_statement "goto LAB_0011e340;" goto statement_identifier ;)) (if_statement "if (cVar1 == -2) goto LAB_0011de7c;" if (parenthesized_expression "(cVar1 == -2)" ( (binary_expression "cVar1 == -2" identifier == number_literal) )) (goto_statement "goto LAB_0011de7c;" goto statement_identifier ;)) (labeled_statement "LAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }" statement_identifier : (if_statement "if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }" if (parenthesized_expression "(iVar22 + -1 <= iVar11)" ( (binary_expression "iVar22 + -1 <= iVar11" (binary_expression "iVar22 + -1" identifier + number_literal) <= identifier) )) (compound_statement "{\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }" { (expression_statement "iVar22 = iVar22 + 0x40;" (assignment_expression "iVar22 = iVar22 + 0x40" identifier = (binary_expression "iVar22 + 0x40" identifier + number_literal)) ;) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,iVar22)" ( identifier , identifier ))))) ;) }))) (expression_statement "puVar4[iVar11] = pcVar6[local_5c];" (assignment_expression "puVar4[iVar11] = pcVar6[local_5c]" (subscript_expression "puVar4[iVar11]" identifier [ identifier ]) = (subscript_expression "pcVar6[local_5c]" identifier [ identifier ])) ;) (expression_statement "puVar4[iVar11 + 1] = 0;" (assignment_expression "puVar4[iVar11 + 1] = 0" (subscript_expression "puVar4[iVar11 + 1]" identifier [ (binary_expression "iVar11 + 1" identifier + number_literal) ]) = number_literal) ;) (expression_statement "iVar20 = iVar11 + 1;" (assignment_expression "iVar20 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) }) (else_clause "else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }" else (if_statement "if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }" if (parenthesized_expression "(cVar1 == '\'')" ( (binary_expression "cVar1 == '\''" identifier == (char_literal "'\''" ' escape_sequence ')) )) (compound_statement "{\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }" { (if_statement "if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }" if (parenthesized_expression "(local_b0 == 0)" ( (binary_expression "local_b0 == 0" identifier == number_literal) )) (compound_statement "{\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }" { (if_statement "if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }" if (parenthesized_expression "(local_c4 == 0)" ( (binary_expression "local_c4 == 0" identifier == number_literal) )) (compound_statement "{\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }" { (if_statement "if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }" if (parenthesized_expression "(*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)" ( (binary_expression "*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0" (pointer_expression "*(int *)PTR_history_quotes_inhibit_expansion_00157524" * (cast_expression "(int *)PTR_history_quotes_inhibit_expansion_00157524" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }" { (if_statement "if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }" if (parenthesized_expression "(iVar22 + -1 <= iVar11)" ( (binary_expression "iVar22 + -1 <= iVar11" (binary_expression "iVar22 + -1" identifier + number_literal) <= identifier) )) (compound_statement "{\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }" { (expression_statement "iVar22 = iVar22 + 0x40;" (assignment_expression "iVar22 = iVar22 + 0x40" identifier = (binary_expression "iVar22 + 0x40" identifier + number_literal)) ;) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,iVar22)" ( identifier , identifier ))))) ;) })) (expression_statement "puVar4[iVar11] = pcVar6[local_5c];" (assignment_expression "puVar4[iVar11] = pcVar6[local_5c]" (subscript_expression "puVar4[iVar11]" identifier [ identifier ]) = (subscript_expression "pcVar6[local_5c]" identifier [ identifier ])) ;) (expression_statement "puVar4[iVar11 + 1] = 0;" (assignment_expression "puVar4[iVar11 + 1] = 0" (subscript_expression "puVar4[iVar11 + 1]" identifier [ (binary_expression "iVar11 + 1" identifier + number_literal) ]) = number_literal) ;) (expression_statement "local_b0 = 1;" (assignment_expression "local_b0 = 1" identifier = number_literal) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "iVar20 = iVar11 + 1;" (assignment_expression "iVar20 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) (expression_statement "local_c4 = uVar3;" (assignment_expression "local_c4 = uVar3" identifier = identifier) ;) }) (else_clause "else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }" else (compound_statement "{\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }" { (if_statement "if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }" if (parenthesized_expression "(local_5c < 1)" ( (binary_expression "local_5c < 1" identifier < number_literal) )) (compound_statement "{\n                  bVar16 = false;\n                }" { (expression_statement "bVar16 = false;" (assignment_expression "bVar16 = false" identifier = false) ;) }) (else_clause "else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }" else (compound_statement "{\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }" { (expression_statement "bVar16 = pcVar6[local_5c + -1] == '$';" (assignment_expression "bVar16 = pcVar6[local_5c + -1] == '$'" identifier = (binary_expression "pcVar6[local_5c + -1] == '$'" (subscript_expression "pcVar6[local_5c + -1]" identifier [ (binary_expression "local_5c + -1" identifier + number_literal) ]) == (char_literal "'$'" ' character '))) ;) }))) (expression_statement "local_5c = local_5c + 1;" (assignment_expression "local_5c = local_5c + 1" identifier = (binary_expression "local_5c + 1" identifier + number_literal)) ;) (expression_statement "FUN_0011c170(pcVar6,&local_5c,bVar16);" (call_expression "FUN_0011c170(pcVar6,&local_5c,bVar16)" identifier (argument_list "(pcVar6,&local_5c,bVar16)" ( identifier , (pointer_expression "&local_5c" & identifier) , identifier ))) ;) (expression_statement "iVar18 = local_5c - iVar20;" (assignment_expression "iVar18 = local_5c - iVar20" identifier = (binary_expression "local_5c - iVar20" identifier - identifier)) ;) (expression_statement "iVar21 = iVar18 + 2;" (assignment_expression "iVar21 = iVar18 + 2" identifier = (binary_expression "iVar18 + 2" identifier + number_literal)) ;) (expression_statement "iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);" (assignment_expression "iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21)" identifier = (call_expression "(*(code *)PTR_xmalloc_001565b8)(iVar21)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar21)" ( identifier )))) ;) (expression_statement "(*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);" (call_expression "(*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21)" (parenthesized_expression "(*(code *)PTR_strncpy_001583e4)" ( (pointer_expression "*(code *)PTR_strncpy_001583e4" * (cast_expression "(code *)PTR_strncpy_001583e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar15,pcVar6 + iVar20,iVar21)" ( identifier , (binary_expression "pcVar6 + iVar20" identifier + identifier) , identifier ))) ;) (expression_statement "*(undefined1 *)(iVar15 + iVar18 + 1) = 0;" (assignment_expression "*(undefined1 *)(iVar15 + iVar18 + 1) = 0" (pointer_expression "*(undefined1 *)(iVar15 + iVar18 + 1)" * (cast_expression "(undefined1 *)(iVar15 + iVar18 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar15 + iVar18 + 1)" ( (binary_expression "iVar15 + iVar18 + 1" (binary_expression "iVar15 + iVar18" identifier + identifier) + number_literal) )))) = number_literal) ;) (expression_statement "iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);" (assignment_expression "iVar18 = (*(code *)PTR_strlen_00158444)(iVar15)" identifier = (call_expression "(*(code *)PTR_strlen_00158444)(iVar15)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar15)" ( identifier )))) ;) (expression_statement "iVar20 = iVar11 + iVar18;" (assignment_expression "iVar20 = iVar11 + iVar18" identifier = (binary_expression "iVar11 + iVar18" identifier + identifier)) ;) (expression_statement "iVar11 = iVar22;" (assignment_expression "iVar11 = iVar22" identifier = identifier) ;) (if_statement "if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }" if (parenthesized_expression "(iVar22 <= iVar20)" ( (binary_expression "iVar22 <= iVar20" identifier <= identifier) )) (compound_statement "{\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }" { (do_statement "do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);" do (compound_statement "{\n                    iVar11 = iVar11 + 0x80;\n                  }" { (expression_statement "iVar11 = iVar11 + 0x80;" (assignment_expression "iVar11 = iVar11 + 0x80" identifier = (binary_expression "iVar11 + 0x80" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar11 <= iVar20)" ( (binary_expression "iVar11 <= iVar20" identifier <= identifier) )) ;) (expression_statement "iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;" (assignment_expression "iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80" identifier = (binary_expression "(iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80" (binary_expression "(iVar20 - iVar22 & 0xffffff80U) + iVar22" (parenthesized_expression "(iVar20 - iVar22 & 0xffffff80U)" ( (binary_expression "iVar20 - iVar22 & 0xffffff80U" (binary_expression "iVar20 - iVar22" identifier - identifier) & number_literal) )) + identifier) + number_literal)) ;) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,iVar22)" ( identifier , identifier ))))) ;) })) (expression_statement "(*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);" (call_expression "(*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" ( (pointer_expression "*(code *)PTR_strcpy_001584cc" * (cast_expression "(code *)PTR_strcpy_001584cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4 + (iVar20 - iVar18),iVar15)" ( (binary_expression "puVar4 + (iVar20 - iVar18)" identifier + (parenthesized_expression "(iVar20 - iVar18)" ( (binary_expression "iVar20 - iVar18" identifier - identifier) ))) , identifier ))) ;) (expression_statement "(*(code *)PTR_xfree_00156bb4)(iVar15);" (call_expression "(*(code *)PTR_xfree_00156bb4)(iVar15)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" ( (pointer_expression "*(code *)PTR_xfree_00156bb4" * (cast_expression "(code *)PTR_xfree_00156bb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar15)" ( identifier ))) ;) (expression_statement "local_b0 = local_c4;" (assignment_expression "local_b0 = local_c4" identifier = identifier) ;) (expression_statement "uVar3 = local_c4;" (assignment_expression "uVar3 = local_c4" identifier = identifier) ;) }))) }) (else_clause "else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }" else (compound_statement "{\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }" { (if_statement "if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }" if (parenthesized_expression "(iVar22 + -1 <= iVar11)" ( (binary_expression "iVar22 + -1 <= iVar11" (binary_expression "iVar22 + -1" identifier + number_literal) <= identifier) )) (compound_statement "{\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }" { (expression_statement "iVar22 = iVar22 + 0x40;" (assignment_expression "iVar22 = iVar22 + 0x40" identifier = (binary_expression "iVar22 + 0x40" identifier + number_literal)) ;) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,iVar22)" ( identifier , identifier ))))) ;) })) (expression_statement "puVar4[iVar11] = pcVar6[local_5c];" (assignment_expression "puVar4[iVar11] = pcVar6[local_5c]" (subscript_expression "puVar4[iVar11]" identifier [ identifier ]) = (subscript_expression "pcVar6[local_5c]" identifier [ identifier ])) ;) (expression_statement "puVar4[iVar11 + 1] = 0;" (assignment_expression "puVar4[iVar11 + 1] = 0" (subscript_expression "puVar4[iVar11 + 1]" identifier [ (binary_expression "iVar11 + 1" identifier + number_literal) ]) = number_literal) ;) (expression_statement "uVar3 = local_b0;" (assignment_expression "uVar3 = local_b0" identifier = identifier) ;) (expression_statement "iVar20 = iVar11 + 1;" (assignment_expression "iVar20 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) }))) }) (else_clause "else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }" else (compound_statement "{\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }" { (if_statement "if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }" if (parenthesized_expression "(iVar22 + -1 <= iVar11)" ( (binary_expression "iVar22 + -1 <= iVar11" (binary_expression "iVar22 + -1" identifier + number_literal) <= identifier) )) (compound_statement "{\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }" { (expression_statement "iVar22 = iVar22 + 0x40;" (assignment_expression "iVar22 = iVar22 + 0x40" identifier = (binary_expression "iVar22 + 0x40" identifier + number_literal)) ;) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,iVar22)" ( identifier , identifier ))))) ;) })) (expression_statement "puVar4[iVar11] = 0x27;" (assignment_expression "puVar4[iVar11] = 0x27" (subscript_expression "puVar4[iVar11]" identifier [ identifier ]) = number_literal) ;) (expression_statement "puVar4[iVar11 + 1] = 0;" (assignment_expression "puVar4[iVar11 + 1] = 0" (subscript_expression "puVar4[iVar11 + 1]" identifier [ (binary_expression "iVar11 + 1" identifier + number_literal) ]) = number_literal) ;) (expression_statement "iVar20 = iVar11 + 1;" (assignment_expression "iVar20 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) (expression_statement "local_b0 = uVar3;" (assignment_expression "local_b0 = uVar3" identifier = identifier) ;) }))) }) (else_clause "else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }" else (compound_statement "{\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }" { (if_statement "if (cVar1 != '\\') goto LAB_0011df70;" if (parenthesized_expression "(cVar1 != '\\')" ( (binary_expression "cVar1 != '\\'" identifier != (char_literal "'\\'" ' escape_sequence ')) )) (goto_statement "goto LAB_0011df70;" goto statement_identifier ;)) (if_statement "if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }" if (parenthesized_expression "(iVar22 + -1 <= iVar11)" ( (binary_expression "iVar22 + -1 <= iVar11" (binary_expression "iVar22 + -1" identifier + number_literal) <= identifier) )) (compound_statement "{\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }" { (expression_statement "iVar22 = iVar22 + 0x40;" (assignment_expression "iVar22 = iVar22 + 0x40" identifier = (binary_expression "iVar22 + 0x40" identifier + number_literal)) ;) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,iVar22)" ( identifier , identifier ))))) ;) })) (expression_statement "puVar4[iVar11] = 0x5c;" (assignment_expression "puVar4[iVar11] = 0x5c" (subscript_expression "puVar4[iVar11]" identifier [ identifier ]) = number_literal) ;) (expression_statement "puVar4[iVar11 + 1] = 0;" (assignment_expression "puVar4[iVar11 + 1] = 0" (subscript_expression "puVar4[iVar11 + 1]" identifier [ (binary_expression "iVar11 + 1" identifier + number_literal) ]) = number_literal) ;) (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" identifier = number_literal) ;) (expression_statement "iVar20 = iVar11 + 1;" (assignment_expression "iVar20 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) }))))))))))) }) (else_clause "else {\n        if (iVar22 + -1 <= iVar11) {\n          iVar22 = iVar22 + 0x40;\n          puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n        }\n        puVar4[iVar11] = cVar1;\n        puVar4[iVar11 + 1] = 0;\n        uVar3 = 0;\n        iVar20 = iVar11 + 1;\n      }" else (compound_statement "{\n        if (iVar22 + -1 <= iVar11) {\n          iVar22 = iVar22 + 0x40;\n          puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n        }\n        puVar4[iVar11] = cVar1;\n        puVar4[iVar11 + 1] = 0;\n        uVar3 = 0;\n        iVar20 = iVar11 + 1;\n      }" { (if_statement "if (iVar22 + -1 <= iVar11) {\n          iVar22 = iVar22 + 0x40;\n          puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n        }" if (parenthesized_expression "(iVar22 + -1 <= iVar11)" ( (binary_expression "iVar22 + -1 <= iVar11" (binary_expression "iVar22 + -1" identifier + number_literal) <= identifier) )) (compound_statement "{\n          iVar22 = iVar22 + 0x40;\n          puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n        }" { (expression_statement "iVar22 = iVar22 + 0x40;" (assignment_expression "iVar22 = iVar22 + 0x40" identifier = (binary_expression "iVar22 + 0x40" identifier + number_literal)) ;) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,iVar22)" ( identifier , identifier ))))) ;) })) (expression_statement "puVar4[iVar11] = cVar1;" (assignment_expression "puVar4[iVar11] = cVar1" (subscript_expression "puVar4[iVar11]" identifier [ identifier ]) = identifier) ;) (expression_statement "puVar4[iVar11 + 1] = 0;" (assignment_expression "puVar4[iVar11 + 1] = 0" (subscript_expression "puVar4[iVar11 + 1]" identifier [ (binary_expression "iVar11 + 1" identifier + number_literal) ]) = number_literal) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "iVar20 = iVar11 + 1;" (assignment_expression "iVar20 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) }))) (labeled_statement "LAB_0011dc80:\n      local_5c = local_5c + 1;" statement_identifier : (expression_statement "local_5c = local_5c + 1;" (assignment_expression "local_5c = local_5c + 1" identifier = (binary_expression "local_5c + 1" identifier + number_literal)) ;)) (expression_statement "iVar11 = iVar20;" (assignment_expression "iVar11 = iVar20" identifier = identifier) ;) }) while (parenthesized_expression "(local_5c < local_c8)" ( (binary_expression "local_5c < local_c8" identifier < identifier) )) ;) (expression_statement "*param_2 = puVar4;" (assignment_expression "*param_2 = puVar4" (pointer_expression "*param_2" * identifier) = identifier) ;) (if_statement "if (pcVar6 != param_1) {\nLAB_0011f650:\n      (*(code *)PTR_xfree_00156bb4)(pcVar6);\n    }" if (parenthesized_expression "(pcVar6 != param_1)" ( (binary_expression "pcVar6 != param_1" identifier != identifier) )) (compound_statement "{\nLAB_0011f650:\n      (*(code *)PTR_xfree_00156bb4)(pcVar6);\n    }" { (labeled_statement "LAB_0011f650:\n      (*(code *)PTR_xfree_00156bb4)(pcVar6);" statement_identifier : (expression_statement "(*(code *)PTR_xfree_00156bb4)(pcVar6);" (call_expression "(*(code *)PTR_xfree_00156bb4)(pcVar6)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" ( (pointer_expression "*(code *)PTR_xfree_00156bb4" * (cast_expression "(code *)PTR_xfree_00156bb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar6)" ( identifier ))) ;)) })) }) (else_clause "else {\n    *param_2 = puVar4;\n    if (pcVar6 != param_1) {\n      local_a8 = 0;\n      goto LAB_0011f650;\n    }\n    local_a8 = 0;\n  }" else (compound_statement "{\n    *param_2 = puVar4;\n    if (pcVar6 != param_1) {\n      local_a8 = 0;\n      goto LAB_0011f650;\n    }\n    local_a8 = 0;\n  }" { (expression_statement "*param_2 = puVar4;" (assignment_expression "*param_2 = puVar4" (pointer_expression "*param_2" * identifier) = identifier) ;) (if_statement "if (pcVar6 != param_1) {\n      local_a8 = 0;\n      goto LAB_0011f650;\n    }" if (parenthesized_expression "(pcVar6 != param_1)" ( (binary_expression "pcVar6 != param_1" identifier != identifier) )) (compound_statement "{\n      local_a8 = 0;\n      goto LAB_0011f650;\n    }" { (expression_statement "local_a8 = 0;" (assignment_expression "local_a8 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0011f650;" goto statement_identifier ;) })) (expression_statement "local_a8 = 0;" (assignment_expression "local_a8 = 0" identifier = number_literal) ;) }))) (expression_statement "uVar3 = (uint)(local_a8 != 0);" (assignment_expression "uVar3 = (uint)(local_a8 != 0)" identifier = (call_expression "(uint)(local_a8 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_a8 != 0)" ( (binary_expression "local_a8 != 0" identifier != number_literal) )))) ;) (labeled_statement "LAB_0011f678:\n  if (local_3c[4] == *(int *)PTR___stack_chk_guard_0015858c) {\n    return uVar3;\n  }" statement_identifier : (if_statement "if (local_3c[4] == *(int *)PTR___stack_chk_guard_0015858c) {\n    return uVar3;\n  }" if (parenthesized_expression "(local_3c[4] == *(int *)PTR___stack_chk_guard_0015858c)" ( (binary_expression "local_3c[4] == *(int *)PTR___stack_chk_guard_0015858c" (subscript_expression "local_3c[4]" identifier [ number_literal ]) == (pointer_expression "*(int *)PTR___stack_chk_guard_0015858c" * (cast_expression "(int *)PTR___stack_chk_guard_0015858c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return uVar3;\n  }" { (return_statement "return uVar3;" return identifier ;) }))) (expression_statement "iVar22 = local_3c[4];" (assignment_expression "iVar22 = local_3c[4]" identifier = (subscript_expression "local_3c[4]" identifier [ number_literal ])) ;) (expression_statement "puVar23 = PTR___stack_chk_fail_0015853c;" (assignment_expression "puVar23 = PTR___stack_chk_fail_0015853c" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0015853c)();" (call_expression "(*(code *)PTR___stack_chk_fail_0015853c)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0015853c)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0015853c" * (cast_expression "(code *)PTR___stack_chk_fail_0015853c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (iVar22 == 0) {\n    iVar22 = (**(code **)(puVar23 + 0x384f4))(*(int *)(puVar23 + 0x36ccc) + 0x66e4);\n    if (iVar22 == 0) {\n      uVar3 = 0;\n    }\n    else {\n      iVar20 = (**(code **)(puVar23 + 0x38b94))(iVar22);\n      uVar3 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 10);\n      (**(code **)(puVar23 + 0x38c1c))(uVar3,iVar22);\n      *(undefined1 *)(uVar3 + iVar20) = 0x2f;\n      puVar13 = (undefined4 *)(uVar3 + iVar20 + 1);\n      iVar22 = *(int *)(puVar23 + 0x36d00);\n      uVar12 = *(undefined4 *)(iVar22 + 0x5d4);\n      *puVar13 = *(undefined4 *)(iVar22 + 0x5d0);\n      puVar13[1] = uVar12;\n      *(undefined1 *)(puVar13 + 2) = *(undefined1 *)(iVar22 + 0x5d8);\n    }\n  }\n  else {\n    iVar20 = (**(code **)(puVar23 + 0x38b94))();\n    uVar12 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 1);\n    uVar3 = (**(code **)(puVar23 + 0x38c1c))(uVar12,iVar22);\n  }" if (parenthesized_expression "(iVar22 == 0)" ( (binary_expression "iVar22 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar22 = (**(code **)(puVar23 + 0x384f4))(*(int *)(puVar23 + 0x36ccc) + 0x66e4);\n    if (iVar22 == 0) {\n      uVar3 = 0;\n    }\n    else {\n      iVar20 = (**(code **)(puVar23 + 0x38b94))(iVar22);\n      uVar3 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 10);\n      (**(code **)(puVar23 + 0x38c1c))(uVar3,iVar22);\n      *(undefined1 *)(uVar3 + iVar20) = 0x2f;\n      puVar13 = (undefined4 *)(uVar3 + iVar20 + 1);\n      iVar22 = *(int *)(puVar23 + 0x36d00);\n      uVar12 = *(undefined4 *)(iVar22 + 0x5d4);\n      *puVar13 = *(undefined4 *)(iVar22 + 0x5d0);\n      puVar13[1] = uVar12;\n      *(undefined1 *)(puVar13 + 2) = *(undefined1 *)(iVar22 + 0x5d8);\n    }\n  }" { (expression_statement "iVar22 = (**(code **)(puVar23 + 0x384f4))(*(int *)(puVar23 + 0x36ccc) + 0x66e4);" (assignment_expression "iVar22 = (**(code **)(puVar23 + 0x384f4))(*(int *)(puVar23 + 0x36ccc) + 0x66e4)" identifier = (call_expression "(**(code **)(puVar23 + 0x384f4))(*(int *)(puVar23 + 0x36ccc) + 0x66e4)" (parenthesized_expression "(**(code **)(puVar23 + 0x384f4))" ( (pointer_expression "**(code **)(puVar23 + 0x384f4)" * (pointer_expression "*(code **)(puVar23 + 0x384f4)" * (cast_expression "(code **)(puVar23 + 0x384f4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0x384f4)" ( (binary_expression "puVar23 + 0x384f4" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar23 + 0x36ccc) + 0x66e4)" ( (binary_expression "*(int *)(puVar23 + 0x36ccc) + 0x66e4" (pointer_expression "*(int *)(puVar23 + 0x36ccc)" * (cast_expression "(int *)(puVar23 + 0x36ccc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + 0x36ccc)" ( (binary_expression "puVar23 + 0x36ccc" identifier + number_literal) )))) + number_literal) )))) ;) (if_statement "if (iVar22 == 0) {\n      uVar3 = 0;\n    }\n    else {\n      iVar20 = (**(code **)(puVar23 + 0x38b94))(iVar22);\n      uVar3 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 10);\n      (**(code **)(puVar23 + 0x38c1c))(uVar3,iVar22);\n      *(undefined1 *)(uVar3 + iVar20) = 0x2f;\n      puVar13 = (undefined4 *)(uVar3 + iVar20 + 1);\n      iVar22 = *(int *)(puVar23 + 0x36d00);\n      uVar12 = *(undefined4 *)(iVar22 + 0x5d4);\n      *puVar13 = *(undefined4 *)(iVar22 + 0x5d0);\n      puVar13[1] = uVar12;\n      *(undefined1 *)(puVar13 + 2) = *(undefined1 *)(iVar22 + 0x5d8);\n    }" if (parenthesized_expression "(iVar22 == 0)" ( (binary_expression "iVar22 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar3 = 0;\n    }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      iVar20 = (**(code **)(puVar23 + 0x38b94))(iVar22);\n      uVar3 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 10);\n      (**(code **)(puVar23 + 0x38c1c))(uVar3,iVar22);\n      *(undefined1 *)(uVar3 + iVar20) = 0x2f;\n      puVar13 = (undefined4 *)(uVar3 + iVar20 + 1);\n      iVar22 = *(int *)(puVar23 + 0x36d00);\n      uVar12 = *(undefined4 *)(iVar22 + 0x5d4);\n      *puVar13 = *(undefined4 *)(iVar22 + 0x5d0);\n      puVar13[1] = uVar12;\n      *(undefined1 *)(puVar13 + 2) = *(undefined1 *)(iVar22 + 0x5d8);\n    }" else (compound_statement "{\n      iVar20 = (**(code **)(puVar23 + 0x38b94))(iVar22);\n      uVar3 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 10);\n      (**(code **)(puVar23 + 0x38c1c))(uVar3,iVar22);\n      *(undefined1 *)(uVar3 + iVar20) = 0x2f;\n      puVar13 = (undefined4 *)(uVar3 + iVar20 + 1);\n      iVar22 = *(int *)(puVar23 + 0x36d00);\n      uVar12 = *(undefined4 *)(iVar22 + 0x5d4);\n      *puVar13 = *(undefined4 *)(iVar22 + 0x5d0);\n      puVar13[1] = uVar12;\n      *(undefined1 *)(puVar13 + 2) = *(undefined1 *)(iVar22 + 0x5d8);\n    }" { (expression_statement "iVar20 = (**(code **)(puVar23 + 0x38b94))(iVar22);" (assignment_expression "iVar20 = (**(code **)(puVar23 + 0x38b94))(iVar22)" identifier = (call_expression "(**(code **)(puVar23 + 0x38b94))(iVar22)" (parenthesized_expression "(**(code **)(puVar23 + 0x38b94))" ( (pointer_expression "**(code **)(puVar23 + 0x38b94)" * (pointer_expression "*(code **)(puVar23 + 0x38b94)" * (cast_expression "(code **)(puVar23 + 0x38b94)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0x38b94)" ( (binary_expression "puVar23 + 0x38b94" identifier + number_literal) ))))) )) (argument_list "(iVar22)" ( identifier )))) ;) (expression_statement "uVar3 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 10);" (assignment_expression "uVar3 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 10)" identifier = (call_expression "(**(code **)(puVar23 + 0x36d08))(iVar20 + 10)" (parenthesized_expression "(**(code **)(puVar23 + 0x36d08))" ( (pointer_expression "**(code **)(puVar23 + 0x36d08)" * (pointer_expression "*(code **)(puVar23 + 0x36d08)" * (cast_expression "(code **)(puVar23 + 0x36d08)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0x36d08)" ( (binary_expression "puVar23 + 0x36d08" identifier + number_literal) ))))) )) (argument_list "(iVar20 + 10)" ( (binary_expression "iVar20 + 10" identifier + number_literal) )))) ;) (expression_statement "(**(code **)(puVar23 + 0x38c1c))(uVar3,iVar22);" (call_expression "(**(code **)(puVar23 + 0x38c1c))(uVar3,iVar22)" (parenthesized_expression "(**(code **)(puVar23 + 0x38c1c))" ( (pointer_expression "**(code **)(puVar23 + 0x38c1c)" * (pointer_expression "*(code **)(puVar23 + 0x38c1c)" * (cast_expression "(code **)(puVar23 + 0x38c1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0x38c1c)" ( (binary_expression "puVar23 + 0x38c1c" identifier + number_literal) ))))) )) (argument_list "(uVar3,iVar22)" ( identifier , identifier ))) ;) (expression_statement "*(undefined1 *)(uVar3 + iVar20) = 0x2f;" (assignment_expression "*(undefined1 *)(uVar3 + iVar20) = 0x2f" (pointer_expression "*(undefined1 *)(uVar3 + iVar20)" * (cast_expression "(undefined1 *)(uVar3 + iVar20)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar3 + iVar20)" ( (binary_expression "uVar3 + iVar20" identifier + identifier) )))) = number_literal) ;) (expression_statement "puVar13 = (undefined4 *)(uVar3 + iVar20 + 1);" (assignment_expression "puVar13 = (undefined4 *)(uVar3 + iVar20 + 1)" identifier = (cast_expression "(undefined4 *)(uVar3 + iVar20 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar3 + iVar20 + 1)" ( (binary_expression "uVar3 + iVar20 + 1" (binary_expression "uVar3 + iVar20" identifier + identifier) + number_literal) )))) ;) (expression_statement "iVar22 = *(int *)(puVar23 + 0x36d00);" (assignment_expression "iVar22 = *(int *)(puVar23 + 0x36d00)" identifier = (pointer_expression "*(int *)(puVar23 + 0x36d00)" * (cast_expression "(int *)(puVar23 + 0x36d00)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + 0x36d00)" ( (binary_expression "puVar23 + 0x36d00" identifier + number_literal) ))))) ;) (expression_statement "uVar12 = *(undefined4 *)(iVar22 + 0x5d4);" (assignment_expression "uVar12 = *(undefined4 *)(iVar22 + 0x5d4)" identifier = (pointer_expression "*(undefined4 *)(iVar22 + 0x5d4)" * (cast_expression "(undefined4 *)(iVar22 + 0x5d4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar22 + 0x5d4)" ( (binary_expression "iVar22 + 0x5d4" identifier + number_literal) ))))) ;) (expression_statement "*puVar13 = *(undefined4 *)(iVar22 + 0x5d0);" (assignment_expression "*puVar13 = *(undefined4 *)(iVar22 + 0x5d0)" (pointer_expression "*puVar13" * identifier) = (pointer_expression "*(undefined4 *)(iVar22 + 0x5d0)" * (cast_expression "(undefined4 *)(iVar22 + 0x5d0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar22 + 0x5d0)" ( (binary_expression "iVar22 + 0x5d0" identifier + number_literal) ))))) ;) (expression_statement "puVar13[1] = uVar12;" (assignment_expression "puVar13[1] = uVar12" (subscript_expression "puVar13[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)(puVar13 + 2) = *(undefined1 *)(iVar22 + 0x5d8);" (assignment_expression "*(undefined1 *)(puVar13 + 2) = *(undefined1 *)(iVar22 + 0x5d8)" (pointer_expression "*(undefined1 *)(puVar13 + 2)" * (cast_expression "(undefined1 *)(puVar13 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + 2)" ( (binary_expression "puVar13 + 2" identifier + number_literal) )))) = (pointer_expression "*(undefined1 *)(iVar22 + 0x5d8)" * (cast_expression "(undefined1 *)(iVar22 + 0x5d8)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar22 + 0x5d8)" ( (binary_expression "iVar22 + 0x5d8" identifier + number_literal) ))))) ;) }))) }) (else_clause "else {\n    iVar20 = (**(code **)(puVar23 + 0x38b94))();\n    uVar12 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 1);\n    uVar3 = (**(code **)(puVar23 + 0x38c1c))(uVar12,iVar22);\n  }" else (compound_statement "{\n    iVar20 = (**(code **)(puVar23 + 0x38b94))();\n    uVar12 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 1);\n    uVar3 = (**(code **)(puVar23 + 0x38c1c))(uVar12,iVar22);\n  }" { (expression_statement "iVar20 = (**(code **)(puVar23 + 0x38b94))();" (assignment_expression "iVar20 = (**(code **)(puVar23 + 0x38b94))()" identifier = (call_expression "(**(code **)(puVar23 + 0x38b94))()" (parenthesized_expression "(**(code **)(puVar23 + 0x38b94))" ( (pointer_expression "**(code **)(puVar23 + 0x38b94)" * (pointer_expression "*(code **)(puVar23 + 0x38b94)" * (cast_expression "(code **)(puVar23 + 0x38b94)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0x38b94)" ( (binary_expression "puVar23 + 0x38b94" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "uVar12 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 1);" (assignment_expression "uVar12 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 1)" identifier = (call_expression "(**(code **)(puVar23 + 0x36d08))(iVar20 + 1)" (parenthesized_expression "(**(code **)(puVar23 + 0x36d08))" ( (pointer_expression "**(code **)(puVar23 + 0x36d08)" * (pointer_expression "*(code **)(puVar23 + 0x36d08)" * (cast_expression "(code **)(puVar23 + 0x36d08)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0x36d08)" ( (binary_expression "puVar23 + 0x36d08" identifier + number_literal) ))))) )) (argument_list "(iVar20 + 1)" ( (binary_expression "iVar20 + 1" identifier + number_literal) )))) ;) (expression_statement "uVar3 = (**(code **)(puVar23 + 0x38c1c))(uVar12,iVar22);" (assignment_expression "uVar3 = (**(code **)(puVar23 + 0x38c1c))(uVar12,iVar22)" identifier = (call_expression "(**(code **)(puVar23 + 0x38c1c))(uVar12,iVar22)" (parenthesized_expression "(**(code **)(puVar23 + 0x38c1c))" ( (pointer_expression "**(code **)(puVar23 + 0x38c1c)" * (pointer_expression "*(code **)(puVar23 + 0x38c1c)" * (cast_expression "(code **)(puVar23 + 0x38c1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0x38c1c)" ( (binary_expression "puVar23 + 0x38c1c" identifier + number_literal) ))))) )) (argument_list "(uVar12,iVar22)" ( identifier , identifier )))) ;) }))) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit "/* WARNING: Removing unreachable block (ram,0x0011f384) */\n/* WARNING: Removing unreachable block (ram,0x0011f4d8) */\n/* WARNING: Removing unreachable block (ram,0x0011f390) */\n/* WARNING: Removing unreachable block (ram,0x0011f4f0) */\n/* WARNING: Removing unreachable block (ram,0x0011f720) */\n/* WARNING: Removing unreachable block (ram,0x0011f4f8) */\n/* WARNING: Removing unreachable block (ram,0x0011f504) */\n/* WARNING: Removing unreachable block (ram,0x0011f538) */\n/* WARNING: Removing unreachable block (ram,0x0011f514) */\n/* WARNING: Removing unreachable block (ram,0x0011f540) */\n/* WARNING: Removing unreachable block (ram,0x0011f51c) */\n/* WARNING: Removing unreachable block (ram,0x0011f548) */\n/* WARNING: Removing unreachable block (ram,0x0011f558) */\n/* WARNING: Removing unreachable block (ram,0x0011f520) */\n/* WARNING: Removing unreachable block (ram,0x0011f6e0) */\n/* WARNING: Removing unreachable block (ram,0x0011f52c) */\n/* WARNING: Removing unreachable block (ram,0x0011f6e4) */\n/* WARNING: Removing unreachable block (ram,0x0011f70c) */\n/* WARNING: Removing unreachable block (ram,0x0011f5a4) */\n/* WARNING: Removing unreachable block (ram,0x0011f560) */\n/* WARNING: Removing unreachable block (ram,0x0011f5ac) */\n/* WARNING: Removing unreachable block (ram,0x0011f5b4) */\n/* WARNING: Removing unreachable block (ram,0x0011f578) */\n/* WARNING: Removing unreachable block (ram,0x0011f5c4) */\n/* WARNING: Removing unreachable block (ram,0x0011f590) */\n/* WARNING: Removing unreachable block (ram,0x0011f598) */\n/* WARNING: Removing unreachable block (ram,0x0011f740) */\n/* WARNING: Removing unreachable block (ram,0x0011f744) */\n/* WARNING: Removing unreachable block (ram,0x0011f39c) */\n/* WARNING: Removing unreachable block (ram,0x0011f3d8) */\n/* WARNING: Removing unreachable block (ram,0x0011f5ec) */\n\nint history_expand(char *hstring,char **output)\n\n{\n  char cVar1;\n  undefined *puVar2;\n  uint uVar3;\n  char *pcVar4;\n  code *pcVar5;\n  char *pcVar6;\n  char cVar13;\n  char *pcVar7;\n  char *pcVar8;\n  uint uVar9;\n  int iVar10;\n  undefined4 uVar11;\n  undefined4 *puVar12;\n  int iVar14;\n  bool bVar15;\n  int iVar16;\n  int *piVar17;\n  int iVar18;\n  int iVar19;\n  int iVar20;\n  undefined *puVar21;\n  int local_c8;\n  uint local_c4;\n  char *local_c0;\n  uint local_b0;\n  int local_a8;\n  int i;\n  int i_1;\n  int fake_i;\n  mbstate_t ps;\n  mbstate_t ps_1;\n  char fake_s [3];\n  char mb [16];\n  int local_2c;\n  \n  local_2c = *(int *)PTR___stack_chk_guard_0015858c;\n  uVar3 = 0;\n  if (output == (char **)0x0) goto LAB_0011f678;\n  if (*PTR_history_expansion_char_00156fcc == '\0') {\n    iVar20 = (*(code *)PTR_strlen_00158444)();\n    uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n    pcVar4 = (char *)(*(code *)PTR_strcpy_001584cc)(uVar11,hstring);\n    *output = pcVar4;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }\n  pcVar4 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x100);\n  *pcVar4 = '\0';\n  local_c8 = (*(code *)PTR_strlen_00158444)(hstring);\n  if (*hstring != *PTR_history_subst_char_00156fd0) {\n    ps.__count = 0;\n    ps.__value.__wch = 0;\n    uVar3 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);\n    i = 0;\n    pcVar6 = hstring;\n    if ((*(int *)PTR_history_quoting_state_001569a0 == 0x27) &&\n       (*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0)) {\n      hist_string_extract_single_quoted(hstring,&i,0);\n      if (hstring[i] == '\0') goto LAB_0011d994;\n      i = i + 1;\n    }\n    puVar2 = PTR_history_quotes_inhibit_expansion_00157524;\n    puVar21 = PTR_history_comment_char_00156f80;\n    if (hstring[i] != '\0') {\n      pcVar5 = (code *)(PTR_LAB_0015657c + -0x3e90);\n      do {\n        uVar9 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((uVar9 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {\nLAB_0011f800:\n          iVar20 = i;\n          iVar18 = (int)(hstring + i)[1];\n          if (((char)*puVar21 == 0) || (iVar10 = (int)hstring[i], (char)*puVar21 != iVar10)) {\n            iVar10 = (int)hstring[i];\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar10 == 0x5c) {\n                if (iVar18 == 0x22) {\n                  i = i + 1;\n                }\n                else {\n                  iVar16 = *(int *)puVar2;\n                  if (iVar16 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar16 = *(int *)puVar2;\n                if (iVar16 != 0) {\n                  if (iVar10 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar16 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((i == 0) ||\n               ((hstring[i + -1] != '\0' &&\n                (iVar10 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar10 != 0)))) goto LAB_0011da2c;\n            iVar10 = (int)hstring[iVar20];\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar10 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar10 == 0x27) {\n                if (iVar20 < 1) {\n                  bVar15 = false;\n                }\n                else {\n                  bVar15 = hstring[iVar20 + -1] == '$';\n                }\n                i = iVar20 + 1;\n                (*pcVar5)(hstring,&i,bVar15);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar10 == 0x5c) && ((iVar18 == 0x27 || (iVar18 == iVar14)))) {\n                  i = iVar20 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) goto LAB_0011f788;\n          }\n          if (((iVar18 != 0) &&\n              (iVar10 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar18),\n              iVar10 == 0)) && ((uVar3 == 0 || (iVar18 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(hstring,iVar20);\n            if (iVar20 == 0) break;\n          }\n        }\n        else {\n          iVar20 = _rl_get_char_len(hstring + i,&ps);\n          if (iVar20 < 2) goto LAB_0011f800;\n          i = i + iVar20 + -1;\n        }\nLAB_0011f7c0:\n        i = i + 1;\n      } while (hstring[i] != '\0');\n    }\n    goto LAB_0011d994;\n  }\n  pcVar6 = (char *)(*(code *)PTR_xmalloc_001565b8)(local_c8 + 5);\n  cVar1 = *PTR_history_expansion_char_00156fcc;\n  pcVar6[1] = cVar1;\n  *pcVar6 = cVar1;\n  pcVar6[2] = ':';\n  pcVar6[3] = 's';\n  (*(code *)PTR_strcpy_001584cc)(pcVar6 + 4,hstring);\n  local_c8 = local_c8 + 4;\n  goto LAB_0011d9ac;\nLAB_0011da2c:\n  do {\n    i = iVar20 + 1;\n    iVar20 = i;\n  } while (hstring[i] != '\0');\nLAB_0011d994:\n  if (hstring[i] != *PTR_history_expansion_char_00156fcc) {\n    (*(code *)PTR_xfree_00156bb4)(pcVar4);\n    iVar20 = (*(code *)PTR_strlen_00158444)(hstring);\n    uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n    pcVar4 = (char *)(*(code *)PTR_strcpy_001584cc)(uVar11,hstring);\n    *output = pcVar4;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }\nLAB_0011d9ac:\n  local_c4 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);\n  i = 0;\n  if (*(int *)PTR_history_quoting_state_001569a0 == 0x27) {\n    iVar20 = 0x100;\n    if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n      local_b0 = 1;\n      iVar10 = 0;\n    }\n    else {\n      hist_string_extract_single_quoted(pcVar6,&i,0);\n      if (i < 1) {\n        if (pcVar6[i] == '\0') {\n          iVar20 = 0x100;\n          local_b0 = 0;\n          iVar10 = 0;\n        }\n        else {\n          iVar18 = 0;\n          iVar20 = 0x100;\nLAB_0011dbe0:\n          iVar10 = iVar18 + 1;\n          pcVar4[iVar18] = pcVar6[i];\n          pcVar4[iVar10] = '\0';\n          i = i + 1;\n          local_b0 = 0;\n        }\n      }\n      else {\n        iVar20 = 0x100;\n        iVar18 = 0;\n        while( true ) {\n          iVar10 = iVar18 + 1;\n          pcVar4[iVar18] = pcVar6[iVar18];\n          pcVar4[iVar10] = '\0';\n          if (i <= iVar10) break;\n          iVar18 = iVar10;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n        }\n        if (pcVar6[i] != '\0') {\n          iVar18 = iVar10;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }\n    }\n  }\n  else {\n    iVar20 = 0x100;\n    local_b0 = 0;\n    iVar10 = 0;\n  }\n  puVar2 = PTR_DAT_001565b0;\n  puVar21 = PTR_pidstat_table_3077__0015656c;\n  if (i < local_c8) {\n    local_a8 = 0;\n    uVar3 = 0;\n    do {\n      cVar1 = pcVar6[i];\n      if (uVar3 == 0) {\n        uVar9 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((1 < uVar9) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {\n          mb[0] = '\0';\n          mb[1] = '\0';\n          mb[2] = '\0';\n          mb[3] = '\0';\n          mb[4] = '\0';\n          mb[5] = '\0';\n          mb[6] = '\0';\n          mb[7] = '\0';\n          mb[8] = '\0';\n          mb[9] = '\0';\n          mb[10] = '\0';\n          mb[0xb] = '\0';\n          mb[0xc] = '\0';\n          mb[0xd] = '\0';\n          mb[0xe] = '\0';\n          mb[0xf] = '\0';\n          piVar17 = (int *)mb;\n          cVar13 = cVar1;\n          do {\n            *(char *)piVar17 = cVar13;\n            ps.__count = 0;\n            ps.__value.__wch = 0;\n            iVar18 = _rl_get_char_len(mb,&ps);\n            if (iVar18 != -2) break;\n            i = i + 1;\n            piVar17 = (int *)((int)piVar17 + 1);\n            cVar13 = pcVar6[i];\n          } while (&local_2c != piVar17);\n          uVar9 = (*(code *)PTR_strlen_00158444)(mb);\n          if (1 < uVar9) {\n            iVar18 = iVar10 + uVar9;\n            iVar10 = iVar20;\n            if (iVar20 <= iVar18) {\n              do {\n                iVar10 = iVar10 + 0x80;\n              } while (iVar10 <= iVar18);\n              iVar20 = iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U);\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - uVar9),mb);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }\n        iVar18 = i;\n        if (*PTR_history_expansion_char_00156fcc == cVar1) {\nLAB_0011e340:\n          iVar14 = (int)pcVar6[i + 1];\n          if ((((iVar14 != 0) &&\n               (iVar16 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar14),\n               iVar16 == 0)) && ((local_c4 == 0 || (iVar14 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar18 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar18),\n              iVar18 == 0)))) {\n            iVar14 = i;\n            iVar18 = 0x27;\n            if ((local_b0 == 0) && (iVar18 = 0x22, local_c4 == 0)) {\n              iVar18 = 0;\n            }\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            i_1 = iVar14;\n            iVar16 = (int)pcVar6[iVar14 + 1];\n            if (iVar16 == 0) {\nLAB_0011e654:\n              pcVar7 = get_history_event(pcVar6,&i_1,iVar18);\n              iVar19 = i_1;\n            }\n            else {\n              iVar19 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar16);\n              if (iVar19 == 0) {\n                pcVar7 = pcVar4;\n                iVar19 = iVar14 + 2;\n                if (iVar16 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                fake_i = 0;\n                fake_s[0] = *PTR_history_expansion_char_00156fcc;\n                fake_s[2] = '\0';\n                i_1 = iVar14 + 1;\n                fake_s[1] = fake_s[0];\n                pcVar7 = get_history_event(fake_s,&fake_i,0);\n                iVar19 = i_1;\n              }\n            }\n            i_1 = iVar19;\n            iVar18 = i_1;\n            if (pcVar7 == (char *)0x0) {\n              pcVar7 = hist_error(pcVar6,iVar14,i_1,0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n              goto LAB_0011e9e8;\n            }\n            iVar14 = i_1 + 1;\n            if (pcVar6[i_1] != ':') {\n              iVar14 = i_1;\n            }\n            iVar16 = (int)pcVar6[iVar14];\n            if (iVar16 == 0x25) {\n              i_1 = iVar14 + 1;\n              if (*(int *)(PTR_pidstat_table_3077__0015656c + -0x3384) == 0) {\n                pcVar8 = (char *)(*(code *)PTR_xmalloc_001565b8)(1);\n                *pcVar8 = '\0';\n              }\n              else {\n                iVar20 = (*(code *)PTR_strlen_00158444)();\n                uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                pcVar8 = (char *)(*(code *)PTR_strcpy_001584cc)\n                                           (uVar11,*(undefined4 *)\n                                                    (PTR_pidstat_table_3077__0015656c + -0x3384));\n              }\n              goto LAB_0011e5b8;\n            }\n            if (iVar16 == 0x2a) {\n              i_1 = iVar14 + 1;\n              pcVar8 = history_arg_extract(1,0x24,pcVar7);\n              if (pcVar8 == (char *)0x0) {\n                pcVar8 = (char *)(*(code *)PTR_xmalloc_001565b8)(1);\n                *pcVar8 = '\0';\n              }\n              goto LAB_0011e5b8;\n            }\n            if (iVar16 == 0x24) {\n              i_1 = iVar14 + 1;\n              pcVar8 = history_arg_extract(0x24,0x24,pcVar7);\n              if (pcVar8 == puVar21 + -0x336c) goto LAB_0011e864;\n              if (pcVar8 != (char *)0x0) goto LAB_0011e5c8;\nLAB_0011e61c:\n              iVar18 = (*(code *)PTR_strlen_00158444)(pcVar7);\n              uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar18 + 1);\n              uVar11 = (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar7);\n              if (pcVar6[i_1] != ':') {\n                i_1 = i_1 + -1;\n                iVar18 = (*(code *)PTR_strlen_00158444)(uVar11);\n                if (0x7f < iVar18) {\n                  local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar18 + 2);\n                }\n                (*(code *)PTR_strcpy_001584cc)(local_c0,uVar11);\n                (*(code *)PTR_xfree_00156bb4)(uVar11);\n                iVar18 = i_1;\n                local_a8 = local_a8 + 1;\n                if (*local_c0 != '\0') {\n                  iVar16 = (*(code *)PTR_strlen_00158444)();\n                  iVar10 = iVar10 + iVar16;\n                  iVar14 = iVar20;\n                  if (iVar20 <= iVar10) {\n                    do {\n                      iVar14 = iVar14 + 0x80;\n                    } while (iVar14 <= iVar10);\n                    iVar20 = iVar20 + 0x80 + (iVar10 - iVar20 & 0xffffff80U);\n                    pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                  }\n                  (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar10 - iVar16),local_c0);\n                }\n                (*(code *)PTR_xfree_00156bb4)(local_c0);\n                i = iVar18;\n                iVar18 = iVar10;\n                goto LAB_0011dc80;\n              }\n              iVar20 = (int)pcVar6[i_1 + 1];\n              if ((iVar20 == 0x67) || (iVar20 == 0x61)) {\n                iVar20 = (int)pcVar6[i_1 + 2];\n                i_1 = i_1 + 1;\n              }\n              else if (iVar20 == 0x47) {\n                iVar20 = (int)pcVar6[i_1 + 2];\n                i_1 = i_1 + 1;\n              }\n              if ((iVar20 - 0x26U & 0xff) < 0x53) {\n                    /* WARNING: Could not emulate address calculation at 0x0011e968 */\n                    /* WARNING: Treating indirect jump as call */\n                iVar20 = (*(code *)((int)pidstat_table +\n                                   *(int *)(puVar2 + (iVar20 - 0x26U & 0xff) * 4 + 0x484) + 0x1554))\n                                   ();\n                return iVar20;\n              }\n              pcVar7 = hist_error(pcVar6,i_1 + 1,i_1 + 2,3);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n              (*(code *)PTR_xfree_00156bb4)(uVar11);\n            }\n            else {\n              if (iVar16 == 0x2d) {\n                iVar20 = 0;\n                goto LAB_0011e8ac;\n              }\n              if (iVar16 == 0x5e) {\n                iVar14 = iVar14 + 1;\n                iVar20 = 1;\n              }\n              else {\n                if ((9 < (iVar16 - 0x30U & 0xff)) || (pcVar6[i_1] != ':')) goto LAB_0011e61c;\n                iVar20 = 0;\n                do {\n                  iVar20 = iVar16 + -0x30 + iVar20 * 10;\n                  iVar14 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[iVar14];\n                } while ((iVar16 - 0x30U & 0xff) < 10);\n              }\n              cVar1 = pcVar6[iVar14];\n              if (cVar1 == '^') {\n                iVar10 = 1;\nLAB_0011e838:\n                i_1 = iVar14 + 1;\nLAB_0011e83c:\n                bVar15 = iVar10 < iVar20;\nLAB_0011e840:\n                if (((!bVar15) || (iVar10 == 0x24)) || (iVar10 < 0)) goto LAB_0011e5a4;\n              }\n              else {\n                if (cVar1 == '*') {\n                  iVar10 = 0x24;\n                  goto LAB_0011e838;\n                }\n                iVar10 = iVar20;\n                i_1 = iVar14;\n                if (cVar1 == '-') {\nLAB_0011e8ac:\n                  i_1 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[i_1];\n                  if (9 < (iVar16 - 0x30U & 0xff)) {\n                    if (iVar16 != 0x24) {\n                      iVar10 = -1;\n                      goto LAB_0011e5a4;\n                    }\n                    i_1 = iVar14 + 2;\n                    iVar10 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar10 = 0;\n                  do {\n                    iVar10 = iVar16 + -0x30 + iVar10 * 10;\n                    i_1 = i_1 + 1;\n                    iVar16 = (int)pcVar6[i_1];\n                    bVar15 = iVar10 < iVar20;\n                  } while ((iVar16 - 0x30U & 0xff) < 10);\n                  goto LAB_0011e840;\n                }\nLAB_0011e5a4:\n                pcVar8 = history_arg_extract(iVar20,iVar10,pcVar7);\n                if (pcVar8 != (char *)0x0) {\nLAB_0011e5b8:\n                  if (pcVar8 != puVar21 + -0x336c) {\nLAB_0011e5c8:\n                    iVar20 = (*(code *)PTR_strlen_00158444)(pcVar8);\n                    uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                    (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar8);\n                    iVar20 = (*(code *)PTR_free_001585ac)(pcVar8);\n                    return iVar20;\n                  }\n                }\n              }\nLAB_0011e864:\n              pcVar7 = hist_error(pcVar6,iVar18,i_1,1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *output = pcVar7;\n            (*(code *)PTR_xfree_00156bb4)(pcVar4);\n            if (pcVar6 == hstring) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = pcVar6[i];\n          pcVar4[iVar10 + 1] = '\0';\n          iVar18 = iVar10 + 1;\n        }\n        else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((i == 0 ||\n              ((pcVar6[i + -1] != '\0' &&\n               (iVar14 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar14 != 0)))))) {\n            uVar11 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar18) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar6 + i);\n            iVar14 = (*(code *)PTR_strlen_00158444)(uVar11);\n            iVar18 = iVar10 + iVar14;\n            iVar10 = iVar20;\n            if (iVar20 <= iVar18) {\n              do {\n                iVar10 = iVar10 + 0x80;\n              } while (iVar10 <= iVar18);\n              iVar20 = iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U);\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar14),uVar11);\n            (*(code *)PTR_xfree_00156bb4)(uVar11);\n            i = local_c8;\n          }\n          else {\n            if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            pcVar4[iVar10] = pcVar6[i];\n            pcVar4[iVar10 + 1] = '\0';\n            iVar18 = iVar10 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          iVar18 = iVar10 + 1;\n          pcVar4[iVar10] = '\"';\n          pcVar4[iVar18] = '\0';\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = pcVar6[i];\n          pcVar4[iVar10 + 1] = '\0';\n          iVar18 = iVar10 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar20 + -1 <= iVar10) {\n                  iVar20 = iVar20 + 0x40;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                pcVar4[iVar10] = pcVar6[i];\n                pcVar4[iVar10 + 1] = '\0';\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar18 = iVar10 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (i < 1) {\n                  uVar3 = 0;\n                }\n                else {\n                  uVar3 = (uint)(pcVar6[i + -1] == '$');\n                }\n                i = i + 1;\n                hist_string_extract_single_quoted(pcVar6,&i,uVar3);\n                iVar16 = i - iVar18;\n                iVar19 = iVar16 + 2;\n                iVar14 = (*(code *)PTR_xmalloc_001565b8)(iVar19);\n                (*(code *)PTR_strncpy_001583e4)(iVar14,pcVar6 + iVar18,iVar19);\n                *(undefined1 *)(iVar14 + iVar16 + 1) = 0;\n                iVar16 = (*(code *)PTR_strlen_00158444)(iVar14);\n                iVar18 = iVar10 + iVar16;\n                iVar10 = iVar20;\n                if (iVar20 <= iVar18) {\n                  do {\n                    iVar10 = iVar10 + 0x80;\n                  } while (iVar10 <= iVar18);\n                  iVar20 = (iVar18 - iVar20 & 0xffffff80U) + iVar20 + 0x80;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar16),iVar14);\n                (*(code *)PTR_xfree_00156bb4)(iVar14);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar20 + -1 <= iVar10) {\n                iVar20 = iVar20 + 0x40;\n                pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n              }\n              pcVar4[iVar10] = pcVar6[i];\n              pcVar4[iVar10 + 1] = '\0';\n              uVar3 = local_b0;\n              iVar18 = iVar10 + 1;\n            }\n          }\n          else {\n            if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            pcVar4[iVar10] = '\'';\n            pcVar4[iVar10 + 1] = '\0';\n            iVar18 = iVar10 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = '\\';\n          pcVar4[iVar10 + 1] = '\0';\n          uVar3 = 1;\n          iVar18 = iVar10 + 1;\n        }\n      }\n      else {\n        if (iVar20 + -1 <= iVar10) {\n          iVar20 = iVar20 + 0x40;\n          pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n        }\n        pcVar4[iVar10] = cVar1;\n        pcVar4[iVar10 + 1] = '\0';\n        uVar3 = 0;\n        iVar18 = iVar10 + 1;\n      }\nLAB_0011dc80:\n      i = i + 1;\n      iVar10 = iVar18;\n    } while (i < local_c8);\n    *output = pcVar4;\n    if (pcVar6 != hstring) {\nLAB_0011f650:\n      (*(code *)PTR_xfree_00156bb4)(pcVar6);\n    }\n  }\n  else {\n    *output = pcVar4;\n    if (pcVar6 != hstring) {\n      local_a8 = 0;\n      goto LAB_0011f650;\n    }\n    local_a8 = 0;\n  }\n  uVar3 = (uint)(local_a8 != 0);\nLAB_0011f678:\n  if (local_2c == *(int *)PTR___stack_chk_guard_0015858c) {\n    return uVar3;\n  }\n  iVar20 = local_2c;\n  puVar21 = PTR___stack_chk_fail_0015853c;\n  (*(code *)PTR___stack_chk_fail_0015853c)();\n  if (iVar20 == 0) {\n    iVar20 = (**(code **)(puVar21 + 0x384f4))(*(int *)(puVar21 + 0x36ccc) + 0x66e4);\n    if (iVar20 == 0) {\n      iVar18 = 0;\n    }\n    else {\n      iVar10 = (**(code **)(puVar21 + 0x38b94))(iVar20);\n      iVar18 = (**(code **)(puVar21 + 0x36d08))(iVar10 + 10);\n      (**(code **)(puVar21 + 0x38c1c))(iVar18,iVar20);\n      *(undefined1 *)(iVar18 + iVar10) = 0x2f;\n      puVar12 = (undefined4 *)(iVar18 + iVar10 + 1);\n      iVar20 = *(int *)(puVar21 + 0x36d00);\n      uVar11 = *(undefined4 *)(iVar20 + 0x5d4);\n      *puVar12 = *(undefined4 *)(iVar20 + 0x5d0);\n      puVar12[1] = uVar11;\n      *(undefined1 *)(puVar12 + 2) = *(undefined1 *)(iVar20 + 0x5d8);\n    }\n  }\n  else {\n    iVar18 = (**(code **)(puVar21 + 0x38b94))();\n    uVar11 = (**(code **)(puVar21 + 0x36d08))(iVar18 + 1);\n    iVar18 = (**(code **)(puVar21 + 0x38c1c))(uVar11,iVar20);\n  }\n  return iVar18;\n}\n\n" comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment (function_definition "int history_expand(char *hstring,char **output)\n\n{\n  char cVar1;\n  undefined *puVar2;\n  uint uVar3;\n  char *pcVar4;\n  code *pcVar5;\n  char *pcVar6;\n  char cVar13;\n  char *pcVar7;\n  char *pcVar8;\n  uint uVar9;\n  int iVar10;\n  undefined4 uVar11;\n  undefined4 *puVar12;\n  int iVar14;\n  bool bVar15;\n  int iVar16;\n  int *piVar17;\n  int iVar18;\n  int iVar19;\n  int iVar20;\n  undefined *puVar21;\n  int local_c8;\n  uint local_c4;\n  char *local_c0;\n  uint local_b0;\n  int local_a8;\n  int i;\n  int i_1;\n  int fake_i;\n  mbstate_t ps;\n  mbstate_t ps_1;\n  char fake_s [3];\n  char mb [16];\n  int local_2c;\n  \n  local_2c = *(int *)PTR___stack_chk_guard_0015858c;\n  uVar3 = 0;\n  if (output == (char **)0x0) goto LAB_0011f678;\n  if (*PTR_history_expansion_char_00156fcc == '\0') {\n    iVar20 = (*(code *)PTR_strlen_00158444)();\n    uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n    pcVar4 = (char *)(*(code *)PTR_strcpy_001584cc)(uVar11,hstring);\n    *output = pcVar4;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }\n  pcVar4 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x100);\n  *pcVar4 = '\0';\n  local_c8 = (*(code *)PTR_strlen_00158444)(hstring);\n  if (*hstring != *PTR_history_subst_char_00156fd0) {\n    ps.__count = 0;\n    ps.__value.__wch = 0;\n    uVar3 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);\n    i = 0;\n    pcVar6 = hstring;\n    if ((*(int *)PTR_history_quoting_state_001569a0 == 0x27) &&\n       (*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0)) {\n      hist_string_extract_single_quoted(hstring,&i,0);\n      if (hstring[i] == '\0') goto LAB_0011d994;\n      i = i + 1;\n    }\n    puVar2 = PTR_history_quotes_inhibit_expansion_00157524;\n    puVar21 = PTR_history_comment_char_00156f80;\n    if (hstring[i] != '\0') {\n      pcVar5 = (code *)(PTR_LAB_0015657c + -0x3e90);\n      do {\n        uVar9 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((uVar9 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {\nLAB_0011f800:\n          iVar20 = i;\n          iVar18 = (int)(hstring + i)[1];\n          if (((char)*puVar21 == 0) || (iVar10 = (int)hstring[i], (char)*puVar21 != iVar10)) {\n            iVar10 = (int)hstring[i];\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar10 == 0x5c) {\n                if (iVar18 == 0x22) {\n                  i = i + 1;\n                }\n                else {\n                  iVar16 = *(int *)puVar2;\n                  if (iVar16 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar16 = *(int *)puVar2;\n                if (iVar16 != 0) {\n                  if (iVar10 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar16 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((i == 0) ||\n               ((hstring[i + -1] != '\0' &&\n                (iVar10 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar10 != 0)))) goto LAB_0011da2c;\n            iVar10 = (int)hstring[iVar20];\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar10 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar10 == 0x27) {\n                if (iVar20 < 1) {\n                  bVar15 = false;\n                }\n                else {\n                  bVar15 = hstring[iVar20 + -1] == '$';\n                }\n                i = iVar20 + 1;\n                (*pcVar5)(hstring,&i,bVar15);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar10 == 0x5c) && ((iVar18 == 0x27 || (iVar18 == iVar14)))) {\n                  i = iVar20 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) goto LAB_0011f788;\n          }\n          if (((iVar18 != 0) &&\n              (iVar10 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar18),\n              iVar10 == 0)) && ((uVar3 == 0 || (iVar18 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(hstring,iVar20);\n            if (iVar20 == 0) break;\n          }\n        }\n        else {\n          iVar20 = _rl_get_char_len(hstring + i,&ps);\n          if (iVar20 < 2) goto LAB_0011f800;\n          i = i + iVar20 + -1;\n        }\nLAB_0011f7c0:\n        i = i + 1;\n      } while (hstring[i] != '\0');\n    }\n    goto LAB_0011d994;\n  }\n  pcVar6 = (char *)(*(code *)PTR_xmalloc_001565b8)(local_c8 + 5);\n  cVar1 = *PTR_history_expansion_char_00156fcc;\n  pcVar6[1] = cVar1;\n  *pcVar6 = cVar1;\n  pcVar6[2] = ':';\n  pcVar6[3] = 's';\n  (*(code *)PTR_strcpy_001584cc)(pcVar6 + 4,hstring);\n  local_c8 = local_c8 + 4;\n  goto LAB_0011d9ac;\nLAB_0011da2c:\n  do {\n    i = iVar20 + 1;\n    iVar20 = i;\n  } while (hstring[i] != '\0');\nLAB_0011d994:\n  if (hstring[i] != *PTR_history_expansion_char_00156fcc) {\n    (*(code *)PTR_xfree_00156bb4)(pcVar4);\n    iVar20 = (*(code *)PTR_strlen_00158444)(hstring);\n    uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n    pcVar4 = (char *)(*(code *)PTR_strcpy_001584cc)(uVar11,hstring);\n    *output = pcVar4;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }\nLAB_0011d9ac:\n  local_c4 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);\n  i = 0;\n  if (*(int *)PTR_history_quoting_state_001569a0 == 0x27) {\n    iVar20 = 0x100;\n    if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n      local_b0 = 1;\n      iVar10 = 0;\n    }\n    else {\n      hist_string_extract_single_quoted(pcVar6,&i,0);\n      if (i < 1) {\n        if (pcVar6[i] == '\0') {\n          iVar20 = 0x100;\n          local_b0 = 0;\n          iVar10 = 0;\n        }\n        else {\n          iVar18 = 0;\n          iVar20 = 0x100;\nLAB_0011dbe0:\n          iVar10 = iVar18 + 1;\n          pcVar4[iVar18] = pcVar6[i];\n          pcVar4[iVar10] = '\0';\n          i = i + 1;\n          local_b0 = 0;\n        }\n      }\n      else {\n        iVar20 = 0x100;\n        iVar18 = 0;\n        while( true ) {\n          iVar10 = iVar18 + 1;\n          pcVar4[iVar18] = pcVar6[iVar18];\n          pcVar4[iVar10] = '\0';\n          if (i <= iVar10) break;\n          iVar18 = iVar10;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n        }\n        if (pcVar6[i] != '\0') {\n          iVar18 = iVar10;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }\n    }\n  }\n  else {\n    iVar20 = 0x100;\n    local_b0 = 0;\n    iVar10 = 0;\n  }\n  puVar2 = PTR_DAT_001565b0;\n  puVar21 = PTR_pidstat_table_3077__0015656c;\n  if (i < local_c8) {\n    local_a8 = 0;\n    uVar3 = 0;\n    do {\n      cVar1 = pcVar6[i];\n      if (uVar3 == 0) {\n        uVar9 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((1 < uVar9) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {\n          mb[0] = '\0';\n          mb[1] = '\0';\n          mb[2] = '\0';\n          mb[3] = '\0';\n          mb[4] = '\0';\n          mb[5] = '\0';\n          mb[6] = '\0';\n          mb[7] = '\0';\n          mb[8] = '\0';\n          mb[9] = '\0';\n          mb[10] = '\0';\n          mb[0xb] = '\0';\n          mb[0xc] = '\0';\n          mb[0xd] = '\0';\n          mb[0xe] = '\0';\n          mb[0xf] = '\0';\n          piVar17 = (int *)mb;\n          cVar13 = cVar1;\n          do {\n            *(char *)piVar17 = cVar13;\n            ps.__count = 0;\n            ps.__value.__wch = 0;\n            iVar18 = _rl_get_char_len(mb,&ps);\n            if (iVar18 != -2) break;\n            i = i + 1;\n            piVar17 = (int *)((int)piVar17 + 1);\n            cVar13 = pcVar6[i];\n          } while (&local_2c != piVar17);\n          uVar9 = (*(code *)PTR_strlen_00158444)(mb);\n          if (1 < uVar9) {\n            iVar18 = iVar10 + uVar9;\n            iVar10 = iVar20;\n            if (iVar20 <= iVar18) {\n              do {\n                iVar10 = iVar10 + 0x80;\n              } while (iVar10 <= iVar18);\n              iVar20 = iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U);\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - uVar9),mb);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }\n        iVar18 = i;\n        if (*PTR_history_expansion_char_00156fcc == cVar1) {\nLAB_0011e340:\n          iVar14 = (int)pcVar6[i + 1];\n          if ((((iVar14 != 0) &&\n               (iVar16 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar14),\n               iVar16 == 0)) && ((local_c4 == 0 || (iVar14 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar18 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar18),\n              iVar18 == 0)))) {\n            iVar14 = i;\n            iVar18 = 0x27;\n            if ((local_b0 == 0) && (iVar18 = 0x22, local_c4 == 0)) {\n              iVar18 = 0;\n            }\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            i_1 = iVar14;\n            iVar16 = (int)pcVar6[iVar14 + 1];\n            if (iVar16 == 0) {\nLAB_0011e654:\n              pcVar7 = get_history_event(pcVar6,&i_1,iVar18);\n              iVar19 = i_1;\n            }\n            else {\n              iVar19 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar16);\n              if (iVar19 == 0) {\n                pcVar7 = pcVar4;\n                iVar19 = iVar14 + 2;\n                if (iVar16 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                fake_i = 0;\n                fake_s[0] = *PTR_history_expansion_char_00156fcc;\n                fake_s[2] = '\0';\n                i_1 = iVar14 + 1;\n                fake_s[1] = fake_s[0];\n                pcVar7 = get_history_event(fake_s,&fake_i,0);\n                iVar19 = i_1;\n              }\n            }\n            i_1 = iVar19;\n            iVar18 = i_1;\n            if (pcVar7 == (char *)0x0) {\n              pcVar7 = hist_error(pcVar6,iVar14,i_1,0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n              goto LAB_0011e9e8;\n            }\n            iVar14 = i_1 + 1;\n            if (pcVar6[i_1] != ':') {\n              iVar14 = i_1;\n            }\n            iVar16 = (int)pcVar6[iVar14];\n            if (iVar16 == 0x25) {\n              i_1 = iVar14 + 1;\n              if (*(int *)(PTR_pidstat_table_3077__0015656c + -0x3384) == 0) {\n                pcVar8 = (char *)(*(code *)PTR_xmalloc_001565b8)(1);\n                *pcVar8 = '\0';\n              }\n              else {\n                iVar20 = (*(code *)PTR_strlen_00158444)();\n                uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                pcVar8 = (char *)(*(code *)PTR_strcpy_001584cc)\n                                           (uVar11,*(undefined4 *)\n                                                    (PTR_pidstat_table_3077__0015656c + -0x3384));\n              }\n              goto LAB_0011e5b8;\n            }\n            if (iVar16 == 0x2a) {\n              i_1 = iVar14 + 1;\n              pcVar8 = history_arg_extract(1,0x24,pcVar7);\n              if (pcVar8 == (char *)0x0) {\n                pcVar8 = (char *)(*(code *)PTR_xmalloc_001565b8)(1);\n                *pcVar8 = '\0';\n              }\n              goto LAB_0011e5b8;\n            }\n            if (iVar16 == 0x24) {\n              i_1 = iVar14 + 1;\n              pcVar8 = history_arg_extract(0x24,0x24,pcVar7);\n              if (pcVar8 == puVar21 + -0x336c) goto LAB_0011e864;\n              if (pcVar8 != (char *)0x0) goto LAB_0011e5c8;\nLAB_0011e61c:\n              iVar18 = (*(code *)PTR_strlen_00158444)(pcVar7);\n              uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar18 + 1);\n              uVar11 = (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar7);\n              if (pcVar6[i_1] != ':') {\n                i_1 = i_1 + -1;\n                iVar18 = (*(code *)PTR_strlen_00158444)(uVar11);\n                if (0x7f < iVar18) {\n                  local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar18 + 2);\n                }\n                (*(code *)PTR_strcpy_001584cc)(local_c0,uVar11);\n                (*(code *)PTR_xfree_00156bb4)(uVar11);\n                iVar18 = i_1;\n                local_a8 = local_a8 + 1;\n                if (*local_c0 != '\0') {\n                  iVar16 = (*(code *)PTR_strlen_00158444)();\n                  iVar10 = iVar10 + iVar16;\n                  iVar14 = iVar20;\n                  if (iVar20 <= iVar10) {\n                    do {\n                      iVar14 = iVar14 + 0x80;\n                    } while (iVar14 <= iVar10);\n                    iVar20 = iVar20 + 0x80 + (iVar10 - iVar20 & 0xffffff80U);\n                    pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                  }\n                  (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar10 - iVar16),local_c0);\n                }\n                (*(code *)PTR_xfree_00156bb4)(local_c0);\n                i = iVar18;\n                iVar18 = iVar10;\n                goto LAB_0011dc80;\n              }\n              iVar20 = (int)pcVar6[i_1 + 1];\n              if ((iVar20 == 0x67) || (iVar20 == 0x61)) {\n                iVar20 = (int)pcVar6[i_1 + 2];\n                i_1 = i_1 + 1;\n              }\n              else if (iVar20 == 0x47) {\n                iVar20 = (int)pcVar6[i_1 + 2];\n                i_1 = i_1 + 1;\n              }\n              if ((iVar20 - 0x26U & 0xff) < 0x53) {\n                    /* WARNING: Could not emulate address calculation at 0x0011e968 */\n                    /* WARNING: Treating indirect jump as call */\n                iVar20 = (*(code *)((int)pidstat_table +\n                                   *(int *)(puVar2 + (iVar20 - 0x26U & 0xff) * 4 + 0x484) + 0x1554))\n                                   ();\n                return iVar20;\n              }\n              pcVar7 = hist_error(pcVar6,i_1 + 1,i_1 + 2,3);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n              (*(code *)PTR_xfree_00156bb4)(uVar11);\n            }\n            else {\n              if (iVar16 == 0x2d) {\n                iVar20 = 0;\n                goto LAB_0011e8ac;\n              }\n              if (iVar16 == 0x5e) {\n                iVar14 = iVar14 + 1;\n                iVar20 = 1;\n              }\n              else {\n                if ((9 < (iVar16 - 0x30U & 0xff)) || (pcVar6[i_1] != ':')) goto LAB_0011e61c;\n                iVar20 = 0;\n                do {\n                  iVar20 = iVar16 + -0x30 + iVar20 * 10;\n                  iVar14 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[iVar14];\n                } while ((iVar16 - 0x30U & 0xff) < 10);\n              }\n              cVar1 = pcVar6[iVar14];\n              if (cVar1 == '^') {\n                iVar10 = 1;\nLAB_0011e838:\n                i_1 = iVar14 + 1;\nLAB_0011e83c:\n                bVar15 = iVar10 < iVar20;\nLAB_0011e840:\n                if (((!bVar15) || (iVar10 == 0x24)) || (iVar10 < 0)) goto LAB_0011e5a4;\n              }\n              else {\n                if (cVar1 == '*') {\n                  iVar10 = 0x24;\n                  goto LAB_0011e838;\n                }\n                iVar10 = iVar20;\n                i_1 = iVar14;\n                if (cVar1 == '-') {\nLAB_0011e8ac:\n                  i_1 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[i_1];\n                  if (9 < (iVar16 - 0x30U & 0xff)) {\n                    if (iVar16 != 0x24) {\n                      iVar10 = -1;\n                      goto LAB_0011e5a4;\n                    }\n                    i_1 = iVar14 + 2;\n                    iVar10 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar10 = 0;\n                  do {\n                    iVar10 = iVar16 + -0x30 + iVar10 * 10;\n                    i_1 = i_1 + 1;\n                    iVar16 = (int)pcVar6[i_1];\n                    bVar15 = iVar10 < iVar20;\n                  } while ((iVar16 - 0x30U & 0xff) < 10);\n                  goto LAB_0011e840;\n                }\nLAB_0011e5a4:\n                pcVar8 = history_arg_extract(iVar20,iVar10,pcVar7);\n                if (pcVar8 != (char *)0x0) {\nLAB_0011e5b8:\n                  if (pcVar8 != puVar21 + -0x336c) {\nLAB_0011e5c8:\n                    iVar20 = (*(code *)PTR_strlen_00158444)(pcVar8);\n                    uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                    (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar8);\n                    iVar20 = (*(code *)PTR_free_001585ac)(pcVar8);\n                    return iVar20;\n                  }\n                }\n              }\nLAB_0011e864:\n              pcVar7 = hist_error(pcVar6,iVar18,i_1,1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *output = pcVar7;\n            (*(code *)PTR_xfree_00156bb4)(pcVar4);\n            if (pcVar6 == hstring) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = pcVar6[i];\n          pcVar4[iVar10 + 1] = '\0';\n          iVar18 = iVar10 + 1;\n        }\n        else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((i == 0 ||\n              ((pcVar6[i + -1] != '\0' &&\n               (iVar14 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar14 != 0)))))) {\n            uVar11 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar18) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar6 + i);\n            iVar14 = (*(code *)PTR_strlen_00158444)(uVar11);\n            iVar18 = iVar10 + iVar14;\n            iVar10 = iVar20;\n            if (iVar20 <= iVar18) {\n              do {\n                iVar10 = iVar10 + 0x80;\n              } while (iVar10 <= iVar18);\n              iVar20 = iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U);\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar14),uVar11);\n            (*(code *)PTR_xfree_00156bb4)(uVar11);\n            i = local_c8;\n          }\n          else {\n            if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            pcVar4[iVar10] = pcVar6[i];\n            pcVar4[iVar10 + 1] = '\0';\n            iVar18 = iVar10 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          iVar18 = iVar10 + 1;\n          pcVar4[iVar10] = '\"';\n          pcVar4[iVar18] = '\0';\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = pcVar6[i];\n          pcVar4[iVar10 + 1] = '\0';\n          iVar18 = iVar10 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar20 + -1 <= iVar10) {\n                  iVar20 = iVar20 + 0x40;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                pcVar4[iVar10] = pcVar6[i];\n                pcVar4[iVar10 + 1] = '\0';\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar18 = iVar10 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (i < 1) {\n                  uVar3 = 0;\n                }\n                else {\n                  uVar3 = (uint)(pcVar6[i + -1] == '$');\n                }\n                i = i + 1;\n                hist_string_extract_single_quoted(pcVar6,&i,uVar3);\n                iVar16 = i - iVar18;\n                iVar19 = iVar16 + 2;\n                iVar14 = (*(code *)PTR_xmalloc_001565b8)(iVar19);\n                (*(code *)PTR_strncpy_001583e4)(iVar14,pcVar6 + iVar18,iVar19);\n                *(undefined1 *)(iVar14 + iVar16 + 1) = 0;\n                iVar16 = (*(code *)PTR_strlen_00158444)(iVar14);\n                iVar18 = iVar10 + iVar16;\n                iVar10 = iVar20;\n                if (iVar20 <= iVar18) {\n                  do {\n                    iVar10 = iVar10 + 0x80;\n                  } while (iVar10 <= iVar18);\n                  iVar20 = (iVar18 - iVar20 & 0xffffff80U) + iVar20 + 0x80;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar16),iVar14);\n                (*(code *)PTR_xfree_00156bb4)(iVar14);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar20 + -1 <= iVar10) {\n                iVar20 = iVar20 + 0x40;\n                pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n              }\n              pcVar4[iVar10] = pcVar6[i];\n              pcVar4[iVar10 + 1] = '\0';\n              uVar3 = local_b0;\n              iVar18 = iVar10 + 1;\n            }\n          }\n          else {\n            if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            pcVar4[iVar10] = '\'';\n            pcVar4[iVar10 + 1] = '\0';\n            iVar18 = iVar10 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = '\\';\n          pcVar4[iVar10 + 1] = '\0';\n          uVar3 = 1;\n          iVar18 = iVar10 + 1;\n        }\n      }\n      else {\n        if (iVar20 + -1 <= iVar10) {\n          iVar20 = iVar20 + 0x40;\n          pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n        }\n        pcVar4[iVar10] = cVar1;\n        pcVar4[iVar10 + 1] = '\0';\n        uVar3 = 0;\n        iVar18 = iVar10 + 1;\n      }\nLAB_0011dc80:\n      i = i + 1;\n      iVar10 = iVar18;\n    } while (i < local_c8);\n    *output = pcVar4;\n    if (pcVar6 != hstring) {\nLAB_0011f650:\n      (*(code *)PTR_xfree_00156bb4)(pcVar6);\n    }\n  }\n  else {\n    *output = pcVar4;\n    if (pcVar6 != hstring) {\n      local_a8 = 0;\n      goto LAB_0011f650;\n    }\n    local_a8 = 0;\n  }\n  uVar3 = (uint)(local_a8 != 0);\nLAB_0011f678:\n  if (local_2c == *(int *)PTR___stack_chk_guard_0015858c) {\n    return uVar3;\n  }\n  iVar20 = local_2c;\n  puVar21 = PTR___stack_chk_fail_0015853c;\n  (*(code *)PTR___stack_chk_fail_0015853c)();\n  if (iVar20 == 0) {\n    iVar20 = (**(code **)(puVar21 + 0x384f4))(*(int *)(puVar21 + 0x36ccc) + 0x66e4);\n    if (iVar20 == 0) {\n      iVar18 = 0;\n    }\n    else {\n      iVar10 = (**(code **)(puVar21 + 0x38b94))(iVar20);\n      iVar18 = (**(code **)(puVar21 + 0x36d08))(iVar10 + 10);\n      (**(code **)(puVar21 + 0x38c1c))(iVar18,iVar20);\n      *(undefined1 *)(iVar18 + iVar10) = 0x2f;\n      puVar12 = (undefined4 *)(iVar18 + iVar10 + 1);\n      iVar20 = *(int *)(puVar21 + 0x36d00);\n      uVar11 = *(undefined4 *)(iVar20 + 0x5d4);\n      *puVar12 = *(undefined4 *)(iVar20 + 0x5d0);\n      puVar12[1] = uVar11;\n      *(undefined1 *)(puVar12 + 2) = *(undefined1 *)(iVar20 + 0x5d8);\n    }\n  }\n  else {\n    iVar18 = (**(code **)(puVar21 + 0x38b94))();\n    uVar11 = (**(code **)(puVar21 + 0x36d08))(iVar18 + 1);\n    iVar18 = (**(code **)(puVar21 + 0x38c1c))(uVar11,iVar20);\n  }\n  return iVar18;\n}" primitive_type (function_declarator "history_expand(char *hstring,char **output)" identifier (parameter_list "(char *hstring,char **output)" ( (parameter_declaration "char *hstring" primitive_type (pointer_declarator "*hstring" * identifier)) , (parameter_declaration "char **output" primitive_type (pointer_declarator "**output" * (pointer_declarator "*output" * identifier))) ))) (compound_statement "{\n  char cVar1;\n  undefined *puVar2;\n  uint uVar3;\n  char *pcVar4;\n  code *pcVar5;\n  char *pcVar6;\n  char cVar13;\n  char *pcVar7;\n  char *pcVar8;\n  uint uVar9;\n  int iVar10;\n  undefined4 uVar11;\n  undefined4 *puVar12;\n  int iVar14;\n  bool bVar15;\n  int iVar16;\n  int *piVar17;\n  int iVar18;\n  int iVar19;\n  int iVar20;\n  undefined *puVar21;\n  int local_c8;\n  uint local_c4;\n  char *local_c0;\n  uint local_b0;\n  int local_a8;\n  int i;\n  int i_1;\n  int fake_i;\n  mbstate_t ps;\n  mbstate_t ps_1;\n  char fake_s [3];\n  char mb [16];\n  int local_2c;\n  \n  local_2c = *(int *)PTR___stack_chk_guard_0015858c;\n  uVar3 = 0;\n  if (output == (char **)0x0) goto LAB_0011f678;\n  if (*PTR_history_expansion_char_00156fcc == '\0') {\n    iVar20 = (*(code *)PTR_strlen_00158444)();\n    uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n    pcVar4 = (char *)(*(code *)PTR_strcpy_001584cc)(uVar11,hstring);\n    *output = pcVar4;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }\n  pcVar4 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x100);\n  *pcVar4 = '\0';\n  local_c8 = (*(code *)PTR_strlen_00158444)(hstring);\n  if (*hstring != *PTR_history_subst_char_00156fd0) {\n    ps.__count = 0;\n    ps.__value.__wch = 0;\n    uVar3 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);\n    i = 0;\n    pcVar6 = hstring;\n    if ((*(int *)PTR_history_quoting_state_001569a0 == 0x27) &&\n       (*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0)) {\n      hist_string_extract_single_quoted(hstring,&i,0);\n      if (hstring[i] == '\0') goto LAB_0011d994;\n      i = i + 1;\n    }\n    puVar2 = PTR_history_quotes_inhibit_expansion_00157524;\n    puVar21 = PTR_history_comment_char_00156f80;\n    if (hstring[i] != '\0') {\n      pcVar5 = (code *)(PTR_LAB_0015657c + -0x3e90);\n      do {\n        uVar9 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((uVar9 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {\nLAB_0011f800:\n          iVar20 = i;\n          iVar18 = (int)(hstring + i)[1];\n          if (((char)*puVar21 == 0) || (iVar10 = (int)hstring[i], (char)*puVar21 != iVar10)) {\n            iVar10 = (int)hstring[i];\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar10 == 0x5c) {\n                if (iVar18 == 0x22) {\n                  i = i + 1;\n                }\n                else {\n                  iVar16 = *(int *)puVar2;\n                  if (iVar16 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar16 = *(int *)puVar2;\n                if (iVar16 != 0) {\n                  if (iVar10 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar16 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((i == 0) ||\n               ((hstring[i + -1] != '\0' &&\n                (iVar10 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar10 != 0)))) goto LAB_0011da2c;\n            iVar10 = (int)hstring[iVar20];\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar10 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar10 == 0x27) {\n                if (iVar20 < 1) {\n                  bVar15 = false;\n                }\n                else {\n                  bVar15 = hstring[iVar20 + -1] == '$';\n                }\n                i = iVar20 + 1;\n                (*pcVar5)(hstring,&i,bVar15);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar10 == 0x5c) && ((iVar18 == 0x27 || (iVar18 == iVar14)))) {\n                  i = iVar20 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) goto LAB_0011f788;\n          }\n          if (((iVar18 != 0) &&\n              (iVar10 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar18),\n              iVar10 == 0)) && ((uVar3 == 0 || (iVar18 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(hstring,iVar20);\n            if (iVar20 == 0) break;\n          }\n        }\n        else {\n          iVar20 = _rl_get_char_len(hstring + i,&ps);\n          if (iVar20 < 2) goto LAB_0011f800;\n          i = i + iVar20 + -1;\n        }\nLAB_0011f7c0:\n        i = i + 1;\n      } while (hstring[i] != '\0');\n    }\n    goto LAB_0011d994;\n  }\n  pcVar6 = (char *)(*(code *)PTR_xmalloc_001565b8)(local_c8 + 5);\n  cVar1 = *PTR_history_expansion_char_00156fcc;\n  pcVar6[1] = cVar1;\n  *pcVar6 = cVar1;\n  pcVar6[2] = ':';\n  pcVar6[3] = 's';\n  (*(code *)PTR_strcpy_001584cc)(pcVar6 + 4,hstring);\n  local_c8 = local_c8 + 4;\n  goto LAB_0011d9ac;\nLAB_0011da2c:\n  do {\n    i = iVar20 + 1;\n    iVar20 = i;\n  } while (hstring[i] != '\0');\nLAB_0011d994:\n  if (hstring[i] != *PTR_history_expansion_char_00156fcc) {\n    (*(code *)PTR_xfree_00156bb4)(pcVar4);\n    iVar20 = (*(code *)PTR_strlen_00158444)(hstring);\n    uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n    pcVar4 = (char *)(*(code *)PTR_strcpy_001584cc)(uVar11,hstring);\n    *output = pcVar4;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }\nLAB_0011d9ac:\n  local_c4 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);\n  i = 0;\n  if (*(int *)PTR_history_quoting_state_001569a0 == 0x27) {\n    iVar20 = 0x100;\n    if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n      local_b0 = 1;\n      iVar10 = 0;\n    }\n    else {\n      hist_string_extract_single_quoted(pcVar6,&i,0);\n      if (i < 1) {\n        if (pcVar6[i] == '\0') {\n          iVar20 = 0x100;\n          local_b0 = 0;\n          iVar10 = 0;\n        }\n        else {\n          iVar18 = 0;\n          iVar20 = 0x100;\nLAB_0011dbe0:\n          iVar10 = iVar18 + 1;\n          pcVar4[iVar18] = pcVar6[i];\n          pcVar4[iVar10] = '\0';\n          i = i + 1;\n          local_b0 = 0;\n        }\n      }\n      else {\n        iVar20 = 0x100;\n        iVar18 = 0;\n        while( true ) {\n          iVar10 = iVar18 + 1;\n          pcVar4[iVar18] = pcVar6[iVar18];\n          pcVar4[iVar10] = '\0';\n          if (i <= iVar10) break;\n          iVar18 = iVar10;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n        }\n        if (pcVar6[i] != '\0') {\n          iVar18 = iVar10;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }\n    }\n  }\n  else {\n    iVar20 = 0x100;\n    local_b0 = 0;\n    iVar10 = 0;\n  }\n  puVar2 = PTR_DAT_001565b0;\n  puVar21 = PTR_pidstat_table_3077__0015656c;\n  if (i < local_c8) {\n    local_a8 = 0;\n    uVar3 = 0;\n    do {\n      cVar1 = pcVar6[i];\n      if (uVar3 == 0) {\n        uVar9 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((1 < uVar9) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {\n          mb[0] = '\0';\n          mb[1] = '\0';\n          mb[2] = '\0';\n          mb[3] = '\0';\n          mb[4] = '\0';\n          mb[5] = '\0';\n          mb[6] = '\0';\n          mb[7] = '\0';\n          mb[8] = '\0';\n          mb[9] = '\0';\n          mb[10] = '\0';\n          mb[0xb] = '\0';\n          mb[0xc] = '\0';\n          mb[0xd] = '\0';\n          mb[0xe] = '\0';\n          mb[0xf] = '\0';\n          piVar17 = (int *)mb;\n          cVar13 = cVar1;\n          do {\n            *(char *)piVar17 = cVar13;\n            ps.__count = 0;\n            ps.__value.__wch = 0;\n            iVar18 = _rl_get_char_len(mb,&ps);\n            if (iVar18 != -2) break;\n            i = i + 1;\n            piVar17 = (int *)((int)piVar17 + 1);\n            cVar13 = pcVar6[i];\n          } while (&local_2c != piVar17);\n          uVar9 = (*(code *)PTR_strlen_00158444)(mb);\n          if (1 < uVar9) {\n            iVar18 = iVar10 + uVar9;\n            iVar10 = iVar20;\n            if (iVar20 <= iVar18) {\n              do {\n                iVar10 = iVar10 + 0x80;\n              } while (iVar10 <= iVar18);\n              iVar20 = iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U);\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - uVar9),mb);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }\n        iVar18 = i;\n        if (*PTR_history_expansion_char_00156fcc == cVar1) {\nLAB_0011e340:\n          iVar14 = (int)pcVar6[i + 1];\n          if ((((iVar14 != 0) &&\n               (iVar16 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar14),\n               iVar16 == 0)) && ((local_c4 == 0 || (iVar14 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar18 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar18),\n              iVar18 == 0)))) {\n            iVar14 = i;\n            iVar18 = 0x27;\n            if ((local_b0 == 0) && (iVar18 = 0x22, local_c4 == 0)) {\n              iVar18 = 0;\n            }\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            i_1 = iVar14;\n            iVar16 = (int)pcVar6[iVar14 + 1];\n            if (iVar16 == 0) {\nLAB_0011e654:\n              pcVar7 = get_history_event(pcVar6,&i_1,iVar18);\n              iVar19 = i_1;\n            }\n            else {\n              iVar19 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar16);\n              if (iVar19 == 0) {\n                pcVar7 = pcVar4;\n                iVar19 = iVar14 + 2;\n                if (iVar16 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                fake_i = 0;\n                fake_s[0] = *PTR_history_expansion_char_00156fcc;\n                fake_s[2] = '\0';\n                i_1 = iVar14 + 1;\n                fake_s[1] = fake_s[0];\n                pcVar7 = get_history_event(fake_s,&fake_i,0);\n                iVar19 = i_1;\n              }\n            }\n            i_1 = iVar19;\n            iVar18 = i_1;\n            if (pcVar7 == (char *)0x0) {\n              pcVar7 = hist_error(pcVar6,iVar14,i_1,0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n              goto LAB_0011e9e8;\n            }\n            iVar14 = i_1 + 1;\n            if (pcVar6[i_1] != ':') {\n              iVar14 = i_1;\n            }\n            iVar16 = (int)pcVar6[iVar14];\n            if (iVar16 == 0x25) {\n              i_1 = iVar14 + 1;\n              if (*(int *)(PTR_pidstat_table_3077__0015656c + -0x3384) == 0) {\n                pcVar8 = (char *)(*(code *)PTR_xmalloc_001565b8)(1);\n                *pcVar8 = '\0';\n              }\n              else {\n                iVar20 = (*(code *)PTR_strlen_00158444)();\n                uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                pcVar8 = (char *)(*(code *)PTR_strcpy_001584cc)\n                                           (uVar11,*(undefined4 *)\n                                                    (PTR_pidstat_table_3077__0015656c + -0x3384));\n              }\n              goto LAB_0011e5b8;\n            }\n            if (iVar16 == 0x2a) {\n              i_1 = iVar14 + 1;\n              pcVar8 = history_arg_extract(1,0x24,pcVar7);\n              if (pcVar8 == (char *)0x0) {\n                pcVar8 = (char *)(*(code *)PTR_xmalloc_001565b8)(1);\n                *pcVar8 = '\0';\n              }\n              goto LAB_0011e5b8;\n            }\n            if (iVar16 == 0x24) {\n              i_1 = iVar14 + 1;\n              pcVar8 = history_arg_extract(0x24,0x24,pcVar7);\n              if (pcVar8 == puVar21 + -0x336c) goto LAB_0011e864;\n              if (pcVar8 != (char *)0x0) goto LAB_0011e5c8;\nLAB_0011e61c:\n              iVar18 = (*(code *)PTR_strlen_00158444)(pcVar7);\n              uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar18 + 1);\n              uVar11 = (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar7);\n              if (pcVar6[i_1] != ':') {\n                i_1 = i_1 + -1;\n                iVar18 = (*(code *)PTR_strlen_00158444)(uVar11);\n                if (0x7f < iVar18) {\n                  local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar18 + 2);\n                }\n                (*(code *)PTR_strcpy_001584cc)(local_c0,uVar11);\n                (*(code *)PTR_xfree_00156bb4)(uVar11);\n                iVar18 = i_1;\n                local_a8 = local_a8 + 1;\n                if (*local_c0 != '\0') {\n                  iVar16 = (*(code *)PTR_strlen_00158444)();\n                  iVar10 = iVar10 + iVar16;\n                  iVar14 = iVar20;\n                  if (iVar20 <= iVar10) {\n                    do {\n                      iVar14 = iVar14 + 0x80;\n                    } while (iVar14 <= iVar10);\n                    iVar20 = iVar20 + 0x80 + (iVar10 - iVar20 & 0xffffff80U);\n                    pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                  }\n                  (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar10 - iVar16),local_c0);\n                }\n                (*(code *)PTR_xfree_00156bb4)(local_c0);\n                i = iVar18;\n                iVar18 = iVar10;\n                goto LAB_0011dc80;\n              }\n              iVar20 = (int)pcVar6[i_1 + 1];\n              if ((iVar20 == 0x67) || (iVar20 == 0x61)) {\n                iVar20 = (int)pcVar6[i_1 + 2];\n                i_1 = i_1 + 1;\n              }\n              else if (iVar20 == 0x47) {\n                iVar20 = (int)pcVar6[i_1 + 2];\n                i_1 = i_1 + 1;\n              }\n              if ((iVar20 - 0x26U & 0xff) < 0x53) {\n                    /* WARNING: Could not emulate address calculation at 0x0011e968 */\n                    /* WARNING: Treating indirect jump as call */\n                iVar20 = (*(code *)((int)pidstat_table +\n                                   *(int *)(puVar2 + (iVar20 - 0x26U & 0xff) * 4 + 0x484) + 0x1554))\n                                   ();\n                return iVar20;\n              }\n              pcVar7 = hist_error(pcVar6,i_1 + 1,i_1 + 2,3);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n              (*(code *)PTR_xfree_00156bb4)(uVar11);\n            }\n            else {\n              if (iVar16 == 0x2d) {\n                iVar20 = 0;\n                goto LAB_0011e8ac;\n              }\n              if (iVar16 == 0x5e) {\n                iVar14 = iVar14 + 1;\n                iVar20 = 1;\n              }\n              else {\n                if ((9 < (iVar16 - 0x30U & 0xff)) || (pcVar6[i_1] != ':')) goto LAB_0011e61c;\n                iVar20 = 0;\n                do {\n                  iVar20 = iVar16 + -0x30 + iVar20 * 10;\n                  iVar14 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[iVar14];\n                } while ((iVar16 - 0x30U & 0xff) < 10);\n              }\n              cVar1 = pcVar6[iVar14];\n              if (cVar1 == '^') {\n                iVar10 = 1;\nLAB_0011e838:\n                i_1 = iVar14 + 1;\nLAB_0011e83c:\n                bVar15 = iVar10 < iVar20;\nLAB_0011e840:\n                if (((!bVar15) || (iVar10 == 0x24)) || (iVar10 < 0)) goto LAB_0011e5a4;\n              }\n              else {\n                if (cVar1 == '*') {\n                  iVar10 = 0x24;\n                  goto LAB_0011e838;\n                }\n                iVar10 = iVar20;\n                i_1 = iVar14;\n                if (cVar1 == '-') {\nLAB_0011e8ac:\n                  i_1 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[i_1];\n                  if (9 < (iVar16 - 0x30U & 0xff)) {\n                    if (iVar16 != 0x24) {\n                      iVar10 = -1;\n                      goto LAB_0011e5a4;\n                    }\n                    i_1 = iVar14 + 2;\n                    iVar10 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar10 = 0;\n                  do {\n                    iVar10 = iVar16 + -0x30 + iVar10 * 10;\n                    i_1 = i_1 + 1;\n                    iVar16 = (int)pcVar6[i_1];\n                    bVar15 = iVar10 < iVar20;\n                  } while ((iVar16 - 0x30U & 0xff) < 10);\n                  goto LAB_0011e840;\n                }\nLAB_0011e5a4:\n                pcVar8 = history_arg_extract(iVar20,iVar10,pcVar7);\n                if (pcVar8 != (char *)0x0) {\nLAB_0011e5b8:\n                  if (pcVar8 != puVar21 + -0x336c) {\nLAB_0011e5c8:\n                    iVar20 = (*(code *)PTR_strlen_00158444)(pcVar8);\n                    uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                    (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar8);\n                    iVar20 = (*(code *)PTR_free_001585ac)(pcVar8);\n                    return iVar20;\n                  }\n                }\n              }\nLAB_0011e864:\n              pcVar7 = hist_error(pcVar6,iVar18,i_1,1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *output = pcVar7;\n            (*(code *)PTR_xfree_00156bb4)(pcVar4);\n            if (pcVar6 == hstring) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = pcVar6[i];\n          pcVar4[iVar10 + 1] = '\0';\n          iVar18 = iVar10 + 1;\n        }\n        else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((i == 0 ||\n              ((pcVar6[i + -1] != '\0' &&\n               (iVar14 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar14 != 0)))))) {\n            uVar11 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar18) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar6 + i);\n            iVar14 = (*(code *)PTR_strlen_00158444)(uVar11);\n            iVar18 = iVar10 + iVar14;\n            iVar10 = iVar20;\n            if (iVar20 <= iVar18) {\n              do {\n                iVar10 = iVar10 + 0x80;\n              } while (iVar10 <= iVar18);\n              iVar20 = iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U);\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar14),uVar11);\n            (*(code *)PTR_xfree_00156bb4)(uVar11);\n            i = local_c8;\n          }\n          else {\n            if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            pcVar4[iVar10] = pcVar6[i];\n            pcVar4[iVar10 + 1] = '\0';\n            iVar18 = iVar10 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          iVar18 = iVar10 + 1;\n          pcVar4[iVar10] = '\"';\n          pcVar4[iVar18] = '\0';\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = pcVar6[i];\n          pcVar4[iVar10 + 1] = '\0';\n          iVar18 = iVar10 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar20 + -1 <= iVar10) {\n                  iVar20 = iVar20 + 0x40;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                pcVar4[iVar10] = pcVar6[i];\n                pcVar4[iVar10 + 1] = '\0';\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar18 = iVar10 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (i < 1) {\n                  uVar3 = 0;\n                }\n                else {\n                  uVar3 = (uint)(pcVar6[i + -1] == '$');\n                }\n                i = i + 1;\n                hist_string_extract_single_quoted(pcVar6,&i,uVar3);\n                iVar16 = i - iVar18;\n                iVar19 = iVar16 + 2;\n                iVar14 = (*(code *)PTR_xmalloc_001565b8)(iVar19);\n                (*(code *)PTR_strncpy_001583e4)(iVar14,pcVar6 + iVar18,iVar19);\n                *(undefined1 *)(iVar14 + iVar16 + 1) = 0;\n                iVar16 = (*(code *)PTR_strlen_00158444)(iVar14);\n                iVar18 = iVar10 + iVar16;\n                iVar10 = iVar20;\n                if (iVar20 <= iVar18) {\n                  do {\n                    iVar10 = iVar10 + 0x80;\n                  } while (iVar10 <= iVar18);\n                  iVar20 = (iVar18 - iVar20 & 0xffffff80U) + iVar20 + 0x80;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar16),iVar14);\n                (*(code *)PTR_xfree_00156bb4)(iVar14);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar20 + -1 <= iVar10) {\n                iVar20 = iVar20 + 0x40;\n                pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n              }\n              pcVar4[iVar10] = pcVar6[i];\n              pcVar4[iVar10 + 1] = '\0';\n              uVar3 = local_b0;\n              iVar18 = iVar10 + 1;\n            }\n          }\n          else {\n            if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            pcVar4[iVar10] = '\'';\n            pcVar4[iVar10 + 1] = '\0';\n            iVar18 = iVar10 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = '\\';\n          pcVar4[iVar10 + 1] = '\0';\n          uVar3 = 1;\n          iVar18 = iVar10 + 1;\n        }\n      }\n      else {\n        if (iVar20 + -1 <= iVar10) {\n          iVar20 = iVar20 + 0x40;\n          pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n        }\n        pcVar4[iVar10] = cVar1;\n        pcVar4[iVar10 + 1] = '\0';\n        uVar3 = 0;\n        iVar18 = iVar10 + 1;\n      }\nLAB_0011dc80:\n      i = i + 1;\n      iVar10 = iVar18;\n    } while (i < local_c8);\n    *output = pcVar4;\n    if (pcVar6 != hstring) {\nLAB_0011f650:\n      (*(code *)PTR_xfree_00156bb4)(pcVar6);\n    }\n  }\n  else {\n    *output = pcVar4;\n    if (pcVar6 != hstring) {\n      local_a8 = 0;\n      goto LAB_0011f650;\n    }\n    local_a8 = 0;\n  }\n  uVar3 = (uint)(local_a8 != 0);\nLAB_0011f678:\n  if (local_2c == *(int *)PTR___stack_chk_guard_0015858c) {\n    return uVar3;\n  }\n  iVar20 = local_2c;\n  puVar21 = PTR___stack_chk_fail_0015853c;\n  (*(code *)PTR___stack_chk_fail_0015853c)();\n  if (iVar20 == 0) {\n    iVar20 = (**(code **)(puVar21 + 0x384f4))(*(int *)(puVar21 + 0x36ccc) + 0x66e4);\n    if (iVar20 == 0) {\n      iVar18 = 0;\n    }\n    else {\n      iVar10 = (**(code **)(puVar21 + 0x38b94))(iVar20);\n      iVar18 = (**(code **)(puVar21 + 0x36d08))(iVar10 + 10);\n      (**(code **)(puVar21 + 0x38c1c))(iVar18,iVar20);\n      *(undefined1 *)(iVar18 + iVar10) = 0x2f;\n      puVar12 = (undefined4 *)(iVar18 + iVar10 + 1);\n      iVar20 = *(int *)(puVar21 + 0x36d00);\n      uVar11 = *(undefined4 *)(iVar20 + 0x5d4);\n      *puVar12 = *(undefined4 *)(iVar20 + 0x5d0);\n      puVar12[1] = uVar11;\n      *(undefined1 *)(puVar12 + 2) = *(undefined1 *)(iVar20 + 0x5d8);\n    }\n  }\n  else {\n    iVar18 = (**(code **)(puVar21 + 0x38b94))();\n    uVar11 = (**(code **)(puVar21 + 0x36d08))(iVar18 + 1);\n    iVar18 = (**(code **)(puVar21 + 0x38c1c))(uVar11,iVar20);\n  }\n  return iVar18;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "code *pcVar5;" type_identifier (pointer_declarator "*pcVar5" * identifier) ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "char cVar13;" primitive_type identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "undefined4 uVar11;" type_identifier identifier ;) (declaration "undefined4 *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "bool bVar15;" primitive_type identifier ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "int *piVar17;" primitive_type (pointer_declarator "*piVar17" * identifier) ;) (declaration "int iVar18;" primitive_type identifier ;) (declaration "int iVar19;" primitive_type identifier ;) (declaration "int iVar20;" primitive_type identifier ;) (declaration "undefined *puVar21;" type_identifier (pointer_declarator "*puVar21" * identifier) ;) (declaration "int local_c8;" primitive_type identifier ;) (declaration "uint local_c4;" type_identifier identifier ;) (declaration "char *local_c0;" primitive_type (pointer_declarator "*local_c0" * identifier) ;) (declaration "uint local_b0;" type_identifier identifier ;) (declaration "int local_a8;" primitive_type identifier ;) (declaration "int i;" primitive_type identifier ;) (declaration "int i_1;" primitive_type identifier ;) (declaration "int fake_i;" primitive_type identifier ;) (declaration "mbstate_t ps;" type_identifier identifier ;) (declaration "mbstate_t ps_1;" type_identifier identifier ;) (declaration "char fake_s [3];" primitive_type (array_declarator "fake_s [3]" identifier [ number_literal ]) ;) (declaration "char mb [16];" primitive_type (array_declarator "mb [16]" identifier [ number_literal ]) ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_0015858c;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_0015858c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0015858c" * (cast_expression "(int *)PTR___stack_chk_guard_0015858c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (if_statement "if (output == (char **)0x0) goto LAB_0011f678;" if (parenthesized_expression "(output == (char **)0x0)" ( (binary_expression "output == (char **)0x0" identifier == (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (goto_statement "goto LAB_0011f678;" goto statement_identifier ;)) (if_statement "if (*PTR_history_expansion_char_00156fcc == '\0') {\n    iVar20 = (*(code *)PTR_strlen_00158444)();\n    uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n    pcVar4 = (char *)(*(code *)PTR_strcpy_001584cc)(uVar11,hstring);\n    *output = pcVar4;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }" if (parenthesized_expression "(*PTR_history_expansion_char_00156fcc == '\0')" ( (binary_expression "*PTR_history_expansion_char_00156fcc == '\0'" (pointer_expression "*PTR_history_expansion_char_00156fcc" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar20 = (*(code *)PTR_strlen_00158444)();\n    uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n    pcVar4 = (char *)(*(code *)PTR_strcpy_001584cc)(uVar11,hstring);\n    *output = pcVar4;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }" { (expression_statement "iVar20 = (*(code *)PTR_strlen_00158444)();" (assignment_expression "iVar20 = (*(code *)PTR_strlen_00158444)()" identifier = (call_expression "(*(code *)PTR_strlen_00158444)()" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);" (assignment_expression "uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001565b8)(iVar20 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar20 + 1)" ( (binary_expression "iVar20 + 1" identifier + number_literal) )))) ;) (expression_statement "pcVar4 = (char *)(*(code *)PTR_strcpy_001584cc)(uVar11,hstring);" (assignment_expression "pcVar4 = (char *)(*(code *)PTR_strcpy_001584cc)(uVar11,hstring)" identifier = (cast_expression "(char *)(*(code *)PTR_strcpy_001584cc)(uVar11,hstring)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strcpy_001584cc)(uVar11,hstring)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" ( (pointer_expression "*(code *)PTR_strcpy_001584cc" * (cast_expression "(code *)PTR_strcpy_001584cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar11,hstring)" ( identifier , identifier ))))) ;) (expression_statement "*output = pcVar4;" (assignment_expression "*output = pcVar4" (pointer_expression "*output" * identifier) = identifier) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0011f678;" goto statement_identifier ;) })) (expression_statement "pcVar4 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x100);" (assignment_expression "pcVar4 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x100)" identifier = (cast_expression "(char *)(*(code *)PTR_xmalloc_001565b8)(0x100)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001565b8)(0x100)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x100)" ( number_literal ))))) ;) (expression_statement "*pcVar4 = '\0';" (assignment_expression "*pcVar4 = '\0'" (pointer_expression "*pcVar4" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "local_c8 = (*(code *)PTR_strlen_00158444)(hstring);" (assignment_expression "local_c8 = (*(code *)PTR_strlen_00158444)(hstring)" identifier = (call_expression "(*(code *)PTR_strlen_00158444)(hstring)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(hstring)" ( identifier )))) ;) (if_statement "if (*hstring != *PTR_history_subst_char_00156fd0) {\n    ps.__count = 0;\n    ps.__value.__wch = 0;\n    uVar3 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);\n    i = 0;\n    pcVar6 = hstring;\n    if ((*(int *)PTR_history_quoting_state_001569a0 == 0x27) &&\n       (*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0)) {\n      hist_string_extract_single_quoted(hstring,&i,0);\n      if (hstring[i] == '\0') goto LAB_0011d994;\n      i = i + 1;\n    }\n    puVar2 = PTR_history_quotes_inhibit_expansion_00157524;\n    puVar21 = PTR_history_comment_char_00156f80;\n    if (hstring[i] != '\0') {\n      pcVar5 = (code *)(PTR_LAB_0015657c + -0x3e90);\n      do {\n        uVar9 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((uVar9 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {\nLAB_0011f800:\n          iVar20 = i;\n          iVar18 = (int)(hstring + i)[1];\n          if (((char)*puVar21 == 0) || (iVar10 = (int)hstring[i], (char)*puVar21 != iVar10)) {\n            iVar10 = (int)hstring[i];\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar10 == 0x5c) {\n                if (iVar18 == 0x22) {\n                  i = i + 1;\n                }\n                else {\n                  iVar16 = *(int *)puVar2;\n                  if (iVar16 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar16 = *(int *)puVar2;\n                if (iVar16 != 0) {\n                  if (iVar10 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar16 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((i == 0) ||\n               ((hstring[i + -1] != '\0' &&\n                (iVar10 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar10 != 0)))) goto LAB_0011da2c;\n            iVar10 = (int)hstring[iVar20];\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar10 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar10 == 0x27) {\n                if (iVar20 < 1) {\n                  bVar15 = false;\n                }\n                else {\n                  bVar15 = hstring[iVar20 + -1] == '$';\n                }\n                i = iVar20 + 1;\n                (*pcVar5)(hstring,&i,bVar15);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar10 == 0x5c) && ((iVar18 == 0x27 || (iVar18 == iVar14)))) {\n                  i = iVar20 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) goto LAB_0011f788;\n          }\n          if (((iVar18 != 0) &&\n              (iVar10 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar18),\n              iVar10 == 0)) && ((uVar3 == 0 || (iVar18 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(hstring,iVar20);\n            if (iVar20 == 0) break;\n          }\n        }\n        else {\n          iVar20 = _rl_get_char_len(hstring + i,&ps);\n          if (iVar20 < 2) goto LAB_0011f800;\n          i = i + iVar20 + -1;\n        }\nLAB_0011f7c0:\n        i = i + 1;\n      } while (hstring[i] != '\0');\n    }\n    goto LAB_0011d994;\n  }" if (parenthesized_expression "(*hstring != *PTR_history_subst_char_00156fd0)" ( (binary_expression "*hstring != *PTR_history_subst_char_00156fd0" (pointer_expression "*hstring" * identifier) != (pointer_expression "*PTR_history_subst_char_00156fd0" * identifier)) )) (compound_statement "{\n    ps.__count = 0;\n    ps.__value.__wch = 0;\n    uVar3 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);\n    i = 0;\n    pcVar6 = hstring;\n    if ((*(int *)PTR_history_quoting_state_001569a0 == 0x27) &&\n       (*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0)) {\n      hist_string_extract_single_quoted(hstring,&i,0);\n      if (hstring[i] == '\0') goto LAB_0011d994;\n      i = i + 1;\n    }\n    puVar2 = PTR_history_quotes_inhibit_expansion_00157524;\n    puVar21 = PTR_history_comment_char_00156f80;\n    if (hstring[i] != '\0') {\n      pcVar5 = (code *)(PTR_LAB_0015657c + -0x3e90);\n      do {\n        uVar9 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((uVar9 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {\nLAB_0011f800:\n          iVar20 = i;\n          iVar18 = (int)(hstring + i)[1];\n          if (((char)*puVar21 == 0) || (iVar10 = (int)hstring[i], (char)*puVar21 != iVar10)) {\n            iVar10 = (int)hstring[i];\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar10 == 0x5c) {\n                if (iVar18 == 0x22) {\n                  i = i + 1;\n                }\n                else {\n                  iVar16 = *(int *)puVar2;\n                  if (iVar16 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar16 = *(int *)puVar2;\n                if (iVar16 != 0) {\n                  if (iVar10 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar16 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((i == 0) ||\n               ((hstring[i + -1] != '\0' &&\n                (iVar10 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar10 != 0)))) goto LAB_0011da2c;\n            iVar10 = (int)hstring[iVar20];\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar10 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar10 == 0x27) {\n                if (iVar20 < 1) {\n                  bVar15 = false;\n                }\n                else {\n                  bVar15 = hstring[iVar20 + -1] == '$';\n                }\n                i = iVar20 + 1;\n                (*pcVar5)(hstring,&i,bVar15);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar10 == 0x5c) && ((iVar18 == 0x27 || (iVar18 == iVar14)))) {\n                  i = iVar20 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) goto LAB_0011f788;\n          }\n          if (((iVar18 != 0) &&\n              (iVar10 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar18),\n              iVar10 == 0)) && ((uVar3 == 0 || (iVar18 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(hstring,iVar20);\n            if (iVar20 == 0) break;\n          }\n        }\n        else {\n          iVar20 = _rl_get_char_len(hstring + i,&ps);\n          if (iVar20 < 2) goto LAB_0011f800;\n          i = i + iVar20 + -1;\n        }\nLAB_0011f7c0:\n        i = i + 1;\n      } while (hstring[i] != '\0');\n    }\n    goto LAB_0011d994;\n  }" { (expression_statement "ps.__count = 0;" (assignment_expression "ps.__count = 0" (field_expression "ps.__count" identifier . field_identifier) = number_literal) ;) (expression_statement "ps.__value.__wch = 0;" (assignment_expression "ps.__value.__wch = 0" (field_expression "ps.__value.__wch" (field_expression "ps.__value" identifier . field_identifier) . field_identifier) = number_literal) ;) (expression_statement "uVar3 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);" (assignment_expression "uVar3 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22)" identifier = (call_expression "(uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)PTR_history_quoting_state_001569a0 == 0x22)" ( (binary_expression "*(int *)PTR_history_quoting_state_001569a0 == 0x22" (pointer_expression "*(int *)PTR_history_quoting_state_001569a0" * (cast_expression "(int *)PTR_history_quoting_state_001569a0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )))) ;) (expression_statement "i = 0;" (assignment_expression "i = 0" identifier = number_literal) ;) (expression_statement "pcVar6 = hstring;" (assignment_expression "pcVar6 = hstring" identifier = identifier) ;) (if_statement "if ((*(int *)PTR_history_quoting_state_001569a0 == 0x27) &&\n       (*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0)) {\n      hist_string_extract_single_quoted(hstring,&i,0);\n      if (hstring[i] == '\0') goto LAB_0011d994;\n      i = i + 1;\n    }" if (parenthesized_expression "((*(int *)PTR_history_quoting_state_001569a0 == 0x27) &&\n       (*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0))" ( (binary_expression "(*(int *)PTR_history_quoting_state_001569a0 == 0x27) &&\n       (*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0)" (parenthesized_expression "(*(int *)PTR_history_quoting_state_001569a0 == 0x27)" ( (binary_expression "*(int *)PTR_history_quoting_state_001569a0 == 0x27" (pointer_expression "*(int *)PTR_history_quoting_state_001569a0" * (cast_expression "(int *)PTR_history_quoting_state_001569a0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) && (parenthesized_expression "(*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0)" ( (binary_expression "*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0" (pointer_expression "*(int *)PTR_history_quotes_inhibit_expansion_00157524" * (cast_expression "(int *)PTR_history_quotes_inhibit_expansion_00157524" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) ))) )) (compound_statement "{\n      hist_string_extract_single_quoted(hstring,&i,0);\n      if (hstring[i] == '\0') goto LAB_0011d994;\n      i = i + 1;\n    }" { (expression_statement "hist_string_extract_single_quoted(hstring,&i,0);" (call_expression "hist_string_extract_single_quoted(hstring,&i,0)" identifier (argument_list "(hstring,&i,0)" ( identifier , (pointer_expression "&i" & identifier) , number_literal ))) ;) (if_statement "if (hstring[i] == '\0') goto LAB_0011d994;" if (parenthesized_expression "(hstring[i] == '\0')" ( (binary_expression "hstring[i] == '\0'" (subscript_expression "hstring[i]" identifier [ identifier ]) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0011d994;" goto statement_identifier ;)) (expression_statement "i = i + 1;" (assignment_expression "i = i + 1" identifier = (binary_expression "i + 1" identifier + number_literal)) ;) })) (expression_statement "puVar2 = PTR_history_quotes_inhibit_expansion_00157524;" (assignment_expression "puVar2 = PTR_history_quotes_inhibit_expansion_00157524" identifier = identifier) ;) (expression_statement "puVar21 = PTR_history_comment_char_00156f80;" (assignment_expression "puVar21 = PTR_history_comment_char_00156f80" identifier = identifier) ;) (if_statement "if (hstring[i] != '\0') {\n      pcVar5 = (code *)(PTR_LAB_0015657c + -0x3e90);\n      do {\n        uVar9 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((uVar9 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {\nLAB_0011f800:\n          iVar20 = i;\n          iVar18 = (int)(hstring + i)[1];\n          if (((char)*puVar21 == 0) || (iVar10 = (int)hstring[i], (char)*puVar21 != iVar10)) {\n            iVar10 = (int)hstring[i];\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar10 == 0x5c) {\n                if (iVar18 == 0x22) {\n                  i = i + 1;\n                }\n                else {\n                  iVar16 = *(int *)puVar2;\n                  if (iVar16 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar16 = *(int *)puVar2;\n                if (iVar16 != 0) {\n                  if (iVar10 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar16 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((i == 0) ||\n               ((hstring[i + -1] != '\0' &&\n                (iVar10 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar10 != 0)))) goto LAB_0011da2c;\n            iVar10 = (int)hstring[iVar20];\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar10 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar10 == 0x27) {\n                if (iVar20 < 1) {\n                  bVar15 = false;\n                }\n                else {\n                  bVar15 = hstring[iVar20 + -1] == '$';\n                }\n                i = iVar20 + 1;\n                (*pcVar5)(hstring,&i,bVar15);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar10 == 0x5c) && ((iVar18 == 0x27 || (iVar18 == iVar14)))) {\n                  i = iVar20 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) goto LAB_0011f788;\n          }\n          if (((iVar18 != 0) &&\n              (iVar10 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar18),\n              iVar10 == 0)) && ((uVar3 == 0 || (iVar18 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(hstring,iVar20);\n            if (iVar20 == 0) break;\n          }\n        }\n        else {\n          iVar20 = _rl_get_char_len(hstring + i,&ps);\n          if (iVar20 < 2) goto LAB_0011f800;\n          i = i + iVar20 + -1;\n        }\nLAB_0011f7c0:\n        i = i + 1;\n      } while (hstring[i] != '\0');\n    }" if (parenthesized_expression "(hstring[i] != '\0')" ( (binary_expression "hstring[i] != '\0'" (subscript_expression "hstring[i]" identifier [ identifier ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      pcVar5 = (code *)(PTR_LAB_0015657c + -0x3e90);\n      do {\n        uVar9 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((uVar9 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {\nLAB_0011f800:\n          iVar20 = i;\n          iVar18 = (int)(hstring + i)[1];\n          if (((char)*puVar21 == 0) || (iVar10 = (int)hstring[i], (char)*puVar21 != iVar10)) {\n            iVar10 = (int)hstring[i];\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar10 == 0x5c) {\n                if (iVar18 == 0x22) {\n                  i = i + 1;\n                }\n                else {\n                  iVar16 = *(int *)puVar2;\n                  if (iVar16 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar16 = *(int *)puVar2;\n                if (iVar16 != 0) {\n                  if (iVar10 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar16 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((i == 0) ||\n               ((hstring[i + -1] != '\0' &&\n                (iVar10 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar10 != 0)))) goto LAB_0011da2c;\n            iVar10 = (int)hstring[iVar20];\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar10 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar10 == 0x27) {\n                if (iVar20 < 1) {\n                  bVar15 = false;\n                }\n                else {\n                  bVar15 = hstring[iVar20 + -1] == '$';\n                }\n                i = iVar20 + 1;\n                (*pcVar5)(hstring,&i,bVar15);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar10 == 0x5c) && ((iVar18 == 0x27 || (iVar18 == iVar14)))) {\n                  i = iVar20 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) goto LAB_0011f788;\n          }\n          if (((iVar18 != 0) &&\n              (iVar10 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar18),\n              iVar10 == 0)) && ((uVar3 == 0 || (iVar18 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(hstring,iVar20);\n            if (iVar20 == 0) break;\n          }\n        }\n        else {\n          iVar20 = _rl_get_char_len(hstring + i,&ps);\n          if (iVar20 < 2) goto LAB_0011f800;\n          i = i + iVar20 + -1;\n        }\nLAB_0011f7c0:\n        i = i + 1;\n      } while (hstring[i] != '\0');\n    }" { (expression_statement "pcVar5 = (code *)(PTR_LAB_0015657c + -0x3e90);" (assignment_expression "pcVar5 = (code *)(PTR_LAB_0015657c + -0x3e90)" identifier = (cast_expression "(code *)(PTR_LAB_0015657c + -0x3e90)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015657c + -0x3e90)" ( (binary_expression "PTR_LAB_0015657c + -0x3e90" identifier + number_literal) )))) ;) (do_statement "do {\n        uVar9 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((uVar9 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {\nLAB_0011f800:\n          iVar20 = i;\n          iVar18 = (int)(hstring + i)[1];\n          if (((char)*puVar21 == 0) || (iVar10 = (int)hstring[i], (char)*puVar21 != iVar10)) {\n            iVar10 = (int)hstring[i];\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar10 == 0x5c) {\n                if (iVar18 == 0x22) {\n                  i = i + 1;\n                }\n                else {\n                  iVar16 = *(int *)puVar2;\n                  if (iVar16 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar16 = *(int *)puVar2;\n                if (iVar16 != 0) {\n                  if (iVar10 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar16 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((i == 0) ||\n               ((hstring[i + -1] != '\0' &&\n                (iVar10 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar10 != 0)))) goto LAB_0011da2c;\n            iVar10 = (int)hstring[iVar20];\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar10 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar10 == 0x27) {\n                if (iVar20 < 1) {\n                  bVar15 = false;\n                }\n                else {\n                  bVar15 = hstring[iVar20 + -1] == '$';\n                }\n                i = iVar20 + 1;\n                (*pcVar5)(hstring,&i,bVar15);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar10 == 0x5c) && ((iVar18 == 0x27 || (iVar18 == iVar14)))) {\n                  i = iVar20 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) goto LAB_0011f788;\n          }\n          if (((iVar18 != 0) &&\n              (iVar10 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar18),\n              iVar10 == 0)) && ((uVar3 == 0 || (iVar18 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(hstring,iVar20);\n            if (iVar20 == 0) break;\n          }\n        }\n        else {\n          iVar20 = _rl_get_char_len(hstring + i,&ps);\n          if (iVar20 < 2) goto LAB_0011f800;\n          i = i + iVar20 + -1;\n        }\nLAB_0011f7c0:\n        i = i + 1;\n      } while (hstring[i] != '\0');" do (compound_statement "{\n        uVar9 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((uVar9 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {\nLAB_0011f800:\n          iVar20 = i;\n          iVar18 = (int)(hstring + i)[1];\n          if (((char)*puVar21 == 0) || (iVar10 = (int)hstring[i], (char)*puVar21 != iVar10)) {\n            iVar10 = (int)hstring[i];\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar10 == 0x5c) {\n                if (iVar18 == 0x22) {\n                  i = i + 1;\n                }\n                else {\n                  iVar16 = *(int *)puVar2;\n                  if (iVar16 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar16 = *(int *)puVar2;\n                if (iVar16 != 0) {\n                  if (iVar10 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar16 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((i == 0) ||\n               ((hstring[i + -1] != '\0' &&\n                (iVar10 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar10 != 0)))) goto LAB_0011da2c;\n            iVar10 = (int)hstring[iVar20];\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar10 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar10 == 0x27) {\n                if (iVar20 < 1) {\n                  bVar15 = false;\n                }\n                else {\n                  bVar15 = hstring[iVar20 + -1] == '$';\n                }\n                i = iVar20 + 1;\n                (*pcVar5)(hstring,&i,bVar15);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar10 == 0x5c) && ((iVar18 == 0x27 || (iVar18 == iVar14)))) {\n                  i = iVar20 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) goto LAB_0011f788;\n          }\n          if (((iVar18 != 0) &&\n              (iVar10 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar18),\n              iVar10 == 0)) && ((uVar3 == 0 || (iVar18 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(hstring,iVar20);\n            if (iVar20 == 0) break;\n          }\n        }\n        else {\n          iVar20 = _rl_get_char_len(hstring + i,&ps);\n          if (iVar20 < 2) goto LAB_0011f800;\n          i = i + iVar20 + -1;\n        }\nLAB_0011f7c0:\n        i = i + 1;\n      }" { (expression_statement "uVar9 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();" (assignment_expression "uVar9 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)()" identifier = (call_expression "(*(code *)PTR___ctype_get_mb_cur_max_001584e0)()" (parenthesized_expression "(*(code *)PTR___ctype_get_mb_cur_max_001584e0)" ( (pointer_expression "*(code *)PTR___ctype_get_mb_cur_max_001584e0" * (cast_expression "(code *)PTR___ctype_get_mb_cur_max_001584e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if ((uVar9 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {\nLAB_0011f800:\n          iVar20 = i;\n          iVar18 = (int)(hstring + i)[1];\n          if (((char)*puVar21 == 0) || (iVar10 = (int)hstring[i], (char)*puVar21 != iVar10)) {\n            iVar10 = (int)hstring[i];\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar10 == 0x5c) {\n                if (iVar18 == 0x22) {\n                  i = i + 1;\n                }\n                else {\n                  iVar16 = *(int *)puVar2;\n                  if (iVar16 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar16 = *(int *)puVar2;\n                if (iVar16 != 0) {\n                  if (iVar10 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar16 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((i == 0) ||\n               ((hstring[i + -1] != '\0' &&\n                (iVar10 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar10 != 0)))) goto LAB_0011da2c;\n            iVar10 = (int)hstring[iVar20];\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar10 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar10 == 0x27) {\n                if (iVar20 < 1) {\n                  bVar15 = false;\n                }\n                else {\n                  bVar15 = hstring[iVar20 + -1] == '$';\n                }\n                i = iVar20 + 1;\n                (*pcVar5)(hstring,&i,bVar15);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar10 == 0x5c) && ((iVar18 == 0x27 || (iVar18 == iVar14)))) {\n                  i = iVar20 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) goto LAB_0011f788;\n          }\n          if (((iVar18 != 0) &&\n              (iVar10 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar18),\n              iVar10 == 0)) && ((uVar3 == 0 || (iVar18 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(hstring,iVar20);\n            if (iVar20 == 0) break;\n          }\n        }\n        else {\n          iVar20 = _rl_get_char_len(hstring + i,&ps);\n          if (iVar20 < 2) goto LAB_0011f800;\n          i = i + iVar20 + -1;\n        }" if (parenthesized_expression "((uVar9 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0))" ( (binary_expression "(uVar9 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)" (parenthesized_expression "(uVar9 < 2)" ( (binary_expression "uVar9 < 2" identifier < number_literal) )) || (parenthesized_expression "(*(int *)PTR_rl_byte_oriented_00157e18 != 0)" ( (binary_expression "*(int *)PTR_rl_byte_oriented_00157e18 != 0" (pointer_expression "*(int *)PTR_rl_byte_oriented_00157e18" * (cast_expression "(int *)PTR_rl_byte_oriented_00157e18" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) ))) )) (compound_statement "{\nLAB_0011f800:\n          iVar20 = i;\n          iVar18 = (int)(hstring + i)[1];\n          if (((char)*puVar21 == 0) || (iVar10 = (int)hstring[i], (char)*puVar21 != iVar10)) {\n            iVar10 = (int)hstring[i];\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar10 == 0x5c) {\n                if (iVar18 == 0x22) {\n                  i = i + 1;\n                }\n                else {\n                  iVar16 = *(int *)puVar2;\n                  if (iVar16 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar16 = *(int *)puVar2;\n                if (iVar16 != 0) {\n                  if (iVar10 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar16 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((i == 0) ||\n               ((hstring[i + -1] != '\0' &&\n                (iVar10 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar10 != 0)))) goto LAB_0011da2c;\n            iVar10 = (int)hstring[iVar20];\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar10 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar10 == 0x27) {\n                if (iVar20 < 1) {\n                  bVar15 = false;\n                }\n                else {\n                  bVar15 = hstring[iVar20 + -1] == '$';\n                }\n                i = iVar20 + 1;\n                (*pcVar5)(hstring,&i,bVar15);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar10 == 0x5c) && ((iVar18 == 0x27 || (iVar18 == iVar14)))) {\n                  i = iVar20 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) goto LAB_0011f788;\n          }\n          if (((iVar18 != 0) &&\n              (iVar10 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar18),\n              iVar10 == 0)) && ((uVar3 == 0 || (iVar18 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(hstring,iVar20);\n            if (iVar20 == 0) break;\n          }\n        }" { (labeled_statement "LAB_0011f800:\n          iVar20 = i;" statement_identifier : (expression_statement "iVar20 = i;" (assignment_expression "iVar20 = i" identifier = identifier) ;)) (expression_statement "iVar18 = (int)(hstring + i)[1];" (assignment_expression "iVar18 = (int)(hstring + i)[1]" identifier = (cast_expression "(int)(hstring + i)[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "(hstring + i)[1]" (parenthesized_expression "(hstring + i)" ( (binary_expression "hstring + i" identifier + identifier) )) [ number_literal ]))) ;) (if_statement "if (((char)*puVar21 == 0) || (iVar10 = (int)hstring[i], (char)*puVar21 != iVar10)) {\n            iVar10 = (int)hstring[i];\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar10 == 0x5c) {\n                if (iVar18 == 0x22) {\n                  i = i + 1;\n                }\n                else {\n                  iVar16 = *(int *)puVar2;\n                  if (iVar16 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar16 = *(int *)puVar2;\n                if (iVar16 != 0) {\n                  if (iVar10 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar16 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((i == 0) ||\n               ((hstring[i + -1] != '\0' &&\n                (iVar10 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar10 != 0)))) goto LAB_0011da2c;\n            iVar10 = (int)hstring[iVar20];\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar10 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar10 == 0x27) {\n                if (iVar20 < 1) {\n                  bVar15 = false;\n                }\n                else {\n                  bVar15 = hstring[iVar20 + -1] == '$';\n                }\n                i = iVar20 + 1;\n                (*pcVar5)(hstring,&i,bVar15);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar10 == 0x5c) && ((iVar18 == 0x27 || (iVar18 == iVar14)))) {\n                  i = iVar20 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) goto LAB_0011f788;\n          }" if (parenthesized_expression "(((char)*puVar21 == 0) || (iVar10 = (int)hstring[i], (char)*puVar21 != iVar10))" ( (binary_expression "((char)*puVar21 == 0) || (iVar10 = (int)hstring[i], (char)*puVar21 != iVar10)" (parenthesized_expression "((char)*puVar21 == 0)" ( (binary_expression "(char)*puVar21 == 0" (cast_expression "(char)*puVar21" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*puVar21" * identifier)) == number_literal) )) || (parenthesized_expression "(iVar10 = (int)hstring[i], (char)*puVar21 != iVar10)" ( (comma_expression "iVar10 = (int)hstring[i], (char)*puVar21 != iVar10" (assignment_expression "iVar10 = (int)hstring[i]" identifier = (cast_expression "(int)hstring[i]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "hstring[i]" identifier [ identifier ]))) , (binary_expression "(char)*puVar21 != iVar10" (cast_expression "(char)*puVar21" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*puVar21" * identifier)) != identifier)) ))) )) (compound_statement "{\n            iVar10 = (int)hstring[i];\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar10 == 0x5c) {\n                if (iVar18 == 0x22) {\n                  i = i + 1;\n                }\n                else {\n                  iVar16 = *(int *)puVar2;\n                  if (iVar16 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar16 = *(int *)puVar2;\n                if (iVar16 != 0) {\n                  if (iVar10 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar16 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }" { (expression_statement "iVar10 = (int)hstring[i];" (assignment_expression "iVar10 = (int)hstring[i]" identifier = (cast_expression "(int)hstring[i]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "hstring[i]" identifier [ identifier ]))) ;) (expression_statement "iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;" (assignment_expression "iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc" identifier = (cast_expression "(int)(char)*PTR_history_expansion_char_00156fcc" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)*PTR_history_expansion_char_00156fcc" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*PTR_history_expansion_char_00156fcc" * identifier)))) ;) (if_statement "if (iVar10 != iVar14) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar10 == 0x5c) {\n                if (iVar18 == 0x22) {\n                  i = i + 1;\n                }\n                else {\n                  iVar16 = *(int *)puVar2;\n                  if (iVar16 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar16 = *(int *)puVar2;\n                if (iVar16 != 0) {\n                  if (iVar10 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar16 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }" if (parenthesized_expression "(iVar10 != iVar14)" ( (binary_expression "iVar10 != iVar14" identifier != identifier) )) (compound_statement "{\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar10 == 0x5c) {\n                if (iVar18 == 0x22) {\n                  i = i + 1;\n                }\n                else {\n                  iVar16 = *(int *)puVar2;\n                  if (iVar16 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar16 = *(int *)puVar2;\n                if (iVar16 != 0) {\n                  if (iVar10 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar16 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }" { (if_statement "if (uVar3 == 0) goto LAB_0011f844;" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0011f844;" goto statement_identifier ;)) (labeled_statement "LAB_0011f788:\n              if (iVar10 == 0x5c) {\n                if (iVar18 == 0x22) {\n                  i = i + 1;\n                }\n                else {\n                  iVar16 = *(int *)puVar2;\n                  if (iVar16 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar16 = *(int *)puVar2;\n                if (iVar16 != 0) {\n                  if (iVar10 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar16 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }" statement_identifier : (if_statement "if (iVar10 == 0x5c) {\n                if (iVar18 == 0x22) {\n                  i = i + 1;\n                }\n                else {\n                  iVar16 = *(int *)puVar2;\n                  if (iVar16 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar16 = *(int *)puVar2;\n                if (iVar16 != 0) {\n                  if (iVar10 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar16 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }" if (parenthesized_expression "(iVar10 == 0x5c)" ( (binary_expression "iVar10 == 0x5c" identifier == number_literal) )) (compound_statement "{\n                if (iVar18 == 0x22) {\n                  i = i + 1;\n                }\n                else {\n                  iVar16 = *(int *)puVar2;\n                  if (iVar16 != 0) goto LAB_0011f7a4;\n                }\n              }" { (if_statement "if (iVar18 == 0x22) {\n                  i = i + 1;\n                }\n                else {\n                  iVar16 = *(int *)puVar2;\n                  if (iVar16 != 0) goto LAB_0011f7a4;\n                }" if (parenthesized_expression "(iVar18 == 0x22)" ( (binary_expression "iVar18 == 0x22" identifier == number_literal) )) (compound_statement "{\n                  i = i + 1;\n                }" { (expression_statement "i = i + 1;" (assignment_expression "i = i + 1" identifier = (binary_expression "i + 1" identifier + number_literal)) ;) }) (else_clause "else {\n                  iVar16 = *(int *)puVar2;\n                  if (iVar16 != 0) goto LAB_0011f7a4;\n                }" else (compound_statement "{\n                  iVar16 = *(int *)puVar2;\n                  if (iVar16 != 0) goto LAB_0011f7a4;\n                }" { (expression_statement "iVar16 = *(int *)puVar2;" (assignment_expression "iVar16 = *(int *)puVar2" identifier = (pointer_expression "*(int *)puVar2" * (cast_expression "(int *)puVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (iVar16 != 0) goto LAB_0011f7a4;" if (parenthesized_expression "(iVar16 != 0)" ( (binary_expression "iVar16 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0011f7a4;" goto statement_identifier ;)) }))) }) (else_clause "else {\n                iVar16 = *(int *)puVar2;\n                if (iVar16 != 0) {\n                  if (iVar10 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar16 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }" else (compound_statement "{\n                iVar16 = *(int *)puVar2;\n                if (iVar16 != 0) {\n                  if (iVar10 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar16 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }" { (expression_statement "iVar16 = *(int *)puVar2;" (assignment_expression "iVar16 = *(int *)puVar2" identifier = (pointer_expression "*(int *)puVar2" * (cast_expression "(int *)puVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (iVar16 != 0) {\n                  if (iVar10 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar16 != 0) goto LAB_0011f7b4;\n                  }\n                }" if (parenthesized_expression "(iVar16 != 0)" ( (binary_expression "iVar16 != 0" identifier != number_literal) )) (compound_statement "{\n                  if (iVar10 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar16 != 0) goto LAB_0011f7b4;\n                  }\n                }" { (if_statement "if (iVar10 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar16 != 0) goto LAB_0011f7b4;\n                  }" if (parenthesized_expression "(iVar10 == 0x22)" ( (binary_expression "iVar10 == 0x22" identifier == number_literal) )) (compound_statement "{\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }" { (labeled_statement "LAB_0011da74:\n                    uVar3 = 1 - uVar3;" statement_identifier : (expression_statement "uVar3 = 1 - uVar3;" (assignment_expression "uVar3 = 1 - uVar3" identifier = (binary_expression "1 - uVar3" number_literal - identifier)) ;)) }) (else_clause "else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar16 != 0) goto LAB_0011f7b4;\n                  }" else (compound_statement "{\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar16 != 0) goto LAB_0011f7b4;\n                  }" { (labeled_statement "LAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;" statement_identifier : (if_statement "if (uVar3 == 0) goto LAB_0011f858;" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0011f858;" goto statement_identifier ;))) (if_statement "if (iVar16 != 0) goto LAB_0011f7b4;" if (parenthesized_expression "(iVar16 != 0)" ( (binary_expression "iVar16 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0011f7b4;" goto statement_identifier ;)) }))) })) })))) (goto_statement "goto LAB_0011f7c0;" goto statement_identifier ;) })) }) (else_clause "else if (uVar3 == 0) {\n            if ((i == 0) ||\n               ((hstring[i + -1] != '\0' &&\n                (iVar10 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar10 != 0)))) goto LAB_0011da2c;\n            iVar10 = (int)hstring[iVar20];\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar10 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar10 == 0x27) {\n                if (iVar20 < 1) {\n                  bVar15 = false;\n                }\n                else {\n                  bVar15 = hstring[iVar20 + -1] == '$';\n                }\n                i = iVar20 + 1;\n                (*pcVar5)(hstring,&i,bVar15);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar10 == 0x5c) && ((iVar18 == 0x27 || (iVar18 == iVar14)))) {\n                  i = iVar20 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) goto LAB_0011f788;\n          }" else (if_statement "if (uVar3 == 0) {\n            if ((i == 0) ||\n               ((hstring[i + -1] != '\0' &&\n                (iVar10 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar10 != 0)))) goto LAB_0011da2c;\n            iVar10 = (int)hstring[iVar20];\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar10 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar10 == 0x27) {\n                if (iVar20 < 1) {\n                  bVar15 = false;\n                }\n                else {\n                  bVar15 = hstring[iVar20 + -1] == '$';\n                }\n                i = iVar20 + 1;\n                (*pcVar5)(hstring,&i,bVar15);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar10 == 0x5c) && ((iVar18 == 0x27 || (iVar18 == iVar14)))) {\n                  i = iVar20 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) goto LAB_0011f788;\n          }" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (compound_statement "{\n            if ((i == 0) ||\n               ((hstring[i + -1] != '\0' &&\n                (iVar10 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar10 != 0)))) goto LAB_0011da2c;\n            iVar10 = (int)hstring[iVar20];\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar10 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar10 == 0x27) {\n                if (iVar20 < 1) {\n                  bVar15 = false;\n                }\n                else {\n                  bVar15 = hstring[iVar20 + -1] == '$';\n                }\n                i = iVar20 + 1;\n                (*pcVar5)(hstring,&i,bVar15);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar10 == 0x5c) && ((iVar18 == 0x27 || (iVar18 == iVar14)))) {\n                  i = iVar20 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }" { (if_statement "if ((i == 0) ||\n               ((hstring[i + -1] != '\0' &&\n                (iVar10 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar10 != 0)))) goto LAB_0011da2c;" if (parenthesized_expression "((i == 0) ||\n               ((hstring[i + -1] != '\0' &&\n                (iVar10 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar10 != 0))))" ( (binary_expression "(i == 0) ||\n               ((hstring[i + -1] != '\0' &&\n                (iVar10 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar10 != 0)))" (parenthesized_expression "(i == 0)" ( (binary_expression "i == 0" identifier == number_literal) )) || (parenthesized_expression "((hstring[i + -1] != '\0' &&\n                (iVar10 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar10 != 0)))" ( (parenthesized_expression "(hstring[i + -1] != '\0' &&\n                (iVar10 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar10 != 0))" ( (binary_expression "hstring[i + -1] != '\0' &&\n                (iVar10 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar10 != 0)" (binary_expression "hstring[i + -1] != '\0'" (subscript_expression "hstring[i + -1]" identifier [ (binary_expression "i + -1" identifier + number_literal) ]) != (char_literal "'\0'" ' escape_sequence ')) && (parenthesized_expression "(iVar10 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar10 != 0)" ( (comma_expression "iVar10 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar10 != 0" (assignment_expression "iVar10 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c)" identifier = (call_expression "(*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c)" (parenthesized_expression "(*(code *)PTR_strchr_0015844c)" ( (pointer_expression "*(code *)PTR_strchr_0015844c" * (cast_expression "(code *)PTR_strchr_0015844c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_history_word_delimiters_0015825c)" ( (pointer_expression "*(undefined4 *)PTR_history_word_delimiters_0015825c" * (cast_expression "(undefined4 *)PTR_history_word_delimiters_0015825c" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )))) , (binary_expression "iVar10 != 0" identifier != number_literal)) ))) )) ))) )) (goto_statement "goto LAB_0011da2c;" goto statement_identifier ;)) (expression_statement "iVar10 = (int)hstring[iVar20];" (assignment_expression "iVar10 = (int)hstring[iVar20]" identifier = (cast_expression "(int)hstring[iVar20]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "hstring[iVar20]" identifier [ identifier ]))) ;) (expression_statement "iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;" (assignment_expression "iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc" identifier = (cast_expression "(int)(char)*PTR_history_expansion_char_00156fcc" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)*PTR_history_expansion_char_00156fcc" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*PTR_history_expansion_char_00156fcc" * identifier)))) ;) (if_statement "if (iVar10 != iVar14) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar10 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar10 == 0x27) {\n                if (iVar20 < 1) {\n                  bVar15 = false;\n                }\n                else {\n                  bVar15 = hstring[iVar20 + -1] == '$';\n                }\n                i = iVar20 + 1;\n                (*pcVar5)(hstring,&i,bVar15);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar10 == 0x5c) && ((iVar18 == 0x27 || (iVar18 == iVar14)))) {\n                  i = iVar20 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }" if (parenthesized_expression "(iVar10 != iVar14)" ( (binary_expression "iVar10 != iVar14" identifier != identifier) )) (compound_statement "{\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar10 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar10 == 0x27) {\n                if (iVar20 < 1) {\n                  bVar15 = false;\n                }\n                else {\n                  bVar15 = hstring[iVar20 + -1] == '$';\n                }\n                i = iVar20 + 1;\n                (*pcVar5)(hstring,&i,bVar15);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar10 == 0x5c) && ((iVar18 == 0x27 || (iVar18 == iVar14)))) {\n                  i = iVar20 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }" { (labeled_statement "LAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;" statement_identifier : (if_statement "if (*(int *)puVar2 == 0) goto LAB_0011f7c0;" if (parenthesized_expression "(*(int *)puVar2 == 0)" ( (binary_expression "*(int *)puVar2 == 0" (pointer_expression "*(int *)puVar2" * (cast_expression "(int *)puVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (goto_statement "goto LAB_0011f7c0;" goto statement_identifier ;))) (if_statement "if (iVar10 == 0x22) goto LAB_0011da74;" if (parenthesized_expression "(iVar10 == 0x22)" ( (binary_expression "iVar10 == 0x22" identifier == number_literal) )) (goto_statement "goto LAB_0011da74;" goto statement_identifier ;)) (labeled_statement "LAB_0011f858:\n              if (iVar10 == 0x27) {\n                if (iVar20 < 1) {\n                  bVar15 = false;\n                }\n                else {\n                  bVar15 = hstring[iVar20 + -1] == '$';\n                }\n                i = iVar20 + 1;\n                (*pcVar5)(hstring,&i,bVar15);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar10 == 0x5c) && ((iVar18 == 0x27 || (iVar18 == iVar14)))) {\n                  i = iVar20 + 1;\n                }\n              }" statement_identifier : (if_statement "if (iVar10 == 0x27) {\n                if (iVar20 < 1) {\n                  bVar15 = false;\n                }\n                else {\n                  bVar15 = hstring[iVar20 + -1] == '$';\n                }\n                i = iVar20 + 1;\n                (*pcVar5)(hstring,&i,bVar15);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar10 == 0x5c) && ((iVar18 == 0x27 || (iVar18 == iVar14)))) {\n                  i = iVar20 + 1;\n                }\n              }" if (parenthesized_expression "(iVar10 == 0x27)" ( (binary_expression "iVar10 == 0x27" identifier == number_literal) )) (compound_statement "{\n                if (iVar20 < 1) {\n                  bVar15 = false;\n                }\n                else {\n                  bVar15 = hstring[iVar20 + -1] == '$';\n                }\n                i = iVar20 + 1;\n                (*pcVar5)(hstring,&i,bVar15);\n                uVar3 = 0;\n              }" { (if_statement "if (iVar20 < 1) {\n                  bVar15 = false;\n                }\n                else {\n                  bVar15 = hstring[iVar20 + -1] == '$';\n                }" if (parenthesized_expression "(iVar20 < 1)" ( (binary_expression "iVar20 < 1" identifier < number_literal) )) (compound_statement "{\n                  bVar15 = false;\n                }" { (expression_statement "bVar15 = false;" (assignment_expression "bVar15 = false" identifier = false) ;) }) (else_clause "else {\n                  bVar15 = hstring[iVar20 + -1] == '$';\n                }" else (compound_statement "{\n                  bVar15 = hstring[iVar20 + -1] == '$';\n                }" { (expression_statement "bVar15 = hstring[iVar20 + -1] == '$';" (assignment_expression "bVar15 = hstring[iVar20 + -1] == '$'" identifier = (binary_expression "hstring[iVar20 + -1] == '$'" (subscript_expression "hstring[iVar20 + -1]" identifier [ (binary_expression "iVar20 + -1" identifier + number_literal) ]) == (char_literal "'$'" ' character '))) ;) }))) (expression_statement "i = iVar20 + 1;" (assignment_expression "i = iVar20 + 1" identifier = (binary_expression "iVar20 + 1" identifier + number_literal)) ;) (expression_statement "(*pcVar5)(hstring,&i,bVar15);" (call_expression "(*pcVar5)(hstring,&i,bVar15)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(hstring,&i,bVar15)" ( identifier , (pointer_expression "&i" & identifier) , identifier ))) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\nLAB_0011f7b4:\n                if ((iVar10 == 0x5c) && ((iVar18 == 0x27 || (iVar18 == iVar14)))) {\n                  i = iVar20 + 1;\n                }\n              }" else (compound_statement "{\nLAB_0011f7b4:\n                if ((iVar10 == 0x5c) && ((iVar18 == 0x27 || (iVar18 == iVar14)))) {\n                  i = iVar20 + 1;\n                }\n              }" { (labeled_statement "LAB_0011f7b4:\n                if ((iVar10 == 0x5c) && ((iVar18 == 0x27 || (iVar18 == iVar14)))) {\n                  i = iVar20 + 1;\n                }" statement_identifier : (if_statement "if ((iVar10 == 0x5c) && ((iVar18 == 0x27 || (iVar18 == iVar14)))) {\n                  i = iVar20 + 1;\n                }" if (parenthesized_expression "((iVar10 == 0x5c) && ((iVar18 == 0x27 || (iVar18 == iVar14))))" ( (binary_expression "(iVar10 == 0x5c) && ((iVar18 == 0x27 || (iVar18 == iVar14)))" (parenthesized_expression "(iVar10 == 0x5c)" ( (binary_expression "iVar10 == 0x5c" identifier == number_literal) )) && (parenthesized_expression "((iVar18 == 0x27 || (iVar18 == iVar14)))" ( (parenthesized_expression "(iVar18 == 0x27 || (iVar18 == iVar14))" ( (binary_expression "iVar18 == 0x27 || (iVar18 == iVar14)" (binary_expression "iVar18 == 0x27" identifier == number_literal) || (parenthesized_expression "(iVar18 == iVar14)" ( (binary_expression "iVar18 == iVar14" identifier == identifier) ))) )) ))) )) (compound_statement "{\n                  i = iVar20 + 1;\n                }" { (expression_statement "i = iVar20 + 1;" (assignment_expression "i = iVar20 + 1" identifier = (binary_expression "iVar20 + 1" identifier + number_literal)) ;) }))) })))) (goto_statement "goto LAB_0011f7c0;" goto statement_identifier ;) })) }) (else_clause "else {\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) goto LAB_0011f788;\n          }" else (compound_statement "{\n            iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar10 != iVar14) goto LAB_0011f788;\n          }" { (expression_statement "iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc;" (assignment_expression "iVar14 = (int)(char)*PTR_history_expansion_char_00156fcc" identifier = (cast_expression "(int)(char)*PTR_history_expansion_char_00156fcc" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)*PTR_history_expansion_char_00156fcc" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*PTR_history_expansion_char_00156fcc" * identifier)))) ;) (if_statement "if (iVar10 != iVar14) goto LAB_0011f788;" if (parenthesized_expression "(iVar10 != iVar14)" ( (binary_expression "iVar10 != iVar14" identifier != identifier) )) (goto_statement "goto LAB_0011f788;" goto statement_identifier ;)) }))))) (if_statement "if (((iVar18 != 0) &&\n              (iVar10 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar18),\n              iVar10 == 0)) && ((uVar3 == 0 || (iVar18 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(hstring,iVar20);\n            if (iVar20 == 0) break;\n          }" if (parenthesized_expression "(((iVar18 != 0) &&\n              (iVar10 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar18),\n              iVar10 == 0)) && ((uVar3 == 0 || (iVar18 != 0x22))))" ( (binary_expression "((iVar18 != 0) &&\n              (iVar10 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar18),\n              iVar10 == 0)) && ((uVar3 == 0 || (iVar18 != 0x22)))" (parenthesized_expression "((iVar18 != 0) &&\n              (iVar10 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar18),\n              iVar10 == 0))" ( (binary_expression "(iVar18 != 0) &&\n              (iVar10 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar18),\n              iVar10 == 0)" (parenthesized_expression "(iVar18 != 0)" ( (binary_expression "iVar18 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar10 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar18),\n              iVar10 == 0)" ( (comma_expression "iVar10 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar18),\n              iVar10 == 0" (assignment_expression "iVar10 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar18)" identifier = (call_expression "(*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar18)" (parenthesized_expression "(*(code *)PTR_strchr_0015844c)" ( (pointer_expression "*(code *)PTR_strchr_0015844c" * (cast_expression "(code *)PTR_strchr_0015844c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar18)" ( (pointer_expression "*(undefined4 *)PTR_history_no_expand_chars_00158260" * (cast_expression "(undefined4 *)PTR_history_no_expand_chars_00158260" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , identifier )))) , (binary_expression "iVar10 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "((uVar3 == 0 || (iVar18 != 0x22)))" ( (parenthesized_expression "(uVar3 == 0 || (iVar18 != 0x22))" ( (binary_expression "uVar3 == 0 || (iVar18 != 0x22)" (binary_expression "uVar3 == 0" identifier == number_literal) || (parenthesized_expression "(iVar18 != 0x22)" ( (binary_expression "iVar18 != 0x22" identifier != number_literal) ))) )) ))) )) (compound_statement "{\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(hstring,iVar20);\n            if (iVar20 == 0) break;\n          }" { (if_statement "if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;" if (parenthesized_expression "(*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)" ( (binary_expression "*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0" (pointer_expression "*(code **)PTR_history_inhibit_expansion_function_0015752c" * (cast_expression "(code **)PTR_history_inhibit_expansion_function_0015752c" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0011d9ac;" goto statement_identifier ;)) (expression_statement "iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(hstring,iVar20);" (assignment_expression "iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(hstring,iVar20)" identifier = (call_expression "(**(code **)PTR_history_inhibit_expansion_function_0015752c)(hstring,iVar20)" (parenthesized_expression "(**(code **)PTR_history_inhibit_expansion_function_0015752c)" ( (pointer_expression "**(code **)PTR_history_inhibit_expansion_function_0015752c" * (pointer_expression "*(code **)PTR_history_inhibit_expansion_function_0015752c" * (cast_expression "(code **)PTR_history_inhibit_expansion_function_0015752c" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(hstring,iVar20)" ( identifier , identifier )))) ;) (if_statement "if (iVar20 == 0) break;" if (parenthesized_expression "(iVar20 == 0)" ( (binary_expression "iVar20 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) })) }) (else_clause "else {\n          iVar20 = _rl_get_char_len(hstring + i,&ps);\n          if (iVar20 < 2) goto LAB_0011f800;\n          i = i + iVar20 + -1;\n        }" else (compound_statement "{\n          iVar20 = _rl_get_char_len(hstring + i,&ps);\n          if (iVar20 < 2) goto LAB_0011f800;\n          i = i + iVar20 + -1;\n        }" { (expression_statement "iVar20 = _rl_get_char_len(hstring + i,&ps);" (assignment_expression "iVar20 = _rl_get_char_len(hstring + i,&ps)" identifier = (call_expression "_rl_get_char_len(hstring + i,&ps)" identifier (argument_list "(hstring + i,&ps)" ( (binary_expression "hstring + i" identifier + identifier) , (pointer_expression "&ps" & identifier) )))) ;) (if_statement "if (iVar20 < 2) goto LAB_0011f800;" if (parenthesized_expression "(iVar20 < 2)" ( (binary_expression "iVar20 < 2" identifier < number_literal) )) (goto_statement "goto LAB_0011f800;" goto statement_identifier ;)) (expression_statement "i = i + iVar20 + -1;" (assignment_expression "i = i + iVar20 + -1" identifier = (binary_expression "i + iVar20 + -1" (binary_expression "i + iVar20" identifier + identifier) + number_literal)) ;) }))) (labeled_statement "LAB_0011f7c0:\n        i = i + 1;" statement_identifier : (expression_statement "i = i + 1;" (assignment_expression "i = i + 1" identifier = (binary_expression "i + 1" identifier + number_literal)) ;)) }) while (parenthesized_expression "(hstring[i] != '\0')" ( (binary_expression "hstring[i] != '\0'" (subscript_expression "hstring[i]" identifier [ identifier ]) != (char_literal "'\0'" ' escape_sequence ')) )) ;) })) (goto_statement "goto LAB_0011d994;" goto statement_identifier ;) })) (expression_statement "pcVar6 = (char *)(*(code *)PTR_xmalloc_001565b8)(local_c8 + 5);" (assignment_expression "pcVar6 = (char *)(*(code *)PTR_xmalloc_001565b8)(local_c8 + 5)" identifier = (cast_expression "(char *)(*(code *)PTR_xmalloc_001565b8)(local_c8 + 5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001565b8)(local_c8 + 5)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_c8 + 5)" ( (binary_expression "local_c8 + 5" identifier + number_literal) ))))) ;) (expression_statement "cVar1 = *PTR_history_expansion_char_00156fcc;" (assignment_expression "cVar1 = *PTR_history_expansion_char_00156fcc" identifier = (pointer_expression "*PTR_history_expansion_char_00156fcc" * identifier)) ;) (expression_statement "pcVar6[1] = cVar1;" (assignment_expression "pcVar6[1] = cVar1" (subscript_expression "pcVar6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*pcVar6 = cVar1;" (assignment_expression "*pcVar6 = cVar1" (pointer_expression "*pcVar6" * identifier) = identifier) ;) (expression_statement "pcVar6[2] = ':';" (assignment_expression "pcVar6[2] = ':'" (subscript_expression "pcVar6[2]" identifier [ number_literal ]) = (char_literal "':'" ' character ')) ;) (expression_statement "pcVar6[3] = 's';" (assignment_expression "pcVar6[3] = 's'" (subscript_expression "pcVar6[3]" identifier [ number_literal ]) = (char_literal "'s'" ' character ')) ;) (expression_statement "(*(code *)PTR_strcpy_001584cc)(pcVar6 + 4,hstring);" (call_expression "(*(code *)PTR_strcpy_001584cc)(pcVar6 + 4,hstring)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" ( (pointer_expression "*(code *)PTR_strcpy_001584cc" * (cast_expression "(code *)PTR_strcpy_001584cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar6 + 4,hstring)" ( (binary_expression "pcVar6 + 4" identifier + number_literal) , identifier ))) ;) (expression_statement "local_c8 = local_c8 + 4;" (assignment_expression "local_c8 = local_c8 + 4" identifier = (binary_expression "local_c8 + 4" identifier + number_literal)) ;) (goto_statement "goto LAB_0011d9ac;" goto statement_identifier ;) (labeled_statement "LAB_0011da2c:\n  do {\n    i = iVar20 + 1;\n    iVar20 = i;\n  } while (hstring[i] != '\0');" statement_identifier : (do_statement "do {\n    i = iVar20 + 1;\n    iVar20 = i;\n  } while (hstring[i] != '\0');" do (compound_statement "{\n    i = iVar20 + 1;\n    iVar20 = i;\n  }" { (expression_statement "i = iVar20 + 1;" (assignment_expression "i = iVar20 + 1" identifier = (binary_expression "iVar20 + 1" identifier + number_literal)) ;) (expression_statement "iVar20 = i;" (assignment_expression "iVar20 = i" identifier = identifier) ;) }) while (parenthesized_expression "(hstring[i] != '\0')" ( (binary_expression "hstring[i] != '\0'" (subscript_expression "hstring[i]" identifier [ identifier ]) != (char_literal "'\0'" ' escape_sequence ')) )) ;)) (labeled_statement "LAB_0011d994:\n  if (hstring[i] != *PTR_history_expansion_char_00156fcc) {\n    (*(code *)PTR_xfree_00156bb4)(pcVar4);\n    iVar20 = (*(code *)PTR_strlen_00158444)(hstring);\n    uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n    pcVar4 = (char *)(*(code *)PTR_strcpy_001584cc)(uVar11,hstring);\n    *output = pcVar4;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }" statement_identifier : (if_statement "if (hstring[i] != *PTR_history_expansion_char_00156fcc) {\n    (*(code *)PTR_xfree_00156bb4)(pcVar4);\n    iVar20 = (*(code *)PTR_strlen_00158444)(hstring);\n    uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n    pcVar4 = (char *)(*(code *)PTR_strcpy_001584cc)(uVar11,hstring);\n    *output = pcVar4;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }" if (parenthesized_expression "(hstring[i] != *PTR_history_expansion_char_00156fcc)" ( (binary_expression "hstring[i] != *PTR_history_expansion_char_00156fcc" (subscript_expression "hstring[i]" identifier [ identifier ]) != (pointer_expression "*PTR_history_expansion_char_00156fcc" * identifier)) )) (compound_statement "{\n    (*(code *)PTR_xfree_00156bb4)(pcVar4);\n    iVar20 = (*(code *)PTR_strlen_00158444)(hstring);\n    uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n    pcVar4 = (char *)(*(code *)PTR_strcpy_001584cc)(uVar11,hstring);\n    *output = pcVar4;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }" { (expression_statement "(*(code *)PTR_xfree_00156bb4)(pcVar4);" (call_expression "(*(code *)PTR_xfree_00156bb4)(pcVar4)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" ( (pointer_expression "*(code *)PTR_xfree_00156bb4" * (cast_expression "(code *)PTR_xfree_00156bb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4)" ( identifier ))) ;) (expression_statement "iVar20 = (*(code *)PTR_strlen_00158444)(hstring);" (assignment_expression "iVar20 = (*(code *)PTR_strlen_00158444)(hstring)" identifier = (call_expression "(*(code *)PTR_strlen_00158444)(hstring)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(hstring)" ( identifier )))) ;) (expression_statement "uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);" (assignment_expression "uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001565b8)(iVar20 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar20 + 1)" ( (binary_expression "iVar20 + 1" identifier + number_literal) )))) ;) (expression_statement "pcVar4 = (char *)(*(code *)PTR_strcpy_001584cc)(uVar11,hstring);" (assignment_expression "pcVar4 = (char *)(*(code *)PTR_strcpy_001584cc)(uVar11,hstring)" identifier = (cast_expression "(char *)(*(code *)PTR_strcpy_001584cc)(uVar11,hstring)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strcpy_001584cc)(uVar11,hstring)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" ( (pointer_expression "*(code *)PTR_strcpy_001584cc" * (cast_expression "(code *)PTR_strcpy_001584cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar11,hstring)" ( identifier , identifier ))))) ;) (expression_statement "*output = pcVar4;" (assignment_expression "*output = pcVar4" (pointer_expression "*output" * identifier) = identifier) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0011f678;" goto statement_identifier ;) }))) (labeled_statement "LAB_0011d9ac:\n  local_c4 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);" statement_identifier : (expression_statement "local_c4 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);" (assignment_expression "local_c4 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22)" identifier = (call_expression "(uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)PTR_history_quoting_state_001569a0 == 0x22)" ( (binary_expression "*(int *)PTR_history_quoting_state_001569a0 == 0x22" (pointer_expression "*(int *)PTR_history_quoting_state_001569a0" * (cast_expression "(int *)PTR_history_quoting_state_001569a0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )))) ;)) (expression_statement "i = 0;" (assignment_expression "i = 0" identifier = number_literal) ;) (if_statement "if (*(int *)PTR_history_quoting_state_001569a0 == 0x27) {\n    iVar20 = 0x100;\n    if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n      local_b0 = 1;\n      iVar10 = 0;\n    }\n    else {\n      hist_string_extract_single_quoted(pcVar6,&i,0);\n      if (i < 1) {\n        if (pcVar6[i] == '\0') {\n          iVar20 = 0x100;\n          local_b0 = 0;\n          iVar10 = 0;\n        }\n        else {\n          iVar18 = 0;\n          iVar20 = 0x100;\nLAB_0011dbe0:\n          iVar10 = iVar18 + 1;\n          pcVar4[iVar18] = pcVar6[i];\n          pcVar4[iVar10] = '\0';\n          i = i + 1;\n          local_b0 = 0;\n        }\n      }\n      else {\n        iVar20 = 0x100;\n        iVar18 = 0;\n        while( true ) {\n          iVar10 = iVar18 + 1;\n          pcVar4[iVar18] = pcVar6[iVar18];\n          pcVar4[iVar10] = '\0';\n          if (i <= iVar10) break;\n          iVar18 = iVar10;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n        }\n        if (pcVar6[i] != '\0') {\n          iVar18 = iVar10;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }\n    }\n  }\n  else {\n    iVar20 = 0x100;\n    local_b0 = 0;\n    iVar10 = 0;\n  }" if (parenthesized_expression "(*(int *)PTR_history_quoting_state_001569a0 == 0x27)" ( (binary_expression "*(int *)PTR_history_quoting_state_001569a0 == 0x27" (pointer_expression "*(int *)PTR_history_quoting_state_001569a0" * (cast_expression "(int *)PTR_history_quoting_state_001569a0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n    iVar20 = 0x100;\n    if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n      local_b0 = 1;\n      iVar10 = 0;\n    }\n    else {\n      hist_string_extract_single_quoted(pcVar6,&i,0);\n      if (i < 1) {\n        if (pcVar6[i] == '\0') {\n          iVar20 = 0x100;\n          local_b0 = 0;\n          iVar10 = 0;\n        }\n        else {\n          iVar18 = 0;\n          iVar20 = 0x100;\nLAB_0011dbe0:\n          iVar10 = iVar18 + 1;\n          pcVar4[iVar18] = pcVar6[i];\n          pcVar4[iVar10] = '\0';\n          i = i + 1;\n          local_b0 = 0;\n        }\n      }\n      else {\n        iVar20 = 0x100;\n        iVar18 = 0;\n        while( true ) {\n          iVar10 = iVar18 + 1;\n          pcVar4[iVar18] = pcVar6[iVar18];\n          pcVar4[iVar10] = '\0';\n          if (i <= iVar10) break;\n          iVar18 = iVar10;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n        }\n        if (pcVar6[i] != '\0') {\n          iVar18 = iVar10;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }\n    }\n  }" { (expression_statement "iVar20 = 0x100;" (assignment_expression "iVar20 = 0x100" identifier = number_literal) ;) (if_statement "if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n      local_b0 = 1;\n      iVar10 = 0;\n    }\n    else {\n      hist_string_extract_single_quoted(pcVar6,&i,0);\n      if (i < 1) {\n        if (pcVar6[i] == '\0') {\n          iVar20 = 0x100;\n          local_b0 = 0;\n          iVar10 = 0;\n        }\n        else {\n          iVar18 = 0;\n          iVar20 = 0x100;\nLAB_0011dbe0:\n          iVar10 = iVar18 + 1;\n          pcVar4[iVar18] = pcVar6[i];\n          pcVar4[iVar10] = '\0';\n          i = i + 1;\n          local_b0 = 0;\n        }\n      }\n      else {\n        iVar20 = 0x100;\n        iVar18 = 0;\n        while( true ) {\n          iVar10 = iVar18 + 1;\n          pcVar4[iVar18] = pcVar6[iVar18];\n          pcVar4[iVar10] = '\0';\n          if (i <= iVar10) break;\n          iVar18 = iVar10;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n        }\n        if (pcVar6[i] != '\0') {\n          iVar18 = iVar10;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }\n    }" if (parenthesized_expression "(*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)" ( (binary_expression "*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0" (pointer_expression "*(int *)PTR_history_quotes_inhibit_expansion_00157524" * (cast_expression "(int *)PTR_history_quotes_inhibit_expansion_00157524" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n      local_b0 = 1;\n      iVar10 = 0;\n    }" { (expression_statement "local_b0 = 1;" (assignment_expression "local_b0 = 1" identifier = number_literal) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      hist_string_extract_single_quoted(pcVar6,&i,0);\n      if (i < 1) {\n        if (pcVar6[i] == '\0') {\n          iVar20 = 0x100;\n          local_b0 = 0;\n          iVar10 = 0;\n        }\n        else {\n          iVar18 = 0;\n          iVar20 = 0x100;\nLAB_0011dbe0:\n          iVar10 = iVar18 + 1;\n          pcVar4[iVar18] = pcVar6[i];\n          pcVar4[iVar10] = '\0';\n          i = i + 1;\n          local_b0 = 0;\n        }\n      }\n      else {\n        iVar20 = 0x100;\n        iVar18 = 0;\n        while( true ) {\n          iVar10 = iVar18 + 1;\n          pcVar4[iVar18] = pcVar6[iVar18];\n          pcVar4[iVar10] = '\0';\n          if (i <= iVar10) break;\n          iVar18 = iVar10;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n        }\n        if (pcVar6[i] != '\0') {\n          iVar18 = iVar10;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }\n    }" else (compound_statement "{\n      hist_string_extract_single_quoted(pcVar6,&i,0);\n      if (i < 1) {\n        if (pcVar6[i] == '\0') {\n          iVar20 = 0x100;\n          local_b0 = 0;\n          iVar10 = 0;\n        }\n        else {\n          iVar18 = 0;\n          iVar20 = 0x100;\nLAB_0011dbe0:\n          iVar10 = iVar18 + 1;\n          pcVar4[iVar18] = pcVar6[i];\n          pcVar4[iVar10] = '\0';\n          i = i + 1;\n          local_b0 = 0;\n        }\n      }\n      else {\n        iVar20 = 0x100;\n        iVar18 = 0;\n        while( true ) {\n          iVar10 = iVar18 + 1;\n          pcVar4[iVar18] = pcVar6[iVar18];\n          pcVar4[iVar10] = '\0';\n          if (i <= iVar10) break;\n          iVar18 = iVar10;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n        }\n        if (pcVar6[i] != '\0') {\n          iVar18 = iVar10;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }\n    }" { (expression_statement "hist_string_extract_single_quoted(pcVar6,&i,0);" (call_expression "hist_string_extract_single_quoted(pcVar6,&i,0)" identifier (argument_list "(pcVar6,&i,0)" ( identifier , (pointer_expression "&i" & identifier) , number_literal ))) ;) (if_statement "if (i < 1) {\n        if (pcVar6[i] == '\0') {\n          iVar20 = 0x100;\n          local_b0 = 0;\n          iVar10 = 0;\n        }\n        else {\n          iVar18 = 0;\n          iVar20 = 0x100;\nLAB_0011dbe0:\n          iVar10 = iVar18 + 1;\n          pcVar4[iVar18] = pcVar6[i];\n          pcVar4[iVar10] = '\0';\n          i = i + 1;\n          local_b0 = 0;\n        }\n      }\n      else {\n        iVar20 = 0x100;\n        iVar18 = 0;\n        while( true ) {\n          iVar10 = iVar18 + 1;\n          pcVar4[iVar18] = pcVar6[iVar18];\n          pcVar4[iVar10] = '\0';\n          if (i <= iVar10) break;\n          iVar18 = iVar10;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n        }\n        if (pcVar6[i] != '\0') {\n          iVar18 = iVar10;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }" if (parenthesized_expression "(i < 1)" ( (binary_expression "i < 1" identifier < number_literal) )) (compound_statement "{\n        if (pcVar6[i] == '\0') {\n          iVar20 = 0x100;\n          local_b0 = 0;\n          iVar10 = 0;\n        }\n        else {\n          iVar18 = 0;\n          iVar20 = 0x100;\nLAB_0011dbe0:\n          iVar10 = iVar18 + 1;\n          pcVar4[iVar18] = pcVar6[i];\n          pcVar4[iVar10] = '\0';\n          i = i + 1;\n          local_b0 = 0;\n        }\n      }" { (if_statement "if (pcVar6[i] == '\0') {\n          iVar20 = 0x100;\n          local_b0 = 0;\n          iVar10 = 0;\n        }\n        else {\n          iVar18 = 0;\n          iVar20 = 0x100;\nLAB_0011dbe0:\n          iVar10 = iVar18 + 1;\n          pcVar4[iVar18] = pcVar6[i];\n          pcVar4[iVar10] = '\0';\n          i = i + 1;\n          local_b0 = 0;\n        }" if (parenthesized_expression "(pcVar6[i] == '\0')" ( (binary_expression "pcVar6[i] == '\0'" (subscript_expression "pcVar6[i]" identifier [ identifier ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar20 = 0x100;\n          local_b0 = 0;\n          iVar10 = 0;\n        }" { (expression_statement "iVar20 = 0x100;" (assignment_expression "iVar20 = 0x100" identifier = number_literal) ;) (expression_statement "local_b0 = 0;" (assignment_expression "local_b0 = 0" identifier = number_literal) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) }) (else_clause "else {\n          iVar18 = 0;\n          iVar20 = 0x100;\nLAB_0011dbe0:\n          iVar10 = iVar18 + 1;\n          pcVar4[iVar18] = pcVar6[i];\n          pcVar4[iVar10] = '\0';\n          i = i + 1;\n          local_b0 = 0;\n        }" else (compound_statement "{\n          iVar18 = 0;\n          iVar20 = 0x100;\nLAB_0011dbe0:\n          iVar10 = iVar18 + 1;\n          pcVar4[iVar18] = pcVar6[i];\n          pcVar4[iVar10] = '\0';\n          i = i + 1;\n          local_b0 = 0;\n        }" { (expression_statement "iVar18 = 0;" (assignment_expression "iVar18 = 0" identifier = number_literal) ;) (expression_statement "iVar20 = 0x100;" (assignment_expression "iVar20 = 0x100" identifier = number_literal) ;) (labeled_statement "LAB_0011dbe0:\n          iVar10 = iVar18 + 1;" statement_identifier : (expression_statement "iVar10 = iVar18 + 1;" (assignment_expression "iVar10 = iVar18 + 1" identifier = (binary_expression "iVar18 + 1" identifier + number_literal)) ;)) (expression_statement "pcVar4[iVar18] = pcVar6[i];" (assignment_expression "pcVar4[iVar18] = pcVar6[i]" (subscript_expression "pcVar4[iVar18]" identifier [ identifier ]) = (subscript_expression "pcVar6[i]" identifier [ identifier ])) ;) (expression_statement "pcVar4[iVar10] = '\0';" (assignment_expression "pcVar4[iVar10] = '\0'" (subscript_expression "pcVar4[iVar10]" identifier [ identifier ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "i = i + 1;" (assignment_expression "i = i + 1" identifier = (binary_expression "i + 1" identifier + number_literal)) ;) (expression_statement "local_b0 = 0;" (assignment_expression "local_b0 = 0" identifier = number_literal) ;) }))) }) (else_clause "else {\n        iVar20 = 0x100;\n        iVar18 = 0;\n        while( true ) {\n          iVar10 = iVar18 + 1;\n          pcVar4[iVar18] = pcVar6[iVar18];\n          pcVar4[iVar10] = '\0';\n          if (i <= iVar10) break;\n          iVar18 = iVar10;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n        }\n        if (pcVar6[i] != '\0') {\n          iVar18 = iVar10;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }" else (compound_statement "{\n        iVar20 = 0x100;\n        iVar18 = 0;\n        while( true ) {\n          iVar10 = iVar18 + 1;\n          pcVar4[iVar18] = pcVar6[iVar18];\n          pcVar4[iVar10] = '\0';\n          if (i <= iVar10) break;\n          iVar18 = iVar10;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n        }\n        if (pcVar6[i] != '\0') {\n          iVar18 = iVar10;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }" { (expression_statement "iVar20 = 0x100;" (assignment_expression "iVar20 = 0x100" identifier = number_literal) ;) (expression_statement "iVar18 = 0;" (assignment_expression "iVar18 = 0" identifier = number_literal) ;) (while_statement "while( true ) {\n          iVar10 = iVar18 + 1;\n          pcVar4[iVar18] = pcVar6[iVar18];\n          pcVar4[iVar10] = '\0';\n          if (i <= iVar10) break;\n          iVar18 = iVar10;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          iVar10 = iVar18 + 1;\n          pcVar4[iVar18] = pcVar6[iVar18];\n          pcVar4[iVar10] = '\0';\n          if (i <= iVar10) break;\n          iVar18 = iVar10;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n        }" { (expression_statement "iVar10 = iVar18 + 1;" (assignment_expression "iVar10 = iVar18 + 1" identifier = (binary_expression "iVar18 + 1" identifier + number_literal)) ;) (expression_statement "pcVar4[iVar18] = pcVar6[iVar18];" (assignment_expression "pcVar4[iVar18] = pcVar6[iVar18]" (subscript_expression "pcVar4[iVar18]" identifier [ identifier ]) = (subscript_expression "pcVar6[iVar18]" identifier [ identifier ])) ;) (expression_statement "pcVar4[iVar10] = '\0';" (assignment_expression "pcVar4[iVar10] = '\0'" (subscript_expression "pcVar4[iVar10]" identifier [ identifier ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (if_statement "if (i <= iVar10) break;" if (parenthesized_expression "(i <= iVar10)" ( (binary_expression "i <= iVar10" identifier <= identifier) )) (break_statement "break;" break ;)) (expression_statement "iVar18 = iVar10;" (assignment_expression "iVar18 = iVar10" identifier = identifier) ;) (if_statement "if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }" if (parenthesized_expression "(iVar20 + -1 <= iVar10)" ( (binary_expression "iVar20 + -1 <= iVar10" (binary_expression "iVar20 + -1" identifier + number_literal) <= identifier) )) (compound_statement "{\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }" { (expression_statement "iVar20 = iVar20 + 0x40;" (assignment_expression "iVar20 = iVar20 + 0x40" identifier = (binary_expression "iVar20 + 0x40" identifier + number_literal)) ;) (expression_statement "pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);" (assignment_expression "pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" identifier = (cast_expression "(char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4,iVar20)" ( identifier , identifier ))))) ;) })) })) (if_statement "if (pcVar6[i] != '\0') {\n          iVar18 = iVar10;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          goto LAB_0011dbe0;\n        }" if (parenthesized_expression "(pcVar6[i] != '\0')" ( (binary_expression "pcVar6[i] != '\0'" (subscript_expression "pcVar6[i]" identifier [ identifier ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar18 = iVar10;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          goto LAB_0011dbe0;\n        }" { (expression_statement "iVar18 = iVar10;" (assignment_expression "iVar18 = iVar10" identifier = identifier) ;) (if_statement "if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }" if (parenthesized_expression "(iVar20 + -1 <= iVar10)" ( (binary_expression "iVar20 + -1 <= iVar10" (binary_expression "iVar20 + -1" identifier + number_literal) <= identifier) )) (compound_statement "{\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }" { (expression_statement "iVar20 = iVar20 + 0x40;" (assignment_expression "iVar20 = iVar20 + 0x40" identifier = (binary_expression "iVar20 + 0x40" identifier + number_literal)) ;) (expression_statement "pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);" (assignment_expression "pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" identifier = (cast_expression "(char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4,iVar20)" ( identifier , identifier ))))) ;) })) (goto_statement "goto LAB_0011dbe0;" goto statement_identifier ;) })) (expression_statement "local_b0 = 0;" (assignment_expression "local_b0 = 0" identifier = number_literal) ;) }))) }))) }) (else_clause "else {\n    iVar20 = 0x100;\n    local_b0 = 0;\n    iVar10 = 0;\n  }" else (compound_statement "{\n    iVar20 = 0x100;\n    local_b0 = 0;\n    iVar10 = 0;\n  }" { (expression_statement "iVar20 = 0x100;" (assignment_expression "iVar20 = 0x100" identifier = number_literal) ;) (expression_statement "local_b0 = 0;" (assignment_expression "local_b0 = 0" identifier = number_literal) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) }))) (expression_statement "puVar2 = PTR_DAT_001565b0;" (assignment_expression "puVar2 = PTR_DAT_001565b0" identifier = identifier) ;) (expression_statement "puVar21 = PTR_pidstat_table_3077__0015656c;" (assignment_expression "puVar21 = PTR_pidstat_table_3077__0015656c" identifier = identifier) ;) (if_statement "if (i < local_c8) {\n    local_a8 = 0;\n    uVar3 = 0;\n    do {\n      cVar1 = pcVar6[i];\n      if (uVar3 == 0) {\n        uVar9 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((1 < uVar9) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {\n          mb[0] = '\0';\n          mb[1] = '\0';\n          mb[2] = '\0';\n          mb[3] = '\0';\n          mb[4] = '\0';\n          mb[5] = '\0';\n          mb[6] = '\0';\n          mb[7] = '\0';\n          mb[8] = '\0';\n          mb[9] = '\0';\n          mb[10] = '\0';\n          mb[0xb] = '\0';\n          mb[0xc] = '\0';\n          mb[0xd] = '\0';\n          mb[0xe] = '\0';\n          mb[0xf] = '\0';\n          piVar17 = (int *)mb;\n          cVar13 = cVar1;\n          do {\n            *(char *)piVar17 = cVar13;\n            ps.__count = 0;\n            ps.__value.__wch = 0;\n            iVar18 = _rl_get_char_len(mb,&ps);\n            if (iVar18 != -2) break;\n            i = i + 1;\n            piVar17 = (int *)((int)piVar17 + 1);\n            cVar13 = pcVar6[i];\n          } while (&local_2c != piVar17);\n          uVar9 = (*(code *)PTR_strlen_00158444)(mb);\n          if (1 < uVar9) {\n            iVar18 = iVar10 + uVar9;\n            iVar10 = iVar20;\n            if (iVar20 <= iVar18) {\n              do {\n                iVar10 = iVar10 + 0x80;\n              } while (iVar10 <= iVar18);\n              iVar20 = iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U);\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - uVar9),mb);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }\n        iVar18 = i;\n        if (*PTR_history_expansion_char_00156fcc == cVar1) {\nLAB_0011e340:\n          iVar14 = (int)pcVar6[i + 1];\n          if ((((iVar14 != 0) &&\n               (iVar16 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar14),\n               iVar16 == 0)) && ((local_c4 == 0 || (iVar14 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar18 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar18),\n              iVar18 == 0)))) {\n            iVar14 = i;\n            iVar18 = 0x27;\n            if ((local_b0 == 0) && (iVar18 = 0x22, local_c4 == 0)) {\n              iVar18 = 0;\n            }\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            i_1 = iVar14;\n            iVar16 = (int)pcVar6[iVar14 + 1];\n            if (iVar16 == 0) {\nLAB_0011e654:\n              pcVar7 = get_history_event(pcVar6,&i_1,iVar18);\n              iVar19 = i_1;\n            }\n            else {\n              iVar19 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar16);\n              if (iVar19 == 0) {\n                pcVar7 = pcVar4;\n                iVar19 = iVar14 + 2;\n                if (iVar16 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                fake_i = 0;\n                fake_s[0] = *PTR_history_expansion_char_00156fcc;\n                fake_s[2] = '\0';\n                i_1 = iVar14 + 1;\n                fake_s[1] = fake_s[0];\n                pcVar7 = get_history_event(fake_s,&fake_i,0);\n                iVar19 = i_1;\n              }\n            }\n            i_1 = iVar19;\n            iVar18 = i_1;\n            if (pcVar7 == (char *)0x0) {\n              pcVar7 = hist_error(pcVar6,iVar14,i_1,0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n              goto LAB_0011e9e8;\n            }\n            iVar14 = i_1 + 1;\n            if (pcVar6[i_1] != ':') {\n              iVar14 = i_1;\n            }\n            iVar16 = (int)pcVar6[iVar14];\n            if (iVar16 == 0x25) {\n              i_1 = iVar14 + 1;\n              if (*(int *)(PTR_pidstat_table_3077__0015656c + -0x3384) == 0) {\n                pcVar8 = (char *)(*(code *)PTR_xmalloc_001565b8)(1);\n                *pcVar8 = '\0';\n              }\n              else {\n                iVar20 = (*(code *)PTR_strlen_00158444)();\n                uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                pcVar8 = (char *)(*(code *)PTR_strcpy_001584cc)\n                                           (uVar11,*(undefined4 *)\n                                                    (PTR_pidstat_table_3077__0015656c + -0x3384));\n              }\n              goto LAB_0011e5b8;\n            }\n            if (iVar16 == 0x2a) {\n              i_1 = iVar14 + 1;\n              pcVar8 = history_arg_extract(1,0x24,pcVar7);\n              if (pcVar8 == (char *)0x0) {\n                pcVar8 = (char *)(*(code *)PTR_xmalloc_001565b8)(1);\n                *pcVar8 = '\0';\n              }\n              goto LAB_0011e5b8;\n            }\n            if (iVar16 == 0x24) {\n              i_1 = iVar14 + 1;\n              pcVar8 = history_arg_extract(0x24,0x24,pcVar7);\n              if (pcVar8 == puVar21 + -0x336c) goto LAB_0011e864;\n              if (pcVar8 != (char *)0x0) goto LAB_0011e5c8;\nLAB_0011e61c:\n              iVar18 = (*(code *)PTR_strlen_00158444)(pcVar7);\n              uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar18 + 1);\n              uVar11 = (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar7);\n              if (pcVar6[i_1] != ':') {\n                i_1 = i_1 + -1;\n                iVar18 = (*(code *)PTR_strlen_00158444)(uVar11);\n                if (0x7f < iVar18) {\n                  local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar18 + 2);\n                }\n                (*(code *)PTR_strcpy_001584cc)(local_c0,uVar11);\n                (*(code *)PTR_xfree_00156bb4)(uVar11);\n                iVar18 = i_1;\n                local_a8 = local_a8 + 1;\n                if (*local_c0 != '\0') {\n                  iVar16 = (*(code *)PTR_strlen_00158444)();\n                  iVar10 = iVar10 + iVar16;\n                  iVar14 = iVar20;\n                  if (iVar20 <= iVar10) {\n                    do {\n                      iVar14 = iVar14 + 0x80;\n                    } while (iVar14 <= iVar10);\n                    iVar20 = iVar20 + 0x80 + (iVar10 - iVar20 & 0xffffff80U);\n                    pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                  }\n                  (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar10 - iVar16),local_c0);\n                }\n                (*(code *)PTR_xfree_00156bb4)(local_c0);\n                i = iVar18;\n                iVar18 = iVar10;\n                goto LAB_0011dc80;\n              }\n              iVar20 = (int)pcVar6[i_1 + 1];\n              if ((iVar20 == 0x67) || (iVar20 == 0x61)) {\n                iVar20 = (int)pcVar6[i_1 + 2];\n                i_1 = i_1 + 1;\n              }\n              else if (iVar20 == 0x47) {\n                iVar20 = (int)pcVar6[i_1 + 2];\n                i_1 = i_1 + 1;\n              }\n              if ((iVar20 - 0x26U & 0xff) < 0x53) {\n                    /* WARNING: Could not emulate address calculation at 0x0011e968 */\n                    /* WARNING: Treating indirect jump as call */\n                iVar20 = (*(code *)((int)pidstat_table +\n                                   *(int *)(puVar2 + (iVar20 - 0x26U & 0xff) * 4 + 0x484) + 0x1554))\n                                   ();\n                return iVar20;\n              }\n              pcVar7 = hist_error(pcVar6,i_1 + 1,i_1 + 2,3);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n              (*(code *)PTR_xfree_00156bb4)(uVar11);\n            }\n            else {\n              if (iVar16 == 0x2d) {\n                iVar20 = 0;\n                goto LAB_0011e8ac;\n              }\n              if (iVar16 == 0x5e) {\n                iVar14 = iVar14 + 1;\n                iVar20 = 1;\n              }\n              else {\n                if ((9 < (iVar16 - 0x30U & 0xff)) || (pcVar6[i_1] != ':')) goto LAB_0011e61c;\n                iVar20 = 0;\n                do {\n                  iVar20 = iVar16 + -0x30 + iVar20 * 10;\n                  iVar14 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[iVar14];\n                } while ((iVar16 - 0x30U & 0xff) < 10);\n              }\n              cVar1 = pcVar6[iVar14];\n              if (cVar1 == '^') {\n                iVar10 = 1;\nLAB_0011e838:\n                i_1 = iVar14 + 1;\nLAB_0011e83c:\n                bVar15 = iVar10 < iVar20;\nLAB_0011e840:\n                if (((!bVar15) || (iVar10 == 0x24)) || (iVar10 < 0)) goto LAB_0011e5a4;\n              }\n              else {\n                if (cVar1 == '*') {\n                  iVar10 = 0x24;\n                  goto LAB_0011e838;\n                }\n                iVar10 = iVar20;\n                i_1 = iVar14;\n                if (cVar1 == '-') {\nLAB_0011e8ac:\n                  i_1 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[i_1];\n                  if (9 < (iVar16 - 0x30U & 0xff)) {\n                    if (iVar16 != 0x24) {\n                      iVar10 = -1;\n                      goto LAB_0011e5a4;\n                    }\n                    i_1 = iVar14 + 2;\n                    iVar10 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar10 = 0;\n                  do {\n                    iVar10 = iVar16 + -0x30 + iVar10 * 10;\n                    i_1 = i_1 + 1;\n                    iVar16 = (int)pcVar6[i_1];\n                    bVar15 = iVar10 < iVar20;\n                  } while ((iVar16 - 0x30U & 0xff) < 10);\n                  goto LAB_0011e840;\n                }\nLAB_0011e5a4:\n                pcVar8 = history_arg_extract(iVar20,iVar10,pcVar7);\n                if (pcVar8 != (char *)0x0) {\nLAB_0011e5b8:\n                  if (pcVar8 != puVar21 + -0x336c) {\nLAB_0011e5c8:\n                    iVar20 = (*(code *)PTR_strlen_00158444)(pcVar8);\n                    uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                    (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar8);\n                    iVar20 = (*(code *)PTR_free_001585ac)(pcVar8);\n                    return iVar20;\n                  }\n                }\n              }\nLAB_0011e864:\n              pcVar7 = hist_error(pcVar6,iVar18,i_1,1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *output = pcVar7;\n            (*(code *)PTR_xfree_00156bb4)(pcVar4);\n            if (pcVar6 == hstring) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = pcVar6[i];\n          pcVar4[iVar10 + 1] = '\0';\n          iVar18 = iVar10 + 1;\n        }\n        else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((i == 0 ||\n              ((pcVar6[i + -1] != '\0' &&\n               (iVar14 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar14 != 0)))))) {\n            uVar11 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar18) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar6 + i);\n            iVar14 = (*(code *)PTR_strlen_00158444)(uVar11);\n            iVar18 = iVar10 + iVar14;\n            iVar10 = iVar20;\n            if (iVar20 <= iVar18) {\n              do {\n                iVar10 = iVar10 + 0x80;\n              } while (iVar10 <= iVar18);\n              iVar20 = iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U);\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar14),uVar11);\n            (*(code *)PTR_xfree_00156bb4)(uVar11);\n            i = local_c8;\n          }\n          else {\n            if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            pcVar4[iVar10] = pcVar6[i];\n            pcVar4[iVar10 + 1] = '\0';\n            iVar18 = iVar10 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          iVar18 = iVar10 + 1;\n          pcVar4[iVar10] = '\"';\n          pcVar4[iVar18] = '\0';\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = pcVar6[i];\n          pcVar4[iVar10 + 1] = '\0';\n          iVar18 = iVar10 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar20 + -1 <= iVar10) {\n                  iVar20 = iVar20 + 0x40;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                pcVar4[iVar10] = pcVar6[i];\n                pcVar4[iVar10 + 1] = '\0';\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar18 = iVar10 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (i < 1) {\n                  uVar3 = 0;\n                }\n                else {\n                  uVar3 = (uint)(pcVar6[i + -1] == '$');\n                }\n                i = i + 1;\n                hist_string_extract_single_quoted(pcVar6,&i,uVar3);\n                iVar16 = i - iVar18;\n                iVar19 = iVar16 + 2;\n                iVar14 = (*(code *)PTR_xmalloc_001565b8)(iVar19);\n                (*(code *)PTR_strncpy_001583e4)(iVar14,pcVar6 + iVar18,iVar19);\n                *(undefined1 *)(iVar14 + iVar16 + 1) = 0;\n                iVar16 = (*(code *)PTR_strlen_00158444)(iVar14);\n                iVar18 = iVar10 + iVar16;\n                iVar10 = iVar20;\n                if (iVar20 <= iVar18) {\n                  do {\n                    iVar10 = iVar10 + 0x80;\n                  } while (iVar10 <= iVar18);\n                  iVar20 = (iVar18 - iVar20 & 0xffffff80U) + iVar20 + 0x80;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar16),iVar14);\n                (*(code *)PTR_xfree_00156bb4)(iVar14);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar20 + -1 <= iVar10) {\n                iVar20 = iVar20 + 0x40;\n                pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n              }\n              pcVar4[iVar10] = pcVar6[i];\n              pcVar4[iVar10 + 1] = '\0';\n              uVar3 = local_b0;\n              iVar18 = iVar10 + 1;\n            }\n          }\n          else {\n            if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            pcVar4[iVar10] = '\'';\n            pcVar4[iVar10 + 1] = '\0';\n            iVar18 = iVar10 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = '\\';\n          pcVar4[iVar10 + 1] = '\0';\n          uVar3 = 1;\n          iVar18 = iVar10 + 1;\n        }\n      }\n      else {\n        if (iVar20 + -1 <= iVar10) {\n          iVar20 = iVar20 + 0x40;\n          pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n        }\n        pcVar4[iVar10] = cVar1;\n        pcVar4[iVar10 + 1] = '\0';\n        uVar3 = 0;\n        iVar18 = iVar10 + 1;\n      }\nLAB_0011dc80:\n      i = i + 1;\n      iVar10 = iVar18;\n    } while (i < local_c8);\n    *output = pcVar4;\n    if (pcVar6 != hstring) {\nLAB_0011f650:\n      (*(code *)PTR_xfree_00156bb4)(pcVar6);\n    }\n  }\n  else {\n    *output = pcVar4;\n    if (pcVar6 != hstring) {\n      local_a8 = 0;\n      goto LAB_0011f650;\n    }\n    local_a8 = 0;\n  }" if (parenthesized_expression "(i < local_c8)" ( (binary_expression "i < local_c8" identifier < identifier) )) (compound_statement "{\n    local_a8 = 0;\n    uVar3 = 0;\n    do {\n      cVar1 = pcVar6[i];\n      if (uVar3 == 0) {\n        uVar9 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((1 < uVar9) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {\n          mb[0] = '\0';\n          mb[1] = '\0';\n          mb[2] = '\0';\n          mb[3] = '\0';\n          mb[4] = '\0';\n          mb[5] = '\0';\n          mb[6] = '\0';\n          mb[7] = '\0';\n          mb[8] = '\0';\n          mb[9] = '\0';\n          mb[10] = '\0';\n          mb[0xb] = '\0';\n          mb[0xc] = '\0';\n          mb[0xd] = '\0';\n          mb[0xe] = '\0';\n          mb[0xf] = '\0';\n          piVar17 = (int *)mb;\n          cVar13 = cVar1;\n          do {\n            *(char *)piVar17 = cVar13;\n            ps.__count = 0;\n            ps.__value.__wch = 0;\n            iVar18 = _rl_get_char_len(mb,&ps);\n            if (iVar18 != -2) break;\n            i = i + 1;\n            piVar17 = (int *)((int)piVar17 + 1);\n            cVar13 = pcVar6[i];\n          } while (&local_2c != piVar17);\n          uVar9 = (*(code *)PTR_strlen_00158444)(mb);\n          if (1 < uVar9) {\n            iVar18 = iVar10 + uVar9;\n            iVar10 = iVar20;\n            if (iVar20 <= iVar18) {\n              do {\n                iVar10 = iVar10 + 0x80;\n              } while (iVar10 <= iVar18);\n              iVar20 = iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U);\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - uVar9),mb);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }\n        iVar18 = i;\n        if (*PTR_history_expansion_char_00156fcc == cVar1) {\nLAB_0011e340:\n          iVar14 = (int)pcVar6[i + 1];\n          if ((((iVar14 != 0) &&\n               (iVar16 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar14),\n               iVar16 == 0)) && ((local_c4 == 0 || (iVar14 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar18 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar18),\n              iVar18 == 0)))) {\n            iVar14 = i;\n            iVar18 = 0x27;\n            if ((local_b0 == 0) && (iVar18 = 0x22, local_c4 == 0)) {\n              iVar18 = 0;\n            }\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            i_1 = iVar14;\n            iVar16 = (int)pcVar6[iVar14 + 1];\n            if (iVar16 == 0) {\nLAB_0011e654:\n              pcVar7 = get_history_event(pcVar6,&i_1,iVar18);\n              iVar19 = i_1;\n            }\n            else {\n              iVar19 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar16);\n              if (iVar19 == 0) {\n                pcVar7 = pcVar4;\n                iVar19 = iVar14 + 2;\n                if (iVar16 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                fake_i = 0;\n                fake_s[0] = *PTR_history_expansion_char_00156fcc;\n                fake_s[2] = '\0';\n                i_1 = iVar14 + 1;\n                fake_s[1] = fake_s[0];\n                pcVar7 = get_history_event(fake_s,&fake_i,0);\n                iVar19 = i_1;\n              }\n            }\n            i_1 = iVar19;\n            iVar18 = i_1;\n            if (pcVar7 == (char *)0x0) {\n              pcVar7 = hist_error(pcVar6,iVar14,i_1,0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n              goto LAB_0011e9e8;\n            }\n            iVar14 = i_1 + 1;\n            if (pcVar6[i_1] != ':') {\n              iVar14 = i_1;\n            }\n            iVar16 = (int)pcVar6[iVar14];\n            if (iVar16 == 0x25) {\n              i_1 = iVar14 + 1;\n              if (*(int *)(PTR_pidstat_table_3077__0015656c + -0x3384) == 0) {\n                pcVar8 = (char *)(*(code *)PTR_xmalloc_001565b8)(1);\n                *pcVar8 = '\0';\n              }\n              else {\n                iVar20 = (*(code *)PTR_strlen_00158444)();\n                uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                pcVar8 = (char *)(*(code *)PTR_strcpy_001584cc)\n                                           (uVar11,*(undefined4 *)\n                                                    (PTR_pidstat_table_3077__0015656c + -0x3384));\n              }\n              goto LAB_0011e5b8;\n            }\n            if (iVar16 == 0x2a) {\n              i_1 = iVar14 + 1;\n              pcVar8 = history_arg_extract(1,0x24,pcVar7);\n              if (pcVar8 == (char *)0x0) {\n                pcVar8 = (char *)(*(code *)PTR_xmalloc_001565b8)(1);\n                *pcVar8 = '\0';\n              }\n              goto LAB_0011e5b8;\n            }\n            if (iVar16 == 0x24) {\n              i_1 = iVar14 + 1;\n              pcVar8 = history_arg_extract(0x24,0x24,pcVar7);\n              if (pcVar8 == puVar21 + -0x336c) goto LAB_0011e864;\n              if (pcVar8 != (char *)0x0) goto LAB_0011e5c8;\nLAB_0011e61c:\n              iVar18 = (*(code *)PTR_strlen_00158444)(pcVar7);\n              uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar18 + 1);\n              uVar11 = (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar7);\n              if (pcVar6[i_1] != ':') {\n                i_1 = i_1 + -1;\n                iVar18 = (*(code *)PTR_strlen_00158444)(uVar11);\n                if (0x7f < iVar18) {\n                  local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar18 + 2);\n                }\n                (*(code *)PTR_strcpy_001584cc)(local_c0,uVar11);\n                (*(code *)PTR_xfree_00156bb4)(uVar11);\n                iVar18 = i_1;\n                local_a8 = local_a8 + 1;\n                if (*local_c0 != '\0') {\n                  iVar16 = (*(code *)PTR_strlen_00158444)();\n                  iVar10 = iVar10 + iVar16;\n                  iVar14 = iVar20;\n                  if (iVar20 <= iVar10) {\n                    do {\n                      iVar14 = iVar14 + 0x80;\n                    } while (iVar14 <= iVar10);\n                    iVar20 = iVar20 + 0x80 + (iVar10 - iVar20 & 0xffffff80U);\n                    pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                  }\n                  (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar10 - iVar16),local_c0);\n                }\n                (*(code *)PTR_xfree_00156bb4)(local_c0);\n                i = iVar18;\n                iVar18 = iVar10;\n                goto LAB_0011dc80;\n              }\n              iVar20 = (int)pcVar6[i_1 + 1];\n              if ((iVar20 == 0x67) || (iVar20 == 0x61)) {\n                iVar20 = (int)pcVar6[i_1 + 2];\n                i_1 = i_1 + 1;\n              }\n              else if (iVar20 == 0x47) {\n                iVar20 = (int)pcVar6[i_1 + 2];\n                i_1 = i_1 + 1;\n              }\n              if ((iVar20 - 0x26U & 0xff) < 0x53) {\n                    /* WARNING: Could not emulate address calculation at 0x0011e968 */\n                    /* WARNING: Treating indirect jump as call */\n                iVar20 = (*(code *)((int)pidstat_table +\n                                   *(int *)(puVar2 + (iVar20 - 0x26U & 0xff) * 4 + 0x484) + 0x1554))\n                                   ();\n                return iVar20;\n              }\n              pcVar7 = hist_error(pcVar6,i_1 + 1,i_1 + 2,3);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n              (*(code *)PTR_xfree_00156bb4)(uVar11);\n            }\n            else {\n              if (iVar16 == 0x2d) {\n                iVar20 = 0;\n                goto LAB_0011e8ac;\n              }\n              if (iVar16 == 0x5e) {\n                iVar14 = iVar14 + 1;\n                iVar20 = 1;\n              }\n              else {\n                if ((9 < (iVar16 - 0x30U & 0xff)) || (pcVar6[i_1] != ':')) goto LAB_0011e61c;\n                iVar20 = 0;\n                do {\n                  iVar20 = iVar16 + -0x30 + iVar20 * 10;\n                  iVar14 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[iVar14];\n                } while ((iVar16 - 0x30U & 0xff) < 10);\n              }\n              cVar1 = pcVar6[iVar14];\n              if (cVar1 == '^') {\n                iVar10 = 1;\nLAB_0011e838:\n                i_1 = iVar14 + 1;\nLAB_0011e83c:\n                bVar15 = iVar10 < iVar20;\nLAB_0011e840:\n                if (((!bVar15) || (iVar10 == 0x24)) || (iVar10 < 0)) goto LAB_0011e5a4;\n              }\n              else {\n                if (cVar1 == '*') {\n                  iVar10 = 0x24;\n                  goto LAB_0011e838;\n                }\n                iVar10 = iVar20;\n                i_1 = iVar14;\n                if (cVar1 == '-') {\nLAB_0011e8ac:\n                  i_1 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[i_1];\n                  if (9 < (iVar16 - 0x30U & 0xff)) {\n                    if (iVar16 != 0x24) {\n                      iVar10 = -1;\n                      goto LAB_0011e5a4;\n                    }\n                    i_1 = iVar14 + 2;\n                    iVar10 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar10 = 0;\n                  do {\n                    iVar10 = iVar16 + -0x30 + iVar10 * 10;\n                    i_1 = i_1 + 1;\n                    iVar16 = (int)pcVar6[i_1];\n                    bVar15 = iVar10 < iVar20;\n                  } while ((iVar16 - 0x30U & 0xff) < 10);\n                  goto LAB_0011e840;\n                }\nLAB_0011e5a4:\n                pcVar8 = history_arg_extract(iVar20,iVar10,pcVar7);\n                if (pcVar8 != (char *)0x0) {\nLAB_0011e5b8:\n                  if (pcVar8 != puVar21 + -0x336c) {\nLAB_0011e5c8:\n                    iVar20 = (*(code *)PTR_strlen_00158444)(pcVar8);\n                    uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                    (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar8);\n                    iVar20 = (*(code *)PTR_free_001585ac)(pcVar8);\n                    return iVar20;\n                  }\n                }\n              }\nLAB_0011e864:\n              pcVar7 = hist_error(pcVar6,iVar18,i_1,1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *output = pcVar7;\n            (*(code *)PTR_xfree_00156bb4)(pcVar4);\n            if (pcVar6 == hstring) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = pcVar6[i];\n          pcVar4[iVar10 + 1] = '\0';\n          iVar18 = iVar10 + 1;\n        }\n        else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((i == 0 ||\n              ((pcVar6[i + -1] != '\0' &&\n               (iVar14 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar14 != 0)))))) {\n            uVar11 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar18) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar6 + i);\n            iVar14 = (*(code *)PTR_strlen_00158444)(uVar11);\n            iVar18 = iVar10 + iVar14;\n            iVar10 = iVar20;\n            if (iVar20 <= iVar18) {\n              do {\n                iVar10 = iVar10 + 0x80;\n              } while (iVar10 <= iVar18);\n              iVar20 = iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U);\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar14),uVar11);\n            (*(code *)PTR_xfree_00156bb4)(uVar11);\n            i = local_c8;\n          }\n          else {\n            if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            pcVar4[iVar10] = pcVar6[i];\n            pcVar4[iVar10 + 1] = '\0';\n            iVar18 = iVar10 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          iVar18 = iVar10 + 1;\n          pcVar4[iVar10] = '\"';\n          pcVar4[iVar18] = '\0';\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = pcVar6[i];\n          pcVar4[iVar10 + 1] = '\0';\n          iVar18 = iVar10 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar20 + -1 <= iVar10) {\n                  iVar20 = iVar20 + 0x40;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                pcVar4[iVar10] = pcVar6[i];\n                pcVar4[iVar10 + 1] = '\0';\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar18 = iVar10 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (i < 1) {\n                  uVar3 = 0;\n                }\n                else {\n                  uVar3 = (uint)(pcVar6[i + -1] == '$');\n                }\n                i = i + 1;\n                hist_string_extract_single_quoted(pcVar6,&i,uVar3);\n                iVar16 = i - iVar18;\n                iVar19 = iVar16 + 2;\n                iVar14 = (*(code *)PTR_xmalloc_001565b8)(iVar19);\n                (*(code *)PTR_strncpy_001583e4)(iVar14,pcVar6 + iVar18,iVar19);\n                *(undefined1 *)(iVar14 + iVar16 + 1) = 0;\n                iVar16 = (*(code *)PTR_strlen_00158444)(iVar14);\n                iVar18 = iVar10 + iVar16;\n                iVar10 = iVar20;\n                if (iVar20 <= iVar18) {\n                  do {\n                    iVar10 = iVar10 + 0x80;\n                  } while (iVar10 <= iVar18);\n                  iVar20 = (iVar18 - iVar20 & 0xffffff80U) + iVar20 + 0x80;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar16),iVar14);\n                (*(code *)PTR_xfree_00156bb4)(iVar14);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar20 + -1 <= iVar10) {\n                iVar20 = iVar20 + 0x40;\n                pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n              }\n              pcVar4[iVar10] = pcVar6[i];\n              pcVar4[iVar10 + 1] = '\0';\n              uVar3 = local_b0;\n              iVar18 = iVar10 + 1;\n            }\n          }\n          else {\n            if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            pcVar4[iVar10] = '\'';\n            pcVar4[iVar10 + 1] = '\0';\n            iVar18 = iVar10 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = '\\';\n          pcVar4[iVar10 + 1] = '\0';\n          uVar3 = 1;\n          iVar18 = iVar10 + 1;\n        }\n      }\n      else {\n        if (iVar20 + -1 <= iVar10) {\n          iVar20 = iVar20 + 0x40;\n          pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n        }\n        pcVar4[iVar10] = cVar1;\n        pcVar4[iVar10 + 1] = '\0';\n        uVar3 = 0;\n        iVar18 = iVar10 + 1;\n      }\nLAB_0011dc80:\n      i = i + 1;\n      iVar10 = iVar18;\n    } while (i < local_c8);\n    *output = pcVar4;\n    if (pcVar6 != hstring) {\nLAB_0011f650:\n      (*(code *)PTR_xfree_00156bb4)(pcVar6);\n    }\n  }" { (expression_statement "local_a8 = 0;" (assignment_expression "local_a8 = 0" identifier = number_literal) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      cVar1 = pcVar6[i];\n      if (uVar3 == 0) {\n        uVar9 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((1 < uVar9) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {\n          mb[0] = '\0';\n          mb[1] = '\0';\n          mb[2] = '\0';\n          mb[3] = '\0';\n          mb[4] = '\0';\n          mb[5] = '\0';\n          mb[6] = '\0';\n          mb[7] = '\0';\n          mb[8] = '\0';\n          mb[9] = '\0';\n          mb[10] = '\0';\n          mb[0xb] = '\0';\n          mb[0xc] = '\0';\n          mb[0xd] = '\0';\n          mb[0xe] = '\0';\n          mb[0xf] = '\0';\n          piVar17 = (int *)mb;\n          cVar13 = cVar1;\n          do {\n            *(char *)piVar17 = cVar13;\n            ps.__count = 0;\n            ps.__value.__wch = 0;\n            iVar18 = _rl_get_char_len(mb,&ps);\n            if (iVar18 != -2) break;\n            i = i + 1;\n            piVar17 = (int *)((int)piVar17 + 1);\n            cVar13 = pcVar6[i];\n          } while (&local_2c != piVar17);\n          uVar9 = (*(code *)PTR_strlen_00158444)(mb);\n          if (1 < uVar9) {\n            iVar18 = iVar10 + uVar9;\n            iVar10 = iVar20;\n            if (iVar20 <= iVar18) {\n              do {\n                iVar10 = iVar10 + 0x80;\n              } while (iVar10 <= iVar18);\n              iVar20 = iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U);\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - uVar9),mb);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }\n        iVar18 = i;\n        if (*PTR_history_expansion_char_00156fcc == cVar1) {\nLAB_0011e340:\n          iVar14 = (int)pcVar6[i + 1];\n          if ((((iVar14 != 0) &&\n               (iVar16 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar14),\n               iVar16 == 0)) && ((local_c4 == 0 || (iVar14 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar18 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar18),\n              iVar18 == 0)))) {\n            iVar14 = i;\n            iVar18 = 0x27;\n            if ((local_b0 == 0) && (iVar18 = 0x22, local_c4 == 0)) {\n              iVar18 = 0;\n            }\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            i_1 = iVar14;\n            iVar16 = (int)pcVar6[iVar14 + 1];\n            if (iVar16 == 0) {\nLAB_0011e654:\n              pcVar7 = get_history_event(pcVar6,&i_1,iVar18);\n              iVar19 = i_1;\n            }\n            else {\n              iVar19 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar16);\n              if (iVar19 == 0) {\n                pcVar7 = pcVar4;\n                iVar19 = iVar14 + 2;\n                if (iVar16 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                fake_i = 0;\n                fake_s[0] = *PTR_history_expansion_char_00156fcc;\n                fake_s[2] = '\0';\n                i_1 = iVar14 + 1;\n                fake_s[1] = fake_s[0];\n                pcVar7 = get_history_event(fake_s,&fake_i,0);\n                iVar19 = i_1;\n              }\n            }\n            i_1 = iVar19;\n            iVar18 = i_1;\n            if (pcVar7 == (char *)0x0) {\n              pcVar7 = hist_error(pcVar6,iVar14,i_1,0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n              goto LAB_0011e9e8;\n            }\n            iVar14 = i_1 + 1;\n            if (pcVar6[i_1] != ':') {\n              iVar14 = i_1;\n            }\n            iVar16 = (int)pcVar6[iVar14];\n            if (iVar16 == 0x25) {\n              i_1 = iVar14 + 1;\n              if (*(int *)(PTR_pidstat_table_3077__0015656c + -0x3384) == 0) {\n                pcVar8 = (char *)(*(code *)PTR_xmalloc_001565b8)(1);\n                *pcVar8 = '\0';\n              }\n              else {\n                iVar20 = (*(code *)PTR_strlen_00158444)();\n                uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                pcVar8 = (char *)(*(code *)PTR_strcpy_001584cc)\n                                           (uVar11,*(undefined4 *)\n                                                    (PTR_pidstat_table_3077__0015656c + -0x3384));\n              }\n              goto LAB_0011e5b8;\n            }\n            if (iVar16 == 0x2a) {\n              i_1 = iVar14 + 1;\n              pcVar8 = history_arg_extract(1,0x24,pcVar7);\n              if (pcVar8 == (char *)0x0) {\n                pcVar8 = (char *)(*(code *)PTR_xmalloc_001565b8)(1);\n                *pcVar8 = '\0';\n              }\n              goto LAB_0011e5b8;\n            }\n            if (iVar16 == 0x24) {\n              i_1 = iVar14 + 1;\n              pcVar8 = history_arg_extract(0x24,0x24,pcVar7);\n              if (pcVar8 == puVar21 + -0x336c) goto LAB_0011e864;\n              if (pcVar8 != (char *)0x0) goto LAB_0011e5c8;\nLAB_0011e61c:\n              iVar18 = (*(code *)PTR_strlen_00158444)(pcVar7);\n              uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar18 + 1);\n              uVar11 = (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar7);\n              if (pcVar6[i_1] != ':') {\n                i_1 = i_1 + -1;\n                iVar18 = (*(code *)PTR_strlen_00158444)(uVar11);\n                if (0x7f < iVar18) {\n                  local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar18 + 2);\n                }\n                (*(code *)PTR_strcpy_001584cc)(local_c0,uVar11);\n                (*(code *)PTR_xfree_00156bb4)(uVar11);\n                iVar18 = i_1;\n                local_a8 = local_a8 + 1;\n                if (*local_c0 != '\0') {\n                  iVar16 = (*(code *)PTR_strlen_00158444)();\n                  iVar10 = iVar10 + iVar16;\n                  iVar14 = iVar20;\n                  if (iVar20 <= iVar10) {\n                    do {\n                      iVar14 = iVar14 + 0x80;\n                    } while (iVar14 <= iVar10);\n                    iVar20 = iVar20 + 0x80 + (iVar10 - iVar20 & 0xffffff80U);\n                    pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                  }\n                  (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar10 - iVar16),local_c0);\n                }\n                (*(code *)PTR_xfree_00156bb4)(local_c0);\n                i = iVar18;\n                iVar18 = iVar10;\n                goto LAB_0011dc80;\n              }\n              iVar20 = (int)pcVar6[i_1 + 1];\n              if ((iVar20 == 0x67) || (iVar20 == 0x61)) {\n                iVar20 = (int)pcVar6[i_1 + 2];\n                i_1 = i_1 + 1;\n              }\n              else if (iVar20 == 0x47) {\n                iVar20 = (int)pcVar6[i_1 + 2];\n                i_1 = i_1 + 1;\n              }\n              if ((iVar20 - 0x26U & 0xff) < 0x53) {\n                    /* WARNING: Could not emulate address calculation at 0x0011e968 */\n                    /* WARNING: Treating indirect jump as call */\n                iVar20 = (*(code *)((int)pidstat_table +\n                                   *(int *)(puVar2 + (iVar20 - 0x26U & 0xff) * 4 + 0x484) + 0x1554))\n                                   ();\n                return iVar20;\n              }\n              pcVar7 = hist_error(pcVar6,i_1 + 1,i_1 + 2,3);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n              (*(code *)PTR_xfree_00156bb4)(uVar11);\n            }\n            else {\n              if (iVar16 == 0x2d) {\n                iVar20 = 0;\n                goto LAB_0011e8ac;\n              }\n              if (iVar16 == 0x5e) {\n                iVar14 = iVar14 + 1;\n                iVar20 = 1;\n              }\n              else {\n                if ((9 < (iVar16 - 0x30U & 0xff)) || (pcVar6[i_1] != ':')) goto LAB_0011e61c;\n                iVar20 = 0;\n                do {\n                  iVar20 = iVar16 + -0x30 + iVar20 * 10;\n                  iVar14 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[iVar14];\n                } while ((iVar16 - 0x30U & 0xff) < 10);\n              }\n              cVar1 = pcVar6[iVar14];\n              if (cVar1 == '^') {\n                iVar10 = 1;\nLAB_0011e838:\n                i_1 = iVar14 + 1;\nLAB_0011e83c:\n                bVar15 = iVar10 < iVar20;\nLAB_0011e840:\n                if (((!bVar15) || (iVar10 == 0x24)) || (iVar10 < 0)) goto LAB_0011e5a4;\n              }\n              else {\n                if (cVar1 == '*') {\n                  iVar10 = 0x24;\n                  goto LAB_0011e838;\n                }\n                iVar10 = iVar20;\n                i_1 = iVar14;\n                if (cVar1 == '-') {\nLAB_0011e8ac:\n                  i_1 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[i_1];\n                  if (9 < (iVar16 - 0x30U & 0xff)) {\n                    if (iVar16 != 0x24) {\n                      iVar10 = -1;\n                      goto LAB_0011e5a4;\n                    }\n                    i_1 = iVar14 + 2;\n                    iVar10 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar10 = 0;\n                  do {\n                    iVar10 = iVar16 + -0x30 + iVar10 * 10;\n                    i_1 = i_1 + 1;\n                    iVar16 = (int)pcVar6[i_1];\n                    bVar15 = iVar10 < iVar20;\n                  } while ((iVar16 - 0x30U & 0xff) < 10);\n                  goto LAB_0011e840;\n                }\nLAB_0011e5a4:\n                pcVar8 = history_arg_extract(iVar20,iVar10,pcVar7);\n                if (pcVar8 != (char *)0x0) {\nLAB_0011e5b8:\n                  if (pcVar8 != puVar21 + -0x336c) {\nLAB_0011e5c8:\n                    iVar20 = (*(code *)PTR_strlen_00158444)(pcVar8);\n                    uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                    (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar8);\n                    iVar20 = (*(code *)PTR_free_001585ac)(pcVar8);\n                    return iVar20;\n                  }\n                }\n              }\nLAB_0011e864:\n              pcVar7 = hist_error(pcVar6,iVar18,i_1,1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *output = pcVar7;\n            (*(code *)PTR_xfree_00156bb4)(pcVar4);\n            if (pcVar6 == hstring) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = pcVar6[i];\n          pcVar4[iVar10 + 1] = '\0';\n          iVar18 = iVar10 + 1;\n        }\n        else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((i == 0 ||\n              ((pcVar6[i + -1] != '\0' &&\n               (iVar14 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar14 != 0)))))) {\n            uVar11 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar18) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar6 + i);\n            iVar14 = (*(code *)PTR_strlen_00158444)(uVar11);\n            iVar18 = iVar10 + iVar14;\n            iVar10 = iVar20;\n            if (iVar20 <= iVar18) {\n              do {\n                iVar10 = iVar10 + 0x80;\n              } while (iVar10 <= iVar18);\n              iVar20 = iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U);\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar14),uVar11);\n            (*(code *)PTR_xfree_00156bb4)(uVar11);\n            i = local_c8;\n          }\n          else {\n            if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            pcVar4[iVar10] = pcVar6[i];\n            pcVar4[iVar10 + 1] = '\0';\n            iVar18 = iVar10 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          iVar18 = iVar10 + 1;\n          pcVar4[iVar10] = '\"';\n          pcVar4[iVar18] = '\0';\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = pcVar6[i];\n          pcVar4[iVar10 + 1] = '\0';\n          iVar18 = iVar10 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar20 + -1 <= iVar10) {\n                  iVar20 = iVar20 + 0x40;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                pcVar4[iVar10] = pcVar6[i];\n                pcVar4[iVar10 + 1] = '\0';\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar18 = iVar10 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (i < 1) {\n                  uVar3 = 0;\n                }\n                else {\n                  uVar3 = (uint)(pcVar6[i + -1] == '$');\n                }\n                i = i + 1;\n                hist_string_extract_single_quoted(pcVar6,&i,uVar3);\n                iVar16 = i - iVar18;\n                iVar19 = iVar16 + 2;\n                iVar14 = (*(code *)PTR_xmalloc_001565b8)(iVar19);\n                (*(code *)PTR_strncpy_001583e4)(iVar14,pcVar6 + iVar18,iVar19);\n                *(undefined1 *)(iVar14 + iVar16 + 1) = 0;\n                iVar16 = (*(code *)PTR_strlen_00158444)(iVar14);\n                iVar18 = iVar10 + iVar16;\n                iVar10 = iVar20;\n                if (iVar20 <= iVar18) {\n                  do {\n                    iVar10 = iVar10 + 0x80;\n                  } while (iVar10 <= iVar18);\n                  iVar20 = (iVar18 - iVar20 & 0xffffff80U) + iVar20 + 0x80;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar16),iVar14);\n                (*(code *)PTR_xfree_00156bb4)(iVar14);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar20 + -1 <= iVar10) {\n                iVar20 = iVar20 + 0x40;\n                pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n              }\n              pcVar4[iVar10] = pcVar6[i];\n              pcVar4[iVar10 + 1] = '\0';\n              uVar3 = local_b0;\n              iVar18 = iVar10 + 1;\n            }\n          }\n          else {\n            if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            pcVar4[iVar10] = '\'';\n            pcVar4[iVar10 + 1] = '\0';\n            iVar18 = iVar10 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = '\\';\n          pcVar4[iVar10 + 1] = '\0';\n          uVar3 = 1;\n          iVar18 = iVar10 + 1;\n        }\n      }\n      else {\n        if (iVar20 + -1 <= iVar10) {\n          iVar20 = iVar20 + 0x40;\n          pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n        }\n        pcVar4[iVar10] = cVar1;\n        pcVar4[iVar10 + 1] = '\0';\n        uVar3 = 0;\n        iVar18 = iVar10 + 1;\n      }\nLAB_0011dc80:\n      i = i + 1;\n      iVar10 = iVar18;\n    } while (i < local_c8);" do (compound_statement "{\n      cVar1 = pcVar6[i];\n      if (uVar3 == 0) {\n        uVar9 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((1 < uVar9) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {\n          mb[0] = '\0';\n          mb[1] = '\0';\n          mb[2] = '\0';\n          mb[3] = '\0';\n          mb[4] = '\0';\n          mb[5] = '\0';\n          mb[6] = '\0';\n          mb[7] = '\0';\n          mb[8] = '\0';\n          mb[9] = '\0';\n          mb[10] = '\0';\n          mb[0xb] = '\0';\n          mb[0xc] = '\0';\n          mb[0xd] = '\0';\n          mb[0xe] = '\0';\n          mb[0xf] = '\0';\n          piVar17 = (int *)mb;\n          cVar13 = cVar1;\n          do {\n            *(char *)piVar17 = cVar13;\n            ps.__count = 0;\n            ps.__value.__wch = 0;\n            iVar18 = _rl_get_char_len(mb,&ps);\n            if (iVar18 != -2) break;\n            i = i + 1;\n            piVar17 = (int *)((int)piVar17 + 1);\n            cVar13 = pcVar6[i];\n          } while (&local_2c != piVar17);\n          uVar9 = (*(code *)PTR_strlen_00158444)(mb);\n          if (1 < uVar9) {\n            iVar18 = iVar10 + uVar9;\n            iVar10 = iVar20;\n            if (iVar20 <= iVar18) {\n              do {\n                iVar10 = iVar10 + 0x80;\n              } while (iVar10 <= iVar18);\n              iVar20 = iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U);\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - uVar9),mb);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }\n        iVar18 = i;\n        if (*PTR_history_expansion_char_00156fcc == cVar1) {\nLAB_0011e340:\n          iVar14 = (int)pcVar6[i + 1];\n          if ((((iVar14 != 0) &&\n               (iVar16 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar14),\n               iVar16 == 0)) && ((local_c4 == 0 || (iVar14 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar18 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar18),\n              iVar18 == 0)))) {\n            iVar14 = i;\n            iVar18 = 0x27;\n            if ((local_b0 == 0) && (iVar18 = 0x22, local_c4 == 0)) {\n              iVar18 = 0;\n            }\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            i_1 = iVar14;\n            iVar16 = (int)pcVar6[iVar14 + 1];\n            if (iVar16 == 0) {\nLAB_0011e654:\n              pcVar7 = get_history_event(pcVar6,&i_1,iVar18);\n              iVar19 = i_1;\n            }\n            else {\n              iVar19 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar16);\n              if (iVar19 == 0) {\n                pcVar7 = pcVar4;\n                iVar19 = iVar14 + 2;\n                if (iVar16 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                fake_i = 0;\n                fake_s[0] = *PTR_history_expansion_char_00156fcc;\n                fake_s[2] = '\0';\n                i_1 = iVar14 + 1;\n                fake_s[1] = fake_s[0];\n                pcVar7 = get_history_event(fake_s,&fake_i,0);\n                iVar19 = i_1;\n              }\n            }\n            i_1 = iVar19;\n            iVar18 = i_1;\n            if (pcVar7 == (char *)0x0) {\n              pcVar7 = hist_error(pcVar6,iVar14,i_1,0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n              goto LAB_0011e9e8;\n            }\n            iVar14 = i_1 + 1;\n            if (pcVar6[i_1] != ':') {\n              iVar14 = i_1;\n            }\n            iVar16 = (int)pcVar6[iVar14];\n            if (iVar16 == 0x25) {\n              i_1 = iVar14 + 1;\n              if (*(int *)(PTR_pidstat_table_3077__0015656c + -0x3384) == 0) {\n                pcVar8 = (char *)(*(code *)PTR_xmalloc_001565b8)(1);\n                *pcVar8 = '\0';\n              }\n              else {\n                iVar20 = (*(code *)PTR_strlen_00158444)();\n                uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                pcVar8 = (char *)(*(code *)PTR_strcpy_001584cc)\n                                           (uVar11,*(undefined4 *)\n                                                    (PTR_pidstat_table_3077__0015656c + -0x3384));\n              }\n              goto LAB_0011e5b8;\n            }\n            if (iVar16 == 0x2a) {\n              i_1 = iVar14 + 1;\n              pcVar8 = history_arg_extract(1,0x24,pcVar7);\n              if (pcVar8 == (char *)0x0) {\n                pcVar8 = (char *)(*(code *)PTR_xmalloc_001565b8)(1);\n                *pcVar8 = '\0';\n              }\n              goto LAB_0011e5b8;\n            }\n            if (iVar16 == 0x24) {\n              i_1 = iVar14 + 1;\n              pcVar8 = history_arg_extract(0x24,0x24,pcVar7);\n              if (pcVar8 == puVar21 + -0x336c) goto LAB_0011e864;\n              if (pcVar8 != (char *)0x0) goto LAB_0011e5c8;\nLAB_0011e61c:\n              iVar18 = (*(code *)PTR_strlen_00158444)(pcVar7);\n              uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar18 + 1);\n              uVar11 = (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar7);\n              if (pcVar6[i_1] != ':') {\n                i_1 = i_1 + -1;\n                iVar18 = (*(code *)PTR_strlen_00158444)(uVar11);\n                if (0x7f < iVar18) {\n                  local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar18 + 2);\n                }\n                (*(code *)PTR_strcpy_001584cc)(local_c0,uVar11);\n                (*(code *)PTR_xfree_00156bb4)(uVar11);\n                iVar18 = i_1;\n                local_a8 = local_a8 + 1;\n                if (*local_c0 != '\0') {\n                  iVar16 = (*(code *)PTR_strlen_00158444)();\n                  iVar10 = iVar10 + iVar16;\n                  iVar14 = iVar20;\n                  if (iVar20 <= iVar10) {\n                    do {\n                      iVar14 = iVar14 + 0x80;\n                    } while (iVar14 <= iVar10);\n                    iVar20 = iVar20 + 0x80 + (iVar10 - iVar20 & 0xffffff80U);\n                    pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                  }\n                  (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar10 - iVar16),local_c0);\n                }\n                (*(code *)PTR_xfree_00156bb4)(local_c0);\n                i = iVar18;\n                iVar18 = iVar10;\n                goto LAB_0011dc80;\n              }\n              iVar20 = (int)pcVar6[i_1 + 1];\n              if ((iVar20 == 0x67) || (iVar20 == 0x61)) {\n                iVar20 = (int)pcVar6[i_1 + 2];\n                i_1 = i_1 + 1;\n              }\n              else if (iVar20 == 0x47) {\n                iVar20 = (int)pcVar6[i_1 + 2];\n                i_1 = i_1 + 1;\n              }\n              if ((iVar20 - 0x26U & 0xff) < 0x53) {\n                    /* WARNING: Could not emulate address calculation at 0x0011e968 */\n                    /* WARNING: Treating indirect jump as call */\n                iVar20 = (*(code *)((int)pidstat_table +\n                                   *(int *)(puVar2 + (iVar20 - 0x26U & 0xff) * 4 + 0x484) + 0x1554))\n                                   ();\n                return iVar20;\n              }\n              pcVar7 = hist_error(pcVar6,i_1 + 1,i_1 + 2,3);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n              (*(code *)PTR_xfree_00156bb4)(uVar11);\n            }\n            else {\n              if (iVar16 == 0x2d) {\n                iVar20 = 0;\n                goto LAB_0011e8ac;\n              }\n              if (iVar16 == 0x5e) {\n                iVar14 = iVar14 + 1;\n                iVar20 = 1;\n              }\n              else {\n                if ((9 < (iVar16 - 0x30U & 0xff)) || (pcVar6[i_1] != ':')) goto LAB_0011e61c;\n                iVar20 = 0;\n                do {\n                  iVar20 = iVar16 + -0x30 + iVar20 * 10;\n                  iVar14 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[iVar14];\n                } while ((iVar16 - 0x30U & 0xff) < 10);\n              }\n              cVar1 = pcVar6[iVar14];\n              if (cVar1 == '^') {\n                iVar10 = 1;\nLAB_0011e838:\n                i_1 = iVar14 + 1;\nLAB_0011e83c:\n                bVar15 = iVar10 < iVar20;\nLAB_0011e840:\n                if (((!bVar15) || (iVar10 == 0x24)) || (iVar10 < 0)) goto LAB_0011e5a4;\n              }\n              else {\n                if (cVar1 == '*') {\n                  iVar10 = 0x24;\n                  goto LAB_0011e838;\n                }\n                iVar10 = iVar20;\n                i_1 = iVar14;\n                if (cVar1 == '-') {\nLAB_0011e8ac:\n                  i_1 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[i_1];\n                  if (9 < (iVar16 - 0x30U & 0xff)) {\n                    if (iVar16 != 0x24) {\n                      iVar10 = -1;\n                      goto LAB_0011e5a4;\n                    }\n                    i_1 = iVar14 + 2;\n                    iVar10 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar10 = 0;\n                  do {\n                    iVar10 = iVar16 + -0x30 + iVar10 * 10;\n                    i_1 = i_1 + 1;\n                    iVar16 = (int)pcVar6[i_1];\n                    bVar15 = iVar10 < iVar20;\n                  } while ((iVar16 - 0x30U & 0xff) < 10);\n                  goto LAB_0011e840;\n                }\nLAB_0011e5a4:\n                pcVar8 = history_arg_extract(iVar20,iVar10,pcVar7);\n                if (pcVar8 != (char *)0x0) {\nLAB_0011e5b8:\n                  if (pcVar8 != puVar21 + -0x336c) {\nLAB_0011e5c8:\n                    iVar20 = (*(code *)PTR_strlen_00158444)(pcVar8);\n                    uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                    (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar8);\n                    iVar20 = (*(code *)PTR_free_001585ac)(pcVar8);\n                    return iVar20;\n                  }\n                }\n              }\nLAB_0011e864:\n              pcVar7 = hist_error(pcVar6,iVar18,i_1,1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *output = pcVar7;\n            (*(code *)PTR_xfree_00156bb4)(pcVar4);\n            if (pcVar6 == hstring) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = pcVar6[i];\n          pcVar4[iVar10 + 1] = '\0';\n          iVar18 = iVar10 + 1;\n        }\n        else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((i == 0 ||\n              ((pcVar6[i + -1] != '\0' &&\n               (iVar14 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar14 != 0)))))) {\n            uVar11 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar18) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar6 + i);\n            iVar14 = (*(code *)PTR_strlen_00158444)(uVar11);\n            iVar18 = iVar10 + iVar14;\n            iVar10 = iVar20;\n            if (iVar20 <= iVar18) {\n              do {\n                iVar10 = iVar10 + 0x80;\n              } while (iVar10 <= iVar18);\n              iVar20 = iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U);\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar14),uVar11);\n            (*(code *)PTR_xfree_00156bb4)(uVar11);\n            i = local_c8;\n          }\n          else {\n            if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            pcVar4[iVar10] = pcVar6[i];\n            pcVar4[iVar10 + 1] = '\0';\n            iVar18 = iVar10 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          iVar18 = iVar10 + 1;\n          pcVar4[iVar10] = '\"';\n          pcVar4[iVar18] = '\0';\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = pcVar6[i];\n          pcVar4[iVar10 + 1] = '\0';\n          iVar18 = iVar10 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar20 + -1 <= iVar10) {\n                  iVar20 = iVar20 + 0x40;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                pcVar4[iVar10] = pcVar6[i];\n                pcVar4[iVar10 + 1] = '\0';\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar18 = iVar10 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (i < 1) {\n                  uVar3 = 0;\n                }\n                else {\n                  uVar3 = (uint)(pcVar6[i + -1] == '$');\n                }\n                i = i + 1;\n                hist_string_extract_single_quoted(pcVar6,&i,uVar3);\n                iVar16 = i - iVar18;\n                iVar19 = iVar16 + 2;\n                iVar14 = (*(code *)PTR_xmalloc_001565b8)(iVar19);\n                (*(code *)PTR_strncpy_001583e4)(iVar14,pcVar6 + iVar18,iVar19);\n                *(undefined1 *)(iVar14 + iVar16 + 1) = 0;\n                iVar16 = (*(code *)PTR_strlen_00158444)(iVar14);\n                iVar18 = iVar10 + iVar16;\n                iVar10 = iVar20;\n                if (iVar20 <= iVar18) {\n                  do {\n                    iVar10 = iVar10 + 0x80;\n                  } while (iVar10 <= iVar18);\n                  iVar20 = (iVar18 - iVar20 & 0xffffff80U) + iVar20 + 0x80;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar16),iVar14);\n                (*(code *)PTR_xfree_00156bb4)(iVar14);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar20 + -1 <= iVar10) {\n                iVar20 = iVar20 + 0x40;\n                pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n              }\n              pcVar4[iVar10] = pcVar6[i];\n              pcVar4[iVar10 + 1] = '\0';\n              uVar3 = local_b0;\n              iVar18 = iVar10 + 1;\n            }\n          }\n          else {\n            if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            pcVar4[iVar10] = '\'';\n            pcVar4[iVar10 + 1] = '\0';\n            iVar18 = iVar10 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = '\\';\n          pcVar4[iVar10 + 1] = '\0';\n          uVar3 = 1;\n          iVar18 = iVar10 + 1;\n        }\n      }\n      else {\n        if (iVar20 + -1 <= iVar10) {\n          iVar20 = iVar20 + 0x40;\n          pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n        }\n        pcVar4[iVar10] = cVar1;\n        pcVar4[iVar10 + 1] = '\0';\n        uVar3 = 0;\n        iVar18 = iVar10 + 1;\n      }\nLAB_0011dc80:\n      i = i + 1;\n      iVar10 = iVar18;\n    }" { (expression_statement "cVar1 = pcVar6[i];" (assignment_expression "cVar1 = pcVar6[i]" identifier = (subscript_expression "pcVar6[i]" identifier [ identifier ])) ;) (if_statement "if (uVar3 == 0) {\n        uVar9 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((1 < uVar9) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {\n          mb[0] = '\0';\n          mb[1] = '\0';\n          mb[2] = '\0';\n          mb[3] = '\0';\n          mb[4] = '\0';\n          mb[5] = '\0';\n          mb[6] = '\0';\n          mb[7] = '\0';\n          mb[8] = '\0';\n          mb[9] = '\0';\n          mb[10] = '\0';\n          mb[0xb] = '\0';\n          mb[0xc] = '\0';\n          mb[0xd] = '\0';\n          mb[0xe] = '\0';\n          mb[0xf] = '\0';\n          piVar17 = (int *)mb;\n          cVar13 = cVar1;\n          do {\n            *(char *)piVar17 = cVar13;\n            ps.__count = 0;\n            ps.__value.__wch = 0;\n            iVar18 = _rl_get_char_len(mb,&ps);\n            if (iVar18 != -2) break;\n            i = i + 1;\n            piVar17 = (int *)((int)piVar17 + 1);\n            cVar13 = pcVar6[i];\n          } while (&local_2c != piVar17);\n          uVar9 = (*(code *)PTR_strlen_00158444)(mb);\n          if (1 < uVar9) {\n            iVar18 = iVar10 + uVar9;\n            iVar10 = iVar20;\n            if (iVar20 <= iVar18) {\n              do {\n                iVar10 = iVar10 + 0x80;\n              } while (iVar10 <= iVar18);\n              iVar20 = iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U);\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - uVar9),mb);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }\n        iVar18 = i;\n        if (*PTR_history_expansion_char_00156fcc == cVar1) {\nLAB_0011e340:\n          iVar14 = (int)pcVar6[i + 1];\n          if ((((iVar14 != 0) &&\n               (iVar16 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar14),\n               iVar16 == 0)) && ((local_c4 == 0 || (iVar14 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar18 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar18),\n              iVar18 == 0)))) {\n            iVar14 = i;\n            iVar18 = 0x27;\n            if ((local_b0 == 0) && (iVar18 = 0x22, local_c4 == 0)) {\n              iVar18 = 0;\n            }\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            i_1 = iVar14;\n            iVar16 = (int)pcVar6[iVar14 + 1];\n            if (iVar16 == 0) {\nLAB_0011e654:\n              pcVar7 = get_history_event(pcVar6,&i_1,iVar18);\n              iVar19 = i_1;\n            }\n            else {\n              iVar19 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar16);\n              if (iVar19 == 0) {\n                pcVar7 = pcVar4;\n                iVar19 = iVar14 + 2;\n                if (iVar16 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                fake_i = 0;\n                fake_s[0] = *PTR_history_expansion_char_00156fcc;\n                fake_s[2] = '\0';\n                i_1 = iVar14 + 1;\n                fake_s[1] = fake_s[0];\n                pcVar7 = get_history_event(fake_s,&fake_i,0);\n                iVar19 = i_1;\n              }\n            }\n            i_1 = iVar19;\n            iVar18 = i_1;\n            if (pcVar7 == (char *)0x0) {\n              pcVar7 = hist_error(pcVar6,iVar14,i_1,0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n              goto LAB_0011e9e8;\n            }\n            iVar14 = i_1 + 1;\n            if (pcVar6[i_1] != ':') {\n              iVar14 = i_1;\n            }\n            iVar16 = (int)pcVar6[iVar14];\n            if (iVar16 == 0x25) {\n              i_1 = iVar14 + 1;\n              if (*(int *)(PTR_pidstat_table_3077__0015656c + -0x3384) == 0) {\n                pcVar8 = (char *)(*(code *)PTR_xmalloc_001565b8)(1);\n                *pcVar8 = '\0';\n              }\n              else {\n                iVar20 = (*(code *)PTR_strlen_00158444)();\n                uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                pcVar8 = (char *)(*(code *)PTR_strcpy_001584cc)\n                                           (uVar11,*(undefined4 *)\n                                                    (PTR_pidstat_table_3077__0015656c + -0x3384));\n              }\n              goto LAB_0011e5b8;\n            }\n            if (iVar16 == 0x2a) {\n              i_1 = iVar14 + 1;\n              pcVar8 = history_arg_extract(1,0x24,pcVar7);\n              if (pcVar8 == (char *)0x0) {\n                pcVar8 = (char *)(*(code *)PTR_xmalloc_001565b8)(1);\n                *pcVar8 = '\0';\n              }\n              goto LAB_0011e5b8;\n            }\n            if (iVar16 == 0x24) {\n              i_1 = iVar14 + 1;\n              pcVar8 = history_arg_extract(0x24,0x24,pcVar7);\n              if (pcVar8 == puVar21 + -0x336c) goto LAB_0011e864;\n              if (pcVar8 != (char *)0x0) goto LAB_0011e5c8;\nLAB_0011e61c:\n              iVar18 = (*(code *)PTR_strlen_00158444)(pcVar7);\n              uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar18 + 1);\n              uVar11 = (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar7);\n              if (pcVar6[i_1] != ':') {\n                i_1 = i_1 + -1;\n                iVar18 = (*(code *)PTR_strlen_00158444)(uVar11);\n                if (0x7f < iVar18) {\n                  local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar18 + 2);\n                }\n                (*(code *)PTR_strcpy_001584cc)(local_c0,uVar11);\n                (*(code *)PTR_xfree_00156bb4)(uVar11);\n                iVar18 = i_1;\n                local_a8 = local_a8 + 1;\n                if (*local_c0 != '\0') {\n                  iVar16 = (*(code *)PTR_strlen_00158444)();\n                  iVar10 = iVar10 + iVar16;\n                  iVar14 = iVar20;\n                  if (iVar20 <= iVar10) {\n                    do {\n                      iVar14 = iVar14 + 0x80;\n                    } while (iVar14 <= iVar10);\n                    iVar20 = iVar20 + 0x80 + (iVar10 - iVar20 & 0xffffff80U);\n                    pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                  }\n                  (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar10 - iVar16),local_c0);\n                }\n                (*(code *)PTR_xfree_00156bb4)(local_c0);\n                i = iVar18;\n                iVar18 = iVar10;\n                goto LAB_0011dc80;\n              }\n              iVar20 = (int)pcVar6[i_1 + 1];\n              if ((iVar20 == 0x67) || (iVar20 == 0x61)) {\n                iVar20 = (int)pcVar6[i_1 + 2];\n                i_1 = i_1 + 1;\n              }\n              else if (iVar20 == 0x47) {\n                iVar20 = (int)pcVar6[i_1 + 2];\n                i_1 = i_1 + 1;\n              }\n              if ((iVar20 - 0x26U & 0xff) < 0x53) {\n                    /* WARNING: Could not emulate address calculation at 0x0011e968 */\n                    /* WARNING: Treating indirect jump as call */\n                iVar20 = (*(code *)((int)pidstat_table +\n                                   *(int *)(puVar2 + (iVar20 - 0x26U & 0xff) * 4 + 0x484) + 0x1554))\n                                   ();\n                return iVar20;\n              }\n              pcVar7 = hist_error(pcVar6,i_1 + 1,i_1 + 2,3);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n              (*(code *)PTR_xfree_00156bb4)(uVar11);\n            }\n            else {\n              if (iVar16 == 0x2d) {\n                iVar20 = 0;\n                goto LAB_0011e8ac;\n              }\n              if (iVar16 == 0x5e) {\n                iVar14 = iVar14 + 1;\n                iVar20 = 1;\n              }\n              else {\n                if ((9 < (iVar16 - 0x30U & 0xff)) || (pcVar6[i_1] != ':')) goto LAB_0011e61c;\n                iVar20 = 0;\n                do {\n                  iVar20 = iVar16 + -0x30 + iVar20 * 10;\n                  iVar14 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[iVar14];\n                } while ((iVar16 - 0x30U & 0xff) < 10);\n              }\n              cVar1 = pcVar6[iVar14];\n              if (cVar1 == '^') {\n                iVar10 = 1;\nLAB_0011e838:\n                i_1 = iVar14 + 1;\nLAB_0011e83c:\n                bVar15 = iVar10 < iVar20;\nLAB_0011e840:\n                if (((!bVar15) || (iVar10 == 0x24)) || (iVar10 < 0)) goto LAB_0011e5a4;\n              }\n              else {\n                if (cVar1 == '*') {\n                  iVar10 = 0x24;\n                  goto LAB_0011e838;\n                }\n                iVar10 = iVar20;\n                i_1 = iVar14;\n                if (cVar1 == '-') {\nLAB_0011e8ac:\n                  i_1 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[i_1];\n                  if (9 < (iVar16 - 0x30U & 0xff)) {\n                    if (iVar16 != 0x24) {\n                      iVar10 = -1;\n                      goto LAB_0011e5a4;\n                    }\n                    i_1 = iVar14 + 2;\n                    iVar10 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar10 = 0;\n                  do {\n                    iVar10 = iVar16 + -0x30 + iVar10 * 10;\n                    i_1 = i_1 + 1;\n                    iVar16 = (int)pcVar6[i_1];\n                    bVar15 = iVar10 < iVar20;\n                  } while ((iVar16 - 0x30U & 0xff) < 10);\n                  goto LAB_0011e840;\n                }\nLAB_0011e5a4:\n                pcVar8 = history_arg_extract(iVar20,iVar10,pcVar7);\n                if (pcVar8 != (char *)0x0) {\nLAB_0011e5b8:\n                  if (pcVar8 != puVar21 + -0x336c) {\nLAB_0011e5c8:\n                    iVar20 = (*(code *)PTR_strlen_00158444)(pcVar8);\n                    uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                    (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar8);\n                    iVar20 = (*(code *)PTR_free_001585ac)(pcVar8);\n                    return iVar20;\n                  }\n                }\n              }\nLAB_0011e864:\n              pcVar7 = hist_error(pcVar6,iVar18,i_1,1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *output = pcVar7;\n            (*(code *)PTR_xfree_00156bb4)(pcVar4);\n            if (pcVar6 == hstring) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = pcVar6[i];\n          pcVar4[iVar10 + 1] = '\0';\n          iVar18 = iVar10 + 1;\n        }\n        else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((i == 0 ||\n              ((pcVar6[i + -1] != '\0' &&\n               (iVar14 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar14 != 0)))))) {\n            uVar11 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar18) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar6 + i);\n            iVar14 = (*(code *)PTR_strlen_00158444)(uVar11);\n            iVar18 = iVar10 + iVar14;\n            iVar10 = iVar20;\n            if (iVar20 <= iVar18) {\n              do {\n                iVar10 = iVar10 + 0x80;\n              } while (iVar10 <= iVar18);\n              iVar20 = iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U);\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar14),uVar11);\n            (*(code *)PTR_xfree_00156bb4)(uVar11);\n            i = local_c8;\n          }\n          else {\n            if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            pcVar4[iVar10] = pcVar6[i];\n            pcVar4[iVar10 + 1] = '\0';\n            iVar18 = iVar10 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          iVar18 = iVar10 + 1;\n          pcVar4[iVar10] = '\"';\n          pcVar4[iVar18] = '\0';\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = pcVar6[i];\n          pcVar4[iVar10 + 1] = '\0';\n          iVar18 = iVar10 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar20 + -1 <= iVar10) {\n                  iVar20 = iVar20 + 0x40;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                pcVar4[iVar10] = pcVar6[i];\n                pcVar4[iVar10 + 1] = '\0';\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar18 = iVar10 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (i < 1) {\n                  uVar3 = 0;\n                }\n                else {\n                  uVar3 = (uint)(pcVar6[i + -1] == '$');\n                }\n                i = i + 1;\n                hist_string_extract_single_quoted(pcVar6,&i,uVar3);\n                iVar16 = i - iVar18;\n                iVar19 = iVar16 + 2;\n                iVar14 = (*(code *)PTR_xmalloc_001565b8)(iVar19);\n                (*(code *)PTR_strncpy_001583e4)(iVar14,pcVar6 + iVar18,iVar19);\n                *(undefined1 *)(iVar14 + iVar16 + 1) = 0;\n                iVar16 = (*(code *)PTR_strlen_00158444)(iVar14);\n                iVar18 = iVar10 + iVar16;\n                iVar10 = iVar20;\n                if (iVar20 <= iVar18) {\n                  do {\n                    iVar10 = iVar10 + 0x80;\n                  } while (iVar10 <= iVar18);\n                  iVar20 = (iVar18 - iVar20 & 0xffffff80U) + iVar20 + 0x80;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar16),iVar14);\n                (*(code *)PTR_xfree_00156bb4)(iVar14);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar20 + -1 <= iVar10) {\n                iVar20 = iVar20 + 0x40;\n                pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n              }\n              pcVar4[iVar10] = pcVar6[i];\n              pcVar4[iVar10 + 1] = '\0';\n              uVar3 = local_b0;\n              iVar18 = iVar10 + 1;\n            }\n          }\n          else {\n            if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            pcVar4[iVar10] = '\'';\n            pcVar4[iVar10 + 1] = '\0';\n            iVar18 = iVar10 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = '\\';\n          pcVar4[iVar10 + 1] = '\0';\n          uVar3 = 1;\n          iVar18 = iVar10 + 1;\n        }\n      }\n      else {\n        if (iVar20 + -1 <= iVar10) {\n          iVar20 = iVar20 + 0x40;\n          pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n        }\n        pcVar4[iVar10] = cVar1;\n        pcVar4[iVar10 + 1] = '\0';\n        uVar3 = 0;\n        iVar18 = iVar10 + 1;\n      }" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        uVar9 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((1 < uVar9) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {\n          mb[0] = '\0';\n          mb[1] = '\0';\n          mb[2] = '\0';\n          mb[3] = '\0';\n          mb[4] = '\0';\n          mb[5] = '\0';\n          mb[6] = '\0';\n          mb[7] = '\0';\n          mb[8] = '\0';\n          mb[9] = '\0';\n          mb[10] = '\0';\n          mb[0xb] = '\0';\n          mb[0xc] = '\0';\n          mb[0xd] = '\0';\n          mb[0xe] = '\0';\n          mb[0xf] = '\0';\n          piVar17 = (int *)mb;\n          cVar13 = cVar1;\n          do {\n            *(char *)piVar17 = cVar13;\n            ps.__count = 0;\n            ps.__value.__wch = 0;\n            iVar18 = _rl_get_char_len(mb,&ps);\n            if (iVar18 != -2) break;\n            i = i + 1;\n            piVar17 = (int *)((int)piVar17 + 1);\n            cVar13 = pcVar6[i];\n          } while (&local_2c != piVar17);\n          uVar9 = (*(code *)PTR_strlen_00158444)(mb);\n          if (1 < uVar9) {\n            iVar18 = iVar10 + uVar9;\n            iVar10 = iVar20;\n            if (iVar20 <= iVar18) {\n              do {\n                iVar10 = iVar10 + 0x80;\n              } while (iVar10 <= iVar18);\n              iVar20 = iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U);\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - uVar9),mb);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }\n        iVar18 = i;\n        if (*PTR_history_expansion_char_00156fcc == cVar1) {\nLAB_0011e340:\n          iVar14 = (int)pcVar6[i + 1];\n          if ((((iVar14 != 0) &&\n               (iVar16 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar14),\n               iVar16 == 0)) && ((local_c4 == 0 || (iVar14 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar18 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar18),\n              iVar18 == 0)))) {\n            iVar14 = i;\n            iVar18 = 0x27;\n            if ((local_b0 == 0) && (iVar18 = 0x22, local_c4 == 0)) {\n              iVar18 = 0;\n            }\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            i_1 = iVar14;\n            iVar16 = (int)pcVar6[iVar14 + 1];\n            if (iVar16 == 0) {\nLAB_0011e654:\n              pcVar7 = get_history_event(pcVar6,&i_1,iVar18);\n              iVar19 = i_1;\n            }\n            else {\n              iVar19 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar16);\n              if (iVar19 == 0) {\n                pcVar7 = pcVar4;\n                iVar19 = iVar14 + 2;\n                if (iVar16 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                fake_i = 0;\n                fake_s[0] = *PTR_history_expansion_char_00156fcc;\n                fake_s[2] = '\0';\n                i_1 = iVar14 + 1;\n                fake_s[1] = fake_s[0];\n                pcVar7 = get_history_event(fake_s,&fake_i,0);\n                iVar19 = i_1;\n              }\n            }\n            i_1 = iVar19;\n            iVar18 = i_1;\n            if (pcVar7 == (char *)0x0) {\n              pcVar7 = hist_error(pcVar6,iVar14,i_1,0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n              goto LAB_0011e9e8;\n            }\n            iVar14 = i_1 + 1;\n            if (pcVar6[i_1] != ':') {\n              iVar14 = i_1;\n            }\n            iVar16 = (int)pcVar6[iVar14];\n            if (iVar16 == 0x25) {\n              i_1 = iVar14 + 1;\n              if (*(int *)(PTR_pidstat_table_3077__0015656c + -0x3384) == 0) {\n                pcVar8 = (char *)(*(code *)PTR_xmalloc_001565b8)(1);\n                *pcVar8 = '\0';\n              }\n              else {\n                iVar20 = (*(code *)PTR_strlen_00158444)();\n                uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                pcVar8 = (char *)(*(code *)PTR_strcpy_001584cc)\n                                           (uVar11,*(undefined4 *)\n                                                    (PTR_pidstat_table_3077__0015656c + -0x3384));\n              }\n              goto LAB_0011e5b8;\n            }\n            if (iVar16 == 0x2a) {\n              i_1 = iVar14 + 1;\n              pcVar8 = history_arg_extract(1,0x24,pcVar7);\n              if (pcVar8 == (char *)0x0) {\n                pcVar8 = (char *)(*(code *)PTR_xmalloc_001565b8)(1);\n                *pcVar8 = '\0';\n              }\n              goto LAB_0011e5b8;\n            }\n            if (iVar16 == 0x24) {\n              i_1 = iVar14 + 1;\n              pcVar8 = history_arg_extract(0x24,0x24,pcVar7);\n              if (pcVar8 == puVar21 + -0x336c) goto LAB_0011e864;\n              if (pcVar8 != (char *)0x0) goto LAB_0011e5c8;\nLAB_0011e61c:\n              iVar18 = (*(code *)PTR_strlen_00158444)(pcVar7);\n              uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar18 + 1);\n              uVar11 = (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar7);\n              if (pcVar6[i_1] != ':') {\n                i_1 = i_1 + -1;\n                iVar18 = (*(code *)PTR_strlen_00158444)(uVar11);\n                if (0x7f < iVar18) {\n                  local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar18 + 2);\n                }\n                (*(code *)PTR_strcpy_001584cc)(local_c0,uVar11);\n                (*(code *)PTR_xfree_00156bb4)(uVar11);\n                iVar18 = i_1;\n                local_a8 = local_a8 + 1;\n                if (*local_c0 != '\0') {\n                  iVar16 = (*(code *)PTR_strlen_00158444)();\n                  iVar10 = iVar10 + iVar16;\n                  iVar14 = iVar20;\n                  if (iVar20 <= iVar10) {\n                    do {\n                      iVar14 = iVar14 + 0x80;\n                    } while (iVar14 <= iVar10);\n                    iVar20 = iVar20 + 0x80 + (iVar10 - iVar20 & 0xffffff80U);\n                    pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                  }\n                  (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar10 - iVar16),local_c0);\n                }\n                (*(code *)PTR_xfree_00156bb4)(local_c0);\n                i = iVar18;\n                iVar18 = iVar10;\n                goto LAB_0011dc80;\n              }\n              iVar20 = (int)pcVar6[i_1 + 1];\n              if ((iVar20 == 0x67) || (iVar20 == 0x61)) {\n                iVar20 = (int)pcVar6[i_1 + 2];\n                i_1 = i_1 + 1;\n              }\n              else if (iVar20 == 0x47) {\n                iVar20 = (int)pcVar6[i_1 + 2];\n                i_1 = i_1 + 1;\n              }\n              if ((iVar20 - 0x26U & 0xff) < 0x53) {\n                    /* WARNING: Could not emulate address calculation at 0x0011e968 */\n                    /* WARNING: Treating indirect jump as call */\n                iVar20 = (*(code *)((int)pidstat_table +\n                                   *(int *)(puVar2 + (iVar20 - 0x26U & 0xff) * 4 + 0x484) + 0x1554))\n                                   ();\n                return iVar20;\n              }\n              pcVar7 = hist_error(pcVar6,i_1 + 1,i_1 + 2,3);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n              (*(code *)PTR_xfree_00156bb4)(uVar11);\n            }\n            else {\n              if (iVar16 == 0x2d) {\n                iVar20 = 0;\n                goto LAB_0011e8ac;\n              }\n              if (iVar16 == 0x5e) {\n                iVar14 = iVar14 + 1;\n                iVar20 = 1;\n              }\n              else {\n                if ((9 < (iVar16 - 0x30U & 0xff)) || (pcVar6[i_1] != ':')) goto LAB_0011e61c;\n                iVar20 = 0;\n                do {\n                  iVar20 = iVar16 + -0x30 + iVar20 * 10;\n                  iVar14 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[iVar14];\n                } while ((iVar16 - 0x30U & 0xff) < 10);\n              }\n              cVar1 = pcVar6[iVar14];\n              if (cVar1 == '^') {\n                iVar10 = 1;\nLAB_0011e838:\n                i_1 = iVar14 + 1;\nLAB_0011e83c:\n                bVar15 = iVar10 < iVar20;\nLAB_0011e840:\n                if (((!bVar15) || (iVar10 == 0x24)) || (iVar10 < 0)) goto LAB_0011e5a4;\n              }\n              else {\n                if (cVar1 == '*') {\n                  iVar10 = 0x24;\n                  goto LAB_0011e838;\n                }\n                iVar10 = iVar20;\n                i_1 = iVar14;\n                if (cVar1 == '-') {\nLAB_0011e8ac:\n                  i_1 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[i_1];\n                  if (9 < (iVar16 - 0x30U & 0xff)) {\n                    if (iVar16 != 0x24) {\n                      iVar10 = -1;\n                      goto LAB_0011e5a4;\n                    }\n                    i_1 = iVar14 + 2;\n                    iVar10 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar10 = 0;\n                  do {\n                    iVar10 = iVar16 + -0x30 + iVar10 * 10;\n                    i_1 = i_1 + 1;\n                    iVar16 = (int)pcVar6[i_1];\n                    bVar15 = iVar10 < iVar20;\n                  } while ((iVar16 - 0x30U & 0xff) < 10);\n                  goto LAB_0011e840;\n                }\nLAB_0011e5a4:\n                pcVar8 = history_arg_extract(iVar20,iVar10,pcVar7);\n                if (pcVar8 != (char *)0x0) {\nLAB_0011e5b8:\n                  if (pcVar8 != puVar21 + -0x336c) {\nLAB_0011e5c8:\n                    iVar20 = (*(code *)PTR_strlen_00158444)(pcVar8);\n                    uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                    (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar8);\n                    iVar20 = (*(code *)PTR_free_001585ac)(pcVar8);\n                    return iVar20;\n                  }\n                }\n              }\nLAB_0011e864:\n              pcVar7 = hist_error(pcVar6,iVar18,i_1,1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *output = pcVar7;\n            (*(code *)PTR_xfree_00156bb4)(pcVar4);\n            if (pcVar6 == hstring) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = pcVar6[i];\n          pcVar4[iVar10 + 1] = '\0';\n          iVar18 = iVar10 + 1;\n        }\n        else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((i == 0 ||\n              ((pcVar6[i + -1] != '\0' &&\n               (iVar14 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar14 != 0)))))) {\n            uVar11 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar18) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar6 + i);\n            iVar14 = (*(code *)PTR_strlen_00158444)(uVar11);\n            iVar18 = iVar10 + iVar14;\n            iVar10 = iVar20;\n            if (iVar20 <= iVar18) {\n              do {\n                iVar10 = iVar10 + 0x80;\n              } while (iVar10 <= iVar18);\n              iVar20 = iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U);\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar14),uVar11);\n            (*(code *)PTR_xfree_00156bb4)(uVar11);\n            i = local_c8;\n          }\n          else {\n            if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            pcVar4[iVar10] = pcVar6[i];\n            pcVar4[iVar10 + 1] = '\0';\n            iVar18 = iVar10 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          iVar18 = iVar10 + 1;\n          pcVar4[iVar10] = '\"';\n          pcVar4[iVar18] = '\0';\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = pcVar6[i];\n          pcVar4[iVar10 + 1] = '\0';\n          iVar18 = iVar10 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar20 + -1 <= iVar10) {\n                  iVar20 = iVar20 + 0x40;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                pcVar4[iVar10] = pcVar6[i];\n                pcVar4[iVar10 + 1] = '\0';\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar18 = iVar10 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (i < 1) {\n                  uVar3 = 0;\n                }\n                else {\n                  uVar3 = (uint)(pcVar6[i + -1] == '$');\n                }\n                i = i + 1;\n                hist_string_extract_single_quoted(pcVar6,&i,uVar3);\n                iVar16 = i - iVar18;\n                iVar19 = iVar16 + 2;\n                iVar14 = (*(code *)PTR_xmalloc_001565b8)(iVar19);\n                (*(code *)PTR_strncpy_001583e4)(iVar14,pcVar6 + iVar18,iVar19);\n                *(undefined1 *)(iVar14 + iVar16 + 1) = 0;\n                iVar16 = (*(code *)PTR_strlen_00158444)(iVar14);\n                iVar18 = iVar10 + iVar16;\n                iVar10 = iVar20;\n                if (iVar20 <= iVar18) {\n                  do {\n                    iVar10 = iVar10 + 0x80;\n                  } while (iVar10 <= iVar18);\n                  iVar20 = (iVar18 - iVar20 & 0xffffff80U) + iVar20 + 0x80;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar16),iVar14);\n                (*(code *)PTR_xfree_00156bb4)(iVar14);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar20 + -1 <= iVar10) {\n                iVar20 = iVar20 + 0x40;\n                pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n              }\n              pcVar4[iVar10] = pcVar6[i];\n              pcVar4[iVar10 + 1] = '\0';\n              uVar3 = local_b0;\n              iVar18 = iVar10 + 1;\n            }\n          }\n          else {\n            if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            pcVar4[iVar10] = '\'';\n            pcVar4[iVar10 + 1] = '\0';\n            iVar18 = iVar10 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = '\\';\n          pcVar4[iVar10 + 1] = '\0';\n          uVar3 = 1;\n          iVar18 = iVar10 + 1;\n        }\n      }" { (expression_statement "uVar9 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();" (assignment_expression "uVar9 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)()" identifier = (call_expression "(*(code *)PTR___ctype_get_mb_cur_max_001584e0)()" (parenthesized_expression "(*(code *)PTR___ctype_get_mb_cur_max_001584e0)" ( (pointer_expression "*(code *)PTR___ctype_get_mb_cur_max_001584e0" * (cast_expression "(code *)PTR___ctype_get_mb_cur_max_001584e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if ((1 < uVar9) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {\n          mb[0] = '\0';\n          mb[1] = '\0';\n          mb[2] = '\0';\n          mb[3] = '\0';\n          mb[4] = '\0';\n          mb[5] = '\0';\n          mb[6] = '\0';\n          mb[7] = '\0';\n          mb[8] = '\0';\n          mb[9] = '\0';\n          mb[10] = '\0';\n          mb[0xb] = '\0';\n          mb[0xc] = '\0';\n          mb[0xd] = '\0';\n          mb[0xe] = '\0';\n          mb[0xf] = '\0';\n          piVar17 = (int *)mb;\n          cVar13 = cVar1;\n          do {\n            *(char *)piVar17 = cVar13;\n            ps.__count = 0;\n            ps.__value.__wch = 0;\n            iVar18 = _rl_get_char_len(mb,&ps);\n            if (iVar18 != -2) break;\n            i = i + 1;\n            piVar17 = (int *)((int)piVar17 + 1);\n            cVar13 = pcVar6[i];\n          } while (&local_2c != piVar17);\n          uVar9 = (*(code *)PTR_strlen_00158444)(mb);\n          if (1 < uVar9) {\n            iVar18 = iVar10 + uVar9;\n            iVar10 = iVar20;\n            if (iVar20 <= iVar18) {\n              do {\n                iVar10 = iVar10 + 0x80;\n              } while (iVar10 <= iVar18);\n              iVar20 = iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U);\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - uVar9),mb);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }" if (parenthesized_expression "((1 < uVar9) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0))" ( (binary_expression "(1 < uVar9) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)" (parenthesized_expression "(1 < uVar9)" ( (binary_expression "1 < uVar9" number_literal < identifier) )) && (parenthesized_expression "(*(int *)PTR_rl_byte_oriented_00157e18 == 0)" ( (binary_expression "*(int *)PTR_rl_byte_oriented_00157e18 == 0" (pointer_expression "*(int *)PTR_rl_byte_oriented_00157e18" * (cast_expression "(int *)PTR_rl_byte_oriented_00157e18" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) ))) )) (compound_statement "{\n          mb[0] = '\0';\n          mb[1] = '\0';\n          mb[2] = '\0';\n          mb[3] = '\0';\n          mb[4] = '\0';\n          mb[5] = '\0';\n          mb[6] = '\0';\n          mb[7] = '\0';\n          mb[8] = '\0';\n          mb[9] = '\0';\n          mb[10] = '\0';\n          mb[0xb] = '\0';\n          mb[0xc] = '\0';\n          mb[0xd] = '\0';\n          mb[0xe] = '\0';\n          mb[0xf] = '\0';\n          piVar17 = (int *)mb;\n          cVar13 = cVar1;\n          do {\n            *(char *)piVar17 = cVar13;\n            ps.__count = 0;\n            ps.__value.__wch = 0;\n            iVar18 = _rl_get_char_len(mb,&ps);\n            if (iVar18 != -2) break;\n            i = i + 1;\n            piVar17 = (int *)((int)piVar17 + 1);\n            cVar13 = pcVar6[i];\n          } while (&local_2c != piVar17);\n          uVar9 = (*(code *)PTR_strlen_00158444)(mb);\n          if (1 < uVar9) {\n            iVar18 = iVar10 + uVar9;\n            iVar10 = iVar20;\n            if (iVar20 <= iVar18) {\n              do {\n                iVar10 = iVar10 + 0x80;\n              } while (iVar10 <= iVar18);\n              iVar20 = iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U);\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - uVar9),mb);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }" { (expression_statement "mb[0] = '\0';" (assignment_expression "mb[0] = '\0'" (subscript_expression "mb[0]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "mb[1] = '\0';" (assignment_expression "mb[1] = '\0'" (subscript_expression "mb[1]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "mb[2] = '\0';" (assignment_expression "mb[2] = '\0'" (subscript_expression "mb[2]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "mb[3] = '\0';" (assignment_expression "mb[3] = '\0'" (subscript_expression "mb[3]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "mb[4] = '\0';" (assignment_expression "mb[4] = '\0'" (subscript_expression "mb[4]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "mb[5] = '\0';" (assignment_expression "mb[5] = '\0'" (subscript_expression "mb[5]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "mb[6] = '\0';" (assignment_expression "mb[6] = '\0'" (subscript_expression "mb[6]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "mb[7] = '\0';" (assignment_expression "mb[7] = '\0'" (subscript_expression "mb[7]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "mb[8] = '\0';" (assignment_expression "mb[8] = '\0'" (subscript_expression "mb[8]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "mb[9] = '\0';" (assignment_expression "mb[9] = '\0'" (subscript_expression "mb[9]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "mb[10] = '\0';" (assignment_expression "mb[10] = '\0'" (subscript_expression "mb[10]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "mb[0xb] = '\0';" (assignment_expression "mb[0xb] = '\0'" (subscript_expression "mb[0xb]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "mb[0xc] = '\0';" (assignment_expression "mb[0xc] = '\0'" (subscript_expression "mb[0xc]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "mb[0xd] = '\0';" (assignment_expression "mb[0xd] = '\0'" (subscript_expression "mb[0xd]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "mb[0xe] = '\0';" (assignment_expression "mb[0xe] = '\0'" (subscript_expression "mb[0xe]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "mb[0xf] = '\0';" (assignment_expression "mb[0xf] = '\0'" (subscript_expression "mb[0xf]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "piVar17 = (int *)mb;" (assignment_expression "piVar17 = (int *)mb" identifier = (cast_expression "(int *)mb" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "cVar13 = cVar1;" (assignment_expression "cVar13 = cVar1" identifier = identifier) ;) (do_statement "do {\n            *(char *)piVar17 = cVar13;\n            ps.__count = 0;\n            ps.__value.__wch = 0;\n            iVar18 = _rl_get_char_len(mb,&ps);\n            if (iVar18 != -2) break;\n            i = i + 1;\n            piVar17 = (int *)((int)piVar17 + 1);\n            cVar13 = pcVar6[i];\n          } while (&local_2c != piVar17);" do (compound_statement "{\n            *(char *)piVar17 = cVar13;\n            ps.__count = 0;\n            ps.__value.__wch = 0;\n            iVar18 = _rl_get_char_len(mb,&ps);\n            if (iVar18 != -2) break;\n            i = i + 1;\n            piVar17 = (int *)((int)piVar17 + 1);\n            cVar13 = pcVar6[i];\n          }" { (expression_statement "*(char *)piVar17 = cVar13;" (assignment_expression "*(char *)piVar17 = cVar13" (pointer_expression "*(char *)piVar17" * (cast_expression "(char *)piVar17" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "ps.__count = 0;" (assignment_expression "ps.__count = 0" (field_expression "ps.__count" identifier . field_identifier) = number_literal) ;) (expression_statement "ps.__value.__wch = 0;" (assignment_expression "ps.__value.__wch = 0" (field_expression "ps.__value.__wch" (field_expression "ps.__value" identifier . field_identifier) . field_identifier) = number_literal) ;) (expression_statement "iVar18 = _rl_get_char_len(mb,&ps);" (assignment_expression "iVar18 = _rl_get_char_len(mb,&ps)" identifier = (call_expression "_rl_get_char_len(mb,&ps)" identifier (argument_list "(mb,&ps)" ( identifier , (pointer_expression "&ps" & identifier) )))) ;) (if_statement "if (iVar18 != -2) break;" if (parenthesized_expression "(iVar18 != -2)" ( (binary_expression "iVar18 != -2" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "i = i + 1;" (assignment_expression "i = i + 1" identifier = (binary_expression "i + 1" identifier + number_literal)) ;) (expression_statement "piVar17 = (int *)((int)piVar17 + 1);" (assignment_expression "piVar17 = (int *)((int)piVar17 + 1)" identifier = (cast_expression "(int *)((int)piVar17 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar17 + 1)" ( (binary_expression "(int)piVar17 + 1" (cast_expression "(int)piVar17" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "cVar13 = pcVar6[i];" (assignment_expression "cVar13 = pcVar6[i]" identifier = (subscript_expression "pcVar6[i]" identifier [ identifier ])) ;) }) while (parenthesized_expression "(&local_2c != piVar17)" ( (binary_expression "&local_2c != piVar17" (pointer_expression "&local_2c" & identifier) != identifier) )) ;) (expression_statement "uVar9 = (*(code *)PTR_strlen_00158444)(mb);" (assignment_expression "uVar9 = (*(code *)PTR_strlen_00158444)(mb)" identifier = (call_expression "(*(code *)PTR_strlen_00158444)(mb)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(mb)" ( identifier )))) ;) (if_statement "if (1 < uVar9) {\n            iVar18 = iVar10 + uVar9;\n            iVar10 = iVar20;\n            if (iVar20 <= iVar18) {\n              do {\n                iVar10 = iVar10 + 0x80;\n              } while (iVar10 <= iVar18);\n              iVar20 = iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U);\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - uVar9),mb);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }" if (parenthesized_expression "(1 < uVar9)" ( (binary_expression "1 < uVar9" number_literal < identifier) )) (compound_statement "{\n            iVar18 = iVar10 + uVar9;\n            iVar10 = iVar20;\n            if (iVar20 <= iVar18) {\n              do {\n                iVar10 = iVar10 + 0x80;\n              } while (iVar10 <= iVar18);\n              iVar20 = iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U);\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - uVar9),mb);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }" { (expression_statement "iVar18 = iVar10 + uVar9;" (assignment_expression "iVar18 = iVar10 + uVar9" identifier = (binary_expression "iVar10 + uVar9" identifier + identifier)) ;) (expression_statement "iVar10 = iVar20;" (assignment_expression "iVar10 = iVar20" identifier = identifier) ;) (if_statement "if (iVar20 <= iVar18) {\n              do {\n                iVar10 = iVar10 + 0x80;\n              } while (iVar10 <= iVar18);\n              iVar20 = iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U);\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }" if (parenthesized_expression "(iVar20 <= iVar18)" ( (binary_expression "iVar20 <= iVar18" identifier <= identifier) )) (compound_statement "{\n              do {\n                iVar10 = iVar10 + 0x80;\n              } while (iVar10 <= iVar18);\n              iVar20 = iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U);\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }" { (do_statement "do {\n                iVar10 = iVar10 + 0x80;\n              } while (iVar10 <= iVar18);" do (compound_statement "{\n                iVar10 = iVar10 + 0x80;\n              }" { (expression_statement "iVar10 = iVar10 + 0x80;" (assignment_expression "iVar10 = iVar10 + 0x80" identifier = (binary_expression "iVar10 + 0x80" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar10 <= iVar18)" ( (binary_expression "iVar10 <= iVar18" identifier <= identifier) )) ;) (expression_statement "iVar20 = iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U);" (assignment_expression "iVar20 = iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U)" identifier = (binary_expression "iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U)" (binary_expression "iVar20 + 0x80" identifier + number_literal) + (parenthesized_expression "(iVar18 - iVar20 & 0xffffff80U)" ( (binary_expression "iVar18 - iVar20 & 0xffffff80U" (binary_expression "iVar18 - iVar20" identifier - identifier) & number_literal) )))) ;) (expression_statement "pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);" (assignment_expression "pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" identifier = (cast_expression "(char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4,iVar20)" ( identifier , identifier ))))) ;) })) (expression_statement "(*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - uVar9),mb);" (call_expression "(*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - uVar9),mb)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" ( (pointer_expression "*(code *)PTR_strcpy_001584cc" * (cast_expression "(code *)PTR_strcpy_001584cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4 + (iVar18 - uVar9),mb)" ( (binary_expression "pcVar4 + (iVar18 - uVar9)" identifier + (parenthesized_expression "(iVar18 - uVar9)" ( (binary_expression "iVar18 - uVar9" identifier - identifier) ))) , identifier ))) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0011dc80;" goto statement_identifier ;) })) })) (expression_statement "iVar18 = i;" (assignment_expression "iVar18 = i" identifier = identifier) ;) (if_statement "if (*PTR_history_expansion_char_00156fcc == cVar1) {\nLAB_0011e340:\n          iVar14 = (int)pcVar6[i + 1];\n          if ((((iVar14 != 0) &&\n               (iVar16 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar14),\n               iVar16 == 0)) && ((local_c4 == 0 || (iVar14 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar18 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar18),\n              iVar18 == 0)))) {\n            iVar14 = i;\n            iVar18 = 0x27;\n            if ((local_b0 == 0) && (iVar18 = 0x22, local_c4 == 0)) {\n              iVar18 = 0;\n            }\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            i_1 = iVar14;\n            iVar16 = (int)pcVar6[iVar14 + 1];\n            if (iVar16 == 0) {\nLAB_0011e654:\n              pcVar7 = get_history_event(pcVar6,&i_1,iVar18);\n              iVar19 = i_1;\n            }\n            else {\n              iVar19 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar16);\n              if (iVar19 == 0) {\n                pcVar7 = pcVar4;\n                iVar19 = iVar14 + 2;\n                if (iVar16 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                fake_i = 0;\n                fake_s[0] = *PTR_history_expansion_char_00156fcc;\n                fake_s[2] = '\0';\n                i_1 = iVar14 + 1;\n                fake_s[1] = fake_s[0];\n                pcVar7 = get_history_event(fake_s,&fake_i,0);\n                iVar19 = i_1;\n              }\n            }\n            i_1 = iVar19;\n            iVar18 = i_1;\n            if (pcVar7 == (char *)0x0) {\n              pcVar7 = hist_error(pcVar6,iVar14,i_1,0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n              goto LAB_0011e9e8;\n            }\n            iVar14 = i_1 + 1;\n            if (pcVar6[i_1] != ':') {\n              iVar14 = i_1;\n            }\n            iVar16 = (int)pcVar6[iVar14];\n            if (iVar16 == 0x25) {\n              i_1 = iVar14 + 1;\n              if (*(int *)(PTR_pidstat_table_3077__0015656c + -0x3384) == 0) {\n                pcVar8 = (char *)(*(code *)PTR_xmalloc_001565b8)(1);\n                *pcVar8 = '\0';\n              }\n              else {\n                iVar20 = (*(code *)PTR_strlen_00158444)();\n                uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                pcVar8 = (char *)(*(code *)PTR_strcpy_001584cc)\n                                           (uVar11,*(undefined4 *)\n                                                    (PTR_pidstat_table_3077__0015656c + -0x3384));\n              }\n              goto LAB_0011e5b8;\n            }\n            if (iVar16 == 0x2a) {\n              i_1 = iVar14 + 1;\n              pcVar8 = history_arg_extract(1,0x24,pcVar7);\n              if (pcVar8 == (char *)0x0) {\n                pcVar8 = (char *)(*(code *)PTR_xmalloc_001565b8)(1);\n                *pcVar8 = '\0';\n              }\n              goto LAB_0011e5b8;\n            }\n            if (iVar16 == 0x24) {\n              i_1 = iVar14 + 1;\n              pcVar8 = history_arg_extract(0x24,0x24,pcVar7);\n              if (pcVar8 == puVar21 + -0x336c) goto LAB_0011e864;\n              if (pcVar8 != (char *)0x0) goto LAB_0011e5c8;\nLAB_0011e61c:\n              iVar18 = (*(code *)PTR_strlen_00158444)(pcVar7);\n              uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar18 + 1);\n              uVar11 = (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar7);\n              if (pcVar6[i_1] != ':') {\n                i_1 = i_1 + -1;\n                iVar18 = (*(code *)PTR_strlen_00158444)(uVar11);\n                if (0x7f < iVar18) {\n                  local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar18 + 2);\n                }\n                (*(code *)PTR_strcpy_001584cc)(local_c0,uVar11);\n                (*(code *)PTR_xfree_00156bb4)(uVar11);\n                iVar18 = i_1;\n                local_a8 = local_a8 + 1;\n                if (*local_c0 != '\0') {\n                  iVar16 = (*(code *)PTR_strlen_00158444)();\n                  iVar10 = iVar10 + iVar16;\n                  iVar14 = iVar20;\n                  if (iVar20 <= iVar10) {\n                    do {\n                      iVar14 = iVar14 + 0x80;\n                    } while (iVar14 <= iVar10);\n                    iVar20 = iVar20 + 0x80 + (iVar10 - iVar20 & 0xffffff80U);\n                    pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                  }\n                  (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar10 - iVar16),local_c0);\n                }\n                (*(code *)PTR_xfree_00156bb4)(local_c0);\n                i = iVar18;\n                iVar18 = iVar10;\n                goto LAB_0011dc80;\n              }\n              iVar20 = (int)pcVar6[i_1 + 1];\n              if ((iVar20 == 0x67) || (iVar20 == 0x61)) {\n                iVar20 = (int)pcVar6[i_1 + 2];\n                i_1 = i_1 + 1;\n              }\n              else if (iVar20 == 0x47) {\n                iVar20 = (int)pcVar6[i_1 + 2];\n                i_1 = i_1 + 1;\n              }\n              if ((iVar20 - 0x26U & 0xff) < 0x53) {\n                    /* WARNING: Could not emulate address calculation at 0x0011e968 */\n                    /* WARNING: Treating indirect jump as call */\n                iVar20 = (*(code *)((int)pidstat_table +\n                                   *(int *)(puVar2 + (iVar20 - 0x26U & 0xff) * 4 + 0x484) + 0x1554))\n                                   ();\n                return iVar20;\n              }\n              pcVar7 = hist_error(pcVar6,i_1 + 1,i_1 + 2,3);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n              (*(code *)PTR_xfree_00156bb4)(uVar11);\n            }\n            else {\n              if (iVar16 == 0x2d) {\n                iVar20 = 0;\n                goto LAB_0011e8ac;\n              }\n              if (iVar16 == 0x5e) {\n                iVar14 = iVar14 + 1;\n                iVar20 = 1;\n              }\n              else {\n                if ((9 < (iVar16 - 0x30U & 0xff)) || (pcVar6[i_1] != ':')) goto LAB_0011e61c;\n                iVar20 = 0;\n                do {\n                  iVar20 = iVar16 + -0x30 + iVar20 * 10;\n                  iVar14 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[iVar14];\n                } while ((iVar16 - 0x30U & 0xff) < 10);\n              }\n              cVar1 = pcVar6[iVar14];\n              if (cVar1 == '^') {\n                iVar10 = 1;\nLAB_0011e838:\n                i_1 = iVar14 + 1;\nLAB_0011e83c:\n                bVar15 = iVar10 < iVar20;\nLAB_0011e840:\n                if (((!bVar15) || (iVar10 == 0x24)) || (iVar10 < 0)) goto LAB_0011e5a4;\n              }\n              else {\n                if (cVar1 == '*') {\n                  iVar10 = 0x24;\n                  goto LAB_0011e838;\n                }\n                iVar10 = iVar20;\n                i_1 = iVar14;\n                if (cVar1 == '-') {\nLAB_0011e8ac:\n                  i_1 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[i_1];\n                  if (9 < (iVar16 - 0x30U & 0xff)) {\n                    if (iVar16 != 0x24) {\n                      iVar10 = -1;\n                      goto LAB_0011e5a4;\n                    }\n                    i_1 = iVar14 + 2;\n                    iVar10 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar10 = 0;\n                  do {\n                    iVar10 = iVar16 + -0x30 + iVar10 * 10;\n                    i_1 = i_1 + 1;\n                    iVar16 = (int)pcVar6[i_1];\n                    bVar15 = iVar10 < iVar20;\n                  } while ((iVar16 - 0x30U & 0xff) < 10);\n                  goto LAB_0011e840;\n                }\nLAB_0011e5a4:\n                pcVar8 = history_arg_extract(iVar20,iVar10,pcVar7);\n                if (pcVar8 != (char *)0x0) {\nLAB_0011e5b8:\n                  if (pcVar8 != puVar21 + -0x336c) {\nLAB_0011e5c8:\n                    iVar20 = (*(code *)PTR_strlen_00158444)(pcVar8);\n                    uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                    (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar8);\n                    iVar20 = (*(code *)PTR_free_001585ac)(pcVar8);\n                    return iVar20;\n                  }\n                }\n              }\nLAB_0011e864:\n              pcVar7 = hist_error(pcVar6,iVar18,i_1,1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *output = pcVar7;\n            (*(code *)PTR_xfree_00156bb4)(pcVar4);\n            if (pcVar6 == hstring) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = pcVar6[i];\n          pcVar4[iVar10 + 1] = '\0';\n          iVar18 = iVar10 + 1;\n        }\n        else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((i == 0 ||\n              ((pcVar6[i + -1] != '\0' &&\n               (iVar14 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar14 != 0)))))) {\n            uVar11 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar18) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar6 + i);\n            iVar14 = (*(code *)PTR_strlen_00158444)(uVar11);\n            iVar18 = iVar10 + iVar14;\n            iVar10 = iVar20;\n            if (iVar20 <= iVar18) {\n              do {\n                iVar10 = iVar10 + 0x80;\n              } while (iVar10 <= iVar18);\n              iVar20 = iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U);\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar14),uVar11);\n            (*(code *)PTR_xfree_00156bb4)(uVar11);\n            i = local_c8;\n          }\n          else {\n            if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            pcVar4[iVar10] = pcVar6[i];\n            pcVar4[iVar10 + 1] = '\0';\n            iVar18 = iVar10 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          iVar18 = iVar10 + 1;\n          pcVar4[iVar10] = '\"';\n          pcVar4[iVar18] = '\0';\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = pcVar6[i];\n          pcVar4[iVar10 + 1] = '\0';\n          iVar18 = iVar10 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar20 + -1 <= iVar10) {\n                  iVar20 = iVar20 + 0x40;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                pcVar4[iVar10] = pcVar6[i];\n                pcVar4[iVar10 + 1] = '\0';\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar18 = iVar10 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (i < 1) {\n                  uVar3 = 0;\n                }\n                else {\n                  uVar3 = (uint)(pcVar6[i + -1] == '$');\n                }\n                i = i + 1;\n                hist_string_extract_single_quoted(pcVar6,&i,uVar3);\n                iVar16 = i - iVar18;\n                iVar19 = iVar16 + 2;\n                iVar14 = (*(code *)PTR_xmalloc_001565b8)(iVar19);\n                (*(code *)PTR_strncpy_001583e4)(iVar14,pcVar6 + iVar18,iVar19);\n                *(undefined1 *)(iVar14 + iVar16 + 1) = 0;\n                iVar16 = (*(code *)PTR_strlen_00158444)(iVar14);\n                iVar18 = iVar10 + iVar16;\n                iVar10 = iVar20;\n                if (iVar20 <= iVar18) {\n                  do {\n                    iVar10 = iVar10 + 0x80;\n                  } while (iVar10 <= iVar18);\n                  iVar20 = (iVar18 - iVar20 & 0xffffff80U) + iVar20 + 0x80;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar16),iVar14);\n                (*(code *)PTR_xfree_00156bb4)(iVar14);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar20 + -1 <= iVar10) {\n                iVar20 = iVar20 + 0x40;\n                pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n              }\n              pcVar4[iVar10] = pcVar6[i];\n              pcVar4[iVar10 + 1] = '\0';\n              uVar3 = local_b0;\n              iVar18 = iVar10 + 1;\n            }\n          }\n          else {\n            if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            pcVar4[iVar10] = '\'';\n            pcVar4[iVar10 + 1] = '\0';\n            iVar18 = iVar10 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = '\\';\n          pcVar4[iVar10 + 1] = '\0';\n          uVar3 = 1;\n          iVar18 = iVar10 + 1;\n        }" if (parenthesized_expression "(*PTR_history_expansion_char_00156fcc == cVar1)" ( (binary_expression "*PTR_history_expansion_char_00156fcc == cVar1" (pointer_expression "*PTR_history_expansion_char_00156fcc" * identifier) == identifier) )) (compound_statement "{\nLAB_0011e340:\n          iVar14 = (int)pcVar6[i + 1];\n          if ((((iVar14 != 0) &&\n               (iVar16 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar14),\n               iVar16 == 0)) && ((local_c4 == 0 || (iVar14 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar18 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar18),\n              iVar18 == 0)))) {\n            iVar14 = i;\n            iVar18 = 0x27;\n            if ((local_b0 == 0) && (iVar18 = 0x22, local_c4 == 0)) {\n              iVar18 = 0;\n            }\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            i_1 = iVar14;\n            iVar16 = (int)pcVar6[iVar14 + 1];\n            if (iVar16 == 0) {\nLAB_0011e654:\n              pcVar7 = get_history_event(pcVar6,&i_1,iVar18);\n              iVar19 = i_1;\n            }\n            else {\n              iVar19 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar16);\n              if (iVar19 == 0) {\n                pcVar7 = pcVar4;\n                iVar19 = iVar14 + 2;\n                if (iVar16 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                fake_i = 0;\n                fake_s[0] = *PTR_history_expansion_char_00156fcc;\n                fake_s[2] = '\0';\n                i_1 = iVar14 + 1;\n                fake_s[1] = fake_s[0];\n                pcVar7 = get_history_event(fake_s,&fake_i,0);\n                iVar19 = i_1;\n              }\n            }\n            i_1 = iVar19;\n            iVar18 = i_1;\n            if (pcVar7 == (char *)0x0) {\n              pcVar7 = hist_error(pcVar6,iVar14,i_1,0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n              goto LAB_0011e9e8;\n            }\n            iVar14 = i_1 + 1;\n            if (pcVar6[i_1] != ':') {\n              iVar14 = i_1;\n            }\n            iVar16 = (int)pcVar6[iVar14];\n            if (iVar16 == 0x25) {\n              i_1 = iVar14 + 1;\n              if (*(int *)(PTR_pidstat_table_3077__0015656c + -0x3384) == 0) {\n                pcVar8 = (char *)(*(code *)PTR_xmalloc_001565b8)(1);\n                *pcVar8 = '\0';\n              }\n              else {\n                iVar20 = (*(code *)PTR_strlen_00158444)();\n                uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                pcVar8 = (char *)(*(code *)PTR_strcpy_001584cc)\n                                           (uVar11,*(undefined4 *)\n                                                    (PTR_pidstat_table_3077__0015656c + -0x3384));\n              }\n              goto LAB_0011e5b8;\n            }\n            if (iVar16 == 0x2a) {\n              i_1 = iVar14 + 1;\n              pcVar8 = history_arg_extract(1,0x24,pcVar7);\n              if (pcVar8 == (char *)0x0) {\n                pcVar8 = (char *)(*(code *)PTR_xmalloc_001565b8)(1);\n                *pcVar8 = '\0';\n              }\n              goto LAB_0011e5b8;\n            }\n            if (iVar16 == 0x24) {\n              i_1 = iVar14 + 1;\n              pcVar8 = history_arg_extract(0x24,0x24,pcVar7);\n              if (pcVar8 == puVar21 + -0x336c) goto LAB_0011e864;\n              if (pcVar8 != (char *)0x0) goto LAB_0011e5c8;\nLAB_0011e61c:\n              iVar18 = (*(code *)PTR_strlen_00158444)(pcVar7);\n              uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar18 + 1);\n              uVar11 = (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar7);\n              if (pcVar6[i_1] != ':') {\n                i_1 = i_1 + -1;\n                iVar18 = (*(code *)PTR_strlen_00158444)(uVar11);\n                if (0x7f < iVar18) {\n                  local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar18 + 2);\n                }\n                (*(code *)PTR_strcpy_001584cc)(local_c0,uVar11);\n                (*(code *)PTR_xfree_00156bb4)(uVar11);\n                iVar18 = i_1;\n                local_a8 = local_a8 + 1;\n                if (*local_c0 != '\0') {\n                  iVar16 = (*(code *)PTR_strlen_00158444)();\n                  iVar10 = iVar10 + iVar16;\n                  iVar14 = iVar20;\n                  if (iVar20 <= iVar10) {\n                    do {\n                      iVar14 = iVar14 + 0x80;\n                    } while (iVar14 <= iVar10);\n                    iVar20 = iVar20 + 0x80 + (iVar10 - iVar20 & 0xffffff80U);\n                    pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                  }\n                  (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar10 - iVar16),local_c0);\n                }\n                (*(code *)PTR_xfree_00156bb4)(local_c0);\n                i = iVar18;\n                iVar18 = iVar10;\n                goto LAB_0011dc80;\n              }\n              iVar20 = (int)pcVar6[i_1 + 1];\n              if ((iVar20 == 0x67) || (iVar20 == 0x61)) {\n                iVar20 = (int)pcVar6[i_1 + 2];\n                i_1 = i_1 + 1;\n              }\n              else if (iVar20 == 0x47) {\n                iVar20 = (int)pcVar6[i_1 + 2];\n                i_1 = i_1 + 1;\n              }\n              if ((iVar20 - 0x26U & 0xff) < 0x53) {\n                    /* WARNING: Could not emulate address calculation at 0x0011e968 */\n                    /* WARNING: Treating indirect jump as call */\n                iVar20 = (*(code *)((int)pidstat_table +\n                                   *(int *)(puVar2 + (iVar20 - 0x26U & 0xff) * 4 + 0x484) + 0x1554))\n                                   ();\n                return iVar20;\n              }\n              pcVar7 = hist_error(pcVar6,i_1 + 1,i_1 + 2,3);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n              (*(code *)PTR_xfree_00156bb4)(uVar11);\n            }\n            else {\n              if (iVar16 == 0x2d) {\n                iVar20 = 0;\n                goto LAB_0011e8ac;\n              }\n              if (iVar16 == 0x5e) {\n                iVar14 = iVar14 + 1;\n                iVar20 = 1;\n              }\n              else {\n                if ((9 < (iVar16 - 0x30U & 0xff)) || (pcVar6[i_1] != ':')) goto LAB_0011e61c;\n                iVar20 = 0;\n                do {\n                  iVar20 = iVar16 + -0x30 + iVar20 * 10;\n                  iVar14 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[iVar14];\n                } while ((iVar16 - 0x30U & 0xff) < 10);\n              }\n              cVar1 = pcVar6[iVar14];\n              if (cVar1 == '^') {\n                iVar10 = 1;\nLAB_0011e838:\n                i_1 = iVar14 + 1;\nLAB_0011e83c:\n                bVar15 = iVar10 < iVar20;\nLAB_0011e840:\n                if (((!bVar15) || (iVar10 == 0x24)) || (iVar10 < 0)) goto LAB_0011e5a4;\n              }\n              else {\n                if (cVar1 == '*') {\n                  iVar10 = 0x24;\n                  goto LAB_0011e838;\n                }\n                iVar10 = iVar20;\n                i_1 = iVar14;\n                if (cVar1 == '-') {\nLAB_0011e8ac:\n                  i_1 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[i_1];\n                  if (9 < (iVar16 - 0x30U & 0xff)) {\n                    if (iVar16 != 0x24) {\n                      iVar10 = -1;\n                      goto LAB_0011e5a4;\n                    }\n                    i_1 = iVar14 + 2;\n                    iVar10 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar10 = 0;\n                  do {\n                    iVar10 = iVar16 + -0x30 + iVar10 * 10;\n                    i_1 = i_1 + 1;\n                    iVar16 = (int)pcVar6[i_1];\n                    bVar15 = iVar10 < iVar20;\n                  } while ((iVar16 - 0x30U & 0xff) < 10);\n                  goto LAB_0011e840;\n                }\nLAB_0011e5a4:\n                pcVar8 = history_arg_extract(iVar20,iVar10,pcVar7);\n                if (pcVar8 != (char *)0x0) {\nLAB_0011e5b8:\n                  if (pcVar8 != puVar21 + -0x336c) {\nLAB_0011e5c8:\n                    iVar20 = (*(code *)PTR_strlen_00158444)(pcVar8);\n                    uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                    (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar8);\n                    iVar20 = (*(code *)PTR_free_001585ac)(pcVar8);\n                    return iVar20;\n                  }\n                }\n              }\nLAB_0011e864:\n              pcVar7 = hist_error(pcVar6,iVar18,i_1,1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *output = pcVar7;\n            (*(code *)PTR_xfree_00156bb4)(pcVar4);\n            if (pcVar6 == hstring) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = pcVar6[i];\n          pcVar4[iVar10 + 1] = '\0';\n          iVar18 = iVar10 + 1;\n        }" { (labeled_statement "LAB_0011e340:\n          iVar14 = (int)pcVar6[i + 1];" statement_identifier : (expression_statement "iVar14 = (int)pcVar6[i + 1];" (assignment_expression "iVar14 = (int)pcVar6[i + 1]" identifier = (cast_expression "(int)pcVar6[i + 1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar6[i + 1]" identifier [ (binary_expression "i + 1" identifier + number_literal) ]))) ;)) (if_statement "if ((((iVar14 != 0) &&\n               (iVar16 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar14),\n               iVar16 == 0)) && ((local_c4 == 0 || (iVar14 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar18 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar18),\n              iVar18 == 0)))) {\n            iVar14 = i;\n            iVar18 = 0x27;\n            if ((local_b0 == 0) && (iVar18 = 0x22, local_c4 == 0)) {\n              iVar18 = 0;\n            }\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            i_1 = iVar14;\n            iVar16 = (int)pcVar6[iVar14 + 1];\n            if (iVar16 == 0) {\nLAB_0011e654:\n              pcVar7 = get_history_event(pcVar6,&i_1,iVar18);\n              iVar19 = i_1;\n            }\n            else {\n              iVar19 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar16);\n              if (iVar19 == 0) {\n                pcVar7 = pcVar4;\n                iVar19 = iVar14 + 2;\n                if (iVar16 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                fake_i = 0;\n                fake_s[0] = *PTR_history_expansion_char_00156fcc;\n                fake_s[2] = '\0';\n                i_1 = iVar14 + 1;\n                fake_s[1] = fake_s[0];\n                pcVar7 = get_history_event(fake_s,&fake_i,0);\n                iVar19 = i_1;\n              }\n            }\n            i_1 = iVar19;\n            iVar18 = i_1;\n            if (pcVar7 == (char *)0x0) {\n              pcVar7 = hist_error(pcVar6,iVar14,i_1,0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n              goto LAB_0011e9e8;\n            }\n            iVar14 = i_1 + 1;\n            if (pcVar6[i_1] != ':') {\n              iVar14 = i_1;\n            }\n            iVar16 = (int)pcVar6[iVar14];\n            if (iVar16 == 0x25) {\n              i_1 = iVar14 + 1;\n              if (*(int *)(PTR_pidstat_table_3077__0015656c + -0x3384) == 0) {\n                pcVar8 = (char *)(*(code *)PTR_xmalloc_001565b8)(1);\n                *pcVar8 = '\0';\n              }\n              else {\n                iVar20 = (*(code *)PTR_strlen_00158444)();\n                uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                pcVar8 = (char *)(*(code *)PTR_strcpy_001584cc)\n                                           (uVar11,*(undefined4 *)\n                                                    (PTR_pidstat_table_3077__0015656c + -0x3384));\n              }\n              goto LAB_0011e5b8;\n            }\n            if (iVar16 == 0x2a) {\n              i_1 = iVar14 + 1;\n              pcVar8 = history_arg_extract(1,0x24,pcVar7);\n              if (pcVar8 == (char *)0x0) {\n                pcVar8 = (char *)(*(code *)PTR_xmalloc_001565b8)(1);\n                *pcVar8 = '\0';\n              }\n              goto LAB_0011e5b8;\n            }\n            if (iVar16 == 0x24) {\n              i_1 = iVar14 + 1;\n              pcVar8 = history_arg_extract(0x24,0x24,pcVar7);\n              if (pcVar8 == puVar21 + -0x336c) goto LAB_0011e864;\n              if (pcVar8 != (char *)0x0) goto LAB_0011e5c8;\nLAB_0011e61c:\n              iVar18 = (*(code *)PTR_strlen_00158444)(pcVar7);\n              uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar18 + 1);\n              uVar11 = (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar7);\n              if (pcVar6[i_1] != ':') {\n                i_1 = i_1 + -1;\n                iVar18 = (*(code *)PTR_strlen_00158444)(uVar11);\n                if (0x7f < iVar18) {\n                  local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar18 + 2);\n                }\n                (*(code *)PTR_strcpy_001584cc)(local_c0,uVar11);\n                (*(code *)PTR_xfree_00156bb4)(uVar11);\n                iVar18 = i_1;\n                local_a8 = local_a8 + 1;\n                if (*local_c0 != '\0') {\n                  iVar16 = (*(code *)PTR_strlen_00158444)();\n                  iVar10 = iVar10 + iVar16;\n                  iVar14 = iVar20;\n                  if (iVar20 <= iVar10) {\n                    do {\n                      iVar14 = iVar14 + 0x80;\n                    } while (iVar14 <= iVar10);\n                    iVar20 = iVar20 + 0x80 + (iVar10 - iVar20 & 0xffffff80U);\n                    pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                  }\n                  (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar10 - iVar16),local_c0);\n                }\n                (*(code *)PTR_xfree_00156bb4)(local_c0);\n                i = iVar18;\n                iVar18 = iVar10;\n                goto LAB_0011dc80;\n              }\n              iVar20 = (int)pcVar6[i_1 + 1];\n              if ((iVar20 == 0x67) || (iVar20 == 0x61)) {\n                iVar20 = (int)pcVar6[i_1 + 2];\n                i_1 = i_1 + 1;\n              }\n              else if (iVar20 == 0x47) {\n                iVar20 = (int)pcVar6[i_1 + 2];\n                i_1 = i_1 + 1;\n              }\n              if ((iVar20 - 0x26U & 0xff) < 0x53) {\n                    /* WARNING: Could not emulate address calculation at 0x0011e968 */\n                    /* WARNING: Treating indirect jump as call */\n                iVar20 = (*(code *)((int)pidstat_table +\n                                   *(int *)(puVar2 + (iVar20 - 0x26U & 0xff) * 4 + 0x484) + 0x1554))\n                                   ();\n                return iVar20;\n              }\n              pcVar7 = hist_error(pcVar6,i_1 + 1,i_1 + 2,3);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n              (*(code *)PTR_xfree_00156bb4)(uVar11);\n            }\n            else {\n              if (iVar16 == 0x2d) {\n                iVar20 = 0;\n                goto LAB_0011e8ac;\n              }\n              if (iVar16 == 0x5e) {\n                iVar14 = iVar14 + 1;\n                iVar20 = 1;\n              }\n              else {\n                if ((9 < (iVar16 - 0x30U & 0xff)) || (pcVar6[i_1] != ':')) goto LAB_0011e61c;\n                iVar20 = 0;\n                do {\n                  iVar20 = iVar16 + -0x30 + iVar20 * 10;\n                  iVar14 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[iVar14];\n                } while ((iVar16 - 0x30U & 0xff) < 10);\n              }\n              cVar1 = pcVar6[iVar14];\n              if (cVar1 == '^') {\n                iVar10 = 1;\nLAB_0011e838:\n                i_1 = iVar14 + 1;\nLAB_0011e83c:\n                bVar15 = iVar10 < iVar20;\nLAB_0011e840:\n                if (((!bVar15) || (iVar10 == 0x24)) || (iVar10 < 0)) goto LAB_0011e5a4;\n              }\n              else {\n                if (cVar1 == '*') {\n                  iVar10 = 0x24;\n                  goto LAB_0011e838;\n                }\n                iVar10 = iVar20;\n                i_1 = iVar14;\n                if (cVar1 == '-') {\nLAB_0011e8ac:\n                  i_1 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[i_1];\n                  if (9 < (iVar16 - 0x30U & 0xff)) {\n                    if (iVar16 != 0x24) {\n                      iVar10 = -1;\n                      goto LAB_0011e5a4;\n                    }\n                    i_1 = iVar14 + 2;\n                    iVar10 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar10 = 0;\n                  do {\n                    iVar10 = iVar16 + -0x30 + iVar10 * 10;\n                    i_1 = i_1 + 1;\n                    iVar16 = (int)pcVar6[i_1];\n                    bVar15 = iVar10 < iVar20;\n                  } while ((iVar16 - 0x30U & 0xff) < 10);\n                  goto LAB_0011e840;\n                }\nLAB_0011e5a4:\n                pcVar8 = history_arg_extract(iVar20,iVar10,pcVar7);\n                if (pcVar8 != (char *)0x0) {\nLAB_0011e5b8:\n                  if (pcVar8 != puVar21 + -0x336c) {\nLAB_0011e5c8:\n                    iVar20 = (*(code *)PTR_strlen_00158444)(pcVar8);\n                    uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                    (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar8);\n                    iVar20 = (*(code *)PTR_free_001585ac)(pcVar8);\n                    return iVar20;\n                  }\n                }\n              }\nLAB_0011e864:\n              pcVar7 = hist_error(pcVar6,iVar18,i_1,1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *output = pcVar7;\n            (*(code *)PTR_xfree_00156bb4)(pcVar4);\n            if (pcVar6 == hstring) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }" if (parenthesized_expression "((((iVar14 != 0) &&\n               (iVar16 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar14),\n               iVar16 == 0)) && ((local_c4 == 0 || (iVar14 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar18 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar18),\n              iVar18 == 0))))" ( (binary_expression "(((iVar14 != 0) &&\n               (iVar16 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar14),\n               iVar16 == 0)) && ((local_c4 == 0 || (iVar14 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar18 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar18),\n              iVar18 == 0)))" (parenthesized_expression "(((iVar14 != 0) &&\n               (iVar16 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar14),\n               iVar16 == 0)) && ((local_c4 == 0 || (iVar14 != 0x22))))" ( (binary_expression "((iVar14 != 0) &&\n               (iVar16 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar14),\n               iVar16 == 0)) && ((local_c4 == 0 || (iVar14 != 0x22)))" (parenthesized_expression "((iVar14 != 0) &&\n               (iVar16 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar14),\n               iVar16 == 0))" ( (binary_expression "(iVar14 != 0) &&\n               (iVar16 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar14),\n               iVar16 == 0)" (parenthesized_expression "(iVar14 != 0)" ( (binary_expression "iVar14 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar16 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar14),\n               iVar16 == 0)" ( (comma_expression "iVar16 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar14),\n               iVar16 == 0" (assignment_expression "iVar16 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar14)" identifier = (call_expression "(*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar14)" (parenthesized_expression "(*(code *)PTR_strchr_0015844c)" ( (pointer_expression "*(code *)PTR_strchr_0015844c" * (cast_expression "(code *)PTR_strchr_0015844c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar14)" ( (pointer_expression "*(undefined4 *)PTR_history_no_expand_chars_00158260" * (cast_expression "(undefined4 *)PTR_history_no_expand_chars_00158260" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , identifier )))) , (binary_expression "iVar16 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "((local_c4 == 0 || (iVar14 != 0x22)))" ( (parenthesized_expression "(local_c4 == 0 || (iVar14 != 0x22))" ( (binary_expression "local_c4 == 0 || (iVar14 != 0x22)" (binary_expression "local_c4 == 0" identifier == number_literal) || (parenthesized_expression "(iVar14 != 0x22)" ( (binary_expression "iVar14 != 0x22" identifier != number_literal) ))) )) ))) )) && (parenthesized_expression "((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar18 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar18),\n              iVar18 == 0)))" ( (parenthesized_expression "(*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar18 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar18),\n              iVar18 == 0))" ( (binary_expression "*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar18 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar18),\n              iVar18 == 0)" (binary_expression "*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0" (pointer_expression "*(code **)PTR_history_inhibit_expansion_function_0015752c" * (cast_expression "(code **)PTR_history_inhibit_expansion_function_0015752c" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) || (parenthesized_expression "(iVar18 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar18),\n              iVar18 == 0)" ( (comma_expression "iVar18 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar18),\n              iVar18 == 0" (assignment_expression "iVar18 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar18)" identifier = (call_expression "(**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar18)" (parenthesized_expression "(**(code **)PTR_history_inhibit_expansion_function_0015752c)" ( (pointer_expression "**(code **)PTR_history_inhibit_expansion_function_0015752c" * (pointer_expression "*(code **)PTR_history_inhibit_expansion_function_0015752c" * (cast_expression "(code **)PTR_history_inhibit_expansion_function_0015752c" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(pcVar6,iVar18)" ( identifier , identifier )))) , (binary_expression "iVar18 == 0" identifier == number_literal)) ))) )) ))) )) (compound_statement "{\n            iVar14 = i;\n            iVar18 = 0x27;\n            if ((local_b0 == 0) && (iVar18 = 0x22, local_c4 == 0)) {\n              iVar18 = 0;\n            }\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            i_1 = iVar14;\n            iVar16 = (int)pcVar6[iVar14 + 1];\n            if (iVar16 == 0) {\nLAB_0011e654:\n              pcVar7 = get_history_event(pcVar6,&i_1,iVar18);\n              iVar19 = i_1;\n            }\n            else {\n              iVar19 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar16);\n              if (iVar19 == 0) {\n                pcVar7 = pcVar4;\n                iVar19 = iVar14 + 2;\n                if (iVar16 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                fake_i = 0;\n                fake_s[0] = *PTR_history_expansion_char_00156fcc;\n                fake_s[2] = '\0';\n                i_1 = iVar14 + 1;\n                fake_s[1] = fake_s[0];\n                pcVar7 = get_history_event(fake_s,&fake_i,0);\n                iVar19 = i_1;\n              }\n            }\n            i_1 = iVar19;\n            iVar18 = i_1;\n            if (pcVar7 == (char *)0x0) {\n              pcVar7 = hist_error(pcVar6,iVar14,i_1,0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n              goto LAB_0011e9e8;\n            }\n            iVar14 = i_1 + 1;\n            if (pcVar6[i_1] != ':') {\n              iVar14 = i_1;\n            }\n            iVar16 = (int)pcVar6[iVar14];\n            if (iVar16 == 0x25) {\n              i_1 = iVar14 + 1;\n              if (*(int *)(PTR_pidstat_table_3077__0015656c + -0x3384) == 0) {\n                pcVar8 = (char *)(*(code *)PTR_xmalloc_001565b8)(1);\n                *pcVar8 = '\0';\n              }\n              else {\n                iVar20 = (*(code *)PTR_strlen_00158444)();\n                uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                pcVar8 = (char *)(*(code *)PTR_strcpy_001584cc)\n                                           (uVar11,*(undefined4 *)\n                                                    (PTR_pidstat_table_3077__0015656c + -0x3384));\n              }\n              goto LAB_0011e5b8;\n            }\n            if (iVar16 == 0x2a) {\n              i_1 = iVar14 + 1;\n              pcVar8 = history_arg_extract(1,0x24,pcVar7);\n              if (pcVar8 == (char *)0x0) {\n                pcVar8 = (char *)(*(code *)PTR_xmalloc_001565b8)(1);\n                *pcVar8 = '\0';\n              }\n              goto LAB_0011e5b8;\n            }\n            if (iVar16 == 0x24) {\n              i_1 = iVar14 + 1;\n              pcVar8 = history_arg_extract(0x24,0x24,pcVar7);\n              if (pcVar8 == puVar21 + -0x336c) goto LAB_0011e864;\n              if (pcVar8 != (char *)0x0) goto LAB_0011e5c8;\nLAB_0011e61c:\n              iVar18 = (*(code *)PTR_strlen_00158444)(pcVar7);\n              uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar18 + 1);\n              uVar11 = (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar7);\n              if (pcVar6[i_1] != ':') {\n                i_1 = i_1 + -1;\n                iVar18 = (*(code *)PTR_strlen_00158444)(uVar11);\n                if (0x7f < iVar18) {\n                  local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar18 + 2);\n                }\n                (*(code *)PTR_strcpy_001584cc)(local_c0,uVar11);\n                (*(code *)PTR_xfree_00156bb4)(uVar11);\n                iVar18 = i_1;\n                local_a8 = local_a8 + 1;\n                if (*local_c0 != '\0') {\n                  iVar16 = (*(code *)PTR_strlen_00158444)();\n                  iVar10 = iVar10 + iVar16;\n                  iVar14 = iVar20;\n                  if (iVar20 <= iVar10) {\n                    do {\n                      iVar14 = iVar14 + 0x80;\n                    } while (iVar14 <= iVar10);\n                    iVar20 = iVar20 + 0x80 + (iVar10 - iVar20 & 0xffffff80U);\n                    pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                  }\n                  (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar10 - iVar16),local_c0);\n                }\n                (*(code *)PTR_xfree_00156bb4)(local_c0);\n                i = iVar18;\n                iVar18 = iVar10;\n                goto LAB_0011dc80;\n              }\n              iVar20 = (int)pcVar6[i_1 + 1];\n              if ((iVar20 == 0x67) || (iVar20 == 0x61)) {\n                iVar20 = (int)pcVar6[i_1 + 2];\n                i_1 = i_1 + 1;\n              }\n              else if (iVar20 == 0x47) {\n                iVar20 = (int)pcVar6[i_1 + 2];\n                i_1 = i_1 + 1;\n              }\n              if ((iVar20 - 0x26U & 0xff) < 0x53) {\n                    /* WARNING: Could not emulate address calculation at 0x0011e968 */\n                    /* WARNING: Treating indirect jump as call */\n                iVar20 = (*(code *)((int)pidstat_table +\n                                   *(int *)(puVar2 + (iVar20 - 0x26U & 0xff) * 4 + 0x484) + 0x1554))\n                                   ();\n                return iVar20;\n              }\n              pcVar7 = hist_error(pcVar6,i_1 + 1,i_1 + 2,3);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n              (*(code *)PTR_xfree_00156bb4)(uVar11);\n            }\n            else {\n              if (iVar16 == 0x2d) {\n                iVar20 = 0;\n                goto LAB_0011e8ac;\n              }\n              if (iVar16 == 0x5e) {\n                iVar14 = iVar14 + 1;\n                iVar20 = 1;\n              }\n              else {\n                if ((9 < (iVar16 - 0x30U & 0xff)) || (pcVar6[i_1] != ':')) goto LAB_0011e61c;\n                iVar20 = 0;\n                do {\n                  iVar20 = iVar16 + -0x30 + iVar20 * 10;\n                  iVar14 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[iVar14];\n                } while ((iVar16 - 0x30U & 0xff) < 10);\n              }\n              cVar1 = pcVar6[iVar14];\n              if (cVar1 == '^') {\n                iVar10 = 1;\nLAB_0011e838:\n                i_1 = iVar14 + 1;\nLAB_0011e83c:\n                bVar15 = iVar10 < iVar20;\nLAB_0011e840:\n                if (((!bVar15) || (iVar10 == 0x24)) || (iVar10 < 0)) goto LAB_0011e5a4;\n              }\n              else {\n                if (cVar1 == '*') {\n                  iVar10 = 0x24;\n                  goto LAB_0011e838;\n                }\n                iVar10 = iVar20;\n                i_1 = iVar14;\n                if (cVar1 == '-') {\nLAB_0011e8ac:\n                  i_1 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[i_1];\n                  if (9 < (iVar16 - 0x30U & 0xff)) {\n                    if (iVar16 != 0x24) {\n                      iVar10 = -1;\n                      goto LAB_0011e5a4;\n                    }\n                    i_1 = iVar14 + 2;\n                    iVar10 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar10 = 0;\n                  do {\n                    iVar10 = iVar16 + -0x30 + iVar10 * 10;\n                    i_1 = i_1 + 1;\n                    iVar16 = (int)pcVar6[i_1];\n                    bVar15 = iVar10 < iVar20;\n                  } while ((iVar16 - 0x30U & 0xff) < 10);\n                  goto LAB_0011e840;\n                }\nLAB_0011e5a4:\n                pcVar8 = history_arg_extract(iVar20,iVar10,pcVar7);\n                if (pcVar8 != (char *)0x0) {\nLAB_0011e5b8:\n                  if (pcVar8 != puVar21 + -0x336c) {\nLAB_0011e5c8:\n                    iVar20 = (*(code *)PTR_strlen_00158444)(pcVar8);\n                    uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                    (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar8);\n                    iVar20 = (*(code *)PTR_free_001585ac)(pcVar8);\n                    return iVar20;\n                  }\n                }\n              }\nLAB_0011e864:\n              pcVar7 = hist_error(pcVar6,iVar18,i_1,1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *output = pcVar7;\n            (*(code *)PTR_xfree_00156bb4)(pcVar4);\n            if (pcVar6 == hstring) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }" { (expression_statement "iVar14 = i;" (assignment_expression "iVar14 = i" identifier = identifier) ;) (expression_statement "iVar18 = 0x27;" (assignment_expression "iVar18 = 0x27" identifier = number_literal) ;) (if_statement "if ((local_b0 == 0) && (iVar18 = 0x22, local_c4 == 0)) {\n              iVar18 = 0;\n            }" if (parenthesized_expression "((local_b0 == 0) && (iVar18 = 0x22, local_c4 == 0))" ( (binary_expression "(local_b0 == 0) && (iVar18 = 0x22, local_c4 == 0)" (parenthesized_expression "(local_b0 == 0)" ( (binary_expression "local_b0 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar18 = 0x22, local_c4 == 0)" ( (comma_expression "iVar18 = 0x22, local_c4 == 0" (assignment_expression "iVar18 = 0x22" identifier = number_literal) , (binary_expression "local_c4 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n              iVar18 = 0;\n            }" { (expression_statement "iVar18 = 0;" (assignment_expression "iVar18 = 0" identifier = number_literal) ;) })) (expression_statement "local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);" (assignment_expression "local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80)" identifier = (cast_expression "(char *)(*(code *)PTR_xmalloc_001565b8)(0x80)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001565b8)(0x80)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x80)" ( number_literal ))))) ;) (expression_statement "i_1 = iVar14;" (assignment_expression "i_1 = iVar14" identifier = identifier) ;) (expression_statement "iVar16 = (int)pcVar6[iVar14 + 1];" (assignment_expression "iVar16 = (int)pcVar6[iVar14 + 1]" identifier = (cast_expression "(int)pcVar6[iVar14 + 1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar6[iVar14 + 1]" identifier [ (binary_expression "iVar14 + 1" identifier + number_literal) ]))) ;) (if_statement "if (iVar16 == 0) {\nLAB_0011e654:\n              pcVar7 = get_history_event(pcVar6,&i_1,iVar18);\n              iVar19 = i_1;\n            }\n            else {\n              iVar19 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar16);\n              if (iVar19 == 0) {\n                pcVar7 = pcVar4;\n                iVar19 = iVar14 + 2;\n                if (iVar16 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                fake_i = 0;\n                fake_s[0] = *PTR_history_expansion_char_00156fcc;\n                fake_s[2] = '\0';\n                i_1 = iVar14 + 1;\n                fake_s[1] = fake_s[0];\n                pcVar7 = get_history_event(fake_s,&fake_i,0);\n                iVar19 = i_1;\n              }\n            }" if (parenthesized_expression "(iVar16 == 0)" ( (binary_expression "iVar16 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0011e654:\n              pcVar7 = get_history_event(pcVar6,&i_1,iVar18);\n              iVar19 = i_1;\n            }" { (labeled_statement "LAB_0011e654:\n              pcVar7 = get_history_event(pcVar6,&i_1,iVar18);" statement_identifier : (expression_statement "pcVar7 = get_history_event(pcVar6,&i_1,iVar18);" (assignment_expression "pcVar7 = get_history_event(pcVar6,&i_1,iVar18)" identifier = (call_expression "get_history_event(pcVar6,&i_1,iVar18)" identifier (argument_list "(pcVar6,&i_1,iVar18)" ( identifier , (pointer_expression "&i_1" & identifier) , identifier )))) ;)) (expression_statement "iVar19 = i_1;" (assignment_expression "iVar19 = i_1" identifier = identifier) ;) }) (else_clause "else {\n              iVar19 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar16);\n              if (iVar19 == 0) {\n                pcVar7 = pcVar4;\n                iVar19 = iVar14 + 2;\n                if (iVar16 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                fake_i = 0;\n                fake_s[0] = *PTR_history_expansion_char_00156fcc;\n                fake_s[2] = '\0';\n                i_1 = iVar14 + 1;\n                fake_s[1] = fake_s[0];\n                pcVar7 = get_history_event(fake_s,&fake_i,0);\n                iVar19 = i_1;\n              }\n            }" else (compound_statement "{\n              iVar19 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar16);\n              if (iVar19 == 0) {\n                pcVar7 = pcVar4;\n                iVar19 = iVar14 + 2;\n                if (iVar16 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                fake_i = 0;\n                fake_s[0] = *PTR_history_expansion_char_00156fcc;\n                fake_s[2] = '\0';\n                i_1 = iVar14 + 1;\n                fake_s[1] = fake_s[0];\n                pcVar7 = get_history_event(fake_s,&fake_i,0);\n                iVar19 = i_1;\n              }\n            }" { (expression_statement "iVar19 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar16);" (assignment_expression "iVar19 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar16)" identifier = (call_expression "(*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar16)" (parenthesized_expression "(*(code *)PTR_strchr_0015844c)" ( (pointer_expression "*(code *)PTR_strchr_0015844c" * (cast_expression "(code *)PTR_strchr_0015844c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_001565b0 + 0x44c,iVar16)" ( (binary_expression "PTR_DAT_001565b0 + 0x44c" identifier + number_literal) , identifier )))) ;) (if_statement "if (iVar19 == 0) {\n                pcVar7 = pcVar4;\n                iVar19 = iVar14 + 2;\n                if (iVar16 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                fake_i = 0;\n                fake_s[0] = *PTR_history_expansion_char_00156fcc;\n                fake_s[2] = '\0';\n                i_1 = iVar14 + 1;\n                fake_s[1] = fake_s[0];\n                pcVar7 = get_history_event(fake_s,&fake_i,0);\n                iVar19 = i_1;\n              }" if (parenthesized_expression "(iVar19 == 0)" ( (binary_expression "iVar19 == 0" identifier == number_literal) )) (compound_statement "{\n                pcVar7 = pcVar4;\n                iVar19 = iVar14 + 2;\n                if (iVar16 != 0x23) goto LAB_0011e654;\n              }" { (expression_statement "pcVar7 = pcVar4;" (assignment_expression "pcVar7 = pcVar4" identifier = identifier) ;) (expression_statement "iVar19 = iVar14 + 2;" (assignment_expression "iVar19 = iVar14 + 2" identifier = (binary_expression "iVar14 + 2" identifier + number_literal)) ;) (if_statement "if (iVar16 != 0x23) goto LAB_0011e654;" if (parenthesized_expression "(iVar16 != 0x23)" ( (binary_expression "iVar16 != 0x23" identifier != number_literal) )) (goto_statement "goto LAB_0011e654;" goto statement_identifier ;)) }) (else_clause "else {\n                fake_i = 0;\n                fake_s[0] = *PTR_history_expansion_char_00156fcc;\n                fake_s[2] = '\0';\n                i_1 = iVar14 + 1;\n                fake_s[1] = fake_s[0];\n                pcVar7 = get_history_event(fake_s,&fake_i,0);\n                iVar19 = i_1;\n              }" else (compound_statement "{\n                fake_i = 0;\n                fake_s[0] = *PTR_history_expansion_char_00156fcc;\n                fake_s[2] = '\0';\n                i_1 = iVar14 + 1;\n                fake_s[1] = fake_s[0];\n                pcVar7 = get_history_event(fake_s,&fake_i,0);\n                iVar19 = i_1;\n              }" { (expression_statement "fake_i = 0;" (assignment_expression "fake_i = 0" identifier = number_literal) ;) (expression_statement "fake_s[0] = *PTR_history_expansion_char_00156fcc;" (assignment_expression "fake_s[0] = *PTR_history_expansion_char_00156fcc" (subscript_expression "fake_s[0]" identifier [ number_literal ]) = (pointer_expression "*PTR_history_expansion_char_00156fcc" * identifier)) ;) (expression_statement "fake_s[2] = '\0';" (assignment_expression "fake_s[2] = '\0'" (subscript_expression "fake_s[2]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "i_1 = iVar14 + 1;" (assignment_expression "i_1 = iVar14 + 1" identifier = (binary_expression "iVar14 + 1" identifier + number_literal)) ;) (expression_statement "fake_s[1] = fake_s[0];" (assignment_expression "fake_s[1] = fake_s[0]" (subscript_expression "fake_s[1]" identifier [ number_literal ]) = (subscript_expression "fake_s[0]" identifier [ number_literal ])) ;) (expression_statement "pcVar7 = get_history_event(fake_s,&fake_i,0);" (assignment_expression "pcVar7 = get_history_event(fake_s,&fake_i,0)" identifier = (call_expression "get_history_event(fake_s,&fake_i,0)" identifier (argument_list "(fake_s,&fake_i,0)" ( identifier , (pointer_expression "&fake_i" & identifier) , number_literal )))) ;) (expression_statement "iVar19 = i_1;" (assignment_expression "iVar19 = i_1" identifier = identifier) ;) }))) }))) (expression_statement "i_1 = iVar19;" (assignment_expression "i_1 = iVar19" identifier = identifier) ;) (expression_statement "iVar18 = i_1;" (assignment_expression "iVar18 = i_1" identifier = identifier) ;) (if_statement "if (pcVar7 == (char *)0x0) {\n              pcVar7 = hist_error(pcVar6,iVar14,i_1,0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n              goto LAB_0011e9e8;\n            }" if (parenthesized_expression "(pcVar7 == (char *)0x0)" ( (binary_expression "pcVar7 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              pcVar7 = hist_error(pcVar6,iVar14,i_1,0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n              goto LAB_0011e9e8;\n            }" { (expression_statement "pcVar7 = hist_error(pcVar6,iVar14,i_1,0);" (assignment_expression "pcVar7 = hist_error(pcVar6,iVar14,i_1,0)" identifier = (call_expression "hist_error(pcVar6,iVar14,i_1,0)" identifier (argument_list "(pcVar6,iVar14,i_1,0)" ( identifier , identifier , identifier , number_literal )))) ;) (expression_statement "(*(code *)PTR_xfree_00156bb4)(local_c0);" (call_expression "(*(code *)PTR_xfree_00156bb4)(local_c0)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" ( (pointer_expression "*(code *)PTR_xfree_00156bb4" * (cast_expression "(code *)PTR_xfree_00156bb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_c0)" ( identifier ))) ;) (goto_statement "goto LAB_0011e9e8;" goto statement_identifier ;) })) (expression_statement "iVar14 = i_1 + 1;" (assignment_expression "iVar14 = i_1 + 1" identifier = (binary_expression "i_1 + 1" identifier + number_literal)) ;) (if_statement "if (pcVar6[i_1] != ':') {\n              iVar14 = i_1;\n            }" if (parenthesized_expression "(pcVar6[i_1] != ':')" ( (binary_expression "pcVar6[i_1] != ':'" (subscript_expression "pcVar6[i_1]" identifier [ identifier ]) != (char_literal "':'" ' character ')) )) (compound_statement "{\n              iVar14 = i_1;\n            }" { (expression_statement "iVar14 = i_1;" (assignment_expression "iVar14 = i_1" identifier = identifier) ;) })) (expression_statement "iVar16 = (int)pcVar6[iVar14];" (assignment_expression "iVar16 = (int)pcVar6[iVar14]" identifier = (cast_expression "(int)pcVar6[iVar14]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar6[iVar14]" identifier [ identifier ]))) ;) (if_statement "if (iVar16 == 0x25) {\n              i_1 = iVar14 + 1;\n              if (*(int *)(PTR_pidstat_table_3077__0015656c + -0x3384) == 0) {\n                pcVar8 = (char *)(*(code *)PTR_xmalloc_001565b8)(1);\n                *pcVar8 = '\0';\n              }\n              else {\n                iVar20 = (*(code *)PTR_strlen_00158444)();\n                uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                pcVar8 = (char *)(*(code *)PTR_strcpy_001584cc)\n                                           (uVar11,*(undefined4 *)\n                                                    (PTR_pidstat_table_3077__0015656c + -0x3384));\n              }\n              goto LAB_0011e5b8;\n            }" if (parenthesized_expression "(iVar16 == 0x25)" ( (binary_expression "iVar16 == 0x25" identifier == number_literal) )) (compound_statement "{\n              i_1 = iVar14 + 1;\n              if (*(int *)(PTR_pidstat_table_3077__0015656c + -0x3384) == 0) {\n                pcVar8 = (char *)(*(code *)PTR_xmalloc_001565b8)(1);\n                *pcVar8 = '\0';\n              }\n              else {\n                iVar20 = (*(code *)PTR_strlen_00158444)();\n                uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                pcVar8 = (char *)(*(code *)PTR_strcpy_001584cc)\n                                           (uVar11,*(undefined4 *)\n                                                    (PTR_pidstat_table_3077__0015656c + -0x3384));\n              }\n              goto LAB_0011e5b8;\n            }" { (expression_statement "i_1 = iVar14 + 1;" (assignment_expression "i_1 = iVar14 + 1" identifier = (binary_expression "iVar14 + 1" identifier + number_literal)) ;) (if_statement "if (*(int *)(PTR_pidstat_table_3077__0015656c + -0x3384) == 0) {\n                pcVar8 = (char *)(*(code *)PTR_xmalloc_001565b8)(1);\n                *pcVar8 = '\0';\n              }\n              else {\n                iVar20 = (*(code *)PTR_strlen_00158444)();\n                uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                pcVar8 = (char *)(*(code *)PTR_strcpy_001584cc)\n                                           (uVar11,*(undefined4 *)\n                                                    (PTR_pidstat_table_3077__0015656c + -0x3384));\n              }" if (parenthesized_expression "(*(int *)(PTR_pidstat_table_3077__0015656c + -0x3384) == 0)" ( (binary_expression "*(int *)(PTR_pidstat_table_3077__0015656c + -0x3384) == 0" (pointer_expression "*(int *)(PTR_pidstat_table_3077__0015656c + -0x3384)" * (cast_expression "(int *)(PTR_pidstat_table_3077__0015656c + -0x3384)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_pidstat_table_3077__0015656c + -0x3384)" ( (binary_expression "PTR_pidstat_table_3077__0015656c + -0x3384" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                pcVar8 = (char *)(*(code *)PTR_xmalloc_001565b8)(1);\n                *pcVar8 = '\0';\n              }" { (expression_statement "pcVar8 = (char *)(*(code *)PTR_xmalloc_001565b8)(1);" (assignment_expression "pcVar8 = (char *)(*(code *)PTR_xmalloc_001565b8)(1)" identifier = (cast_expression "(char *)(*(code *)PTR_xmalloc_001565b8)(1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001565b8)(1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1)" ( number_literal ))))) ;) (expression_statement "*pcVar8 = '\0';" (assignment_expression "*pcVar8 = '\0'" (pointer_expression "*pcVar8" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) }) (else_clause "else {\n                iVar20 = (*(code *)PTR_strlen_00158444)();\n                uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                pcVar8 = (char *)(*(code *)PTR_strcpy_001584cc)\n                                           (uVar11,*(undefined4 *)\n                                                    (PTR_pidstat_table_3077__0015656c + -0x3384));\n              }" else (compound_statement "{\n                iVar20 = (*(code *)PTR_strlen_00158444)();\n                uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                pcVar8 = (char *)(*(code *)PTR_strcpy_001584cc)\n                                           (uVar11,*(undefined4 *)\n                                                    (PTR_pidstat_table_3077__0015656c + -0x3384));\n              }" { (expression_statement "iVar20 = (*(code *)PTR_strlen_00158444)();" (assignment_expression "iVar20 = (*(code *)PTR_strlen_00158444)()" identifier = (call_expression "(*(code *)PTR_strlen_00158444)()" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);" (assignment_expression "uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001565b8)(iVar20 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar20 + 1)" ( (binary_expression "iVar20 + 1" identifier + number_literal) )))) ;) (expression_statement "pcVar8 = (char *)(*(code *)PTR_strcpy_001584cc)\n                                           (uVar11,*(undefined4 *)\n                                                    (PTR_pidstat_table_3077__0015656c + -0x3384));" (assignment_expression "pcVar8 = (char *)(*(code *)PTR_strcpy_001584cc)\n                                           (uVar11,*(undefined4 *)\n                                                    (PTR_pidstat_table_3077__0015656c + -0x3384))" identifier = (cast_expression "(char *)(*(code *)PTR_strcpy_001584cc)\n                                           (uVar11,*(undefined4 *)\n                                                    (PTR_pidstat_table_3077__0015656c + -0x3384))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strcpy_001584cc)\n                                           (uVar11,*(undefined4 *)\n                                                    (PTR_pidstat_table_3077__0015656c + -0x3384))" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" ( (pointer_expression "*(code *)PTR_strcpy_001584cc" * (cast_expression "(code *)PTR_strcpy_001584cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar11,*(undefined4 *)\n                                                    (PTR_pidstat_table_3077__0015656c + -0x3384))" ( identifier , (pointer_expression "*(undefined4 *)\n                                                    (PTR_pidstat_table_3077__0015656c + -0x3384)" * (cast_expression "(undefined4 *)\n                                                    (PTR_pidstat_table_3077__0015656c + -0x3384)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_pidstat_table_3077__0015656c + -0x3384)" ( (binary_expression "PTR_pidstat_table_3077__0015656c + -0x3384" identifier + number_literal) )))) ))))) ;) }))) (goto_statement "goto LAB_0011e5b8;" goto statement_identifier ;) })) (if_statement "if (iVar16 == 0x2a) {\n              i_1 = iVar14 + 1;\n              pcVar8 = history_arg_extract(1,0x24,pcVar7);\n              if (pcVar8 == (char *)0x0) {\n                pcVar8 = (char *)(*(code *)PTR_xmalloc_001565b8)(1);\n                *pcVar8 = '\0';\n              }\n              goto LAB_0011e5b8;\n            }" if (parenthesized_expression "(iVar16 == 0x2a)" ( (binary_expression "iVar16 == 0x2a" identifier == number_literal) )) (compound_statement "{\n              i_1 = iVar14 + 1;\n              pcVar8 = history_arg_extract(1,0x24,pcVar7);\n              if (pcVar8 == (char *)0x0) {\n                pcVar8 = (char *)(*(code *)PTR_xmalloc_001565b8)(1);\n                *pcVar8 = '\0';\n              }\n              goto LAB_0011e5b8;\n            }" { (expression_statement "i_1 = iVar14 + 1;" (assignment_expression "i_1 = iVar14 + 1" identifier = (binary_expression "iVar14 + 1" identifier + number_literal)) ;) (expression_statement "pcVar8 = history_arg_extract(1,0x24,pcVar7);" (assignment_expression "pcVar8 = history_arg_extract(1,0x24,pcVar7)" identifier = (call_expression "history_arg_extract(1,0x24,pcVar7)" identifier (argument_list "(1,0x24,pcVar7)" ( number_literal , number_literal , identifier )))) ;) (if_statement "if (pcVar8 == (char *)0x0) {\n                pcVar8 = (char *)(*(code *)PTR_xmalloc_001565b8)(1);\n                *pcVar8 = '\0';\n              }" if (parenthesized_expression "(pcVar8 == (char *)0x0)" ( (binary_expression "pcVar8 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                pcVar8 = (char *)(*(code *)PTR_xmalloc_001565b8)(1);\n                *pcVar8 = '\0';\n              }" { (expression_statement "pcVar8 = (char *)(*(code *)PTR_xmalloc_001565b8)(1);" (assignment_expression "pcVar8 = (char *)(*(code *)PTR_xmalloc_001565b8)(1)" identifier = (cast_expression "(char *)(*(code *)PTR_xmalloc_001565b8)(1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001565b8)(1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1)" ( number_literal ))))) ;) (expression_statement "*pcVar8 = '\0';" (assignment_expression "*pcVar8 = '\0'" (pointer_expression "*pcVar8" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) })) (goto_statement "goto LAB_0011e5b8;" goto statement_identifier ;) })) (if_statement "if (iVar16 == 0x24) {\n              i_1 = iVar14 + 1;\n              pcVar8 = history_arg_extract(0x24,0x24,pcVar7);\n              if (pcVar8 == puVar21 + -0x336c) goto LAB_0011e864;\n              if (pcVar8 != (char *)0x0) goto LAB_0011e5c8;\nLAB_0011e61c:\n              iVar18 = (*(code *)PTR_strlen_00158444)(pcVar7);\n              uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar18 + 1);\n              uVar11 = (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar7);\n              if (pcVar6[i_1] != ':') {\n                i_1 = i_1 + -1;\n                iVar18 = (*(code *)PTR_strlen_00158444)(uVar11);\n                if (0x7f < iVar18) {\n                  local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar18 + 2);\n                }\n                (*(code *)PTR_strcpy_001584cc)(local_c0,uVar11);\n                (*(code *)PTR_xfree_00156bb4)(uVar11);\n                iVar18 = i_1;\n                local_a8 = local_a8 + 1;\n                if (*local_c0 != '\0') {\n                  iVar16 = (*(code *)PTR_strlen_00158444)();\n                  iVar10 = iVar10 + iVar16;\n                  iVar14 = iVar20;\n                  if (iVar20 <= iVar10) {\n                    do {\n                      iVar14 = iVar14 + 0x80;\n                    } while (iVar14 <= iVar10);\n                    iVar20 = iVar20 + 0x80 + (iVar10 - iVar20 & 0xffffff80U);\n                    pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                  }\n                  (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar10 - iVar16),local_c0);\n                }\n                (*(code *)PTR_xfree_00156bb4)(local_c0);\n                i = iVar18;\n                iVar18 = iVar10;\n                goto LAB_0011dc80;\n              }\n              iVar20 = (int)pcVar6[i_1 + 1];\n              if ((iVar20 == 0x67) || (iVar20 == 0x61)) {\n                iVar20 = (int)pcVar6[i_1 + 2];\n                i_1 = i_1 + 1;\n              }\n              else if (iVar20 == 0x47) {\n                iVar20 = (int)pcVar6[i_1 + 2];\n                i_1 = i_1 + 1;\n              }\n              if ((iVar20 - 0x26U & 0xff) < 0x53) {\n                    /* WARNING: Could not emulate address calculation at 0x0011e968 */\n                    /* WARNING: Treating indirect jump as call */\n                iVar20 = (*(code *)((int)pidstat_table +\n                                   *(int *)(puVar2 + (iVar20 - 0x26U & 0xff) * 4 + 0x484) + 0x1554))\n                                   ();\n                return iVar20;\n              }\n              pcVar7 = hist_error(pcVar6,i_1 + 1,i_1 + 2,3);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n              (*(code *)PTR_xfree_00156bb4)(uVar11);\n            }\n            else {\n              if (iVar16 == 0x2d) {\n                iVar20 = 0;\n                goto LAB_0011e8ac;\n              }\n              if (iVar16 == 0x5e) {\n                iVar14 = iVar14 + 1;\n                iVar20 = 1;\n              }\n              else {\n                if ((9 < (iVar16 - 0x30U & 0xff)) || (pcVar6[i_1] != ':')) goto LAB_0011e61c;\n                iVar20 = 0;\n                do {\n                  iVar20 = iVar16 + -0x30 + iVar20 * 10;\n                  iVar14 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[iVar14];\n                } while ((iVar16 - 0x30U & 0xff) < 10);\n              }\n              cVar1 = pcVar6[iVar14];\n              if (cVar1 == '^') {\n                iVar10 = 1;\nLAB_0011e838:\n                i_1 = iVar14 + 1;\nLAB_0011e83c:\n                bVar15 = iVar10 < iVar20;\nLAB_0011e840:\n                if (((!bVar15) || (iVar10 == 0x24)) || (iVar10 < 0)) goto LAB_0011e5a4;\n              }\n              else {\n                if (cVar1 == '*') {\n                  iVar10 = 0x24;\n                  goto LAB_0011e838;\n                }\n                iVar10 = iVar20;\n                i_1 = iVar14;\n                if (cVar1 == '-') {\nLAB_0011e8ac:\n                  i_1 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[i_1];\n                  if (9 < (iVar16 - 0x30U & 0xff)) {\n                    if (iVar16 != 0x24) {\n                      iVar10 = -1;\n                      goto LAB_0011e5a4;\n                    }\n                    i_1 = iVar14 + 2;\n                    iVar10 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar10 = 0;\n                  do {\n                    iVar10 = iVar16 + -0x30 + iVar10 * 10;\n                    i_1 = i_1 + 1;\n                    iVar16 = (int)pcVar6[i_1];\n                    bVar15 = iVar10 < iVar20;\n                  } while ((iVar16 - 0x30U & 0xff) < 10);\n                  goto LAB_0011e840;\n                }\nLAB_0011e5a4:\n                pcVar8 = history_arg_extract(iVar20,iVar10,pcVar7);\n                if (pcVar8 != (char *)0x0) {\nLAB_0011e5b8:\n                  if (pcVar8 != puVar21 + -0x336c) {\nLAB_0011e5c8:\n                    iVar20 = (*(code *)PTR_strlen_00158444)(pcVar8);\n                    uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                    (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar8);\n                    iVar20 = (*(code *)PTR_free_001585ac)(pcVar8);\n                    return iVar20;\n                  }\n                }\n              }\nLAB_0011e864:\n              pcVar7 = hist_error(pcVar6,iVar18,i_1,1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }" if (parenthesized_expression "(iVar16 == 0x24)" ( (binary_expression "iVar16 == 0x24" identifier == number_literal) )) (compound_statement "{\n              i_1 = iVar14 + 1;\n              pcVar8 = history_arg_extract(0x24,0x24,pcVar7);\n              if (pcVar8 == puVar21 + -0x336c) goto LAB_0011e864;\n              if (pcVar8 != (char *)0x0) goto LAB_0011e5c8;\nLAB_0011e61c:\n              iVar18 = (*(code *)PTR_strlen_00158444)(pcVar7);\n              uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar18 + 1);\n              uVar11 = (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar7);\n              if (pcVar6[i_1] != ':') {\n                i_1 = i_1 + -1;\n                iVar18 = (*(code *)PTR_strlen_00158444)(uVar11);\n                if (0x7f < iVar18) {\n                  local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar18 + 2);\n                }\n                (*(code *)PTR_strcpy_001584cc)(local_c0,uVar11);\n                (*(code *)PTR_xfree_00156bb4)(uVar11);\n                iVar18 = i_1;\n                local_a8 = local_a8 + 1;\n                if (*local_c0 != '\0') {\n                  iVar16 = (*(code *)PTR_strlen_00158444)();\n                  iVar10 = iVar10 + iVar16;\n                  iVar14 = iVar20;\n                  if (iVar20 <= iVar10) {\n                    do {\n                      iVar14 = iVar14 + 0x80;\n                    } while (iVar14 <= iVar10);\n                    iVar20 = iVar20 + 0x80 + (iVar10 - iVar20 & 0xffffff80U);\n                    pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                  }\n                  (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar10 - iVar16),local_c0);\n                }\n                (*(code *)PTR_xfree_00156bb4)(local_c0);\n                i = iVar18;\n                iVar18 = iVar10;\n                goto LAB_0011dc80;\n              }\n              iVar20 = (int)pcVar6[i_1 + 1];\n              if ((iVar20 == 0x67) || (iVar20 == 0x61)) {\n                iVar20 = (int)pcVar6[i_1 + 2];\n                i_1 = i_1 + 1;\n              }\n              else if (iVar20 == 0x47) {\n                iVar20 = (int)pcVar6[i_1 + 2];\n                i_1 = i_1 + 1;\n              }\n              if ((iVar20 - 0x26U & 0xff) < 0x53) {\n                    /* WARNING: Could not emulate address calculation at 0x0011e968 */\n                    /* WARNING: Treating indirect jump as call */\n                iVar20 = (*(code *)((int)pidstat_table +\n                                   *(int *)(puVar2 + (iVar20 - 0x26U & 0xff) * 4 + 0x484) + 0x1554))\n                                   ();\n                return iVar20;\n              }\n              pcVar7 = hist_error(pcVar6,i_1 + 1,i_1 + 2,3);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n              (*(code *)PTR_xfree_00156bb4)(uVar11);\n            }" { (expression_statement "i_1 = iVar14 + 1;" (assignment_expression "i_1 = iVar14 + 1" identifier = (binary_expression "iVar14 + 1" identifier + number_literal)) ;) (expression_statement "pcVar8 = history_arg_extract(0x24,0x24,pcVar7);" (assignment_expression "pcVar8 = history_arg_extract(0x24,0x24,pcVar7)" identifier = (call_expression "history_arg_extract(0x24,0x24,pcVar7)" identifier (argument_list "(0x24,0x24,pcVar7)" ( number_literal , number_literal , identifier )))) ;) (if_statement "if (pcVar8 == puVar21 + -0x336c) goto LAB_0011e864;" if (parenthesized_expression "(pcVar8 == puVar21 + -0x336c)" ( (binary_expression "pcVar8 == puVar21 + -0x336c" identifier == (binary_expression "puVar21 + -0x336c" identifier + number_literal)) )) (goto_statement "goto LAB_0011e864;" goto statement_identifier ;)) (if_statement "if (pcVar8 != (char *)0x0) goto LAB_0011e5c8;" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0011e5c8;" goto statement_identifier ;)) (labeled_statement "LAB_0011e61c:\n              iVar18 = (*(code *)PTR_strlen_00158444)(pcVar7);" statement_identifier : (expression_statement "iVar18 = (*(code *)PTR_strlen_00158444)(pcVar7);" (assignment_expression "iVar18 = (*(code *)PTR_strlen_00158444)(pcVar7)" identifier = (call_expression "(*(code *)PTR_strlen_00158444)(pcVar7)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar7)" ( identifier )))) ;)) (expression_statement "uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar18 + 1);" (assignment_expression "uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar18 + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001565b8)(iVar18 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar18 + 1)" ( (binary_expression "iVar18 + 1" identifier + number_literal) )))) ;) (expression_statement "uVar11 = (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar7);" (assignment_expression "uVar11 = (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar7)" identifier = (call_expression "(*(code *)PTR_strcpy_001584cc)(uVar11,pcVar7)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" ( (pointer_expression "*(code *)PTR_strcpy_001584cc" * (cast_expression "(code *)PTR_strcpy_001584cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar11,pcVar7)" ( identifier , identifier )))) ;) (if_statement "if (pcVar6[i_1] != ':') {\n                i_1 = i_1 + -1;\n                iVar18 = (*(code *)PTR_strlen_00158444)(uVar11);\n                if (0x7f < iVar18) {\n                  local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar18 + 2);\n                }\n                (*(code *)PTR_strcpy_001584cc)(local_c0,uVar11);\n                (*(code *)PTR_xfree_00156bb4)(uVar11);\n                iVar18 = i_1;\n                local_a8 = local_a8 + 1;\n                if (*local_c0 != '\0') {\n                  iVar16 = (*(code *)PTR_strlen_00158444)();\n                  iVar10 = iVar10 + iVar16;\n                  iVar14 = iVar20;\n                  if (iVar20 <= iVar10) {\n                    do {\n                      iVar14 = iVar14 + 0x80;\n                    } while (iVar14 <= iVar10);\n                    iVar20 = iVar20 + 0x80 + (iVar10 - iVar20 & 0xffffff80U);\n                    pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                  }\n                  (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar10 - iVar16),local_c0);\n                }\n                (*(code *)PTR_xfree_00156bb4)(local_c0);\n                i = iVar18;\n                iVar18 = iVar10;\n                goto LAB_0011dc80;\n              }" if (parenthesized_expression "(pcVar6[i_1] != ':')" ( (binary_expression "pcVar6[i_1] != ':'" (subscript_expression "pcVar6[i_1]" identifier [ identifier ]) != (char_literal "':'" ' character ')) )) (compound_statement "{\n                i_1 = i_1 + -1;\n                iVar18 = (*(code *)PTR_strlen_00158444)(uVar11);\n                if (0x7f < iVar18) {\n                  local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar18 + 2);\n                }\n                (*(code *)PTR_strcpy_001584cc)(local_c0,uVar11);\n                (*(code *)PTR_xfree_00156bb4)(uVar11);\n                iVar18 = i_1;\n                local_a8 = local_a8 + 1;\n                if (*local_c0 != '\0') {\n                  iVar16 = (*(code *)PTR_strlen_00158444)();\n                  iVar10 = iVar10 + iVar16;\n                  iVar14 = iVar20;\n                  if (iVar20 <= iVar10) {\n                    do {\n                      iVar14 = iVar14 + 0x80;\n                    } while (iVar14 <= iVar10);\n                    iVar20 = iVar20 + 0x80 + (iVar10 - iVar20 & 0xffffff80U);\n                    pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                  }\n                  (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar10 - iVar16),local_c0);\n                }\n                (*(code *)PTR_xfree_00156bb4)(local_c0);\n                i = iVar18;\n                iVar18 = iVar10;\n                goto LAB_0011dc80;\n              }" { (expression_statement "i_1 = i_1 + -1;" (assignment_expression "i_1 = i_1 + -1" identifier = (binary_expression "i_1 + -1" identifier + number_literal)) ;) (expression_statement "iVar18 = (*(code *)PTR_strlen_00158444)(uVar11);" (assignment_expression "iVar18 = (*(code *)PTR_strlen_00158444)(uVar11)" identifier = (call_expression "(*(code *)PTR_strlen_00158444)(uVar11)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar11)" ( identifier )))) ;) (if_statement "if (0x7f < iVar18) {\n                  local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar18 + 2);\n                }" if (parenthesized_expression "(0x7f < iVar18)" ( (binary_expression "0x7f < iVar18" number_literal < identifier) )) (compound_statement "{\n                  local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar18 + 2);\n                }" { (expression_statement "local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar18 + 2);" (assignment_expression "local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar18 + 2)" identifier = (cast_expression "(char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar18 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar18 + 2)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_c0,iVar18 + 2)" ( identifier , (binary_expression "iVar18 + 2" identifier + number_literal) ))))) ;) })) (expression_statement "(*(code *)PTR_strcpy_001584cc)(local_c0,uVar11);" (call_expression "(*(code *)PTR_strcpy_001584cc)(local_c0,uVar11)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" ( (pointer_expression "*(code *)PTR_strcpy_001584cc" * (cast_expression "(code *)PTR_strcpy_001584cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_c0,uVar11)" ( identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_xfree_00156bb4)(uVar11);" (call_expression "(*(code *)PTR_xfree_00156bb4)(uVar11)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" ( (pointer_expression "*(code *)PTR_xfree_00156bb4" * (cast_expression "(code *)PTR_xfree_00156bb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar11)" ( identifier ))) ;) (expression_statement "iVar18 = i_1;" (assignment_expression "iVar18 = i_1" identifier = identifier) ;) (expression_statement "local_a8 = local_a8 + 1;" (assignment_expression "local_a8 = local_a8 + 1" identifier = (binary_expression "local_a8 + 1" identifier + number_literal)) ;) (if_statement "if (*local_c0 != '\0') {\n                  iVar16 = (*(code *)PTR_strlen_00158444)();\n                  iVar10 = iVar10 + iVar16;\n                  iVar14 = iVar20;\n                  if (iVar20 <= iVar10) {\n                    do {\n                      iVar14 = iVar14 + 0x80;\n                    } while (iVar14 <= iVar10);\n                    iVar20 = iVar20 + 0x80 + (iVar10 - iVar20 & 0xffffff80U);\n                    pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                  }\n                  (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar10 - iVar16),local_c0);\n                }" if (parenthesized_expression "(*local_c0 != '\0')" ( (binary_expression "*local_c0 != '\0'" (pointer_expression "*local_c0" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                  iVar16 = (*(code *)PTR_strlen_00158444)();\n                  iVar10 = iVar10 + iVar16;\n                  iVar14 = iVar20;\n                  if (iVar20 <= iVar10) {\n                    do {\n                      iVar14 = iVar14 + 0x80;\n                    } while (iVar14 <= iVar10);\n                    iVar20 = iVar20 + 0x80 + (iVar10 - iVar20 & 0xffffff80U);\n                    pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                  }\n                  (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar10 - iVar16),local_c0);\n                }" { (expression_statement "iVar16 = (*(code *)PTR_strlen_00158444)();" (assignment_expression "iVar16 = (*(code *)PTR_strlen_00158444)()" identifier = (call_expression "(*(code *)PTR_strlen_00158444)()" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "iVar10 = iVar10 + iVar16;" (assignment_expression "iVar10 = iVar10 + iVar16" identifier = (binary_expression "iVar10 + iVar16" identifier + identifier)) ;) (expression_statement "iVar14 = iVar20;" (assignment_expression "iVar14 = iVar20" identifier = identifier) ;) (if_statement "if (iVar20 <= iVar10) {\n                    do {\n                      iVar14 = iVar14 + 0x80;\n                    } while (iVar14 <= iVar10);\n                    iVar20 = iVar20 + 0x80 + (iVar10 - iVar20 & 0xffffff80U);\n                    pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                  }" if (parenthesized_expression "(iVar20 <= iVar10)" ( (binary_expression "iVar20 <= iVar10" identifier <= identifier) )) (compound_statement "{\n                    do {\n                      iVar14 = iVar14 + 0x80;\n                    } while (iVar14 <= iVar10);\n                    iVar20 = iVar20 + 0x80 + (iVar10 - iVar20 & 0xffffff80U);\n                    pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                  }" { (do_statement "do {\n                      iVar14 = iVar14 + 0x80;\n                    } while (iVar14 <= iVar10);" do (compound_statement "{\n                      iVar14 = iVar14 + 0x80;\n                    }" { (expression_statement "iVar14 = iVar14 + 0x80;" (assignment_expression "iVar14 = iVar14 + 0x80" identifier = (binary_expression "iVar14 + 0x80" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar14 <= iVar10)" ( (binary_expression "iVar14 <= iVar10" identifier <= identifier) )) ;) (expression_statement "iVar20 = iVar20 + 0x80 + (iVar10 - iVar20 & 0xffffff80U);" (assignment_expression "iVar20 = iVar20 + 0x80 + (iVar10 - iVar20 & 0xffffff80U)" identifier = (binary_expression "iVar20 + 0x80 + (iVar10 - iVar20 & 0xffffff80U)" (binary_expression "iVar20 + 0x80" identifier + number_literal) + (parenthesized_expression "(iVar10 - iVar20 & 0xffffff80U)" ( (binary_expression "iVar10 - iVar20 & 0xffffff80U" (binary_expression "iVar10 - iVar20" identifier - identifier) & number_literal) )))) ;) (expression_statement "pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);" (assignment_expression "pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" identifier = (cast_expression "(char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4,iVar20)" ( identifier , identifier ))))) ;) })) (expression_statement "(*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar10 - iVar16),local_c0);" (call_expression "(*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar10 - iVar16),local_c0)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" ( (pointer_expression "*(code *)PTR_strcpy_001584cc" * (cast_expression "(code *)PTR_strcpy_001584cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4 + (iVar10 - iVar16),local_c0)" ( (binary_expression "pcVar4 + (iVar10 - iVar16)" identifier + (parenthesized_expression "(iVar10 - iVar16)" ( (binary_expression "iVar10 - iVar16" identifier - identifier) ))) , identifier ))) ;) })) (expression_statement "(*(code *)PTR_xfree_00156bb4)(local_c0);" (call_expression "(*(code *)PTR_xfree_00156bb4)(local_c0)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" ( (pointer_expression "*(code *)PTR_xfree_00156bb4" * (cast_expression "(code *)PTR_xfree_00156bb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_c0)" ( identifier ))) ;) (expression_statement "i = iVar18;" (assignment_expression "i = iVar18" identifier = identifier) ;) (expression_statement "iVar18 = iVar10;" (assignment_expression "iVar18 = iVar10" identifier = identifier) ;) (goto_statement "goto LAB_0011dc80;" goto statement_identifier ;) })) (expression_statement "iVar20 = (int)pcVar6[i_1 + 1];" (assignment_expression "iVar20 = (int)pcVar6[i_1 + 1]" identifier = (cast_expression "(int)pcVar6[i_1 + 1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar6[i_1 + 1]" identifier [ (binary_expression "i_1 + 1" identifier + number_literal) ]))) ;) (if_statement "if ((iVar20 == 0x67) || (iVar20 == 0x61)) {\n                iVar20 = (int)pcVar6[i_1 + 2];\n                i_1 = i_1 + 1;\n              }\n              else if (iVar20 == 0x47) {\n                iVar20 = (int)pcVar6[i_1 + 2];\n                i_1 = i_1 + 1;\n              }" if (parenthesized_expression "((iVar20 == 0x67) || (iVar20 == 0x61))" ( (binary_expression "(iVar20 == 0x67) || (iVar20 == 0x61)" (parenthesized_expression "(iVar20 == 0x67)" ( (binary_expression "iVar20 == 0x67" identifier == number_literal) )) || (parenthesized_expression "(iVar20 == 0x61)" ( (binary_expression "iVar20 == 0x61" identifier == number_literal) ))) )) (compound_statement "{\n                iVar20 = (int)pcVar6[i_1 + 2];\n                i_1 = i_1 + 1;\n              }" { (expression_statement "iVar20 = (int)pcVar6[i_1 + 2];" (assignment_expression "iVar20 = (int)pcVar6[i_1 + 2]" identifier = (cast_expression "(int)pcVar6[i_1 + 2]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar6[i_1 + 2]" identifier [ (binary_expression "i_1 + 2" identifier + number_literal) ]))) ;) (expression_statement "i_1 = i_1 + 1;" (assignment_expression "i_1 = i_1 + 1" identifier = (binary_expression "i_1 + 1" identifier + number_literal)) ;) }) (else_clause "else if (iVar20 == 0x47) {\n                iVar20 = (int)pcVar6[i_1 + 2];\n                i_1 = i_1 + 1;\n              }" else (if_statement "if (iVar20 == 0x47) {\n                iVar20 = (int)pcVar6[i_1 + 2];\n                i_1 = i_1 + 1;\n              }" if (parenthesized_expression "(iVar20 == 0x47)" ( (binary_expression "iVar20 == 0x47" identifier == number_literal) )) (compound_statement "{\n                iVar20 = (int)pcVar6[i_1 + 2];\n                i_1 = i_1 + 1;\n              }" { (expression_statement "iVar20 = (int)pcVar6[i_1 + 2];" (assignment_expression "iVar20 = (int)pcVar6[i_1 + 2]" identifier = (cast_expression "(int)pcVar6[i_1 + 2]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar6[i_1 + 2]" identifier [ (binary_expression "i_1 + 2" identifier + number_literal) ]))) ;) (expression_statement "i_1 = i_1 + 1;" (assignment_expression "i_1 = i_1 + 1" identifier = (binary_expression "i_1 + 1" identifier + number_literal)) ;) })))) (if_statement "if ((iVar20 - 0x26U & 0xff) < 0x53) {\n                    /* WARNING: Could not emulate address calculation at 0x0011e968 */\n                    /* WARNING: Treating indirect jump as call */\n                iVar20 = (*(code *)((int)pidstat_table +\n                                   *(int *)(puVar2 + (iVar20 - 0x26U & 0xff) * 4 + 0x484) + 0x1554))\n                                   ();\n                return iVar20;\n              }" if (parenthesized_expression "((iVar20 - 0x26U & 0xff) < 0x53)" ( (binary_expression "(iVar20 - 0x26U & 0xff) < 0x53" (parenthesized_expression "(iVar20 - 0x26U & 0xff)" ( (binary_expression "iVar20 - 0x26U & 0xff" (binary_expression "iVar20 - 0x26U" identifier - number_literal) & number_literal) )) < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x0011e968 */\n                    /* WARNING: Treating indirect jump as call */\n                iVar20 = (*(code *)((int)pidstat_table +\n                                   *(int *)(puVar2 + (iVar20 - 0x26U & 0xff) * 4 + 0x484) + 0x1554))\n                                   ();\n                return iVar20;\n              }" { comment comment (expression_statement "iVar20 = (*(code *)((int)pidstat_table +\n                                   *(int *)(puVar2 + (iVar20 - 0x26U & 0xff) * 4 + 0x484) + 0x1554))\n                                   ();" (assignment_expression "iVar20 = (*(code *)((int)pidstat_table +\n                                   *(int *)(puVar2 + (iVar20 - 0x26U & 0xff) * 4 + 0x484) + 0x1554))\n                                   ()" identifier = (call_expression "(*(code *)((int)pidstat_table +\n                                   *(int *)(puVar2 + (iVar20 - 0x26U & 0xff) * 4 + 0x484) + 0x1554))\n                                   ()" (parenthesized_expression "(*(code *)((int)pidstat_table +\n                                   *(int *)(puVar2 + (iVar20 - 0x26U & 0xff) * 4 + 0x484) + 0x1554))" ( (pointer_expression "*(code *)((int)pidstat_table +\n                                   *(int *)(puVar2 + (iVar20 - 0x26U & 0xff) * 4 + 0x484) + 0x1554)" * (cast_expression "(code *)((int)pidstat_table +\n                                   *(int *)(puVar2 + (iVar20 - 0x26U & 0xff) * 4 + 0x484) + 0x1554)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pidstat_table +\n                                   *(int *)(puVar2 + (iVar20 - 0x26U & 0xff) * 4 + 0x484) + 0x1554)" ( (binary_expression "(int)pidstat_table +\n                                   *(int *)(puVar2 + (iVar20 - 0x26U & 0xff) * 4 + 0x484) + 0x1554" (binary_expression "(int)pidstat_table +\n                                   *(int *)(puVar2 + (iVar20 - 0x26U & 0xff) * 4 + 0x484)" (cast_expression "(int)pidstat_table" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(puVar2 + (iVar20 - 0x26U & 0xff) * 4 + 0x484)" * (cast_expression "(int *)(puVar2 + (iVar20 - 0x26U & 0xff) * 4 + 0x484)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + (iVar20 - 0x26U & 0xff) * 4 + 0x484)" ( (binary_expression "puVar2 + (iVar20 - 0x26U & 0xff) * 4 + 0x484" (binary_expression "puVar2 + (iVar20 - 0x26U & 0xff) * 4" identifier + (binary_expression "(iVar20 - 0x26U & 0xff) * 4" (parenthesized_expression "(iVar20 - 0x26U & 0xff)" ( (binary_expression "iVar20 - 0x26U & 0xff" (binary_expression "iVar20 - 0x26U" identifier - number_literal) & number_literal) )) * number_literal)) + number_literal) ))))) + number_literal) )))) )) (argument_list "()" ( )))) ;) (return_statement "return iVar20;" return identifier ;) })) (expression_statement "pcVar7 = hist_error(pcVar6,i_1 + 1,i_1 + 2,3);" (assignment_expression "pcVar7 = hist_error(pcVar6,i_1 + 1,i_1 + 2,3)" identifier = (call_expression "hist_error(pcVar6,i_1 + 1,i_1 + 2,3)" identifier (argument_list "(pcVar6,i_1 + 1,i_1 + 2,3)" ( identifier , (binary_expression "i_1 + 1" identifier + number_literal) , (binary_expression "i_1 + 2" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR_xfree_00156bb4)(local_c0);" (call_expression "(*(code *)PTR_xfree_00156bb4)(local_c0)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" ( (pointer_expression "*(code *)PTR_xfree_00156bb4" * (cast_expression "(code *)PTR_xfree_00156bb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_c0)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_xfree_00156bb4)(uVar11);" (call_expression "(*(code *)PTR_xfree_00156bb4)(uVar11)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" ( (pointer_expression "*(code *)PTR_xfree_00156bb4" * (cast_expression "(code *)PTR_xfree_00156bb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar11)" ( identifier ))) ;) }) (else_clause "else {\n              if (iVar16 == 0x2d) {\n                iVar20 = 0;\n                goto LAB_0011e8ac;\n              }\n              if (iVar16 == 0x5e) {\n                iVar14 = iVar14 + 1;\n                iVar20 = 1;\n              }\n              else {\n                if ((9 < (iVar16 - 0x30U & 0xff)) || (pcVar6[i_1] != ':')) goto LAB_0011e61c;\n                iVar20 = 0;\n                do {\n                  iVar20 = iVar16 + -0x30 + iVar20 * 10;\n                  iVar14 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[iVar14];\n                } while ((iVar16 - 0x30U & 0xff) < 10);\n              }\n              cVar1 = pcVar6[iVar14];\n              if (cVar1 == '^') {\n                iVar10 = 1;\nLAB_0011e838:\n                i_1 = iVar14 + 1;\nLAB_0011e83c:\n                bVar15 = iVar10 < iVar20;\nLAB_0011e840:\n                if (((!bVar15) || (iVar10 == 0x24)) || (iVar10 < 0)) goto LAB_0011e5a4;\n              }\n              else {\n                if (cVar1 == '*') {\n                  iVar10 = 0x24;\n                  goto LAB_0011e838;\n                }\n                iVar10 = iVar20;\n                i_1 = iVar14;\n                if (cVar1 == '-') {\nLAB_0011e8ac:\n                  i_1 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[i_1];\n                  if (9 < (iVar16 - 0x30U & 0xff)) {\n                    if (iVar16 != 0x24) {\n                      iVar10 = -1;\n                      goto LAB_0011e5a4;\n                    }\n                    i_1 = iVar14 + 2;\n                    iVar10 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar10 = 0;\n                  do {\n                    iVar10 = iVar16 + -0x30 + iVar10 * 10;\n                    i_1 = i_1 + 1;\n                    iVar16 = (int)pcVar6[i_1];\n                    bVar15 = iVar10 < iVar20;\n                  } while ((iVar16 - 0x30U & 0xff) < 10);\n                  goto LAB_0011e840;\n                }\nLAB_0011e5a4:\n                pcVar8 = history_arg_extract(iVar20,iVar10,pcVar7);\n                if (pcVar8 != (char *)0x0) {\nLAB_0011e5b8:\n                  if (pcVar8 != puVar21 + -0x336c) {\nLAB_0011e5c8:\n                    iVar20 = (*(code *)PTR_strlen_00158444)(pcVar8);\n                    uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                    (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar8);\n                    iVar20 = (*(code *)PTR_free_001585ac)(pcVar8);\n                    return iVar20;\n                  }\n                }\n              }\nLAB_0011e864:\n              pcVar7 = hist_error(pcVar6,iVar18,i_1,1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }" else (compound_statement "{\n              if (iVar16 == 0x2d) {\n                iVar20 = 0;\n                goto LAB_0011e8ac;\n              }\n              if (iVar16 == 0x5e) {\n                iVar14 = iVar14 + 1;\n                iVar20 = 1;\n              }\n              else {\n                if ((9 < (iVar16 - 0x30U & 0xff)) || (pcVar6[i_1] != ':')) goto LAB_0011e61c;\n                iVar20 = 0;\n                do {\n                  iVar20 = iVar16 + -0x30 + iVar20 * 10;\n                  iVar14 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[iVar14];\n                } while ((iVar16 - 0x30U & 0xff) < 10);\n              }\n              cVar1 = pcVar6[iVar14];\n              if (cVar1 == '^') {\n                iVar10 = 1;\nLAB_0011e838:\n                i_1 = iVar14 + 1;\nLAB_0011e83c:\n                bVar15 = iVar10 < iVar20;\nLAB_0011e840:\n                if (((!bVar15) || (iVar10 == 0x24)) || (iVar10 < 0)) goto LAB_0011e5a4;\n              }\n              else {\n                if (cVar1 == '*') {\n                  iVar10 = 0x24;\n                  goto LAB_0011e838;\n                }\n                iVar10 = iVar20;\n                i_1 = iVar14;\n                if (cVar1 == '-') {\nLAB_0011e8ac:\n                  i_1 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[i_1];\n                  if (9 < (iVar16 - 0x30U & 0xff)) {\n                    if (iVar16 != 0x24) {\n                      iVar10 = -1;\n                      goto LAB_0011e5a4;\n                    }\n                    i_1 = iVar14 + 2;\n                    iVar10 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar10 = 0;\n                  do {\n                    iVar10 = iVar16 + -0x30 + iVar10 * 10;\n                    i_1 = i_1 + 1;\n                    iVar16 = (int)pcVar6[i_1];\n                    bVar15 = iVar10 < iVar20;\n                  } while ((iVar16 - 0x30U & 0xff) < 10);\n                  goto LAB_0011e840;\n                }\nLAB_0011e5a4:\n                pcVar8 = history_arg_extract(iVar20,iVar10,pcVar7);\n                if (pcVar8 != (char *)0x0) {\nLAB_0011e5b8:\n                  if (pcVar8 != puVar21 + -0x336c) {\nLAB_0011e5c8:\n                    iVar20 = (*(code *)PTR_strlen_00158444)(pcVar8);\n                    uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                    (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar8);\n                    iVar20 = (*(code *)PTR_free_001585ac)(pcVar8);\n                    return iVar20;\n                  }\n                }\n              }\nLAB_0011e864:\n              pcVar7 = hist_error(pcVar6,iVar18,i_1,1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }" { (if_statement "if (iVar16 == 0x2d) {\n                iVar20 = 0;\n                goto LAB_0011e8ac;\n              }" if (parenthesized_expression "(iVar16 == 0x2d)" ( (binary_expression "iVar16 == 0x2d" identifier == number_literal) )) (compound_statement "{\n                iVar20 = 0;\n                goto LAB_0011e8ac;\n              }" { (expression_statement "iVar20 = 0;" (assignment_expression "iVar20 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0011e8ac;" goto statement_identifier ;) })) (if_statement "if (iVar16 == 0x5e) {\n                iVar14 = iVar14 + 1;\n                iVar20 = 1;\n              }\n              else {\n                if ((9 < (iVar16 - 0x30U & 0xff)) || (pcVar6[i_1] != ':')) goto LAB_0011e61c;\n                iVar20 = 0;\n                do {\n                  iVar20 = iVar16 + -0x30 + iVar20 * 10;\n                  iVar14 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[iVar14];\n                } while ((iVar16 - 0x30U & 0xff) < 10);\n              }" if (parenthesized_expression "(iVar16 == 0x5e)" ( (binary_expression "iVar16 == 0x5e" identifier == number_literal) )) (compound_statement "{\n                iVar14 = iVar14 + 1;\n                iVar20 = 1;\n              }" { (expression_statement "iVar14 = iVar14 + 1;" (assignment_expression "iVar14 = iVar14 + 1" identifier = (binary_expression "iVar14 + 1" identifier + number_literal)) ;) (expression_statement "iVar20 = 1;" (assignment_expression "iVar20 = 1" identifier = number_literal) ;) }) (else_clause "else {\n                if ((9 < (iVar16 - 0x30U & 0xff)) || (pcVar6[i_1] != ':')) goto LAB_0011e61c;\n                iVar20 = 0;\n                do {\n                  iVar20 = iVar16 + -0x30 + iVar20 * 10;\n                  iVar14 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[iVar14];\n                } while ((iVar16 - 0x30U & 0xff) < 10);\n              }" else (compound_statement "{\n                if ((9 < (iVar16 - 0x30U & 0xff)) || (pcVar6[i_1] != ':')) goto LAB_0011e61c;\n                iVar20 = 0;\n                do {\n                  iVar20 = iVar16 + -0x30 + iVar20 * 10;\n                  iVar14 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[iVar14];\n                } while ((iVar16 - 0x30U & 0xff) < 10);\n              }" { (if_statement "if ((9 < (iVar16 - 0x30U & 0xff)) || (pcVar6[i_1] != ':')) goto LAB_0011e61c;" if (parenthesized_expression "((9 < (iVar16 - 0x30U & 0xff)) || (pcVar6[i_1] != ':'))" ( (binary_expression "(9 < (iVar16 - 0x30U & 0xff)) || (pcVar6[i_1] != ':')" (parenthesized_expression "(9 < (iVar16 - 0x30U & 0xff))" ( (binary_expression "9 < (iVar16 - 0x30U & 0xff)" number_literal < (parenthesized_expression "(iVar16 - 0x30U & 0xff)" ( (binary_expression "iVar16 - 0x30U & 0xff" (binary_expression "iVar16 - 0x30U" identifier - number_literal) & number_literal) ))) )) || (parenthesized_expression "(pcVar6[i_1] != ':')" ( (binary_expression "pcVar6[i_1] != ':'" (subscript_expression "pcVar6[i_1]" identifier [ identifier ]) != (char_literal "':'" ' character ')) ))) )) (goto_statement "goto LAB_0011e61c;" goto statement_identifier ;)) (expression_statement "iVar20 = 0;" (assignment_expression "iVar20 = 0" identifier = number_literal) ;) (do_statement "do {\n                  iVar20 = iVar16 + -0x30 + iVar20 * 10;\n                  iVar14 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[iVar14];\n                } while ((iVar16 - 0x30U & 0xff) < 10);" do (compound_statement "{\n                  iVar20 = iVar16 + -0x30 + iVar20 * 10;\n                  iVar14 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[iVar14];\n                }" { (expression_statement "iVar20 = iVar16 + -0x30 + iVar20 * 10;" (assignment_expression "iVar20 = iVar16 + -0x30 + iVar20 * 10" identifier = (binary_expression "iVar16 + -0x30 + iVar20 * 10" (binary_expression "iVar16 + -0x30" identifier + number_literal) + (binary_expression "iVar20 * 10" identifier * number_literal))) ;) (expression_statement "iVar14 = iVar14 + 1;" (assignment_expression "iVar14 = iVar14 + 1" identifier = (binary_expression "iVar14 + 1" identifier + number_literal)) ;) (expression_statement "iVar16 = (int)pcVar6[iVar14];" (assignment_expression "iVar16 = (int)pcVar6[iVar14]" identifier = (cast_expression "(int)pcVar6[iVar14]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar6[iVar14]" identifier [ identifier ]))) ;) }) while (parenthesized_expression "((iVar16 - 0x30U & 0xff) < 10)" ( (binary_expression "(iVar16 - 0x30U & 0xff) < 10" (parenthesized_expression "(iVar16 - 0x30U & 0xff)" ( (binary_expression "iVar16 - 0x30U & 0xff" (binary_expression "iVar16 - 0x30U" identifier - number_literal) & number_literal) )) < number_literal) )) ;) }))) (expression_statement "cVar1 = pcVar6[iVar14];" (assignment_expression "cVar1 = pcVar6[iVar14]" identifier = (subscript_expression "pcVar6[iVar14]" identifier [ identifier ])) ;) (if_statement "if (cVar1 == '^') {\n                iVar10 = 1;\nLAB_0011e838:\n                i_1 = iVar14 + 1;\nLAB_0011e83c:\n                bVar15 = iVar10 < iVar20;\nLAB_0011e840:\n                if (((!bVar15) || (iVar10 == 0x24)) || (iVar10 < 0)) goto LAB_0011e5a4;\n              }\n              else {\n                if (cVar1 == '*') {\n                  iVar10 = 0x24;\n                  goto LAB_0011e838;\n                }\n                iVar10 = iVar20;\n                i_1 = iVar14;\n                if (cVar1 == '-') {\nLAB_0011e8ac:\n                  i_1 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[i_1];\n                  if (9 < (iVar16 - 0x30U & 0xff)) {\n                    if (iVar16 != 0x24) {\n                      iVar10 = -1;\n                      goto LAB_0011e5a4;\n                    }\n                    i_1 = iVar14 + 2;\n                    iVar10 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar10 = 0;\n                  do {\n                    iVar10 = iVar16 + -0x30 + iVar10 * 10;\n                    i_1 = i_1 + 1;\n                    iVar16 = (int)pcVar6[i_1];\n                    bVar15 = iVar10 < iVar20;\n                  } while ((iVar16 - 0x30U & 0xff) < 10);\n                  goto LAB_0011e840;\n                }\nLAB_0011e5a4:\n                pcVar8 = history_arg_extract(iVar20,iVar10,pcVar7);\n                if (pcVar8 != (char *)0x0) {\nLAB_0011e5b8:\n                  if (pcVar8 != puVar21 + -0x336c) {\nLAB_0011e5c8:\n                    iVar20 = (*(code *)PTR_strlen_00158444)(pcVar8);\n                    uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                    (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar8);\n                    iVar20 = (*(code *)PTR_free_001585ac)(pcVar8);\n                    return iVar20;\n                  }\n                }\n              }" if (parenthesized_expression "(cVar1 == '^')" ( (binary_expression "cVar1 == '^'" identifier == (char_literal "'^'" ' character ')) )) (compound_statement "{\n                iVar10 = 1;\nLAB_0011e838:\n                i_1 = iVar14 + 1;\nLAB_0011e83c:\n                bVar15 = iVar10 < iVar20;\nLAB_0011e840:\n                if (((!bVar15) || (iVar10 == 0x24)) || (iVar10 < 0)) goto LAB_0011e5a4;\n              }" { (expression_statement "iVar10 = 1;" (assignment_expression "iVar10 = 1" identifier = number_literal) ;) (labeled_statement "LAB_0011e838:\n                i_1 = iVar14 + 1;" statement_identifier : (expression_statement "i_1 = iVar14 + 1;" (assignment_expression "i_1 = iVar14 + 1" identifier = (binary_expression "iVar14 + 1" identifier + number_literal)) ;)) (labeled_statement "LAB_0011e83c:\n                bVar15 = iVar10 < iVar20;" statement_identifier : (expression_statement "bVar15 = iVar10 < iVar20;" (assignment_expression "bVar15 = iVar10 < iVar20" identifier = (binary_expression "iVar10 < iVar20" identifier < identifier)) ;)) (labeled_statement "LAB_0011e840:\n                if (((!bVar15) || (iVar10 == 0x24)) || (iVar10 < 0)) goto LAB_0011e5a4;" statement_identifier : (if_statement "if (((!bVar15) || (iVar10 == 0x24)) || (iVar10 < 0)) goto LAB_0011e5a4;" if (parenthesized_expression "(((!bVar15) || (iVar10 == 0x24)) || (iVar10 < 0))" ( (binary_expression "((!bVar15) || (iVar10 == 0x24)) || (iVar10 < 0)" (parenthesized_expression "((!bVar15) || (iVar10 == 0x24))" ( (binary_expression "(!bVar15) || (iVar10 == 0x24)" (parenthesized_expression "(!bVar15)" ( (unary_expression "!bVar15" ! identifier) )) || (parenthesized_expression "(iVar10 == 0x24)" ( (binary_expression "iVar10 == 0x24" identifier == number_literal) ))) )) || (parenthesized_expression "(iVar10 < 0)" ( (binary_expression "iVar10 < 0" identifier < number_literal) ))) )) (goto_statement "goto LAB_0011e5a4;" goto statement_identifier ;))) }) (else_clause "else {\n                if (cVar1 == '*') {\n                  iVar10 = 0x24;\n                  goto LAB_0011e838;\n                }\n                iVar10 = iVar20;\n                i_1 = iVar14;\n                if (cVar1 == '-') {\nLAB_0011e8ac:\n                  i_1 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[i_1];\n                  if (9 < (iVar16 - 0x30U & 0xff)) {\n                    if (iVar16 != 0x24) {\n                      iVar10 = -1;\n                      goto LAB_0011e5a4;\n                    }\n                    i_1 = iVar14 + 2;\n                    iVar10 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar10 = 0;\n                  do {\n                    iVar10 = iVar16 + -0x30 + iVar10 * 10;\n                    i_1 = i_1 + 1;\n                    iVar16 = (int)pcVar6[i_1];\n                    bVar15 = iVar10 < iVar20;\n                  } while ((iVar16 - 0x30U & 0xff) < 10);\n                  goto LAB_0011e840;\n                }\nLAB_0011e5a4:\n                pcVar8 = history_arg_extract(iVar20,iVar10,pcVar7);\n                if (pcVar8 != (char *)0x0) {\nLAB_0011e5b8:\n                  if (pcVar8 != puVar21 + -0x336c) {\nLAB_0011e5c8:\n                    iVar20 = (*(code *)PTR_strlen_00158444)(pcVar8);\n                    uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                    (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar8);\n                    iVar20 = (*(code *)PTR_free_001585ac)(pcVar8);\n                    return iVar20;\n                  }\n                }\n              }" else (compound_statement "{\n                if (cVar1 == '*') {\n                  iVar10 = 0x24;\n                  goto LAB_0011e838;\n                }\n                iVar10 = iVar20;\n                i_1 = iVar14;\n                if (cVar1 == '-') {\nLAB_0011e8ac:\n                  i_1 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[i_1];\n                  if (9 < (iVar16 - 0x30U & 0xff)) {\n                    if (iVar16 != 0x24) {\n                      iVar10 = -1;\n                      goto LAB_0011e5a4;\n                    }\n                    i_1 = iVar14 + 2;\n                    iVar10 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar10 = 0;\n                  do {\n                    iVar10 = iVar16 + -0x30 + iVar10 * 10;\n                    i_1 = i_1 + 1;\n                    iVar16 = (int)pcVar6[i_1];\n                    bVar15 = iVar10 < iVar20;\n                  } while ((iVar16 - 0x30U & 0xff) < 10);\n                  goto LAB_0011e840;\n                }\nLAB_0011e5a4:\n                pcVar8 = history_arg_extract(iVar20,iVar10,pcVar7);\n                if (pcVar8 != (char *)0x0) {\nLAB_0011e5b8:\n                  if (pcVar8 != puVar21 + -0x336c) {\nLAB_0011e5c8:\n                    iVar20 = (*(code *)PTR_strlen_00158444)(pcVar8);\n                    uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                    (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar8);\n                    iVar20 = (*(code *)PTR_free_001585ac)(pcVar8);\n                    return iVar20;\n                  }\n                }\n              }" { (if_statement "if (cVar1 == '*') {\n                  iVar10 = 0x24;\n                  goto LAB_0011e838;\n                }" if (parenthesized_expression "(cVar1 == '*')" ( (binary_expression "cVar1 == '*'" identifier == (char_literal "'*'" ' character ')) )) (compound_statement "{\n                  iVar10 = 0x24;\n                  goto LAB_0011e838;\n                }" { (expression_statement "iVar10 = 0x24;" (assignment_expression "iVar10 = 0x24" identifier = number_literal) ;) (goto_statement "goto LAB_0011e838;" goto statement_identifier ;) })) (expression_statement "iVar10 = iVar20;" (assignment_expression "iVar10 = iVar20" identifier = identifier) ;) (expression_statement "i_1 = iVar14;" (assignment_expression "i_1 = iVar14" identifier = identifier) ;) (if_statement "if (cVar1 == '-') {\nLAB_0011e8ac:\n                  i_1 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[i_1];\n                  if (9 < (iVar16 - 0x30U & 0xff)) {\n                    if (iVar16 != 0x24) {\n                      iVar10 = -1;\n                      goto LAB_0011e5a4;\n                    }\n                    i_1 = iVar14 + 2;\n                    iVar10 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar10 = 0;\n                  do {\n                    iVar10 = iVar16 + -0x30 + iVar10 * 10;\n                    i_1 = i_1 + 1;\n                    iVar16 = (int)pcVar6[i_1];\n                    bVar15 = iVar10 < iVar20;\n                  } while ((iVar16 - 0x30U & 0xff) < 10);\n                  goto LAB_0011e840;\n                }" if (parenthesized_expression "(cVar1 == '-')" ( (binary_expression "cVar1 == '-'" identifier == (char_literal "'-'" ' character ')) )) (compound_statement "{\nLAB_0011e8ac:\n                  i_1 = iVar14 + 1;\n                  iVar16 = (int)pcVar6[i_1];\n                  if (9 < (iVar16 - 0x30U & 0xff)) {\n                    if (iVar16 != 0x24) {\n                      iVar10 = -1;\n                      goto LAB_0011e5a4;\n                    }\n                    i_1 = iVar14 + 2;\n                    iVar10 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar10 = 0;\n                  do {\n                    iVar10 = iVar16 + -0x30 + iVar10 * 10;\n                    i_1 = i_1 + 1;\n                    iVar16 = (int)pcVar6[i_1];\n                    bVar15 = iVar10 < iVar20;\n                  } while ((iVar16 - 0x30U & 0xff) < 10);\n                  goto LAB_0011e840;\n                }" { (labeled_statement "LAB_0011e8ac:\n                  i_1 = iVar14 + 1;" statement_identifier : (expression_statement "i_1 = iVar14 + 1;" (assignment_expression "i_1 = iVar14 + 1" identifier = (binary_expression "iVar14 + 1" identifier + number_literal)) ;)) (expression_statement "iVar16 = (int)pcVar6[i_1];" (assignment_expression "iVar16 = (int)pcVar6[i_1]" identifier = (cast_expression "(int)pcVar6[i_1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar6[i_1]" identifier [ identifier ]))) ;) (if_statement "if (9 < (iVar16 - 0x30U & 0xff)) {\n                    if (iVar16 != 0x24) {\n                      iVar10 = -1;\n                      goto LAB_0011e5a4;\n                    }\n                    i_1 = iVar14 + 2;\n                    iVar10 = 0x24;\n                    goto LAB_0011e83c;\n                  }" if (parenthesized_expression "(9 < (iVar16 - 0x30U & 0xff))" ( (binary_expression "9 < (iVar16 - 0x30U & 0xff)" number_literal < (parenthesized_expression "(iVar16 - 0x30U & 0xff)" ( (binary_expression "iVar16 - 0x30U & 0xff" (binary_expression "iVar16 - 0x30U" identifier - number_literal) & number_literal) ))) )) (compound_statement "{\n                    if (iVar16 != 0x24) {\n                      iVar10 = -1;\n                      goto LAB_0011e5a4;\n                    }\n                    i_1 = iVar14 + 2;\n                    iVar10 = 0x24;\n                    goto LAB_0011e83c;\n                  }" { (if_statement "if (iVar16 != 0x24) {\n                      iVar10 = -1;\n                      goto LAB_0011e5a4;\n                    }" if (parenthesized_expression "(iVar16 != 0x24)" ( (binary_expression "iVar16 != 0x24" identifier != number_literal) )) (compound_statement "{\n                      iVar10 = -1;\n                      goto LAB_0011e5a4;\n                    }" { (expression_statement "iVar10 = -1;" (assignment_expression "iVar10 = -1" identifier = number_literal) ;) (goto_statement "goto LAB_0011e5a4;" goto statement_identifier ;) })) (expression_statement "i_1 = iVar14 + 2;" (assignment_expression "i_1 = iVar14 + 2" identifier = (binary_expression "iVar14 + 2" identifier + number_literal)) ;) (expression_statement "iVar10 = 0x24;" (assignment_expression "iVar10 = 0x24" identifier = number_literal) ;) (goto_statement "goto LAB_0011e83c;" goto statement_identifier ;) })) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (do_statement "do {\n                    iVar10 = iVar16 + -0x30 + iVar10 * 10;\n                    i_1 = i_1 + 1;\n                    iVar16 = (int)pcVar6[i_1];\n                    bVar15 = iVar10 < iVar20;\n                  } while ((iVar16 - 0x30U & 0xff) < 10);" do (compound_statement "{\n                    iVar10 = iVar16 + -0x30 + iVar10 * 10;\n                    i_1 = i_1 + 1;\n                    iVar16 = (int)pcVar6[i_1];\n                    bVar15 = iVar10 < iVar20;\n                  }" { (expression_statement "iVar10 = iVar16 + -0x30 + iVar10 * 10;" (assignment_expression "iVar10 = iVar16 + -0x30 + iVar10 * 10" identifier = (binary_expression "iVar16 + -0x30 + iVar10 * 10" (binary_expression "iVar16 + -0x30" identifier + number_literal) + (binary_expression "iVar10 * 10" identifier * number_literal))) ;) (expression_statement "i_1 = i_1 + 1;" (assignment_expression "i_1 = i_1 + 1" identifier = (binary_expression "i_1 + 1" identifier + number_literal)) ;) (expression_statement "iVar16 = (int)pcVar6[i_1];" (assignment_expression "iVar16 = (int)pcVar6[i_1]" identifier = (cast_expression "(int)pcVar6[i_1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar6[i_1]" identifier [ identifier ]))) ;) (expression_statement "bVar15 = iVar10 < iVar20;" (assignment_expression "bVar15 = iVar10 < iVar20" identifier = (binary_expression "iVar10 < iVar20" identifier < identifier)) ;) }) while (parenthesized_expression "((iVar16 - 0x30U & 0xff) < 10)" ( (binary_expression "(iVar16 - 0x30U & 0xff) < 10" (parenthesized_expression "(iVar16 - 0x30U & 0xff)" ( (binary_expression "iVar16 - 0x30U & 0xff" (binary_expression "iVar16 - 0x30U" identifier - number_literal) & number_literal) )) < number_literal) )) ;) (goto_statement "goto LAB_0011e840;" goto statement_identifier ;) })) (labeled_statement "LAB_0011e5a4:\n                pcVar8 = history_arg_extract(iVar20,iVar10,pcVar7);" statement_identifier : (expression_statement "pcVar8 = history_arg_extract(iVar20,iVar10,pcVar7);" (assignment_expression "pcVar8 = history_arg_extract(iVar20,iVar10,pcVar7)" identifier = (call_expression "history_arg_extract(iVar20,iVar10,pcVar7)" identifier (argument_list "(iVar20,iVar10,pcVar7)" ( identifier , identifier , identifier )))) ;)) (if_statement "if (pcVar8 != (char *)0x0) {\nLAB_0011e5b8:\n                  if (pcVar8 != puVar21 + -0x336c) {\nLAB_0011e5c8:\n                    iVar20 = (*(code *)PTR_strlen_00158444)(pcVar8);\n                    uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                    (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar8);\n                    iVar20 = (*(code *)PTR_free_001585ac)(pcVar8);\n                    return iVar20;\n                  }\n                }" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_0011e5b8:\n                  if (pcVar8 != puVar21 + -0x336c) {\nLAB_0011e5c8:\n                    iVar20 = (*(code *)PTR_strlen_00158444)(pcVar8);\n                    uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                    (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar8);\n                    iVar20 = (*(code *)PTR_free_001585ac)(pcVar8);\n                    return iVar20;\n                  }\n                }" { (labeled_statement "LAB_0011e5b8:\n                  if (pcVar8 != puVar21 + -0x336c) {\nLAB_0011e5c8:\n                    iVar20 = (*(code *)PTR_strlen_00158444)(pcVar8);\n                    uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                    (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar8);\n                    iVar20 = (*(code *)PTR_free_001585ac)(pcVar8);\n                    return iVar20;\n                  }" statement_identifier : (if_statement "if (pcVar8 != puVar21 + -0x336c) {\nLAB_0011e5c8:\n                    iVar20 = (*(code *)PTR_strlen_00158444)(pcVar8);\n                    uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                    (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar8);\n                    iVar20 = (*(code *)PTR_free_001585ac)(pcVar8);\n                    return iVar20;\n                  }" if (parenthesized_expression "(pcVar8 != puVar21 + -0x336c)" ( (binary_expression "pcVar8 != puVar21 + -0x336c" identifier != (binary_expression "puVar21 + -0x336c" identifier + number_literal)) )) (compound_statement "{\nLAB_0011e5c8:\n                    iVar20 = (*(code *)PTR_strlen_00158444)(pcVar8);\n                    uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                    (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar8);\n                    iVar20 = (*(code *)PTR_free_001585ac)(pcVar8);\n                    return iVar20;\n                  }" { (labeled_statement "LAB_0011e5c8:\n                    iVar20 = (*(code *)PTR_strlen_00158444)(pcVar8);" statement_identifier : (expression_statement "iVar20 = (*(code *)PTR_strlen_00158444)(pcVar8);" (assignment_expression "iVar20 = (*(code *)PTR_strlen_00158444)(pcVar8)" identifier = (call_expression "(*(code *)PTR_strlen_00158444)(pcVar8)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar8)" ( identifier )))) ;)) (expression_statement "uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);" (assignment_expression "uVar11 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001565b8)(iVar20 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar20 + 1)" ( (binary_expression "iVar20 + 1" identifier + number_literal) )))) ;) (expression_statement "(*(code *)PTR_strcpy_001584cc)(uVar11,pcVar8);" (call_expression "(*(code *)PTR_strcpy_001584cc)(uVar11,pcVar8)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" ( (pointer_expression "*(code *)PTR_strcpy_001584cc" * (cast_expression "(code *)PTR_strcpy_001584cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar11,pcVar8)" ( identifier , identifier ))) ;) (expression_statement "iVar20 = (*(code *)PTR_free_001585ac)(pcVar8);" (assignment_expression "iVar20 = (*(code *)PTR_free_001585ac)(pcVar8)" identifier = (call_expression "(*(code *)PTR_free_001585ac)(pcVar8)" (parenthesized_expression "(*(code *)PTR_free_001585ac)" ( (pointer_expression "*(code *)PTR_free_001585ac" * (cast_expression "(code *)PTR_free_001585ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar8)" ( identifier )))) ;) (return_statement "return iVar20;" return identifier ;) }))) })) }))) (labeled_statement "LAB_0011e864:\n              pcVar7 = hist_error(pcVar6,iVar18,i_1,1);" statement_identifier : (expression_statement "pcVar7 = hist_error(pcVar6,iVar18,i_1,1);" (assignment_expression "pcVar7 = hist_error(pcVar6,iVar18,i_1,1)" identifier = (call_expression "hist_error(pcVar6,iVar18,i_1,1)" identifier (argument_list "(pcVar6,iVar18,i_1,1)" ( identifier , identifier , identifier , number_literal )))) ;)) (expression_statement "(*(code *)PTR_xfree_00156bb4)(local_c0);" (call_expression "(*(code *)PTR_xfree_00156bb4)(local_c0)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" ( (pointer_expression "*(code *)PTR_xfree_00156bb4" * (cast_expression "(code *)PTR_xfree_00156bb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_c0)" ( identifier ))) ;) }))) (labeled_statement "LAB_0011e9e8:\n            *output = pcVar7;" statement_identifier : (expression_statement "*output = pcVar7;" (assignment_expression "*output = pcVar7" (pointer_expression "*output" * identifier) = identifier) ;)) (expression_statement "(*(code *)PTR_xfree_00156bb4)(pcVar4);" (call_expression "(*(code *)PTR_xfree_00156bb4)(pcVar4)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" ( (pointer_expression "*(code *)PTR_xfree_00156bb4" * (cast_expression "(code *)PTR_xfree_00156bb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4)" ( identifier ))) ;) (if_statement "if (pcVar6 == hstring) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }" if (parenthesized_expression "(pcVar6 == hstring)" ( (binary_expression "pcVar6 == hstring" identifier == identifier) )) (compound_statement "{\n              uVar3 = 0xffffffff;\n            }" { (expression_statement "uVar3 = 0xffffffff;" (assignment_expression "uVar3 = 0xffffffff" identifier = number_literal) ;) }) (else_clause "else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }" else (compound_statement "{\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }" { (expression_statement "(*(code *)PTR_xfree_00156bb4)(pcVar6);" (call_expression "(*(code *)PTR_xfree_00156bb4)(pcVar6)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" ( (pointer_expression "*(code *)PTR_xfree_00156bb4" * (cast_expression "(code *)PTR_xfree_00156bb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar6)" ( identifier ))) ;) (expression_statement "uVar3 = 0xffffffff;" (assignment_expression "uVar3 = 0xffffffff" identifier = number_literal) ;) }))) (goto_statement "goto LAB_0011f678;" goto statement_identifier ;) })) (if_statement "if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }" if (parenthesized_expression "(iVar20 + -1 <= iVar10)" ( (binary_expression "iVar20 + -1 <= iVar10" (binary_expression "iVar20 + -1" identifier + number_literal) <= identifier) )) (compound_statement "{\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }" { (expression_statement "iVar20 = iVar20 + 0x40;" (assignment_expression "iVar20 = iVar20 + 0x40" identifier = (binary_expression "iVar20 + 0x40" identifier + number_literal)) ;) (expression_statement "pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);" (assignment_expression "pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" identifier = (cast_expression "(char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4,iVar20)" ( identifier , identifier ))))) ;) })) (expression_statement "pcVar4[iVar10] = pcVar6[i];" (assignment_expression "pcVar4[iVar10] = pcVar6[i]" (subscript_expression "pcVar4[iVar10]" identifier [ identifier ]) = (subscript_expression "pcVar6[i]" identifier [ identifier ])) ;) (expression_statement "pcVar4[iVar10 + 1] = '\0';" (assignment_expression "pcVar4[iVar10 + 1] = '\0'" (subscript_expression "pcVar4[iVar10 + 1]" identifier [ (binary_expression "iVar10 + 1" identifier + number_literal) ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "iVar18 = iVar10 + 1;" (assignment_expression "iVar18 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) }) (else_clause "else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((i == 0 ||\n              ((pcVar6[i + -1] != '\0' &&\n               (iVar14 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar14 != 0)))))) {\n            uVar11 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar18) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar6 + i);\n            iVar14 = (*(code *)PTR_strlen_00158444)(uVar11);\n            iVar18 = iVar10 + iVar14;\n            iVar10 = iVar20;\n            if (iVar20 <= iVar18) {\n              do {\n                iVar10 = iVar10 + 0x80;\n              } while (iVar10 <= iVar18);\n              iVar20 = iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U);\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar14),uVar11);\n            (*(code *)PTR_xfree_00156bb4)(uVar11);\n            i = local_c8;\n          }\n          else {\n            if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            pcVar4[iVar10] = pcVar6[i];\n            pcVar4[iVar10 + 1] = '\0';\n            iVar18 = iVar10 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          iVar18 = iVar10 + 1;\n          pcVar4[iVar10] = '\"';\n          pcVar4[iVar18] = '\0';\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = pcVar6[i];\n          pcVar4[iVar10 + 1] = '\0';\n          iVar18 = iVar10 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar20 + -1 <= iVar10) {\n                  iVar20 = iVar20 + 0x40;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                pcVar4[iVar10] = pcVar6[i];\n                pcVar4[iVar10 + 1] = '\0';\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar18 = iVar10 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (i < 1) {\n                  uVar3 = 0;\n                }\n                else {\n                  uVar3 = (uint)(pcVar6[i + -1] == '$');\n                }\n                i = i + 1;\n                hist_string_extract_single_quoted(pcVar6,&i,uVar3);\n                iVar16 = i - iVar18;\n                iVar19 = iVar16 + 2;\n                iVar14 = (*(code *)PTR_xmalloc_001565b8)(iVar19);\n                (*(code *)PTR_strncpy_001583e4)(iVar14,pcVar6 + iVar18,iVar19);\n                *(undefined1 *)(iVar14 + iVar16 + 1) = 0;\n                iVar16 = (*(code *)PTR_strlen_00158444)(iVar14);\n                iVar18 = iVar10 + iVar16;\n                iVar10 = iVar20;\n                if (iVar20 <= iVar18) {\n                  do {\n                    iVar10 = iVar10 + 0x80;\n                  } while (iVar10 <= iVar18);\n                  iVar20 = (iVar18 - iVar20 & 0xffffff80U) + iVar20 + 0x80;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar16),iVar14);\n                (*(code *)PTR_xfree_00156bb4)(iVar14);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar20 + -1 <= iVar10) {\n                iVar20 = iVar20 + 0x40;\n                pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n              }\n              pcVar4[iVar10] = pcVar6[i];\n              pcVar4[iVar10 + 1] = '\0';\n              uVar3 = local_b0;\n              iVar18 = iVar10 + 1;\n            }\n          }\n          else {\n            if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            pcVar4[iVar10] = '\'';\n            pcVar4[iVar10 + 1] = '\0';\n            iVar18 = iVar10 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = '\\';\n          pcVar4[iVar10 + 1] = '\0';\n          uVar3 = 1;\n          iVar18 = iVar10 + 1;\n        }" else (if_statement "if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((i == 0 ||\n              ((pcVar6[i + -1] != '\0' &&\n               (iVar14 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar14 != 0)))))) {\n            uVar11 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar18) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar6 + i);\n            iVar14 = (*(code *)PTR_strlen_00158444)(uVar11);\n            iVar18 = iVar10 + iVar14;\n            iVar10 = iVar20;\n            if (iVar20 <= iVar18) {\n              do {\n                iVar10 = iVar10 + 0x80;\n              } while (iVar10 <= iVar18);\n              iVar20 = iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U);\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar14),uVar11);\n            (*(code *)PTR_xfree_00156bb4)(uVar11);\n            i = local_c8;\n          }\n          else {\n            if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            pcVar4[iVar10] = pcVar6[i];\n            pcVar4[iVar10 + 1] = '\0';\n            iVar18 = iVar10 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          iVar18 = iVar10 + 1;\n          pcVar4[iVar10] = '\"';\n          pcVar4[iVar18] = '\0';\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = pcVar6[i];\n          pcVar4[iVar10 + 1] = '\0';\n          iVar18 = iVar10 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar20 + -1 <= iVar10) {\n                  iVar20 = iVar20 + 0x40;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                pcVar4[iVar10] = pcVar6[i];\n                pcVar4[iVar10 + 1] = '\0';\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar18 = iVar10 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (i < 1) {\n                  uVar3 = 0;\n                }\n                else {\n                  uVar3 = (uint)(pcVar6[i + -1] == '$');\n                }\n                i = i + 1;\n                hist_string_extract_single_quoted(pcVar6,&i,uVar3);\n                iVar16 = i - iVar18;\n                iVar19 = iVar16 + 2;\n                iVar14 = (*(code *)PTR_xmalloc_001565b8)(iVar19);\n                (*(code *)PTR_strncpy_001583e4)(iVar14,pcVar6 + iVar18,iVar19);\n                *(undefined1 *)(iVar14 + iVar16 + 1) = 0;\n                iVar16 = (*(code *)PTR_strlen_00158444)(iVar14);\n                iVar18 = iVar10 + iVar16;\n                iVar10 = iVar20;\n                if (iVar20 <= iVar18) {\n                  do {\n                    iVar10 = iVar10 + 0x80;\n                  } while (iVar10 <= iVar18);\n                  iVar20 = (iVar18 - iVar20 & 0xffffff80U) + iVar20 + 0x80;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar16),iVar14);\n                (*(code *)PTR_xfree_00156bb4)(iVar14);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar20 + -1 <= iVar10) {\n                iVar20 = iVar20 + 0x40;\n                pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n              }\n              pcVar4[iVar10] = pcVar6[i];\n              pcVar4[iVar10 + 1] = '\0';\n              uVar3 = local_b0;\n              iVar18 = iVar10 + 1;\n            }\n          }\n          else {\n            if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            pcVar4[iVar10] = '\'';\n            pcVar4[iVar10 + 1] = '\0';\n            iVar18 = iVar10 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = '\\';\n          pcVar4[iVar10 + 1] = '\0';\n          uVar3 = 1;\n          iVar18 = iVar10 + 1;\n        }" if (parenthesized_expression "(*PTR_history_comment_char_00156f80 == cVar1)" ( (binary_expression "*PTR_history_comment_char_00156f80 == cVar1" (pointer_expression "*PTR_history_comment_char_00156f80" * identifier) == identifier) )) (compound_statement "{\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((i == 0 ||\n              ((pcVar6[i + -1] != '\0' &&\n               (iVar14 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar14 != 0)))))) {\n            uVar11 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar18) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar6 + i);\n            iVar14 = (*(code *)PTR_strlen_00158444)(uVar11);\n            iVar18 = iVar10 + iVar14;\n            iVar10 = iVar20;\n            if (iVar20 <= iVar18) {\n              do {\n                iVar10 = iVar10 + 0x80;\n              } while (iVar10 <= iVar18);\n              iVar20 = iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U);\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar14),uVar11);\n            (*(code *)PTR_xfree_00156bb4)(uVar11);\n            i = local_c8;\n          }\n          else {\n            if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            pcVar4[iVar10] = pcVar6[i];\n            pcVar4[iVar10 + 1] = '\0';\n            iVar18 = iVar10 + 1;\n          }\n        }" { (labeled_statement "LAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((i == 0 ||\n              ((pcVar6[i + -1] != '\0' &&\n               (iVar14 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar14 != 0)))))) {\n            uVar11 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar18) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar6 + i);\n            iVar14 = (*(code *)PTR_strlen_00158444)(uVar11);\n            iVar18 = iVar10 + iVar14;\n            iVar10 = iVar20;\n            if (iVar20 <= iVar18) {\n              do {\n                iVar10 = iVar10 + 0x80;\n              } while (iVar10 <= iVar18);\n              iVar20 = iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U);\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar14),uVar11);\n            (*(code *)PTR_xfree_00156bb4)(uVar11);\n            i = local_c8;\n          }\n          else {\n            if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            pcVar4[iVar10] = pcVar6[i];\n            pcVar4[iVar10 + 1] = '\0';\n            iVar18 = iVar10 + 1;\n          }" statement_identifier : (if_statement "if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((i == 0 ||\n              ((pcVar6[i + -1] != '\0' &&\n               (iVar14 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar14 != 0)))))) {\n            uVar11 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar18) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar6 + i);\n            iVar14 = (*(code *)PTR_strlen_00158444)(uVar11);\n            iVar18 = iVar10 + iVar14;\n            iVar10 = iVar20;\n            if (iVar20 <= iVar18) {\n              do {\n                iVar10 = iVar10 + 0x80;\n              } while (iVar10 <= iVar18);\n              iVar20 = iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U);\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar14),uVar11);\n            (*(code *)PTR_xfree_00156bb4)(uVar11);\n            i = local_c8;\n          }\n          else {\n            if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            pcVar4[iVar10] = pcVar6[i];\n            pcVar4[iVar10 + 1] = '\0';\n            iVar18 = iVar10 + 1;\n          }" if (parenthesized_expression "(((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((i == 0 ||\n              ((pcVar6[i + -1] != '\0' &&\n               (iVar14 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar14 != 0))))))" ( (binary_expression "((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((i == 0 ||\n              ((pcVar6[i + -1] != '\0' &&\n               (iVar14 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar14 != 0)))))" (parenthesized_expression "((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0))" ( (binary_expression "(local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)" (parenthesized_expression "(local_c4 == 0)" ( (binary_expression "local_c4 == 0" identifier == number_literal) )) || (parenthesized_expression "(*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)" ( (binary_expression "*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0" (pointer_expression "*(int *)PTR_history_quotes_inhibit_expansion_00157524" * (cast_expression "(int *)PTR_history_quotes_inhibit_expansion_00157524" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) ))) )) && (parenthesized_expression "((i == 0 ||\n              ((pcVar6[i + -1] != '\0' &&\n               (iVar14 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar14 != 0)))))" ( (parenthesized_expression "(i == 0 ||\n              ((pcVar6[i + -1] != '\0' &&\n               (iVar14 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar14 != 0))))" ( (binary_expression "i == 0 ||\n              ((pcVar6[i + -1] != '\0' &&\n               (iVar14 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar14 != 0)))" (binary_expression "i == 0" identifier == number_literal) || (parenthesized_expression "((pcVar6[i + -1] != '\0' &&\n               (iVar14 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar14 != 0)))" ( (parenthesized_expression "(pcVar6[i + -1] != '\0' &&\n               (iVar14 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar14 != 0))" ( (binary_expression "pcVar6[i + -1] != '\0' &&\n               (iVar14 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar14 != 0)" (binary_expression "pcVar6[i + -1] != '\0'" (subscript_expression "pcVar6[i + -1]" identifier [ (binary_expression "i + -1" identifier + number_literal) ]) != (char_literal "'\0'" ' escape_sequence ')) && (parenthesized_expression "(iVar14 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar14 != 0)" ( (comma_expression "iVar14 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar14 != 0" (assignment_expression "iVar14 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c)" identifier = (call_expression "(*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c)" (parenthesized_expression "(*(code *)PTR_strchr_0015844c)" ( (pointer_expression "*(code *)PTR_strchr_0015844c" * (cast_expression "(code *)PTR_strchr_0015844c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_history_word_delimiters_0015825c)" ( (pointer_expression "*(undefined4 *)PTR_history_word_delimiters_0015825c" * (cast_expression "(undefined4 *)PTR_history_word_delimiters_0015825c" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )))) , (binary_expression "iVar14 != 0" identifier != number_literal)) ))) )) ))) )) ))) )) (compound_statement "{\n            uVar11 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar18) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar11,pcVar6 + i);\n            iVar14 = (*(code *)PTR_strlen_00158444)(uVar11);\n            iVar18 = iVar10 + iVar14;\n            iVar10 = iVar20;\n            if (iVar20 <= iVar18) {\n              do {\n                iVar10 = iVar10 + 0x80;\n              } while (iVar10 <= iVar18);\n              iVar20 = iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U);\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar14),uVar11);\n            (*(code *)PTR_xfree_00156bb4)(uVar11);\n            i = local_c8;\n          }" { (expression_statement "uVar11 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar18) + 1);" (assignment_expression "uVar11 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar18) + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar18) + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((local_c8 - iVar18) + 1)" ( (binary_expression "(local_c8 - iVar18) + 1" (parenthesized_expression "(local_c8 - iVar18)" ( (binary_expression "local_c8 - iVar18" identifier - identifier) )) + number_literal) )))) ;) (expression_statement "(*(code *)PTR_strcpy_001584cc)(uVar11,pcVar6 + i);" (call_expression "(*(code *)PTR_strcpy_001584cc)(uVar11,pcVar6 + i)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" ( (pointer_expression "*(code *)PTR_strcpy_001584cc" * (cast_expression "(code *)PTR_strcpy_001584cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar11,pcVar6 + i)" ( identifier , (binary_expression "pcVar6 + i" identifier + identifier) ))) ;) (expression_statement "iVar14 = (*(code *)PTR_strlen_00158444)(uVar11);" (assignment_expression "iVar14 = (*(code *)PTR_strlen_00158444)(uVar11)" identifier = (call_expression "(*(code *)PTR_strlen_00158444)(uVar11)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar11)" ( identifier )))) ;) (expression_statement "iVar18 = iVar10 + iVar14;" (assignment_expression "iVar18 = iVar10 + iVar14" identifier = (binary_expression "iVar10 + iVar14" identifier + identifier)) ;) (expression_statement "iVar10 = iVar20;" (assignment_expression "iVar10 = iVar20" identifier = identifier) ;) (if_statement "if (iVar20 <= iVar18) {\n              do {\n                iVar10 = iVar10 + 0x80;\n              } while (iVar10 <= iVar18);\n              iVar20 = iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U);\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }" if (parenthesized_expression "(iVar20 <= iVar18)" ( (binary_expression "iVar20 <= iVar18" identifier <= identifier) )) (compound_statement "{\n              do {\n                iVar10 = iVar10 + 0x80;\n              } while (iVar10 <= iVar18);\n              iVar20 = iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U);\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }" { (do_statement "do {\n                iVar10 = iVar10 + 0x80;\n              } while (iVar10 <= iVar18);" do (compound_statement "{\n                iVar10 = iVar10 + 0x80;\n              }" { (expression_statement "iVar10 = iVar10 + 0x80;" (assignment_expression "iVar10 = iVar10 + 0x80" identifier = (binary_expression "iVar10 + 0x80" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar10 <= iVar18)" ( (binary_expression "iVar10 <= iVar18" identifier <= identifier) )) ;) (expression_statement "iVar20 = iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U);" (assignment_expression "iVar20 = iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U)" identifier = (binary_expression "iVar20 + 0x80 + (iVar18 - iVar20 & 0xffffff80U)" (binary_expression "iVar20 + 0x80" identifier + number_literal) + (parenthesized_expression "(iVar18 - iVar20 & 0xffffff80U)" ( (binary_expression "iVar18 - iVar20 & 0xffffff80U" (binary_expression "iVar18 - iVar20" identifier - identifier) & number_literal) )))) ;) (expression_statement "pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);" (assignment_expression "pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" identifier = (cast_expression "(char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4,iVar20)" ( identifier , identifier ))))) ;) })) (expression_statement "(*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar14),uVar11);" (call_expression "(*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar14),uVar11)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" ( (pointer_expression "*(code *)PTR_strcpy_001584cc" * (cast_expression "(code *)PTR_strcpy_001584cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4 + (iVar18 - iVar14),uVar11)" ( (binary_expression "pcVar4 + (iVar18 - iVar14)" identifier + (parenthesized_expression "(iVar18 - iVar14)" ( (binary_expression "iVar18 - iVar14" identifier - identifier) ))) , identifier ))) ;) (expression_statement "(*(code *)PTR_xfree_00156bb4)(uVar11);" (call_expression "(*(code *)PTR_xfree_00156bb4)(uVar11)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" ( (pointer_expression "*(code *)PTR_xfree_00156bb4" * (cast_expression "(code *)PTR_xfree_00156bb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar11)" ( identifier ))) ;) (expression_statement "i = local_c8;" (assignment_expression "i = local_c8" identifier = identifier) ;) }) (else_clause "else {\n            if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            pcVar4[iVar10] = pcVar6[i];\n            pcVar4[iVar10 + 1] = '\0';\n            iVar18 = iVar10 + 1;\n          }" else (compound_statement "{\n            if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            pcVar4[iVar10] = pcVar6[i];\n            pcVar4[iVar10 + 1] = '\0';\n            iVar18 = iVar10 + 1;\n          }" { (if_statement "if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }" if (parenthesized_expression "(iVar20 + -1 <= iVar10)" ( (binary_expression "iVar20 + -1 <= iVar10" (binary_expression "iVar20 + -1" identifier + number_literal) <= identifier) )) (compound_statement "{\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }" { (expression_statement "iVar20 = iVar20 + 0x40;" (assignment_expression "iVar20 = iVar20 + 0x40" identifier = (binary_expression "iVar20 + 0x40" identifier + number_literal)) ;) (expression_statement "pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);" (assignment_expression "pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" identifier = (cast_expression "(char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4,iVar20)" ( identifier , identifier ))))) ;) })) (expression_statement "pcVar4[iVar10] = pcVar6[i];" (assignment_expression "pcVar4[iVar10] = pcVar6[i]" (subscript_expression "pcVar4[iVar10]" identifier [ identifier ]) = (subscript_expression "pcVar6[i]" identifier [ identifier ])) ;) (expression_statement "pcVar4[iVar10 + 1] = '\0';" (assignment_expression "pcVar4[iVar10 + 1] = '\0'" (subscript_expression "pcVar4[iVar10 + 1]" identifier [ (binary_expression "iVar10 + 1" identifier + number_literal) ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "iVar18 = iVar10 + 1;" (assignment_expression "iVar18 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) })))) }) (else_clause "else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          iVar18 = iVar10 + 1;\n          pcVar4[iVar10] = '\"';\n          pcVar4[iVar18] = '\0';\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = pcVar6[i];\n          pcVar4[iVar10 + 1] = '\0';\n          iVar18 = iVar10 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar20 + -1 <= iVar10) {\n                  iVar20 = iVar20 + 0x40;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                pcVar4[iVar10] = pcVar6[i];\n                pcVar4[iVar10 + 1] = '\0';\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar18 = iVar10 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (i < 1) {\n                  uVar3 = 0;\n                }\n                else {\n                  uVar3 = (uint)(pcVar6[i + -1] == '$');\n                }\n                i = i + 1;\n                hist_string_extract_single_quoted(pcVar6,&i,uVar3);\n                iVar16 = i - iVar18;\n                iVar19 = iVar16 + 2;\n                iVar14 = (*(code *)PTR_xmalloc_001565b8)(iVar19);\n                (*(code *)PTR_strncpy_001583e4)(iVar14,pcVar6 + iVar18,iVar19);\n                *(undefined1 *)(iVar14 + iVar16 + 1) = 0;\n                iVar16 = (*(code *)PTR_strlen_00158444)(iVar14);\n                iVar18 = iVar10 + iVar16;\n                iVar10 = iVar20;\n                if (iVar20 <= iVar18) {\n                  do {\n                    iVar10 = iVar10 + 0x80;\n                  } while (iVar10 <= iVar18);\n                  iVar20 = (iVar18 - iVar20 & 0xffffff80U) + iVar20 + 0x80;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar16),iVar14);\n                (*(code *)PTR_xfree_00156bb4)(iVar14);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar20 + -1 <= iVar10) {\n                iVar20 = iVar20 + 0x40;\n                pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n              }\n              pcVar4[iVar10] = pcVar6[i];\n              pcVar4[iVar10 + 1] = '\0';\n              uVar3 = local_b0;\n              iVar18 = iVar10 + 1;\n            }\n          }\n          else {\n            if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            pcVar4[iVar10] = '\'';\n            pcVar4[iVar10 + 1] = '\0';\n            iVar18 = iVar10 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = '\\';\n          pcVar4[iVar10 + 1] = '\0';\n          uVar3 = 1;\n          iVar18 = iVar10 + 1;\n        }" else (if_statement "if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          iVar18 = iVar10 + 1;\n          pcVar4[iVar10] = '\"';\n          pcVar4[iVar18] = '\0';\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = pcVar6[i];\n          pcVar4[iVar10 + 1] = '\0';\n          iVar18 = iVar10 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar20 + -1 <= iVar10) {\n                  iVar20 = iVar20 + 0x40;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                pcVar4[iVar10] = pcVar6[i];\n                pcVar4[iVar10 + 1] = '\0';\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar18 = iVar10 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (i < 1) {\n                  uVar3 = 0;\n                }\n                else {\n                  uVar3 = (uint)(pcVar6[i + -1] == '$');\n                }\n                i = i + 1;\n                hist_string_extract_single_quoted(pcVar6,&i,uVar3);\n                iVar16 = i - iVar18;\n                iVar19 = iVar16 + 2;\n                iVar14 = (*(code *)PTR_xmalloc_001565b8)(iVar19);\n                (*(code *)PTR_strncpy_001583e4)(iVar14,pcVar6 + iVar18,iVar19);\n                *(undefined1 *)(iVar14 + iVar16 + 1) = 0;\n                iVar16 = (*(code *)PTR_strlen_00158444)(iVar14);\n                iVar18 = iVar10 + iVar16;\n                iVar10 = iVar20;\n                if (iVar20 <= iVar18) {\n                  do {\n                    iVar10 = iVar10 + 0x80;\n                  } while (iVar10 <= iVar18);\n                  iVar20 = (iVar18 - iVar20 & 0xffffff80U) + iVar20 + 0x80;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar16),iVar14);\n                (*(code *)PTR_xfree_00156bb4)(iVar14);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar20 + -1 <= iVar10) {\n                iVar20 = iVar20 + 0x40;\n                pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n              }\n              pcVar4[iVar10] = pcVar6[i];\n              pcVar4[iVar10 + 1] = '\0';\n              uVar3 = local_b0;\n              iVar18 = iVar10 + 1;\n            }\n          }\n          else {\n            if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            pcVar4[iVar10] = '\'';\n            pcVar4[iVar10 + 1] = '\0';\n            iVar18 = iVar10 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = '\\';\n          pcVar4[iVar10 + 1] = '\0';\n          uVar3 = 1;\n          iVar18 = iVar10 + 1;\n        }" if (parenthesized_expression "(cVar1 == '\"')" ( (binary_expression "cVar1 == '\"'" identifier == (char_literal "'\"'" ' escape_sequence ')) )) (compound_statement "{\n          local_c4 = 1 - local_c4;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          iVar18 = iVar10 + 1;\n          pcVar4[iVar10] = '\"';\n          pcVar4[iVar18] = '\0';\n        }" { (expression_statement "local_c4 = 1 - local_c4;" (assignment_expression "local_c4 = 1 - local_c4" identifier = (binary_expression "1 - local_c4" number_literal - identifier)) ;) (if_statement "if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }" if (parenthesized_expression "(iVar20 + -1 <= iVar10)" ( (binary_expression "iVar20 + -1 <= iVar10" (binary_expression "iVar20 + -1" identifier + number_literal) <= identifier) )) (compound_statement "{\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }" { (expression_statement "iVar20 = iVar20 + 0x40;" (assignment_expression "iVar20 = iVar20 + 0x40" identifier = (binary_expression "iVar20 + 0x40" identifier + number_literal)) ;) (expression_statement "pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);" (assignment_expression "pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" identifier = (cast_expression "(char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4,iVar20)" ( identifier , identifier ))))) ;) })) (expression_statement "iVar18 = iVar10 + 1;" (assignment_expression "iVar18 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "pcVar4[iVar10] = '\"';" (assignment_expression "pcVar4[iVar10] = '\"'" (subscript_expression "pcVar4[iVar10]" identifier [ identifier ]) = (char_literal "'\"'" ' escape_sequence ')) ;) (expression_statement "pcVar4[iVar18] = '\0';" (assignment_expression "pcVar4[iVar18] = '\0'" (subscript_expression "pcVar4[iVar18]" identifier [ identifier ]) = (char_literal "'\0'" ' escape_sequence ')) ;) }) (else_clause "else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = pcVar6[i];\n          pcVar4[iVar10 + 1] = '\0';\n          iVar18 = iVar10 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar20 + -1 <= iVar10) {\n                  iVar20 = iVar20 + 0x40;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                pcVar4[iVar10] = pcVar6[i];\n                pcVar4[iVar10 + 1] = '\0';\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar18 = iVar10 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (i < 1) {\n                  uVar3 = 0;\n                }\n                else {\n                  uVar3 = (uint)(pcVar6[i + -1] == '$');\n                }\n                i = i + 1;\n                hist_string_extract_single_quoted(pcVar6,&i,uVar3);\n                iVar16 = i - iVar18;\n                iVar19 = iVar16 + 2;\n                iVar14 = (*(code *)PTR_xmalloc_001565b8)(iVar19);\n                (*(code *)PTR_strncpy_001583e4)(iVar14,pcVar6 + iVar18,iVar19);\n                *(undefined1 *)(iVar14 + iVar16 + 1) = 0;\n                iVar16 = (*(code *)PTR_strlen_00158444)(iVar14);\n                iVar18 = iVar10 + iVar16;\n                iVar10 = iVar20;\n                if (iVar20 <= iVar18) {\n                  do {\n                    iVar10 = iVar10 + 0x80;\n                  } while (iVar10 <= iVar18);\n                  iVar20 = (iVar18 - iVar20 & 0xffffff80U) + iVar20 + 0x80;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar16),iVar14);\n                (*(code *)PTR_xfree_00156bb4)(iVar14);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar20 + -1 <= iVar10) {\n                iVar20 = iVar20 + 0x40;\n                pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n              }\n              pcVar4[iVar10] = pcVar6[i];\n              pcVar4[iVar10 + 1] = '\0';\n              uVar3 = local_b0;\n              iVar18 = iVar10 + 1;\n            }\n          }\n          else {\n            if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            pcVar4[iVar10] = '\'';\n            pcVar4[iVar10 + 1] = '\0';\n            iVar18 = iVar10 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = '\\';\n          pcVar4[iVar10 + 1] = '\0';\n          uVar3 = 1;\n          iVar18 = iVar10 + 1;\n        }" else (if_statement "if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = pcVar6[i];\n          pcVar4[iVar10 + 1] = '\0';\n          iVar18 = iVar10 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar20 + -1 <= iVar10) {\n                  iVar20 = iVar20 + 0x40;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                pcVar4[iVar10] = pcVar6[i];\n                pcVar4[iVar10 + 1] = '\0';\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar18 = iVar10 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (i < 1) {\n                  uVar3 = 0;\n                }\n                else {\n                  uVar3 = (uint)(pcVar6[i + -1] == '$');\n                }\n                i = i + 1;\n                hist_string_extract_single_quoted(pcVar6,&i,uVar3);\n                iVar16 = i - iVar18;\n                iVar19 = iVar16 + 2;\n                iVar14 = (*(code *)PTR_xmalloc_001565b8)(iVar19);\n                (*(code *)PTR_strncpy_001583e4)(iVar14,pcVar6 + iVar18,iVar19);\n                *(undefined1 *)(iVar14 + iVar16 + 1) = 0;\n                iVar16 = (*(code *)PTR_strlen_00158444)(iVar14);\n                iVar18 = iVar10 + iVar16;\n                iVar10 = iVar20;\n                if (iVar20 <= iVar18) {\n                  do {\n                    iVar10 = iVar10 + 0x80;\n                  } while (iVar10 <= iVar18);\n                  iVar20 = (iVar18 - iVar20 & 0xffffff80U) + iVar20 + 0x80;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar16),iVar14);\n                (*(code *)PTR_xfree_00156bb4)(iVar14);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar20 + -1 <= iVar10) {\n                iVar20 = iVar20 + 0x40;\n                pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n              }\n              pcVar4[iVar10] = pcVar6[i];\n              pcVar4[iVar10 + 1] = '\0';\n              uVar3 = local_b0;\n              iVar18 = iVar10 + 1;\n            }\n          }\n          else {\n            if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            pcVar4[iVar10] = '\'';\n            pcVar4[iVar10 + 1] = '\0';\n            iVar18 = iVar10 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = '\\';\n          pcVar4[iVar10 + 1] = '\0';\n          uVar3 = 1;\n          iVar18 = iVar10 + 1;\n        }" if (parenthesized_expression "(cVar1 < '#')" ( (binary_expression "cVar1 < '#'" identifier < (char_literal "'#'" ' character ')) )) (compound_statement "{\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = pcVar6[i];\n          pcVar4[iVar10 + 1] = '\0';\n          iVar18 = iVar10 + 1;\n        }" { (if_statement "if (cVar1 == -3) goto LAB_0011e340;" if (parenthesized_expression "(cVar1 == -3)" ( (binary_expression "cVar1 == -3" identifier == number_literal) )) (goto_statement "goto LAB_0011e340;" goto statement_identifier ;)) (if_statement "if (cVar1 == -2) goto LAB_0011de7c;" if (parenthesized_expression "(cVar1 == -2)" ( (binary_expression "cVar1 == -2" identifier == number_literal) )) (goto_statement "goto LAB_0011de7c;" goto statement_identifier ;)) (labeled_statement "LAB_0011df70:\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }" statement_identifier : (if_statement "if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }" if (parenthesized_expression "(iVar20 + -1 <= iVar10)" ( (binary_expression "iVar20 + -1 <= iVar10" (binary_expression "iVar20 + -1" identifier + number_literal) <= identifier) )) (compound_statement "{\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }" { (expression_statement "iVar20 = iVar20 + 0x40;" (assignment_expression "iVar20 = iVar20 + 0x40" identifier = (binary_expression "iVar20 + 0x40" identifier + number_literal)) ;) (expression_statement "pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);" (assignment_expression "pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" identifier = (cast_expression "(char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4,iVar20)" ( identifier , identifier ))))) ;) }))) (expression_statement "pcVar4[iVar10] = pcVar6[i];" (assignment_expression "pcVar4[iVar10] = pcVar6[i]" (subscript_expression "pcVar4[iVar10]" identifier [ identifier ]) = (subscript_expression "pcVar6[i]" identifier [ identifier ])) ;) (expression_statement "pcVar4[iVar10 + 1] = '\0';" (assignment_expression "pcVar4[iVar10 + 1] = '\0'" (subscript_expression "pcVar4[iVar10 + 1]" identifier [ (binary_expression "iVar10 + 1" identifier + number_literal) ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "iVar18 = iVar10 + 1;" (assignment_expression "iVar18 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) }) (else_clause "else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar20 + -1 <= iVar10) {\n                  iVar20 = iVar20 + 0x40;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                pcVar4[iVar10] = pcVar6[i];\n                pcVar4[iVar10 + 1] = '\0';\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar18 = iVar10 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (i < 1) {\n                  uVar3 = 0;\n                }\n                else {\n                  uVar3 = (uint)(pcVar6[i + -1] == '$');\n                }\n                i = i + 1;\n                hist_string_extract_single_quoted(pcVar6,&i,uVar3);\n                iVar16 = i - iVar18;\n                iVar19 = iVar16 + 2;\n                iVar14 = (*(code *)PTR_xmalloc_001565b8)(iVar19);\n                (*(code *)PTR_strncpy_001583e4)(iVar14,pcVar6 + iVar18,iVar19);\n                *(undefined1 *)(iVar14 + iVar16 + 1) = 0;\n                iVar16 = (*(code *)PTR_strlen_00158444)(iVar14);\n                iVar18 = iVar10 + iVar16;\n                iVar10 = iVar20;\n                if (iVar20 <= iVar18) {\n                  do {\n                    iVar10 = iVar10 + 0x80;\n                  } while (iVar10 <= iVar18);\n                  iVar20 = (iVar18 - iVar20 & 0xffffff80U) + iVar20 + 0x80;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar16),iVar14);\n                (*(code *)PTR_xfree_00156bb4)(iVar14);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar20 + -1 <= iVar10) {\n                iVar20 = iVar20 + 0x40;\n                pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n              }\n              pcVar4[iVar10] = pcVar6[i];\n              pcVar4[iVar10 + 1] = '\0';\n              uVar3 = local_b0;\n              iVar18 = iVar10 + 1;\n            }\n          }\n          else {\n            if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            pcVar4[iVar10] = '\'';\n            pcVar4[iVar10 + 1] = '\0';\n            iVar18 = iVar10 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = '\\';\n          pcVar4[iVar10 + 1] = '\0';\n          uVar3 = 1;\n          iVar18 = iVar10 + 1;\n        }" else (if_statement "if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar20 + -1 <= iVar10) {\n                  iVar20 = iVar20 + 0x40;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                pcVar4[iVar10] = pcVar6[i];\n                pcVar4[iVar10 + 1] = '\0';\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar18 = iVar10 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (i < 1) {\n                  uVar3 = 0;\n                }\n                else {\n                  uVar3 = (uint)(pcVar6[i + -1] == '$');\n                }\n                i = i + 1;\n                hist_string_extract_single_quoted(pcVar6,&i,uVar3);\n                iVar16 = i - iVar18;\n                iVar19 = iVar16 + 2;\n                iVar14 = (*(code *)PTR_xmalloc_001565b8)(iVar19);\n                (*(code *)PTR_strncpy_001583e4)(iVar14,pcVar6 + iVar18,iVar19);\n                *(undefined1 *)(iVar14 + iVar16 + 1) = 0;\n                iVar16 = (*(code *)PTR_strlen_00158444)(iVar14);\n                iVar18 = iVar10 + iVar16;\n                iVar10 = iVar20;\n                if (iVar20 <= iVar18) {\n                  do {\n                    iVar10 = iVar10 + 0x80;\n                  } while (iVar10 <= iVar18);\n                  iVar20 = (iVar18 - iVar20 & 0xffffff80U) + iVar20 + 0x80;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar16),iVar14);\n                (*(code *)PTR_xfree_00156bb4)(iVar14);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar20 + -1 <= iVar10) {\n                iVar20 = iVar20 + 0x40;\n                pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n              }\n              pcVar4[iVar10] = pcVar6[i];\n              pcVar4[iVar10 + 1] = '\0';\n              uVar3 = local_b0;\n              iVar18 = iVar10 + 1;\n            }\n          }\n          else {\n            if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            pcVar4[iVar10] = '\'';\n            pcVar4[iVar10 + 1] = '\0';\n            iVar18 = iVar10 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = '\\';\n          pcVar4[iVar10 + 1] = '\0';\n          uVar3 = 1;\n          iVar18 = iVar10 + 1;\n        }" if (parenthesized_expression "(cVar1 == '\'')" ( (binary_expression "cVar1 == '\''" identifier == (char_literal "'\''" ' escape_sequence ')) )) (compound_statement "{\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar20 + -1 <= iVar10) {\n                  iVar20 = iVar20 + 0x40;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                pcVar4[iVar10] = pcVar6[i];\n                pcVar4[iVar10 + 1] = '\0';\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar18 = iVar10 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (i < 1) {\n                  uVar3 = 0;\n                }\n                else {\n                  uVar3 = (uint)(pcVar6[i + -1] == '$');\n                }\n                i = i + 1;\n                hist_string_extract_single_quoted(pcVar6,&i,uVar3);\n                iVar16 = i - iVar18;\n                iVar19 = iVar16 + 2;\n                iVar14 = (*(code *)PTR_xmalloc_001565b8)(iVar19);\n                (*(code *)PTR_strncpy_001583e4)(iVar14,pcVar6 + iVar18,iVar19);\n                *(undefined1 *)(iVar14 + iVar16 + 1) = 0;\n                iVar16 = (*(code *)PTR_strlen_00158444)(iVar14);\n                iVar18 = iVar10 + iVar16;\n                iVar10 = iVar20;\n                if (iVar20 <= iVar18) {\n                  do {\n                    iVar10 = iVar10 + 0x80;\n                  } while (iVar10 <= iVar18);\n                  iVar20 = (iVar18 - iVar20 & 0xffffff80U) + iVar20 + 0x80;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar16),iVar14);\n                (*(code *)PTR_xfree_00156bb4)(iVar14);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar20 + -1 <= iVar10) {\n                iVar20 = iVar20 + 0x40;\n                pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n              }\n              pcVar4[iVar10] = pcVar6[i];\n              pcVar4[iVar10 + 1] = '\0';\n              uVar3 = local_b0;\n              iVar18 = iVar10 + 1;\n            }\n          }\n          else {\n            if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            pcVar4[iVar10] = '\'';\n            pcVar4[iVar10 + 1] = '\0';\n            iVar18 = iVar10 + 1;\n            local_b0 = uVar3;\n          }\n        }" { (if_statement "if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar20 + -1 <= iVar10) {\n                  iVar20 = iVar20 + 0x40;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                pcVar4[iVar10] = pcVar6[i];\n                pcVar4[iVar10 + 1] = '\0';\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar18 = iVar10 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (i < 1) {\n                  uVar3 = 0;\n                }\n                else {\n                  uVar3 = (uint)(pcVar6[i + -1] == '$');\n                }\n                i = i + 1;\n                hist_string_extract_single_quoted(pcVar6,&i,uVar3);\n                iVar16 = i - iVar18;\n                iVar19 = iVar16 + 2;\n                iVar14 = (*(code *)PTR_xmalloc_001565b8)(iVar19);\n                (*(code *)PTR_strncpy_001583e4)(iVar14,pcVar6 + iVar18,iVar19);\n                *(undefined1 *)(iVar14 + iVar16 + 1) = 0;\n                iVar16 = (*(code *)PTR_strlen_00158444)(iVar14);\n                iVar18 = iVar10 + iVar16;\n                iVar10 = iVar20;\n                if (iVar20 <= iVar18) {\n                  do {\n                    iVar10 = iVar10 + 0x80;\n                  } while (iVar10 <= iVar18);\n                  iVar20 = (iVar18 - iVar20 & 0xffffff80U) + iVar20 + 0x80;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar16),iVar14);\n                (*(code *)PTR_xfree_00156bb4)(iVar14);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar20 + -1 <= iVar10) {\n                iVar20 = iVar20 + 0x40;\n                pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n              }\n              pcVar4[iVar10] = pcVar6[i];\n              pcVar4[iVar10 + 1] = '\0';\n              uVar3 = local_b0;\n              iVar18 = iVar10 + 1;\n            }\n          }\n          else {\n            if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            pcVar4[iVar10] = '\'';\n            pcVar4[iVar10 + 1] = '\0';\n            iVar18 = iVar10 + 1;\n            local_b0 = uVar3;\n          }" if (parenthesized_expression "(local_b0 == 0)" ( (binary_expression "local_b0 == 0" identifier == number_literal) )) (compound_statement "{\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar20 + -1 <= iVar10) {\n                  iVar20 = iVar20 + 0x40;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                pcVar4[iVar10] = pcVar6[i];\n                pcVar4[iVar10 + 1] = '\0';\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar18 = iVar10 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (i < 1) {\n                  uVar3 = 0;\n                }\n                else {\n                  uVar3 = (uint)(pcVar6[i + -1] == '$');\n                }\n                i = i + 1;\n                hist_string_extract_single_quoted(pcVar6,&i,uVar3);\n                iVar16 = i - iVar18;\n                iVar19 = iVar16 + 2;\n                iVar14 = (*(code *)PTR_xmalloc_001565b8)(iVar19);\n                (*(code *)PTR_strncpy_001583e4)(iVar14,pcVar6 + iVar18,iVar19);\n                *(undefined1 *)(iVar14 + iVar16 + 1) = 0;\n                iVar16 = (*(code *)PTR_strlen_00158444)(iVar14);\n                iVar18 = iVar10 + iVar16;\n                iVar10 = iVar20;\n                if (iVar20 <= iVar18) {\n                  do {\n                    iVar10 = iVar10 + 0x80;\n                  } while (iVar10 <= iVar18);\n                  iVar20 = (iVar18 - iVar20 & 0xffffff80U) + iVar20 + 0x80;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar16),iVar14);\n                (*(code *)PTR_xfree_00156bb4)(iVar14);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar20 + -1 <= iVar10) {\n                iVar20 = iVar20 + 0x40;\n                pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n              }\n              pcVar4[iVar10] = pcVar6[i];\n              pcVar4[iVar10 + 1] = '\0';\n              uVar3 = local_b0;\n              iVar18 = iVar10 + 1;\n            }\n          }" { (if_statement "if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar20 + -1 <= iVar10) {\n                  iVar20 = iVar20 + 0x40;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                pcVar4[iVar10] = pcVar6[i];\n                pcVar4[iVar10 + 1] = '\0';\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar18 = iVar10 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (i < 1) {\n                  uVar3 = 0;\n                }\n                else {\n                  uVar3 = (uint)(pcVar6[i + -1] == '$');\n                }\n                i = i + 1;\n                hist_string_extract_single_quoted(pcVar6,&i,uVar3);\n                iVar16 = i - iVar18;\n                iVar19 = iVar16 + 2;\n                iVar14 = (*(code *)PTR_xmalloc_001565b8)(iVar19);\n                (*(code *)PTR_strncpy_001583e4)(iVar14,pcVar6 + iVar18,iVar19);\n                *(undefined1 *)(iVar14 + iVar16 + 1) = 0;\n                iVar16 = (*(code *)PTR_strlen_00158444)(iVar14);\n                iVar18 = iVar10 + iVar16;\n                iVar10 = iVar20;\n                if (iVar20 <= iVar18) {\n                  do {\n                    iVar10 = iVar10 + 0x80;\n                  } while (iVar10 <= iVar18);\n                  iVar20 = (iVar18 - iVar20 & 0xffffff80U) + iVar20 + 0x80;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar16),iVar14);\n                (*(code *)PTR_xfree_00156bb4)(iVar14);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar20 + -1 <= iVar10) {\n                iVar20 = iVar20 + 0x40;\n                pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n              }\n              pcVar4[iVar10] = pcVar6[i];\n              pcVar4[iVar10 + 1] = '\0';\n              uVar3 = local_b0;\n              iVar18 = iVar10 + 1;\n            }" if (parenthesized_expression "(local_c4 == 0)" ( (binary_expression "local_c4 == 0" identifier == number_literal) )) (compound_statement "{\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar20 + -1 <= iVar10) {\n                  iVar20 = iVar20 + 0x40;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                pcVar4[iVar10] = pcVar6[i];\n                pcVar4[iVar10 + 1] = '\0';\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar18 = iVar10 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (i < 1) {\n                  uVar3 = 0;\n                }\n                else {\n                  uVar3 = (uint)(pcVar6[i + -1] == '$');\n                }\n                i = i + 1;\n                hist_string_extract_single_quoted(pcVar6,&i,uVar3);\n                iVar16 = i - iVar18;\n                iVar19 = iVar16 + 2;\n                iVar14 = (*(code *)PTR_xmalloc_001565b8)(iVar19);\n                (*(code *)PTR_strncpy_001583e4)(iVar14,pcVar6 + iVar18,iVar19);\n                *(undefined1 *)(iVar14 + iVar16 + 1) = 0;\n                iVar16 = (*(code *)PTR_strlen_00158444)(iVar14);\n                iVar18 = iVar10 + iVar16;\n                iVar10 = iVar20;\n                if (iVar20 <= iVar18) {\n                  do {\n                    iVar10 = iVar10 + 0x80;\n                  } while (iVar10 <= iVar18);\n                  iVar20 = (iVar18 - iVar20 & 0xffffff80U) + iVar20 + 0x80;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar16),iVar14);\n                (*(code *)PTR_xfree_00156bb4)(iVar14);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }" { (if_statement "if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar20 + -1 <= iVar10) {\n                  iVar20 = iVar20 + 0x40;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                pcVar4[iVar10] = pcVar6[i];\n                pcVar4[iVar10 + 1] = '\0';\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar18 = iVar10 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (i < 1) {\n                  uVar3 = 0;\n                }\n                else {\n                  uVar3 = (uint)(pcVar6[i + -1] == '$');\n                }\n                i = i + 1;\n                hist_string_extract_single_quoted(pcVar6,&i,uVar3);\n                iVar16 = i - iVar18;\n                iVar19 = iVar16 + 2;\n                iVar14 = (*(code *)PTR_xmalloc_001565b8)(iVar19);\n                (*(code *)PTR_strncpy_001583e4)(iVar14,pcVar6 + iVar18,iVar19);\n                *(undefined1 *)(iVar14 + iVar16 + 1) = 0;\n                iVar16 = (*(code *)PTR_strlen_00158444)(iVar14);\n                iVar18 = iVar10 + iVar16;\n                iVar10 = iVar20;\n                if (iVar20 <= iVar18) {\n                  do {\n                    iVar10 = iVar10 + 0x80;\n                  } while (iVar10 <= iVar18);\n                  iVar20 = (iVar18 - iVar20 & 0xffffff80U) + iVar20 + 0x80;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar16),iVar14);\n                (*(code *)PTR_xfree_00156bb4)(iVar14);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }" if (parenthesized_expression "(*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)" ( (binary_expression "*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0" (pointer_expression "*(int *)PTR_history_quotes_inhibit_expansion_00157524" * (cast_expression "(int *)PTR_history_quotes_inhibit_expansion_00157524" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n                if (iVar20 + -1 <= iVar10) {\n                  iVar20 = iVar20 + 0x40;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                pcVar4[iVar10] = pcVar6[i];\n                pcVar4[iVar10 + 1] = '\0';\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar18 = iVar10 + 1;\n                local_c4 = uVar3;\n              }" { (if_statement "if (iVar20 + -1 <= iVar10) {\n                  iVar20 = iVar20 + 0x40;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }" if (parenthesized_expression "(iVar20 + -1 <= iVar10)" ( (binary_expression "iVar20 + -1 <= iVar10" (binary_expression "iVar20 + -1" identifier + number_literal) <= identifier) )) (compound_statement "{\n                  iVar20 = iVar20 + 0x40;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }" { (expression_statement "iVar20 = iVar20 + 0x40;" (assignment_expression "iVar20 = iVar20 + 0x40" identifier = (binary_expression "iVar20 + 0x40" identifier + number_literal)) ;) (expression_statement "pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);" (assignment_expression "pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" identifier = (cast_expression "(char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4,iVar20)" ( identifier , identifier ))))) ;) })) (expression_statement "pcVar4[iVar10] = pcVar6[i];" (assignment_expression "pcVar4[iVar10] = pcVar6[i]" (subscript_expression "pcVar4[iVar10]" identifier [ identifier ]) = (subscript_expression "pcVar6[i]" identifier [ identifier ])) ;) (expression_statement "pcVar4[iVar10 + 1] = '\0';" (assignment_expression "pcVar4[iVar10 + 1] = '\0'" (subscript_expression "pcVar4[iVar10 + 1]" identifier [ (binary_expression "iVar10 + 1" identifier + number_literal) ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "local_b0 = 1;" (assignment_expression "local_b0 = 1" identifier = number_literal) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "iVar18 = iVar10 + 1;" (assignment_expression "iVar18 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "local_c4 = uVar3;" (assignment_expression "local_c4 = uVar3" identifier = identifier) ;) }) (else_clause "else {\n                if (i < 1) {\n                  uVar3 = 0;\n                }\n                else {\n                  uVar3 = (uint)(pcVar6[i + -1] == '$');\n                }\n                i = i + 1;\n                hist_string_extract_single_quoted(pcVar6,&i,uVar3);\n                iVar16 = i - iVar18;\n                iVar19 = iVar16 + 2;\n                iVar14 = (*(code *)PTR_xmalloc_001565b8)(iVar19);\n                (*(code *)PTR_strncpy_001583e4)(iVar14,pcVar6 + iVar18,iVar19);\n                *(undefined1 *)(iVar14 + iVar16 + 1) = 0;\n                iVar16 = (*(code *)PTR_strlen_00158444)(iVar14);\n                iVar18 = iVar10 + iVar16;\n                iVar10 = iVar20;\n                if (iVar20 <= iVar18) {\n                  do {\n                    iVar10 = iVar10 + 0x80;\n                  } while (iVar10 <= iVar18);\n                  iVar20 = (iVar18 - iVar20 & 0xffffff80U) + iVar20 + 0x80;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar16),iVar14);\n                (*(code *)PTR_xfree_00156bb4)(iVar14);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }" else (compound_statement "{\n                if (i < 1) {\n                  uVar3 = 0;\n                }\n                else {\n                  uVar3 = (uint)(pcVar6[i + -1] == '$');\n                }\n                i = i + 1;\n                hist_string_extract_single_quoted(pcVar6,&i,uVar3);\n                iVar16 = i - iVar18;\n                iVar19 = iVar16 + 2;\n                iVar14 = (*(code *)PTR_xmalloc_001565b8)(iVar19);\n                (*(code *)PTR_strncpy_001583e4)(iVar14,pcVar6 + iVar18,iVar19);\n                *(undefined1 *)(iVar14 + iVar16 + 1) = 0;\n                iVar16 = (*(code *)PTR_strlen_00158444)(iVar14);\n                iVar18 = iVar10 + iVar16;\n                iVar10 = iVar20;\n                if (iVar20 <= iVar18) {\n                  do {\n                    iVar10 = iVar10 + 0x80;\n                  } while (iVar10 <= iVar18);\n                  iVar20 = (iVar18 - iVar20 & 0xffffff80U) + iVar20 + 0x80;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }\n                (*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar16),iVar14);\n                (*(code *)PTR_xfree_00156bb4)(iVar14);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }" { (if_statement "if (i < 1) {\n                  uVar3 = 0;\n                }\n                else {\n                  uVar3 = (uint)(pcVar6[i + -1] == '$');\n                }" if (parenthesized_expression "(i < 1)" ( (binary_expression "i < 1" identifier < number_literal) )) (compound_statement "{\n                  uVar3 = 0;\n                }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                  uVar3 = (uint)(pcVar6[i + -1] == '$');\n                }" else (compound_statement "{\n                  uVar3 = (uint)(pcVar6[i + -1] == '$');\n                }" { (expression_statement "uVar3 = (uint)(pcVar6[i + -1] == '$');" (assignment_expression "uVar3 = (uint)(pcVar6[i + -1] == '$')" identifier = (call_expression "(uint)(pcVar6[i + -1] == '$')" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(pcVar6[i + -1] == '$')" ( (binary_expression "pcVar6[i + -1] == '$'" (subscript_expression "pcVar6[i + -1]" identifier [ (binary_expression "i + -1" identifier + number_literal) ]) == (char_literal "'$'" ' character ')) )))) ;) }))) (expression_statement "i = i + 1;" (assignment_expression "i = i + 1" identifier = (binary_expression "i + 1" identifier + number_literal)) ;) (expression_statement "hist_string_extract_single_quoted(pcVar6,&i,uVar3);" (call_expression "hist_string_extract_single_quoted(pcVar6,&i,uVar3)" identifier (argument_list "(pcVar6,&i,uVar3)" ( identifier , (pointer_expression "&i" & identifier) , identifier ))) ;) (expression_statement "iVar16 = i - iVar18;" (assignment_expression "iVar16 = i - iVar18" identifier = (binary_expression "i - iVar18" identifier - identifier)) ;) (expression_statement "iVar19 = iVar16 + 2;" (assignment_expression "iVar19 = iVar16 + 2" identifier = (binary_expression "iVar16 + 2" identifier + number_literal)) ;) (expression_statement "iVar14 = (*(code *)PTR_xmalloc_001565b8)(iVar19);" (assignment_expression "iVar14 = (*(code *)PTR_xmalloc_001565b8)(iVar19)" identifier = (call_expression "(*(code *)PTR_xmalloc_001565b8)(iVar19)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar19)" ( identifier )))) ;) (expression_statement "(*(code *)PTR_strncpy_001583e4)(iVar14,pcVar6 + iVar18,iVar19);" (call_expression "(*(code *)PTR_strncpy_001583e4)(iVar14,pcVar6 + iVar18,iVar19)" (parenthesized_expression "(*(code *)PTR_strncpy_001583e4)" ( (pointer_expression "*(code *)PTR_strncpy_001583e4" * (cast_expression "(code *)PTR_strncpy_001583e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar14,pcVar6 + iVar18,iVar19)" ( identifier , (binary_expression "pcVar6 + iVar18" identifier + identifier) , identifier ))) ;) (expression_statement "*(undefined1 *)(iVar14 + iVar16 + 1) = 0;" (assignment_expression "*(undefined1 *)(iVar14 + iVar16 + 1) = 0" (pointer_expression "*(undefined1 *)(iVar14 + iVar16 + 1)" * (cast_expression "(undefined1 *)(iVar14 + iVar16 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + iVar16 + 1)" ( (binary_expression "iVar14 + iVar16 + 1" (binary_expression "iVar14 + iVar16" identifier + identifier) + number_literal) )))) = number_literal) ;) (expression_statement "iVar16 = (*(code *)PTR_strlen_00158444)(iVar14);" (assignment_expression "iVar16 = (*(code *)PTR_strlen_00158444)(iVar14)" identifier = (call_expression "(*(code *)PTR_strlen_00158444)(iVar14)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar14)" ( identifier )))) ;) (expression_statement "iVar18 = iVar10 + iVar16;" (assignment_expression "iVar18 = iVar10 + iVar16" identifier = (binary_expression "iVar10 + iVar16" identifier + identifier)) ;) (expression_statement "iVar10 = iVar20;" (assignment_expression "iVar10 = iVar20" identifier = identifier) ;) (if_statement "if (iVar20 <= iVar18) {\n                  do {\n                    iVar10 = iVar10 + 0x80;\n                  } while (iVar10 <= iVar18);\n                  iVar20 = (iVar18 - iVar20 & 0xffffff80U) + iVar20 + 0x80;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }" if (parenthesized_expression "(iVar20 <= iVar18)" ( (binary_expression "iVar20 <= iVar18" identifier <= identifier) )) (compound_statement "{\n                  do {\n                    iVar10 = iVar10 + 0x80;\n                  } while (iVar10 <= iVar18);\n                  iVar20 = (iVar18 - iVar20 & 0xffffff80U) + iVar20 + 0x80;\n                  pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n                }" { (do_statement "do {\n                    iVar10 = iVar10 + 0x80;\n                  } while (iVar10 <= iVar18);" do (compound_statement "{\n                    iVar10 = iVar10 + 0x80;\n                  }" { (expression_statement "iVar10 = iVar10 + 0x80;" (assignment_expression "iVar10 = iVar10 + 0x80" identifier = (binary_expression "iVar10 + 0x80" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar10 <= iVar18)" ( (binary_expression "iVar10 <= iVar18" identifier <= identifier) )) ;) (expression_statement "iVar20 = (iVar18 - iVar20 & 0xffffff80U) + iVar20 + 0x80;" (assignment_expression "iVar20 = (iVar18 - iVar20 & 0xffffff80U) + iVar20 + 0x80" identifier = (binary_expression "(iVar18 - iVar20 & 0xffffff80U) + iVar20 + 0x80" (binary_expression "(iVar18 - iVar20 & 0xffffff80U) + iVar20" (parenthesized_expression "(iVar18 - iVar20 & 0xffffff80U)" ( (binary_expression "iVar18 - iVar20 & 0xffffff80U" (binary_expression "iVar18 - iVar20" identifier - identifier) & number_literal) )) + identifier) + number_literal)) ;) (expression_statement "pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);" (assignment_expression "pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" identifier = (cast_expression "(char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4,iVar20)" ( identifier , identifier ))))) ;) })) (expression_statement "(*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar16),iVar14);" (call_expression "(*(code *)PTR_strcpy_001584cc)(pcVar4 + (iVar18 - iVar16),iVar14)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" ( (pointer_expression "*(code *)PTR_strcpy_001584cc" * (cast_expression "(code *)PTR_strcpy_001584cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4 + (iVar18 - iVar16),iVar14)" ( (binary_expression "pcVar4 + (iVar18 - iVar16)" identifier + (parenthesized_expression "(iVar18 - iVar16)" ( (binary_expression "iVar18 - iVar16" identifier - identifier) ))) , identifier ))) ;) (expression_statement "(*(code *)PTR_xfree_00156bb4)(iVar14);" (call_expression "(*(code *)PTR_xfree_00156bb4)(iVar14)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" ( (pointer_expression "*(code *)PTR_xfree_00156bb4" * (cast_expression "(code *)PTR_xfree_00156bb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar14)" ( identifier ))) ;) (expression_statement "local_b0 = local_c4;" (assignment_expression "local_b0 = local_c4" identifier = identifier) ;) (expression_statement "uVar3 = local_c4;" (assignment_expression "uVar3 = local_c4" identifier = identifier) ;) }))) }) (else_clause "else {\n              if (iVar20 + -1 <= iVar10) {\n                iVar20 = iVar20 + 0x40;\n                pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n              }\n              pcVar4[iVar10] = pcVar6[i];\n              pcVar4[iVar10 + 1] = '\0';\n              uVar3 = local_b0;\n              iVar18 = iVar10 + 1;\n            }" else (compound_statement "{\n              if (iVar20 + -1 <= iVar10) {\n                iVar20 = iVar20 + 0x40;\n                pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n              }\n              pcVar4[iVar10] = pcVar6[i];\n              pcVar4[iVar10 + 1] = '\0';\n              uVar3 = local_b0;\n              iVar18 = iVar10 + 1;\n            }" { (if_statement "if (iVar20 + -1 <= iVar10) {\n                iVar20 = iVar20 + 0x40;\n                pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n              }" if (parenthesized_expression "(iVar20 + -1 <= iVar10)" ( (binary_expression "iVar20 + -1 <= iVar10" (binary_expression "iVar20 + -1" identifier + number_literal) <= identifier) )) (compound_statement "{\n                iVar20 = iVar20 + 0x40;\n                pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n              }" { (expression_statement "iVar20 = iVar20 + 0x40;" (assignment_expression "iVar20 = iVar20 + 0x40" identifier = (binary_expression "iVar20 + 0x40" identifier + number_literal)) ;) (expression_statement "pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);" (assignment_expression "pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" identifier = (cast_expression "(char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4,iVar20)" ( identifier , identifier ))))) ;) })) (expression_statement "pcVar4[iVar10] = pcVar6[i];" (assignment_expression "pcVar4[iVar10] = pcVar6[i]" (subscript_expression "pcVar4[iVar10]" identifier [ identifier ]) = (subscript_expression "pcVar6[i]" identifier [ identifier ])) ;) (expression_statement "pcVar4[iVar10 + 1] = '\0';" (assignment_expression "pcVar4[iVar10 + 1] = '\0'" (subscript_expression "pcVar4[iVar10 + 1]" identifier [ (binary_expression "iVar10 + 1" identifier + number_literal) ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "uVar3 = local_b0;" (assignment_expression "uVar3 = local_b0" identifier = identifier) ;) (expression_statement "iVar18 = iVar10 + 1;" (assignment_expression "iVar18 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) }))) }) (else_clause "else {\n            if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            pcVar4[iVar10] = '\'';\n            pcVar4[iVar10 + 1] = '\0';\n            iVar18 = iVar10 + 1;\n            local_b0 = uVar3;\n          }" else (compound_statement "{\n            if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }\n            pcVar4[iVar10] = '\'';\n            pcVar4[iVar10 + 1] = '\0';\n            iVar18 = iVar10 + 1;\n            local_b0 = uVar3;\n          }" { (if_statement "if (iVar20 + -1 <= iVar10) {\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }" if (parenthesized_expression "(iVar20 + -1 <= iVar10)" ( (binary_expression "iVar20 + -1 <= iVar10" (binary_expression "iVar20 + -1" identifier + number_literal) <= identifier) )) (compound_statement "{\n              iVar20 = iVar20 + 0x40;\n              pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n            }" { (expression_statement "iVar20 = iVar20 + 0x40;" (assignment_expression "iVar20 = iVar20 + 0x40" identifier = (binary_expression "iVar20 + 0x40" identifier + number_literal)) ;) (expression_statement "pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);" (assignment_expression "pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" identifier = (cast_expression "(char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4,iVar20)" ( identifier , identifier ))))) ;) })) (expression_statement "pcVar4[iVar10] = '\'';" (assignment_expression "pcVar4[iVar10] = '\''" (subscript_expression "pcVar4[iVar10]" identifier [ identifier ]) = (char_literal "'\''" ' escape_sequence ')) ;) (expression_statement "pcVar4[iVar10 + 1] = '\0';" (assignment_expression "pcVar4[iVar10 + 1] = '\0'" (subscript_expression "pcVar4[iVar10 + 1]" identifier [ (binary_expression "iVar10 + 1" identifier + number_literal) ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "iVar18 = iVar10 + 1;" (assignment_expression "iVar18 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "local_b0 = uVar3;" (assignment_expression "local_b0 = uVar3" identifier = identifier) ;) }))) }) (else_clause "else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = '\\';\n          pcVar4[iVar10 + 1] = '\0';\n          uVar3 = 1;\n          iVar18 = iVar10 + 1;\n        }" else (compound_statement "{\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }\n          pcVar4[iVar10] = '\\';\n          pcVar4[iVar10 + 1] = '\0';\n          uVar3 = 1;\n          iVar18 = iVar10 + 1;\n        }" { (if_statement "if (cVar1 != '\\') goto LAB_0011df70;" if (parenthesized_expression "(cVar1 != '\\')" ( (binary_expression "cVar1 != '\\'" identifier != (char_literal "'\\'" ' escape_sequence ')) )) (goto_statement "goto LAB_0011df70;" goto statement_identifier ;)) (if_statement "if (iVar20 + -1 <= iVar10) {\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }" if (parenthesized_expression "(iVar20 + -1 <= iVar10)" ( (binary_expression "iVar20 + -1 <= iVar10" (binary_expression "iVar20 + -1" identifier + number_literal) <= identifier) )) (compound_statement "{\n            iVar20 = iVar20 + 0x40;\n            pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n          }" { (expression_statement "iVar20 = iVar20 + 0x40;" (assignment_expression "iVar20 = iVar20 + 0x40" identifier = (binary_expression "iVar20 + 0x40" identifier + number_literal)) ;) (expression_statement "pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);" (assignment_expression "pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" identifier = (cast_expression "(char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4,iVar20)" ( identifier , identifier ))))) ;) })) (expression_statement "pcVar4[iVar10] = '\\';" (assignment_expression "pcVar4[iVar10] = '\\'" (subscript_expression "pcVar4[iVar10]" identifier [ identifier ]) = (char_literal "'\\'" ' escape_sequence ')) ;) (expression_statement "pcVar4[iVar10 + 1] = '\0';" (assignment_expression "pcVar4[iVar10 + 1] = '\0'" (subscript_expression "pcVar4[iVar10 + 1]" identifier [ (binary_expression "iVar10 + 1" identifier + number_literal) ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" identifier = number_literal) ;) (expression_statement "iVar18 = iVar10 + 1;" (assignment_expression "iVar18 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) }))))))))))) }) (else_clause "else {\n        if (iVar20 + -1 <= iVar10) {\n          iVar20 = iVar20 + 0x40;\n          pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n        }\n        pcVar4[iVar10] = cVar1;\n        pcVar4[iVar10 + 1] = '\0';\n        uVar3 = 0;\n        iVar18 = iVar10 + 1;\n      }" else (compound_statement "{\n        if (iVar20 + -1 <= iVar10) {\n          iVar20 = iVar20 + 0x40;\n          pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n        }\n        pcVar4[iVar10] = cVar1;\n        pcVar4[iVar10 + 1] = '\0';\n        uVar3 = 0;\n        iVar18 = iVar10 + 1;\n      }" { (if_statement "if (iVar20 + -1 <= iVar10) {\n          iVar20 = iVar20 + 0x40;\n          pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n        }" if (parenthesized_expression "(iVar20 + -1 <= iVar10)" ( (binary_expression "iVar20 + -1 <= iVar10" (binary_expression "iVar20 + -1" identifier + number_literal) <= identifier) )) (compound_statement "{\n          iVar20 = iVar20 + 0x40;\n          pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);\n        }" { (expression_statement "iVar20 = iVar20 + 0x40;" (assignment_expression "iVar20 = iVar20 + 0x40" identifier = (binary_expression "iVar20 + 0x40" identifier + number_literal)) ;) (expression_statement "pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20);" (assignment_expression "pcVar4 = (char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" identifier = (cast_expression "(char *)(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(pcVar4,iVar20)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4,iVar20)" ( identifier , identifier ))))) ;) })) (expression_statement "pcVar4[iVar10] = cVar1;" (assignment_expression "pcVar4[iVar10] = cVar1" (subscript_expression "pcVar4[iVar10]" identifier [ identifier ]) = identifier) ;) (expression_statement "pcVar4[iVar10 + 1] = '\0';" (assignment_expression "pcVar4[iVar10 + 1] = '\0'" (subscript_expression "pcVar4[iVar10 + 1]" identifier [ (binary_expression "iVar10 + 1" identifier + number_literal) ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "iVar18 = iVar10 + 1;" (assignment_expression "iVar18 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) }))) (labeled_statement "LAB_0011dc80:\n      i = i + 1;" statement_identifier : (expression_statement "i = i + 1;" (assignment_expression "i = i + 1" identifier = (binary_expression "i + 1" identifier + number_literal)) ;)) (expression_statement "iVar10 = iVar18;" (assignment_expression "iVar10 = iVar18" identifier = identifier) ;) }) while (parenthesized_expression "(i < local_c8)" ( (binary_expression "i < local_c8" identifier < identifier) )) ;) (expression_statement "*output = pcVar4;" (assignment_expression "*output = pcVar4" (pointer_expression "*output" * identifier) = identifier) ;) (if_statement "if (pcVar6 != hstring) {\nLAB_0011f650:\n      (*(code *)PTR_xfree_00156bb4)(pcVar6);\n    }" if (parenthesized_expression "(pcVar6 != hstring)" ( (binary_expression "pcVar6 != hstring" identifier != identifier) )) (compound_statement "{\nLAB_0011f650:\n      (*(code *)PTR_xfree_00156bb4)(pcVar6);\n    }" { (labeled_statement "LAB_0011f650:\n      (*(code *)PTR_xfree_00156bb4)(pcVar6);" statement_identifier : (expression_statement "(*(code *)PTR_xfree_00156bb4)(pcVar6);" (call_expression "(*(code *)PTR_xfree_00156bb4)(pcVar6)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" ( (pointer_expression "*(code *)PTR_xfree_00156bb4" * (cast_expression "(code *)PTR_xfree_00156bb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar6)" ( identifier ))) ;)) })) }) (else_clause "else {\n    *output = pcVar4;\n    if (pcVar6 != hstring) {\n      local_a8 = 0;\n      goto LAB_0011f650;\n    }\n    local_a8 = 0;\n  }" else (compound_statement "{\n    *output = pcVar4;\n    if (pcVar6 != hstring) {\n      local_a8 = 0;\n      goto LAB_0011f650;\n    }\n    local_a8 = 0;\n  }" { (expression_statement "*output = pcVar4;" (assignment_expression "*output = pcVar4" (pointer_expression "*output" * identifier) = identifier) ;) (if_statement "if (pcVar6 != hstring) {\n      local_a8 = 0;\n      goto LAB_0011f650;\n    }" if (parenthesized_expression "(pcVar6 != hstring)" ( (binary_expression "pcVar6 != hstring" identifier != identifier) )) (compound_statement "{\n      local_a8 = 0;\n      goto LAB_0011f650;\n    }" { (expression_statement "local_a8 = 0;" (assignment_expression "local_a8 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0011f650;" goto statement_identifier ;) })) (expression_statement "local_a8 = 0;" (assignment_expression "local_a8 = 0" identifier = number_literal) ;) }))) (expression_statement "uVar3 = (uint)(local_a8 != 0);" (assignment_expression "uVar3 = (uint)(local_a8 != 0)" identifier = (call_expression "(uint)(local_a8 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_a8 != 0)" ( (binary_expression "local_a8 != 0" identifier != number_literal) )))) ;) (labeled_statement "LAB_0011f678:\n  if (local_2c == *(int *)PTR___stack_chk_guard_0015858c) {\n    return uVar3;\n  }" statement_identifier : (if_statement "if (local_2c == *(int *)PTR___stack_chk_guard_0015858c) {\n    return uVar3;\n  }" if (parenthesized_expression "(local_2c == *(int *)PTR___stack_chk_guard_0015858c)" ( (binary_expression "local_2c == *(int *)PTR___stack_chk_guard_0015858c" identifier == (pointer_expression "*(int *)PTR___stack_chk_guard_0015858c" * (cast_expression "(int *)PTR___stack_chk_guard_0015858c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return uVar3;\n  }" { (return_statement "return uVar3;" return identifier ;) }))) (expression_statement "iVar20 = local_2c;" (assignment_expression "iVar20 = local_2c" identifier = identifier) ;) (expression_statement "puVar21 = PTR___stack_chk_fail_0015853c;" (assignment_expression "puVar21 = PTR___stack_chk_fail_0015853c" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0015853c)();" (call_expression "(*(code *)PTR___stack_chk_fail_0015853c)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0015853c)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0015853c" * (cast_expression "(code *)PTR___stack_chk_fail_0015853c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (iVar20 == 0) {\n    iVar20 = (**(code **)(puVar21 + 0x384f4))(*(int *)(puVar21 + 0x36ccc) + 0x66e4);\n    if (iVar20 == 0) {\n      iVar18 = 0;\n    }\n    else {\n      iVar10 = (**(code **)(puVar21 + 0x38b94))(iVar20);\n      iVar18 = (**(code **)(puVar21 + 0x36d08))(iVar10 + 10);\n      (**(code **)(puVar21 + 0x38c1c))(iVar18,iVar20);\n      *(undefined1 *)(iVar18 + iVar10) = 0x2f;\n      puVar12 = (undefined4 *)(iVar18 + iVar10 + 1);\n      iVar20 = *(int *)(puVar21 + 0x36d00);\n      uVar11 = *(undefined4 *)(iVar20 + 0x5d4);\n      *puVar12 = *(undefined4 *)(iVar20 + 0x5d0);\n      puVar12[1] = uVar11;\n      *(undefined1 *)(puVar12 + 2) = *(undefined1 *)(iVar20 + 0x5d8);\n    }\n  }\n  else {\n    iVar18 = (**(code **)(puVar21 + 0x38b94))();\n    uVar11 = (**(code **)(puVar21 + 0x36d08))(iVar18 + 1);\n    iVar18 = (**(code **)(puVar21 + 0x38c1c))(uVar11,iVar20);\n  }" if (parenthesized_expression "(iVar20 == 0)" ( (binary_expression "iVar20 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar20 = (**(code **)(puVar21 + 0x384f4))(*(int *)(puVar21 + 0x36ccc) + 0x66e4);\n    if (iVar20 == 0) {\n      iVar18 = 0;\n    }\n    else {\n      iVar10 = (**(code **)(puVar21 + 0x38b94))(iVar20);\n      iVar18 = (**(code **)(puVar21 + 0x36d08))(iVar10 + 10);\n      (**(code **)(puVar21 + 0x38c1c))(iVar18,iVar20);\n      *(undefined1 *)(iVar18 + iVar10) = 0x2f;\n      puVar12 = (undefined4 *)(iVar18 + iVar10 + 1);\n      iVar20 = *(int *)(puVar21 + 0x36d00);\n      uVar11 = *(undefined4 *)(iVar20 + 0x5d4);\n      *puVar12 = *(undefined4 *)(iVar20 + 0x5d0);\n      puVar12[1] = uVar11;\n      *(undefined1 *)(puVar12 + 2) = *(undefined1 *)(iVar20 + 0x5d8);\n    }\n  }" { (expression_statement "iVar20 = (**(code **)(puVar21 + 0x384f4))(*(int *)(puVar21 + 0x36ccc) + 0x66e4);" (assignment_expression "iVar20 = (**(code **)(puVar21 + 0x384f4))(*(int *)(puVar21 + 0x36ccc) + 0x66e4)" identifier = (call_expression "(**(code **)(puVar21 + 0x384f4))(*(int *)(puVar21 + 0x36ccc) + 0x66e4)" (parenthesized_expression "(**(code **)(puVar21 + 0x384f4))" ( (pointer_expression "**(code **)(puVar21 + 0x384f4)" * (pointer_expression "*(code **)(puVar21 + 0x384f4)" * (cast_expression "(code **)(puVar21 + 0x384f4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar21 + 0x384f4)" ( (binary_expression "puVar21 + 0x384f4" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar21 + 0x36ccc) + 0x66e4)" ( (binary_expression "*(int *)(puVar21 + 0x36ccc) + 0x66e4" (pointer_expression "*(int *)(puVar21 + 0x36ccc)" * (cast_expression "(int *)(puVar21 + 0x36ccc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar21 + 0x36ccc)" ( (binary_expression "puVar21 + 0x36ccc" identifier + number_literal) )))) + number_literal) )))) ;) (if_statement "if (iVar20 == 0) {\n      iVar18 = 0;\n    }\n    else {\n      iVar10 = (**(code **)(puVar21 + 0x38b94))(iVar20);\n      iVar18 = (**(code **)(puVar21 + 0x36d08))(iVar10 + 10);\n      (**(code **)(puVar21 + 0x38c1c))(iVar18,iVar20);\n      *(undefined1 *)(iVar18 + iVar10) = 0x2f;\n      puVar12 = (undefined4 *)(iVar18 + iVar10 + 1);\n      iVar20 = *(int *)(puVar21 + 0x36d00);\n      uVar11 = *(undefined4 *)(iVar20 + 0x5d4);\n      *puVar12 = *(undefined4 *)(iVar20 + 0x5d0);\n      puVar12[1] = uVar11;\n      *(undefined1 *)(puVar12 + 2) = *(undefined1 *)(iVar20 + 0x5d8);\n    }" if (parenthesized_expression "(iVar20 == 0)" ( (binary_expression "iVar20 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar18 = 0;\n    }" { (expression_statement "iVar18 = 0;" (assignment_expression "iVar18 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      iVar10 = (**(code **)(puVar21 + 0x38b94))(iVar20);\n      iVar18 = (**(code **)(puVar21 + 0x36d08))(iVar10 + 10);\n      (**(code **)(puVar21 + 0x38c1c))(iVar18,iVar20);\n      *(undefined1 *)(iVar18 + iVar10) = 0x2f;\n      puVar12 = (undefined4 *)(iVar18 + iVar10 + 1);\n      iVar20 = *(int *)(puVar21 + 0x36d00);\n      uVar11 = *(undefined4 *)(iVar20 + 0x5d4);\n      *puVar12 = *(undefined4 *)(iVar20 + 0x5d0);\n      puVar12[1] = uVar11;\n      *(undefined1 *)(puVar12 + 2) = *(undefined1 *)(iVar20 + 0x5d8);\n    }" else (compound_statement "{\n      iVar10 = (**(code **)(puVar21 + 0x38b94))(iVar20);\n      iVar18 = (**(code **)(puVar21 + 0x36d08))(iVar10 + 10);\n      (**(code **)(puVar21 + 0x38c1c))(iVar18,iVar20);\n      *(undefined1 *)(iVar18 + iVar10) = 0x2f;\n      puVar12 = (undefined4 *)(iVar18 + iVar10 + 1);\n      iVar20 = *(int *)(puVar21 + 0x36d00);\n      uVar11 = *(undefined4 *)(iVar20 + 0x5d4);\n      *puVar12 = *(undefined4 *)(iVar20 + 0x5d0);\n      puVar12[1] = uVar11;\n      *(undefined1 *)(puVar12 + 2) = *(undefined1 *)(iVar20 + 0x5d8);\n    }" { (expression_statement "iVar10 = (**(code **)(puVar21 + 0x38b94))(iVar20);" (assignment_expression "iVar10 = (**(code **)(puVar21 + 0x38b94))(iVar20)" identifier = (call_expression "(**(code **)(puVar21 + 0x38b94))(iVar20)" (parenthesized_expression "(**(code **)(puVar21 + 0x38b94))" ( (pointer_expression "**(code **)(puVar21 + 0x38b94)" * (pointer_expression "*(code **)(puVar21 + 0x38b94)" * (cast_expression "(code **)(puVar21 + 0x38b94)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar21 + 0x38b94)" ( (binary_expression "puVar21 + 0x38b94" identifier + number_literal) ))))) )) (argument_list "(iVar20)" ( identifier )))) ;) (expression_statement "iVar18 = (**(code **)(puVar21 + 0x36d08))(iVar10 + 10);" (assignment_expression "iVar18 = (**(code **)(puVar21 + 0x36d08))(iVar10 + 10)" identifier = (call_expression "(**(code **)(puVar21 + 0x36d08))(iVar10 + 10)" (parenthesized_expression "(**(code **)(puVar21 + 0x36d08))" ( (pointer_expression "**(code **)(puVar21 + 0x36d08)" * (pointer_expression "*(code **)(puVar21 + 0x36d08)" * (cast_expression "(code **)(puVar21 + 0x36d08)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar21 + 0x36d08)" ( (binary_expression "puVar21 + 0x36d08" identifier + number_literal) ))))) )) (argument_list "(iVar10 + 10)" ( (binary_expression "iVar10 + 10" identifier + number_literal) )))) ;) (expression_statement "(**(code **)(puVar21 + 0x38c1c))(iVar18,iVar20);" (call_expression "(**(code **)(puVar21 + 0x38c1c))(iVar18,iVar20)" (parenthesized_expression "(**(code **)(puVar21 + 0x38c1c))" ( (pointer_expression "**(code **)(puVar21 + 0x38c1c)" * (pointer_expression "*(code **)(puVar21 + 0x38c1c)" * (cast_expression "(code **)(puVar21 + 0x38c1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar21 + 0x38c1c)" ( (binary_expression "puVar21 + 0x38c1c" identifier + number_literal) ))))) )) (argument_list "(iVar18,iVar20)" ( identifier , identifier ))) ;) (expression_statement "*(undefined1 *)(iVar18 + iVar10) = 0x2f;" (assignment_expression "*(undefined1 *)(iVar18 + iVar10) = 0x2f" (pointer_expression "*(undefined1 *)(iVar18 + iVar10)" * (cast_expression "(undefined1 *)(iVar18 + iVar10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar18 + iVar10)" ( (binary_expression "iVar18 + iVar10" identifier + identifier) )))) = number_literal) ;) (expression_statement "puVar12 = (undefined4 *)(iVar18 + iVar10 + 1);" (assignment_expression "puVar12 = (undefined4 *)(iVar18 + iVar10 + 1)" identifier = (cast_expression "(undefined4 *)(iVar18 + iVar10 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar18 + iVar10 + 1)" ( (binary_expression "iVar18 + iVar10 + 1" (binary_expression "iVar18 + iVar10" identifier + identifier) + number_literal) )))) ;) (expression_statement "iVar20 = *(int *)(puVar21 + 0x36d00);" (assignment_expression "iVar20 = *(int *)(puVar21 + 0x36d00)" identifier = (pointer_expression "*(int *)(puVar21 + 0x36d00)" * (cast_expression "(int *)(puVar21 + 0x36d00)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar21 + 0x36d00)" ( (binary_expression "puVar21 + 0x36d00" identifier + number_literal) ))))) ;) (expression_statement "uVar11 = *(undefined4 *)(iVar20 + 0x5d4);" (assignment_expression "uVar11 = *(undefined4 *)(iVar20 + 0x5d4)" identifier = (pointer_expression "*(undefined4 *)(iVar20 + 0x5d4)" * (cast_expression "(undefined4 *)(iVar20 + 0x5d4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar20 + 0x5d4)" ( (binary_expression "iVar20 + 0x5d4" identifier + number_literal) ))))) ;) (expression_statement "*puVar12 = *(undefined4 *)(iVar20 + 0x5d0);" (assignment_expression "*puVar12 = *(undefined4 *)(iVar20 + 0x5d0)" (pointer_expression "*puVar12" * identifier) = (pointer_expression "*(undefined4 *)(iVar20 + 0x5d0)" * (cast_expression "(undefined4 *)(iVar20 + 0x5d0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar20 + 0x5d0)" ( (binary_expression "iVar20 + 0x5d0" identifier + number_literal) ))))) ;) (expression_statement "puVar12[1] = uVar11;" (assignment_expression "puVar12[1] = uVar11" (subscript_expression "puVar12[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)(puVar12 + 2) = *(undefined1 *)(iVar20 + 0x5d8);" (assignment_expression "*(undefined1 *)(puVar12 + 2) = *(undefined1 *)(iVar20 + 0x5d8)" (pointer_expression "*(undefined1 *)(puVar12 + 2)" * (cast_expression "(undefined1 *)(puVar12 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + 2)" ( (binary_expression "puVar12 + 2" identifier + number_literal) )))) = (pointer_expression "*(undefined1 *)(iVar20 + 0x5d8)" * (cast_expression "(undefined1 *)(iVar20 + 0x5d8)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar20 + 0x5d8)" ( (binary_expression "iVar20 + 0x5d8" identifier + number_literal) ))))) ;) }))) }) (else_clause "else {\n    iVar18 = (**(code **)(puVar21 + 0x38b94))();\n    uVar11 = (**(code **)(puVar21 + 0x36d08))(iVar18 + 1);\n    iVar18 = (**(code **)(puVar21 + 0x38c1c))(uVar11,iVar20);\n  }" else (compound_statement "{\n    iVar18 = (**(code **)(puVar21 + 0x38b94))();\n    uVar11 = (**(code **)(puVar21 + 0x36d08))(iVar18 + 1);\n    iVar18 = (**(code **)(puVar21 + 0x38c1c))(uVar11,iVar20);\n  }" { (expression_statement "iVar18 = (**(code **)(puVar21 + 0x38b94))();" (assignment_expression "iVar18 = (**(code **)(puVar21 + 0x38b94))()" identifier = (call_expression "(**(code **)(puVar21 + 0x38b94))()" (parenthesized_expression "(**(code **)(puVar21 + 0x38b94))" ( (pointer_expression "**(code **)(puVar21 + 0x38b94)" * (pointer_expression "*(code **)(puVar21 + 0x38b94)" * (cast_expression "(code **)(puVar21 + 0x38b94)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar21 + 0x38b94)" ( (binary_expression "puVar21 + 0x38b94" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "uVar11 = (**(code **)(puVar21 + 0x36d08))(iVar18 + 1);" (assignment_expression "uVar11 = (**(code **)(puVar21 + 0x36d08))(iVar18 + 1)" identifier = (call_expression "(**(code **)(puVar21 + 0x36d08))(iVar18 + 1)" (parenthesized_expression "(**(code **)(puVar21 + 0x36d08))" ( (pointer_expression "**(code **)(puVar21 + 0x36d08)" * (pointer_expression "*(code **)(puVar21 + 0x36d08)" * (cast_expression "(code **)(puVar21 + 0x36d08)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar21 + 0x36d08)" ( (binary_expression "puVar21 + 0x36d08" identifier + number_literal) ))))) )) (argument_list "(iVar18 + 1)" ( (binary_expression "iVar18 + 1" identifier + number_literal) )))) ;) (expression_statement "iVar18 = (**(code **)(puVar21 + 0x38c1c))(uVar11,iVar20);" (assignment_expression "iVar18 = (**(code **)(puVar21 + 0x38c1c))(uVar11,iVar20)" identifier = (call_expression "(**(code **)(puVar21 + 0x38c1c))(uVar11,iVar20)" (parenthesized_expression "(**(code **)(puVar21 + 0x38c1c))" ( (pointer_expression "**(code **)(puVar21 + 0x38c1c)" * (pointer_expression "*(code **)(puVar21 + 0x38c1c)" * (cast_expression "(code **)(puVar21 + 0x38c1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar21 + 0x38c1c)" ( (binary_expression "puVar21 + 0x38c1c" identifier + number_literal) ))))) )) (argument_list "(uVar11,iVar20)" ( identifier , identifier )))) ;) }))) (return_statement "return iVar18;" return identifier ;) })))
(translation_unit "uint history_expand(char *param_1,undefined4 *param_2)\n\n{\n  char cVar1;\n  undefined *puVar2;\n  uint uVar3;\n  undefined1 *puVar4;\n  code *pcVar5;\n  char *pcVar6;\n  char cVar14;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  undefined4 uVar9;\n  uint uVar10;\n  int iVar11;\n  undefined4 uVar12;\n  undefined4 *puVar13;\n  int iVar15;\n  bool bVar16;\n  int iVar17;\n  int iVar18;\n  int *piVar19;\n  int iVar20;\n  int iVar21;\n  int iVar22;\n  undefined *puVar23;\n  int local_c8;\n  uint local_c4;\n  char *local_c0;\n  uint local_b0;\n  int local_a8;\n  int local_5c;\n  int local_58 [6];\n  undefined1 local_40;\n  undefined1 local_3f;\n  undefined1 local_3e;\n  int local_3c [5];\n  \n  local_3c[4] = *(int *)PTR___stack_chk_guard_0015858c;\n  uVar3 = 0;\n  if (param_2 == (undefined4 *)0x0) goto LAB_0011f678;\n  if (*PTR_history_expansion_char_00156fcc == '\0') {\n    iVar22 = (*(code *)PTR_strlen_00158444)();\n    uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);\n    uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);\n    *param_2 = uVar12;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }\n  puVar4 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(0x100);\n  *puVar4 = 0;\n  local_c8 = (*(code *)PTR_strlen_00158444)(param_1);\n  if (*param_1 != *PTR_history_subst_char_00156fd0) {\n    local_58[2] = 0;\n    local_58[3] = 0;\n    uVar3 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);\n    local_5c = 0;\n    pcVar6 = param_1;\n    if ((*(int *)PTR_history_quoting_state_001569a0 == 0x27) &&\n       (*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0)) {\n      FUN_0011c170(param_1,&local_5c,0);\n      if (param_1[local_5c] == '\0') goto LAB_0011d994;\n      local_5c = local_5c + 1;\n    }\n    puVar2 = PTR_history_quotes_inhibit_expansion_00157524;\n    puVar23 = PTR_history_comment_char_00156f80;\n    if (param_1[local_5c] != '\0') {\n      pcVar5 = (code *)(PTR_LAB_0015657c + -0x3e90);\n      do {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((uVar10 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {\nLAB_0011f800:\n          iVar22 = local_5c;\n          iVar20 = (int)(param_1 + local_5c)[1];\n          if (((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11))\n          {\n            iVar11 = (int)param_1[local_5c];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }\n          if (((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);\n            if (iVar22 == 0) break;\n          }\n        }\n        else {\n          iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2);\n          if (iVar22 < 2) goto LAB_0011f800;\n          local_5c = local_5c + iVar22 + -1;\n        }\nLAB_0011f7c0:\n        local_5c = local_5c + 1;\n      } while (param_1[local_5c] != '\0');\n    }\n    goto LAB_0011d994;\n  }\n  pcVar6 = (char *)(*(code *)PTR_xmalloc_001565b8)(local_c8 + 5);\n  cVar1 = *PTR_history_expansion_char_00156fcc;\n  pcVar6[1] = cVar1;\n  *pcVar6 = cVar1;\n  pcVar6[2] = ':';\n  pcVar6[3] = 's';\n  (*(code *)PTR_strcpy_001584cc)(pcVar6 + 4,param_1);\n  local_c8 = local_c8 + 4;\n  goto LAB_0011d9ac;\nLAB_0011da2c:\n  do {\n    local_5c = iVar22 + 1;\n    iVar22 = local_5c;\n  } while (param_1[local_5c] != '\0');\nLAB_0011d994:\n  if (param_1[local_5c] != *PTR_history_expansion_char_00156fcc) {\n    (*(code *)PTR_xfree_00156bb4)(puVar4);\n    iVar22 = (*(code *)PTR_strlen_00158444)(param_1);\n    uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);\n    uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);\n    *param_2 = uVar12;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }\nLAB_0011d9ac:\n  local_c4 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);\n  local_5c = 0;\n  if (*(int *)PTR_history_quoting_state_001569a0 == 0x27) {\n    iVar22 = 0x100;\n    if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n      local_b0 = 1;\n      iVar11 = 0;\n    }\n    else {\n      FUN_0011c170(pcVar6,&local_5c,0);\n      if (local_5c < 1) {\n        if (pcVar6[local_5c] == '\0') {\n          iVar22 = 0x100;\n          local_b0 = 0;\n          iVar11 = 0;\n        }\n        else {\n          iVar20 = 0;\n          iVar22 = 0x100;\nLAB_0011dbe0:\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[local_5c];\n          puVar4[iVar11] = 0;\n          local_5c = local_5c + 1;\n          local_b0 = 0;\n        }\n      }\n      else {\n        iVar22 = 0x100;\n        iVar20 = 0;\n        while( true ) {\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[iVar20];\n          puVar4[iVar11] = 0;\n          if (local_5c <= iVar11) break;\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n        }\n        if (pcVar6[local_5c] != '\0') {\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }\n    }\n  }\n  else {\n    iVar22 = 0x100;\n    local_b0 = 0;\n    iVar11 = 0;\n  }\n  puVar2 = PTR_DAT_001565b0;\n  puVar23 = PTR_DAT_0015656c;\n  if (local_5c < local_c8) {\n    local_a8 = 0;\n    uVar3 = 0;\n    do {\n      cVar1 = pcVar6[local_5c];\n      if (uVar3 == 0) {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((1 < uVar10) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {\n          local_3c[0] = 0;\n          local_3c[1] = 0;\n          local_3c[2] = 0;\n          local_3c[3] = 0;\n          piVar19 = local_3c;\n          cVar14 = cVar1;\n          do {\n            *(char *)piVar19 = cVar14;\n            local_58[2] = 0;\n            local_58[3] = 0;\n            iVar20 = _rl_get_char_len(local_3c,local_58 + 2);\n            if (iVar20 != -2) break;\n            local_5c = local_5c + 1;\n            piVar19 = (int *)((int)piVar19 + 1);\n            cVar14 = pcVar6[local_5c];\n          } while (local_3c + 4 != piVar19);\n          uVar10 = (*(code *)PTR_strlen_00158444)(local_3c);\n          if (1 < uVar10) {\n            iVar20 = iVar11 + uVar10;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }\n        iVar20 = local_5c;\n        if (*PTR_history_expansion_char_00156fcc == cVar1) {\nLAB_0011e340:\n          iVar15 = (int)pcVar6[local_5c + 1];\n          if ((((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))) {\n            iVar20 = local_5c;\n            uVar12 = 0x27;\n            if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }\n            local_58[4] = 0;\n            local_58[5] = 0;\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            local_58[0] = iVar20;\n            iVar15 = (int)pcVar6[iVar20 + 1];\n            if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }\n            local_58[0] = iVar18;\n            iVar15 = local_58[0];\n            if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *param_2 = uVar12;\n            (*(code *)PTR_xfree_00156bb4)(puVar4);\n            if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }\n      }\n      else {\n        if (iVar22 + -1 <= iVar11) {\n          iVar22 = iVar22 + 0x40;\n          puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n        }\n        puVar4[iVar11] = cVar1;\n        puVar4[iVar11 + 1] = 0;\n        uVar3 = 0;\n        iVar20 = iVar11 + 1;\n      }\nLAB_0011dc80:\n      local_5c = local_5c + 1;\n      iVar11 = iVar20;\n    } while (local_5c < local_c8);\n    *param_2 = puVar4;\n    if (pcVar6 != param_1) {\nLAB_0011f650:\n      (*(code *)PTR_xfree_00156bb4)(pcVar6);\n    }\n  }\n  else {\n    *param_2 = puVar4;\n    if (pcVar6 != param_1) {\n      local_a8 = 0;\n      goto LAB_0011f650;\n    }\n    local_a8 = 0;\n  }\n  uVar3 = (uint)(local_a8 != 0);\nLAB_0011f678:\n  if (local_3c[4] == *(int *)PTR___stack_chk_guard_0015858c) {\n    return uVar3;\n  }\n  iVar22 = local_3c[4];\n  puVar23 = PTR___stack_chk_fail_0015853c;\n  (*(code *)PTR___stack_chk_fail_0015853c)();\n  if (iVar22 == 0) {\n    iVar22 = (**(code **)(puVar23 + 0x384f4))(*(int *)(puVar23 + 0x36ccc) + 0x66e4);\n    if (iVar22 == 0) {\n      uVar3 = 0;\n    }\n    else {\n      iVar20 = (**(code **)(puVar23 + 0x38b94))(iVar22);\n      uVar3 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 10);\n      (**(code **)(puVar23 + 0x38c1c))(uVar3,iVar22);\n      *(undefined1 *)(uVar3 + iVar20) = 0x2f;\n      puVar13 = (undefined4 *)(uVar3 + iVar20 + 1);\n      iVar22 = *(int *)(puVar23 + 0x36d00);\n      uVar12 = *(undefined4 *)(iVar22 + 0x5d4);\n      *puVar13 = *(undefined4 *)(iVar22 + 0x5d0);\n      puVar13[1] = uVar12;\n      *(undefined1 *)(puVar13 + 2) = *(undefined1 *)(iVar22 + 0x5d8);\n    }\n  }\n  else {\n    iVar20 = (**(code **)(puVar23 + 0x38b94))();\n    uVar12 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 1);\n    uVar3 = (**(code **)(puVar23 + 0x38c1c))(uVar12,iVar22);\n  }\n  return uVar3;\n}\n\n" (function_definition "uint history_expand(char *param_1,undefined4 *param_2)\n\n{\n  char cVar1;\n  undefined *puVar2;\n  uint uVar3;\n  undefined1 *puVar4;\n  code *pcVar5;\n  char *pcVar6;\n  char cVar14;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  undefined4 uVar9;\n  uint uVar10;\n  int iVar11;\n  undefined4 uVar12;\n  undefined4 *puVar13;\n  int iVar15;\n  bool bVar16;\n  int iVar17;\n  int iVar18;\n  int *piVar19;\n  int iVar20;\n  int iVar21;\n  int iVar22;\n  undefined *puVar23;\n  int local_c8;\n  uint local_c4;\n  char *local_c0;\n  uint local_b0;\n  int local_a8;\n  int local_5c;\n  int local_58 [6];\n  undefined1 local_40;\n  undefined1 local_3f;\n  undefined1 local_3e;\n  int local_3c [5];\n  \n  local_3c[4] = *(int *)PTR___stack_chk_guard_0015858c;\n  uVar3 = 0;\n  if (param_2 == (undefined4 *)0x0) goto LAB_0011f678;\n  if (*PTR_history_expansion_char_00156fcc == '\0') {\n    iVar22 = (*(code *)PTR_strlen_00158444)();\n    uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);\n    uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);\n    *param_2 = uVar12;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }\n  puVar4 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(0x100);\n  *puVar4 = 0;\n  local_c8 = (*(code *)PTR_strlen_00158444)(param_1);\n  if (*param_1 != *PTR_history_subst_char_00156fd0) {\n    local_58[2] = 0;\n    local_58[3] = 0;\n    uVar3 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);\n    local_5c = 0;\n    pcVar6 = param_1;\n    if ((*(int *)PTR_history_quoting_state_001569a0 == 0x27) &&\n       (*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0)) {\n      FUN_0011c170(param_1,&local_5c,0);\n      if (param_1[local_5c] == '\0') goto LAB_0011d994;\n      local_5c = local_5c + 1;\n    }\n    puVar2 = PTR_history_quotes_inhibit_expansion_00157524;\n    puVar23 = PTR_history_comment_char_00156f80;\n    if (param_1[local_5c] != '\0') {\n      pcVar5 = (code *)(PTR_LAB_0015657c + -0x3e90);\n      do {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((uVar10 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {\nLAB_0011f800:\n          iVar22 = local_5c;\n          iVar20 = (int)(param_1 + local_5c)[1];\n          if (((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11))\n          {\n            iVar11 = (int)param_1[local_5c];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }\n          if (((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);\n            if (iVar22 == 0) break;\n          }\n        }\n        else {\n          iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2);\n          if (iVar22 < 2) goto LAB_0011f800;\n          local_5c = local_5c + iVar22 + -1;\n        }\nLAB_0011f7c0:\n        local_5c = local_5c + 1;\n      } while (param_1[local_5c] != '\0');\n    }\n    goto LAB_0011d994;\n  }\n  pcVar6 = (char *)(*(code *)PTR_xmalloc_001565b8)(local_c8 + 5);\n  cVar1 = *PTR_history_expansion_char_00156fcc;\n  pcVar6[1] = cVar1;\n  *pcVar6 = cVar1;\n  pcVar6[2] = ':';\n  pcVar6[3] = 's';\n  (*(code *)PTR_strcpy_001584cc)(pcVar6 + 4,param_1);\n  local_c8 = local_c8 + 4;\n  goto LAB_0011d9ac;\nLAB_0011da2c:\n  do {\n    local_5c = iVar22 + 1;\n    iVar22 = local_5c;\n  } while (param_1[local_5c] != '\0');\nLAB_0011d994:\n  if (param_1[local_5c] != *PTR_history_expansion_char_00156fcc) {\n    (*(code *)PTR_xfree_00156bb4)(puVar4);\n    iVar22 = (*(code *)PTR_strlen_00158444)(param_1);\n    uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);\n    uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);\n    *param_2 = uVar12;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }\nLAB_0011d9ac:\n  local_c4 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);\n  local_5c = 0;\n  if (*(int *)PTR_history_quoting_state_001569a0 == 0x27) {\n    iVar22 = 0x100;\n    if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n      local_b0 = 1;\n      iVar11 = 0;\n    }\n    else {\n      FUN_0011c170(pcVar6,&local_5c,0);\n      if (local_5c < 1) {\n        if (pcVar6[local_5c] == '\0') {\n          iVar22 = 0x100;\n          local_b0 = 0;\n          iVar11 = 0;\n        }\n        else {\n          iVar20 = 0;\n          iVar22 = 0x100;\nLAB_0011dbe0:\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[local_5c];\n          puVar4[iVar11] = 0;\n          local_5c = local_5c + 1;\n          local_b0 = 0;\n        }\n      }\n      else {\n        iVar22 = 0x100;\n        iVar20 = 0;\n        while( true ) {\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[iVar20];\n          puVar4[iVar11] = 0;\n          if (local_5c <= iVar11) break;\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n        }\n        if (pcVar6[local_5c] != '\0') {\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }\n    }\n  }\n  else {\n    iVar22 = 0x100;\n    local_b0 = 0;\n    iVar11 = 0;\n  }\n  puVar2 = PTR_DAT_001565b0;\n  puVar23 = PTR_DAT_0015656c;\n  if (local_5c < local_c8) {\n    local_a8 = 0;\n    uVar3 = 0;\n    do {\n      cVar1 = pcVar6[local_5c];\n      if (uVar3 == 0) {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((1 < uVar10) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {\n          local_3c[0] = 0;\n          local_3c[1] = 0;\n          local_3c[2] = 0;\n          local_3c[3] = 0;\n          piVar19 = local_3c;\n          cVar14 = cVar1;\n          do {\n            *(char *)piVar19 = cVar14;\n            local_58[2] = 0;\n            local_58[3] = 0;\n            iVar20 = _rl_get_char_len(local_3c,local_58 + 2);\n            if (iVar20 != -2) break;\n            local_5c = local_5c + 1;\n            piVar19 = (int *)((int)piVar19 + 1);\n            cVar14 = pcVar6[local_5c];\n          } while (local_3c + 4 != piVar19);\n          uVar10 = (*(code *)PTR_strlen_00158444)(local_3c);\n          if (1 < uVar10) {\n            iVar20 = iVar11 + uVar10;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }\n        iVar20 = local_5c;\n        if (*PTR_history_expansion_char_00156fcc == cVar1) {\nLAB_0011e340:\n          iVar15 = (int)pcVar6[local_5c + 1];\n          if ((((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))) {\n            iVar20 = local_5c;\n            uVar12 = 0x27;\n            if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }\n            local_58[4] = 0;\n            local_58[5] = 0;\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            local_58[0] = iVar20;\n            iVar15 = (int)pcVar6[iVar20 + 1];\n            if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }\n            local_58[0] = iVar18;\n            iVar15 = local_58[0];\n            if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *param_2 = uVar12;\n            (*(code *)PTR_xfree_00156bb4)(puVar4);\n            if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }\n      }\n      else {\n        if (iVar22 + -1 <= iVar11) {\n          iVar22 = iVar22 + 0x40;\n          puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n        }\n        puVar4[iVar11] = cVar1;\n        puVar4[iVar11 + 1] = 0;\n        uVar3 = 0;\n        iVar20 = iVar11 + 1;\n      }\nLAB_0011dc80:\n      local_5c = local_5c + 1;\n      iVar11 = iVar20;\n    } while (local_5c < local_c8);\n    *param_2 = puVar4;\n    if (pcVar6 != param_1) {\nLAB_0011f650:\n      (*(code *)PTR_xfree_00156bb4)(pcVar6);\n    }\n  }\n  else {\n    *param_2 = puVar4;\n    if (pcVar6 != param_1) {\n      local_a8 = 0;\n      goto LAB_0011f650;\n    }\n    local_a8 = 0;\n  }\n  uVar3 = (uint)(local_a8 != 0);\nLAB_0011f678:\n  if (local_3c[4] == *(int *)PTR___stack_chk_guard_0015858c) {\n    return uVar3;\n  }\n  iVar22 = local_3c[4];\n  puVar23 = PTR___stack_chk_fail_0015853c;\n  (*(code *)PTR___stack_chk_fail_0015853c)();\n  if (iVar22 == 0) {\n    iVar22 = (**(code **)(puVar23 + 0x384f4))(*(int *)(puVar23 + 0x36ccc) + 0x66e4);\n    if (iVar22 == 0) {\n      uVar3 = 0;\n    }\n    else {\n      iVar20 = (**(code **)(puVar23 + 0x38b94))(iVar22);\n      uVar3 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 10);\n      (**(code **)(puVar23 + 0x38c1c))(uVar3,iVar22);\n      *(undefined1 *)(uVar3 + iVar20) = 0x2f;\n      puVar13 = (undefined4 *)(uVar3 + iVar20 + 1);\n      iVar22 = *(int *)(puVar23 + 0x36d00);\n      uVar12 = *(undefined4 *)(iVar22 + 0x5d4);\n      *puVar13 = *(undefined4 *)(iVar22 + 0x5d0);\n      puVar13[1] = uVar12;\n      *(undefined1 *)(puVar13 + 2) = *(undefined1 *)(iVar22 + 0x5d8);\n    }\n  }\n  else {\n    iVar20 = (**(code **)(puVar23 + 0x38b94))();\n    uVar12 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 1);\n    uVar3 = (**(code **)(puVar23 + 0x38c1c))(uVar12,iVar22);\n  }\n  return uVar3;\n}" type_identifier (function_declarator "history_expand(char *param_1,undefined4 *param_2)" identifier (parameter_list "(char *param_1,undefined4 *param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  undefined *puVar2;\n  uint uVar3;\n  undefined1 *puVar4;\n  code *pcVar5;\n  char *pcVar6;\n  char cVar14;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  undefined4 uVar9;\n  uint uVar10;\n  int iVar11;\n  undefined4 uVar12;\n  undefined4 *puVar13;\n  int iVar15;\n  bool bVar16;\n  int iVar17;\n  int iVar18;\n  int *piVar19;\n  int iVar20;\n  int iVar21;\n  int iVar22;\n  undefined *puVar23;\n  int local_c8;\n  uint local_c4;\n  char *local_c0;\n  uint local_b0;\n  int local_a8;\n  int local_5c;\n  int local_58 [6];\n  undefined1 local_40;\n  undefined1 local_3f;\n  undefined1 local_3e;\n  int local_3c [5];\n  \n  local_3c[4] = *(int *)PTR___stack_chk_guard_0015858c;\n  uVar3 = 0;\n  if (param_2 == (undefined4 *)0x0) goto LAB_0011f678;\n  if (*PTR_history_expansion_char_00156fcc == '\0') {\n    iVar22 = (*(code *)PTR_strlen_00158444)();\n    uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);\n    uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);\n    *param_2 = uVar12;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }\n  puVar4 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(0x100);\n  *puVar4 = 0;\n  local_c8 = (*(code *)PTR_strlen_00158444)(param_1);\n  if (*param_1 != *PTR_history_subst_char_00156fd0) {\n    local_58[2] = 0;\n    local_58[3] = 0;\n    uVar3 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);\n    local_5c = 0;\n    pcVar6 = param_1;\n    if ((*(int *)PTR_history_quoting_state_001569a0 == 0x27) &&\n       (*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0)) {\n      FUN_0011c170(param_1,&local_5c,0);\n      if (param_1[local_5c] == '\0') goto LAB_0011d994;\n      local_5c = local_5c + 1;\n    }\n    puVar2 = PTR_history_quotes_inhibit_expansion_00157524;\n    puVar23 = PTR_history_comment_char_00156f80;\n    if (param_1[local_5c] != '\0') {\n      pcVar5 = (code *)(PTR_LAB_0015657c + -0x3e90);\n      do {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((uVar10 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {\nLAB_0011f800:\n          iVar22 = local_5c;\n          iVar20 = (int)(param_1 + local_5c)[1];\n          if (((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11))\n          {\n            iVar11 = (int)param_1[local_5c];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }\n          if (((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);\n            if (iVar22 == 0) break;\n          }\n        }\n        else {\n          iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2);\n          if (iVar22 < 2) goto LAB_0011f800;\n          local_5c = local_5c + iVar22 + -1;\n        }\nLAB_0011f7c0:\n        local_5c = local_5c + 1;\n      } while (param_1[local_5c] != '\0');\n    }\n    goto LAB_0011d994;\n  }\n  pcVar6 = (char *)(*(code *)PTR_xmalloc_001565b8)(local_c8 + 5);\n  cVar1 = *PTR_history_expansion_char_00156fcc;\n  pcVar6[1] = cVar1;\n  *pcVar6 = cVar1;\n  pcVar6[2] = ':';\n  pcVar6[3] = 's';\n  (*(code *)PTR_strcpy_001584cc)(pcVar6 + 4,param_1);\n  local_c8 = local_c8 + 4;\n  goto LAB_0011d9ac;\nLAB_0011da2c:\n  do {\n    local_5c = iVar22 + 1;\n    iVar22 = local_5c;\n  } while (param_1[local_5c] != '\0');\nLAB_0011d994:\n  if (param_1[local_5c] != *PTR_history_expansion_char_00156fcc) {\n    (*(code *)PTR_xfree_00156bb4)(puVar4);\n    iVar22 = (*(code *)PTR_strlen_00158444)(param_1);\n    uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);\n    uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);\n    *param_2 = uVar12;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }\nLAB_0011d9ac:\n  local_c4 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);\n  local_5c = 0;\n  if (*(int *)PTR_history_quoting_state_001569a0 == 0x27) {\n    iVar22 = 0x100;\n    if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n      local_b0 = 1;\n      iVar11 = 0;\n    }\n    else {\n      FUN_0011c170(pcVar6,&local_5c,0);\n      if (local_5c < 1) {\n        if (pcVar6[local_5c] == '\0') {\n          iVar22 = 0x100;\n          local_b0 = 0;\n          iVar11 = 0;\n        }\n        else {\n          iVar20 = 0;\n          iVar22 = 0x100;\nLAB_0011dbe0:\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[local_5c];\n          puVar4[iVar11] = 0;\n          local_5c = local_5c + 1;\n          local_b0 = 0;\n        }\n      }\n      else {\n        iVar22 = 0x100;\n        iVar20 = 0;\n        while( true ) {\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[iVar20];\n          puVar4[iVar11] = 0;\n          if (local_5c <= iVar11) break;\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n        }\n        if (pcVar6[local_5c] != '\0') {\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }\n    }\n  }\n  else {\n    iVar22 = 0x100;\n    local_b0 = 0;\n    iVar11 = 0;\n  }\n  puVar2 = PTR_DAT_001565b0;\n  puVar23 = PTR_DAT_0015656c;\n  if (local_5c < local_c8) {\n    local_a8 = 0;\n    uVar3 = 0;\n    do {\n      cVar1 = pcVar6[local_5c];\n      if (uVar3 == 0) {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((1 < uVar10) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {\n          local_3c[0] = 0;\n          local_3c[1] = 0;\n          local_3c[2] = 0;\n          local_3c[3] = 0;\n          piVar19 = local_3c;\n          cVar14 = cVar1;\n          do {\n            *(char *)piVar19 = cVar14;\n            local_58[2] = 0;\n            local_58[3] = 0;\n            iVar20 = _rl_get_char_len(local_3c,local_58 + 2);\n            if (iVar20 != -2) break;\n            local_5c = local_5c + 1;\n            piVar19 = (int *)((int)piVar19 + 1);\n            cVar14 = pcVar6[local_5c];\n          } while (local_3c + 4 != piVar19);\n          uVar10 = (*(code *)PTR_strlen_00158444)(local_3c);\n          if (1 < uVar10) {\n            iVar20 = iVar11 + uVar10;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }\n        iVar20 = local_5c;\n        if (*PTR_history_expansion_char_00156fcc == cVar1) {\nLAB_0011e340:\n          iVar15 = (int)pcVar6[local_5c + 1];\n          if ((((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))) {\n            iVar20 = local_5c;\n            uVar12 = 0x27;\n            if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }\n            local_58[4] = 0;\n            local_58[5] = 0;\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            local_58[0] = iVar20;\n            iVar15 = (int)pcVar6[iVar20 + 1];\n            if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }\n            local_58[0] = iVar18;\n            iVar15 = local_58[0];\n            if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *param_2 = uVar12;\n            (*(code *)PTR_xfree_00156bb4)(puVar4);\n            if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }\n      }\n      else {\n        if (iVar22 + -1 <= iVar11) {\n          iVar22 = iVar22 + 0x40;\n          puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n        }\n        puVar4[iVar11] = cVar1;\n        puVar4[iVar11 + 1] = 0;\n        uVar3 = 0;\n        iVar20 = iVar11 + 1;\n      }\nLAB_0011dc80:\n      local_5c = local_5c + 1;\n      iVar11 = iVar20;\n    } while (local_5c < local_c8);\n    *param_2 = puVar4;\n    if (pcVar6 != param_1) {\nLAB_0011f650:\n      (*(code *)PTR_xfree_00156bb4)(pcVar6);\n    }\n  }\n  else {\n    *param_2 = puVar4;\n    if (pcVar6 != param_1) {\n      local_a8 = 0;\n      goto LAB_0011f650;\n    }\n    local_a8 = 0;\n  }\n  uVar3 = (uint)(local_a8 != 0);\nLAB_0011f678:\n  if (local_3c[4] == *(int *)PTR___stack_chk_guard_0015858c) {\n    return uVar3;\n  }\n  iVar22 = local_3c[4];\n  puVar23 = PTR___stack_chk_fail_0015853c;\n  (*(code *)PTR___stack_chk_fail_0015853c)();\n  if (iVar22 == 0) {\n    iVar22 = (**(code **)(puVar23 + 0x384f4))(*(int *)(puVar23 + 0x36ccc) + 0x66e4);\n    if (iVar22 == 0) {\n      uVar3 = 0;\n    }\n    else {\n      iVar20 = (**(code **)(puVar23 + 0x38b94))(iVar22);\n      uVar3 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 10);\n      (**(code **)(puVar23 + 0x38c1c))(uVar3,iVar22);\n      *(undefined1 *)(uVar3 + iVar20) = 0x2f;\n      puVar13 = (undefined4 *)(uVar3 + iVar20 + 1);\n      iVar22 = *(int *)(puVar23 + 0x36d00);\n      uVar12 = *(undefined4 *)(iVar22 + 0x5d4);\n      *puVar13 = *(undefined4 *)(iVar22 + 0x5d0);\n      puVar13[1] = uVar12;\n      *(undefined1 *)(puVar13 + 2) = *(undefined1 *)(iVar22 + 0x5d8);\n    }\n  }\n  else {\n    iVar20 = (**(code **)(puVar23 + 0x38b94))();\n    uVar12 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 1);\n    uVar3 = (**(code **)(puVar23 + 0x38c1c))(uVar12,iVar22);\n  }\n  return uVar3;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined1 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "code *pcVar5;" type_identifier (pointer_declarator "*pcVar5" * identifier) ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "char cVar14;" primitive_type identifier ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "undefined4 uVar12;" type_identifier identifier ;) (declaration "undefined4 *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "bool bVar16;" primitive_type identifier ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "int iVar18;" primitive_type identifier ;) (declaration "int *piVar19;" primitive_type (pointer_declarator "*piVar19" * identifier) ;) (declaration "int iVar20;" primitive_type identifier ;) (declaration "int iVar21;" primitive_type identifier ;) (declaration "int iVar22;" primitive_type identifier ;) (declaration "undefined *puVar23;" type_identifier (pointer_declarator "*puVar23" * identifier) ;) (declaration "int local_c8;" primitive_type identifier ;) (declaration "uint local_c4;" type_identifier identifier ;) (declaration "char *local_c0;" primitive_type (pointer_declarator "*local_c0" * identifier) ;) (declaration "uint local_b0;" type_identifier identifier ;) (declaration "int local_a8;" primitive_type identifier ;) (declaration "int local_5c;" primitive_type identifier ;) (declaration "int local_58 [6];" primitive_type (array_declarator "local_58 [6]" identifier [ number_literal ]) ;) (declaration "undefined1 local_40;" type_identifier identifier ;) (declaration "undefined1 local_3f;" type_identifier identifier ;) (declaration "undefined1 local_3e;" type_identifier identifier ;) (declaration "int local_3c [5];" primitive_type (array_declarator "local_3c [5]" identifier [ number_literal ]) ;) (expression_statement "local_3c[4] = *(int *)PTR___stack_chk_guard_0015858c;" (assignment_expression "local_3c[4] = *(int *)PTR___stack_chk_guard_0015858c" (subscript_expression "local_3c[4]" identifier [ number_literal ]) = (pointer_expression "*(int *)PTR___stack_chk_guard_0015858c" * (cast_expression "(int *)PTR___stack_chk_guard_0015858c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (if_statement "if (param_2 == (undefined4 *)0x0) goto LAB_0011f678;" if (parenthesized_expression "(param_2 == (undefined4 *)0x0)" ( (binary_expression "param_2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0011f678;" goto statement_identifier ;)) (if_statement "if (*PTR_history_expansion_char_00156fcc == '\0') {\n    iVar22 = (*(code *)PTR_strlen_00158444)();\n    uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);\n    uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);\n    *param_2 = uVar12;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }" if (parenthesized_expression "(*PTR_history_expansion_char_00156fcc == '\0')" ( (binary_expression "*PTR_history_expansion_char_00156fcc == '\0'" (pointer_expression "*PTR_history_expansion_char_00156fcc" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar22 = (*(code *)PTR_strlen_00158444)();\n    uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);\n    uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);\n    *param_2 = uVar12;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }" { (expression_statement "iVar22 = (*(code *)PTR_strlen_00158444)();" (assignment_expression "iVar22 = (*(code *)PTR_strlen_00158444)()" identifier = (call_expression "(*(code *)PTR_strlen_00158444)()" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);" (assignment_expression "uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001565b8)(iVar22 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar22 + 1)" ( (binary_expression "iVar22 + 1" identifier + number_literal) )))) ;) (expression_statement "uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);" (assignment_expression "uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1)" identifier = (call_expression "(*(code *)PTR_strcpy_001584cc)(uVar12,param_1)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" ( (pointer_expression "*(code *)PTR_strcpy_001584cc" * (cast_expression "(code *)PTR_strcpy_001584cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar12,param_1)" ( identifier , identifier )))) ;) (expression_statement "*param_2 = uVar12;" (assignment_expression "*param_2 = uVar12" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0011f678;" goto statement_identifier ;) })) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(0x100);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(0x100)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xmalloc_001565b8)(0x100)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001565b8)(0x100)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x100)" ( number_literal ))))) ;) (expression_statement "*puVar4 = 0;" (assignment_expression "*puVar4 = 0" (pointer_expression "*puVar4" * identifier) = number_literal) ;) (expression_statement "local_c8 = (*(code *)PTR_strlen_00158444)(param_1);" (assignment_expression "local_c8 = (*(code *)PTR_strlen_00158444)(param_1)" identifier = (call_expression "(*(code *)PTR_strlen_00158444)(param_1)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (*param_1 != *PTR_history_subst_char_00156fd0) {\n    local_58[2] = 0;\n    local_58[3] = 0;\n    uVar3 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);\n    local_5c = 0;\n    pcVar6 = param_1;\n    if ((*(int *)PTR_history_quoting_state_001569a0 == 0x27) &&\n       (*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0)) {\n      FUN_0011c170(param_1,&local_5c,0);\n      if (param_1[local_5c] == '\0') goto LAB_0011d994;\n      local_5c = local_5c + 1;\n    }\n    puVar2 = PTR_history_quotes_inhibit_expansion_00157524;\n    puVar23 = PTR_history_comment_char_00156f80;\n    if (param_1[local_5c] != '\0') {\n      pcVar5 = (code *)(PTR_LAB_0015657c + -0x3e90);\n      do {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((uVar10 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {\nLAB_0011f800:\n          iVar22 = local_5c;\n          iVar20 = (int)(param_1 + local_5c)[1];\n          if (((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11))\n          {\n            iVar11 = (int)param_1[local_5c];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }\n          if (((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);\n            if (iVar22 == 0) break;\n          }\n        }\n        else {\n          iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2);\n          if (iVar22 < 2) goto LAB_0011f800;\n          local_5c = local_5c + iVar22 + -1;\n        }\nLAB_0011f7c0:\n        local_5c = local_5c + 1;\n      } while (param_1[local_5c] != '\0');\n    }\n    goto LAB_0011d994;\n  }" if (parenthesized_expression "(*param_1 != *PTR_history_subst_char_00156fd0)" ( (binary_expression "*param_1 != *PTR_history_subst_char_00156fd0" (pointer_expression "*param_1" * identifier) != (pointer_expression "*PTR_history_subst_char_00156fd0" * identifier)) )) (compound_statement "{\n    local_58[2] = 0;\n    local_58[3] = 0;\n    uVar3 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);\n    local_5c = 0;\n    pcVar6 = param_1;\n    if ((*(int *)PTR_history_quoting_state_001569a0 == 0x27) &&\n       (*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0)) {\n      FUN_0011c170(param_1,&local_5c,0);\n      if (param_1[local_5c] == '\0') goto LAB_0011d994;\n      local_5c = local_5c + 1;\n    }\n    puVar2 = PTR_history_quotes_inhibit_expansion_00157524;\n    puVar23 = PTR_history_comment_char_00156f80;\n    if (param_1[local_5c] != '\0') {\n      pcVar5 = (code *)(PTR_LAB_0015657c + -0x3e90);\n      do {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((uVar10 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {\nLAB_0011f800:\n          iVar22 = local_5c;\n          iVar20 = (int)(param_1 + local_5c)[1];\n          if (((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11))\n          {\n            iVar11 = (int)param_1[local_5c];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }\n          if (((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);\n            if (iVar22 == 0) break;\n          }\n        }\n        else {\n          iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2);\n          if (iVar22 < 2) goto LAB_0011f800;\n          local_5c = local_5c + iVar22 + -1;\n        }\nLAB_0011f7c0:\n        local_5c = local_5c + 1;\n      } while (param_1[local_5c] != '\0');\n    }\n    goto LAB_0011d994;\n  }" { (expression_statement "local_58[2] = 0;" (assignment_expression "local_58[2] = 0" (subscript_expression "local_58[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_58[3] = 0;" (assignment_expression "local_58[3] = 0" (subscript_expression "local_58[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar3 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);" (assignment_expression "uVar3 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22)" identifier = (call_expression "(uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)PTR_history_quoting_state_001569a0 == 0x22)" ( (binary_expression "*(int *)PTR_history_quoting_state_001569a0 == 0x22" (pointer_expression "*(int *)PTR_history_quoting_state_001569a0" * (cast_expression "(int *)PTR_history_quoting_state_001569a0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )))) ;) (expression_statement "local_5c = 0;" (assignment_expression "local_5c = 0" identifier = number_literal) ;) (expression_statement "pcVar6 = param_1;" (assignment_expression "pcVar6 = param_1" identifier = identifier) ;) (if_statement "if ((*(int *)PTR_history_quoting_state_001569a0 == 0x27) &&\n       (*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0)) {\n      FUN_0011c170(param_1,&local_5c,0);\n      if (param_1[local_5c] == '\0') goto LAB_0011d994;\n      local_5c = local_5c + 1;\n    }" if (parenthesized_expression "((*(int *)PTR_history_quoting_state_001569a0 == 0x27) &&\n       (*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0))" ( (binary_expression "(*(int *)PTR_history_quoting_state_001569a0 == 0x27) &&\n       (*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0)" (parenthesized_expression "(*(int *)PTR_history_quoting_state_001569a0 == 0x27)" ( (binary_expression "*(int *)PTR_history_quoting_state_001569a0 == 0x27" (pointer_expression "*(int *)PTR_history_quoting_state_001569a0" * (cast_expression "(int *)PTR_history_quoting_state_001569a0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) && (parenthesized_expression "(*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0)" ( (binary_expression "*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0" (pointer_expression "*(int *)PTR_history_quotes_inhibit_expansion_00157524" * (cast_expression "(int *)PTR_history_quotes_inhibit_expansion_00157524" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) ))) )) (compound_statement "{\n      FUN_0011c170(param_1,&local_5c,0);\n      if (param_1[local_5c] == '\0') goto LAB_0011d994;\n      local_5c = local_5c + 1;\n    }" { (expression_statement "FUN_0011c170(param_1,&local_5c,0);" (call_expression "FUN_0011c170(param_1,&local_5c,0)" identifier (argument_list "(param_1,&local_5c,0)" ( identifier , (pointer_expression "&local_5c" & identifier) , number_literal ))) ;) (if_statement "if (param_1[local_5c] == '\0') goto LAB_0011d994;" if (parenthesized_expression "(param_1[local_5c] == '\0')" ( (binary_expression "param_1[local_5c] == '\0'" (subscript_expression "param_1[local_5c]" identifier [ identifier ]) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0011d994;" goto statement_identifier ;)) (expression_statement "local_5c = local_5c + 1;" (assignment_expression "local_5c = local_5c + 1" identifier = (binary_expression "local_5c + 1" identifier + number_literal)) ;) })) (expression_statement "puVar2 = PTR_history_quotes_inhibit_expansion_00157524;" (assignment_expression "puVar2 = PTR_history_quotes_inhibit_expansion_00157524" identifier = identifier) ;) (expression_statement "puVar23 = PTR_history_comment_char_00156f80;" (assignment_expression "puVar23 = PTR_history_comment_char_00156f80" identifier = identifier) ;) (if_statement "if (param_1[local_5c] != '\0') {\n      pcVar5 = (code *)(PTR_LAB_0015657c + -0x3e90);\n      do {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((uVar10 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {\nLAB_0011f800:\n          iVar22 = local_5c;\n          iVar20 = (int)(param_1 + local_5c)[1];\n          if (((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11))\n          {\n            iVar11 = (int)param_1[local_5c];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }\n          if (((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);\n            if (iVar22 == 0) break;\n          }\n        }\n        else {\n          iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2);\n          if (iVar22 < 2) goto LAB_0011f800;\n          local_5c = local_5c + iVar22 + -1;\n        }\nLAB_0011f7c0:\n        local_5c = local_5c + 1;\n      } while (param_1[local_5c] != '\0');\n    }" if (parenthesized_expression "(param_1[local_5c] != '\0')" ( (binary_expression "param_1[local_5c] != '\0'" (subscript_expression "param_1[local_5c]" identifier [ identifier ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      pcVar5 = (code *)(PTR_LAB_0015657c + -0x3e90);\n      do {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((uVar10 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {\nLAB_0011f800:\n          iVar22 = local_5c;\n          iVar20 = (int)(param_1 + local_5c)[1];\n          if (((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11))\n          {\n            iVar11 = (int)param_1[local_5c];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }\n          if (((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);\n            if (iVar22 == 0) break;\n          }\n        }\n        else {\n          iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2);\n          if (iVar22 < 2) goto LAB_0011f800;\n          local_5c = local_5c + iVar22 + -1;\n        }\nLAB_0011f7c0:\n        local_5c = local_5c + 1;\n      } while (param_1[local_5c] != '\0');\n    }" { (expression_statement "pcVar5 = (code *)(PTR_LAB_0015657c + -0x3e90);" (assignment_expression "pcVar5 = (code *)(PTR_LAB_0015657c + -0x3e90)" identifier = (cast_expression "(code *)(PTR_LAB_0015657c + -0x3e90)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015657c + -0x3e90)" ( (binary_expression "PTR_LAB_0015657c + -0x3e90" identifier + number_literal) )))) ;) (do_statement "do {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((uVar10 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {\nLAB_0011f800:\n          iVar22 = local_5c;\n          iVar20 = (int)(param_1 + local_5c)[1];\n          if (((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11))\n          {\n            iVar11 = (int)param_1[local_5c];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }\n          if (((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);\n            if (iVar22 == 0) break;\n          }\n        }\n        else {\n          iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2);\n          if (iVar22 < 2) goto LAB_0011f800;\n          local_5c = local_5c + iVar22 + -1;\n        }\nLAB_0011f7c0:\n        local_5c = local_5c + 1;\n      } while (param_1[local_5c] != '\0');" do (compound_statement "{\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((uVar10 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {\nLAB_0011f800:\n          iVar22 = local_5c;\n          iVar20 = (int)(param_1 + local_5c)[1];\n          if (((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11))\n          {\n            iVar11 = (int)param_1[local_5c];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }\n          if (((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);\n            if (iVar22 == 0) break;\n          }\n        }\n        else {\n          iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2);\n          if (iVar22 < 2) goto LAB_0011f800;\n          local_5c = local_5c + iVar22 + -1;\n        }\nLAB_0011f7c0:\n        local_5c = local_5c + 1;\n      }" { (expression_statement "uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();" (assignment_expression "uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)()" identifier = (call_expression "(*(code *)PTR___ctype_get_mb_cur_max_001584e0)()" (parenthesized_expression "(*(code *)PTR___ctype_get_mb_cur_max_001584e0)" ( (pointer_expression "*(code *)PTR___ctype_get_mb_cur_max_001584e0" * (cast_expression "(code *)PTR___ctype_get_mb_cur_max_001584e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if ((uVar10 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {\nLAB_0011f800:\n          iVar22 = local_5c;\n          iVar20 = (int)(param_1 + local_5c)[1];\n          if (((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11))\n          {\n            iVar11 = (int)param_1[local_5c];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }\n          if (((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);\n            if (iVar22 == 0) break;\n          }\n        }\n        else {\n          iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2);\n          if (iVar22 < 2) goto LAB_0011f800;\n          local_5c = local_5c + iVar22 + -1;\n        }" if (parenthesized_expression "((uVar10 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0))" ( (binary_expression "(uVar10 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)" (parenthesized_expression "(uVar10 < 2)" ( (binary_expression "uVar10 < 2" identifier < number_literal) )) || (parenthesized_expression "(*(int *)PTR_rl_byte_oriented_00157e18 != 0)" ( (binary_expression "*(int *)PTR_rl_byte_oriented_00157e18 != 0" (pointer_expression "*(int *)PTR_rl_byte_oriented_00157e18" * (cast_expression "(int *)PTR_rl_byte_oriented_00157e18" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) ))) )) (compound_statement "{\nLAB_0011f800:\n          iVar22 = local_5c;\n          iVar20 = (int)(param_1 + local_5c)[1];\n          if (((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11))\n          {\n            iVar11 = (int)param_1[local_5c];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }\n          if (((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);\n            if (iVar22 == 0) break;\n          }\n        }" { (labeled_statement "LAB_0011f800:\n          iVar22 = local_5c;" statement_identifier : (expression_statement "iVar22 = local_5c;" (assignment_expression "iVar22 = local_5c" identifier = identifier) ;)) (expression_statement "iVar20 = (int)(param_1 + local_5c)[1];" (assignment_expression "iVar20 = (int)(param_1 + local_5c)[1]" identifier = (cast_expression "(int)(param_1 + local_5c)[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "(param_1 + local_5c)[1]" (parenthesized_expression "(param_1 + local_5c)" ( (binary_expression "param_1 + local_5c" identifier + identifier) )) [ number_literal ]))) ;) (if_statement "if (((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11))\n          {\n            iVar11 = (int)param_1[local_5c];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }" if (parenthesized_expression "(((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11))" ( (binary_expression "((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11)" (parenthesized_expression "((char)*puVar23 == 0)" ( (binary_expression "(char)*puVar23 == 0" (cast_expression "(char)*puVar23" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*puVar23" * identifier)) == number_literal) )) || (parenthesized_expression "(iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11)" ( (comma_expression "iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11" (assignment_expression "iVar11 = (int)param_1[local_5c]" identifier = (cast_expression "(int)param_1[local_5c]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[local_5c]" identifier [ identifier ]))) , (binary_expression "(char)*puVar23 != iVar11" (cast_expression "(char)*puVar23" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*puVar23" * identifier)) != identifier)) ))) )) (compound_statement "{\n            iVar11 = (int)param_1[local_5c];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }" { (expression_statement "iVar11 = (int)param_1[local_5c];" (assignment_expression "iVar11 = (int)param_1[local_5c]" identifier = (cast_expression "(int)param_1[local_5c]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[local_5c]" identifier [ identifier ]))) ;) (expression_statement "iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;" (assignment_expression "iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc" identifier = (cast_expression "(int)(char)*PTR_history_expansion_char_00156fcc" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)*PTR_history_expansion_char_00156fcc" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*PTR_history_expansion_char_00156fcc" * identifier)))) ;) (if_statement "if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }" if (parenthesized_expression "(iVar11 != iVar15)" ( (binary_expression "iVar11 != iVar15" identifier != identifier) )) (compound_statement "{\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }" { (if_statement "if (uVar3 == 0) goto LAB_0011f844;" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0011f844;" goto statement_identifier ;)) (labeled_statement "LAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }" statement_identifier : (if_statement "if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }" if (parenthesized_expression "(iVar11 == 0x5c)" ( (binary_expression "iVar11 == 0x5c" identifier == number_literal) )) (compound_statement "{\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }" { (if_statement "if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }" if (parenthesized_expression "(iVar20 == 0x22)" ( (binary_expression "iVar20 == 0x22" identifier == number_literal) )) (compound_statement "{\n                  local_5c = local_5c + 1;\n                }" { (expression_statement "local_5c = local_5c + 1;" (assignment_expression "local_5c = local_5c + 1" identifier = (binary_expression "local_5c + 1" identifier + number_literal)) ;) }) (else_clause "else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }" else (compound_statement "{\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }" { (expression_statement "iVar18 = *(int *)puVar2;" (assignment_expression "iVar18 = *(int *)puVar2" identifier = (pointer_expression "*(int *)puVar2" * (cast_expression "(int *)puVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (iVar18 != 0) goto LAB_0011f7a4;" if (parenthesized_expression "(iVar18 != 0)" ( (binary_expression "iVar18 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0011f7a4;" goto statement_identifier ;)) }))) }) (else_clause "else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }" else (compound_statement "{\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }" { (expression_statement "iVar18 = *(int *)puVar2;" (assignment_expression "iVar18 = *(int *)puVar2" identifier = (pointer_expression "*(int *)puVar2" * (cast_expression "(int *)puVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }" if (parenthesized_expression "(iVar18 != 0)" ( (binary_expression "iVar18 != 0" identifier != number_literal) )) (compound_statement "{\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }" { (if_statement "if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }" if (parenthesized_expression "(iVar11 == 0x22)" ( (binary_expression "iVar11 == 0x22" identifier == number_literal) )) (compound_statement "{\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }" { (labeled_statement "LAB_0011da74:\n                    uVar3 = 1 - uVar3;" statement_identifier : (expression_statement "uVar3 = 1 - uVar3;" (assignment_expression "uVar3 = 1 - uVar3" identifier = (binary_expression "1 - uVar3" number_literal - identifier)) ;)) }) (else_clause "else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }" else (compound_statement "{\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }" { (labeled_statement "LAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;" statement_identifier : (if_statement "if (uVar3 == 0) goto LAB_0011f858;" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0011f858;" goto statement_identifier ;))) (if_statement "if (iVar18 != 0) goto LAB_0011f7b4;" if (parenthesized_expression "(iVar18 != 0)" ( (binary_expression "iVar18 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0011f7b4;" goto statement_identifier ;)) }))) })) })))) (goto_statement "goto LAB_0011f7c0;" goto statement_identifier ;) })) }) (else_clause "else if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }" else (if_statement "if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (compound_statement "{\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }" { (if_statement "if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;" if (parenthesized_expression "((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0))))" ( (binary_expression "(local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))" (parenthesized_expression "(local_5c == 0)" ( (binary_expression "local_5c == 0" identifier == number_literal) )) || (parenthesized_expression "((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))" ( (parenthesized_expression "(param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0))" ( (binary_expression "param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)" (binary_expression "param_1[local_5c + -1] != '\0'" (subscript_expression "param_1[local_5c + -1]" identifier [ (binary_expression "local_5c + -1" identifier + number_literal) ]) != (char_literal "'\0'" ' escape_sequence ')) && (parenthesized_expression "(iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)" ( (comma_expression "iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0" (assignment_expression "iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c)" identifier = (call_expression "(*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c)" (parenthesized_expression "(*(code *)PTR_strchr_0015844c)" ( (pointer_expression "*(code *)PTR_strchr_0015844c" * (cast_expression "(code *)PTR_strchr_0015844c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_history_word_delimiters_0015825c)" ( (pointer_expression "*(undefined4 *)PTR_history_word_delimiters_0015825c" * (cast_expression "(undefined4 *)PTR_history_word_delimiters_0015825c" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )))) , (binary_expression "iVar11 != 0" identifier != number_literal)) ))) )) ))) )) (goto_statement "goto LAB_0011da2c;" goto statement_identifier ;)) (expression_statement "iVar11 = (int)param_1[iVar22];" (assignment_expression "iVar11 = (int)param_1[iVar22]" identifier = (cast_expression "(int)param_1[iVar22]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[iVar22]" identifier [ identifier ]))) ;) (expression_statement "iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;" (assignment_expression "iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc" identifier = (cast_expression "(int)(char)*PTR_history_expansion_char_00156fcc" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)*PTR_history_expansion_char_00156fcc" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*PTR_history_expansion_char_00156fcc" * identifier)))) ;) (if_statement "if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }" if (parenthesized_expression "(iVar11 != iVar15)" ( (binary_expression "iVar11 != iVar15" identifier != identifier) )) (compound_statement "{\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }" { (labeled_statement "LAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;" statement_identifier : (if_statement "if (*(int *)puVar2 == 0) goto LAB_0011f7c0;" if (parenthesized_expression "(*(int *)puVar2 == 0)" ( (binary_expression "*(int *)puVar2 == 0" (pointer_expression "*(int *)puVar2" * (cast_expression "(int *)puVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (goto_statement "goto LAB_0011f7c0;" goto statement_identifier ;))) (if_statement "if (iVar11 == 0x22) goto LAB_0011da74;" if (parenthesized_expression "(iVar11 == 0x22)" ( (binary_expression "iVar11 == 0x22" identifier == number_literal) )) (goto_statement "goto LAB_0011da74;" goto statement_identifier ;)) (labeled_statement "LAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }" statement_identifier : (if_statement "if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }" if (parenthesized_expression "(iVar11 == 0x27)" ( (binary_expression "iVar11 == 0x27" identifier == number_literal) )) (compound_statement "{\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }" { (if_statement "if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }" if (parenthesized_expression "(iVar22 < 1)" ( (binary_expression "iVar22 < 1" identifier < number_literal) )) (compound_statement "{\n                  bVar16 = false;\n                }" { (expression_statement "bVar16 = false;" (assignment_expression "bVar16 = false" identifier = false) ;) }) (else_clause "else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }" else (compound_statement "{\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }" { (expression_statement "bVar16 = param_1[iVar22 + -1] == '$';" (assignment_expression "bVar16 = param_1[iVar22 + -1] == '$'" identifier = (binary_expression "param_1[iVar22 + -1] == '$'" (subscript_expression "param_1[iVar22 + -1]" identifier [ (binary_expression "iVar22 + -1" identifier + number_literal) ]) == (char_literal "'$'" ' character '))) ;) }))) (expression_statement "local_5c = iVar22 + 1;" (assignment_expression "local_5c = iVar22 + 1" identifier = (binary_expression "iVar22 + 1" identifier + number_literal)) ;) (expression_statement "(*pcVar5)(param_1,&local_5c,bVar16);" (call_expression "(*pcVar5)(param_1,&local_5c,bVar16)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(param_1,&local_5c,bVar16)" ( identifier , (pointer_expression "&local_5c" & identifier) , identifier ))) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }" else (compound_statement "{\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }" { (labeled_statement "LAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }" statement_identifier : (if_statement "if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }" if (parenthesized_expression "((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15))))" ( (binary_expression "(iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))" (parenthesized_expression "(iVar11 == 0x5c)" ( (binary_expression "iVar11 == 0x5c" identifier == number_literal) )) && (parenthesized_expression "((iVar20 == 0x27 || (iVar20 == iVar15)))" ( (parenthesized_expression "(iVar20 == 0x27 || (iVar20 == iVar15))" ( (binary_expression "iVar20 == 0x27 || (iVar20 == iVar15)" (binary_expression "iVar20 == 0x27" identifier == number_literal) || (parenthesized_expression "(iVar20 == iVar15)" ( (binary_expression "iVar20 == iVar15" identifier == identifier) ))) )) ))) )) (compound_statement "{\n                  local_5c = iVar22 + 1;\n                }" { (expression_statement "local_5c = iVar22 + 1;" (assignment_expression "local_5c = iVar22 + 1" identifier = (binary_expression "iVar22 + 1" identifier + number_literal)) ;) }))) })))) (goto_statement "goto LAB_0011f7c0;" goto statement_identifier ;) })) }) (else_clause "else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }" else (compound_statement "{\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }" { (expression_statement "iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;" (assignment_expression "iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc" identifier = (cast_expression "(int)(char)*PTR_history_expansion_char_00156fcc" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)*PTR_history_expansion_char_00156fcc" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*PTR_history_expansion_char_00156fcc" * identifier)))) ;) (if_statement "if (iVar11 != iVar15) goto LAB_0011f788;" if (parenthesized_expression "(iVar11 != iVar15)" ( (binary_expression "iVar11 != iVar15" identifier != identifier) )) (goto_statement "goto LAB_0011f788;" goto statement_identifier ;)) }))))) (if_statement "if (((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);\n            if (iVar22 == 0) break;\n          }" if (parenthesized_expression "(((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22))))" ( (binary_expression "((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22)))" (parenthesized_expression "((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0))" ( (binary_expression "(iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)" (parenthesized_expression "(iVar20 != 0)" ( (binary_expression "iVar20 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)" ( (comma_expression "iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0" (assignment_expression "iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20)" identifier = (call_expression "(*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20)" (parenthesized_expression "(*(code *)PTR_strchr_0015844c)" ( (pointer_expression "*(code *)PTR_strchr_0015844c" * (cast_expression "(code *)PTR_strchr_0015844c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20)" ( (pointer_expression "*(undefined4 *)PTR_history_no_expand_chars_00158260" * (cast_expression "(undefined4 *)PTR_history_no_expand_chars_00158260" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , identifier )))) , (binary_expression "iVar11 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "((uVar3 == 0 || (iVar20 != 0x22)))" ( (parenthesized_expression "(uVar3 == 0 || (iVar20 != 0x22))" ( (binary_expression "uVar3 == 0 || (iVar20 != 0x22)" (binary_expression "uVar3 == 0" identifier == number_literal) || (parenthesized_expression "(iVar20 != 0x22)" ( (binary_expression "iVar20 != 0x22" identifier != number_literal) ))) )) ))) )) (compound_statement "{\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);\n            if (iVar22 == 0) break;\n          }" { (if_statement "if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;" if (parenthesized_expression "(*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)" ( (binary_expression "*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0" (pointer_expression "*(code **)PTR_history_inhibit_expansion_function_0015752c" * (cast_expression "(code **)PTR_history_inhibit_expansion_function_0015752c" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0011d9ac;" goto statement_identifier ;)) (expression_statement "iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);" (assignment_expression "iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22)" identifier = (call_expression "(**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22)" (parenthesized_expression "(**(code **)PTR_history_inhibit_expansion_function_0015752c)" ( (pointer_expression "**(code **)PTR_history_inhibit_expansion_function_0015752c" * (pointer_expression "*(code **)PTR_history_inhibit_expansion_function_0015752c" * (cast_expression "(code **)PTR_history_inhibit_expansion_function_0015752c" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(param_1,iVar22)" ( identifier , identifier )))) ;) (if_statement "if (iVar22 == 0) break;" if (parenthesized_expression "(iVar22 == 0)" ( (binary_expression "iVar22 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) })) }) (else_clause "else {\n          iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2);\n          if (iVar22 < 2) goto LAB_0011f800;\n          local_5c = local_5c + iVar22 + -1;\n        }" else (compound_statement "{\n          iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2);\n          if (iVar22 < 2) goto LAB_0011f800;\n          local_5c = local_5c + iVar22 + -1;\n        }" { (expression_statement "iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2);" (assignment_expression "iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2)" identifier = (call_expression "_rl_get_char_len(param_1 + local_5c,local_58 + 2)" identifier (argument_list "(param_1 + local_5c,local_58 + 2)" ( (binary_expression "param_1 + local_5c" identifier + identifier) , (binary_expression "local_58 + 2" identifier + number_literal) )))) ;) (if_statement "if (iVar22 < 2) goto LAB_0011f800;" if (parenthesized_expression "(iVar22 < 2)" ( (binary_expression "iVar22 < 2" identifier < number_literal) )) (goto_statement "goto LAB_0011f800;" goto statement_identifier ;)) (expression_statement "local_5c = local_5c + iVar22 + -1;" (assignment_expression "local_5c = local_5c + iVar22 + -1" identifier = (binary_expression "local_5c + iVar22 + -1" (binary_expression "local_5c + iVar22" identifier + identifier) + number_literal)) ;) }))) (labeled_statement "LAB_0011f7c0:\n        local_5c = local_5c + 1;" statement_identifier : (expression_statement "local_5c = local_5c + 1;" (assignment_expression "local_5c = local_5c + 1" identifier = (binary_expression "local_5c + 1" identifier + number_literal)) ;)) }) while (parenthesized_expression "(param_1[local_5c] != '\0')" ( (binary_expression "param_1[local_5c] != '\0'" (subscript_expression "param_1[local_5c]" identifier [ identifier ]) != (char_literal "'\0'" ' escape_sequence ')) )) ;) })) (goto_statement "goto LAB_0011d994;" goto statement_identifier ;) })) (expression_statement "pcVar6 = (char *)(*(code *)PTR_xmalloc_001565b8)(local_c8 + 5);" (assignment_expression "pcVar6 = (char *)(*(code *)PTR_xmalloc_001565b8)(local_c8 + 5)" identifier = (cast_expression "(char *)(*(code *)PTR_xmalloc_001565b8)(local_c8 + 5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001565b8)(local_c8 + 5)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_c8 + 5)" ( (binary_expression "local_c8 + 5" identifier + number_literal) ))))) ;) (expression_statement "cVar1 = *PTR_history_expansion_char_00156fcc;" (assignment_expression "cVar1 = *PTR_history_expansion_char_00156fcc" identifier = (pointer_expression "*PTR_history_expansion_char_00156fcc" * identifier)) ;) (expression_statement "pcVar6[1] = cVar1;" (assignment_expression "pcVar6[1] = cVar1" (subscript_expression "pcVar6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*pcVar6 = cVar1;" (assignment_expression "*pcVar6 = cVar1" (pointer_expression "*pcVar6" * identifier) = identifier) ;) (expression_statement "pcVar6[2] = ':';" (assignment_expression "pcVar6[2] = ':'" (subscript_expression "pcVar6[2]" identifier [ number_literal ]) = (char_literal "':'" ' character ')) ;) (expression_statement "pcVar6[3] = 's';" (assignment_expression "pcVar6[3] = 's'" (subscript_expression "pcVar6[3]" identifier [ number_literal ]) = (char_literal "'s'" ' character ')) ;) (expression_statement "(*(code *)PTR_strcpy_001584cc)(pcVar6 + 4,param_1);" (call_expression "(*(code *)PTR_strcpy_001584cc)(pcVar6 + 4,param_1)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" ( (pointer_expression "*(code *)PTR_strcpy_001584cc" * (cast_expression "(code *)PTR_strcpy_001584cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar6 + 4,param_1)" ( (binary_expression "pcVar6 + 4" identifier + number_literal) , identifier ))) ;) (expression_statement "local_c8 = local_c8 + 4;" (assignment_expression "local_c8 = local_c8 + 4" identifier = (binary_expression "local_c8 + 4" identifier + number_literal)) ;) (goto_statement "goto LAB_0011d9ac;" goto statement_identifier ;) (labeled_statement "LAB_0011da2c:\n  do {\n    local_5c = iVar22 + 1;\n    iVar22 = local_5c;\n  } while (param_1[local_5c] != '\0');" statement_identifier : (do_statement "do {\n    local_5c = iVar22 + 1;\n    iVar22 = local_5c;\n  } while (param_1[local_5c] != '\0');" do (compound_statement "{\n    local_5c = iVar22 + 1;\n    iVar22 = local_5c;\n  }" { (expression_statement "local_5c = iVar22 + 1;" (assignment_expression "local_5c = iVar22 + 1" identifier = (binary_expression "iVar22 + 1" identifier + number_literal)) ;) (expression_statement "iVar22 = local_5c;" (assignment_expression "iVar22 = local_5c" identifier = identifier) ;) }) while (parenthesized_expression "(param_1[local_5c] != '\0')" ( (binary_expression "param_1[local_5c] != '\0'" (subscript_expression "param_1[local_5c]" identifier [ identifier ]) != (char_literal "'\0'" ' escape_sequence ')) )) ;)) (labeled_statement "LAB_0011d994:\n  if (param_1[local_5c] != *PTR_history_expansion_char_00156fcc) {\n    (*(code *)PTR_xfree_00156bb4)(puVar4);\n    iVar22 = (*(code *)PTR_strlen_00158444)(param_1);\n    uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);\n    uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);\n    *param_2 = uVar12;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }" statement_identifier : (if_statement "if (param_1[local_5c] != *PTR_history_expansion_char_00156fcc) {\n    (*(code *)PTR_xfree_00156bb4)(puVar4);\n    iVar22 = (*(code *)PTR_strlen_00158444)(param_1);\n    uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);\n    uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);\n    *param_2 = uVar12;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }" if (parenthesized_expression "(param_1[local_5c] != *PTR_history_expansion_char_00156fcc)" ( (binary_expression "param_1[local_5c] != *PTR_history_expansion_char_00156fcc" (subscript_expression "param_1[local_5c]" identifier [ identifier ]) != (pointer_expression "*PTR_history_expansion_char_00156fcc" * identifier)) )) (compound_statement "{\n    (*(code *)PTR_xfree_00156bb4)(puVar4);\n    iVar22 = (*(code *)PTR_strlen_00158444)(param_1);\n    uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);\n    uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);\n    *param_2 = uVar12;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }" { (expression_statement "(*(code *)PTR_xfree_00156bb4)(puVar4);" (call_expression "(*(code *)PTR_xfree_00156bb4)(puVar4)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" ( (pointer_expression "*(code *)PTR_xfree_00156bb4" * (cast_expression "(code *)PTR_xfree_00156bb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier ))) ;) (expression_statement "iVar22 = (*(code *)PTR_strlen_00158444)(param_1);" (assignment_expression "iVar22 = (*(code *)PTR_strlen_00158444)(param_1)" identifier = (call_expression "(*(code *)PTR_strlen_00158444)(param_1)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);" (assignment_expression "uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001565b8)(iVar22 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar22 + 1)" ( (binary_expression "iVar22 + 1" identifier + number_literal) )))) ;) (expression_statement "uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);" (assignment_expression "uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1)" identifier = (call_expression "(*(code *)PTR_strcpy_001584cc)(uVar12,param_1)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" ( (pointer_expression "*(code *)PTR_strcpy_001584cc" * (cast_expression "(code *)PTR_strcpy_001584cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar12,param_1)" ( identifier , identifier )))) ;) (expression_statement "*param_2 = uVar12;" (assignment_expression "*param_2 = uVar12" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0011f678;" goto statement_identifier ;) }))) (labeled_statement "LAB_0011d9ac:\n  local_c4 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);" statement_identifier : (expression_statement "local_c4 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);" (assignment_expression "local_c4 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22)" identifier = (call_expression "(uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)PTR_history_quoting_state_001569a0 == 0x22)" ( (binary_expression "*(int *)PTR_history_quoting_state_001569a0 == 0x22" (pointer_expression "*(int *)PTR_history_quoting_state_001569a0" * (cast_expression "(int *)PTR_history_quoting_state_001569a0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )))) ;)) (expression_statement "local_5c = 0;" (assignment_expression "local_5c = 0" identifier = number_literal) ;) (if_statement "if (*(int *)PTR_history_quoting_state_001569a0 == 0x27) {\n    iVar22 = 0x100;\n    if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n      local_b0 = 1;\n      iVar11 = 0;\n    }\n    else {\n      FUN_0011c170(pcVar6,&local_5c,0);\n      if (local_5c < 1) {\n        if (pcVar6[local_5c] == '\0') {\n          iVar22 = 0x100;\n          local_b0 = 0;\n          iVar11 = 0;\n        }\n        else {\n          iVar20 = 0;\n          iVar22 = 0x100;\nLAB_0011dbe0:\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[local_5c];\n          puVar4[iVar11] = 0;\n          local_5c = local_5c + 1;\n          local_b0 = 0;\n        }\n      }\n      else {\n        iVar22 = 0x100;\n        iVar20 = 0;\n        while( true ) {\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[iVar20];\n          puVar4[iVar11] = 0;\n          if (local_5c <= iVar11) break;\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n        }\n        if (pcVar6[local_5c] != '\0') {\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }\n    }\n  }\n  else {\n    iVar22 = 0x100;\n    local_b0 = 0;\n    iVar11 = 0;\n  }" if (parenthesized_expression "(*(int *)PTR_history_quoting_state_001569a0 == 0x27)" ( (binary_expression "*(int *)PTR_history_quoting_state_001569a0 == 0x27" (pointer_expression "*(int *)PTR_history_quoting_state_001569a0" * (cast_expression "(int *)PTR_history_quoting_state_001569a0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n    iVar22 = 0x100;\n    if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n      local_b0 = 1;\n      iVar11 = 0;\n    }\n    else {\n      FUN_0011c170(pcVar6,&local_5c,0);\n      if (local_5c < 1) {\n        if (pcVar6[local_5c] == '\0') {\n          iVar22 = 0x100;\n          local_b0 = 0;\n          iVar11 = 0;\n        }\n        else {\n          iVar20 = 0;\n          iVar22 = 0x100;\nLAB_0011dbe0:\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[local_5c];\n          puVar4[iVar11] = 0;\n          local_5c = local_5c + 1;\n          local_b0 = 0;\n        }\n      }\n      else {\n        iVar22 = 0x100;\n        iVar20 = 0;\n        while( true ) {\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[iVar20];\n          puVar4[iVar11] = 0;\n          if (local_5c <= iVar11) break;\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n        }\n        if (pcVar6[local_5c] != '\0') {\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }\n    }\n  }" { (expression_statement "iVar22 = 0x100;" (assignment_expression "iVar22 = 0x100" identifier = number_literal) ;) (if_statement "if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n      local_b0 = 1;\n      iVar11 = 0;\n    }\n    else {\n      FUN_0011c170(pcVar6,&local_5c,0);\n      if (local_5c < 1) {\n        if (pcVar6[local_5c] == '\0') {\n          iVar22 = 0x100;\n          local_b0 = 0;\n          iVar11 = 0;\n        }\n        else {\n          iVar20 = 0;\n          iVar22 = 0x100;\nLAB_0011dbe0:\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[local_5c];\n          puVar4[iVar11] = 0;\n          local_5c = local_5c + 1;\n          local_b0 = 0;\n        }\n      }\n      else {\n        iVar22 = 0x100;\n        iVar20 = 0;\n        while( true ) {\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[iVar20];\n          puVar4[iVar11] = 0;\n          if (local_5c <= iVar11) break;\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n        }\n        if (pcVar6[local_5c] != '\0') {\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }\n    }" if (parenthesized_expression "(*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)" ( (binary_expression "*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0" (pointer_expression "*(int *)PTR_history_quotes_inhibit_expansion_00157524" * (cast_expression "(int *)PTR_history_quotes_inhibit_expansion_00157524" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n      local_b0 = 1;\n      iVar11 = 0;\n    }" { (expression_statement "local_b0 = 1;" (assignment_expression "local_b0 = 1" identifier = number_literal) ;) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      FUN_0011c170(pcVar6,&local_5c,0);\n      if (local_5c < 1) {\n        if (pcVar6[local_5c] == '\0') {\n          iVar22 = 0x100;\n          local_b0 = 0;\n          iVar11 = 0;\n        }\n        else {\n          iVar20 = 0;\n          iVar22 = 0x100;\nLAB_0011dbe0:\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[local_5c];\n          puVar4[iVar11] = 0;\n          local_5c = local_5c + 1;\n          local_b0 = 0;\n        }\n      }\n      else {\n        iVar22 = 0x100;\n        iVar20 = 0;\n        while( true ) {\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[iVar20];\n          puVar4[iVar11] = 0;\n          if (local_5c <= iVar11) break;\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n        }\n        if (pcVar6[local_5c] != '\0') {\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }\n    }" else (compound_statement "{\n      FUN_0011c170(pcVar6,&local_5c,0);\n      if (local_5c < 1) {\n        if (pcVar6[local_5c] == '\0') {\n          iVar22 = 0x100;\n          local_b0 = 0;\n          iVar11 = 0;\n        }\n        else {\n          iVar20 = 0;\n          iVar22 = 0x100;\nLAB_0011dbe0:\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[local_5c];\n          puVar4[iVar11] = 0;\n          local_5c = local_5c + 1;\n          local_b0 = 0;\n        }\n      }\n      else {\n        iVar22 = 0x100;\n        iVar20 = 0;\n        while( true ) {\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[iVar20];\n          puVar4[iVar11] = 0;\n          if (local_5c <= iVar11) break;\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n        }\n        if (pcVar6[local_5c] != '\0') {\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }\n    }" { (expression_statement "FUN_0011c170(pcVar6,&local_5c,0);" (call_expression "FUN_0011c170(pcVar6,&local_5c,0)" identifier (argument_list "(pcVar6,&local_5c,0)" ( identifier , (pointer_expression "&local_5c" & identifier) , number_literal ))) ;) (if_statement "if (local_5c < 1) {\n        if (pcVar6[local_5c] == '\0') {\n          iVar22 = 0x100;\n          local_b0 = 0;\n          iVar11 = 0;\n        }\n        else {\n          iVar20 = 0;\n          iVar22 = 0x100;\nLAB_0011dbe0:\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[local_5c];\n          puVar4[iVar11] = 0;\n          local_5c = local_5c + 1;\n          local_b0 = 0;\n        }\n      }\n      else {\n        iVar22 = 0x100;\n        iVar20 = 0;\n        while( true ) {\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[iVar20];\n          puVar4[iVar11] = 0;\n          if (local_5c <= iVar11) break;\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n        }\n        if (pcVar6[local_5c] != '\0') {\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }" if (parenthesized_expression "(local_5c < 1)" ( (binary_expression "local_5c < 1" identifier < number_literal) )) (compound_statement "{\n        if (pcVar6[local_5c] == '\0') {\n          iVar22 = 0x100;\n          local_b0 = 0;\n          iVar11 = 0;\n        }\n        else {\n          iVar20 = 0;\n          iVar22 = 0x100;\nLAB_0011dbe0:\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[local_5c];\n          puVar4[iVar11] = 0;\n          local_5c = local_5c + 1;\n          local_b0 = 0;\n        }\n      }" { (if_statement "if (pcVar6[local_5c] == '\0') {\n          iVar22 = 0x100;\n          local_b0 = 0;\n          iVar11 = 0;\n        }\n        else {\n          iVar20 = 0;\n          iVar22 = 0x100;\nLAB_0011dbe0:\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[local_5c];\n          puVar4[iVar11] = 0;\n          local_5c = local_5c + 1;\n          local_b0 = 0;\n        }" if (parenthesized_expression "(pcVar6[local_5c] == '\0')" ( (binary_expression "pcVar6[local_5c] == '\0'" (subscript_expression "pcVar6[local_5c]" identifier [ identifier ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar22 = 0x100;\n          local_b0 = 0;\n          iVar11 = 0;\n        }" { (expression_statement "iVar22 = 0x100;" (assignment_expression "iVar22 = 0x100" identifier = number_literal) ;) (expression_statement "local_b0 = 0;" (assignment_expression "local_b0 = 0" identifier = number_literal) ;) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) }) (else_clause "else {\n          iVar20 = 0;\n          iVar22 = 0x100;\nLAB_0011dbe0:\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[local_5c];\n          puVar4[iVar11] = 0;\n          local_5c = local_5c + 1;\n          local_b0 = 0;\n        }" else (compound_statement "{\n          iVar20 = 0;\n          iVar22 = 0x100;\nLAB_0011dbe0:\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[local_5c];\n          puVar4[iVar11] = 0;\n          local_5c = local_5c + 1;\n          local_b0 = 0;\n        }" { (expression_statement "iVar20 = 0;" (assignment_expression "iVar20 = 0" identifier = number_literal) ;) (expression_statement "iVar22 = 0x100;" (assignment_expression "iVar22 = 0x100" identifier = number_literal) ;) (labeled_statement "LAB_0011dbe0:\n          iVar11 = iVar20 + 1;" statement_identifier : (expression_statement "iVar11 = iVar20 + 1;" (assignment_expression "iVar11 = iVar20 + 1" identifier = (binary_expression "iVar20 + 1" identifier + number_literal)) ;)) (expression_statement "puVar4[iVar20] = pcVar6[local_5c];" (assignment_expression "puVar4[iVar20] = pcVar6[local_5c]" (subscript_expression "puVar4[iVar20]" identifier [ identifier ]) = (subscript_expression "pcVar6[local_5c]" identifier [ identifier ])) ;) (expression_statement "puVar4[iVar11] = 0;" (assignment_expression "puVar4[iVar11] = 0" (subscript_expression "puVar4[iVar11]" identifier [ identifier ]) = number_literal) ;) (expression_statement "local_5c = local_5c + 1;" (assignment_expression "local_5c = local_5c + 1" identifier = (binary_expression "local_5c + 1" identifier + number_literal)) ;) (expression_statement "local_b0 = 0;" (assignment_expression "local_b0 = 0" identifier = number_literal) ;) }))) }) (else_clause "else {\n        iVar22 = 0x100;\n        iVar20 = 0;\n        while( true ) {\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[iVar20];\n          puVar4[iVar11] = 0;\n          if (local_5c <= iVar11) break;\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n        }\n        if (pcVar6[local_5c] != '\0') {\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }" else (compound_statement "{\n        iVar22 = 0x100;\n        iVar20 = 0;\n        while( true ) {\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[iVar20];\n          puVar4[iVar11] = 0;\n          if (local_5c <= iVar11) break;\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n        }\n        if (pcVar6[local_5c] != '\0') {\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }" { (expression_statement "iVar22 = 0x100;" (assignment_expression "iVar22 = 0x100" identifier = number_literal) ;) (expression_statement "iVar20 = 0;" (assignment_expression "iVar20 = 0" identifier = number_literal) ;) (while_statement "while( true ) {\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[iVar20];\n          puVar4[iVar11] = 0;\n          if (local_5c <= iVar11) break;\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[iVar20];\n          puVar4[iVar11] = 0;\n          if (local_5c <= iVar11) break;\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n        }" { (expression_statement "iVar11 = iVar20 + 1;" (assignment_expression "iVar11 = iVar20 + 1" identifier = (binary_expression "iVar20 + 1" identifier + number_literal)) ;) (expression_statement "puVar4[iVar20] = pcVar6[iVar20];" (assignment_expression "puVar4[iVar20] = pcVar6[iVar20]" (subscript_expression "puVar4[iVar20]" identifier [ identifier ]) = (subscript_expression "pcVar6[iVar20]" identifier [ identifier ])) ;) (expression_statement "puVar4[iVar11] = 0;" (assignment_expression "puVar4[iVar11] = 0" (subscript_expression "puVar4[iVar11]" identifier [ identifier ]) = number_literal) ;) (if_statement "if (local_5c <= iVar11) break;" if (parenthesized_expression "(local_5c <= iVar11)" ( (binary_expression "local_5c <= iVar11" identifier <= identifier) )) (break_statement "break;" break ;)) (expression_statement "iVar20 = iVar11;" (assignment_expression "iVar20 = iVar11" identifier = identifier) ;) (if_statement "if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }" if (parenthesized_expression "(iVar22 + -1 <= iVar11)" ( (binary_expression "iVar22 + -1 <= iVar11" (binary_expression "iVar22 + -1" identifier + number_literal) <= identifier) )) (compound_statement "{\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }" { (expression_statement "iVar22 = iVar22 + 0x40;" (assignment_expression "iVar22 = iVar22 + 0x40" identifier = (binary_expression "iVar22 + 0x40" identifier + number_literal)) ;) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,iVar22)" ( identifier , identifier ))))) ;) })) })) (if_statement "if (pcVar6[local_5c] != '\0') {\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          goto LAB_0011dbe0;\n        }" if (parenthesized_expression "(pcVar6[local_5c] != '\0')" ( (binary_expression "pcVar6[local_5c] != '\0'" (subscript_expression "pcVar6[local_5c]" identifier [ identifier ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          goto LAB_0011dbe0;\n        }" { (expression_statement "iVar20 = iVar11;" (assignment_expression "iVar20 = iVar11" identifier = identifier) ;) (if_statement "if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }" if (parenthesized_expression "(iVar22 + -1 <= iVar11)" ( (binary_expression "iVar22 + -1 <= iVar11" (binary_expression "iVar22 + -1" identifier + number_literal) <= identifier) )) (compound_statement "{\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }" { (expression_statement "iVar22 = iVar22 + 0x40;" (assignment_expression "iVar22 = iVar22 + 0x40" identifier = (binary_expression "iVar22 + 0x40" identifier + number_literal)) ;) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,iVar22)" ( identifier , identifier ))))) ;) })) (goto_statement "goto LAB_0011dbe0;" goto statement_identifier ;) })) (expression_statement "local_b0 = 0;" (assignment_expression "local_b0 = 0" identifier = number_literal) ;) }))) }))) }) (else_clause "else {\n    iVar22 = 0x100;\n    local_b0 = 0;\n    iVar11 = 0;\n  }" else (compound_statement "{\n    iVar22 = 0x100;\n    local_b0 = 0;\n    iVar11 = 0;\n  }" { (expression_statement "iVar22 = 0x100;" (assignment_expression "iVar22 = 0x100" identifier = number_literal) ;) (expression_statement "local_b0 = 0;" (assignment_expression "local_b0 = 0" identifier = number_literal) ;) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) }))) (expression_statement "puVar2 = PTR_DAT_001565b0;" (assignment_expression "puVar2 = PTR_DAT_001565b0" identifier = identifier) ;) (expression_statement "puVar23 = PTR_DAT_0015656c;" (assignment_expression "puVar23 = PTR_DAT_0015656c" identifier = identifier) ;) (if_statement "if (local_5c < local_c8) {\n    local_a8 = 0;\n    uVar3 = 0;\n    do {\n      cVar1 = pcVar6[local_5c];\n      if (uVar3 == 0) {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((1 < uVar10) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {\n          local_3c[0] = 0;\n          local_3c[1] = 0;\n          local_3c[2] = 0;\n          local_3c[3] = 0;\n          piVar19 = local_3c;\n          cVar14 = cVar1;\n          do {\n            *(char *)piVar19 = cVar14;\n            local_58[2] = 0;\n            local_58[3] = 0;\n            iVar20 = _rl_get_char_len(local_3c,local_58 + 2);\n            if (iVar20 != -2) break;\n            local_5c = local_5c + 1;\n            piVar19 = (int *)((int)piVar19 + 1);\n            cVar14 = pcVar6[local_5c];\n          } while (local_3c + 4 != piVar19);\n          uVar10 = (*(code *)PTR_strlen_00158444)(local_3c);\n          if (1 < uVar10) {\n            iVar20 = iVar11 + uVar10;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }\n        iVar20 = local_5c;\n        if (*PTR_history_expansion_char_00156fcc == cVar1) {\nLAB_0011e340:\n          iVar15 = (int)pcVar6[local_5c + 1];\n          if ((((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))) {\n            iVar20 = local_5c;\n            uVar12 = 0x27;\n            if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }\n            local_58[4] = 0;\n            local_58[5] = 0;\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            local_58[0] = iVar20;\n            iVar15 = (int)pcVar6[iVar20 + 1];\n            if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }\n            local_58[0] = iVar18;\n            iVar15 = local_58[0];\n            if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *param_2 = uVar12;\n            (*(code *)PTR_xfree_00156bb4)(puVar4);\n            if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }\n      }\n      else {\n        if (iVar22 + -1 <= iVar11) {\n          iVar22 = iVar22 + 0x40;\n          puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n        }\n        puVar4[iVar11] = cVar1;\n        puVar4[iVar11 + 1] = 0;\n        uVar3 = 0;\n        iVar20 = iVar11 + 1;\n      }\nLAB_0011dc80:\n      local_5c = local_5c + 1;\n      iVar11 = iVar20;\n    } while (local_5c < local_c8);\n    *param_2 = puVar4;\n    if (pcVar6 != param_1) {\nLAB_0011f650:\n      (*(code *)PTR_xfree_00156bb4)(pcVar6);\n    }\n  }\n  else {\n    *param_2 = puVar4;\n    if (pcVar6 != param_1) {\n      local_a8 = 0;\n      goto LAB_0011f650;\n    }\n    local_a8 = 0;\n  }" if (parenthesized_expression "(local_5c < local_c8)" ( (binary_expression "local_5c < local_c8" identifier < identifier) )) (compound_statement "{\n    local_a8 = 0;\n    uVar3 = 0;\n    do {\n      cVar1 = pcVar6[local_5c];\n      if (uVar3 == 0) {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((1 < uVar10) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {\n          local_3c[0] = 0;\n          local_3c[1] = 0;\n          local_3c[2] = 0;\n          local_3c[3] = 0;\n          piVar19 = local_3c;\n          cVar14 = cVar1;\n          do {\n            *(char *)piVar19 = cVar14;\n            local_58[2] = 0;\n            local_58[3] = 0;\n            iVar20 = _rl_get_char_len(local_3c,local_58 + 2);\n            if (iVar20 != -2) break;\n            local_5c = local_5c + 1;\n            piVar19 = (int *)((int)piVar19 + 1);\n            cVar14 = pcVar6[local_5c];\n          } while (local_3c + 4 != piVar19);\n          uVar10 = (*(code *)PTR_strlen_00158444)(local_3c);\n          if (1 < uVar10) {\n            iVar20 = iVar11 + uVar10;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }\n        iVar20 = local_5c;\n        if (*PTR_history_expansion_char_00156fcc == cVar1) {\nLAB_0011e340:\n          iVar15 = (int)pcVar6[local_5c + 1];\n          if ((((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))) {\n            iVar20 = local_5c;\n            uVar12 = 0x27;\n            if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }\n            local_58[4] = 0;\n            local_58[5] = 0;\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            local_58[0] = iVar20;\n            iVar15 = (int)pcVar6[iVar20 + 1];\n            if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }\n            local_58[0] = iVar18;\n            iVar15 = local_58[0];\n            if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *param_2 = uVar12;\n            (*(code *)PTR_xfree_00156bb4)(puVar4);\n            if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }\n      }\n      else {\n        if (iVar22 + -1 <= iVar11) {\n          iVar22 = iVar22 + 0x40;\n          puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n        }\n        puVar4[iVar11] = cVar1;\n        puVar4[iVar11 + 1] = 0;\n        uVar3 = 0;\n        iVar20 = iVar11 + 1;\n      }\nLAB_0011dc80:\n      local_5c = local_5c + 1;\n      iVar11 = iVar20;\n    } while (local_5c < local_c8);\n    *param_2 = puVar4;\n    if (pcVar6 != param_1) {\nLAB_0011f650:\n      (*(code *)PTR_xfree_00156bb4)(pcVar6);\n    }\n  }" { (expression_statement "local_a8 = 0;" (assignment_expression "local_a8 = 0" identifier = number_literal) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      cVar1 = pcVar6[local_5c];\n      if (uVar3 == 0) {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((1 < uVar10) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {\n          local_3c[0] = 0;\n          local_3c[1] = 0;\n          local_3c[2] = 0;\n          local_3c[3] = 0;\n          piVar19 = local_3c;\n          cVar14 = cVar1;\n          do {\n            *(char *)piVar19 = cVar14;\n            local_58[2] = 0;\n            local_58[3] = 0;\n            iVar20 = _rl_get_char_len(local_3c,local_58 + 2);\n            if (iVar20 != -2) break;\n            local_5c = local_5c + 1;\n            piVar19 = (int *)((int)piVar19 + 1);\n            cVar14 = pcVar6[local_5c];\n          } while (local_3c + 4 != piVar19);\n          uVar10 = (*(code *)PTR_strlen_00158444)(local_3c);\n          if (1 < uVar10) {\n            iVar20 = iVar11 + uVar10;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }\n        iVar20 = local_5c;\n        if (*PTR_history_expansion_char_00156fcc == cVar1) {\nLAB_0011e340:\n          iVar15 = (int)pcVar6[local_5c + 1];\n          if ((((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))) {\n            iVar20 = local_5c;\n            uVar12 = 0x27;\n            if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }\n            local_58[4] = 0;\n            local_58[5] = 0;\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            local_58[0] = iVar20;\n            iVar15 = (int)pcVar6[iVar20 + 1];\n            if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }\n            local_58[0] = iVar18;\n            iVar15 = local_58[0];\n            if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *param_2 = uVar12;\n            (*(code *)PTR_xfree_00156bb4)(puVar4);\n            if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }\n      }\n      else {\n        if (iVar22 + -1 <= iVar11) {\n          iVar22 = iVar22 + 0x40;\n          puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n        }\n        puVar4[iVar11] = cVar1;\n        puVar4[iVar11 + 1] = 0;\n        uVar3 = 0;\n        iVar20 = iVar11 + 1;\n      }\nLAB_0011dc80:\n      local_5c = local_5c + 1;\n      iVar11 = iVar20;\n    } while (local_5c < local_c8);" do (compound_statement "{\n      cVar1 = pcVar6[local_5c];\n      if (uVar3 == 0) {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((1 < uVar10) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {\n          local_3c[0] = 0;\n          local_3c[1] = 0;\n          local_3c[2] = 0;\n          local_3c[3] = 0;\n          piVar19 = local_3c;\n          cVar14 = cVar1;\n          do {\n            *(char *)piVar19 = cVar14;\n            local_58[2] = 0;\n            local_58[3] = 0;\n            iVar20 = _rl_get_char_len(local_3c,local_58 + 2);\n            if (iVar20 != -2) break;\n            local_5c = local_5c + 1;\n            piVar19 = (int *)((int)piVar19 + 1);\n            cVar14 = pcVar6[local_5c];\n          } while (local_3c + 4 != piVar19);\n          uVar10 = (*(code *)PTR_strlen_00158444)(local_3c);\n          if (1 < uVar10) {\n            iVar20 = iVar11 + uVar10;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }\n        iVar20 = local_5c;\n        if (*PTR_history_expansion_char_00156fcc == cVar1) {\nLAB_0011e340:\n          iVar15 = (int)pcVar6[local_5c + 1];\n          if ((((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))) {\n            iVar20 = local_5c;\n            uVar12 = 0x27;\n            if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }\n            local_58[4] = 0;\n            local_58[5] = 0;\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            local_58[0] = iVar20;\n            iVar15 = (int)pcVar6[iVar20 + 1];\n            if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }\n            local_58[0] = iVar18;\n            iVar15 = local_58[0];\n            if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *param_2 = uVar12;\n            (*(code *)PTR_xfree_00156bb4)(puVar4);\n            if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }\n      }\n      else {\n        if (iVar22 + -1 <= iVar11) {\n          iVar22 = iVar22 + 0x40;\n          puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n        }\n        puVar4[iVar11] = cVar1;\n        puVar4[iVar11 + 1] = 0;\n        uVar3 = 0;\n        iVar20 = iVar11 + 1;\n      }\nLAB_0011dc80:\n      local_5c = local_5c + 1;\n      iVar11 = iVar20;\n    }" { (expression_statement "cVar1 = pcVar6[local_5c];" (assignment_expression "cVar1 = pcVar6[local_5c]" identifier = (subscript_expression "pcVar6[local_5c]" identifier [ identifier ])) ;) (if_statement "if (uVar3 == 0) {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((1 < uVar10) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {\n          local_3c[0] = 0;\n          local_3c[1] = 0;\n          local_3c[2] = 0;\n          local_3c[3] = 0;\n          piVar19 = local_3c;\n          cVar14 = cVar1;\n          do {\n            *(char *)piVar19 = cVar14;\n            local_58[2] = 0;\n            local_58[3] = 0;\n            iVar20 = _rl_get_char_len(local_3c,local_58 + 2);\n            if (iVar20 != -2) break;\n            local_5c = local_5c + 1;\n            piVar19 = (int *)((int)piVar19 + 1);\n            cVar14 = pcVar6[local_5c];\n          } while (local_3c + 4 != piVar19);\n          uVar10 = (*(code *)PTR_strlen_00158444)(local_3c);\n          if (1 < uVar10) {\n            iVar20 = iVar11 + uVar10;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }\n        iVar20 = local_5c;\n        if (*PTR_history_expansion_char_00156fcc == cVar1) {\nLAB_0011e340:\n          iVar15 = (int)pcVar6[local_5c + 1];\n          if ((((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))) {\n            iVar20 = local_5c;\n            uVar12 = 0x27;\n            if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }\n            local_58[4] = 0;\n            local_58[5] = 0;\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            local_58[0] = iVar20;\n            iVar15 = (int)pcVar6[iVar20 + 1];\n            if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }\n            local_58[0] = iVar18;\n            iVar15 = local_58[0];\n            if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *param_2 = uVar12;\n            (*(code *)PTR_xfree_00156bb4)(puVar4);\n            if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }\n      }\n      else {\n        if (iVar22 + -1 <= iVar11) {\n          iVar22 = iVar22 + 0x40;\n          puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n        }\n        puVar4[iVar11] = cVar1;\n        puVar4[iVar11 + 1] = 0;\n        uVar3 = 0;\n        iVar20 = iVar11 + 1;\n      }" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((1 < uVar10) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {\n          local_3c[0] = 0;\n          local_3c[1] = 0;\n          local_3c[2] = 0;\n          local_3c[3] = 0;\n          piVar19 = local_3c;\n          cVar14 = cVar1;\n          do {\n            *(char *)piVar19 = cVar14;\n            local_58[2] = 0;\n            local_58[3] = 0;\n            iVar20 = _rl_get_char_len(local_3c,local_58 + 2);\n            if (iVar20 != -2) break;\n            local_5c = local_5c + 1;\n            piVar19 = (int *)((int)piVar19 + 1);\n            cVar14 = pcVar6[local_5c];\n          } while (local_3c + 4 != piVar19);\n          uVar10 = (*(code *)PTR_strlen_00158444)(local_3c);\n          if (1 < uVar10) {\n            iVar20 = iVar11 + uVar10;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }\n        iVar20 = local_5c;\n        if (*PTR_history_expansion_char_00156fcc == cVar1) {\nLAB_0011e340:\n          iVar15 = (int)pcVar6[local_5c + 1];\n          if ((((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))) {\n            iVar20 = local_5c;\n            uVar12 = 0x27;\n            if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }\n            local_58[4] = 0;\n            local_58[5] = 0;\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            local_58[0] = iVar20;\n            iVar15 = (int)pcVar6[iVar20 + 1];\n            if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }\n            local_58[0] = iVar18;\n            iVar15 = local_58[0];\n            if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *param_2 = uVar12;\n            (*(code *)PTR_xfree_00156bb4)(puVar4);\n            if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }\n      }" { (expression_statement "uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();" (assignment_expression "uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)()" identifier = (call_expression "(*(code *)PTR___ctype_get_mb_cur_max_001584e0)()" (parenthesized_expression "(*(code *)PTR___ctype_get_mb_cur_max_001584e0)" ( (pointer_expression "*(code *)PTR___ctype_get_mb_cur_max_001584e0" * (cast_expression "(code *)PTR___ctype_get_mb_cur_max_001584e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if ((1 < uVar10) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {\n          local_3c[0] = 0;\n          local_3c[1] = 0;\n          local_3c[2] = 0;\n          local_3c[3] = 0;\n          piVar19 = local_3c;\n          cVar14 = cVar1;\n          do {\n            *(char *)piVar19 = cVar14;\n            local_58[2] = 0;\n            local_58[3] = 0;\n            iVar20 = _rl_get_char_len(local_3c,local_58 + 2);\n            if (iVar20 != -2) break;\n            local_5c = local_5c + 1;\n            piVar19 = (int *)((int)piVar19 + 1);\n            cVar14 = pcVar6[local_5c];\n          } while (local_3c + 4 != piVar19);\n          uVar10 = (*(code *)PTR_strlen_00158444)(local_3c);\n          if (1 < uVar10) {\n            iVar20 = iVar11 + uVar10;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }" if (parenthesized_expression "((1 < uVar10) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0))" ( (binary_expression "(1 < uVar10) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)" (parenthesized_expression "(1 < uVar10)" ( (binary_expression "1 < uVar10" number_literal < identifier) )) && (parenthesized_expression "(*(int *)PTR_rl_byte_oriented_00157e18 == 0)" ( (binary_expression "*(int *)PTR_rl_byte_oriented_00157e18 == 0" (pointer_expression "*(int *)PTR_rl_byte_oriented_00157e18" * (cast_expression "(int *)PTR_rl_byte_oriented_00157e18" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) ))) )) (compound_statement "{\n          local_3c[0] = 0;\n          local_3c[1] = 0;\n          local_3c[2] = 0;\n          local_3c[3] = 0;\n          piVar19 = local_3c;\n          cVar14 = cVar1;\n          do {\n            *(char *)piVar19 = cVar14;\n            local_58[2] = 0;\n            local_58[3] = 0;\n            iVar20 = _rl_get_char_len(local_3c,local_58 + 2);\n            if (iVar20 != -2) break;\n            local_5c = local_5c + 1;\n            piVar19 = (int *)((int)piVar19 + 1);\n            cVar14 = pcVar6[local_5c];\n          } while (local_3c + 4 != piVar19);\n          uVar10 = (*(code *)PTR_strlen_00158444)(local_3c);\n          if (1 < uVar10) {\n            iVar20 = iVar11 + uVar10;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }" { (expression_statement "local_3c[0] = 0;" (assignment_expression "local_3c[0] = 0" (subscript_expression "local_3c[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_3c[1] = 0;" (assignment_expression "local_3c[1] = 0" (subscript_expression "local_3c[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_3c[2] = 0;" (assignment_expression "local_3c[2] = 0" (subscript_expression "local_3c[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_3c[3] = 0;" (assignment_expression "local_3c[3] = 0" (subscript_expression "local_3c[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar19 = local_3c;" (assignment_expression "piVar19 = local_3c" identifier = identifier) ;) (expression_statement "cVar14 = cVar1;" (assignment_expression "cVar14 = cVar1" identifier = identifier) ;) (do_statement "do {\n            *(char *)piVar19 = cVar14;\n            local_58[2] = 0;\n            local_58[3] = 0;\n            iVar20 = _rl_get_char_len(local_3c,local_58 + 2);\n            if (iVar20 != -2) break;\n            local_5c = local_5c + 1;\n            piVar19 = (int *)((int)piVar19 + 1);\n            cVar14 = pcVar6[local_5c];\n          } while (local_3c + 4 != piVar19);" do (compound_statement "{\n            *(char *)piVar19 = cVar14;\n            local_58[2] = 0;\n            local_58[3] = 0;\n            iVar20 = _rl_get_char_len(local_3c,local_58 + 2);\n            if (iVar20 != -2) break;\n            local_5c = local_5c + 1;\n            piVar19 = (int *)((int)piVar19 + 1);\n            cVar14 = pcVar6[local_5c];\n          }" { (expression_statement "*(char *)piVar19 = cVar14;" (assignment_expression "*(char *)piVar19 = cVar14" (pointer_expression "*(char *)piVar19" * (cast_expression "(char *)piVar19" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "local_58[2] = 0;" (assignment_expression "local_58[2] = 0" (subscript_expression "local_58[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_58[3] = 0;" (assignment_expression "local_58[3] = 0" (subscript_expression "local_58[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar20 = _rl_get_char_len(local_3c,local_58 + 2);" (assignment_expression "iVar20 = _rl_get_char_len(local_3c,local_58 + 2)" identifier = (call_expression "_rl_get_char_len(local_3c,local_58 + 2)" identifier (argument_list "(local_3c,local_58 + 2)" ( identifier , (binary_expression "local_58 + 2" identifier + number_literal) )))) ;) (if_statement "if (iVar20 != -2) break;" if (parenthesized_expression "(iVar20 != -2)" ( (binary_expression "iVar20 != -2" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "local_5c = local_5c + 1;" (assignment_expression "local_5c = local_5c + 1" identifier = (binary_expression "local_5c + 1" identifier + number_literal)) ;) (expression_statement "piVar19 = (int *)((int)piVar19 + 1);" (assignment_expression "piVar19 = (int *)((int)piVar19 + 1)" identifier = (cast_expression "(int *)((int)piVar19 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar19 + 1)" ( (binary_expression "(int)piVar19 + 1" (cast_expression "(int)piVar19" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "cVar14 = pcVar6[local_5c];" (assignment_expression "cVar14 = pcVar6[local_5c]" identifier = (subscript_expression "pcVar6[local_5c]" identifier [ identifier ])) ;) }) while (parenthesized_expression "(local_3c + 4 != piVar19)" ( (binary_expression "local_3c + 4 != piVar19" (binary_expression "local_3c + 4" identifier + number_literal) != identifier) )) ;) (expression_statement "uVar10 = (*(code *)PTR_strlen_00158444)(local_3c);" (assignment_expression "uVar10 = (*(code *)PTR_strlen_00158444)(local_3c)" identifier = (call_expression "(*(code *)PTR_strlen_00158444)(local_3c)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_3c)" ( identifier )))) ;) (if_statement "if (1 < uVar10) {\n            iVar20 = iVar11 + uVar10;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }" if (parenthesized_expression "(1 < uVar10)" ( (binary_expression "1 < uVar10" number_literal < identifier) )) (compound_statement "{\n            iVar20 = iVar11 + uVar10;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }" { (expression_statement "iVar20 = iVar11 + uVar10;" (assignment_expression "iVar20 = iVar11 + uVar10" identifier = (binary_expression "iVar11 + uVar10" identifier + identifier)) ;) (expression_statement "iVar11 = iVar22;" (assignment_expression "iVar11 = iVar22" identifier = identifier) ;) (if_statement "if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }" if (parenthesized_expression "(iVar22 <= iVar20)" ( (binary_expression "iVar22 <= iVar20" identifier <= identifier) )) (compound_statement "{\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }" { (do_statement "do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);" do (compound_statement "{\n                iVar11 = iVar11 + 0x80;\n              }" { (expression_statement "iVar11 = iVar11 + 0x80;" (assignment_expression "iVar11 = iVar11 + 0x80" identifier = (binary_expression "iVar11 + 0x80" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar11 <= iVar20)" ( (binary_expression "iVar11 <= iVar20" identifier <= identifier) )) ;) (expression_statement "iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);" (assignment_expression "iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U)" identifier = (binary_expression "iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U)" (binary_expression "iVar22 + 0x80" identifier + number_literal) + (parenthesized_expression "(iVar20 - iVar22 & 0xffffff80U)" ( (binary_expression "iVar20 - iVar22 & 0xffffff80U" (binary_expression "iVar20 - iVar22" identifier - identifier) & number_literal) )))) ;) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,iVar22)" ( identifier , identifier ))))) ;) })) (expression_statement "(*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);" (call_expression "(*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" ( (pointer_expression "*(code *)PTR_strcpy_001584cc" * (cast_expression "(code *)PTR_strcpy_001584cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4 + (iVar20 - uVar10),local_3c)" ( (binary_expression "puVar4 + (iVar20 - uVar10)" identifier + (parenthesized_expression "(iVar20 - uVar10)" ( (binary_expression "iVar20 - uVar10" identifier - identifier) ))) , identifier ))) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0011dc80;" goto statement_identifier ;) })) })) (expression_statement "iVar20 = local_5c;" (assignment_expression "iVar20 = local_5c" identifier = identifier) ;) (if_statement "if (*PTR_history_expansion_char_00156fcc == cVar1) {\nLAB_0011e340:\n          iVar15 = (int)pcVar6[local_5c + 1];\n          if ((((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))) {\n            iVar20 = local_5c;\n            uVar12 = 0x27;\n            if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }\n            local_58[4] = 0;\n            local_58[5] = 0;\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            local_58[0] = iVar20;\n            iVar15 = (int)pcVar6[iVar20 + 1];\n            if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }\n            local_58[0] = iVar18;\n            iVar15 = local_58[0];\n            if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *param_2 = uVar12;\n            (*(code *)PTR_xfree_00156bb4)(puVar4);\n            if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }" if (parenthesized_expression "(*PTR_history_expansion_char_00156fcc == cVar1)" ( (binary_expression "*PTR_history_expansion_char_00156fcc == cVar1" (pointer_expression "*PTR_history_expansion_char_00156fcc" * identifier) == identifier) )) (compound_statement "{\nLAB_0011e340:\n          iVar15 = (int)pcVar6[local_5c + 1];\n          if ((((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))) {\n            iVar20 = local_5c;\n            uVar12 = 0x27;\n            if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }\n            local_58[4] = 0;\n            local_58[5] = 0;\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            local_58[0] = iVar20;\n            iVar15 = (int)pcVar6[iVar20 + 1];\n            if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }\n            local_58[0] = iVar18;\n            iVar15 = local_58[0];\n            if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *param_2 = uVar12;\n            (*(code *)PTR_xfree_00156bb4)(puVar4);\n            if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }" { (labeled_statement "LAB_0011e340:\n          iVar15 = (int)pcVar6[local_5c + 1];" statement_identifier : (expression_statement "iVar15 = (int)pcVar6[local_5c + 1];" (assignment_expression "iVar15 = (int)pcVar6[local_5c + 1]" identifier = (cast_expression "(int)pcVar6[local_5c + 1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar6[local_5c + 1]" identifier [ (binary_expression "local_5c + 1" identifier + number_literal) ]))) ;)) (if_statement "if ((((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))) {\n            iVar20 = local_5c;\n            uVar12 = 0x27;\n            if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }\n            local_58[4] = 0;\n            local_58[5] = 0;\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            local_58[0] = iVar20;\n            iVar15 = (int)pcVar6[iVar20 + 1];\n            if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }\n            local_58[0] = iVar18;\n            iVar15 = local_58[0];\n            if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *param_2 = uVar12;\n            (*(code *)PTR_xfree_00156bb4)(puVar4);\n            if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }" if (parenthesized_expression "((((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0))))" ( (binary_expression "(((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))" (parenthesized_expression "(((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22))))" ( (binary_expression "((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))" (parenthesized_expression "((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0))" ( (binary_expression "(iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)" (parenthesized_expression "(iVar15 != 0)" ( (binary_expression "iVar15 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)" ( (comma_expression "iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0" (assignment_expression "iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15)" identifier = (call_expression "(*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15)" (parenthesized_expression "(*(code *)PTR_strchr_0015844c)" ( (pointer_expression "*(code *)PTR_strchr_0015844c" * (cast_expression "(code *)PTR_strchr_0015844c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15)" ( (pointer_expression "*(undefined4 *)PTR_history_no_expand_chars_00158260" * (cast_expression "(undefined4 *)PTR_history_no_expand_chars_00158260" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , identifier )))) , (binary_expression "iVar18 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "((local_c4 == 0 || (iVar15 != 0x22)))" ( (parenthesized_expression "(local_c4 == 0 || (iVar15 != 0x22))" ( (binary_expression "local_c4 == 0 || (iVar15 != 0x22)" (binary_expression "local_c4 == 0" identifier == number_literal) || (parenthesized_expression "(iVar15 != 0x22)" ( (binary_expression "iVar15 != 0x22" identifier != number_literal) ))) )) ))) )) && (parenthesized_expression "((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))" ( (parenthesized_expression "(*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0))" ( (binary_expression "*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)" (binary_expression "*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0" (pointer_expression "*(code **)PTR_history_inhibit_expansion_function_0015752c" * (cast_expression "(code **)PTR_history_inhibit_expansion_function_0015752c" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) || (parenthesized_expression "(iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)" ( (comma_expression "iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0" (assignment_expression "iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20)" identifier = (call_expression "(**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20)" (parenthesized_expression "(**(code **)PTR_history_inhibit_expansion_function_0015752c)" ( (pointer_expression "**(code **)PTR_history_inhibit_expansion_function_0015752c" * (pointer_expression "*(code **)PTR_history_inhibit_expansion_function_0015752c" * (cast_expression "(code **)PTR_history_inhibit_expansion_function_0015752c" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(pcVar6,iVar20)" ( identifier , identifier )))) , (binary_expression "iVar20 == 0" identifier == number_literal)) ))) )) ))) )) (compound_statement "{\n            iVar20 = local_5c;\n            uVar12 = 0x27;\n            if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }\n            local_58[4] = 0;\n            local_58[5] = 0;\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            local_58[0] = iVar20;\n            iVar15 = (int)pcVar6[iVar20 + 1];\n            if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }\n            local_58[0] = iVar18;\n            iVar15 = local_58[0];\n            if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *param_2 = uVar12;\n            (*(code *)PTR_xfree_00156bb4)(puVar4);\n            if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }" { (expression_statement "iVar20 = local_5c;" (assignment_expression "iVar20 = local_5c" identifier = identifier) ;) (expression_statement "uVar12 = 0x27;" (assignment_expression "uVar12 = 0x27" identifier = number_literal) ;) (if_statement "if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }" if (parenthesized_expression "((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0))" ( (binary_expression "(local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)" (parenthesized_expression "(local_b0 == 0)" ( (binary_expression "local_b0 == 0" identifier == number_literal) )) && (parenthesized_expression "(uVar12 = 0x22, local_c4 == 0)" ( (comma_expression "uVar12 = 0x22, local_c4 == 0" (assignment_expression "uVar12 = 0x22" identifier = number_literal) , (binary_expression "local_c4 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n              uVar12 = 0;\n            }" { (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" identifier = number_literal) ;) })) (expression_statement "local_58[4] = 0;" (assignment_expression "local_58[4] = 0" (subscript_expression "local_58[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_58[5] = 0;" (assignment_expression "local_58[5] = 0" (subscript_expression "local_58[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);" (assignment_expression "local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80)" identifier = (cast_expression "(char *)(*(code *)PTR_xmalloc_001565b8)(0x80)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001565b8)(0x80)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x80)" ( number_literal ))))) ;) (expression_statement "local_58[0] = iVar20;" (assignment_expression "local_58[0] = iVar20" (subscript_expression "local_58[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar15 = (int)pcVar6[iVar20 + 1];" (assignment_expression "iVar15 = (int)pcVar6[iVar20 + 1]" identifier = (cast_expression "(int)pcVar6[iVar20 + 1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar6[iVar20 + 1]" identifier [ (binary_expression "iVar20 + 1" identifier + number_literal) ]))) ;) (if_statement "if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }" if (parenthesized_expression "(iVar15 == 0)" ( (binary_expression "iVar15 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }" { (labeled_statement "LAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);" statement_identifier : (expression_statement "puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);" (assignment_expression "puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12)" identifier = (cast_expression "(undefined1 *)get_history_event(pcVar6,local_58,uVar12)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "get_history_event(pcVar6,local_58,uVar12)" identifier (argument_list "(pcVar6,local_58,uVar12)" ( identifier , identifier , identifier ))))) ;)) (expression_statement "iVar18 = local_58[0];" (assignment_expression "iVar18 = local_58[0]" identifier = (subscript_expression "local_58[0]" identifier [ number_literal ])) ;) }) (else_clause "else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }" else (compound_statement "{\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }" { (expression_statement "iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);" (assignment_expression "iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12)" identifier = (call_expression "(*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12)" (parenthesized_expression "(*(code *)PTR_strchr_0015844c)" ( (pointer_expression "*(code *)PTR_strchr_0015844c" * (cast_expression "(code *)PTR_strchr_0015844c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12)" ( (binary_expression "PTR_DAT_001565b0 + 0x44c" identifier + number_literal) , identifier , identifier )))) ;) (if_statement "if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }" if (parenthesized_expression "(iVar18 == 0)" ( (binary_expression "iVar18 == 0" identifier == number_literal) )) (compound_statement "{\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }" { (expression_statement "puVar7 = puVar4;" (assignment_expression "puVar7 = puVar4" identifier = identifier) ;) (expression_statement "iVar18 = iVar20 + 2;" (assignment_expression "iVar18 = iVar20 + 2" identifier = (binary_expression "iVar20 + 2" identifier + number_literal)) ;) (if_statement "if (iVar15 != 0x23) goto LAB_0011e654;" if (parenthesized_expression "(iVar15 != 0x23)" ( (binary_expression "iVar15 != 0x23" identifier != number_literal) )) (goto_statement "goto LAB_0011e654;" goto statement_identifier ;)) }) (else_clause "else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }" else (compound_statement "{\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }" { (expression_statement "local_58[1] = 0;" (assignment_expression "local_58[1] = 0" (subscript_expression "local_58[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_40 = *PTR_history_expansion_char_00156fcc;" (assignment_expression "local_40 = *PTR_history_expansion_char_00156fcc" identifier = (pointer_expression "*PTR_history_expansion_char_00156fcc" * identifier)) ;) (expression_statement "local_3e = 0;" (assignment_expression "local_3e = 0" identifier = number_literal) ;) (expression_statement "local_58[0] = iVar20 + 1;" (assignment_expression "local_58[0] = iVar20 + 1" (subscript_expression "local_58[0]" identifier [ number_literal ]) = (binary_expression "iVar20 + 1" identifier + number_literal)) ;) (expression_statement "local_3f = local_40;" (assignment_expression "local_3f = local_40" identifier = identifier) ;) (expression_statement "puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);" (assignment_expression "puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0)" identifier = (cast_expression "(undefined1 *)get_history_event(&local_40,local_58 + 1,0)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "get_history_event(&local_40,local_58 + 1,0)" identifier (argument_list "(&local_40,local_58 + 1,0)" ( (pointer_expression "&local_40" & identifier) , (binary_expression "local_58 + 1" identifier + number_literal) , number_literal ))))) ;) (expression_statement "iVar18 = local_58[0];" (assignment_expression "iVar18 = local_58[0]" identifier = (subscript_expression "local_58[0]" identifier [ number_literal ])) ;) }))) }))) (expression_statement "local_58[0] = iVar18;" (assignment_expression "local_58[0] = iVar18" (subscript_expression "local_58[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar15 = local_58[0];" (assignment_expression "iVar15 = local_58[0]" identifier = (subscript_expression "local_58[0]" identifier [ number_literal ])) ;) (if_statement "if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }" if (parenthesized_expression "(puVar7 == (undefined1 *)0x0)" ( (binary_expression "puVar7 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }" { (expression_statement "uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);" (assignment_expression "uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0)" identifier = (call_expression "FUN_0011c1e4(pcVar6,iVar20,local_58[0],0)" identifier (argument_list "(pcVar6,iVar20,local_58[0],0)" ( identifier , identifier , (subscript_expression "local_58[0]" identifier [ number_literal ]) , number_literal )))) ;) (expression_statement "(*(code *)PTR_xfree_00156bb4)(local_c0);" (call_expression "(*(code *)PTR_xfree_00156bb4)(local_c0)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" ( (pointer_expression "*(code *)PTR_xfree_00156bb4" * (cast_expression "(code *)PTR_xfree_00156bb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_c0)" ( identifier ))) ;) }) (else_clause "else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }" else (compound_statement "{\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }" { (expression_statement "iVar20 = local_58[0] + 1;" (assignment_expression "iVar20 = local_58[0] + 1" identifier = (binary_expression "local_58[0] + 1" (subscript_expression "local_58[0]" identifier [ number_literal ]) + number_literal)) ;) (if_statement "if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }" if (parenthesized_expression "(pcVar6[local_58[0]] != ':')" ( (binary_expression "pcVar6[local_58[0]] != ':'" (subscript_expression "pcVar6[local_58[0]]" identifier [ (subscript_expression "local_58[0]" identifier [ number_literal ]) ]) != (char_literal "':'" ' character ')) )) (compound_statement "{\n                iVar20 = local_58[0];\n              }" { (expression_statement "iVar20 = local_58[0];" (assignment_expression "iVar20 = local_58[0]" identifier = (subscript_expression "local_58[0]" identifier [ number_literal ])) ;) })) (expression_statement "iVar18 = (int)pcVar6[iVar20];" (assignment_expression "iVar18 = (int)pcVar6[iVar20]" identifier = (cast_expression "(int)pcVar6[iVar20]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar6[iVar20]" identifier [ identifier ]))) ;) (if_statement "if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }" if (parenthesized_expression "(iVar18 == 0x25)" ( (binary_expression "iVar18 == 0x25" identifier == number_literal) )) (compound_statement "{\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }" { (expression_statement "local_58[0] = iVar20 + 1;" (assignment_expression "local_58[0] = iVar20 + 1" (subscript_expression "local_58[0]" identifier [ number_literal ]) = (binary_expression "iVar20 + 1" identifier + number_literal)) ;) (if_statement "if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }" if (parenthesized_expression "(*(int *)(PTR_DAT_0015656c + -0x3384) == 0)" ( (binary_expression "*(int *)(PTR_DAT_0015656c + -0x3384) == 0" (pointer_expression "*(int *)(PTR_DAT_0015656c + -0x3384)" * (cast_expression "(int *)(PTR_DAT_0015656c + -0x3384)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0015656c + -0x3384)" ( (binary_expression "PTR_DAT_0015656c + -0x3384" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }" { (expression_statement "puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);" (assignment_expression "puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001565b8)(1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1)" ( number_literal ))))) ;) (expression_statement "*puVar8 = 0;" (assignment_expression "*puVar8 = 0" (pointer_expression "*puVar8" * identifier) = number_literal) ;) }) (else_clause "else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }" else (compound_statement "{\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }" { (expression_statement "iVar20 = (*(code *)PTR_strlen_00158444)();" (assignment_expression "iVar20 = (*(code *)PTR_strlen_00158444)()" identifier = (call_expression "(*(code *)PTR_strlen_00158444)()" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);" (assignment_expression "uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001565b8)(iVar20 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar20 + 1)" ( (binary_expression "iVar20 + 1" identifier + number_literal) )))) ;) (expression_statement "puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));" (assignment_expression "puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384))" identifier = (cast_expression "(undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384))" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384))" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" ( (pointer_expression "*(code *)PTR_strcpy_001584cc" * (cast_expression "(code *)PTR_strcpy_001584cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384))" ( identifier , (pointer_expression "*(undefined4 *)(PTR_DAT_0015656c + -0x3384)" * (cast_expression "(undefined4 *)(PTR_DAT_0015656c + -0x3384)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0015656c + -0x3384)" ( (binary_expression "PTR_DAT_0015656c + -0x3384" identifier + number_literal) )))) ))))) ;) }))) (labeled_statement "LAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }" statement_identifier : (if_statement "if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }" if (parenthesized_expression "(puVar8 != puVar23 + -0x336c)" ( (binary_expression "puVar8 != puVar23 + -0x336c" identifier != (binary_expression "puVar23 + -0x336c" identifier + number_literal)) )) (compound_statement "{\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }" { (labeled_statement "LAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);" statement_identifier : (expression_statement "iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);" (assignment_expression "iVar20 = (*(code *)PTR_strlen_00158444)(puVar8)" identifier = (call_expression "(*(code *)PTR_strlen_00158444)(puVar8)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar8)" ( identifier )))) ;)) (expression_statement "uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);" (assignment_expression "uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001565b8)(iVar20 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar20 + 1)" ( (binary_expression "iVar20 + 1" identifier + number_literal) )))) ;) (expression_statement "uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);" (assignment_expression "uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8)" identifier = (call_expression "(*(code *)PTR_strcpy_001584cc)(uVar12,puVar8)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" ( (pointer_expression "*(code *)PTR_strcpy_001584cc" * (cast_expression "(code *)PTR_strcpy_001584cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar12,puVar8)" ( identifier , identifier )))) ;) (expression_statement "(*(code *)PTR_free_001585ac)(puVar8);" (call_expression "(*(code *)PTR_free_001585ac)(puVar8)" (parenthesized_expression "(*(code *)PTR_free_001585ac)" ( (pointer_expression "*(code *)PTR_free_001585ac" * (cast_expression "(code *)PTR_free_001585ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar8)" ( identifier ))) ;) (labeled_statement "LAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }" statement_identifier : (if_statement "if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }" if (parenthesized_expression "(pcVar6[local_58[0]] != ':')" ( (binary_expression "pcVar6[local_58[0]] != ':'" (subscript_expression "pcVar6[local_58[0]]" identifier [ (subscript_expression "local_58[0]" identifier [ number_literal ]) ]) != (char_literal "':'" ' character ')) )) (compound_statement "{\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }" { (expression_statement "local_58[0] = local_58[0] + -1;" (assignment_expression "local_58[0] = local_58[0] + -1" (subscript_expression "local_58[0]" identifier [ number_literal ]) = (binary_expression "local_58[0] + -1" (subscript_expression "local_58[0]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);" (assignment_expression "iVar20 = (*(code *)PTR_strlen_00158444)(uVar9)" identifier = (call_expression "(*(code *)PTR_strlen_00158444)(uVar9)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar9)" ( identifier )))) ;) (if_statement "if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }" if (parenthesized_expression "(0x7f < iVar20)" ( (binary_expression "0x7f < iVar20" number_literal < identifier) )) (compound_statement "{\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }" { (expression_statement "local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);" (assignment_expression "local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2)" identifier = (cast_expression "(char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_c0,iVar20 + 2)" ( identifier , (binary_expression "iVar20 + 2" identifier + number_literal) ))))) ;) })) (expression_statement "(*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);" (call_expression "(*(code *)PTR_strcpy_001584cc)(local_c0,uVar9)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" ( (pointer_expression "*(code *)PTR_strcpy_001584cc" * (cast_expression "(code *)PTR_strcpy_001584cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_c0,uVar9)" ( identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_xfree_00156bb4)(uVar9);" (call_expression "(*(code *)PTR_xfree_00156bb4)(uVar9)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" ( (pointer_expression "*(code *)PTR_xfree_00156bb4" * (cast_expression "(code *)PTR_xfree_00156bb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar9)" ( identifier ))) ;) (expression_statement "iVar20 = local_58[0];" (assignment_expression "iVar20 = local_58[0]" identifier = (subscript_expression "local_58[0]" identifier [ number_literal ])) ;) (expression_statement "local_a8 = local_a8 + 1;" (assignment_expression "local_a8 = local_a8 + 1" identifier = (binary_expression "local_a8 + 1" identifier + number_literal)) ;) (if_statement "if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }" if (parenthesized_expression "(*local_c0 != '\0')" ( (binary_expression "*local_c0 != '\0'" (pointer_expression "*local_c0" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }" { (expression_statement "iVar18 = (*(code *)PTR_strlen_00158444)();" (assignment_expression "iVar18 = (*(code *)PTR_strlen_00158444)()" identifier = (call_expression "(*(code *)PTR_strlen_00158444)()" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "iVar11 = iVar11 + iVar18;" (assignment_expression "iVar11 = iVar11 + iVar18" identifier = (binary_expression "iVar11 + iVar18" identifier + identifier)) ;) (expression_statement "iVar15 = iVar22;" (assignment_expression "iVar15 = iVar22" identifier = identifier) ;) (if_statement "if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }" if (parenthesized_expression "(iVar22 <= iVar11)" ( (binary_expression "iVar22 <= iVar11" identifier <= identifier) )) (compound_statement "{\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }" { (do_statement "do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);" do (compound_statement "{\n                          iVar15 = iVar15 + 0x80;\n                        }" { (expression_statement "iVar15 = iVar15 + 0x80;" (assignment_expression "iVar15 = iVar15 + 0x80" identifier = (binary_expression "iVar15 + 0x80" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar15 <= iVar11)" ( (binary_expression "iVar15 <= iVar11" identifier <= identifier) )) ;) (expression_statement "iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);" (assignment_expression "iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U)" identifier = (binary_expression "iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U)" (binary_expression "iVar22 + 0x80" identifier + number_literal) + (parenthesized_expression "(iVar11 - iVar22 & 0xffffff80U)" ( (binary_expression "iVar11 - iVar22 & 0xffffff80U" (binary_expression "iVar11 - iVar22" identifier - identifier) & number_literal) )))) ;) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,iVar22)" ( identifier , identifier ))))) ;) })) (expression_statement "(*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);" (call_expression "(*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" ( (pointer_expression "*(code *)PTR_strcpy_001584cc" * (cast_expression "(code *)PTR_strcpy_001584cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4 + (iVar11 - iVar18),local_c0)" ( (binary_expression "puVar4 + (iVar11 - iVar18)" identifier + (parenthesized_expression "(iVar11 - iVar18)" ( (binary_expression "iVar11 - iVar18" identifier - identifier) ))) , identifier ))) ;) })) (expression_statement "(*(code *)PTR_xfree_00156bb4)(local_c0);" (call_expression "(*(code *)PTR_xfree_00156bb4)(local_c0)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" ( (pointer_expression "*(code *)PTR_xfree_00156bb4" * (cast_expression "(code *)PTR_xfree_00156bb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_c0)" ( identifier ))) ;) (expression_statement "local_5c = iVar20;" (assignment_expression "local_5c = iVar20" identifier = identifier) ;) (expression_statement "iVar20 = iVar11;" (assignment_expression "iVar20 = iVar11" identifier = identifier) ;) (goto_statement "goto LAB_0011dc80;" goto statement_identifier ;) }))) (expression_statement "iVar22 = (int)pcVar6[local_58[0] + 1];" (assignment_expression "iVar22 = (int)pcVar6[local_58[0] + 1]" identifier = (cast_expression "(int)pcVar6[local_58[0] + 1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar6[local_58[0] + 1]" identifier [ (binary_expression "local_58[0] + 1" (subscript_expression "local_58[0]" identifier [ number_literal ]) + number_literal) ]))) ;) (if_statement "if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }" if (parenthesized_expression "((iVar22 == 0x67) || (iVar22 == 0x61))" ( (binary_expression "(iVar22 == 0x67) || (iVar22 == 0x61)" (parenthesized_expression "(iVar22 == 0x67)" ( (binary_expression "iVar22 == 0x67" identifier == number_literal) )) || (parenthesized_expression "(iVar22 == 0x61)" ( (binary_expression "iVar22 == 0x61" identifier == number_literal) ))) )) (compound_statement "{\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }" { (expression_statement "iVar22 = (int)pcVar6[local_58[0] + 2];" (assignment_expression "iVar22 = (int)pcVar6[local_58[0] + 2]" identifier = (cast_expression "(int)pcVar6[local_58[0] + 2]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar6[local_58[0] + 2]" identifier [ (binary_expression "local_58[0] + 2" (subscript_expression "local_58[0]" identifier [ number_literal ]) + number_literal) ]))) ;) (expression_statement "local_58[0] = local_58[0] + 1;" (assignment_expression "local_58[0] = local_58[0] + 1" (subscript_expression "local_58[0]" identifier [ number_literal ]) = (binary_expression "local_58[0] + 1" (subscript_expression "local_58[0]" identifier [ number_literal ]) + number_literal)) ;) }) (else_clause "else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }" else (if_statement "if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }" if (parenthesized_expression "(iVar22 == 0x47)" ( (binary_expression "iVar22 == 0x47" identifier == number_literal) )) (compound_statement "{\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }" { (expression_statement "iVar22 = (int)pcVar6[local_58[0] + 2];" (assignment_expression "iVar22 = (int)pcVar6[local_58[0] + 2]" identifier = (cast_expression "(int)pcVar6[local_58[0] + 2]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar6[local_58[0] + 2]" identifier [ (binary_expression "local_58[0] + 2" (subscript_expression "local_58[0]" identifier [ number_literal ]) + number_literal) ]))) ;) (expression_statement "local_58[0] = local_58[0] + 1;" (assignment_expression "local_58[0] = local_58[0] + 1" (subscript_expression "local_58[0]" identifier [ number_literal ]) = (binary_expression "local_58[0] + 1" (subscript_expression "local_58[0]" identifier [ number_literal ]) + number_literal)) ;) })))) (if_statement "if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }" if (parenthesized_expression "((iVar22 - 0x26U & 0xff) < 0x53)" ( (binary_expression "(iVar22 - 0x26U & 0xff) < 0x53" (parenthesized_expression "(iVar22 - 0x26U & 0xff)" ( (binary_expression "iVar22 - 0x26U & 0xff" (binary_expression "iVar22 - 0x26U" identifier - number_literal) & number_literal) )) < number_literal) )) (compound_statement "{\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }" { (expression_statement "uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();" (assignment_expression "uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))()" identifier = (call_expression "(*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484))" * (cast_expression "(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484))" ( (binary_expression "&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)" * (cast_expression "(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)" ( (binary_expression "puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484" (binary_expression "puVar2 + (iVar22 - 0x26U & 0xff) * 4" identifier + (binary_expression "(iVar22 - 0x26U & 0xff) * 4" (parenthesized_expression "(iVar22 - 0x26U & 0xff)" ( (binary_expression "iVar22 - 0x26U & 0xff" (binary_expression "iVar22 - 0x26U" identifier - number_literal) & number_literal) )) * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar3;" return identifier ;) })) (expression_statement "uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);" (assignment_expression "uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3)" identifier = (call_expression "FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3)" identifier (argument_list "(pcVar6,local_58[0] + 1,local_58[0] + 2,3)" ( identifier , (binary_expression "local_58[0] + 1" (subscript_expression "local_58[0]" identifier [ number_literal ]) + number_literal) , (binary_expression "local_58[0] + 2" (subscript_expression "local_58[0]" identifier [ number_literal ]) + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR_xfree_00156bb4)(local_c0);" (call_expression "(*(code *)PTR_xfree_00156bb4)(local_c0)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" ( (pointer_expression "*(code *)PTR_xfree_00156bb4" * (cast_expression "(code *)PTR_xfree_00156bb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_c0)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_xfree_00156bb4)(uVar9);" (call_expression "(*(code *)PTR_xfree_00156bb4)(uVar9)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" ( (pointer_expression "*(code *)PTR_xfree_00156bb4" * (cast_expression "(code *)PTR_xfree_00156bb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar9)" ( identifier ))) ;) (goto_statement "goto LAB_0011e9e8;" goto statement_identifier ;) }))) }) (else_clause "else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }" else (compound_statement "{\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }" { (if_statement "if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }" if (parenthesized_expression "(iVar18 == 0x2a)" ( (binary_expression "iVar18 == 0x2a" identifier == number_literal) )) (compound_statement "{\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }" { (expression_statement "local_58[0] = iVar20 + 1;" (assignment_expression "local_58[0] = iVar20 + 1" (subscript_expression "local_58[0]" identifier [ number_literal ]) = (binary_expression "iVar20 + 1" identifier + number_literal)) ;) (expression_statement "puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);" (assignment_expression "puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7)" identifier = (cast_expression "(undefined1 *)history_arg_extract(1,0x24,puVar7)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "history_arg_extract(1,0x24,puVar7)" identifier (argument_list "(1,0x24,puVar7)" ( number_literal , number_literal , identifier ))))) ;) (if_statement "if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }" if (parenthesized_expression "(puVar8 == (undefined1 *)0x0)" ( (binary_expression "puVar8 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }" { (expression_statement "puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);" (assignment_expression "puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001565b8)(1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1)" ( number_literal ))))) ;) (expression_statement "*puVar8 = 0;" (assignment_expression "*puVar8 = 0" (pointer_expression "*puVar8" * identifier) = number_literal) ;) })) (goto_statement "goto LAB_0011e5b8;" goto statement_identifier ;) })) (if_statement "if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }" if (parenthesized_expression "(iVar18 == 0x24)" ( (binary_expression "iVar18 == 0x24" identifier == number_literal) )) (compound_statement "{\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }" { (expression_statement "local_58[0] = iVar20 + 1;" (assignment_expression "local_58[0] = iVar20 + 1" (subscript_expression "local_58[0]" identifier [ number_literal ]) = (binary_expression "iVar20 + 1" identifier + number_literal)) ;) (expression_statement "puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);" (assignment_expression "puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7)" identifier = (cast_expression "(undefined1 *)history_arg_extract(0x24,0x24,puVar7)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "history_arg_extract(0x24,0x24,puVar7)" identifier (argument_list "(0x24,0x24,puVar7)" ( number_literal , number_literal , identifier ))))) ;) (if_statement "if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;" if (parenthesized_expression "(puVar8 == puVar23 + -0x336c)" ( (binary_expression "puVar8 == puVar23 + -0x336c" identifier == (binary_expression "puVar23 + -0x336c" identifier + number_literal)) )) (goto_statement "goto LAB_0011e864;" goto statement_identifier ;)) (if_statement "if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;" if (parenthesized_expression "(puVar8 != (undefined1 *)0x0)" ( (binary_expression "puVar8 != (undefined1 *)0x0" identifier != (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0011e5c8;" goto statement_identifier ;)) (labeled_statement "LAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);" statement_identifier : (expression_statement "iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);" (assignment_expression "iVar20 = (*(code *)PTR_strlen_00158444)(puVar7)" identifier = (call_expression "(*(code *)PTR_strlen_00158444)(puVar7)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar7)" ( identifier )))) ;)) (expression_statement "uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);" (assignment_expression "uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001565b8)(iVar20 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar20 + 1)" ( (binary_expression "iVar20 + 1" identifier + number_literal) )))) ;) (expression_statement "uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);" (assignment_expression "uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7)" identifier = (call_expression "(*(code *)PTR_strcpy_001584cc)(uVar12,puVar7)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" ( (pointer_expression "*(code *)PTR_strcpy_001584cc" * (cast_expression "(code *)PTR_strcpy_001584cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar12,puVar7)" ( identifier , identifier )))) ;) (goto_statement "goto LAB_0011e61c;" goto statement_identifier ;) })) (if_statement "if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }" if (parenthesized_expression "(iVar18 == 0x2d)" ( (binary_expression "iVar18 == 0x2d" identifier == number_literal) )) (compound_statement "{\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }" { (expression_statement "iVar21 = 0;" (assignment_expression "iVar21 = 0" identifier = number_literal) ;) (labeled_statement "LAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;" statement_identifier : (expression_statement "local_58[0] = iVar20 + 1;" (assignment_expression "local_58[0] = iVar20 + 1" (subscript_expression "local_58[0]" identifier [ number_literal ]) = (binary_expression "iVar20 + 1" identifier + number_literal)) ;)) (expression_statement "iVar17 = (int)pcVar6[local_58[0]];" (assignment_expression "iVar17 = (int)pcVar6[local_58[0]]" identifier = (cast_expression "(int)pcVar6[local_58[0]]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar6[local_58[0]]" identifier [ (subscript_expression "local_58[0]" identifier [ number_literal ]) ]))) ;) (if_statement "if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }" if (parenthesized_expression "((iVar17 - 0x30U & 0xff) < 10)" ( (binary_expression "(iVar17 - 0x30U & 0xff) < 10" (parenthesized_expression "(iVar17 - 0x30U & 0xff)" ( (binary_expression "iVar17 - 0x30U & 0xff" (binary_expression "iVar17 - 0x30U" identifier - number_literal) & number_literal) )) < number_literal) )) (compound_statement "{\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }" { (expression_statement "iVar18 = 0;" (assignment_expression "iVar18 = 0" identifier = number_literal) ;) (do_statement "do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);" do (compound_statement "{\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    }" { (expression_statement "iVar18 = iVar17 + -0x30 + iVar18 * 10;" (assignment_expression "iVar18 = iVar17 + -0x30 + iVar18 * 10" identifier = (binary_expression "iVar17 + -0x30 + iVar18 * 10" (binary_expression "iVar17 + -0x30" identifier + number_literal) + (binary_expression "iVar18 * 10" identifier * number_literal))) ;) (expression_statement "local_58[0] = local_58[0] + 1;" (assignment_expression "local_58[0] = local_58[0] + 1" (subscript_expression "local_58[0]" identifier [ number_literal ]) = (binary_expression "local_58[0] + 1" (subscript_expression "local_58[0]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "iVar17 = (int)pcVar6[local_58[0]];" (assignment_expression "iVar17 = (int)pcVar6[local_58[0]]" identifier = (cast_expression "(int)pcVar6[local_58[0]]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar6[local_58[0]]" identifier [ (subscript_expression "local_58[0]" identifier [ number_literal ]) ]))) ;) (expression_statement "bVar16 = iVar18 < iVar21;" (assignment_expression "bVar16 = iVar18 < iVar21" identifier = (binary_expression "iVar18 < iVar21" identifier < identifier)) ;) }) while (parenthesized_expression "((iVar17 - 0x30U & 0xff) < 10)" ( (binary_expression "(iVar17 - 0x30U & 0xff) < 10" (parenthesized_expression "(iVar17 - 0x30U & 0xff)" ( (binary_expression "iVar17 - 0x30U & 0xff" (binary_expression "iVar17 - 0x30U" identifier - number_literal) & number_literal) )) < number_literal) )) ;) (goto_statement "goto LAB_0011e840;" goto statement_identifier ;) })) (if_statement "if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }" if (parenthesized_expression "(iVar17 == 0x24)" ( (binary_expression "iVar17 == 0x24" identifier == number_literal) )) (compound_statement "{\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }" { (expression_statement "local_58[0] = iVar20 + 2;" (assignment_expression "local_58[0] = iVar20 + 2" (subscript_expression "local_58[0]" identifier [ number_literal ]) = (binary_expression "iVar20 + 2" identifier + number_literal)) ;) (expression_statement "iVar18 = 0x24;" (assignment_expression "iVar18 = 0x24" identifier = number_literal) ;) (goto_statement "goto LAB_0011e83c;" goto statement_identifier ;) })) (expression_statement "iVar18 = -1;" (assignment_expression "iVar18 = -1" identifier = number_literal) ;) }) (else_clause "else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }" else (compound_statement "{\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }" { (if_statement "if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }" if (parenthesized_expression "(iVar18 == 0x5e)" ( (binary_expression "iVar18 == 0x5e" identifier == number_literal) )) (compound_statement "{\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }" { (expression_statement "iVar20 = iVar20 + 1;" (assignment_expression "iVar20 = iVar20 + 1" identifier = (binary_expression "iVar20 + 1" identifier + number_literal)) ;) (expression_statement "iVar21 = 1;" (assignment_expression "iVar21 = 1" identifier = number_literal) ;) }) (else_clause "else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }" else (compound_statement "{\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }" { (if_statement "if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;" if (parenthesized_expression "((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))" ( (binary_expression "(9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':')" (parenthesized_expression "(9 < (iVar18 - 0x30U & 0xff))" ( (binary_expression "9 < (iVar18 - 0x30U & 0xff)" number_literal < (parenthesized_expression "(iVar18 - 0x30U & 0xff)" ( (binary_expression "iVar18 - 0x30U & 0xff" (binary_expression "iVar18 - 0x30U" identifier - number_literal) & number_literal) ))) )) || (parenthesized_expression "(pcVar6[local_58[0]] != ':')" ( (binary_expression "pcVar6[local_58[0]] != ':'" (subscript_expression "pcVar6[local_58[0]]" identifier [ (subscript_expression "local_58[0]" identifier [ number_literal ]) ]) != (char_literal "':'" ' character ')) ))) )) (goto_statement "goto LAB_0011e7cc;" goto statement_identifier ;)) (expression_statement "iVar21 = 0;" (assignment_expression "iVar21 = 0" identifier = number_literal) ;) (do_statement "do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);" do (compound_statement "{\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    }" { (expression_statement "iVar21 = iVar18 + -0x30 + iVar21 * 10;" (assignment_expression "iVar21 = iVar18 + -0x30 + iVar21 * 10" identifier = (binary_expression "iVar18 + -0x30 + iVar21 * 10" (binary_expression "iVar18 + -0x30" identifier + number_literal) + (binary_expression "iVar21 * 10" identifier * number_literal))) ;) (expression_statement "iVar20 = iVar20 + 1;" (assignment_expression "iVar20 = iVar20 + 1" identifier = (binary_expression "iVar20 + 1" identifier + number_literal)) ;) (expression_statement "iVar18 = (int)pcVar6[iVar20];" (assignment_expression "iVar18 = (int)pcVar6[iVar20]" identifier = (cast_expression "(int)pcVar6[iVar20]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar6[iVar20]" identifier [ identifier ]))) ;) }) while (parenthesized_expression "((iVar18 - 0x30U & 0xff) < 10)" ( (binary_expression "(iVar18 - 0x30U & 0xff) < 10" (parenthesized_expression "(iVar18 - 0x30U & 0xff)" ( (binary_expression "iVar18 - 0x30U & 0xff" (binary_expression "iVar18 - 0x30U" identifier - number_literal) & number_literal) )) < number_literal) )) ;) }))) (expression_statement "cVar1 = pcVar6[iVar20];" (assignment_expression "cVar1 = pcVar6[iVar20]" identifier = (subscript_expression "pcVar6[iVar20]" identifier [ identifier ])) ;) (if_statement "if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }" if (parenthesized_expression "(cVar1 == '^')" ( (binary_expression "cVar1 == '^'" identifier == (char_literal "'^'" ' character ')) )) (compound_statement "{\n                    iVar18 = 1;\n                  }" { (expression_statement "iVar18 = 1;" (assignment_expression "iVar18 = 1" identifier = number_literal) ;) }) (else_clause "else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }" else (compound_statement "{\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }" { (if_statement "if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }" if (parenthesized_expression "(cVar1 != '*')" ( (binary_expression "cVar1 != '*'" identifier != (char_literal "'*'" ' character ')) )) (compound_statement "{\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }" { (expression_statement "iVar18 = iVar21;" (assignment_expression "iVar18 = iVar21" identifier = identifier) ;) (expression_statement "local_58[0] = iVar20;" (assignment_expression "local_58[0] = iVar20" (subscript_expression "local_58[0]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (cVar1 == '-') goto LAB_0011e8ac;" if (parenthesized_expression "(cVar1 == '-')" ( (binary_expression "cVar1 == '-'" identifier == (char_literal "'-'" ' character ')) )) (goto_statement "goto LAB_0011e8ac;" goto statement_identifier ;)) (goto_statement "goto LAB_0011e5a4;" goto statement_identifier ;) })) (expression_statement "iVar18 = 0x24;" (assignment_expression "iVar18 = 0x24" identifier = number_literal) ;) }))) (expression_statement "local_58[0] = iVar20 + 1;" (assignment_expression "local_58[0] = iVar20 + 1" (subscript_expression "local_58[0]" identifier [ number_literal ]) = (binary_expression "iVar20 + 1" identifier + number_literal)) ;) (labeled_statement "LAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;" statement_identifier : (expression_statement "bVar16 = iVar18 < iVar21;" (assignment_expression "bVar16 = iVar18 < iVar21" identifier = (binary_expression "iVar18 < iVar21" identifier < identifier)) ;)) (labeled_statement "LAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;" statement_identifier : (if_statement "if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;" if (parenthesized_expression "(((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18))" ( (binary_expression "((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)" (parenthesized_expression "((bVar16) && (iVar18 != 0x24))" ( (binary_expression "(bVar16) && (iVar18 != 0x24)" (parenthesized_expression "(bVar16)" ( identifier )) && (parenthesized_expression "(iVar18 != 0x24)" ( (binary_expression "iVar18 != 0x24" identifier != number_literal) ))) )) && (parenthesized_expression "(-1 < iVar18)" ( (binary_expression "-1 < iVar18" number_literal < identifier) ))) )) (goto_statement "goto LAB_0011e864;" goto statement_identifier ;))) }))) (labeled_statement "LAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);" statement_identifier : (expression_statement "puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);" (assignment_expression "puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7)" identifier = (cast_expression "(undefined1 *)history_arg_extract(iVar21,iVar18,puVar7)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "history_arg_extract(iVar21,iVar18,puVar7)" identifier (argument_list "(iVar21,iVar18,puVar7)" ( identifier , identifier , identifier ))))) ;)) (if_statement "if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;" if (parenthesized_expression "(puVar8 != (undefined1 *)0x0)" ( (binary_expression "puVar8 != (undefined1 *)0x0" identifier != (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0011e5b8;" goto statement_identifier ;)) }))) (labeled_statement "LAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);" statement_identifier : (expression_statement "uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);" (assignment_expression "uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1)" identifier = (call_expression "FUN_0011c1e4(pcVar6,iVar15,local_58[0],1)" identifier (argument_list "(pcVar6,iVar15,local_58[0],1)" ( identifier , identifier , (subscript_expression "local_58[0]" identifier [ number_literal ]) , number_literal )))) ;)) (expression_statement "(*(code *)PTR_xfree_00156bb4)(local_c0);" (call_expression "(*(code *)PTR_xfree_00156bb4)(local_c0)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" ( (pointer_expression "*(code *)PTR_xfree_00156bb4" * (cast_expression "(code *)PTR_xfree_00156bb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_c0)" ( identifier ))) ;) }))) (labeled_statement "LAB_0011e9e8:\n            *param_2 = uVar12;" statement_identifier : (expression_statement "*param_2 = uVar12;" (assignment_expression "*param_2 = uVar12" (pointer_expression "*param_2" * identifier) = identifier) ;)) (expression_statement "(*(code *)PTR_xfree_00156bb4)(puVar4);" (call_expression "(*(code *)PTR_xfree_00156bb4)(puVar4)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" ( (pointer_expression "*(code *)PTR_xfree_00156bb4" * (cast_expression "(code *)PTR_xfree_00156bb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier ))) ;) (if_statement "if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }" if (parenthesized_expression "(pcVar6 == param_1)" ( (binary_expression "pcVar6 == param_1" identifier == identifier) )) (compound_statement "{\n              uVar3 = 0xffffffff;\n            }" { (expression_statement "uVar3 = 0xffffffff;" (assignment_expression "uVar3 = 0xffffffff" identifier = number_literal) ;) }) (else_clause "else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }" else (compound_statement "{\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }" { (expression_statement "(*(code *)PTR_xfree_00156bb4)(pcVar6);" (call_expression "(*(code *)PTR_xfree_00156bb4)(pcVar6)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" ( (pointer_expression "*(code *)PTR_xfree_00156bb4" * (cast_expression "(code *)PTR_xfree_00156bb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar6)" ( identifier ))) ;) (expression_statement "uVar3 = 0xffffffff;" (assignment_expression "uVar3 = 0xffffffff" identifier = number_literal) ;) }))) (goto_statement "goto LAB_0011f678;" goto statement_identifier ;) })) (if_statement "if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }" if (parenthesized_expression "(iVar22 + -1 <= iVar11)" ( (binary_expression "iVar22 + -1 <= iVar11" (binary_expression "iVar22 + -1" identifier + number_literal) <= identifier) )) (compound_statement "{\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }" { (expression_statement "iVar22 = iVar22 + 0x40;" (assignment_expression "iVar22 = iVar22 + 0x40" identifier = (binary_expression "iVar22 + 0x40" identifier + number_literal)) ;) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,iVar22)" ( identifier , identifier ))))) ;) })) (expression_statement "puVar4[iVar11] = pcVar6[local_5c];" (assignment_expression "puVar4[iVar11] = pcVar6[local_5c]" (subscript_expression "puVar4[iVar11]" identifier [ identifier ]) = (subscript_expression "pcVar6[local_5c]" identifier [ identifier ])) ;) (expression_statement "puVar4[iVar11 + 1] = 0;" (assignment_expression "puVar4[iVar11 + 1] = 0" (subscript_expression "puVar4[iVar11 + 1]" identifier [ (binary_expression "iVar11 + 1" identifier + number_literal) ]) = number_literal) ;) (expression_statement "iVar20 = iVar11 + 1;" (assignment_expression "iVar20 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) }) (else_clause "else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }" else (if_statement "if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }" if (parenthesized_expression "(*PTR_history_comment_char_00156f80 == cVar1)" ( (binary_expression "*PTR_history_comment_char_00156f80 == cVar1" (pointer_expression "*PTR_history_comment_char_00156f80" * identifier) == identifier) )) (compound_statement "{\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }\n        }" { (labeled_statement "LAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }" statement_identifier : (if_statement "if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }" if (parenthesized_expression "(((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0))))))" ( (binary_expression "((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))" (parenthesized_expression "((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0))" ( (binary_expression "(local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)" (parenthesized_expression "(local_c4 == 0)" ( (binary_expression "local_c4 == 0" identifier == number_literal) )) || (parenthesized_expression "(*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)" ( (binary_expression "*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0" (pointer_expression "*(int *)PTR_history_quotes_inhibit_expansion_00157524" * (cast_expression "(int *)PTR_history_quotes_inhibit_expansion_00157524" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) ))) )) && (parenthesized_expression "((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))" ( (parenthesized_expression "(local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0))))" ( (binary_expression "local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))" (binary_expression "local_5c == 0" identifier == number_literal) || (parenthesized_expression "((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))" ( (parenthesized_expression "(pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0))" ( (binary_expression "pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)" (binary_expression "pcVar6[local_5c + -1] != '\0'" (subscript_expression "pcVar6[local_5c + -1]" identifier [ (binary_expression "local_5c + -1" identifier + number_literal) ]) != (char_literal "'\0'" ' escape_sequence ')) && (parenthesized_expression "(iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)" ( (comma_expression "iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0" (assignment_expression "iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c)" identifier = (call_expression "(*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c)" (parenthesized_expression "(*(code *)PTR_strchr_0015844c)" ( (pointer_expression "*(code *)PTR_strchr_0015844c" * (cast_expression "(code *)PTR_strchr_0015844c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_history_word_delimiters_0015825c)" ( (pointer_expression "*(undefined4 *)PTR_history_word_delimiters_0015825c" * (cast_expression "(undefined4 *)PTR_history_word_delimiters_0015825c" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )))) , (binary_expression "iVar15 != 0" identifier != number_literal)) ))) )) ))) )) ))) )) (compound_statement "{\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }" { (expression_statement "uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);" (assignment_expression "uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((local_c8 - iVar20) + 1)" ( (binary_expression "(local_c8 - iVar20) + 1" (parenthesized_expression "(local_c8 - iVar20)" ( (binary_expression "local_c8 - iVar20" identifier - identifier) )) + number_literal) )))) ;) (expression_statement "(*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);" (call_expression "(*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" ( (pointer_expression "*(code *)PTR_strcpy_001584cc" * (cast_expression "(code *)PTR_strcpy_001584cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar12,pcVar6 + local_5c)" ( identifier , (binary_expression "pcVar6 + local_5c" identifier + identifier) ))) ;) (expression_statement "iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);" (assignment_expression "iVar15 = (*(code *)PTR_strlen_00158444)(uVar12)" identifier = (call_expression "(*(code *)PTR_strlen_00158444)(uVar12)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar12)" ( identifier )))) ;) (expression_statement "iVar20 = iVar11 + iVar15;" (assignment_expression "iVar20 = iVar11 + iVar15" identifier = (binary_expression "iVar11 + iVar15" identifier + identifier)) ;) (expression_statement "iVar11 = iVar22;" (assignment_expression "iVar11 = iVar22" identifier = identifier) ;) (if_statement "if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }" if (parenthesized_expression "(iVar22 <= iVar20)" ( (binary_expression "iVar22 <= iVar20" identifier <= identifier) )) (compound_statement "{\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }" { (do_statement "do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);" do (compound_statement "{\n                iVar11 = iVar11 + 0x80;\n              }" { (expression_statement "iVar11 = iVar11 + 0x80;" (assignment_expression "iVar11 = iVar11 + 0x80" identifier = (binary_expression "iVar11 + 0x80" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar11 <= iVar20)" ( (binary_expression "iVar11 <= iVar20" identifier <= identifier) )) ;) (expression_statement "iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);" (assignment_expression "iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U)" identifier = (binary_expression "iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U)" (binary_expression "iVar22 + 0x80" identifier + number_literal) + (parenthesized_expression "(iVar20 - iVar22 & 0xffffff80U)" ( (binary_expression "iVar20 - iVar22 & 0xffffff80U" (binary_expression "iVar20 - iVar22" identifier - identifier) & number_literal) )))) ;) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,iVar22)" ( identifier , identifier ))))) ;) })) (expression_statement "(*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);" (call_expression "(*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" ( (pointer_expression "*(code *)PTR_strcpy_001584cc" * (cast_expression "(code *)PTR_strcpy_001584cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4 + (iVar20 - iVar15),uVar12)" ( (binary_expression "puVar4 + (iVar20 - iVar15)" identifier + (parenthesized_expression "(iVar20 - iVar15)" ( (binary_expression "iVar20 - iVar15" identifier - identifier) ))) , identifier ))) ;) (expression_statement "(*(code *)PTR_xfree_00156bb4)(uVar12);" (call_expression "(*(code *)PTR_xfree_00156bb4)(uVar12)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" ( (pointer_expression "*(code *)PTR_xfree_00156bb4" * (cast_expression "(code *)PTR_xfree_00156bb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar12)" ( identifier ))) ;) (expression_statement "local_5c = local_c8;" (assignment_expression "local_5c = local_c8" identifier = identifier) ;) }) (else_clause "else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }" else (compound_statement "{\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }" { (if_statement "if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }" if (parenthesized_expression "(iVar22 + -1 <= iVar11)" ( (binary_expression "iVar22 + -1 <= iVar11" (binary_expression "iVar22 + -1" identifier + number_literal) <= identifier) )) (compound_statement "{\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }" { (expression_statement "iVar22 = iVar22 + 0x40;" (assignment_expression "iVar22 = iVar22 + 0x40" identifier = (binary_expression "iVar22 + 0x40" identifier + number_literal)) ;) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,iVar22)" ( identifier , identifier ))))) ;) })) (expression_statement "puVar4[iVar11] = pcVar6[local_5c];" (assignment_expression "puVar4[iVar11] = pcVar6[local_5c]" (subscript_expression "puVar4[iVar11]" identifier [ identifier ]) = (subscript_expression "pcVar6[local_5c]" identifier [ identifier ])) ;) (expression_statement "puVar4[iVar11 + 1] = 0;" (assignment_expression "puVar4[iVar11 + 1] = 0" (subscript_expression "puVar4[iVar11 + 1]" identifier [ (binary_expression "iVar11 + 1" identifier + number_literal) ]) = number_literal) ;) (expression_statement "iVar20 = iVar11 + 1;" (assignment_expression "iVar20 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) })))) }) (else_clause "else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }" else (if_statement "if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }" if (parenthesized_expression "(cVar1 == '\"')" ( (binary_expression "cVar1 == '\"'" identifier == (char_literal "'\"'" ' escape_sequence ')) )) (compound_statement "{\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }" { (expression_statement "local_c4 = 1 - local_c4;" (assignment_expression "local_c4 = 1 - local_c4" identifier = (binary_expression "1 - local_c4" number_literal - identifier)) ;) (if_statement "if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }" if (parenthesized_expression "(iVar22 + -1 <= iVar11)" ( (binary_expression "iVar22 + -1 <= iVar11" (binary_expression "iVar22 + -1" identifier + number_literal) <= identifier) )) (compound_statement "{\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }" { (expression_statement "iVar22 = iVar22 + 0x40;" (assignment_expression "iVar22 = iVar22 + 0x40" identifier = (binary_expression "iVar22 + 0x40" identifier + number_literal)) ;) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,iVar22)" ( identifier , identifier ))))) ;) })) (expression_statement "iVar20 = iVar11 + 1;" (assignment_expression "iVar20 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) (expression_statement "puVar4[iVar11] = 0x22;" (assignment_expression "puVar4[iVar11] = 0x22" (subscript_expression "puVar4[iVar11]" identifier [ identifier ]) = number_literal) ;) (expression_statement "puVar4[iVar20] = 0;" (assignment_expression "puVar4[iVar20] = 0" (subscript_expression "puVar4[iVar20]" identifier [ identifier ]) = number_literal) ;) }) (else_clause "else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }" else (if_statement "if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }" if (parenthesized_expression "(cVar1 < '#')" ( (binary_expression "cVar1 < '#'" identifier < (char_literal "'#'" ' character ')) )) (compound_statement "{\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }" { (if_statement "if (cVar1 == -3) goto LAB_0011e340;" if (parenthesized_expression "(cVar1 == -3)" ( (binary_expression "cVar1 == -3" identifier == number_literal) )) (goto_statement "goto LAB_0011e340;" goto statement_identifier ;)) (if_statement "if (cVar1 == -2) goto LAB_0011de7c;" if (parenthesized_expression "(cVar1 == -2)" ( (binary_expression "cVar1 == -2" identifier == number_literal) )) (goto_statement "goto LAB_0011de7c;" goto statement_identifier ;)) (labeled_statement "LAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }" statement_identifier : (if_statement "if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }" if (parenthesized_expression "(iVar22 + -1 <= iVar11)" ( (binary_expression "iVar22 + -1 <= iVar11" (binary_expression "iVar22 + -1" identifier + number_literal) <= identifier) )) (compound_statement "{\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }" { (expression_statement "iVar22 = iVar22 + 0x40;" (assignment_expression "iVar22 = iVar22 + 0x40" identifier = (binary_expression "iVar22 + 0x40" identifier + number_literal)) ;) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,iVar22)" ( identifier , identifier ))))) ;) }))) (expression_statement "puVar4[iVar11] = pcVar6[local_5c];" (assignment_expression "puVar4[iVar11] = pcVar6[local_5c]" (subscript_expression "puVar4[iVar11]" identifier [ identifier ]) = (subscript_expression "pcVar6[local_5c]" identifier [ identifier ])) ;) (expression_statement "puVar4[iVar11 + 1] = 0;" (assignment_expression "puVar4[iVar11 + 1] = 0" (subscript_expression "puVar4[iVar11 + 1]" identifier [ (binary_expression "iVar11 + 1" identifier + number_literal) ]) = number_literal) ;) (expression_statement "iVar20 = iVar11 + 1;" (assignment_expression "iVar20 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) }) (else_clause "else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }" else (if_statement "if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }" if (parenthesized_expression "(cVar1 == '\'')" ( (binary_expression "cVar1 == '\''" identifier == (char_literal "'\''" ' escape_sequence ')) )) (compound_statement "{\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }" { (if_statement "if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }" if (parenthesized_expression "(local_b0 == 0)" ( (binary_expression "local_b0 == 0" identifier == number_literal) )) (compound_statement "{\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }" { (if_statement "if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }" if (parenthesized_expression "(local_c4 == 0)" ( (binary_expression "local_c4 == 0" identifier == number_literal) )) (compound_statement "{\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }" { (if_statement "if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }" if (parenthesized_expression "(*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)" ( (binary_expression "*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0" (pointer_expression "*(int *)PTR_history_quotes_inhibit_expansion_00157524" * (cast_expression "(int *)PTR_history_quotes_inhibit_expansion_00157524" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }" { (if_statement "if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }" if (parenthesized_expression "(iVar22 + -1 <= iVar11)" ( (binary_expression "iVar22 + -1 <= iVar11" (binary_expression "iVar22 + -1" identifier + number_literal) <= identifier) )) (compound_statement "{\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }" { (expression_statement "iVar22 = iVar22 + 0x40;" (assignment_expression "iVar22 = iVar22 + 0x40" identifier = (binary_expression "iVar22 + 0x40" identifier + number_literal)) ;) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,iVar22)" ( identifier , identifier ))))) ;) })) (expression_statement "puVar4[iVar11] = pcVar6[local_5c];" (assignment_expression "puVar4[iVar11] = pcVar6[local_5c]" (subscript_expression "puVar4[iVar11]" identifier [ identifier ]) = (subscript_expression "pcVar6[local_5c]" identifier [ identifier ])) ;) (expression_statement "puVar4[iVar11 + 1] = 0;" (assignment_expression "puVar4[iVar11 + 1] = 0" (subscript_expression "puVar4[iVar11 + 1]" identifier [ (binary_expression "iVar11 + 1" identifier + number_literal) ]) = number_literal) ;) (expression_statement "local_b0 = 1;" (assignment_expression "local_b0 = 1" identifier = number_literal) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "iVar20 = iVar11 + 1;" (assignment_expression "iVar20 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) (expression_statement "local_c4 = uVar3;" (assignment_expression "local_c4 = uVar3" identifier = identifier) ;) }) (else_clause "else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }" else (compound_statement "{\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }" { (if_statement "if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }" if (parenthesized_expression "(local_5c < 1)" ( (binary_expression "local_5c < 1" identifier < number_literal) )) (compound_statement "{\n                  bVar16 = false;\n                }" { (expression_statement "bVar16 = false;" (assignment_expression "bVar16 = false" identifier = false) ;) }) (else_clause "else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }" else (compound_statement "{\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }" { (expression_statement "bVar16 = pcVar6[local_5c + -1] == '$';" (assignment_expression "bVar16 = pcVar6[local_5c + -1] == '$'" identifier = (binary_expression "pcVar6[local_5c + -1] == '$'" (subscript_expression "pcVar6[local_5c + -1]" identifier [ (binary_expression "local_5c + -1" identifier + number_literal) ]) == (char_literal "'$'" ' character '))) ;) }))) (expression_statement "local_5c = local_5c + 1;" (assignment_expression "local_5c = local_5c + 1" identifier = (binary_expression "local_5c + 1" identifier + number_literal)) ;) (expression_statement "FUN_0011c170(pcVar6,&local_5c,bVar16);" (call_expression "FUN_0011c170(pcVar6,&local_5c,bVar16)" identifier (argument_list "(pcVar6,&local_5c,bVar16)" ( identifier , (pointer_expression "&local_5c" & identifier) , identifier ))) ;) (expression_statement "iVar18 = local_5c - iVar20;" (assignment_expression "iVar18 = local_5c - iVar20" identifier = (binary_expression "local_5c - iVar20" identifier - identifier)) ;) (expression_statement "iVar21 = iVar18 + 2;" (assignment_expression "iVar21 = iVar18 + 2" identifier = (binary_expression "iVar18 + 2" identifier + number_literal)) ;) (expression_statement "iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);" (assignment_expression "iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21)" identifier = (call_expression "(*(code *)PTR_xmalloc_001565b8)(iVar21)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" ( (pointer_expression "*(code *)PTR_xmalloc_001565b8" * (cast_expression "(code *)PTR_xmalloc_001565b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar21)" ( identifier )))) ;) (expression_statement "(*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);" (call_expression "(*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21)" (parenthesized_expression "(*(code *)PTR_strncpy_001583e4)" ( (pointer_expression "*(code *)PTR_strncpy_001583e4" * (cast_expression "(code *)PTR_strncpy_001583e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar15,pcVar6 + iVar20,iVar21)" ( identifier , (binary_expression "pcVar6 + iVar20" identifier + identifier) , identifier ))) ;) (expression_statement "*(undefined1 *)(iVar15 + iVar18 + 1) = 0;" (assignment_expression "*(undefined1 *)(iVar15 + iVar18 + 1) = 0" (pointer_expression "*(undefined1 *)(iVar15 + iVar18 + 1)" * (cast_expression "(undefined1 *)(iVar15 + iVar18 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar15 + iVar18 + 1)" ( (binary_expression "iVar15 + iVar18 + 1" (binary_expression "iVar15 + iVar18" identifier + identifier) + number_literal) )))) = number_literal) ;) (expression_statement "iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);" (assignment_expression "iVar18 = (*(code *)PTR_strlen_00158444)(iVar15)" identifier = (call_expression "(*(code *)PTR_strlen_00158444)(iVar15)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" ( (pointer_expression "*(code *)PTR_strlen_00158444" * (cast_expression "(code *)PTR_strlen_00158444" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar15)" ( identifier )))) ;) (expression_statement "iVar20 = iVar11 + iVar18;" (assignment_expression "iVar20 = iVar11 + iVar18" identifier = (binary_expression "iVar11 + iVar18" identifier + identifier)) ;) (expression_statement "iVar11 = iVar22;" (assignment_expression "iVar11 = iVar22" identifier = identifier) ;) (if_statement "if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }" if (parenthesized_expression "(iVar22 <= iVar20)" ( (binary_expression "iVar22 <= iVar20" identifier <= identifier) )) (compound_statement "{\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }" { (do_statement "do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);" do (compound_statement "{\n                    iVar11 = iVar11 + 0x80;\n                  }" { (expression_statement "iVar11 = iVar11 + 0x80;" (assignment_expression "iVar11 = iVar11 + 0x80" identifier = (binary_expression "iVar11 + 0x80" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar11 <= iVar20)" ( (binary_expression "iVar11 <= iVar20" identifier <= identifier) )) ;) (expression_statement "iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;" (assignment_expression "iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80" identifier = (binary_expression "(iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80" (binary_expression "(iVar20 - iVar22 & 0xffffff80U) + iVar22" (parenthesized_expression "(iVar20 - iVar22 & 0xffffff80U)" ( (binary_expression "iVar20 - iVar22 & 0xffffff80U" (binary_expression "iVar20 - iVar22" identifier - identifier) & number_literal) )) + identifier) + number_literal)) ;) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,iVar22)" ( identifier , identifier ))))) ;) })) (expression_statement "(*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);" (call_expression "(*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" ( (pointer_expression "*(code *)PTR_strcpy_001584cc" * (cast_expression "(code *)PTR_strcpy_001584cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4 + (iVar20 - iVar18),iVar15)" ( (binary_expression "puVar4 + (iVar20 - iVar18)" identifier + (parenthesized_expression "(iVar20 - iVar18)" ( (binary_expression "iVar20 - iVar18" identifier - identifier) ))) , identifier ))) ;) (expression_statement "(*(code *)PTR_xfree_00156bb4)(iVar15);" (call_expression "(*(code *)PTR_xfree_00156bb4)(iVar15)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" ( (pointer_expression "*(code *)PTR_xfree_00156bb4" * (cast_expression "(code *)PTR_xfree_00156bb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar15)" ( identifier ))) ;) (expression_statement "local_b0 = local_c4;" (assignment_expression "local_b0 = local_c4" identifier = identifier) ;) (expression_statement "uVar3 = local_c4;" (assignment_expression "uVar3 = local_c4" identifier = identifier) ;) }))) }) (else_clause "else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }" else (compound_statement "{\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }" { (if_statement "if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }" if (parenthesized_expression "(iVar22 + -1 <= iVar11)" ( (binary_expression "iVar22 + -1 <= iVar11" (binary_expression "iVar22 + -1" identifier + number_literal) <= identifier) )) (compound_statement "{\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }" { (expression_statement "iVar22 = iVar22 + 0x40;" (assignment_expression "iVar22 = iVar22 + 0x40" identifier = (binary_expression "iVar22 + 0x40" identifier + number_literal)) ;) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,iVar22)" ( identifier , identifier ))))) ;) })) (expression_statement "puVar4[iVar11] = pcVar6[local_5c];" (assignment_expression "puVar4[iVar11] = pcVar6[local_5c]" (subscript_expression "puVar4[iVar11]" identifier [ identifier ]) = (subscript_expression "pcVar6[local_5c]" identifier [ identifier ])) ;) (expression_statement "puVar4[iVar11 + 1] = 0;" (assignment_expression "puVar4[iVar11 + 1] = 0" (subscript_expression "puVar4[iVar11 + 1]" identifier [ (binary_expression "iVar11 + 1" identifier + number_literal) ]) = number_literal) ;) (expression_statement "uVar3 = local_b0;" (assignment_expression "uVar3 = local_b0" identifier = identifier) ;) (expression_statement "iVar20 = iVar11 + 1;" (assignment_expression "iVar20 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) }))) }) (else_clause "else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }" else (compound_statement "{\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }" { (if_statement "if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }" if (parenthesized_expression "(iVar22 + -1 <= iVar11)" ( (binary_expression "iVar22 + -1 <= iVar11" (binary_expression "iVar22 + -1" identifier + number_literal) <= identifier) )) (compound_statement "{\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }" { (expression_statement "iVar22 = iVar22 + 0x40;" (assignment_expression "iVar22 = iVar22 + 0x40" identifier = (binary_expression "iVar22 + 0x40" identifier + number_literal)) ;) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,iVar22)" ( identifier , identifier ))))) ;) })) (expression_statement "puVar4[iVar11] = 0x27;" (assignment_expression "puVar4[iVar11] = 0x27" (subscript_expression "puVar4[iVar11]" identifier [ identifier ]) = number_literal) ;) (expression_statement "puVar4[iVar11 + 1] = 0;" (assignment_expression "puVar4[iVar11 + 1] = 0" (subscript_expression "puVar4[iVar11 + 1]" identifier [ (binary_expression "iVar11 + 1" identifier + number_literal) ]) = number_literal) ;) (expression_statement "iVar20 = iVar11 + 1;" (assignment_expression "iVar20 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) (expression_statement "local_b0 = uVar3;" (assignment_expression "local_b0 = uVar3" identifier = identifier) ;) }))) }) (else_clause "else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }" else (compound_statement "{\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }" { (if_statement "if (cVar1 != '\\') goto LAB_0011df70;" if (parenthesized_expression "(cVar1 != '\\')" ( (binary_expression "cVar1 != '\\'" identifier != (char_literal "'\\'" ' escape_sequence ')) )) (goto_statement "goto LAB_0011df70;" goto statement_identifier ;)) (if_statement "if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }" if (parenthesized_expression "(iVar22 + -1 <= iVar11)" ( (binary_expression "iVar22 + -1 <= iVar11" (binary_expression "iVar22 + -1" identifier + number_literal) <= identifier) )) (compound_statement "{\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }" { (expression_statement "iVar22 = iVar22 + 0x40;" (assignment_expression "iVar22 = iVar22 + 0x40" identifier = (binary_expression "iVar22 + 0x40" identifier + number_literal)) ;) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,iVar22)" ( identifier , identifier ))))) ;) })) (expression_statement "puVar4[iVar11] = 0x5c;" (assignment_expression "puVar4[iVar11] = 0x5c" (subscript_expression "puVar4[iVar11]" identifier [ identifier ]) = number_literal) ;) (expression_statement "puVar4[iVar11 + 1] = 0;" (assignment_expression "puVar4[iVar11 + 1] = 0" (subscript_expression "puVar4[iVar11 + 1]" identifier [ (binary_expression "iVar11 + 1" identifier + number_literal) ]) = number_literal) ;) (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" identifier = number_literal) ;) (expression_statement "iVar20 = iVar11 + 1;" (assignment_expression "iVar20 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) }))))))))))) }) (else_clause "else {\n        if (iVar22 + -1 <= iVar11) {\n          iVar22 = iVar22 + 0x40;\n          puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n        }\n        puVar4[iVar11] = cVar1;\n        puVar4[iVar11 + 1] = 0;\n        uVar3 = 0;\n        iVar20 = iVar11 + 1;\n      }" else (compound_statement "{\n        if (iVar22 + -1 <= iVar11) {\n          iVar22 = iVar22 + 0x40;\n          puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n        }\n        puVar4[iVar11] = cVar1;\n        puVar4[iVar11 + 1] = 0;\n        uVar3 = 0;\n        iVar20 = iVar11 + 1;\n      }" { (if_statement "if (iVar22 + -1 <= iVar11) {\n          iVar22 = iVar22 + 0x40;\n          puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n        }" if (parenthesized_expression "(iVar22 + -1 <= iVar11)" ( (binary_expression "iVar22 + -1 <= iVar11" (binary_expression "iVar22 + -1" identifier + number_literal) <= identifier) )) (compound_statement "{\n          iVar22 = iVar22 + 0x40;\n          puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n        }" { (expression_statement "iVar22 = iVar22 + 0x40;" (assignment_expression "iVar22 = iVar22 + 0x40" identifier = (binary_expression "iVar22 + 0x40" identifier + number_literal)) ;) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" ( (pointer_expression "*(code *)PTR_xrealloc_0015673c" * (cast_expression "(code *)PTR_xrealloc_0015673c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,iVar22)" ( identifier , identifier ))))) ;) })) (expression_statement "puVar4[iVar11] = cVar1;" (assignment_expression "puVar4[iVar11] = cVar1" (subscript_expression "puVar4[iVar11]" identifier [ identifier ]) = identifier) ;) (expression_statement "puVar4[iVar11 + 1] = 0;" (assignment_expression "puVar4[iVar11 + 1] = 0" (subscript_expression "puVar4[iVar11 + 1]" identifier [ (binary_expression "iVar11 + 1" identifier + number_literal) ]) = number_literal) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "iVar20 = iVar11 + 1;" (assignment_expression "iVar20 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) }))) (labeled_statement "LAB_0011dc80:\n      local_5c = local_5c + 1;" statement_identifier : (expression_statement "local_5c = local_5c + 1;" (assignment_expression "local_5c = local_5c + 1" identifier = (binary_expression "local_5c + 1" identifier + number_literal)) ;)) (expression_statement "iVar11 = iVar20;" (assignment_expression "iVar11 = iVar20" identifier = identifier) ;) }) while (parenthesized_expression "(local_5c < local_c8)" ( (binary_expression "local_5c < local_c8" identifier < identifier) )) ;) (expression_statement "*param_2 = puVar4;" (assignment_expression "*param_2 = puVar4" (pointer_expression "*param_2" * identifier) = identifier) ;) (if_statement "if (pcVar6 != param_1) {\nLAB_0011f650:\n      (*(code *)PTR_xfree_00156bb4)(pcVar6);\n    }" if (parenthesized_expression "(pcVar6 != param_1)" ( (binary_expression "pcVar6 != param_1" identifier != identifier) )) (compound_statement "{\nLAB_0011f650:\n      (*(code *)PTR_xfree_00156bb4)(pcVar6);\n    }" { (labeled_statement "LAB_0011f650:\n      (*(code *)PTR_xfree_00156bb4)(pcVar6);" statement_identifier : (expression_statement "(*(code *)PTR_xfree_00156bb4)(pcVar6);" (call_expression "(*(code *)PTR_xfree_00156bb4)(pcVar6)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" ( (pointer_expression "*(code *)PTR_xfree_00156bb4" * (cast_expression "(code *)PTR_xfree_00156bb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar6)" ( identifier ))) ;)) })) }) (else_clause "else {\n    *param_2 = puVar4;\n    if (pcVar6 != param_1) {\n      local_a8 = 0;\n      goto LAB_0011f650;\n    }\n    local_a8 = 0;\n  }" else (compound_statement "{\n    *param_2 = puVar4;\n    if (pcVar6 != param_1) {\n      local_a8 = 0;\n      goto LAB_0011f650;\n    }\n    local_a8 = 0;\n  }" { (expression_statement "*param_2 = puVar4;" (assignment_expression "*param_2 = puVar4" (pointer_expression "*param_2" * identifier) = identifier) ;) (if_statement "if (pcVar6 != param_1) {\n      local_a8 = 0;\n      goto LAB_0011f650;\n    }" if (parenthesized_expression "(pcVar6 != param_1)" ( (binary_expression "pcVar6 != param_1" identifier != identifier) )) (compound_statement "{\n      local_a8 = 0;\n      goto LAB_0011f650;\n    }" { (expression_statement "local_a8 = 0;" (assignment_expression "local_a8 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0011f650;" goto statement_identifier ;) })) (expression_statement "local_a8 = 0;" (assignment_expression "local_a8 = 0" identifier = number_literal) ;) }))) (expression_statement "uVar3 = (uint)(local_a8 != 0);" (assignment_expression "uVar3 = (uint)(local_a8 != 0)" identifier = (call_expression "(uint)(local_a8 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_a8 != 0)" ( (binary_expression "local_a8 != 0" identifier != number_literal) )))) ;) (labeled_statement "LAB_0011f678:\n  if (local_3c[4] == *(int *)PTR___stack_chk_guard_0015858c) {\n    return uVar3;\n  }" statement_identifier : (if_statement "if (local_3c[4] == *(int *)PTR___stack_chk_guard_0015858c) {\n    return uVar3;\n  }" if (parenthesized_expression "(local_3c[4] == *(int *)PTR___stack_chk_guard_0015858c)" ( (binary_expression "local_3c[4] == *(int *)PTR___stack_chk_guard_0015858c" (subscript_expression "local_3c[4]" identifier [ number_literal ]) == (pointer_expression "*(int *)PTR___stack_chk_guard_0015858c" * (cast_expression "(int *)PTR___stack_chk_guard_0015858c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return uVar3;\n  }" { (return_statement "return uVar3;" return identifier ;) }))) (expression_statement "iVar22 = local_3c[4];" (assignment_expression "iVar22 = local_3c[4]" identifier = (subscript_expression "local_3c[4]" identifier [ number_literal ])) ;) (expression_statement "puVar23 = PTR___stack_chk_fail_0015853c;" (assignment_expression "puVar23 = PTR___stack_chk_fail_0015853c" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0015853c)();" (call_expression "(*(code *)PTR___stack_chk_fail_0015853c)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0015853c)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0015853c" * (cast_expression "(code *)PTR___stack_chk_fail_0015853c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (iVar22 == 0) {\n    iVar22 = (**(code **)(puVar23 + 0x384f4))(*(int *)(puVar23 + 0x36ccc) + 0x66e4);\n    if (iVar22 == 0) {\n      uVar3 = 0;\n    }\n    else {\n      iVar20 = (**(code **)(puVar23 + 0x38b94))(iVar22);\n      uVar3 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 10);\n      (**(code **)(puVar23 + 0x38c1c))(uVar3,iVar22);\n      *(undefined1 *)(uVar3 + iVar20) = 0x2f;\n      puVar13 = (undefined4 *)(uVar3 + iVar20 + 1);\n      iVar22 = *(int *)(puVar23 + 0x36d00);\n      uVar12 = *(undefined4 *)(iVar22 + 0x5d4);\n      *puVar13 = *(undefined4 *)(iVar22 + 0x5d0);\n      puVar13[1] = uVar12;\n      *(undefined1 *)(puVar13 + 2) = *(undefined1 *)(iVar22 + 0x5d8);\n    }\n  }\n  else {\n    iVar20 = (**(code **)(puVar23 + 0x38b94))();\n    uVar12 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 1);\n    uVar3 = (**(code **)(puVar23 + 0x38c1c))(uVar12,iVar22);\n  }" if (parenthesized_expression "(iVar22 == 0)" ( (binary_expression "iVar22 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar22 = (**(code **)(puVar23 + 0x384f4))(*(int *)(puVar23 + 0x36ccc) + 0x66e4);\n    if (iVar22 == 0) {\n      uVar3 = 0;\n    }\n    else {\n      iVar20 = (**(code **)(puVar23 + 0x38b94))(iVar22);\n      uVar3 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 10);\n      (**(code **)(puVar23 + 0x38c1c))(uVar3,iVar22);\n      *(undefined1 *)(uVar3 + iVar20) = 0x2f;\n      puVar13 = (undefined4 *)(uVar3 + iVar20 + 1);\n      iVar22 = *(int *)(puVar23 + 0x36d00);\n      uVar12 = *(undefined4 *)(iVar22 + 0x5d4);\n      *puVar13 = *(undefined4 *)(iVar22 + 0x5d0);\n      puVar13[1] = uVar12;\n      *(undefined1 *)(puVar13 + 2) = *(undefined1 *)(iVar22 + 0x5d8);\n    }\n  }" { (expression_statement "iVar22 = (**(code **)(puVar23 + 0x384f4))(*(int *)(puVar23 + 0x36ccc) + 0x66e4);" (assignment_expression "iVar22 = (**(code **)(puVar23 + 0x384f4))(*(int *)(puVar23 + 0x36ccc) + 0x66e4)" identifier = (call_expression "(**(code **)(puVar23 + 0x384f4))(*(int *)(puVar23 + 0x36ccc) + 0x66e4)" (parenthesized_expression "(**(code **)(puVar23 + 0x384f4))" ( (pointer_expression "**(code **)(puVar23 + 0x384f4)" * (pointer_expression "*(code **)(puVar23 + 0x384f4)" * (cast_expression "(code **)(puVar23 + 0x384f4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0x384f4)" ( (binary_expression "puVar23 + 0x384f4" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar23 + 0x36ccc) + 0x66e4)" ( (binary_expression "*(int *)(puVar23 + 0x36ccc) + 0x66e4" (pointer_expression "*(int *)(puVar23 + 0x36ccc)" * (cast_expression "(int *)(puVar23 + 0x36ccc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + 0x36ccc)" ( (binary_expression "puVar23 + 0x36ccc" identifier + number_literal) )))) + number_literal) )))) ;) (if_statement "if (iVar22 == 0) {\n      uVar3 = 0;\n    }\n    else {\n      iVar20 = (**(code **)(puVar23 + 0x38b94))(iVar22);\n      uVar3 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 10);\n      (**(code **)(puVar23 + 0x38c1c))(uVar3,iVar22);\n      *(undefined1 *)(uVar3 + iVar20) = 0x2f;\n      puVar13 = (undefined4 *)(uVar3 + iVar20 + 1);\n      iVar22 = *(int *)(puVar23 + 0x36d00);\n      uVar12 = *(undefined4 *)(iVar22 + 0x5d4);\n      *puVar13 = *(undefined4 *)(iVar22 + 0x5d0);\n      puVar13[1] = uVar12;\n      *(undefined1 *)(puVar13 + 2) = *(undefined1 *)(iVar22 + 0x5d8);\n    }" if (parenthesized_expression "(iVar22 == 0)" ( (binary_expression "iVar22 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar3 = 0;\n    }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      iVar20 = (**(code **)(puVar23 + 0x38b94))(iVar22);\n      uVar3 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 10);\n      (**(code **)(puVar23 + 0x38c1c))(uVar3,iVar22);\n      *(undefined1 *)(uVar3 + iVar20) = 0x2f;\n      puVar13 = (undefined4 *)(uVar3 + iVar20 + 1);\n      iVar22 = *(int *)(puVar23 + 0x36d00);\n      uVar12 = *(undefined4 *)(iVar22 + 0x5d4);\n      *puVar13 = *(undefined4 *)(iVar22 + 0x5d0);\n      puVar13[1] = uVar12;\n      *(undefined1 *)(puVar13 + 2) = *(undefined1 *)(iVar22 + 0x5d8);\n    }" else (compound_statement "{\n      iVar20 = (**(code **)(puVar23 + 0x38b94))(iVar22);\n      uVar3 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 10);\n      (**(code **)(puVar23 + 0x38c1c))(uVar3,iVar22);\n      *(undefined1 *)(uVar3 + iVar20) = 0x2f;\n      puVar13 = (undefined4 *)(uVar3 + iVar20 + 1);\n      iVar22 = *(int *)(puVar23 + 0x36d00);\n      uVar12 = *(undefined4 *)(iVar22 + 0x5d4);\n      *puVar13 = *(undefined4 *)(iVar22 + 0x5d0);\n      puVar13[1] = uVar12;\n      *(undefined1 *)(puVar13 + 2) = *(undefined1 *)(iVar22 + 0x5d8);\n    }" { (expression_statement "iVar20 = (**(code **)(puVar23 + 0x38b94))(iVar22);" (assignment_expression "iVar20 = (**(code **)(puVar23 + 0x38b94))(iVar22)" identifier = (call_expression "(**(code **)(puVar23 + 0x38b94))(iVar22)" (parenthesized_expression "(**(code **)(puVar23 + 0x38b94))" ( (pointer_expression "**(code **)(puVar23 + 0x38b94)" * (pointer_expression "*(code **)(puVar23 + 0x38b94)" * (cast_expression "(code **)(puVar23 + 0x38b94)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0x38b94)" ( (binary_expression "puVar23 + 0x38b94" identifier + number_literal) ))))) )) (argument_list "(iVar22)" ( identifier )))) ;) (expression_statement "uVar3 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 10);" (assignment_expression "uVar3 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 10)" identifier = (call_expression "(**(code **)(puVar23 + 0x36d08))(iVar20 + 10)" (parenthesized_expression "(**(code **)(puVar23 + 0x36d08))" ( (pointer_expression "**(code **)(puVar23 + 0x36d08)" * (pointer_expression "*(code **)(puVar23 + 0x36d08)" * (cast_expression "(code **)(puVar23 + 0x36d08)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0x36d08)" ( (binary_expression "puVar23 + 0x36d08" identifier + number_literal) ))))) )) (argument_list "(iVar20 + 10)" ( (binary_expression "iVar20 + 10" identifier + number_literal) )))) ;) (expression_statement "(**(code **)(puVar23 + 0x38c1c))(uVar3,iVar22);" (call_expression "(**(code **)(puVar23 + 0x38c1c))(uVar3,iVar22)" (parenthesized_expression "(**(code **)(puVar23 + 0x38c1c))" ( (pointer_expression "**(code **)(puVar23 + 0x38c1c)" * (pointer_expression "*(code **)(puVar23 + 0x38c1c)" * (cast_expression "(code **)(puVar23 + 0x38c1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0x38c1c)" ( (binary_expression "puVar23 + 0x38c1c" identifier + number_literal) ))))) )) (argument_list "(uVar3,iVar22)" ( identifier , identifier ))) ;) (expression_statement "*(undefined1 *)(uVar3 + iVar20) = 0x2f;" (assignment_expression "*(undefined1 *)(uVar3 + iVar20) = 0x2f" (pointer_expression "*(undefined1 *)(uVar3 + iVar20)" * (cast_expression "(undefined1 *)(uVar3 + iVar20)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar3 + iVar20)" ( (binary_expression "uVar3 + iVar20" identifier + identifier) )))) = number_literal) ;) (expression_statement "puVar13 = (undefined4 *)(uVar3 + iVar20 + 1);" (assignment_expression "puVar13 = (undefined4 *)(uVar3 + iVar20 + 1)" identifier = (cast_expression "(undefined4 *)(uVar3 + iVar20 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar3 + iVar20 + 1)" ( (binary_expression "uVar3 + iVar20 + 1" (binary_expression "uVar3 + iVar20" identifier + identifier) + number_literal) )))) ;) (expression_statement "iVar22 = *(int *)(puVar23 + 0x36d00);" (assignment_expression "iVar22 = *(int *)(puVar23 + 0x36d00)" identifier = (pointer_expression "*(int *)(puVar23 + 0x36d00)" * (cast_expression "(int *)(puVar23 + 0x36d00)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + 0x36d00)" ( (binary_expression "puVar23 + 0x36d00" identifier + number_literal) ))))) ;) (expression_statement "uVar12 = *(undefined4 *)(iVar22 + 0x5d4);" (assignment_expression "uVar12 = *(undefined4 *)(iVar22 + 0x5d4)" identifier = (pointer_expression "*(undefined4 *)(iVar22 + 0x5d4)" * (cast_expression "(undefined4 *)(iVar22 + 0x5d4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar22 + 0x5d4)" ( (binary_expression "iVar22 + 0x5d4" identifier + number_literal) ))))) ;) (expression_statement "*puVar13 = *(undefined4 *)(iVar22 + 0x5d0);" (assignment_expression "*puVar13 = *(undefined4 *)(iVar22 + 0x5d0)" (pointer_expression "*puVar13" * identifier) = (pointer_expression "*(undefined4 *)(iVar22 + 0x5d0)" * (cast_expression "(undefined4 *)(iVar22 + 0x5d0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar22 + 0x5d0)" ( (binary_expression "iVar22 + 0x5d0" identifier + number_literal) ))))) ;) (expression_statement "puVar13[1] = uVar12;" (assignment_expression "puVar13[1] = uVar12" (subscript_expression "puVar13[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)(puVar13 + 2) = *(undefined1 *)(iVar22 + 0x5d8);" (assignment_expression "*(undefined1 *)(puVar13 + 2) = *(undefined1 *)(iVar22 + 0x5d8)" (pointer_expression "*(undefined1 *)(puVar13 + 2)" * (cast_expression "(undefined1 *)(puVar13 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + 2)" ( (binary_expression "puVar13 + 2" identifier + number_literal) )))) = (pointer_expression "*(undefined1 *)(iVar22 + 0x5d8)" * (cast_expression "(undefined1 *)(iVar22 + 0x5d8)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar22 + 0x5d8)" ( (binary_expression "iVar22 + 0x5d8" identifier + number_literal) ))))) ;) }))) }) (else_clause "else {\n    iVar20 = (**(code **)(puVar23 + 0x38b94))();\n    uVar12 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 1);\n    uVar3 = (**(code **)(puVar23 + 0x38c1c))(uVar12,iVar22);\n  }" else (compound_statement "{\n    iVar20 = (**(code **)(puVar23 + 0x38b94))();\n    uVar12 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 1);\n    uVar3 = (**(code **)(puVar23 + 0x38c1c))(uVar12,iVar22);\n  }" { (expression_statement "iVar20 = (**(code **)(puVar23 + 0x38b94))();" (assignment_expression "iVar20 = (**(code **)(puVar23 + 0x38b94))()" identifier = (call_expression "(**(code **)(puVar23 + 0x38b94))()" (parenthesized_expression "(**(code **)(puVar23 + 0x38b94))" ( (pointer_expression "**(code **)(puVar23 + 0x38b94)" * (pointer_expression "*(code **)(puVar23 + 0x38b94)" * (cast_expression "(code **)(puVar23 + 0x38b94)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0x38b94)" ( (binary_expression "puVar23 + 0x38b94" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "uVar12 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 1);" (assignment_expression "uVar12 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 1)" identifier = (call_expression "(**(code **)(puVar23 + 0x36d08))(iVar20 + 1)" (parenthesized_expression "(**(code **)(puVar23 + 0x36d08))" ( (pointer_expression "**(code **)(puVar23 + 0x36d08)" * (pointer_expression "*(code **)(puVar23 + 0x36d08)" * (cast_expression "(code **)(puVar23 + 0x36d08)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0x36d08)" ( (binary_expression "puVar23 + 0x36d08" identifier + number_literal) ))))) )) (argument_list "(iVar20 + 1)" ( (binary_expression "iVar20 + 1" identifier + number_literal) )))) ;) (expression_statement "uVar3 = (**(code **)(puVar23 + 0x38c1c))(uVar12,iVar22);" (assignment_expression "uVar3 = (**(code **)(puVar23 + 0x38c1c))(uVar12,iVar22)" identifier = (call_expression "(**(code **)(puVar23 + 0x38c1c))(uVar12,iVar22)" (parenthesized_expression "(**(code **)(puVar23 + 0x38c1c))" ( (pointer_expression "**(code **)(puVar23 + 0x38c1c)" * (pointer_expression "*(code **)(puVar23 + 0x38c1c)" * (cast_expression "(code **)(puVar23 + 0x38c1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0x38c1c)" ( (binary_expression "puVar23 + 0x38c1c" identifier + number_literal) ))))) )) (argument_list "(uVar12,iVar22)" ( identifier , identifier )))) ;) }))) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (pointer_expression * IDENT)) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) == LIT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) == LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) != LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ IDENT ]) == (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ IDENT ]) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (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 *)) ) IDENT)) != LIT) ))) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression (parenthesized_expression ( (binary_expression IDENT + IDENT) )) [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)) == LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ IDENT ]))) , (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)) != IDENT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ IDENT ]))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression LIT - IDENT)) ;)) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) }))) })) })))) (goto_statement goto statement_identifier ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) != (char_literal ' escape_sequence ')) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )))) , (binary_expression IDENT != LIT)) ))) )) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ IDENT ]))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) == LIT) )) (goto_statement goto statement_identifier ;))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) == (char_literal ' character '))) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) || (parenthesized_expression ( (binary_expression IDENT == IDENT) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) })))) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (goto_statement goto statement_identifier ;)) }))))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , IDENT )))) , (binary_expression IDENT == LIT)) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) || (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + IDENT) , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + LIT)) ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) }) while (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ IDENT ]) != (char_literal ' escape_sequence ')) )) ;) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' character ')) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' character ')) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (goto_statement goto statement_identifier ;) (labeled_statement statement_identifier : (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ IDENT ]) != (char_literal ' escape_sequence ')) )) ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ IDENT ]) != (pointer_expression * IDENT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) == LIT) )))) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ IDENT ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = (subscript_expression IDENT [ IDENT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = (subscript_expression IDENT [ IDENT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))))) ;) })) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ IDENT ]) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))))) ;) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) }))) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ IDENT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < IDENT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ IDENT ])) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) != IDENT) )) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + LIT) + (parenthesized_expression ( (binary_expression (binary_expression IDENT - IDENT) & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT - IDENT) ))) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == IDENT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]))) ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , IDENT )))) , (binary_expression IDENT == LIT)) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) || (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (argument_list ( IDENT , IDENT )))) , (binary_expression IDENT == LIT)) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = LIT) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))))) ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (binary_expression IDENT + LIT) , LIT ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }))) }))) (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 IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (subscript_expression IDENT [ LIT ]) , LIT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (subscript_expression IDENT [ LIT ]) ]) != (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ IDENT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))))) ;) }))) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + LIT)) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (subscript_expression IDENT [ LIT ]) ]) != (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + LIT) + (parenthesized_expression ( (binary_expression (binary_expression IDENT - IDENT) & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT - IDENT) ))) , IDENT ))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) ]))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) ]))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) })))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) & LIT) )) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) & LIT) )) * LIT)) + LIT) ))))) )))) )) (argument_list ( )))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) , (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) , LIT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (goto_statement goto statement_identifier ;) }))) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , LIT , IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) })) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , LIT , IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (binary_expression IDENT + LIT)) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT )))) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ (subscript_expression IDENT [ LIT ]) ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) & LIT) )) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ (subscript_expression IDENT [ LIT ]) ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT < IDENT)) ;) }) while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) & LIT) )) < LIT) )) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) & LIT) ))) )) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (subscript_expression IDENT [ LIT ]) ]) != (char_literal ' character ')) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ IDENT ]))) ;) }) while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) & LIT) )) < LIT) )) ;) }))) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ IDENT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT < IDENT)) ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( IDENT )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) && (parenthesized_expression ( (binary_expression LIT < IDENT) ))) )) (goto_statement goto statement_identifier ;))) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (subscript_expression IDENT [ LIT ]) , LIT )))) ;)) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;)) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = (subscript_expression IDENT [ IDENT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == IDENT) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) == LIT) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) != (char_literal ' escape_sequence ')) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )))) , (binary_expression IDENT != LIT)) ))) )) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) + LIT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + LIT) + (parenthesized_expression ( (binary_expression (binary_expression IDENT - IDENT) & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT - IDENT) ))) , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = (subscript_expression IDENT [ IDENT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })))) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression LIT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < (char_literal ' character ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))))) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = (subscript_expression IDENT [ IDENT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = (subscript_expression IDENT [ IDENT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) == (char_literal ' character '))) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + IDENT) , IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT - IDENT) & LIT) )) + IDENT) + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT - IDENT) ))) , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = (subscript_expression IDENT [ IDENT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))))))))))) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;)) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != LIT) )))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return IDENT ;) }))) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , IDENT )))) ;) }))) (return_statement return IDENT ;) })))
(function_definition "uint history_expand(char *param_1,undefined4 *param_2)\n\n{\n  char cVar1;\n  undefined *puVar2;\n  uint uVar3;\n  undefined1 *puVar4;\n  code *pcVar5;\n  char *pcVar6;\n  char cVar14;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  undefined4 uVar9;\n  uint uVar10;\n  int iVar11;\n  undefined4 uVar12;\n  undefined4 *puVar13;\n  int iVar15;\n  bool bVar16;\n  int iVar17;\n  int iVar18;\n  int *piVar19;\n  int iVar20;\n  int iVar21;\n  int iVar22;\n  undefined *puVar23;\n  int local_c8;\n  uint local_c4;\n  char *local_c0;\n  uint local_b0;\n  int local_a8;\n  int local_5c;\n  int local_58 [6];\n  undefined1 local_40;\n  undefined1 local_3f;\n  undefined1 local_3e;\n  int local_3c [5];\n  \n  local_3c[4] = *(int *)PTR___stack_chk_guard_0015858c;\n  uVar3 = 0;\n  if (param_2 == (undefined4 *)0x0) goto LAB_0011f678;\n  if (*PTR_history_expansion_char_00156fcc == '\0') {\n    iVar22 = (*(code *)PTR_strlen_00158444)();\n    uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);\n    uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);\n    *param_2 = uVar12;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }\n  puVar4 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(0x100);\n  *puVar4 = 0;\n  local_c8 = (*(code *)PTR_strlen_00158444)(param_1);\n  if (*param_1 != *PTR_history_subst_char_00156fd0) {\n    local_58[2] = 0;\n    local_58[3] = 0;\n    uVar3 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);\n    local_5c = 0;\n    pcVar6 = param_1;\n    if ((*(int *)PTR_history_quoting_state_001569a0 == 0x27) &&\n       (*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0)) {\n      FUN_0011c170(param_1,&local_5c,0);\n      if (param_1[local_5c] == '\0') goto LAB_0011d994;\n      local_5c = local_5c + 1;\n    }\n    puVar2 = PTR_history_quotes_inhibit_expansion_00157524;\n    puVar23 = PTR_history_comment_char_00156f80;\n    if (param_1[local_5c] != '\0') {\n      pcVar5 = (code *)(PTR_LAB_0015657c + -0x3e90);\n      do {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((uVar10 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {\nLAB_0011f800:\n          iVar22 = local_5c;\n          iVar20 = (int)(param_1 + local_5c)[1];\n          if (((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11))\n          {\n            iVar11 = (int)param_1[local_5c];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }\n          if (((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);\n            if (iVar22 == 0) break;\n          }\n        }\n        else {\n          iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2);\n          if (iVar22 < 2) goto LAB_0011f800;\n          local_5c = local_5c + iVar22 + -1;\n        }\nLAB_0011f7c0:\n        local_5c = local_5c + 1;\n      } while (param_1[local_5c] != '\0');\n    }\n    goto LAB_0011d994;\n  }\n  pcVar6 = (char *)(*(code *)PTR_xmalloc_001565b8)(local_c8 + 5);\n  cVar1 = *PTR_history_expansion_char_00156fcc;\n  pcVar6[1] = cVar1;\n  *pcVar6 = cVar1;\n  pcVar6[2] = ':';\n  pcVar6[3] = 's';\n  (*(code *)PTR_strcpy_001584cc)(pcVar6 + 4,param_1);\n  local_c8 = local_c8 + 4;\n  goto LAB_0011d9ac;\nLAB_0011da2c:\n  do {\n    local_5c = iVar22 + 1;\n    iVar22 = local_5c;\n  } while (param_1[local_5c] != '\0');\nLAB_0011d994:\n  if (param_1[local_5c] != *PTR_history_expansion_char_00156fcc) {\n    (*(code *)PTR_xfree_00156bb4)(puVar4);\n    iVar22 = (*(code *)PTR_strlen_00158444)(param_1);\n    uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);\n    uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);\n    *param_2 = uVar12;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }\nLAB_0011d9ac:\n  local_c4 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);\n  local_5c = 0;\n  if (*(int *)PTR_history_quoting_state_001569a0 == 0x27) {\n    iVar22 = 0x100;\n    if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n      local_b0 = 1;\n      iVar11 = 0;\n    }\n    else {\n      FUN_0011c170(pcVar6,&local_5c,0);\n      if (local_5c < 1) {\n        if (pcVar6[local_5c] == '\0') {\n          iVar22 = 0x100;\n          local_b0 = 0;\n          iVar11 = 0;\n        }\n        else {\n          iVar20 = 0;\n          iVar22 = 0x100;\nLAB_0011dbe0:\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[local_5c];\n          puVar4[iVar11] = 0;\n          local_5c = local_5c + 1;\n          local_b0 = 0;\n        }\n      }\n      else {\n        iVar22 = 0x100;\n        iVar20 = 0;\n        while( true ) {\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[iVar20];\n          puVar4[iVar11] = 0;\n          if (local_5c <= iVar11) break;\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n        }\n        if (pcVar6[local_5c] != '\0') {\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }\n    }\n  }\n  else {\n    iVar22 = 0x100;\n    local_b0 = 0;\n    iVar11 = 0;\n  }\n  puVar2 = PTR_DAT_001565b0;\n  puVar23 = PTR_DAT_0015656c;\n  if (local_5c < local_c8) {\n    local_a8 = 0;\n    uVar3 = 0;\n    do {\n      cVar1 = pcVar6[local_5c];\n      if (uVar3 == 0) {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((1 < uVar10) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {\n          local_3c[0] = 0;\n          local_3c[1] = 0;\n          local_3c[2] = 0;\n          local_3c[3] = 0;\n          piVar19 = local_3c;\n          cVar14 = cVar1;\n          do {\n            *(char *)piVar19 = cVar14;\n            local_58[2] = 0;\n            local_58[3] = 0;\n            iVar20 = _rl_get_char_len(local_3c,local_58 + 2);\n            if (iVar20 != -2) break;\n            local_5c = local_5c + 1;\n            piVar19 = (int *)((int)piVar19 + 1);\n            cVar14 = pcVar6[local_5c];\n          } while (local_3c + 4 != piVar19);\n          uVar10 = (*(code *)PTR_strlen_00158444)(local_3c);\n          if (1 < uVar10) {\n            iVar20 = iVar11 + uVar10;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }\n        iVar20 = local_5c;\n        if (*PTR_history_expansion_char_00156fcc == cVar1) {\nLAB_0011e340:\n          iVar15 = (int)pcVar6[local_5c + 1];\n          if ((((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))) {\n            iVar20 = local_5c;\n            uVar12 = 0x27;\n            if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }\n            local_58[4] = 0;\n            local_58[5] = 0;\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            local_58[0] = iVar20;\n            iVar15 = (int)pcVar6[iVar20 + 1];\n            if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }\n            local_58[0] = iVar18;\n            iVar15 = local_58[0];\n            if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *param_2 = uVar12;\n            (*(code *)PTR_xfree_00156bb4)(puVar4);\n            if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }\n      }\n      else {\n        if (iVar22 + -1 <= iVar11) {\n          iVar22 = iVar22 + 0x40;\n          puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n        }\n        puVar4[iVar11] = cVar1;\n        puVar4[iVar11 + 1] = 0;\n        uVar3 = 0;\n        iVar20 = iVar11 + 1;\n      }\nLAB_0011dc80:\n      local_5c = local_5c + 1;\n      iVar11 = iVar20;\n    } while (local_5c < local_c8);\n    *param_2 = puVar4;\n    if (pcVar6 != param_1) {\nLAB_0011f650:\n      (*(code *)PTR_xfree_00156bb4)(pcVar6);\n    }\n  }\n  else {\n    *param_2 = puVar4;\n    if (pcVar6 != param_1) {\n      local_a8 = 0;\n      goto LAB_0011f650;\n    }\n    local_a8 = 0;\n  }\n  uVar3 = (uint)(local_a8 != 0);\nLAB_0011f678:\n  if (local_3c[4] == *(int *)PTR___stack_chk_guard_0015858c) {\n    return uVar3;\n  }\n  iVar22 = local_3c[4];\n  puVar23 = PTR___stack_chk_fail_0015853c;\n  (*(code *)PTR___stack_chk_fail_0015853c)();\n  if (iVar22 == 0) {\n    iVar22 = (**(code **)(puVar23 + 0x384f4))(*(int *)(puVar23 + 0x36ccc) + 0x66e4);\n    if (iVar22 == 0) {\n      uVar3 = 0;\n    }\n    else {\n      iVar20 = (**(code **)(puVar23 + 0x38b94))(iVar22);\n      uVar3 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 10);\n      (**(code **)(puVar23 + 0x38c1c))(uVar3,iVar22);\n      *(undefined1 *)(uVar3 + iVar20) = 0x2f;\n      puVar13 = (undefined4 *)(uVar3 + iVar20 + 1);\n      iVar22 = *(int *)(puVar23 + 0x36d00);\n      uVar12 = *(undefined4 *)(iVar22 + 0x5d4);\n      *puVar13 = *(undefined4 *)(iVar22 + 0x5d0);\n      puVar13[1] = uVar12;\n      *(undefined1 *)(puVar13 + 2) = *(undefined1 *)(iVar22 + 0x5d8);\n    }\n  }\n  else {\n    iVar20 = (**(code **)(puVar23 + 0x38b94))();\n    uVar12 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 1);\n    uVar3 = (**(code **)(puVar23 + 0x38c1c))(uVar12,iVar22);\n  }\n  return uVar3;\n}" (type_identifier "uint") (function_declarator "history_expand(char *param_1,undefined4 *param_2)" (identifier "history_expand") (parameter_list "(char *param_1,undefined4 *param_2)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  char cVar1;\n  undefined *puVar2;\n  uint uVar3;\n  undefined1 *puVar4;\n  code *pcVar5;\n  char *pcVar6;\n  char cVar14;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  undefined4 uVar9;\n  uint uVar10;\n  int iVar11;\n  undefined4 uVar12;\n  undefined4 *puVar13;\n  int iVar15;\n  bool bVar16;\n  int iVar17;\n  int iVar18;\n  int *piVar19;\n  int iVar20;\n  int iVar21;\n  int iVar22;\n  undefined *puVar23;\n  int local_c8;\n  uint local_c4;\n  char *local_c0;\n  uint local_b0;\n  int local_a8;\n  int local_5c;\n  int local_58 [6];\n  undefined1 local_40;\n  undefined1 local_3f;\n  undefined1 local_3e;\n  int local_3c [5];\n  \n  local_3c[4] = *(int *)PTR___stack_chk_guard_0015858c;\n  uVar3 = 0;\n  if (param_2 == (undefined4 *)0x0) goto LAB_0011f678;\n  if (*PTR_history_expansion_char_00156fcc == '\0') {\n    iVar22 = (*(code *)PTR_strlen_00158444)();\n    uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);\n    uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);\n    *param_2 = uVar12;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }\n  puVar4 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(0x100);\n  *puVar4 = 0;\n  local_c8 = (*(code *)PTR_strlen_00158444)(param_1);\n  if (*param_1 != *PTR_history_subst_char_00156fd0) {\n    local_58[2] = 0;\n    local_58[3] = 0;\n    uVar3 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);\n    local_5c = 0;\n    pcVar6 = param_1;\n    if ((*(int *)PTR_history_quoting_state_001569a0 == 0x27) &&\n       (*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0)) {\n      FUN_0011c170(param_1,&local_5c,0);\n      if (param_1[local_5c] == '\0') goto LAB_0011d994;\n      local_5c = local_5c + 1;\n    }\n    puVar2 = PTR_history_quotes_inhibit_expansion_00157524;\n    puVar23 = PTR_history_comment_char_00156f80;\n    if (param_1[local_5c] != '\0') {\n      pcVar5 = (code *)(PTR_LAB_0015657c + -0x3e90);\n      do {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((uVar10 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {\nLAB_0011f800:\n          iVar22 = local_5c;\n          iVar20 = (int)(param_1 + local_5c)[1];\n          if (((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11))\n          {\n            iVar11 = (int)param_1[local_5c];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }\n          if (((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);\n            if (iVar22 == 0) break;\n          }\n        }\n        else {\n          iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2);\n          if (iVar22 < 2) goto LAB_0011f800;\n          local_5c = local_5c + iVar22 + -1;\n        }\nLAB_0011f7c0:\n        local_5c = local_5c + 1;\n      } while (param_1[local_5c] != '\0');\n    }\n    goto LAB_0011d994;\n  }\n  pcVar6 = (char *)(*(code *)PTR_xmalloc_001565b8)(local_c8 + 5);\n  cVar1 = *PTR_history_expansion_char_00156fcc;\n  pcVar6[1] = cVar1;\n  *pcVar6 = cVar1;\n  pcVar6[2] = ':';\n  pcVar6[3] = 's';\n  (*(code *)PTR_strcpy_001584cc)(pcVar6 + 4,param_1);\n  local_c8 = local_c8 + 4;\n  goto LAB_0011d9ac;\nLAB_0011da2c:\n  do {\n    local_5c = iVar22 + 1;\n    iVar22 = local_5c;\n  } while (param_1[local_5c] != '\0');\nLAB_0011d994:\n  if (param_1[local_5c] != *PTR_history_expansion_char_00156fcc) {\n    (*(code *)PTR_xfree_00156bb4)(puVar4);\n    iVar22 = (*(code *)PTR_strlen_00158444)(param_1);\n    uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);\n    uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);\n    *param_2 = uVar12;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }\nLAB_0011d9ac:\n  local_c4 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);\n  local_5c = 0;\n  if (*(int *)PTR_history_quoting_state_001569a0 == 0x27) {\n    iVar22 = 0x100;\n    if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n      local_b0 = 1;\n      iVar11 = 0;\n    }\n    else {\n      FUN_0011c170(pcVar6,&local_5c,0);\n      if (local_5c < 1) {\n        if (pcVar6[local_5c] == '\0') {\n          iVar22 = 0x100;\n          local_b0 = 0;\n          iVar11 = 0;\n        }\n        else {\n          iVar20 = 0;\n          iVar22 = 0x100;\nLAB_0011dbe0:\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[local_5c];\n          puVar4[iVar11] = 0;\n          local_5c = local_5c + 1;\n          local_b0 = 0;\n        }\n      }\n      else {\n        iVar22 = 0x100;\n        iVar20 = 0;\n        while( true ) {\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[iVar20];\n          puVar4[iVar11] = 0;\n          if (local_5c <= iVar11) break;\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n        }\n        if (pcVar6[local_5c] != '\0') {\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }\n    }\n  }\n  else {\n    iVar22 = 0x100;\n    local_b0 = 0;\n    iVar11 = 0;\n  }\n  puVar2 = PTR_DAT_001565b0;\n  puVar23 = PTR_DAT_0015656c;\n  if (local_5c < local_c8) {\n    local_a8 = 0;\n    uVar3 = 0;\n    do {\n      cVar1 = pcVar6[local_5c];\n      if (uVar3 == 0) {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((1 < uVar10) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {\n          local_3c[0] = 0;\n          local_3c[1] = 0;\n          local_3c[2] = 0;\n          local_3c[3] = 0;\n          piVar19 = local_3c;\n          cVar14 = cVar1;\n          do {\n            *(char *)piVar19 = cVar14;\n            local_58[2] = 0;\n            local_58[3] = 0;\n            iVar20 = _rl_get_char_len(local_3c,local_58 + 2);\n            if (iVar20 != -2) break;\n            local_5c = local_5c + 1;\n            piVar19 = (int *)((int)piVar19 + 1);\n            cVar14 = pcVar6[local_5c];\n          } while (local_3c + 4 != piVar19);\n          uVar10 = (*(code *)PTR_strlen_00158444)(local_3c);\n          if (1 < uVar10) {\n            iVar20 = iVar11 + uVar10;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }\n        iVar20 = local_5c;\n        if (*PTR_history_expansion_char_00156fcc == cVar1) {\nLAB_0011e340:\n          iVar15 = (int)pcVar6[local_5c + 1];\n          if ((((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))) {\n            iVar20 = local_5c;\n            uVar12 = 0x27;\n            if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }\n            local_58[4] = 0;\n            local_58[5] = 0;\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            local_58[0] = iVar20;\n            iVar15 = (int)pcVar6[iVar20 + 1];\n            if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }\n            local_58[0] = iVar18;\n            iVar15 = local_58[0];\n            if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *param_2 = uVar12;\n            (*(code *)PTR_xfree_00156bb4)(puVar4);\n            if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }\n      }\n      else {\n        if (iVar22 + -1 <= iVar11) {\n          iVar22 = iVar22 + 0x40;\n          puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n        }\n        puVar4[iVar11] = cVar1;\n        puVar4[iVar11 + 1] = 0;\n        uVar3 = 0;\n        iVar20 = iVar11 + 1;\n      }\nLAB_0011dc80:\n      local_5c = local_5c + 1;\n      iVar11 = iVar20;\n    } while (local_5c < local_c8);\n    *param_2 = puVar4;\n    if (pcVar6 != param_1) {\nLAB_0011f650:\n      (*(code *)PTR_xfree_00156bb4)(pcVar6);\n    }\n  }\n  else {\n    *param_2 = puVar4;\n    if (pcVar6 != param_1) {\n      local_a8 = 0;\n      goto LAB_0011f650;\n    }\n    local_a8 = 0;\n  }\n  uVar3 = (uint)(local_a8 != 0);\nLAB_0011f678:\n  if (local_3c[4] == *(int *)PTR___stack_chk_guard_0015858c) {\n    return uVar3;\n  }\n  iVar22 = local_3c[4];\n  puVar23 = PTR___stack_chk_fail_0015853c;\n  (*(code *)PTR___stack_chk_fail_0015853c)();\n  if (iVar22 == 0) {\n    iVar22 = (**(code **)(puVar23 + 0x384f4))(*(int *)(puVar23 + 0x36ccc) + 0x66e4);\n    if (iVar22 == 0) {\n      uVar3 = 0;\n    }\n    else {\n      iVar20 = (**(code **)(puVar23 + 0x38b94))(iVar22);\n      uVar3 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 10);\n      (**(code **)(puVar23 + 0x38c1c))(uVar3,iVar22);\n      *(undefined1 *)(uVar3 + iVar20) = 0x2f;\n      puVar13 = (undefined4 *)(uVar3 + iVar20 + 1);\n      iVar22 = *(int *)(puVar23 + 0x36d00);\n      uVar12 = *(undefined4 *)(iVar22 + 0x5d4);\n      *puVar13 = *(undefined4 *)(iVar22 + 0x5d0);\n      puVar13[1] = uVar12;\n      *(undefined1 *)(puVar13 + 2) = *(undefined1 *)(iVar22 + 0x5d8);\n    }\n  }\n  else {\n    iVar20 = (**(code **)(puVar23 + 0x38b94))();\n    uVar12 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 1);\n    uVar3 = (**(code **)(puVar23 + 0x38c1c))(uVar12,iVar22);\n  }\n  return uVar3;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "undefined1 *puVar4;" (type_identifier "undefined1") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "code *pcVar5;" (type_identifier "code") (pointer_declarator "*pcVar5" (* "*") (identifier "pcVar5")) (; ";")) (declaration "char *pcVar6;" (primitive_type "char") (pointer_declarator "*pcVar6" (* "*") (identifier "pcVar6")) (; ";")) (declaration "char cVar14;" (primitive_type "char") (identifier "cVar14") (; ";")) (declaration "undefined1 *puVar7;" (type_identifier "undefined1") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "undefined1 *puVar8;" (type_identifier "undefined1") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "undefined4 uVar9;" (type_identifier "undefined4") (identifier "uVar9") (; ";")) (declaration "uint uVar10;" (type_identifier "uint") (identifier "uVar10") (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "undefined4 uVar12;" (type_identifier "undefined4") (identifier "uVar12") (; ";")) (declaration "undefined4 *puVar13;" (type_identifier "undefined4") (pointer_declarator "*puVar13" (* "*") (identifier "puVar13")) (; ";")) (declaration "int iVar15;" (primitive_type "int") (identifier "iVar15") (; ";")) (declaration "bool bVar16;" (primitive_type "bool") (identifier "bVar16") (; ";")) (declaration "int iVar17;" (primitive_type "int") (identifier "iVar17") (; ";")) (declaration "int iVar18;" (primitive_type "int") (identifier "iVar18") (; ";")) (declaration "int *piVar19;" (primitive_type "int") (pointer_declarator "*piVar19" (* "*") (identifier "piVar19")) (; ";")) (declaration "int iVar20;" (primitive_type "int") (identifier "iVar20") (; ";")) (declaration "int iVar21;" (primitive_type "int") (identifier "iVar21") (; ";")) (declaration "int iVar22;" (primitive_type "int") (identifier "iVar22") (; ";")) (declaration "undefined *puVar23;" (type_identifier "undefined") (pointer_declarator "*puVar23" (* "*") (identifier "puVar23")) (; ";")) (declaration "int local_c8;" (primitive_type "int") (identifier "local_c8") (; ";")) (declaration "uint local_c4;" (type_identifier "uint") (identifier "local_c4") (; ";")) (declaration "char *local_c0;" (primitive_type "char") (pointer_declarator "*local_c0" (* "*") (identifier "local_c0")) (; ";")) (declaration "uint local_b0;" (type_identifier "uint") (identifier "local_b0") (; ";")) (declaration "int local_a8;" (primitive_type "int") (identifier "local_a8") (; ";")) (declaration "int local_5c;" (primitive_type "int") (identifier "local_5c") (; ";")) (declaration "int local_58 [6];" (primitive_type "int") (array_declarator "local_58 [6]" (identifier "local_58") ([ "[") (number_literal "6") (] "]")) (; ";")) (declaration "undefined1 local_40;" (type_identifier "undefined1") (identifier "local_40") (; ";")) (declaration "undefined1 local_3f;" (type_identifier "undefined1") (identifier "local_3f") (; ";")) (declaration "undefined1 local_3e;" (type_identifier "undefined1") (identifier "local_3e") (; ";")) (declaration "int local_3c [5];" (primitive_type "int") (array_declarator "local_3c [5]" (identifier "local_3c") ([ "[") (number_literal "5") (] "]")) (; ";")) (expression_statement "local_3c[4] = *(int *)PTR___stack_chk_guard_0015858c;" (assignment_expression "local_3c[4] = *(int *)PTR___stack_chk_guard_0015858c" (subscript_expression "local_3c[4]" (identifier "local_3c") ([ "[") (number_literal "4") (] "]")) (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_0015858c" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_0015858c" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_0015858c")))) (; ";")) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (if_statement "if (param_2 == (undefined4 *)0x0) goto LAB_0011f678;" (if "if") (parenthesized_expression "(param_2 == (undefined4 *)0x0)" (( "(") (binary_expression "param_2 == (undefined4 *)0x0" (identifier "param_2") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_0011f678;" (goto "goto") (statement_identifier "LAB_0011f678") (; ";"))) (if_statement "if (*PTR_history_expansion_char_00156fcc == '\0') {\n    iVar22 = (*(code *)PTR_strlen_00158444)();\n    uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);\n    uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);\n    *param_2 = uVar12;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }" (if "if") (parenthesized_expression "(*PTR_history_expansion_char_00156fcc == '\0')" (( "(") (binary_expression "*PTR_history_expansion_char_00156fcc == '\0'" (pointer_expression "*PTR_history_expansion_char_00156fcc" (* "*") (identifier "PTR_history_expansion_char_00156fcc")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    iVar22 = (*(code *)PTR_strlen_00158444)();\n    uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);\n    uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);\n    *param_2 = uVar12;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }" ({ "{") (expression_statement "iVar22 = (*(code *)PTR_strlen_00158444)();" (assignment_expression "iVar22 = (*(code *)PTR_strlen_00158444)()" (identifier "iVar22") (= "=") (call_expression "(*(code *)PTR_strlen_00158444)()" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" (( "(") (pointer_expression "*(code *)PTR_strlen_00158444" (* "*") (cast_expression "(code *)PTR_strlen_00158444" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00158444"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);" (assignment_expression "uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1)" (identifier "uVar12") (= "=") (call_expression "(*(code *)PTR_xmalloc_001565b8)(iVar22 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" (( "(") (pointer_expression "*(code *)PTR_xmalloc_001565b8" (* "*") (cast_expression "(code *)PTR_xmalloc_001565b8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xmalloc_001565b8"))) () ")")) (argument_list "(iVar22 + 1)" (( "(") (binary_expression "iVar22 + 1" (identifier "iVar22") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);" (assignment_expression "uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1)" (identifier "uVar12") (= "=") (call_expression "(*(code *)PTR_strcpy_001584cc)(uVar12,param_1)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" (( "(") (pointer_expression "*(code *)PTR_strcpy_001584cc" (* "*") (cast_expression "(code *)PTR_strcpy_001584cc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcpy_001584cc"))) () ")")) (argument_list "(uVar12,param_1)" (( "(") (identifier "uVar12") (, ",") (identifier "param_1") () ")")))) (; ";")) (expression_statement "*param_2 = uVar12;" (assignment_expression "*param_2 = uVar12" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "uVar12")) (; ";")) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_0011f678;" (goto "goto") (statement_identifier "LAB_0011f678") (; ";")) (} "}"))) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(0x100);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(0x100)" (identifier "puVar4") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR_xmalloc_001565b8)(0x100)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_xmalloc_001565b8)(0x100)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" (( "(") (pointer_expression "*(code *)PTR_xmalloc_001565b8" (* "*") (cast_expression "(code *)PTR_xmalloc_001565b8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xmalloc_001565b8"))) () ")")) (argument_list "(0x100)" (( "(") (number_literal "0x100") () ")"))))) (; ";")) (expression_statement "*puVar4 = 0;" (assignment_expression "*puVar4 = 0" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_c8 = (*(code *)PTR_strlen_00158444)(param_1);" (assignment_expression "local_c8 = (*(code *)PTR_strlen_00158444)(param_1)" (identifier "local_c8") (= "=") (call_expression "(*(code *)PTR_strlen_00158444)(param_1)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" (( "(") (pointer_expression "*(code *)PTR_strlen_00158444" (* "*") (cast_expression "(code *)PTR_strlen_00158444" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00158444"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (*param_1 != *PTR_history_subst_char_00156fd0) {\n    local_58[2] = 0;\n    local_58[3] = 0;\n    uVar3 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);\n    local_5c = 0;\n    pcVar6 = param_1;\n    if ((*(int *)PTR_history_quoting_state_001569a0 == 0x27) &&\n       (*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0)) {\n      FUN_0011c170(param_1,&local_5c,0);\n      if (param_1[local_5c] == '\0') goto LAB_0011d994;\n      local_5c = local_5c + 1;\n    }\n    puVar2 = PTR_history_quotes_inhibit_expansion_00157524;\n    puVar23 = PTR_history_comment_char_00156f80;\n    if (param_1[local_5c] != '\0') {\n      pcVar5 = (code *)(PTR_LAB_0015657c + -0x3e90);\n      do {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((uVar10 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {\nLAB_0011f800:\n          iVar22 = local_5c;\n          iVar20 = (int)(param_1 + local_5c)[1];\n          if (((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11))\n          {\n            iVar11 = (int)param_1[local_5c];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }\n          if (((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);\n            if (iVar22 == 0) break;\n          }\n        }\n        else {\n          iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2);\n          if (iVar22 < 2) goto LAB_0011f800;\n          local_5c = local_5c + iVar22 + -1;\n        }\nLAB_0011f7c0:\n        local_5c = local_5c + 1;\n      } while (param_1[local_5c] != '\0');\n    }\n    goto LAB_0011d994;\n  }" (if "if") (parenthesized_expression "(*param_1 != *PTR_history_subst_char_00156fd0)" (( "(") (binary_expression "*param_1 != *PTR_history_subst_char_00156fd0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (!= "!=") (pointer_expression "*PTR_history_subst_char_00156fd0" (* "*") (identifier "PTR_history_subst_char_00156fd0"))) () ")")) (compound_statement "{\n    local_58[2] = 0;\n    local_58[3] = 0;\n    uVar3 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);\n    local_5c = 0;\n    pcVar6 = param_1;\n    if ((*(int *)PTR_history_quoting_state_001569a0 == 0x27) &&\n       (*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0)) {\n      FUN_0011c170(param_1,&local_5c,0);\n      if (param_1[local_5c] == '\0') goto LAB_0011d994;\n      local_5c = local_5c + 1;\n    }\n    puVar2 = PTR_history_quotes_inhibit_expansion_00157524;\n    puVar23 = PTR_history_comment_char_00156f80;\n    if (param_1[local_5c] != '\0') {\n      pcVar5 = (code *)(PTR_LAB_0015657c + -0x3e90);\n      do {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((uVar10 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {\nLAB_0011f800:\n          iVar22 = local_5c;\n          iVar20 = (int)(param_1 + local_5c)[1];\n          if (((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11))\n          {\n            iVar11 = (int)param_1[local_5c];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }\n          if (((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);\n            if (iVar22 == 0) break;\n          }\n        }\n        else {\n          iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2);\n          if (iVar22 < 2) goto LAB_0011f800;\n          local_5c = local_5c + iVar22 + -1;\n        }\nLAB_0011f7c0:\n        local_5c = local_5c + 1;\n      } while (param_1[local_5c] != '\0');\n    }\n    goto LAB_0011d994;\n  }" ({ "{") (expression_statement "local_58[2] = 0;" (assignment_expression "local_58[2] = 0" (subscript_expression "local_58[2]" (identifier "local_58") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_58[3] = 0;" (assignment_expression "local_58[3] = 0" (subscript_expression "local_58[3]" (identifier "local_58") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar3 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);" (assignment_expression "uVar3 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22)" (identifier "uVar3") (= "=") (call_expression "(uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(int *)PTR_history_quoting_state_001569a0 == 0x22)" (( "(") (binary_expression "*(int *)PTR_history_quoting_state_001569a0 == 0x22" (pointer_expression "*(int *)PTR_history_quoting_state_001569a0" (* "*") (cast_expression "(int *)PTR_history_quoting_state_001569a0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_history_quoting_state_001569a0"))) (== "==") (number_literal "0x22")) () ")")))) (; ";")) (expression_statement "local_5c = 0;" (assignment_expression "local_5c = 0" (identifier "local_5c") (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar6 = param_1;" (assignment_expression "pcVar6 = param_1" (identifier "pcVar6") (= "=") (identifier "param_1")) (; ";")) (if_statement "if ((*(int *)PTR_history_quoting_state_001569a0 == 0x27) &&\n       (*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0)) {\n      FUN_0011c170(param_1,&local_5c,0);\n      if (param_1[local_5c] == '\0') goto LAB_0011d994;\n      local_5c = local_5c + 1;\n    }" (if "if") (parenthesized_expression "((*(int *)PTR_history_quoting_state_001569a0 == 0x27) &&\n       (*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0))" (( "(") (binary_expression "(*(int *)PTR_history_quoting_state_001569a0 == 0x27) &&\n       (*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0)" (parenthesized_expression "(*(int *)PTR_history_quoting_state_001569a0 == 0x27)" (( "(") (binary_expression "*(int *)PTR_history_quoting_state_001569a0 == 0x27" (pointer_expression "*(int *)PTR_history_quoting_state_001569a0" (* "*") (cast_expression "(int *)PTR_history_quoting_state_001569a0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_history_quoting_state_001569a0"))) (== "==") (number_literal "0x27")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0)" (( "(") (binary_expression "*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0" (pointer_expression "*(int *)PTR_history_quotes_inhibit_expansion_00157524" (* "*") (cast_expression "(int *)PTR_history_quotes_inhibit_expansion_00157524" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_history_quotes_inhibit_expansion_00157524"))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      FUN_0011c170(param_1,&local_5c,0);\n      if (param_1[local_5c] == '\0') goto LAB_0011d994;\n      local_5c = local_5c + 1;\n    }" ({ "{") (expression_statement "FUN_0011c170(param_1,&local_5c,0);" (call_expression "FUN_0011c170(param_1,&local_5c,0)" (identifier "FUN_0011c170") (argument_list "(param_1,&local_5c,0)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&local_5c" (& "&") (identifier "local_5c")) (, ",") (number_literal "0") () ")"))) (; ";")) (if_statement "if (param_1[local_5c] == '\0') goto LAB_0011d994;" (if "if") (parenthesized_expression "(param_1[local_5c] == '\0')" (( "(") (binary_expression "param_1[local_5c] == '\0'" (subscript_expression "param_1[local_5c]" (identifier "param_1") ([ "[") (identifier "local_5c") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_0011d994;" (goto "goto") (statement_identifier "LAB_0011d994") (; ";"))) (expression_statement "local_5c = local_5c + 1;" (assignment_expression "local_5c = local_5c + 1" (identifier "local_5c") (= "=") (binary_expression "local_5c + 1" (identifier "local_5c") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "puVar2 = PTR_history_quotes_inhibit_expansion_00157524;" (assignment_expression "puVar2 = PTR_history_quotes_inhibit_expansion_00157524" (identifier "puVar2") (= "=") (identifier "PTR_history_quotes_inhibit_expansion_00157524")) (; ";")) (expression_statement "puVar23 = PTR_history_comment_char_00156f80;" (assignment_expression "puVar23 = PTR_history_comment_char_00156f80" (identifier "puVar23") (= "=") (identifier "PTR_history_comment_char_00156f80")) (; ";")) (if_statement "if (param_1[local_5c] != '\0') {\n      pcVar5 = (code *)(PTR_LAB_0015657c + -0x3e90);\n      do {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((uVar10 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {\nLAB_0011f800:\n          iVar22 = local_5c;\n          iVar20 = (int)(param_1 + local_5c)[1];\n          if (((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11))\n          {\n            iVar11 = (int)param_1[local_5c];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }\n          if (((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);\n            if (iVar22 == 0) break;\n          }\n        }\n        else {\n          iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2);\n          if (iVar22 < 2) goto LAB_0011f800;\n          local_5c = local_5c + iVar22 + -1;\n        }\nLAB_0011f7c0:\n        local_5c = local_5c + 1;\n      } while (param_1[local_5c] != '\0');\n    }" (if "if") (parenthesized_expression "(param_1[local_5c] != '\0')" (( "(") (binary_expression "param_1[local_5c] != '\0'" (subscript_expression "param_1[local_5c]" (identifier "param_1") ([ "[") (identifier "local_5c") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      pcVar5 = (code *)(PTR_LAB_0015657c + -0x3e90);\n      do {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((uVar10 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {\nLAB_0011f800:\n          iVar22 = local_5c;\n          iVar20 = (int)(param_1 + local_5c)[1];\n          if (((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11))\n          {\n            iVar11 = (int)param_1[local_5c];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }\n          if (((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);\n            if (iVar22 == 0) break;\n          }\n        }\n        else {\n          iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2);\n          if (iVar22 < 2) goto LAB_0011f800;\n          local_5c = local_5c + iVar22 + -1;\n        }\nLAB_0011f7c0:\n        local_5c = local_5c + 1;\n      } while (param_1[local_5c] != '\0');\n    }" ({ "{") (expression_statement "pcVar5 = (code *)(PTR_LAB_0015657c + -0x3e90);" (assignment_expression "pcVar5 = (code *)(PTR_LAB_0015657c + -0x3e90)" (identifier "pcVar5") (= "=") (cast_expression "(code *)(PTR_LAB_0015657c + -0x3e90)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0015657c + -0x3e90)" (( "(") (binary_expression "PTR_LAB_0015657c + -0x3e90" (identifier "PTR_LAB_0015657c") (+ "+") (number_literal "-0x3e90")) () ")")))) (; ";")) (do_statement "do {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((uVar10 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {\nLAB_0011f800:\n          iVar22 = local_5c;\n          iVar20 = (int)(param_1 + local_5c)[1];\n          if (((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11))\n          {\n            iVar11 = (int)param_1[local_5c];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }\n          if (((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);\n            if (iVar22 == 0) break;\n          }\n        }\n        else {\n          iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2);\n          if (iVar22 < 2) goto LAB_0011f800;\n          local_5c = local_5c + iVar22 + -1;\n        }\nLAB_0011f7c0:\n        local_5c = local_5c + 1;\n      } while (param_1[local_5c] != '\0');" (do "do") (compound_statement "{\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((uVar10 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {\nLAB_0011f800:\n          iVar22 = local_5c;\n          iVar20 = (int)(param_1 + local_5c)[1];\n          if (((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11))\n          {\n            iVar11 = (int)param_1[local_5c];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }\n          if (((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);\n            if (iVar22 == 0) break;\n          }\n        }\n        else {\n          iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2);\n          if (iVar22 < 2) goto LAB_0011f800;\n          local_5c = local_5c + iVar22 + -1;\n        }\nLAB_0011f7c0:\n        local_5c = local_5c + 1;\n      }" ({ "{") (expression_statement "uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();" (assignment_expression "uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)()" (identifier "uVar10") (= "=") (call_expression "(*(code *)PTR___ctype_get_mb_cur_max_001584e0)()" (parenthesized_expression "(*(code *)PTR___ctype_get_mb_cur_max_001584e0)" (( "(") (pointer_expression "*(code *)PTR___ctype_get_mb_cur_max_001584e0" (* "*") (cast_expression "(code *)PTR___ctype_get_mb_cur_max_001584e0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___ctype_get_mb_cur_max_001584e0"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if ((uVar10 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {\nLAB_0011f800:\n          iVar22 = local_5c;\n          iVar20 = (int)(param_1 + local_5c)[1];\n          if (((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11))\n          {\n            iVar11 = (int)param_1[local_5c];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }\n          if (((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);\n            if (iVar22 == 0) break;\n          }\n        }\n        else {\n          iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2);\n          if (iVar22 < 2) goto LAB_0011f800;\n          local_5c = local_5c + iVar22 + -1;\n        }" (if "if") (parenthesized_expression "((uVar10 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0))" (( "(") (binary_expression "(uVar10 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)" (parenthesized_expression "(uVar10 < 2)" (( "(") (binary_expression "uVar10 < 2" (identifier "uVar10") (< "<") (number_literal "2")) () ")")) (|| "||") (parenthesized_expression "(*(int *)PTR_rl_byte_oriented_00157e18 != 0)" (( "(") (binary_expression "*(int *)PTR_rl_byte_oriented_00157e18 != 0" (pointer_expression "*(int *)PTR_rl_byte_oriented_00157e18" (* "*") (cast_expression "(int *)PTR_rl_byte_oriented_00157e18" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rl_byte_oriented_00157e18"))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\nLAB_0011f800:\n          iVar22 = local_5c;\n          iVar20 = (int)(param_1 + local_5c)[1];\n          if (((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11))\n          {\n            iVar11 = (int)param_1[local_5c];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }\n          if (((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);\n            if (iVar22 == 0) break;\n          }\n        }" ({ "{") (labeled_statement "LAB_0011f800:\n          iVar22 = local_5c;" (statement_identifier "LAB_0011f800") (: ":") (expression_statement "iVar22 = local_5c;" (assignment_expression "iVar22 = local_5c" (identifier "iVar22") (= "=") (identifier "local_5c")) (; ";"))) (expression_statement "iVar20 = (int)(param_1 + local_5c)[1];" (assignment_expression "iVar20 = (int)(param_1 + local_5c)[1]" (identifier "iVar20") (= "=") (cast_expression "(int)(param_1 + local_5c)[1]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "(param_1 + local_5c)[1]" (parenthesized_expression "(param_1 + local_5c)" (( "(") (binary_expression "param_1 + local_5c" (identifier "param_1") (+ "+") (identifier "local_5c")) () ")")) ([ "[") (number_literal "1") (] "]")))) (; ";")) (if_statement "if (((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11))\n          {\n            iVar11 = (int)param_1[local_5c];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }" (if "if") (parenthesized_expression "(((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11))" (( "(") (binary_expression "((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11)" (parenthesized_expression "((char)*puVar23 == 0)" (( "(") (binary_expression "(char)*puVar23 == 0" (cast_expression "(char)*puVar23" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (pointer_expression "*puVar23" (* "*") (identifier "puVar23"))) (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11)" (( "(") (comma_expression "iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11" (assignment_expression "iVar11 = (int)param_1[local_5c]" (identifier "iVar11") (= "=") (cast_expression "(int)param_1[local_5c]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "param_1[local_5c]" (identifier "param_1") ([ "[") (identifier "local_5c") (] "]")))) (, ",") (binary_expression "(char)*puVar23 != iVar11" (cast_expression "(char)*puVar23" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (pointer_expression "*puVar23" (* "*") (identifier "puVar23"))) (!= "!=") (identifier "iVar11"))) () ")"))) () ")")) (compound_statement "{\n            iVar11 = (int)param_1[local_5c];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }" ({ "{") (expression_statement "iVar11 = (int)param_1[local_5c];" (assignment_expression "iVar11 = (int)param_1[local_5c]" (identifier "iVar11") (= "=") (cast_expression "(int)param_1[local_5c]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "param_1[local_5c]" (identifier "param_1") ([ "[") (identifier "local_5c") (] "]")))) (; ";")) (expression_statement "iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;" (assignment_expression "iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc" (identifier "iVar15") (= "=") (cast_expression "(int)(char)*PTR_history_expansion_char_00156fcc" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(char)*PTR_history_expansion_char_00156fcc" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (pointer_expression "*PTR_history_expansion_char_00156fcc" (* "*") (identifier "PTR_history_expansion_char_00156fcc"))))) (; ";")) (if_statement "if (iVar11 != iVar15) {\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }" (if "if") (parenthesized_expression "(iVar11 != iVar15)" (( "(") (binary_expression "iVar11 != iVar15" (identifier "iVar11") (!= "!=") (identifier "iVar15")) () ")")) (compound_statement "{\n              if (uVar3 == 0) goto LAB_0011f844;\nLAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }\n              goto LAB_0011f7c0;\n            }" ({ "{") (if_statement "if (uVar3 == 0) goto LAB_0011f844;" (if "if") (parenthesized_expression "(uVar3 == 0)" (( "(") (binary_expression "uVar3 == 0" (identifier "uVar3") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0011f844;" (goto "goto") (statement_identifier "LAB_0011f844") (; ";"))) (labeled_statement "LAB_0011f788:\n              if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }" (statement_identifier "LAB_0011f788") (: ":") (if_statement "if (iVar11 == 0x5c) {\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }\n              else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }" (if "if") (parenthesized_expression "(iVar11 == 0x5c)" (( "(") (binary_expression "iVar11 == 0x5c" (identifier "iVar11") (== "==") (number_literal "0x5c")) () ")")) (compound_statement "{\n                if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }\n              }" ({ "{") (if_statement "if (iVar20 == 0x22) {\n                  local_5c = local_5c + 1;\n                }\n                else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }" (if "if") (parenthesized_expression "(iVar20 == 0x22)" (( "(") (binary_expression "iVar20 == 0x22" (identifier "iVar20") (== "==") (number_literal "0x22")) () ")")) (compound_statement "{\n                  local_5c = local_5c + 1;\n                }" ({ "{") (expression_statement "local_5c = local_5c + 1;" (assignment_expression "local_5c = local_5c + 1" (identifier "local_5c") (= "=") (binary_expression "local_5c + 1" (identifier "local_5c") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (else_clause "else {\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }" (else "else") (compound_statement "{\n                  iVar18 = *(int *)puVar2;\n                  if (iVar18 != 0) goto LAB_0011f7a4;\n                }" ({ "{") (expression_statement "iVar18 = *(int *)puVar2;" (assignment_expression "iVar18 = *(int *)puVar2" (identifier "iVar18") (= "=") (pointer_expression "*(int *)puVar2" (* "*") (cast_expression "(int *)puVar2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2")))) (; ";")) (if_statement "if (iVar18 != 0) goto LAB_0011f7a4;" (if "if") (parenthesized_expression "(iVar18 != 0)" (( "(") (binary_expression "iVar18 != 0" (identifier "iVar18") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0011f7a4;" (goto "goto") (statement_identifier "LAB_0011f7a4") (; ";"))) (} "}")))) (} "}")) (else_clause "else {\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }" (else "else") (compound_statement "{\n                iVar18 = *(int *)puVar2;\n                if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }\n              }" ({ "{") (expression_statement "iVar18 = *(int *)puVar2;" (assignment_expression "iVar18 = *(int *)puVar2" (identifier "iVar18") (= "=") (pointer_expression "*(int *)puVar2" (* "*") (cast_expression "(int *)puVar2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2")))) (; ";")) (if_statement "if (iVar18 != 0) {\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }" (if "if") (parenthesized_expression "(iVar18 != 0)" (( "(") (binary_expression "iVar18 != 0" (identifier "iVar18") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                  if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }\n                }" ({ "{") (if_statement "if (iVar11 == 0x22) {\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }\n                  else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }" (if "if") (parenthesized_expression "(iVar11 == 0x22)" (( "(") (binary_expression "iVar11 == 0x22" (identifier "iVar11") (== "==") (number_literal "0x22")) () ")")) (compound_statement "{\nLAB_0011da74:\n                    uVar3 = 1 - uVar3;\n                  }" ({ "{") (labeled_statement "LAB_0011da74:\n                    uVar3 = 1 - uVar3;" (statement_identifier "LAB_0011da74") (: ":") (expression_statement "uVar3 = 1 - uVar3;" (assignment_expression "uVar3 = 1 - uVar3" (identifier "uVar3") (= "=") (binary_expression "1 - uVar3" (number_literal "1") (- "-") (identifier "uVar3"))) (; ";"))) (} "}")) (else_clause "else {\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }" (else "else") (compound_statement "{\nLAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;\n                    if (iVar18 != 0) goto LAB_0011f7b4;\n                  }" ({ "{") (labeled_statement "LAB_0011f7a4:\n                    if (uVar3 == 0) goto LAB_0011f858;" (statement_identifier "LAB_0011f7a4") (: ":") (if_statement "if (uVar3 == 0) goto LAB_0011f858;" (if "if") (parenthesized_expression "(uVar3 == 0)" (( "(") (binary_expression "uVar3 == 0" (identifier "uVar3") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0011f858;" (goto "goto") (statement_identifier "LAB_0011f858") (; ";")))) (if_statement "if (iVar18 != 0) goto LAB_0011f7b4;" (if "if") (parenthesized_expression "(iVar18 != 0)" (( "(") (binary_expression "iVar18 != 0" (identifier "iVar18") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0011f7b4;" (goto "goto") (statement_identifier "LAB_0011f7b4") (; ";"))) (} "}")))) (} "}"))) (} "}"))))) (goto_statement "goto LAB_0011f7c0;" (goto "goto") (statement_identifier "LAB_0011f7c0") (; ";")) (} "}"))) (} "}")) (else_clause "else if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }" (else "else") (if_statement "if (uVar3 == 0) {\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }\n          else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }" (if "if") (parenthesized_expression "(uVar3 == 0)" (( "(") (binary_expression "uVar3 == 0" (identifier "uVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;\n            iVar11 = (int)param_1[iVar22];\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }\n          }" ({ "{") (if_statement "if ((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))) goto LAB_0011da2c;" (if "if") (parenthesized_expression "((local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0))))" (( "(") (binary_expression "(local_5c == 0) ||\n               ((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))" (parenthesized_expression "(local_5c == 0)" (( "(") (binary_expression "local_5c == 0" (identifier "local_5c") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "((param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)))" (( "(") (parenthesized_expression "(param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0))" (( "(") (binary_expression "param_1[local_5c + -1] != '\0' &&\n                (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)" (binary_expression "param_1[local_5c + -1] != '\0'" (subscript_expression "param_1[local_5c + -1]" (identifier "param_1") ([ "[") (binary_expression "local_5c + -1" (identifier "local_5c") (+ "+") (number_literal "-1")) (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (&& "&&") (parenthesized_expression "(iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0)" (( "(") (comma_expression "iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n                iVar11 != 0" (assignment_expression "iVar11 = (*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c)" (identifier "iVar11") (= "=") (call_expression "(*(code *)PTR_strchr_0015844c)\n                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c)" (parenthesized_expression "(*(code *)PTR_strchr_0015844c)" (( "(") (pointer_expression "*(code *)PTR_strchr_0015844c" (* "*") (cast_expression "(code *)PTR_strchr_0015844c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strchr_0015844c"))) () ")")) (argument_list "(*(undefined4 *)PTR_history_word_delimiters_0015825c)" (( "(") (pointer_expression "*(undefined4 *)PTR_history_word_delimiters_0015825c" (* "*") (cast_expression "(undefined4 *)PTR_history_word_delimiters_0015825c" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_history_word_delimiters_0015825c"))) () ")")))) (, ",") (binary_expression "iVar11 != 0" (identifier "iVar11") (!= "!=") (number_literal "0"))) () ")"))) () ")")) () ")"))) () ")")) (goto_statement "goto LAB_0011da2c;" (goto "goto") (statement_identifier "LAB_0011da2c") (; ";"))) (expression_statement "iVar11 = (int)param_1[iVar22];" (assignment_expression "iVar11 = (int)param_1[iVar22]" (identifier "iVar11") (= "=") (cast_expression "(int)param_1[iVar22]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "param_1[iVar22]" (identifier "param_1") ([ "[") (identifier "iVar22") (] "]")))) (; ";")) (expression_statement "iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;" (assignment_expression "iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc" (identifier "iVar15") (= "=") (cast_expression "(int)(char)*PTR_history_expansion_char_00156fcc" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(char)*PTR_history_expansion_char_00156fcc" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (pointer_expression "*PTR_history_expansion_char_00156fcc" (* "*") (identifier "PTR_history_expansion_char_00156fcc"))))) (; ";")) (if_statement "if (iVar11 != iVar15) {\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }" (if "if") (parenthesized_expression "(iVar11 != iVar15)" (( "(") (binary_expression "iVar11 != iVar15" (identifier "iVar11") (!= "!=") (identifier "iVar15")) () ")")) (compound_statement "{\nLAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;\n              if (iVar11 == 0x22) goto LAB_0011da74;\nLAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }\n              goto LAB_0011f7c0;\n            }" ({ "{") (labeled_statement "LAB_0011f844:\n              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;" (statement_identifier "LAB_0011f844") (: ":") (if_statement "if (*(int *)puVar2 == 0) goto LAB_0011f7c0;" (if "if") (parenthesized_expression "(*(int *)puVar2 == 0)" (( "(") (binary_expression "*(int *)puVar2 == 0" (pointer_expression "*(int *)puVar2" (* "*") (cast_expression "(int *)puVar2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2"))) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0011f7c0;" (goto "goto") (statement_identifier "LAB_0011f7c0") (; ";")))) (if_statement "if (iVar11 == 0x22) goto LAB_0011da74;" (if "if") (parenthesized_expression "(iVar11 == 0x22)" (( "(") (binary_expression "iVar11 == 0x22" (identifier "iVar11") (== "==") (number_literal "0x22")) () ")")) (goto_statement "goto LAB_0011da74;" (goto "goto") (statement_identifier "LAB_0011da74") (; ";"))) (labeled_statement "LAB_0011f858:\n              if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }" (statement_identifier "LAB_0011f858") (: ":") (if_statement "if (iVar11 == 0x27) {\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }\n              else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }" (if "if") (parenthesized_expression "(iVar11 == 0x27)" (( "(") (binary_expression "iVar11 == 0x27" (identifier "iVar11") (== "==") (number_literal "0x27")) () ")")) (compound_statement "{\n                if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }\n                local_5c = iVar22 + 1;\n                (*pcVar5)(param_1,&local_5c,bVar16);\n                uVar3 = 0;\n              }" ({ "{") (if_statement "if (iVar22 < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }" (if "if") (parenthesized_expression "(iVar22 < 1)" (( "(") (binary_expression "iVar22 < 1" (identifier "iVar22") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n                  bVar16 = false;\n                }" ({ "{") (expression_statement "bVar16 = false;" (assignment_expression "bVar16 = false" (identifier "bVar16") (= "=") (false "false")) (; ";")) (} "}")) (else_clause "else {\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }" (else "else") (compound_statement "{\n                  bVar16 = param_1[iVar22 + -1] == '$';\n                }" ({ "{") (expression_statement "bVar16 = param_1[iVar22 + -1] == '$';" (assignment_expression "bVar16 = param_1[iVar22 + -1] == '$'" (identifier "bVar16") (= "=") (binary_expression "param_1[iVar22 + -1] == '$'" (subscript_expression "param_1[iVar22 + -1]" (identifier "param_1") ([ "[") (binary_expression "iVar22 + -1" (identifier "iVar22") (+ "+") (number_literal "-1")) (] "]")) (== "==") (char_literal "'$'" (' "'") (character "$") (' "'")))) (; ";")) (} "}")))) (expression_statement "local_5c = iVar22 + 1;" (assignment_expression "local_5c = iVar22 + 1" (identifier "local_5c") (= "=") (binary_expression "iVar22 + 1" (identifier "iVar22") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "(*pcVar5)(param_1,&local_5c,bVar16);" (call_expression "(*pcVar5)(param_1,&local_5c,bVar16)" (parenthesized_expression "(*pcVar5)" (( "(") (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) () ")")) (argument_list "(param_1,&local_5c,bVar16)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&local_5c" (& "&") (identifier "local_5c")) (, ",") (identifier "bVar16") () ")"))) (; ";")) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }" (else "else") (compound_statement "{\nLAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }\n              }" ({ "{") (labeled_statement "LAB_0011f7b4:\n                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }" (statement_identifier "LAB_0011f7b4") (: ":") (if_statement "if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {\n                  local_5c = iVar22 + 1;\n                }" (if "if") (parenthesized_expression "((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15))))" (( "(") (binary_expression "(iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))" (parenthesized_expression "(iVar11 == 0x5c)" (( "(") (binary_expression "iVar11 == 0x5c" (identifier "iVar11") (== "==") (number_literal "0x5c")) () ")")) (&& "&&") (parenthesized_expression "((iVar20 == 0x27 || (iVar20 == iVar15)))" (( "(") (parenthesized_expression "(iVar20 == 0x27 || (iVar20 == iVar15))" (( "(") (binary_expression "iVar20 == 0x27 || (iVar20 == iVar15)" (binary_expression "iVar20 == 0x27" (identifier "iVar20") (== "==") (number_literal "0x27")) (|| "||") (parenthesized_expression "(iVar20 == iVar15)" (( "(") (binary_expression "iVar20 == iVar15" (identifier "iVar20") (== "==") (identifier "iVar15")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n                  local_5c = iVar22 + 1;\n                }" ({ "{") (expression_statement "local_5c = iVar22 + 1;" (assignment_expression "local_5c = iVar22 + 1" (identifier "local_5c") (= "=") (binary_expression "iVar22 + 1" (identifier "iVar22") (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (} "}"))))) (goto_statement "goto LAB_0011f7c0;" (goto "goto") (statement_identifier "LAB_0011f7c0") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }" (else "else") (compound_statement "{\n            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;\n            if (iVar11 != iVar15) goto LAB_0011f788;\n          }" ({ "{") (expression_statement "iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;" (assignment_expression "iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc" (identifier "iVar15") (= "=") (cast_expression "(int)(char)*PTR_history_expansion_char_00156fcc" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(char)*PTR_history_expansion_char_00156fcc" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (pointer_expression "*PTR_history_expansion_char_00156fcc" (* "*") (identifier "PTR_history_expansion_char_00156fcc"))))) (; ";")) (if_statement "if (iVar11 != iVar15) goto LAB_0011f788;" (if "if") (parenthesized_expression "(iVar11 != iVar15)" (( "(") (binary_expression "iVar11 != iVar15" (identifier "iVar11") (!= "!=") (identifier "iVar15")) () ")")) (goto_statement "goto LAB_0011f788;" (goto "goto") (statement_identifier "LAB_0011f788") (; ";"))) (} "}")))))) (if_statement "if (((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22)))) {\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);\n            if (iVar22 == 0) break;\n          }" (if "if") (parenthesized_expression "(((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22))))" (( "(") (binary_expression "((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22)))" (parenthesized_expression "((iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0))" (( "(") (binary_expression "(iVar20 != 0) &&\n              (iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)" (parenthesized_expression "(iVar20 != 0)" (( "(") (binary_expression "iVar20 != 0" (identifier "iVar20") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0)" (( "(") (comma_expression "iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),\n              iVar11 == 0" (assignment_expression "iVar11 = (*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20)" (identifier "iVar11") (= "=") (call_expression "(*(code *)PTR_strchr_0015844c)\n                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20)" (parenthesized_expression "(*(code *)PTR_strchr_0015844c)" (( "(") (pointer_expression "*(code *)PTR_strchr_0015844c" (* "*") (cast_expression "(code *)PTR_strchr_0015844c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strchr_0015844c"))) () ")")) (argument_list "(*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20)" (( "(") (pointer_expression "*(undefined4 *)PTR_history_no_expand_chars_00158260" (* "*") (cast_expression "(undefined4 *)PTR_history_no_expand_chars_00158260" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_history_no_expand_chars_00158260"))) (, ",") (identifier "iVar20") () ")")))) (, ",") (binary_expression "iVar11 == 0" (identifier "iVar11") (== "==") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((uVar3 == 0 || (iVar20 != 0x22)))" (( "(") (parenthesized_expression "(uVar3 == 0 || (iVar20 != 0x22))" (( "(") (binary_expression "uVar3 == 0 || (iVar20 != 0x22)" (binary_expression "uVar3 == 0" (identifier "uVar3") (== "==") (number_literal "0")) (|| "||") (parenthesized_expression "(iVar20 != 0x22)" (( "(") (binary_expression "iVar20 != 0x22" (identifier "iVar20") (!= "!=") (number_literal "0x22")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;\n            iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);\n            if (iVar22 == 0) break;\n          }" ({ "{") (if_statement "if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)\n            goto LAB_0011d9ac;" (if "if") (parenthesized_expression "(*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)" (( "(") (binary_expression "*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0" (pointer_expression "*(code **)PTR_history_inhibit_expansion_function_0015752c" (* "*") (cast_expression "(code **)PTR_history_inhibit_expansion_function_0015752c" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_history_inhibit_expansion_function_0015752c"))) (== "==") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_0011d9ac;" (goto "goto") (statement_identifier "LAB_0011d9ac") (; ";"))) (expression_statement "iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);" (assignment_expression "iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22)" (identifier "iVar22") (= "=") (call_expression "(**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22)" (parenthesized_expression "(**(code **)PTR_history_inhibit_expansion_function_0015752c)" (( "(") (pointer_expression "**(code **)PTR_history_inhibit_expansion_function_0015752c" (* "*") (pointer_expression "*(code **)PTR_history_inhibit_expansion_function_0015752c" (* "*") (cast_expression "(code **)PTR_history_inhibit_expansion_function_0015752c" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_history_inhibit_expansion_function_0015752c")))) () ")")) (argument_list "(param_1,iVar22)" (( "(") (identifier "param_1") (, ",") (identifier "iVar22") () ")")))) (; ";")) (if_statement "if (iVar22 == 0) break;" (if "if") (parenthesized_expression "(iVar22 == 0)" (( "(") (binary_expression "iVar22 == 0" (identifier "iVar22") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (} "}"))) (} "}")) (else_clause "else {\n          iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2);\n          if (iVar22 < 2) goto LAB_0011f800;\n          local_5c = local_5c + iVar22 + -1;\n        }" (else "else") (compound_statement "{\n          iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2);\n          if (iVar22 < 2) goto LAB_0011f800;\n          local_5c = local_5c + iVar22 + -1;\n        }" ({ "{") (expression_statement "iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2);" (assignment_expression "iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2)" (identifier "iVar22") (= "=") (call_expression "_rl_get_char_len(param_1 + local_5c,local_58 + 2)" (identifier "_rl_get_char_len") (argument_list "(param_1 + local_5c,local_58 + 2)" (( "(") (binary_expression "param_1 + local_5c" (identifier "param_1") (+ "+") (identifier "local_5c")) (, ",") (binary_expression "local_58 + 2" (identifier "local_58") (+ "+") (number_literal "2")) () ")")))) (; ";")) (if_statement "if (iVar22 < 2) goto LAB_0011f800;" (if "if") (parenthesized_expression "(iVar22 < 2)" (( "(") (binary_expression "iVar22 < 2" (identifier "iVar22") (< "<") (number_literal "2")) () ")")) (goto_statement "goto LAB_0011f800;" (goto "goto") (statement_identifier "LAB_0011f800") (; ";"))) (expression_statement "local_5c = local_5c + iVar22 + -1;" (assignment_expression "local_5c = local_5c + iVar22 + -1" (identifier "local_5c") (= "=") (binary_expression "local_5c + iVar22 + -1" (binary_expression "local_5c + iVar22" (identifier "local_5c") (+ "+") (identifier "iVar22")) (+ "+") (number_literal "-1"))) (; ";")) (} "}")))) (labeled_statement "LAB_0011f7c0:\n        local_5c = local_5c + 1;" (statement_identifier "LAB_0011f7c0") (: ":") (expression_statement "local_5c = local_5c + 1;" (assignment_expression "local_5c = local_5c + 1" (identifier "local_5c") (= "=") (binary_expression "local_5c + 1" (identifier "local_5c") (+ "+") (number_literal "1"))) (; ";"))) (} "}")) (while "while") (parenthesized_expression "(param_1[local_5c] != '\0')" (( "(") (binary_expression "param_1[local_5c] != '\0'" (subscript_expression "param_1[local_5c]" (identifier "param_1") ([ "[") (identifier "local_5c") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (; ";")) (} "}"))) (goto_statement "goto LAB_0011d994;" (goto "goto") (statement_identifier "LAB_0011d994") (; ";")) (} "}"))) (expression_statement "pcVar6 = (char *)(*(code *)PTR_xmalloc_001565b8)(local_c8 + 5);" (assignment_expression "pcVar6 = (char *)(*(code *)PTR_xmalloc_001565b8)(local_c8 + 5)" (identifier "pcVar6") (= "=") (cast_expression "(char *)(*(code *)PTR_xmalloc_001565b8)(local_c8 + 5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_xmalloc_001565b8)(local_c8 + 5)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" (( "(") (pointer_expression "*(code *)PTR_xmalloc_001565b8" (* "*") (cast_expression "(code *)PTR_xmalloc_001565b8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xmalloc_001565b8"))) () ")")) (argument_list "(local_c8 + 5)" (( "(") (binary_expression "local_c8 + 5" (identifier "local_c8") (+ "+") (number_literal "5")) () ")"))))) (; ";")) (expression_statement "cVar1 = *PTR_history_expansion_char_00156fcc;" (assignment_expression "cVar1 = *PTR_history_expansion_char_00156fcc" (identifier "cVar1") (= "=") (pointer_expression "*PTR_history_expansion_char_00156fcc" (* "*") (identifier "PTR_history_expansion_char_00156fcc"))) (; ";")) (expression_statement "pcVar6[1] = cVar1;" (assignment_expression "pcVar6[1] = cVar1" (subscript_expression "pcVar6[1]" (identifier "pcVar6") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "cVar1")) (; ";")) (expression_statement "*pcVar6 = cVar1;" (assignment_expression "*pcVar6 = cVar1" (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6")) (= "=") (identifier "cVar1")) (; ";")) (expression_statement "pcVar6[2] = ':';" (assignment_expression "pcVar6[2] = ':'" (subscript_expression "pcVar6[2]" (identifier "pcVar6") ([ "[") (number_literal "2") (] "]")) (= "=") (char_literal "':'" (' "'") (character ":") (' "'"))) (; ";")) (expression_statement "pcVar6[3] = 's';" (assignment_expression "pcVar6[3] = 's'" (subscript_expression "pcVar6[3]" (identifier "pcVar6") ([ "[") (number_literal "3") (] "]")) (= "=") (char_literal "'s'" (' "'") (character "s") (' "'"))) (; ";")) (expression_statement "(*(code *)PTR_strcpy_001584cc)(pcVar6 + 4,param_1);" (call_expression "(*(code *)PTR_strcpy_001584cc)(pcVar6 + 4,param_1)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" (( "(") (pointer_expression "*(code *)PTR_strcpy_001584cc" (* "*") (cast_expression "(code *)PTR_strcpy_001584cc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcpy_001584cc"))) () ")")) (argument_list "(pcVar6 + 4,param_1)" (( "(") (binary_expression "pcVar6 + 4" (identifier "pcVar6") (+ "+") (number_literal "4")) (, ",") (identifier "param_1") () ")"))) (; ";")) (expression_statement "local_c8 = local_c8 + 4;" (assignment_expression "local_c8 = local_c8 + 4" (identifier "local_c8") (= "=") (binary_expression "local_c8 + 4" (identifier "local_c8") (+ "+") (number_literal "4"))) (; ";")) (goto_statement "goto LAB_0011d9ac;" (goto "goto") (statement_identifier "LAB_0011d9ac") (; ";")) (labeled_statement "LAB_0011da2c:\n  do {\n    local_5c = iVar22 + 1;\n    iVar22 = local_5c;\n  } while (param_1[local_5c] != '\0');" (statement_identifier "LAB_0011da2c") (: ":") (do_statement "do {\n    local_5c = iVar22 + 1;\n    iVar22 = local_5c;\n  } while (param_1[local_5c] != '\0');" (do "do") (compound_statement "{\n    local_5c = iVar22 + 1;\n    iVar22 = local_5c;\n  }" ({ "{") (expression_statement "local_5c = iVar22 + 1;" (assignment_expression "local_5c = iVar22 + 1" (identifier "local_5c") (= "=") (binary_expression "iVar22 + 1" (identifier "iVar22") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar22 = local_5c;" (assignment_expression "iVar22 = local_5c" (identifier "iVar22") (= "=") (identifier "local_5c")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_1[local_5c] != '\0')" (( "(") (binary_expression "param_1[local_5c] != '\0'" (subscript_expression "param_1[local_5c]" (identifier "param_1") ([ "[") (identifier "local_5c") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (; ";"))) (labeled_statement "LAB_0011d994:\n  if (param_1[local_5c] != *PTR_history_expansion_char_00156fcc) {\n    (*(code *)PTR_xfree_00156bb4)(puVar4);\n    iVar22 = (*(code *)PTR_strlen_00158444)(param_1);\n    uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);\n    uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);\n    *param_2 = uVar12;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }" (statement_identifier "LAB_0011d994") (: ":") (if_statement "if (param_1[local_5c] != *PTR_history_expansion_char_00156fcc) {\n    (*(code *)PTR_xfree_00156bb4)(puVar4);\n    iVar22 = (*(code *)PTR_strlen_00158444)(param_1);\n    uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);\n    uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);\n    *param_2 = uVar12;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }" (if "if") (parenthesized_expression "(param_1[local_5c] != *PTR_history_expansion_char_00156fcc)" (( "(") (binary_expression "param_1[local_5c] != *PTR_history_expansion_char_00156fcc" (subscript_expression "param_1[local_5c]" (identifier "param_1") ([ "[") (identifier "local_5c") (] "]")) (!= "!=") (pointer_expression "*PTR_history_expansion_char_00156fcc" (* "*") (identifier "PTR_history_expansion_char_00156fcc"))) () ")")) (compound_statement "{\n    (*(code *)PTR_xfree_00156bb4)(puVar4);\n    iVar22 = (*(code *)PTR_strlen_00158444)(param_1);\n    uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);\n    uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);\n    *param_2 = uVar12;\n    uVar3 = 0;\n    goto LAB_0011f678;\n  }" ({ "{") (expression_statement "(*(code *)PTR_xfree_00156bb4)(puVar4);" (call_expression "(*(code *)PTR_xfree_00156bb4)(puVar4)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" (( "(") (pointer_expression "*(code *)PTR_xfree_00156bb4" (* "*") (cast_expression "(code *)PTR_xfree_00156bb4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xfree_00156bb4"))) () ")")) (argument_list "(puVar4)" (( "(") (identifier "puVar4") () ")"))) (; ";")) (expression_statement "iVar22 = (*(code *)PTR_strlen_00158444)(param_1);" (assignment_expression "iVar22 = (*(code *)PTR_strlen_00158444)(param_1)" (identifier "iVar22") (= "=") (call_expression "(*(code *)PTR_strlen_00158444)(param_1)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" (( "(") (pointer_expression "*(code *)PTR_strlen_00158444" (* "*") (cast_expression "(code *)PTR_strlen_00158444" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00158444"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);" (assignment_expression "uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1)" (identifier "uVar12") (= "=") (call_expression "(*(code *)PTR_xmalloc_001565b8)(iVar22 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" (( "(") (pointer_expression "*(code *)PTR_xmalloc_001565b8" (* "*") (cast_expression "(code *)PTR_xmalloc_001565b8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xmalloc_001565b8"))) () ")")) (argument_list "(iVar22 + 1)" (( "(") (binary_expression "iVar22 + 1" (identifier "iVar22") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);" (assignment_expression "uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1)" (identifier "uVar12") (= "=") (call_expression "(*(code *)PTR_strcpy_001584cc)(uVar12,param_1)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" (( "(") (pointer_expression "*(code *)PTR_strcpy_001584cc" (* "*") (cast_expression "(code *)PTR_strcpy_001584cc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcpy_001584cc"))) () ")")) (argument_list "(uVar12,param_1)" (( "(") (identifier "uVar12") (, ",") (identifier "param_1") () ")")))) (; ";")) (expression_statement "*param_2 = uVar12;" (assignment_expression "*param_2 = uVar12" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "uVar12")) (; ";")) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_0011f678;" (goto "goto") (statement_identifier "LAB_0011f678") (; ";")) (} "}")))) (labeled_statement "LAB_0011d9ac:\n  local_c4 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);" (statement_identifier "LAB_0011d9ac") (: ":") (expression_statement "local_c4 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);" (assignment_expression "local_c4 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22)" (identifier "local_c4") (= "=") (call_expression "(uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(int *)PTR_history_quoting_state_001569a0 == 0x22)" (( "(") (binary_expression "*(int *)PTR_history_quoting_state_001569a0 == 0x22" (pointer_expression "*(int *)PTR_history_quoting_state_001569a0" (* "*") (cast_expression "(int *)PTR_history_quoting_state_001569a0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_history_quoting_state_001569a0"))) (== "==") (number_literal "0x22")) () ")")))) (; ";"))) (expression_statement "local_5c = 0;" (assignment_expression "local_5c = 0" (identifier "local_5c") (= "=") (number_literal "0")) (; ";")) (if_statement "if (*(int *)PTR_history_quoting_state_001569a0 == 0x27) {\n    iVar22 = 0x100;\n    if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n      local_b0 = 1;\n      iVar11 = 0;\n    }\n    else {\n      FUN_0011c170(pcVar6,&local_5c,0);\n      if (local_5c < 1) {\n        if (pcVar6[local_5c] == '\0') {\n          iVar22 = 0x100;\n          local_b0 = 0;\n          iVar11 = 0;\n        }\n        else {\n          iVar20 = 0;\n          iVar22 = 0x100;\nLAB_0011dbe0:\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[local_5c];\n          puVar4[iVar11] = 0;\n          local_5c = local_5c + 1;\n          local_b0 = 0;\n        }\n      }\n      else {\n        iVar22 = 0x100;\n        iVar20 = 0;\n        while( true ) {\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[iVar20];\n          puVar4[iVar11] = 0;\n          if (local_5c <= iVar11) break;\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n        }\n        if (pcVar6[local_5c] != '\0') {\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }\n    }\n  }\n  else {\n    iVar22 = 0x100;\n    local_b0 = 0;\n    iVar11 = 0;\n  }" (if "if") (parenthesized_expression "(*(int *)PTR_history_quoting_state_001569a0 == 0x27)" (( "(") (binary_expression "*(int *)PTR_history_quoting_state_001569a0 == 0x27" (pointer_expression "*(int *)PTR_history_quoting_state_001569a0" (* "*") (cast_expression "(int *)PTR_history_quoting_state_001569a0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_history_quoting_state_001569a0"))) (== "==") (number_literal "0x27")) () ")")) (compound_statement "{\n    iVar22 = 0x100;\n    if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n      local_b0 = 1;\n      iVar11 = 0;\n    }\n    else {\n      FUN_0011c170(pcVar6,&local_5c,0);\n      if (local_5c < 1) {\n        if (pcVar6[local_5c] == '\0') {\n          iVar22 = 0x100;\n          local_b0 = 0;\n          iVar11 = 0;\n        }\n        else {\n          iVar20 = 0;\n          iVar22 = 0x100;\nLAB_0011dbe0:\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[local_5c];\n          puVar4[iVar11] = 0;\n          local_5c = local_5c + 1;\n          local_b0 = 0;\n        }\n      }\n      else {\n        iVar22 = 0x100;\n        iVar20 = 0;\n        while( true ) {\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[iVar20];\n          puVar4[iVar11] = 0;\n          if (local_5c <= iVar11) break;\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n        }\n        if (pcVar6[local_5c] != '\0') {\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }\n    }\n  }" ({ "{") (expression_statement "iVar22 = 0x100;" (assignment_expression "iVar22 = 0x100" (identifier "iVar22") (= "=") (number_literal "0x100")) (; ";")) (if_statement "if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n      local_b0 = 1;\n      iVar11 = 0;\n    }\n    else {\n      FUN_0011c170(pcVar6,&local_5c,0);\n      if (local_5c < 1) {\n        if (pcVar6[local_5c] == '\0') {\n          iVar22 = 0x100;\n          local_b0 = 0;\n          iVar11 = 0;\n        }\n        else {\n          iVar20 = 0;\n          iVar22 = 0x100;\nLAB_0011dbe0:\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[local_5c];\n          puVar4[iVar11] = 0;\n          local_5c = local_5c + 1;\n          local_b0 = 0;\n        }\n      }\n      else {\n        iVar22 = 0x100;\n        iVar20 = 0;\n        while( true ) {\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[iVar20];\n          puVar4[iVar11] = 0;\n          if (local_5c <= iVar11) break;\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n        }\n        if (pcVar6[local_5c] != '\0') {\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }\n    }" (if "if") (parenthesized_expression "(*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)" (( "(") (binary_expression "*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0" (pointer_expression "*(int *)PTR_history_quotes_inhibit_expansion_00157524" (* "*") (cast_expression "(int *)PTR_history_quotes_inhibit_expansion_00157524" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_history_quotes_inhibit_expansion_00157524"))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      local_b0 = 1;\n      iVar11 = 0;\n    }" ({ "{") (expression_statement "local_b0 = 1;" (assignment_expression "local_b0 = 1" (identifier "local_b0") (= "=") (number_literal "1")) (; ";")) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" (identifier "iVar11") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      FUN_0011c170(pcVar6,&local_5c,0);\n      if (local_5c < 1) {\n        if (pcVar6[local_5c] == '\0') {\n          iVar22 = 0x100;\n          local_b0 = 0;\n          iVar11 = 0;\n        }\n        else {\n          iVar20 = 0;\n          iVar22 = 0x100;\nLAB_0011dbe0:\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[local_5c];\n          puVar4[iVar11] = 0;\n          local_5c = local_5c + 1;\n          local_b0 = 0;\n        }\n      }\n      else {\n        iVar22 = 0x100;\n        iVar20 = 0;\n        while( true ) {\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[iVar20];\n          puVar4[iVar11] = 0;\n          if (local_5c <= iVar11) break;\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n        }\n        if (pcVar6[local_5c] != '\0') {\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }\n    }" (else "else") (compound_statement "{\n      FUN_0011c170(pcVar6,&local_5c,0);\n      if (local_5c < 1) {\n        if (pcVar6[local_5c] == '\0') {\n          iVar22 = 0x100;\n          local_b0 = 0;\n          iVar11 = 0;\n        }\n        else {\n          iVar20 = 0;\n          iVar22 = 0x100;\nLAB_0011dbe0:\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[local_5c];\n          puVar4[iVar11] = 0;\n          local_5c = local_5c + 1;\n          local_b0 = 0;\n        }\n      }\n      else {\n        iVar22 = 0x100;\n        iVar20 = 0;\n        while( true ) {\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[iVar20];\n          puVar4[iVar11] = 0;\n          if (local_5c <= iVar11) break;\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n        }\n        if (pcVar6[local_5c] != '\0') {\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }\n    }" ({ "{") (expression_statement "FUN_0011c170(pcVar6,&local_5c,0);" (call_expression "FUN_0011c170(pcVar6,&local_5c,0)" (identifier "FUN_0011c170") (argument_list "(pcVar6,&local_5c,0)" (( "(") (identifier "pcVar6") (, ",") (pointer_expression "&local_5c" (& "&") (identifier "local_5c")) (, ",") (number_literal "0") () ")"))) (; ";")) (if_statement "if (local_5c < 1) {\n        if (pcVar6[local_5c] == '\0') {\n          iVar22 = 0x100;\n          local_b0 = 0;\n          iVar11 = 0;\n        }\n        else {\n          iVar20 = 0;\n          iVar22 = 0x100;\nLAB_0011dbe0:\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[local_5c];\n          puVar4[iVar11] = 0;\n          local_5c = local_5c + 1;\n          local_b0 = 0;\n        }\n      }\n      else {\n        iVar22 = 0x100;\n        iVar20 = 0;\n        while( true ) {\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[iVar20];\n          puVar4[iVar11] = 0;\n          if (local_5c <= iVar11) break;\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n        }\n        if (pcVar6[local_5c] != '\0') {\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }" (if "if") (parenthesized_expression "(local_5c < 1)" (( "(") (binary_expression "local_5c < 1" (identifier "local_5c") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n        if (pcVar6[local_5c] == '\0') {\n          iVar22 = 0x100;\n          local_b0 = 0;\n          iVar11 = 0;\n        }\n        else {\n          iVar20 = 0;\n          iVar22 = 0x100;\nLAB_0011dbe0:\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[local_5c];\n          puVar4[iVar11] = 0;\n          local_5c = local_5c + 1;\n          local_b0 = 0;\n        }\n      }" ({ "{") (if_statement "if (pcVar6[local_5c] == '\0') {\n          iVar22 = 0x100;\n          local_b0 = 0;\n          iVar11 = 0;\n        }\n        else {\n          iVar20 = 0;\n          iVar22 = 0x100;\nLAB_0011dbe0:\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[local_5c];\n          puVar4[iVar11] = 0;\n          local_5c = local_5c + 1;\n          local_b0 = 0;\n        }" (if "if") (parenthesized_expression "(pcVar6[local_5c] == '\0')" (( "(") (binary_expression "pcVar6[local_5c] == '\0'" (subscript_expression "pcVar6[local_5c]" (identifier "pcVar6") ([ "[") (identifier "local_5c") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          iVar22 = 0x100;\n          local_b0 = 0;\n          iVar11 = 0;\n        }" ({ "{") (expression_statement "iVar22 = 0x100;" (assignment_expression "iVar22 = 0x100" (identifier "iVar22") (= "=") (number_literal "0x100")) (; ";")) (expression_statement "local_b0 = 0;" (assignment_expression "local_b0 = 0" (identifier "local_b0") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" (identifier "iVar11") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n          iVar20 = 0;\n          iVar22 = 0x100;\nLAB_0011dbe0:\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[local_5c];\n          puVar4[iVar11] = 0;\n          local_5c = local_5c + 1;\n          local_b0 = 0;\n        }" (else "else") (compound_statement "{\n          iVar20 = 0;\n          iVar22 = 0x100;\nLAB_0011dbe0:\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[local_5c];\n          puVar4[iVar11] = 0;\n          local_5c = local_5c + 1;\n          local_b0 = 0;\n        }" ({ "{") (expression_statement "iVar20 = 0;" (assignment_expression "iVar20 = 0" (identifier "iVar20") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar22 = 0x100;" (assignment_expression "iVar22 = 0x100" (identifier "iVar22") (= "=") (number_literal "0x100")) (; ";")) (labeled_statement "LAB_0011dbe0:\n          iVar11 = iVar20 + 1;" (statement_identifier "LAB_0011dbe0") (: ":") (expression_statement "iVar11 = iVar20 + 1;" (assignment_expression "iVar11 = iVar20 + 1" (identifier "iVar11") (= "=") (binary_expression "iVar20 + 1" (identifier "iVar20") (+ "+") (number_literal "1"))) (; ";"))) (expression_statement "puVar4[iVar20] = pcVar6[local_5c];" (assignment_expression "puVar4[iVar20] = pcVar6[local_5c]" (subscript_expression "puVar4[iVar20]" (identifier "puVar4") ([ "[") (identifier "iVar20") (] "]")) (= "=") (subscript_expression "pcVar6[local_5c]" (identifier "pcVar6") ([ "[") (identifier "local_5c") (] "]"))) (; ";")) (expression_statement "puVar4[iVar11] = 0;" (assignment_expression "puVar4[iVar11] = 0" (subscript_expression "puVar4[iVar11]" (identifier "puVar4") ([ "[") (identifier "iVar11") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_5c = local_5c + 1;" (assignment_expression "local_5c = local_5c + 1" (identifier "local_5c") (= "=") (binary_expression "local_5c + 1" (identifier "local_5c") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_b0 = 0;" (assignment_expression "local_b0 = 0" (identifier "local_b0") (= "=") (number_literal "0")) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n        iVar22 = 0x100;\n        iVar20 = 0;\n        while( true ) {\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[iVar20];\n          puVar4[iVar11] = 0;\n          if (local_5c <= iVar11) break;\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n        }\n        if (pcVar6[local_5c] != '\0') {\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }" (else "else") (compound_statement "{\n        iVar22 = 0x100;\n        iVar20 = 0;\n        while( true ) {\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[iVar20];\n          puVar4[iVar11] = 0;\n          if (local_5c <= iVar11) break;\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n        }\n        if (pcVar6[local_5c] != '\0') {\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          goto LAB_0011dbe0;\n        }\n        local_b0 = 0;\n      }" ({ "{") (expression_statement "iVar22 = 0x100;" (assignment_expression "iVar22 = 0x100" (identifier "iVar22") (= "=") (number_literal "0x100")) (; ";")) (expression_statement "iVar20 = 0;" (assignment_expression "iVar20 = 0" (identifier "iVar20") (= "=") (number_literal "0")) (; ";")) (while_statement "while( true ) {\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[iVar20];\n          puVar4[iVar11] = 0;\n          if (local_5c <= iVar11) break;\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n        }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n          iVar11 = iVar20 + 1;\n          puVar4[iVar20] = pcVar6[iVar20];\n          puVar4[iVar11] = 0;\n          if (local_5c <= iVar11) break;\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n        }" ({ "{") (expression_statement "iVar11 = iVar20 + 1;" (assignment_expression "iVar11 = iVar20 + 1" (identifier "iVar11") (= "=") (binary_expression "iVar20 + 1" (identifier "iVar20") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar4[iVar20] = pcVar6[iVar20];" (assignment_expression "puVar4[iVar20] = pcVar6[iVar20]" (subscript_expression "puVar4[iVar20]" (identifier "puVar4") ([ "[") (identifier "iVar20") (] "]")) (= "=") (subscript_expression "pcVar6[iVar20]" (identifier "pcVar6") ([ "[") (identifier "iVar20") (] "]"))) (; ";")) (expression_statement "puVar4[iVar11] = 0;" (assignment_expression "puVar4[iVar11] = 0" (subscript_expression "puVar4[iVar11]" (identifier "puVar4") ([ "[") (identifier "iVar11") (] "]")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (local_5c <= iVar11) break;" (if "if") (parenthesized_expression "(local_5c <= iVar11)" (( "(") (binary_expression "local_5c <= iVar11" (identifier "local_5c") (<= "<=") (identifier "iVar11")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar20 = iVar11;" (assignment_expression "iVar20 = iVar11" (identifier "iVar20") (= "=") (identifier "iVar11")) (; ";")) (if_statement "if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }" (if "if") (parenthesized_expression "(iVar22 + -1 <= iVar11)" (( "(") (binary_expression "iVar22 + -1 <= iVar11" (binary_expression "iVar22 + -1" (identifier "iVar22") (+ "+") (number_literal "-1")) (<= "<=") (identifier "iVar11")) () ")")) (compound_statement "{\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }" ({ "{") (expression_statement "iVar22 = iVar22 + 0x40;" (assignment_expression "iVar22 = iVar22 + 0x40" (identifier "iVar22") (= "=") (binary_expression "iVar22 + 0x40" (identifier "iVar22") (+ "+") (number_literal "0x40"))) (; ";")) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (identifier "puVar4") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" (( "(") (pointer_expression "*(code *)PTR_xrealloc_0015673c" (* "*") (cast_expression "(code *)PTR_xrealloc_0015673c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xrealloc_0015673c"))) () ")")) (argument_list "(puVar4,iVar22)" (( "(") (identifier "puVar4") (, ",") (identifier "iVar22") () ")"))))) (; ";")) (} "}"))) (} "}"))) (if_statement "if (pcVar6[local_5c] != '\0') {\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          goto LAB_0011dbe0;\n        }" (if "if") (parenthesized_expression "(pcVar6[local_5c] != '\0')" (( "(") (binary_expression "pcVar6[local_5c] != '\0'" (subscript_expression "pcVar6[local_5c]" (identifier "pcVar6") ([ "[") (identifier "local_5c") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          iVar20 = iVar11;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          goto LAB_0011dbe0;\n        }" ({ "{") (expression_statement "iVar20 = iVar11;" (assignment_expression "iVar20 = iVar11" (identifier "iVar20") (= "=") (identifier "iVar11")) (; ";")) (if_statement "if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }" (if "if") (parenthesized_expression "(iVar22 + -1 <= iVar11)" (( "(") (binary_expression "iVar22 + -1 <= iVar11" (binary_expression "iVar22 + -1" (identifier "iVar22") (+ "+") (number_literal "-1")) (<= "<=") (identifier "iVar11")) () ")")) (compound_statement "{\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }" ({ "{") (expression_statement "iVar22 = iVar22 + 0x40;" (assignment_expression "iVar22 = iVar22 + 0x40" (identifier "iVar22") (= "=") (binary_expression "iVar22 + 0x40" (identifier "iVar22") (+ "+") (number_literal "0x40"))) (; ";")) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (identifier "puVar4") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" (( "(") (pointer_expression "*(code *)PTR_xrealloc_0015673c" (* "*") (cast_expression "(code *)PTR_xrealloc_0015673c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xrealloc_0015673c"))) () ")")) (argument_list "(puVar4,iVar22)" (( "(") (identifier "puVar4") (, ",") (identifier "iVar22") () ")"))))) (; ";")) (} "}"))) (goto_statement "goto LAB_0011dbe0;" (goto "goto") (statement_identifier "LAB_0011dbe0") (; ";")) (} "}"))) (expression_statement "local_b0 = 0;" (assignment_expression "local_b0 = 0" (identifier "local_b0") (= "=") (number_literal "0")) (; ";")) (} "}")))) (} "}")))) (} "}")) (else_clause "else {\n    iVar22 = 0x100;\n    local_b0 = 0;\n    iVar11 = 0;\n  }" (else "else") (compound_statement "{\n    iVar22 = 0x100;\n    local_b0 = 0;\n    iVar11 = 0;\n  }" ({ "{") (expression_statement "iVar22 = 0x100;" (assignment_expression "iVar22 = 0x100" (identifier "iVar22") (= "=") (number_literal "0x100")) (; ";")) (expression_statement "local_b0 = 0;" (assignment_expression "local_b0 = 0" (identifier "local_b0") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" (identifier "iVar11") (= "=") (number_literal "0")) (; ";")) (} "}")))) (expression_statement "puVar2 = PTR_DAT_001565b0;" (assignment_expression "puVar2 = PTR_DAT_001565b0" (identifier "puVar2") (= "=") (identifier "PTR_DAT_001565b0")) (; ";")) (expression_statement "puVar23 = PTR_DAT_0015656c;" (assignment_expression "puVar23 = PTR_DAT_0015656c" (identifier "puVar23") (= "=") (identifier "PTR_DAT_0015656c")) (; ";")) (if_statement "if (local_5c < local_c8) {\n    local_a8 = 0;\n    uVar3 = 0;\n    do {\n      cVar1 = pcVar6[local_5c];\n      if (uVar3 == 0) {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((1 < uVar10) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {\n          local_3c[0] = 0;\n          local_3c[1] = 0;\n          local_3c[2] = 0;\n          local_3c[3] = 0;\n          piVar19 = local_3c;\n          cVar14 = cVar1;\n          do {\n            *(char *)piVar19 = cVar14;\n            local_58[2] = 0;\n            local_58[3] = 0;\n            iVar20 = _rl_get_char_len(local_3c,local_58 + 2);\n            if (iVar20 != -2) break;\n            local_5c = local_5c + 1;\n            piVar19 = (int *)((int)piVar19 + 1);\n            cVar14 = pcVar6[local_5c];\n          } while (local_3c + 4 != piVar19);\n          uVar10 = (*(code *)PTR_strlen_00158444)(local_3c);\n          if (1 < uVar10) {\n            iVar20 = iVar11 + uVar10;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }\n        iVar20 = local_5c;\n        if (*PTR_history_expansion_char_00156fcc == cVar1) {\nLAB_0011e340:\n          iVar15 = (int)pcVar6[local_5c + 1];\n          if ((((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))) {\n            iVar20 = local_5c;\n            uVar12 = 0x27;\n            if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }\n            local_58[4] = 0;\n            local_58[5] = 0;\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            local_58[0] = iVar20;\n            iVar15 = (int)pcVar6[iVar20 + 1];\n            if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }\n            local_58[0] = iVar18;\n            iVar15 = local_58[0];\n            if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *param_2 = uVar12;\n            (*(code *)PTR_xfree_00156bb4)(puVar4);\n            if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }\n      }\n      else {\n        if (iVar22 + -1 <= iVar11) {\n          iVar22 = iVar22 + 0x40;\n          puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n        }\n        puVar4[iVar11] = cVar1;\n        puVar4[iVar11 + 1] = 0;\n        uVar3 = 0;\n        iVar20 = iVar11 + 1;\n      }\nLAB_0011dc80:\n      local_5c = local_5c + 1;\n      iVar11 = iVar20;\n    } while (local_5c < local_c8);\n    *param_2 = puVar4;\n    if (pcVar6 != param_1) {\nLAB_0011f650:\n      (*(code *)PTR_xfree_00156bb4)(pcVar6);\n    }\n  }\n  else {\n    *param_2 = puVar4;\n    if (pcVar6 != param_1) {\n      local_a8 = 0;\n      goto LAB_0011f650;\n    }\n    local_a8 = 0;\n  }" (if "if") (parenthesized_expression "(local_5c < local_c8)" (( "(") (binary_expression "local_5c < local_c8" (identifier "local_5c") (< "<") (identifier "local_c8")) () ")")) (compound_statement "{\n    local_a8 = 0;\n    uVar3 = 0;\n    do {\n      cVar1 = pcVar6[local_5c];\n      if (uVar3 == 0) {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((1 < uVar10) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {\n          local_3c[0] = 0;\n          local_3c[1] = 0;\n          local_3c[2] = 0;\n          local_3c[3] = 0;\n          piVar19 = local_3c;\n          cVar14 = cVar1;\n          do {\n            *(char *)piVar19 = cVar14;\n            local_58[2] = 0;\n            local_58[3] = 0;\n            iVar20 = _rl_get_char_len(local_3c,local_58 + 2);\n            if (iVar20 != -2) break;\n            local_5c = local_5c + 1;\n            piVar19 = (int *)((int)piVar19 + 1);\n            cVar14 = pcVar6[local_5c];\n          } while (local_3c + 4 != piVar19);\n          uVar10 = (*(code *)PTR_strlen_00158444)(local_3c);\n          if (1 < uVar10) {\n            iVar20 = iVar11 + uVar10;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }\n        iVar20 = local_5c;\n        if (*PTR_history_expansion_char_00156fcc == cVar1) {\nLAB_0011e340:\n          iVar15 = (int)pcVar6[local_5c + 1];\n          if ((((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))) {\n            iVar20 = local_5c;\n            uVar12 = 0x27;\n            if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }\n            local_58[4] = 0;\n            local_58[5] = 0;\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            local_58[0] = iVar20;\n            iVar15 = (int)pcVar6[iVar20 + 1];\n            if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }\n            local_58[0] = iVar18;\n            iVar15 = local_58[0];\n            if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *param_2 = uVar12;\n            (*(code *)PTR_xfree_00156bb4)(puVar4);\n            if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }\n      }\n      else {\n        if (iVar22 + -1 <= iVar11) {\n          iVar22 = iVar22 + 0x40;\n          puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n        }\n        puVar4[iVar11] = cVar1;\n        puVar4[iVar11 + 1] = 0;\n        uVar3 = 0;\n        iVar20 = iVar11 + 1;\n      }\nLAB_0011dc80:\n      local_5c = local_5c + 1;\n      iVar11 = iVar20;\n    } while (local_5c < local_c8);\n    *param_2 = puVar4;\n    if (pcVar6 != param_1) {\nLAB_0011f650:\n      (*(code *)PTR_xfree_00156bb4)(pcVar6);\n    }\n  }" ({ "{") (expression_statement "local_a8 = 0;" (assignment_expression "local_a8 = 0" (identifier "local_a8") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      cVar1 = pcVar6[local_5c];\n      if (uVar3 == 0) {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((1 < uVar10) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {\n          local_3c[0] = 0;\n          local_3c[1] = 0;\n          local_3c[2] = 0;\n          local_3c[3] = 0;\n          piVar19 = local_3c;\n          cVar14 = cVar1;\n          do {\n            *(char *)piVar19 = cVar14;\n            local_58[2] = 0;\n            local_58[3] = 0;\n            iVar20 = _rl_get_char_len(local_3c,local_58 + 2);\n            if (iVar20 != -2) break;\n            local_5c = local_5c + 1;\n            piVar19 = (int *)((int)piVar19 + 1);\n            cVar14 = pcVar6[local_5c];\n          } while (local_3c + 4 != piVar19);\n          uVar10 = (*(code *)PTR_strlen_00158444)(local_3c);\n          if (1 < uVar10) {\n            iVar20 = iVar11 + uVar10;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }\n        iVar20 = local_5c;\n        if (*PTR_history_expansion_char_00156fcc == cVar1) {\nLAB_0011e340:\n          iVar15 = (int)pcVar6[local_5c + 1];\n          if ((((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))) {\n            iVar20 = local_5c;\n            uVar12 = 0x27;\n            if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }\n            local_58[4] = 0;\n            local_58[5] = 0;\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            local_58[0] = iVar20;\n            iVar15 = (int)pcVar6[iVar20 + 1];\n            if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }\n            local_58[0] = iVar18;\n            iVar15 = local_58[0];\n            if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *param_2 = uVar12;\n            (*(code *)PTR_xfree_00156bb4)(puVar4);\n            if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }\n      }\n      else {\n        if (iVar22 + -1 <= iVar11) {\n          iVar22 = iVar22 + 0x40;\n          puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n        }\n        puVar4[iVar11] = cVar1;\n        puVar4[iVar11 + 1] = 0;\n        uVar3 = 0;\n        iVar20 = iVar11 + 1;\n      }\nLAB_0011dc80:\n      local_5c = local_5c + 1;\n      iVar11 = iVar20;\n    } while (local_5c < local_c8);" (do "do") (compound_statement "{\n      cVar1 = pcVar6[local_5c];\n      if (uVar3 == 0) {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((1 < uVar10) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {\n          local_3c[0] = 0;\n          local_3c[1] = 0;\n          local_3c[2] = 0;\n          local_3c[3] = 0;\n          piVar19 = local_3c;\n          cVar14 = cVar1;\n          do {\n            *(char *)piVar19 = cVar14;\n            local_58[2] = 0;\n            local_58[3] = 0;\n            iVar20 = _rl_get_char_len(local_3c,local_58 + 2);\n            if (iVar20 != -2) break;\n            local_5c = local_5c + 1;\n            piVar19 = (int *)((int)piVar19 + 1);\n            cVar14 = pcVar6[local_5c];\n          } while (local_3c + 4 != piVar19);\n          uVar10 = (*(code *)PTR_strlen_00158444)(local_3c);\n          if (1 < uVar10) {\n            iVar20 = iVar11 + uVar10;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }\n        iVar20 = local_5c;\n        if (*PTR_history_expansion_char_00156fcc == cVar1) {\nLAB_0011e340:\n          iVar15 = (int)pcVar6[local_5c + 1];\n          if ((((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))) {\n            iVar20 = local_5c;\n            uVar12 = 0x27;\n            if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }\n            local_58[4] = 0;\n            local_58[5] = 0;\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            local_58[0] = iVar20;\n            iVar15 = (int)pcVar6[iVar20 + 1];\n            if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }\n            local_58[0] = iVar18;\n            iVar15 = local_58[0];\n            if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *param_2 = uVar12;\n            (*(code *)PTR_xfree_00156bb4)(puVar4);\n            if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }\n      }\n      else {\n        if (iVar22 + -1 <= iVar11) {\n          iVar22 = iVar22 + 0x40;\n          puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n        }\n        puVar4[iVar11] = cVar1;\n        puVar4[iVar11 + 1] = 0;\n        uVar3 = 0;\n        iVar20 = iVar11 + 1;\n      }\nLAB_0011dc80:\n      local_5c = local_5c + 1;\n      iVar11 = iVar20;\n    }" ({ "{") (expression_statement "cVar1 = pcVar6[local_5c];" (assignment_expression "cVar1 = pcVar6[local_5c]" (identifier "cVar1") (= "=") (subscript_expression "pcVar6[local_5c]" (identifier "pcVar6") ([ "[") (identifier "local_5c") (] "]"))) (; ";")) (if_statement "if (uVar3 == 0) {\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((1 < uVar10) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {\n          local_3c[0] = 0;\n          local_3c[1] = 0;\n          local_3c[2] = 0;\n          local_3c[3] = 0;\n          piVar19 = local_3c;\n          cVar14 = cVar1;\n          do {\n            *(char *)piVar19 = cVar14;\n            local_58[2] = 0;\n            local_58[3] = 0;\n            iVar20 = _rl_get_char_len(local_3c,local_58 + 2);\n            if (iVar20 != -2) break;\n            local_5c = local_5c + 1;\n            piVar19 = (int *)((int)piVar19 + 1);\n            cVar14 = pcVar6[local_5c];\n          } while (local_3c + 4 != piVar19);\n          uVar10 = (*(code *)PTR_strlen_00158444)(local_3c);\n          if (1 < uVar10) {\n            iVar20 = iVar11 + uVar10;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }\n        iVar20 = local_5c;\n        if (*PTR_history_expansion_char_00156fcc == cVar1) {\nLAB_0011e340:\n          iVar15 = (int)pcVar6[local_5c + 1];\n          if ((((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))) {\n            iVar20 = local_5c;\n            uVar12 = 0x27;\n            if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }\n            local_58[4] = 0;\n            local_58[5] = 0;\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            local_58[0] = iVar20;\n            iVar15 = (int)pcVar6[iVar20 + 1];\n            if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }\n            local_58[0] = iVar18;\n            iVar15 = local_58[0];\n            if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *param_2 = uVar12;\n            (*(code *)PTR_xfree_00156bb4)(puVar4);\n            if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }\n      }\n      else {\n        if (iVar22 + -1 <= iVar11) {\n          iVar22 = iVar22 + 0x40;\n          puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n        }\n        puVar4[iVar11] = cVar1;\n        puVar4[iVar11 + 1] = 0;\n        uVar3 = 0;\n        iVar20 = iVar11 + 1;\n      }" (if "if") (parenthesized_expression "(uVar3 == 0)" (( "(") (binary_expression "uVar3 == 0" (identifier "uVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();\n        if ((1 < uVar10) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {\n          local_3c[0] = 0;\n          local_3c[1] = 0;\n          local_3c[2] = 0;\n          local_3c[3] = 0;\n          piVar19 = local_3c;\n          cVar14 = cVar1;\n          do {\n            *(char *)piVar19 = cVar14;\n            local_58[2] = 0;\n            local_58[3] = 0;\n            iVar20 = _rl_get_char_len(local_3c,local_58 + 2);\n            if (iVar20 != -2) break;\n            local_5c = local_5c + 1;\n            piVar19 = (int *)((int)piVar19 + 1);\n            cVar14 = pcVar6[local_5c];\n          } while (local_3c + 4 != piVar19);\n          uVar10 = (*(code *)PTR_strlen_00158444)(local_3c);\n          if (1 < uVar10) {\n            iVar20 = iVar11 + uVar10;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }\n        iVar20 = local_5c;\n        if (*PTR_history_expansion_char_00156fcc == cVar1) {\nLAB_0011e340:\n          iVar15 = (int)pcVar6[local_5c + 1];\n          if ((((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))) {\n            iVar20 = local_5c;\n            uVar12 = 0x27;\n            if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }\n            local_58[4] = 0;\n            local_58[5] = 0;\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            local_58[0] = iVar20;\n            iVar15 = (int)pcVar6[iVar20 + 1];\n            if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }\n            local_58[0] = iVar18;\n            iVar15 = local_58[0];\n            if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *param_2 = uVar12;\n            (*(code *)PTR_xfree_00156bb4)(puVar4);\n            if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }\n      }" ({ "{") (expression_statement "uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();" (assignment_expression "uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)()" (identifier "uVar10") (= "=") (call_expression "(*(code *)PTR___ctype_get_mb_cur_max_001584e0)()" (parenthesized_expression "(*(code *)PTR___ctype_get_mb_cur_max_001584e0)" (( "(") (pointer_expression "*(code *)PTR___ctype_get_mb_cur_max_001584e0" (* "*") (cast_expression "(code *)PTR___ctype_get_mb_cur_max_001584e0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___ctype_get_mb_cur_max_001584e0"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if ((1 < uVar10) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {\n          local_3c[0] = 0;\n          local_3c[1] = 0;\n          local_3c[2] = 0;\n          local_3c[3] = 0;\n          piVar19 = local_3c;\n          cVar14 = cVar1;\n          do {\n            *(char *)piVar19 = cVar14;\n            local_58[2] = 0;\n            local_58[3] = 0;\n            iVar20 = _rl_get_char_len(local_3c,local_58 + 2);\n            if (iVar20 != -2) break;\n            local_5c = local_5c + 1;\n            piVar19 = (int *)((int)piVar19 + 1);\n            cVar14 = pcVar6[local_5c];\n          } while (local_3c + 4 != piVar19);\n          uVar10 = (*(code *)PTR_strlen_00158444)(local_3c);\n          if (1 < uVar10) {\n            iVar20 = iVar11 + uVar10;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }" (if "if") (parenthesized_expression "((1 < uVar10) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0))" (( "(") (binary_expression "(1 < uVar10) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)" (parenthesized_expression "(1 < uVar10)" (( "(") (binary_expression "1 < uVar10" (number_literal "1") (< "<") (identifier "uVar10")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)PTR_rl_byte_oriented_00157e18 == 0)" (( "(") (binary_expression "*(int *)PTR_rl_byte_oriented_00157e18 == 0" (pointer_expression "*(int *)PTR_rl_byte_oriented_00157e18" (* "*") (cast_expression "(int *)PTR_rl_byte_oriented_00157e18" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_rl_byte_oriented_00157e18"))) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n          local_3c[0] = 0;\n          local_3c[1] = 0;\n          local_3c[2] = 0;\n          local_3c[3] = 0;\n          piVar19 = local_3c;\n          cVar14 = cVar1;\n          do {\n            *(char *)piVar19 = cVar14;\n            local_58[2] = 0;\n            local_58[3] = 0;\n            iVar20 = _rl_get_char_len(local_3c,local_58 + 2);\n            if (iVar20 != -2) break;\n            local_5c = local_5c + 1;\n            piVar19 = (int *)((int)piVar19 + 1);\n            cVar14 = pcVar6[local_5c];\n          } while (local_3c + 4 != piVar19);\n          uVar10 = (*(code *)PTR_strlen_00158444)(local_3c);\n          if (1 < uVar10) {\n            iVar20 = iVar11 + uVar10;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }\n        }" ({ "{") (expression_statement "local_3c[0] = 0;" (assignment_expression "local_3c[0] = 0" (subscript_expression "local_3c[0]" (identifier "local_3c") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_3c[1] = 0;" (assignment_expression "local_3c[1] = 0" (subscript_expression "local_3c[1]" (identifier "local_3c") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_3c[2] = 0;" (assignment_expression "local_3c[2] = 0" (subscript_expression "local_3c[2]" (identifier "local_3c") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_3c[3] = 0;" (assignment_expression "local_3c[3] = 0" (subscript_expression "local_3c[3]" (identifier "local_3c") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar19 = local_3c;" (assignment_expression "piVar19 = local_3c" (identifier "piVar19") (= "=") (identifier "local_3c")) (; ";")) (expression_statement "cVar14 = cVar1;" (assignment_expression "cVar14 = cVar1" (identifier "cVar14") (= "=") (identifier "cVar1")) (; ";")) (do_statement "do {\n            *(char *)piVar19 = cVar14;\n            local_58[2] = 0;\n            local_58[3] = 0;\n            iVar20 = _rl_get_char_len(local_3c,local_58 + 2);\n            if (iVar20 != -2) break;\n            local_5c = local_5c + 1;\n            piVar19 = (int *)((int)piVar19 + 1);\n            cVar14 = pcVar6[local_5c];\n          } while (local_3c + 4 != piVar19);" (do "do") (compound_statement "{\n            *(char *)piVar19 = cVar14;\n            local_58[2] = 0;\n            local_58[3] = 0;\n            iVar20 = _rl_get_char_len(local_3c,local_58 + 2);\n            if (iVar20 != -2) break;\n            local_5c = local_5c + 1;\n            piVar19 = (int *)((int)piVar19 + 1);\n            cVar14 = pcVar6[local_5c];\n          }" ({ "{") (expression_statement "*(char *)piVar19 = cVar14;" (assignment_expression "*(char *)piVar19 = cVar14" (pointer_expression "*(char *)piVar19" (* "*") (cast_expression "(char *)piVar19" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "piVar19"))) (= "=") (identifier "cVar14")) (; ";")) (expression_statement "local_58[2] = 0;" (assignment_expression "local_58[2] = 0" (subscript_expression "local_58[2]" (identifier "local_58") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_58[3] = 0;" (assignment_expression "local_58[3] = 0" (subscript_expression "local_58[3]" (identifier "local_58") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar20 = _rl_get_char_len(local_3c,local_58 + 2);" (assignment_expression "iVar20 = _rl_get_char_len(local_3c,local_58 + 2)" (identifier "iVar20") (= "=") (call_expression "_rl_get_char_len(local_3c,local_58 + 2)" (identifier "_rl_get_char_len") (argument_list "(local_3c,local_58 + 2)" (( "(") (identifier "local_3c") (, ",") (binary_expression "local_58 + 2" (identifier "local_58") (+ "+") (number_literal "2")) () ")")))) (; ";")) (if_statement "if (iVar20 != -2) break;" (if "if") (parenthesized_expression "(iVar20 != -2)" (( "(") (binary_expression "iVar20 != -2" (identifier "iVar20") (!= "!=") (number_literal "-2")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "local_5c = local_5c + 1;" (assignment_expression "local_5c = local_5c + 1" (identifier "local_5c") (= "=") (binary_expression "local_5c + 1" (identifier "local_5c") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar19 = (int *)((int)piVar19 + 1);" (assignment_expression "piVar19 = (int *)((int)piVar19 + 1)" (identifier "piVar19") (= "=") (cast_expression "(int *)((int)piVar19 + 1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar19 + 1)" (( "(") (binary_expression "(int)piVar19 + 1" (cast_expression "(int)piVar19" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar19")) (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "cVar14 = pcVar6[local_5c];" (assignment_expression "cVar14 = pcVar6[local_5c]" (identifier "cVar14") (= "=") (subscript_expression "pcVar6[local_5c]" (identifier "pcVar6") ([ "[") (identifier "local_5c") (] "]"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(local_3c + 4 != piVar19)" (( "(") (binary_expression "local_3c + 4 != piVar19" (binary_expression "local_3c + 4" (identifier "local_3c") (+ "+") (number_literal "4")) (!= "!=") (identifier "piVar19")) () ")")) (; ";")) (expression_statement "uVar10 = (*(code *)PTR_strlen_00158444)(local_3c);" (assignment_expression "uVar10 = (*(code *)PTR_strlen_00158444)(local_3c)" (identifier "uVar10") (= "=") (call_expression "(*(code *)PTR_strlen_00158444)(local_3c)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" (( "(") (pointer_expression "*(code *)PTR_strlen_00158444" (* "*") (cast_expression "(code *)PTR_strlen_00158444" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00158444"))) () ")")) (argument_list "(local_3c)" (( "(") (identifier "local_3c") () ")")))) (; ";")) (if_statement "if (1 < uVar10) {\n            iVar20 = iVar11 + uVar10;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }" (if "if") (parenthesized_expression "(1 < uVar10)" (( "(") (binary_expression "1 < uVar10" (number_literal "1") (< "<") (identifier "uVar10")) () ")")) (compound_statement "{\n            iVar20 = iVar11 + uVar10;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);\n            uVar3 = 0;\n            goto LAB_0011dc80;\n          }" ({ "{") (expression_statement "iVar20 = iVar11 + uVar10;" (assignment_expression "iVar20 = iVar11 + uVar10" (identifier "iVar20") (= "=") (binary_expression "iVar11 + uVar10" (identifier "iVar11") (+ "+") (identifier "uVar10"))) (; ";")) (expression_statement "iVar11 = iVar22;" (assignment_expression "iVar11 = iVar22" (identifier "iVar11") (= "=") (identifier "iVar22")) (; ";")) (if_statement "if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }" (if "if") (parenthesized_expression "(iVar22 <= iVar20)" (( "(") (binary_expression "iVar22 <= iVar20" (identifier "iVar22") (<= "<=") (identifier "iVar20")) () ")")) (compound_statement "{\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }" ({ "{") (do_statement "do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);" (do "do") (compound_statement "{\n                iVar11 = iVar11 + 0x80;\n              }" ({ "{") (expression_statement "iVar11 = iVar11 + 0x80;" (assignment_expression "iVar11 = iVar11 + 0x80" (identifier "iVar11") (= "=") (binary_expression "iVar11 + 0x80" (identifier "iVar11") (+ "+") (number_literal "0x80"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar11 <= iVar20)" (( "(") (binary_expression "iVar11 <= iVar20" (identifier "iVar11") (<= "<=") (identifier "iVar20")) () ")")) (; ";")) (expression_statement "iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);" (assignment_expression "iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U)" (identifier "iVar22") (= "=") (binary_expression "iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U)" (binary_expression "iVar22 + 0x80" (identifier "iVar22") (+ "+") (number_literal "0x80")) (+ "+") (parenthesized_expression "(iVar20 - iVar22 & 0xffffff80U)" (( "(") (binary_expression "iVar20 - iVar22 & 0xffffff80U" (binary_expression "iVar20 - iVar22" (identifier "iVar20") (- "-") (identifier "iVar22")) (& "&") (number_literal "0xffffff80U")) () ")")))) (; ";")) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (identifier "puVar4") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" (( "(") (pointer_expression "*(code *)PTR_xrealloc_0015673c" (* "*") (cast_expression "(code *)PTR_xrealloc_0015673c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xrealloc_0015673c"))) () ")")) (argument_list "(puVar4,iVar22)" (( "(") (identifier "puVar4") (, ",") (identifier "iVar22") () ")"))))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);" (call_expression "(*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" (( "(") (pointer_expression "*(code *)PTR_strcpy_001584cc" (* "*") (cast_expression "(code *)PTR_strcpy_001584cc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcpy_001584cc"))) () ")")) (argument_list "(puVar4 + (iVar20 - uVar10),local_3c)" (( "(") (binary_expression "puVar4 + (iVar20 - uVar10)" (identifier "puVar4") (+ "+") (parenthesized_expression "(iVar20 - uVar10)" (( "(") (binary_expression "iVar20 - uVar10" (identifier "iVar20") (- "-") (identifier "uVar10")) () ")"))) (, ",") (identifier "local_3c") () ")"))) (; ";")) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_0011dc80;" (goto "goto") (statement_identifier "LAB_0011dc80") (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar20 = local_5c;" (assignment_expression "iVar20 = local_5c" (identifier "iVar20") (= "=") (identifier "local_5c")) (; ";")) (if_statement "if (*PTR_history_expansion_char_00156fcc == cVar1) {\nLAB_0011e340:\n          iVar15 = (int)pcVar6[local_5c + 1];\n          if ((((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))) {\n            iVar20 = local_5c;\n            uVar12 = 0x27;\n            if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }\n            local_58[4] = 0;\n            local_58[5] = 0;\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            local_58[0] = iVar20;\n            iVar15 = (int)pcVar6[iVar20 + 1];\n            if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }\n            local_58[0] = iVar18;\n            iVar15 = local_58[0];\n            if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *param_2 = uVar12;\n            (*(code *)PTR_xfree_00156bb4)(puVar4);\n            if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }" (if "if") (parenthesized_expression "(*PTR_history_expansion_char_00156fcc == cVar1)" (( "(") (binary_expression "*PTR_history_expansion_char_00156fcc == cVar1" (pointer_expression "*PTR_history_expansion_char_00156fcc" (* "*") (identifier "PTR_history_expansion_char_00156fcc")) (== "==") (identifier "cVar1")) () ")")) (compound_statement "{\nLAB_0011e340:\n          iVar15 = (int)pcVar6[local_5c + 1];\n          if ((((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))) {\n            iVar20 = local_5c;\n            uVar12 = 0x27;\n            if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }\n            local_58[4] = 0;\n            local_58[5] = 0;\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            local_58[0] = iVar20;\n            iVar15 = (int)pcVar6[iVar20 + 1];\n            if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }\n            local_58[0] = iVar18;\n            iVar15 = local_58[0];\n            if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *param_2 = uVar12;\n            (*(code *)PTR_xfree_00156bb4)(puVar4);\n            if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }" ({ "{") (labeled_statement "LAB_0011e340:\n          iVar15 = (int)pcVar6[local_5c + 1];" (statement_identifier "LAB_0011e340") (: ":") (expression_statement "iVar15 = (int)pcVar6[local_5c + 1];" (assignment_expression "iVar15 = (int)pcVar6[local_5c + 1]" (identifier "iVar15") (= "=") (cast_expression "(int)pcVar6[local_5c + 1]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "pcVar6[local_5c + 1]" (identifier "pcVar6") ([ "[") (binary_expression "local_5c + 1" (identifier "local_5c") (+ "+") (number_literal "1")) (] "]")))) (; ";"))) (if_statement "if ((((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))) {\n            iVar20 = local_5c;\n            uVar12 = 0x27;\n            if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }\n            local_58[4] = 0;\n            local_58[5] = 0;\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            local_58[0] = iVar20;\n            iVar15 = (int)pcVar6[iVar20 + 1];\n            if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }\n            local_58[0] = iVar18;\n            iVar15 = local_58[0];\n            if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *param_2 = uVar12;\n            (*(code *)PTR_xfree_00156bb4)(puVar4);\n            if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }" (if "if") (parenthesized_expression "((((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0))))" (( "(") (binary_expression "(((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&\n             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))" (parenthesized_expression "(((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22))))" (( "(") (binary_expression "((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))" (parenthesized_expression "((iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0))" (( "(") (binary_expression "(iVar15 != 0) &&\n               (iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)" (parenthesized_expression "(iVar15 != 0)" (( "(") (binary_expression "iVar15 != 0" (identifier "iVar15") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0)" (( "(") (comma_expression "iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),\n               iVar18 == 0" (assignment_expression "iVar18 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15)" (identifier "iVar18") (= "=") (call_expression "(*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15)" (parenthesized_expression "(*(code *)PTR_strchr_0015844c)" (( "(") (pointer_expression "*(code *)PTR_strchr_0015844c" (* "*") (cast_expression "(code *)PTR_strchr_0015844c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strchr_0015844c"))) () ")")) (argument_list "(*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15)" (( "(") (pointer_expression "*(undefined4 *)PTR_history_no_expand_chars_00158260" (* "*") (cast_expression "(undefined4 *)PTR_history_no_expand_chars_00158260" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_history_no_expand_chars_00158260"))) (, ",") (identifier "iVar15") () ")")))) (, ",") (binary_expression "iVar18 == 0" (identifier "iVar18") (== "==") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((local_c4 == 0 || (iVar15 != 0x22)))" (( "(") (parenthesized_expression "(local_c4 == 0 || (iVar15 != 0x22))" (( "(") (binary_expression "local_c4 == 0 || (iVar15 != 0x22)" (binary_expression "local_c4 == 0" (identifier "local_c4") (== "==") (number_literal "0")) (|| "||") (parenthesized_expression "(iVar15 != 0x22)" (( "(") (binary_expression "iVar15 != 0x22" (identifier "iVar15") (!= "!=") (number_literal "0x22")) () ")"))) () ")")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)))" (( "(") (parenthesized_expression "(*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0))" (( "(") (binary_expression "*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||\n              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)" (binary_expression "*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0" (pointer_expression "*(code **)PTR_history_inhibit_expansion_function_0015752c" (* "*") (cast_expression "(code **)PTR_history_inhibit_expansion_function_0015752c" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_history_inhibit_expansion_function_0015752c"))) (== "==") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (|| "||") (parenthesized_expression "(iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0)" (( "(") (comma_expression "iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),\n              iVar20 == 0" (assignment_expression "iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20)" (identifier "iVar20") (= "=") (call_expression "(**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20)" (parenthesized_expression "(**(code **)PTR_history_inhibit_expansion_function_0015752c)" (( "(") (pointer_expression "**(code **)PTR_history_inhibit_expansion_function_0015752c" (* "*") (pointer_expression "*(code **)PTR_history_inhibit_expansion_function_0015752c" (* "*") (cast_expression "(code **)PTR_history_inhibit_expansion_function_0015752c" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_history_inhibit_expansion_function_0015752c")))) () ")")) (argument_list "(pcVar6,iVar20)" (( "(") (identifier "pcVar6") (, ",") (identifier "iVar20") () ")")))) (, ",") (binary_expression "iVar20 == 0" (identifier "iVar20") (== "==") (number_literal "0"))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n            iVar20 = local_5c;\n            uVar12 = 0x27;\n            if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }\n            local_58[4] = 0;\n            local_58[5] = 0;\n            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);\n            local_58[0] = iVar20;\n            iVar15 = (int)pcVar6[iVar20 + 1];\n            if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }\n            local_58[0] = iVar18;\n            iVar15 = local_58[0];\n            if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\nLAB_0011e9e8:\n            *param_2 = uVar12;\n            (*(code *)PTR_xfree_00156bb4)(puVar4);\n            if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }\n            goto LAB_0011f678;\n          }" ({ "{") (expression_statement "iVar20 = local_5c;" (assignment_expression "iVar20 = local_5c" (identifier "iVar20") (= "=") (identifier "local_5c")) (; ";")) (expression_statement "uVar12 = 0x27;" (assignment_expression "uVar12 = 0x27" (identifier "uVar12") (= "=") (number_literal "0x27")) (; ";")) (if_statement "if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {\n              uVar12 = 0;\n            }" (if "if") (parenthesized_expression "((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0))" (( "(") (binary_expression "(local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)" (parenthesized_expression "(local_b0 == 0)" (( "(") (binary_expression "local_b0 == 0" (identifier "local_b0") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(uVar12 = 0x22, local_c4 == 0)" (( "(") (comma_expression "uVar12 = 0x22, local_c4 == 0" (assignment_expression "uVar12 = 0x22" (identifier "uVar12") (= "=") (number_literal "0x22")) (, ",") (binary_expression "local_c4 == 0" (identifier "local_c4") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n              uVar12 = 0;\n            }" ({ "{") (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" (identifier "uVar12") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "local_58[4] = 0;" (assignment_expression "local_58[4] = 0" (subscript_expression "local_58[4]" (identifier "local_58") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_58[5] = 0;" (assignment_expression "local_58[5] = 0" (subscript_expression "local_58[5]" (identifier "local_58") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);" (assignment_expression "local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80)" (identifier "local_c0") (= "=") (cast_expression "(char *)(*(code *)PTR_xmalloc_001565b8)(0x80)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_xmalloc_001565b8)(0x80)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" (( "(") (pointer_expression "*(code *)PTR_xmalloc_001565b8" (* "*") (cast_expression "(code *)PTR_xmalloc_001565b8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xmalloc_001565b8"))) () ")")) (argument_list "(0x80)" (( "(") (number_literal "0x80") () ")"))))) (; ";")) (expression_statement "local_58[0] = iVar20;" (assignment_expression "local_58[0] = iVar20" (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "iVar20")) (; ";")) (expression_statement "iVar15 = (int)pcVar6[iVar20 + 1];" (assignment_expression "iVar15 = (int)pcVar6[iVar20 + 1]" (identifier "iVar15") (= "=") (cast_expression "(int)pcVar6[iVar20 + 1]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "pcVar6[iVar20 + 1]" (identifier "pcVar6") ([ "[") (binary_expression "iVar20 + 1" (identifier "iVar20") (+ "+") (number_literal "1")) (] "]")))) (; ";")) (if_statement "if (iVar15 == 0) {\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }\n            else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }" (if "if") (parenthesized_expression "(iVar15 == 0)" (( "(") (binary_expression "iVar15 == 0" (identifier "iVar15") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);\n              iVar18 = local_58[0];\n            }" ({ "{") (labeled_statement "LAB_0011e654:\n              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);" (statement_identifier "LAB_0011e654") (: ":") (expression_statement "puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);" (assignment_expression "puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12)" (identifier "puVar7") (= "=") (cast_expression "(undefined1 *)get_history_event(pcVar6,local_58,uVar12)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "get_history_event(pcVar6,local_58,uVar12)" (identifier "get_history_event") (argument_list "(pcVar6,local_58,uVar12)" (( "(") (identifier "pcVar6") (, ",") (identifier "local_58") (, ",") (identifier "uVar12") () ")"))))) (; ";"))) (expression_statement "iVar18 = local_58[0];" (assignment_expression "iVar18 = local_58[0]" (identifier "iVar18") (= "=") (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]"))) (; ";")) (} "}")) (else_clause "else {\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }" (else "else") (compound_statement "{\n              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);\n              if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }\n            }" ({ "{") (expression_statement "iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);" (assignment_expression "iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12)" (identifier "iVar18") (= "=") (call_expression "(*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12)" (parenthesized_expression "(*(code *)PTR_strchr_0015844c)" (( "(") (pointer_expression "*(code *)PTR_strchr_0015844c" (* "*") (cast_expression "(code *)PTR_strchr_0015844c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strchr_0015844c"))) () ")")) (argument_list "(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12)" (( "(") (binary_expression "PTR_DAT_001565b0 + 0x44c" (identifier "PTR_DAT_001565b0") (+ "+") (number_literal "0x44c")) (, ",") (identifier "iVar15") (, ",") (identifier "uVar12") () ")")))) (; ";")) (if_statement "if (iVar18 == 0) {\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }\n              else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }" (if "if") (parenthesized_expression "(iVar18 == 0)" (( "(") (binary_expression "iVar18 == 0" (identifier "iVar18") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                puVar7 = puVar4;\n                iVar18 = iVar20 + 2;\n                if (iVar15 != 0x23) goto LAB_0011e654;\n              }" ({ "{") (expression_statement "puVar7 = puVar4;" (assignment_expression "puVar7 = puVar4" (identifier "puVar7") (= "=") (identifier "puVar4")) (; ";")) (expression_statement "iVar18 = iVar20 + 2;" (assignment_expression "iVar18 = iVar20 + 2" (identifier "iVar18") (= "=") (binary_expression "iVar20 + 2" (identifier "iVar20") (+ "+") (number_literal "2"))) (; ";")) (if_statement "if (iVar15 != 0x23) goto LAB_0011e654;" (if "if") (parenthesized_expression "(iVar15 != 0x23)" (( "(") (binary_expression "iVar15 != 0x23" (identifier "iVar15") (!= "!=") (number_literal "0x23")) () ")")) (goto_statement "goto LAB_0011e654;" (goto "goto") (statement_identifier "LAB_0011e654") (; ";"))) (} "}")) (else_clause "else {\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }" (else "else") (compound_statement "{\n                local_58[1] = 0;\n                local_40 = *PTR_history_expansion_char_00156fcc;\n                local_3e = 0;\n                local_58[0] = iVar20 + 1;\n                local_3f = local_40;\n                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);\n                iVar18 = local_58[0];\n              }" ({ "{") (expression_statement "local_58[1] = 0;" (assignment_expression "local_58[1] = 0" (subscript_expression "local_58[1]" (identifier "local_58") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_40 = *PTR_history_expansion_char_00156fcc;" (assignment_expression "local_40 = *PTR_history_expansion_char_00156fcc" (identifier "local_40") (= "=") (pointer_expression "*PTR_history_expansion_char_00156fcc" (* "*") (identifier "PTR_history_expansion_char_00156fcc"))) (; ";")) (expression_statement "local_3e = 0;" (assignment_expression "local_3e = 0" (identifier "local_3e") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_58[0] = iVar20 + 1;" (assignment_expression "local_58[0] = iVar20 + 1" (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]")) (= "=") (binary_expression "iVar20 + 1" (identifier "iVar20") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_3f = local_40;" (assignment_expression "local_3f = local_40" (identifier "local_3f") (= "=") (identifier "local_40")) (; ";")) (expression_statement "puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);" (assignment_expression "puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0)" (identifier "puVar7") (= "=") (cast_expression "(undefined1 *)get_history_event(&local_40,local_58 + 1,0)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "get_history_event(&local_40,local_58 + 1,0)" (identifier "get_history_event") (argument_list "(&local_40,local_58 + 1,0)" (( "(") (pointer_expression "&local_40" (& "&") (identifier "local_40")) (, ",") (binary_expression "local_58 + 1" (identifier "local_58") (+ "+") (number_literal "1")) (, ",") (number_literal "0") () ")"))))) (; ";")) (expression_statement "iVar18 = local_58[0];" (assignment_expression "iVar18 = local_58[0]" (identifier "iVar18") (= "=") (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]"))) (; ";")) (} "}")))) (} "}")))) (expression_statement "local_58[0] = iVar18;" (assignment_expression "local_58[0] = iVar18" (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "iVar18")) (; ";")) (expression_statement "iVar15 = local_58[0];" (assignment_expression "iVar15 = local_58[0]" (identifier "iVar15") (= "=") (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]"))) (; ";")) (if_statement "if (puVar7 == (undefined1 *)0x0) {\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }\n            else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }" (if "if") (parenthesized_expression "(puVar7 == (undefined1 *)0x0)" (( "(") (binary_expression "puVar7 == (undefined1 *)0x0" (identifier "puVar7") (== "==") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }" ({ "{") (expression_statement "uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);" (assignment_expression "uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0)" (identifier "uVar12") (= "=") (call_expression "FUN_0011c1e4(pcVar6,iVar20,local_58[0],0)" (identifier "FUN_0011c1e4") (argument_list "(pcVar6,iVar20,local_58[0],0)" (( "(") (identifier "pcVar6") (, ",") (identifier "iVar20") (, ",") (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]")) (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_xfree_00156bb4)(local_c0);" (call_expression "(*(code *)PTR_xfree_00156bb4)(local_c0)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" (( "(") (pointer_expression "*(code *)PTR_xfree_00156bb4" (* "*") (cast_expression "(code *)PTR_xfree_00156bb4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xfree_00156bb4"))) () ")")) (argument_list "(local_c0)" (( "(") (identifier "local_c0") () ")"))) (; ";")) (} "}")) (else_clause "else {\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }" (else "else") (compound_statement "{\n              iVar20 = local_58[0] + 1;\n              if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }\n              iVar18 = (int)pcVar6[iVar20];\n              if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }\nLAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);\n              (*(code *)PTR_xfree_00156bb4)(local_c0);\n            }" ({ "{") (expression_statement "iVar20 = local_58[0] + 1;" (assignment_expression "iVar20 = local_58[0] + 1" (identifier "iVar20") (= "=") (binary_expression "local_58[0] + 1" (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (pcVar6[local_58[0]] != ':') {\n                iVar20 = local_58[0];\n              }" (if "if") (parenthesized_expression "(pcVar6[local_58[0]] != ':')" (( "(") (binary_expression "pcVar6[local_58[0]] != ':'" (subscript_expression "pcVar6[local_58[0]]" (identifier "pcVar6") ([ "[") (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]")) (] "]")) (!= "!=") (char_literal "':'" (' "'") (character ":") (' "'"))) () ")")) (compound_statement "{\n                iVar20 = local_58[0];\n              }" ({ "{") (expression_statement "iVar20 = local_58[0];" (assignment_expression "iVar20 = local_58[0]" (identifier "iVar20") (= "=") (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]"))) (; ";")) (} "}"))) (expression_statement "iVar18 = (int)pcVar6[iVar20];" (assignment_expression "iVar18 = (int)pcVar6[iVar20]" (identifier "iVar18") (= "=") (cast_expression "(int)pcVar6[iVar20]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "pcVar6[iVar20]" (identifier "pcVar6") ([ "[") (identifier "iVar20") (] "]")))) (; ";")) (if_statement "if (iVar18 == 0x25) {\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }\n              else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }" (if "if") (parenthesized_expression "(iVar18 == 0x25)" (( "(") (binary_expression "iVar18 == 0x25" (identifier "iVar18") (== "==") (number_literal "0x25")) () ")")) (compound_statement "{\n                local_58[0] = iVar20 + 1;\n                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }\nLAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }\n              }" ({ "{") (expression_statement "local_58[0] = iVar20 + 1;" (assignment_expression "local_58[0] = iVar20 + 1" (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]")) (= "=") (binary_expression "iVar20 + 1" (identifier "iVar20") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }\n                else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }" (if "if") (parenthesized_expression "(*(int *)(PTR_DAT_0015656c + -0x3384) == 0)" (( "(") (binary_expression "*(int *)(PTR_DAT_0015656c + -0x3384) == 0" (pointer_expression "*(int *)(PTR_DAT_0015656c + -0x3384)" (* "*") (cast_expression "(int *)(PTR_DAT_0015656c + -0x3384)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0015656c + -0x3384)" (( "(") (binary_expression "PTR_DAT_0015656c + -0x3384" (identifier "PTR_DAT_0015656c") (+ "+") (number_literal "-0x3384")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                  *puVar8 = 0;\n                }" ({ "{") (expression_statement "puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);" (assignment_expression "puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1)" (identifier "puVar8") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_xmalloc_001565b8)(1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" (( "(") (pointer_expression "*(code *)PTR_xmalloc_001565b8" (* "*") (cast_expression "(code *)PTR_xmalloc_001565b8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xmalloc_001565b8"))) () ")")) (argument_list "(1)" (( "(") (number_literal "1") () ")"))))) (; ";")) (expression_statement "*puVar8 = 0;" (assignment_expression "*puVar8 = 0" (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }" (else "else") (compound_statement "{\n                  iVar20 = (*(code *)PTR_strlen_00158444)();\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));\n                }" ({ "{") (expression_statement "iVar20 = (*(code *)PTR_strlen_00158444)();" (assignment_expression "iVar20 = (*(code *)PTR_strlen_00158444)()" (identifier "iVar20") (= "=") (call_expression "(*(code *)PTR_strlen_00158444)()" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" (( "(") (pointer_expression "*(code *)PTR_strlen_00158444" (* "*") (cast_expression "(code *)PTR_strlen_00158444" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00158444"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);" (assignment_expression "uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1)" (identifier "uVar12") (= "=") (call_expression "(*(code *)PTR_xmalloc_001565b8)(iVar20 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" (( "(") (pointer_expression "*(code *)PTR_xmalloc_001565b8" (* "*") (cast_expression "(code *)PTR_xmalloc_001565b8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xmalloc_001565b8"))) () ")")) (argument_list "(iVar20 + 1)" (( "(") (binary_expression "iVar20 + 1" (identifier "iVar20") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));" (assignment_expression "puVar8 = (undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384))" (identifier "puVar8") (= "=") (cast_expression "(undefined1 *)\n                           (*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384))" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_strcpy_001584cc)\n                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384))" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" (( "(") (pointer_expression "*(code *)PTR_strcpy_001584cc" (* "*") (cast_expression "(code *)PTR_strcpy_001584cc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcpy_001584cc"))) () ")")) (argument_list "(uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384))" (( "(") (identifier "uVar12") (, ",") (pointer_expression "*(undefined4 *)(PTR_DAT_0015656c + -0x3384)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_0015656c + -0x3384)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0015656c + -0x3384)" (( "(") (binary_expression "PTR_DAT_0015656c + -0x3384" (identifier "PTR_DAT_0015656c") (+ "+") (number_literal "-0x3384")) () ")")))) () ")"))))) (; ";")) (} "}")))) (labeled_statement "LAB_0011e5b8:\n                if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }" (statement_identifier "LAB_0011e5b8") (: ":") (if_statement "if (puVar8 != puVar23 + -0x336c) {\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }" (if "if") (parenthesized_expression "(puVar8 != puVar23 + -0x336c)" (( "(") (binary_expression "puVar8 != puVar23 + -0x336c" (identifier "puVar8") (!= "!=") (binary_expression "puVar23 + -0x336c" (identifier "puVar23") (+ "+") (number_literal "-0x336c"))) () ")")) (compound_statement "{\nLAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);\n                  (*(code *)PTR_free_001585ac)(puVar8);\nLAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }\n                  iVar22 = (int)pcVar6[local_58[0] + 1];\n                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }\n                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);\n                  (*(code *)PTR_xfree_00156bb4)(local_c0);\n                  (*(code *)PTR_xfree_00156bb4)(uVar9);\n                  goto LAB_0011e9e8;\n                }" ({ "{") (labeled_statement "LAB_0011e5c8:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);" (statement_identifier "LAB_0011e5c8") (: ":") (expression_statement "iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);" (assignment_expression "iVar20 = (*(code *)PTR_strlen_00158444)(puVar8)" (identifier "iVar20") (= "=") (call_expression "(*(code *)PTR_strlen_00158444)(puVar8)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" (( "(") (pointer_expression "*(code *)PTR_strlen_00158444" (* "*") (cast_expression "(code *)PTR_strlen_00158444" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00158444"))) () ")")) (argument_list "(puVar8)" (( "(") (identifier "puVar8") () ")")))) (; ";"))) (expression_statement "uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);" (assignment_expression "uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1)" (identifier "uVar12") (= "=") (call_expression "(*(code *)PTR_xmalloc_001565b8)(iVar20 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" (( "(") (pointer_expression "*(code *)PTR_xmalloc_001565b8" (* "*") (cast_expression "(code *)PTR_xmalloc_001565b8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xmalloc_001565b8"))) () ")")) (argument_list "(iVar20 + 1)" (( "(") (binary_expression "iVar20 + 1" (identifier "iVar20") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);" (assignment_expression "uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8)" (identifier "uVar9") (= "=") (call_expression "(*(code *)PTR_strcpy_001584cc)(uVar12,puVar8)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" (( "(") (pointer_expression "*(code *)PTR_strcpy_001584cc" (* "*") (cast_expression "(code *)PTR_strcpy_001584cc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcpy_001584cc"))) () ")")) (argument_list "(uVar12,puVar8)" (( "(") (identifier "uVar12") (, ",") (identifier "puVar8") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_free_001585ac)(puVar8);" (call_expression "(*(code *)PTR_free_001585ac)(puVar8)" (parenthesized_expression "(*(code *)PTR_free_001585ac)" (( "(") (pointer_expression "*(code *)PTR_free_001585ac" (* "*") (cast_expression "(code *)PTR_free_001585ac" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_001585ac"))) () ")")) (argument_list "(puVar8)" (( "(") (identifier "puVar8") () ")"))) (; ";")) (labeled_statement "LAB_0011e61c:\n                  if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }" (statement_identifier "LAB_0011e61c") (: ":") (if_statement "if (pcVar6[local_58[0]] != ':') {\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }" (if "if") (parenthesized_expression "(pcVar6[local_58[0]] != ':')" (( "(") (binary_expression "pcVar6[local_58[0]] != ':'" (subscript_expression "pcVar6[local_58[0]]" (identifier "pcVar6") ([ "[") (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]")) (] "]")) (!= "!=") (char_literal "':'" (' "'") (character ":") (' "'"))) () ")")) (compound_statement "{\n                    local_58[0] = local_58[0] + -1;\n                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);\n                    if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }\n                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);\n                    (*(code *)PTR_xfree_00156bb4)(uVar9);\n                    iVar20 = local_58[0];\n                    local_a8 = local_a8 + 1;\n                    if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }\n                    (*(code *)PTR_xfree_00156bb4)(local_c0);\n                    local_5c = iVar20;\n                    iVar20 = iVar11;\n                    goto LAB_0011dc80;\n                  }" ({ "{") (expression_statement "local_58[0] = local_58[0] + -1;" (assignment_expression "local_58[0] = local_58[0] + -1" (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]")) (= "=") (binary_expression "local_58[0] + -1" (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]")) (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);" (assignment_expression "iVar20 = (*(code *)PTR_strlen_00158444)(uVar9)" (identifier "iVar20") (= "=") (call_expression "(*(code *)PTR_strlen_00158444)(uVar9)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" (( "(") (pointer_expression "*(code *)PTR_strlen_00158444" (* "*") (cast_expression "(code *)PTR_strlen_00158444" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00158444"))) () ")")) (argument_list "(uVar9)" (( "(") (identifier "uVar9") () ")")))) (; ";")) (if_statement "if (0x7f < iVar20) {\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }" (if "if") (parenthesized_expression "(0x7f < iVar20)" (( "(") (binary_expression "0x7f < iVar20" (number_literal "0x7f") (< "<") (identifier "iVar20")) () ")")) (compound_statement "{\n                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);\n                    }" ({ "{") (expression_statement "local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);" (assignment_expression "local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2)" (identifier "local_c0") (= "=") (cast_expression "(char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" (( "(") (pointer_expression "*(code *)PTR_xrealloc_0015673c" (* "*") (cast_expression "(code *)PTR_xrealloc_0015673c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xrealloc_0015673c"))) () ")")) (argument_list "(local_c0,iVar20 + 2)" (( "(") (identifier "local_c0") (, ",") (binary_expression "iVar20 + 2" (identifier "iVar20") (+ "+") (number_literal "2")) () ")"))))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);" (call_expression "(*(code *)PTR_strcpy_001584cc)(local_c0,uVar9)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" (( "(") (pointer_expression "*(code *)PTR_strcpy_001584cc" (* "*") (cast_expression "(code *)PTR_strcpy_001584cc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcpy_001584cc"))) () ")")) (argument_list "(local_c0,uVar9)" (( "(") (identifier "local_c0") (, ",") (identifier "uVar9") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_xfree_00156bb4)(uVar9);" (call_expression "(*(code *)PTR_xfree_00156bb4)(uVar9)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" (( "(") (pointer_expression "*(code *)PTR_xfree_00156bb4" (* "*") (cast_expression "(code *)PTR_xfree_00156bb4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xfree_00156bb4"))) () ")")) (argument_list "(uVar9)" (( "(") (identifier "uVar9") () ")"))) (; ";")) (expression_statement "iVar20 = local_58[0];" (assignment_expression "iVar20 = local_58[0]" (identifier "iVar20") (= "=") (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]"))) (; ";")) (expression_statement "local_a8 = local_a8 + 1;" (assignment_expression "local_a8 = local_a8 + 1" (identifier "local_a8") (= "=") (binary_expression "local_a8 + 1" (identifier "local_a8") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (*local_c0 != '\0') {\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }" (if "if") (parenthesized_expression "(*local_c0 != '\0')" (( "(") (binary_expression "*local_c0 != '\0'" (pointer_expression "*local_c0" (* "*") (identifier "local_c0")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n                      iVar18 = (*(code *)PTR_strlen_00158444)();\n                      iVar11 = iVar11 + iVar18;\n                      iVar15 = iVar22;\n                      if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }\n                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);\n                    }" ({ "{") (expression_statement "iVar18 = (*(code *)PTR_strlen_00158444)();" (assignment_expression "iVar18 = (*(code *)PTR_strlen_00158444)()" (identifier "iVar18") (= "=") (call_expression "(*(code *)PTR_strlen_00158444)()" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" (( "(") (pointer_expression "*(code *)PTR_strlen_00158444" (* "*") (cast_expression "(code *)PTR_strlen_00158444" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00158444"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar11 = iVar11 + iVar18;" (assignment_expression "iVar11 = iVar11 + iVar18" (identifier "iVar11") (= "=") (binary_expression "iVar11 + iVar18" (identifier "iVar11") (+ "+") (identifier "iVar18"))) (; ";")) (expression_statement "iVar15 = iVar22;" (assignment_expression "iVar15 = iVar22" (identifier "iVar15") (= "=") (identifier "iVar22")) (; ";")) (if_statement "if (iVar22 <= iVar11) {\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }" (if "if") (parenthesized_expression "(iVar22 <= iVar11)" (( "(") (binary_expression "iVar22 <= iVar11" (identifier "iVar22") (<= "<=") (identifier "iVar11")) () ")")) (compound_statement "{\n                        do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);\n                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);\n                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                      }" ({ "{") (do_statement "do {\n                          iVar15 = iVar15 + 0x80;\n                        } while (iVar15 <= iVar11);" (do "do") (compound_statement "{\n                          iVar15 = iVar15 + 0x80;\n                        }" ({ "{") (expression_statement "iVar15 = iVar15 + 0x80;" (assignment_expression "iVar15 = iVar15 + 0x80" (identifier "iVar15") (= "=") (binary_expression "iVar15 + 0x80" (identifier "iVar15") (+ "+") (number_literal "0x80"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar15 <= iVar11)" (( "(") (binary_expression "iVar15 <= iVar11" (identifier "iVar15") (<= "<=") (identifier "iVar11")) () ")")) (; ";")) (expression_statement "iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);" (assignment_expression "iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U)" (identifier "iVar22") (= "=") (binary_expression "iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U)" (binary_expression "iVar22 + 0x80" (identifier "iVar22") (+ "+") (number_literal "0x80")) (+ "+") (parenthesized_expression "(iVar11 - iVar22 & 0xffffff80U)" (( "(") (binary_expression "iVar11 - iVar22 & 0xffffff80U" (binary_expression "iVar11 - iVar22" (identifier "iVar11") (- "-") (identifier "iVar22")) (& "&") (number_literal "0xffffff80U")) () ")")))) (; ";")) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (identifier "puVar4") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" (( "(") (pointer_expression "*(code *)PTR_xrealloc_0015673c" (* "*") (cast_expression "(code *)PTR_xrealloc_0015673c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xrealloc_0015673c"))) () ")")) (argument_list "(puVar4,iVar22)" (( "(") (identifier "puVar4") (, ",") (identifier "iVar22") () ")"))))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);" (call_expression "(*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" (( "(") (pointer_expression "*(code *)PTR_strcpy_001584cc" (* "*") (cast_expression "(code *)PTR_strcpy_001584cc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcpy_001584cc"))) () ")")) (argument_list "(puVar4 + (iVar11 - iVar18),local_c0)" (( "(") (binary_expression "puVar4 + (iVar11 - iVar18)" (identifier "puVar4") (+ "+") (parenthesized_expression "(iVar11 - iVar18)" (( "(") (binary_expression "iVar11 - iVar18" (identifier "iVar11") (- "-") (identifier "iVar18")) () ")"))) (, ",") (identifier "local_c0") () ")"))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_xfree_00156bb4)(local_c0);" (call_expression "(*(code *)PTR_xfree_00156bb4)(local_c0)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" (( "(") (pointer_expression "*(code *)PTR_xfree_00156bb4" (* "*") (cast_expression "(code *)PTR_xfree_00156bb4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xfree_00156bb4"))) () ")")) (argument_list "(local_c0)" (( "(") (identifier "local_c0") () ")"))) (; ";")) (expression_statement "local_5c = iVar20;" (assignment_expression "local_5c = iVar20" (identifier "local_5c") (= "=") (identifier "iVar20")) (; ";")) (expression_statement "iVar20 = iVar11;" (assignment_expression "iVar20 = iVar11" (identifier "iVar20") (= "=") (identifier "iVar11")) (; ";")) (goto_statement "goto LAB_0011dc80;" (goto "goto") (statement_identifier "LAB_0011dc80") (; ";")) (} "}")))) (expression_statement "iVar22 = (int)pcVar6[local_58[0] + 1];" (assignment_expression "iVar22 = (int)pcVar6[local_58[0] + 1]" (identifier "iVar22") (= "=") (cast_expression "(int)pcVar6[local_58[0] + 1]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "pcVar6[local_58[0] + 1]" (identifier "pcVar6") ([ "[") (binary_expression "local_58[0] + 1" (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]")) (+ "+") (number_literal "1")) (] "]")))) (; ";")) (if_statement "if ((iVar22 == 0x67) || (iVar22 == 0x61)) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }\n                  else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }" (if "if") (parenthesized_expression "((iVar22 == 0x67) || (iVar22 == 0x61))" (( "(") (binary_expression "(iVar22 == 0x67) || (iVar22 == 0x61)" (parenthesized_expression "(iVar22 == 0x67)" (( "(") (binary_expression "iVar22 == 0x67" (identifier "iVar22") (== "==") (number_literal "0x67")) () ")")) (|| "||") (parenthesized_expression "(iVar22 == 0x61)" (( "(") (binary_expression "iVar22 == 0x61" (identifier "iVar22") (== "==") (number_literal "0x61")) () ")"))) () ")")) (compound_statement "{\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }" ({ "{") (expression_statement "iVar22 = (int)pcVar6[local_58[0] + 2];" (assignment_expression "iVar22 = (int)pcVar6[local_58[0] + 2]" (identifier "iVar22") (= "=") (cast_expression "(int)pcVar6[local_58[0] + 2]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "pcVar6[local_58[0] + 2]" (identifier "pcVar6") ([ "[") (binary_expression "local_58[0] + 2" (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]")) (+ "+") (number_literal "2")) (] "]")))) (; ";")) (expression_statement "local_58[0] = local_58[0] + 1;" (assignment_expression "local_58[0] = local_58[0] + 1" (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]")) (= "=") (binary_expression "local_58[0] + 1" (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (else_clause "else if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }" (else "else") (if_statement "if (iVar22 == 0x47) {\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }" (if "if") (parenthesized_expression "(iVar22 == 0x47)" (( "(") (binary_expression "iVar22 == 0x47" (identifier "iVar22") (== "==") (number_literal "0x47")) () ")")) (compound_statement "{\n                    iVar22 = (int)pcVar6[local_58[0] + 2];\n                    local_58[0] = local_58[0] + 1;\n                  }" ({ "{") (expression_statement "iVar22 = (int)pcVar6[local_58[0] + 2];" (assignment_expression "iVar22 = (int)pcVar6[local_58[0] + 2]" (identifier "iVar22") (= "=") (cast_expression "(int)pcVar6[local_58[0] + 2]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "pcVar6[local_58[0] + 2]" (identifier "pcVar6") ([ "[") (binary_expression "local_58[0] + 2" (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]")) (+ "+") (number_literal "2")) (] "]")))) (; ";")) (expression_statement "local_58[0] = local_58[0] + 1;" (assignment_expression "local_58[0] = local_58[0] + 1" (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]")) (= "=") (binary_expression "local_58[0] + 1" (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (} "}"))))) (if_statement "if ((iVar22 - 0x26U & 0xff) < 0x53) {\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }" (if "if") (parenthesized_expression "((iVar22 - 0x26U & 0xff) < 0x53)" (( "(") (binary_expression "(iVar22 - 0x26U & 0xff) < 0x53" (parenthesized_expression "(iVar22 - 0x26U & 0xff)" (( "(") (binary_expression "iVar22 - 0x26U & 0xff" (binary_expression "iVar22 - 0x26U" (identifier "iVar22") (- "-") (number_literal "0x26U")) (& "&") (number_literal "0xff")) () ")")) (< "<") (number_literal "0x53")) () ")")) (compound_statement "{\n                    \n                    \n                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();\n                    return uVar3;\n                  }" ({ "{") (expression_statement "uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))();" (assignment_expression "uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))()" (identifier "uVar3") (= "=") (call_expression "(*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)))" (( "(") (pointer_expression "*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484))" (* "*") (cast_expression "(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484))" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484))" (( "(") (binary_expression "&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)" (pointer_expression "&_gp_1" (& "&") (identifier "_gp_1")) (+ "+") (pointer_expression "*(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)" (* "*") (cast_expression "(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484)" (( "(") (binary_expression "puVar2 + (iVar22 - 0x26U & 0xff) * 4 +\n                                                                  0x484" (binary_expression "puVar2 + (iVar22 - 0x26U & 0xff) * 4" (identifier "puVar2") (+ "+") (binary_expression "(iVar22 - 0x26U & 0xff) * 4" (parenthesized_expression "(iVar22 - 0x26U & 0xff)" (( "(") (binary_expression "iVar22 - 0x26U & 0xff" (binary_expression "iVar22 - 0x26U" (identifier "iVar22") (- "-") (number_literal "0x26U")) (& "&") (number_literal "0xff")) () ")")) (* "*") (number_literal "4"))) (+ "+") (number_literal "0x484")) () ")"))))) () ")")))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}"))) (expression_statement "uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);" (assignment_expression "uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3)" (identifier "uVar12") (= "=") (call_expression "FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3)" (identifier "FUN_0011c1e4") (argument_list "(pcVar6,local_58[0] + 1,local_58[0] + 2,3)" (( "(") (identifier "pcVar6") (, ",") (binary_expression "local_58[0] + 1" (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]")) (+ "+") (number_literal "1")) (, ",") (binary_expression "local_58[0] + 2" (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]")) (+ "+") (number_literal "2")) (, ",") (number_literal "3") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_xfree_00156bb4)(local_c0);" (call_expression "(*(code *)PTR_xfree_00156bb4)(local_c0)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" (( "(") (pointer_expression "*(code *)PTR_xfree_00156bb4" (* "*") (cast_expression "(code *)PTR_xfree_00156bb4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xfree_00156bb4"))) () ")")) (argument_list "(local_c0)" (( "(") (identifier "local_c0") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_xfree_00156bb4)(uVar9);" (call_expression "(*(code *)PTR_xfree_00156bb4)(uVar9)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" (( "(") (pointer_expression "*(code *)PTR_xfree_00156bb4" (* "*") (cast_expression "(code *)PTR_xfree_00156bb4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xfree_00156bb4"))) () ")")) (argument_list "(uVar9)" (( "(") (identifier "uVar9") () ")"))) (; ";")) (goto_statement "goto LAB_0011e9e8;" (goto "goto") (statement_identifier "LAB_0011e9e8") (; ";")) (} "}")))) (} "}")) (else_clause "else {\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }" (else "else") (compound_statement "{\n                if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }\n                if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }\n                if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }\nLAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);\n                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;\n              }" ({ "{") (if_statement "if (iVar18 == 0x2a) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }" (if "if") (parenthesized_expression "(iVar18 == 0x2a)" (( "(") (binary_expression "iVar18 == 0x2a" (identifier "iVar18") (== "==") (number_literal "0x2a")) () ")")) (compound_statement "{\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);\n                  if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }\n                  goto LAB_0011e5b8;\n                }" ({ "{") (expression_statement "local_58[0] = iVar20 + 1;" (assignment_expression "local_58[0] = iVar20 + 1" (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]")) (= "=") (binary_expression "iVar20 + 1" (identifier "iVar20") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);" (assignment_expression "puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7)" (identifier "puVar8") (= "=") (cast_expression "(undefined1 *)history_arg_extract(1,0x24,puVar7)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "history_arg_extract(1,0x24,puVar7)" (identifier "history_arg_extract") (argument_list "(1,0x24,puVar7)" (( "(") (number_literal "1") (, ",") (number_literal "0x24") (, ",") (identifier "puVar7") () ")"))))) (; ";")) (if_statement "if (puVar8 == (undefined1 *)0x0) {\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }" (if "if") (parenthesized_expression "(puVar8 == (undefined1 *)0x0)" (( "(") (binary_expression "puVar8 == (undefined1 *)0x0" (identifier "puVar8") (== "==") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);\n                    *puVar8 = 0;\n                  }" ({ "{") (expression_statement "puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);" (assignment_expression "puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1)" (identifier "puVar8") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_xmalloc_001565b8)(1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" (( "(") (pointer_expression "*(code *)PTR_xmalloc_001565b8" (* "*") (cast_expression "(code *)PTR_xmalloc_001565b8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xmalloc_001565b8"))) () ")")) (argument_list "(1)" (( "(") (number_literal "1") () ")"))))) (; ";")) (expression_statement "*puVar8 = 0;" (assignment_expression "*puVar8 = 0" (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (goto_statement "goto LAB_0011e5b8;" (goto "goto") (statement_identifier "LAB_0011e5b8") (; ";")) (} "}"))) (if_statement "if (iVar18 == 0x24) {\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }" (if "if") (parenthesized_expression "(iVar18 == 0x24)" (( "(") (binary_expression "iVar18 == 0x24" (identifier "iVar18") (== "==") (number_literal "0x24")) () ")")) (compound_statement "{\n                  local_58[0] = iVar20 + 1;\n                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);\n                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;\n                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;\nLAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);\n                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);\n                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);\n                  goto LAB_0011e61c;\n                }" ({ "{") (expression_statement "local_58[0] = iVar20 + 1;" (assignment_expression "local_58[0] = iVar20 + 1" (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]")) (= "=") (binary_expression "iVar20 + 1" (identifier "iVar20") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);" (assignment_expression "puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7)" (identifier "puVar8") (= "=") (cast_expression "(undefined1 *)history_arg_extract(0x24,0x24,puVar7)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "history_arg_extract(0x24,0x24,puVar7)" (identifier "history_arg_extract") (argument_list "(0x24,0x24,puVar7)" (( "(") (number_literal "0x24") (, ",") (number_literal "0x24") (, ",") (identifier "puVar7") () ")"))))) (; ";")) (if_statement "if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;" (if "if") (parenthesized_expression "(puVar8 == puVar23 + -0x336c)" (( "(") (binary_expression "puVar8 == puVar23 + -0x336c" (identifier "puVar8") (== "==") (binary_expression "puVar23 + -0x336c" (identifier "puVar23") (+ "+") (number_literal "-0x336c"))) () ")")) (goto_statement "goto LAB_0011e864;" (goto "goto") (statement_identifier "LAB_0011e864") (; ";"))) (if_statement "if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;" (if "if") (parenthesized_expression "(puVar8 != (undefined1 *)0x0)" (( "(") (binary_expression "puVar8 != (undefined1 *)0x0" (identifier "puVar8") (!= "!=") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_0011e5c8;" (goto "goto") (statement_identifier "LAB_0011e5c8") (; ";"))) (labeled_statement "LAB_0011e7cc:\n                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);" (statement_identifier "LAB_0011e7cc") (: ":") (expression_statement "iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);" (assignment_expression "iVar20 = (*(code *)PTR_strlen_00158444)(puVar7)" (identifier "iVar20") (= "=") (call_expression "(*(code *)PTR_strlen_00158444)(puVar7)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" (( "(") (pointer_expression "*(code *)PTR_strlen_00158444" (* "*") (cast_expression "(code *)PTR_strlen_00158444" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00158444"))) () ")")) (argument_list "(puVar7)" (( "(") (identifier "puVar7") () ")")))) (; ";"))) (expression_statement "uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);" (assignment_expression "uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1)" (identifier "uVar12") (= "=") (call_expression "(*(code *)PTR_xmalloc_001565b8)(iVar20 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" (( "(") (pointer_expression "*(code *)PTR_xmalloc_001565b8" (* "*") (cast_expression "(code *)PTR_xmalloc_001565b8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xmalloc_001565b8"))) () ")")) (argument_list "(iVar20 + 1)" (( "(") (binary_expression "iVar20 + 1" (identifier "iVar20") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);" (assignment_expression "uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7)" (identifier "uVar9") (= "=") (call_expression "(*(code *)PTR_strcpy_001584cc)(uVar12,puVar7)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" (( "(") (pointer_expression "*(code *)PTR_strcpy_001584cc" (* "*") (cast_expression "(code *)PTR_strcpy_001584cc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcpy_001584cc"))) () ")")) (argument_list "(uVar12,puVar7)" (( "(") (identifier "uVar12") (, ",") (identifier "puVar7") () ")")))) (; ";")) (goto_statement "goto LAB_0011e61c;" (goto "goto") (statement_identifier "LAB_0011e61c") (; ";")) (} "}"))) (if_statement "if (iVar18 == 0x2d) {\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }\n                else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }" (if "if") (parenthesized_expression "(iVar18 == 0x2d)" (( "(") (binary_expression "iVar18 == 0x2d" (identifier "iVar18") (== "==") (number_literal "0x2d")) () ")")) (compound_statement "{\n                  iVar21 = 0;\nLAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;\n                  iVar17 = (int)pcVar6[local_58[0]];\n                  if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }\n                  if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }\n                  iVar18 = -1;\n                }" ({ "{") (expression_statement "iVar21 = 0;" (assignment_expression "iVar21 = 0" (identifier "iVar21") (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_0011e8ac:\n                  local_58[0] = iVar20 + 1;" (statement_identifier "LAB_0011e8ac") (: ":") (expression_statement "local_58[0] = iVar20 + 1;" (assignment_expression "local_58[0] = iVar20 + 1" (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]")) (= "=") (binary_expression "iVar20 + 1" (identifier "iVar20") (+ "+") (number_literal "1"))) (; ";"))) (expression_statement "iVar17 = (int)pcVar6[local_58[0]];" (assignment_expression "iVar17 = (int)pcVar6[local_58[0]]" (identifier "iVar17") (= "=") (cast_expression "(int)pcVar6[local_58[0]]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "pcVar6[local_58[0]]" (identifier "pcVar6") ([ "[") (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]")) (] "]")))) (; ";")) (if_statement "if ((iVar17 - 0x30U & 0xff) < 10) {\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }" (if "if") (parenthesized_expression "((iVar17 - 0x30U & 0xff) < 10)" (( "(") (binary_expression "(iVar17 - 0x30U & 0xff) < 10" (parenthesized_expression "(iVar17 - 0x30U & 0xff)" (( "(") (binary_expression "iVar17 - 0x30U & 0xff" (binary_expression "iVar17 - 0x30U" (identifier "iVar17") (- "-") (number_literal "0x30U")) (& "&") (number_literal "0xff")) () ")")) (< "<") (number_literal "10")) () ")")) (compound_statement "{\n                    iVar18 = 0;\n                    do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);\n                    goto LAB_0011e840;\n                  }" ({ "{") (expression_statement "iVar18 = 0;" (assignment_expression "iVar18 = 0" (identifier "iVar18") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    } while ((iVar17 - 0x30U & 0xff) < 10);" (do "do") (compound_statement "{\n                      iVar18 = iVar17 + -0x30 + iVar18 * 10;\n                      local_58[0] = local_58[0] + 1;\n                      iVar17 = (int)pcVar6[local_58[0]];\n                      bVar16 = iVar18 < iVar21;\n                    }" ({ "{") (expression_statement "iVar18 = iVar17 + -0x30 + iVar18 * 10;" (assignment_expression "iVar18 = iVar17 + -0x30 + iVar18 * 10" (identifier "iVar18") (= "=") (binary_expression "iVar17 + -0x30 + iVar18 * 10" (binary_expression "iVar17 + -0x30" (identifier "iVar17") (+ "+") (number_literal "-0x30")) (+ "+") (binary_expression "iVar18 * 10" (identifier "iVar18") (* "*") (number_literal "10")))) (; ";")) (expression_statement "local_58[0] = local_58[0] + 1;" (assignment_expression "local_58[0] = local_58[0] + 1" (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]")) (= "=") (binary_expression "local_58[0] + 1" (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar17 = (int)pcVar6[local_58[0]];" (assignment_expression "iVar17 = (int)pcVar6[local_58[0]]" (identifier "iVar17") (= "=") (cast_expression "(int)pcVar6[local_58[0]]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "pcVar6[local_58[0]]" (identifier "pcVar6") ([ "[") (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]")) (] "]")))) (; ";")) (expression_statement "bVar16 = iVar18 < iVar21;" (assignment_expression "bVar16 = iVar18 < iVar21" (identifier "bVar16") (= "=") (binary_expression "iVar18 < iVar21" (identifier "iVar18") (< "<") (identifier "iVar21"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((iVar17 - 0x30U & 0xff) < 10)" (( "(") (binary_expression "(iVar17 - 0x30U & 0xff) < 10" (parenthesized_expression "(iVar17 - 0x30U & 0xff)" (( "(") (binary_expression "iVar17 - 0x30U & 0xff" (binary_expression "iVar17 - 0x30U" (identifier "iVar17") (- "-") (number_literal "0x30U")) (& "&") (number_literal "0xff")) () ")")) (< "<") (number_literal "10")) () ")")) (; ";")) (goto_statement "goto LAB_0011e840;" (goto "goto") (statement_identifier "LAB_0011e840") (; ";")) (} "}"))) (if_statement "if (iVar17 == 0x24) {\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }" (if "if") (parenthesized_expression "(iVar17 == 0x24)" (( "(") (binary_expression "iVar17 == 0x24" (identifier "iVar17") (== "==") (number_literal "0x24")) () ")")) (compound_statement "{\n                    local_58[0] = iVar20 + 2;\n                    iVar18 = 0x24;\n                    goto LAB_0011e83c;\n                  }" ({ "{") (expression_statement "local_58[0] = iVar20 + 2;" (assignment_expression "local_58[0] = iVar20 + 2" (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]")) (= "=") (binary_expression "iVar20 + 2" (identifier "iVar20") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "iVar18 = 0x24;" (assignment_expression "iVar18 = 0x24" (identifier "iVar18") (= "=") (number_literal "0x24")) (; ";")) (goto_statement "goto LAB_0011e83c;" (goto "goto") (statement_identifier "LAB_0011e83c") (; ";")) (} "}"))) (expression_statement "iVar18 = -1;" (assignment_expression "iVar18 = -1" (identifier "iVar18") (= "=") (number_literal "-1")) (; ";")) (} "}")) (else_clause "else {\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }" (else "else") (compound_statement "{\n                  if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }\n                  cVar1 = pcVar6[iVar20];\n                  if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }\n                  local_58[0] = iVar20 + 1;\nLAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;\nLAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;\n                }" ({ "{") (if_statement "if (iVar18 == 0x5e) {\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }\n                  else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }" (if "if") (parenthesized_expression "(iVar18 == 0x5e)" (( "(") (binary_expression "iVar18 == 0x5e" (identifier "iVar18") (== "==") (number_literal "0x5e")) () ")")) (compound_statement "{\n                    iVar20 = iVar20 + 1;\n                    iVar21 = 1;\n                  }" ({ "{") (expression_statement "iVar20 = iVar20 + 1;" (assignment_expression "iVar20 = iVar20 + 1" (identifier "iVar20") (= "=") (binary_expression "iVar20 + 1" (identifier "iVar20") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar21 = 1;" (assignment_expression "iVar21 = 1" (identifier "iVar21") (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }" (else "else") (compound_statement "{\n                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;\n                    iVar21 = 0;\n                    do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);\n                  }" ({ "{") (if_statement "if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))\n                    goto LAB_0011e7cc;" (if "if") (parenthesized_expression "((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))" (( "(") (binary_expression "(9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':')" (parenthesized_expression "(9 < (iVar18 - 0x30U & 0xff))" (( "(") (binary_expression "9 < (iVar18 - 0x30U & 0xff)" (number_literal "9") (< "<") (parenthesized_expression "(iVar18 - 0x30U & 0xff)" (( "(") (binary_expression "iVar18 - 0x30U & 0xff" (binary_expression "iVar18 - 0x30U" (identifier "iVar18") (- "-") (number_literal "0x30U")) (& "&") (number_literal "0xff")) () ")"))) () ")")) (|| "||") (parenthesized_expression "(pcVar6[local_58[0]] != ':')" (( "(") (binary_expression "pcVar6[local_58[0]] != ':'" (subscript_expression "pcVar6[local_58[0]]" (identifier "pcVar6") ([ "[") (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]")) (] "]")) (!= "!=") (char_literal "':'" (' "'") (character ":") (' "'"))) () ")"))) () ")")) (goto_statement "goto LAB_0011e7cc;" (goto "goto") (statement_identifier "LAB_0011e7cc") (; ";"))) (expression_statement "iVar21 = 0;" (assignment_expression "iVar21 = 0" (identifier "iVar21") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    } while ((iVar18 - 0x30U & 0xff) < 10);" (do "do") (compound_statement "{\n                      iVar21 = iVar18 + -0x30 + iVar21 * 10;\n                      iVar20 = iVar20 + 1;\n                      iVar18 = (int)pcVar6[iVar20];\n                    }" ({ "{") (expression_statement "iVar21 = iVar18 + -0x30 + iVar21 * 10;" (assignment_expression "iVar21 = iVar18 + -0x30 + iVar21 * 10" (identifier "iVar21") (= "=") (binary_expression "iVar18 + -0x30 + iVar21 * 10" (binary_expression "iVar18 + -0x30" (identifier "iVar18") (+ "+") (number_literal "-0x30")) (+ "+") (binary_expression "iVar21 * 10" (identifier "iVar21") (* "*") (number_literal "10")))) (; ";")) (expression_statement "iVar20 = iVar20 + 1;" (assignment_expression "iVar20 = iVar20 + 1" (identifier "iVar20") (= "=") (binary_expression "iVar20 + 1" (identifier "iVar20") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar18 = (int)pcVar6[iVar20];" (assignment_expression "iVar18 = (int)pcVar6[iVar20]" (identifier "iVar18") (= "=") (cast_expression "(int)pcVar6[iVar20]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "pcVar6[iVar20]" (identifier "pcVar6") ([ "[") (identifier "iVar20") (] "]")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((iVar18 - 0x30U & 0xff) < 10)" (( "(") (binary_expression "(iVar18 - 0x30U & 0xff) < 10" (parenthesized_expression "(iVar18 - 0x30U & 0xff)" (( "(") (binary_expression "iVar18 - 0x30U & 0xff" (binary_expression "iVar18 - 0x30U" (identifier "iVar18") (- "-") (number_literal "0x30U")) (& "&") (number_literal "0xff")) () ")")) (< "<") (number_literal "10")) () ")")) (; ";")) (} "}")))) (expression_statement "cVar1 = pcVar6[iVar20];" (assignment_expression "cVar1 = pcVar6[iVar20]" (identifier "cVar1") (= "=") (subscript_expression "pcVar6[iVar20]" (identifier "pcVar6") ([ "[") (identifier "iVar20") (] "]"))) (; ";")) (if_statement "if (cVar1 == '^') {\n                    iVar18 = 1;\n                  }\n                  else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }" (if "if") (parenthesized_expression "(cVar1 == '^')" (( "(") (binary_expression "cVar1 == '^'" (identifier "cVar1") (== "==") (char_literal "'^'" (' "'") (character "^") (' "'"))) () ")")) (compound_statement "{\n                    iVar18 = 1;\n                  }" ({ "{") (expression_statement "iVar18 = 1;" (assignment_expression "iVar18 = 1" (identifier "iVar18") (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }" (else "else") (compound_statement "{\n                    if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }\n                    iVar18 = 0x24;\n                  }" ({ "{") (if_statement "if (cVar1 != '*') {\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }" (if "if") (parenthesized_expression "(cVar1 != '*')" (( "(") (binary_expression "cVar1 != '*'" (identifier "cVar1") (!= "!=") (char_literal "'*'" (' "'") (character "*") (' "'"))) () ")")) (compound_statement "{\n                      iVar18 = iVar21;\n                      local_58[0] = iVar20;\n                      if (cVar1 == '-') goto LAB_0011e8ac;\n                      goto LAB_0011e5a4;\n                    }" ({ "{") (expression_statement "iVar18 = iVar21;" (assignment_expression "iVar18 = iVar21" (identifier "iVar18") (= "=") (identifier "iVar21")) (; ";")) (expression_statement "local_58[0] = iVar20;" (assignment_expression "local_58[0] = iVar20" (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "iVar20")) (; ";")) (if_statement "if (cVar1 == '-') goto LAB_0011e8ac;" (if "if") (parenthesized_expression "(cVar1 == '-')" (( "(") (binary_expression "cVar1 == '-'" (identifier "cVar1") (== "==") (char_literal "'-'" (' "'") (character "-") (' "'"))) () ")")) (goto_statement "goto LAB_0011e8ac;" (goto "goto") (statement_identifier "LAB_0011e8ac") (; ";"))) (goto_statement "goto LAB_0011e5a4;" (goto "goto") (statement_identifier "LAB_0011e5a4") (; ";")) (} "}"))) (expression_statement "iVar18 = 0x24;" (assignment_expression "iVar18 = 0x24" (identifier "iVar18") (= "=") (number_literal "0x24")) (; ";")) (} "}")))) (expression_statement "local_58[0] = iVar20 + 1;" (assignment_expression "local_58[0] = iVar20 + 1" (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]")) (= "=") (binary_expression "iVar20 + 1" (identifier "iVar20") (+ "+") (number_literal "1"))) (; ";")) (labeled_statement "LAB_0011e83c:\n                  bVar16 = iVar18 < iVar21;" (statement_identifier "LAB_0011e83c") (: ":") (expression_statement "bVar16 = iVar18 < iVar21;" (assignment_expression "bVar16 = iVar18 < iVar21" (identifier "bVar16") (= "=") (binary_expression "iVar18 < iVar21" (identifier "iVar18") (< "<") (identifier "iVar21"))) (; ";"))) (labeled_statement "LAB_0011e840:\n                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;" (statement_identifier "LAB_0011e840") (: ":") (if_statement "if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;" (if "if") (parenthesized_expression "(((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18))" (( "(") (binary_expression "((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)" (parenthesized_expression "((bVar16) && (iVar18 != 0x24))" (( "(") (binary_expression "(bVar16) && (iVar18 != 0x24)" (parenthesized_expression "(bVar16)" (( "(") (identifier "bVar16") () ")")) (&& "&&") (parenthesized_expression "(iVar18 != 0x24)" (( "(") (binary_expression "iVar18 != 0x24" (identifier "iVar18") (!= "!=") (number_literal "0x24")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(-1 < iVar18)" (( "(") (binary_expression "-1 < iVar18" (number_literal "-1") (< "<") (identifier "iVar18")) () ")"))) () ")")) (goto_statement "goto LAB_0011e864;" (goto "goto") (statement_identifier "LAB_0011e864") (; ";")))) (} "}")))) (labeled_statement "LAB_0011e5a4:\n                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);" (statement_identifier "LAB_0011e5a4") (: ":") (expression_statement "puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);" (assignment_expression "puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7)" (identifier "puVar8") (= "=") (cast_expression "(undefined1 *)history_arg_extract(iVar21,iVar18,puVar7)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "history_arg_extract(iVar21,iVar18,puVar7)" (identifier "history_arg_extract") (argument_list "(iVar21,iVar18,puVar7)" (( "(") (identifier "iVar21") (, ",") (identifier "iVar18") (, ",") (identifier "puVar7") () ")"))))) (; ";"))) (if_statement "if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;" (if "if") (parenthesized_expression "(puVar8 != (undefined1 *)0x0)" (( "(") (binary_expression "puVar8 != (undefined1 *)0x0" (identifier "puVar8") (!= "!=") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_0011e5b8;" (goto "goto") (statement_identifier "LAB_0011e5b8") (; ";"))) (} "}")))) (labeled_statement "LAB_0011e864:\n              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);" (statement_identifier "LAB_0011e864") (: ":") (expression_statement "uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);" (assignment_expression "uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1)" (identifier "uVar12") (= "=") (call_expression "FUN_0011c1e4(pcVar6,iVar15,local_58[0],1)" (identifier "FUN_0011c1e4") (argument_list "(pcVar6,iVar15,local_58[0],1)" (( "(") (identifier "pcVar6") (, ",") (identifier "iVar15") (, ",") (subscript_expression "local_58[0]" (identifier "local_58") ([ "[") (number_literal "0") (] "]")) (, ",") (number_literal "1") () ")")))) (; ";"))) (expression_statement "(*(code *)PTR_xfree_00156bb4)(local_c0);" (call_expression "(*(code *)PTR_xfree_00156bb4)(local_c0)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" (( "(") (pointer_expression "*(code *)PTR_xfree_00156bb4" (* "*") (cast_expression "(code *)PTR_xfree_00156bb4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xfree_00156bb4"))) () ")")) (argument_list "(local_c0)" (( "(") (identifier "local_c0") () ")"))) (; ";")) (} "}")))) (labeled_statement "LAB_0011e9e8:\n            *param_2 = uVar12;" (statement_identifier "LAB_0011e9e8") (: ":") (expression_statement "*param_2 = uVar12;" (assignment_expression "*param_2 = uVar12" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "uVar12")) (; ";"))) (expression_statement "(*(code *)PTR_xfree_00156bb4)(puVar4);" (call_expression "(*(code *)PTR_xfree_00156bb4)(puVar4)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" (( "(") (pointer_expression "*(code *)PTR_xfree_00156bb4" (* "*") (cast_expression "(code *)PTR_xfree_00156bb4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xfree_00156bb4"))) () ")")) (argument_list "(puVar4)" (( "(") (identifier "puVar4") () ")"))) (; ";")) (if_statement "if (pcVar6 == param_1) {\n              uVar3 = 0xffffffff;\n            }\n            else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }" (if "if") (parenthesized_expression "(pcVar6 == param_1)" (( "(") (binary_expression "pcVar6 == param_1" (identifier "pcVar6") (== "==") (identifier "param_1")) () ")")) (compound_statement "{\n              uVar3 = 0xffffffff;\n            }" ({ "{") (expression_statement "uVar3 = 0xffffffff;" (assignment_expression "uVar3 = 0xffffffff" (identifier "uVar3") (= "=") (number_literal "0xffffffff")) (; ";")) (} "}")) (else_clause "else {\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }" (else "else") (compound_statement "{\n              (*(code *)PTR_xfree_00156bb4)(pcVar6);\n              uVar3 = 0xffffffff;\n            }" ({ "{") (expression_statement "(*(code *)PTR_xfree_00156bb4)(pcVar6);" (call_expression "(*(code *)PTR_xfree_00156bb4)(pcVar6)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" (( "(") (pointer_expression "*(code *)PTR_xfree_00156bb4" (* "*") (cast_expression "(code *)PTR_xfree_00156bb4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xfree_00156bb4"))) () ")")) (argument_list "(pcVar6)" (( "(") (identifier "pcVar6") () ")"))) (; ";")) (expression_statement "uVar3 = 0xffffffff;" (assignment_expression "uVar3 = 0xffffffff" (identifier "uVar3") (= "=") (number_literal "0xffffffff")) (; ";")) (} "}")))) (goto_statement "goto LAB_0011f678;" (goto "goto") (statement_identifier "LAB_0011f678") (; ";")) (} "}"))) (if_statement "if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }" (if "if") (parenthesized_expression "(iVar22 + -1 <= iVar11)" (( "(") (binary_expression "iVar22 + -1 <= iVar11" (binary_expression "iVar22 + -1" (identifier "iVar22") (+ "+") (number_literal "-1")) (<= "<=") (identifier "iVar11")) () ")")) (compound_statement "{\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }" ({ "{") (expression_statement "iVar22 = iVar22 + 0x40;" (assignment_expression "iVar22 = iVar22 + 0x40" (identifier "iVar22") (= "=") (binary_expression "iVar22 + 0x40" (identifier "iVar22") (+ "+") (number_literal "0x40"))) (; ";")) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (identifier "puVar4") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" (( "(") (pointer_expression "*(code *)PTR_xrealloc_0015673c" (* "*") (cast_expression "(code *)PTR_xrealloc_0015673c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xrealloc_0015673c"))) () ")")) (argument_list "(puVar4,iVar22)" (( "(") (identifier "puVar4") (, ",") (identifier "iVar22") () ")"))))) (; ";")) (} "}"))) (expression_statement "puVar4[iVar11] = pcVar6[local_5c];" (assignment_expression "puVar4[iVar11] = pcVar6[local_5c]" (subscript_expression "puVar4[iVar11]" (identifier "puVar4") ([ "[") (identifier "iVar11") (] "]")) (= "=") (subscript_expression "pcVar6[local_5c]" (identifier "pcVar6") ([ "[") (identifier "local_5c") (] "]"))) (; ";")) (expression_statement "puVar4[iVar11 + 1] = 0;" (assignment_expression "puVar4[iVar11 + 1] = 0" (subscript_expression "puVar4[iVar11 + 1]" (identifier "puVar4") ([ "[") (binary_expression "iVar11 + 1" (identifier "iVar11") (+ "+") (number_literal "1")) (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar20 = iVar11 + 1;" (assignment_expression "iVar20 = iVar11 + 1" (identifier "iVar20") (= "=") (binary_expression "iVar11 + 1" (identifier "iVar11") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (else_clause "else if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }" (else "else") (if_statement "if (*PTR_history_comment_char_00156f80 == cVar1) {\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }\n        }\n        else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }" (if "if") (parenthesized_expression "(*PTR_history_comment_char_00156f80 == cVar1)" (( "(") (binary_expression "*PTR_history_comment_char_00156f80 == cVar1" (pointer_expression "*PTR_history_comment_char_00156f80" (* "*") (identifier "PTR_history_comment_char_00156f80")) (== "==") (identifier "cVar1")) () ")")) (compound_statement "{\nLAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }\n        }" ({ "{") (labeled_statement "LAB_0011de7c:\n          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }" (statement_identifier "LAB_0011de7c") (: ":") (if_statement "if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))) {\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }" (if "if") (parenthesized_expression "(((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0))))))" (( "(") (binary_expression "((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&\n             ((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))" (parenthesized_expression "((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0))" (( "(") (binary_expression "(local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)" (parenthesized_expression "(local_c4 == 0)" (( "(") (binary_expression "local_c4 == 0" (identifier "local_c4") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)" (( "(") (binary_expression "*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0" (pointer_expression "*(int *)PTR_history_quotes_inhibit_expansion_00157524" (* "*") (cast_expression "(int *)PTR_history_quotes_inhibit_expansion_00157524" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_history_quotes_inhibit_expansion_00157524"))) (== "==") (number_literal "0")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))))" (( "(") (parenthesized_expression "(local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0))))" (( "(") (binary_expression "local_5c == 0 ||\n              ((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))" (binary_expression "local_5c == 0" (identifier "local_5c") (== "==") (number_literal "0")) (|| "||") (parenthesized_expression "((pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)))" (( "(") (parenthesized_expression "(pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0))" (( "(") (binary_expression "pcVar6[local_5c + -1] != '\0' &&\n               (iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)" (binary_expression "pcVar6[local_5c + -1] != '\0'" (subscript_expression "pcVar6[local_5c + -1]" (identifier "pcVar6") ([ "[") (binary_expression "local_5c + -1" (identifier "local_5c") (+ "+") (number_literal "-1")) (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (&& "&&") (parenthesized_expression "(iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0)" (( "(") (comma_expression "iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),\n               iVar15 != 0" (assignment_expression "iVar15 = (*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c)" (identifier "iVar15") (= "=") (call_expression "(*(code *)PTR_strchr_0015844c)\n                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c)" (parenthesized_expression "(*(code *)PTR_strchr_0015844c)" (( "(") (pointer_expression "*(code *)PTR_strchr_0015844c" (* "*") (cast_expression "(code *)PTR_strchr_0015844c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strchr_0015844c"))) () ")")) (argument_list "(*(undefined4 *)PTR_history_word_delimiters_0015825c)" (( "(") (pointer_expression "*(undefined4 *)PTR_history_word_delimiters_0015825c" (* "*") (cast_expression "(undefined4 *)PTR_history_word_delimiters_0015825c" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_history_word_delimiters_0015825c"))) () ")")))) (, ",") (binary_expression "iVar15 != 0" (identifier "iVar15") (!= "!=") (number_literal "0"))) () ")"))) () ")")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);\n            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);\n            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);\n            iVar20 = iVar11 + iVar15;\n            iVar11 = iVar22;\n            if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);\n            (*(code *)PTR_xfree_00156bb4)(uVar12);\n            local_5c = local_c8;\n          }" ({ "{") (expression_statement "uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);" (assignment_expression "uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1)" (identifier "uVar12") (= "=") (call_expression "(*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" (( "(") (pointer_expression "*(code *)PTR_xmalloc_001565b8" (* "*") (cast_expression "(code *)PTR_xmalloc_001565b8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xmalloc_001565b8"))) () ")")) (argument_list "((local_c8 - iVar20) + 1)" (( "(") (binary_expression "(local_c8 - iVar20) + 1" (parenthesized_expression "(local_c8 - iVar20)" (( "(") (binary_expression "local_c8 - iVar20" (identifier "local_c8") (- "-") (identifier "iVar20")) () ")")) (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "(*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);" (call_expression "(*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" (( "(") (pointer_expression "*(code *)PTR_strcpy_001584cc" (* "*") (cast_expression "(code *)PTR_strcpy_001584cc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcpy_001584cc"))) () ")")) (argument_list "(uVar12,pcVar6 + local_5c)" (( "(") (identifier "uVar12") (, ",") (binary_expression "pcVar6 + local_5c" (identifier "pcVar6") (+ "+") (identifier "local_5c")) () ")"))) (; ";")) (expression_statement "iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);" (assignment_expression "iVar15 = (*(code *)PTR_strlen_00158444)(uVar12)" (identifier "iVar15") (= "=") (call_expression "(*(code *)PTR_strlen_00158444)(uVar12)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" (( "(") (pointer_expression "*(code *)PTR_strlen_00158444" (* "*") (cast_expression "(code *)PTR_strlen_00158444" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00158444"))) () ")")) (argument_list "(uVar12)" (( "(") (identifier "uVar12") () ")")))) (; ";")) (expression_statement "iVar20 = iVar11 + iVar15;" (assignment_expression "iVar20 = iVar11 + iVar15" (identifier "iVar20") (= "=") (binary_expression "iVar11 + iVar15" (identifier "iVar11") (+ "+") (identifier "iVar15"))) (; ";")) (expression_statement "iVar11 = iVar22;" (assignment_expression "iVar11 = iVar22" (identifier "iVar11") (= "=") (identifier "iVar22")) (; ";")) (if_statement "if (iVar22 <= iVar20) {\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }" (if "if") (parenthesized_expression "(iVar22 <= iVar20)" (( "(") (binary_expression "iVar22 <= iVar20" (identifier "iVar22") (<= "<=") (identifier "iVar20")) () ")")) (compound_statement "{\n              do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);\n              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }" ({ "{") (do_statement "do {\n                iVar11 = iVar11 + 0x80;\n              } while (iVar11 <= iVar20);" (do "do") (compound_statement "{\n                iVar11 = iVar11 + 0x80;\n              }" ({ "{") (expression_statement "iVar11 = iVar11 + 0x80;" (assignment_expression "iVar11 = iVar11 + 0x80" (identifier "iVar11") (= "=") (binary_expression "iVar11 + 0x80" (identifier "iVar11") (+ "+") (number_literal "0x80"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar11 <= iVar20)" (( "(") (binary_expression "iVar11 <= iVar20" (identifier "iVar11") (<= "<=") (identifier "iVar20")) () ")")) (; ";")) (expression_statement "iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);" (assignment_expression "iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U)" (identifier "iVar22") (= "=") (binary_expression "iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U)" (binary_expression "iVar22 + 0x80" (identifier "iVar22") (+ "+") (number_literal "0x80")) (+ "+") (parenthesized_expression "(iVar20 - iVar22 & 0xffffff80U)" (( "(") (binary_expression "iVar20 - iVar22 & 0xffffff80U" (binary_expression "iVar20 - iVar22" (identifier "iVar20") (- "-") (identifier "iVar22")) (& "&") (number_literal "0xffffff80U")) () ")")))) (; ";")) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (identifier "puVar4") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" (( "(") (pointer_expression "*(code *)PTR_xrealloc_0015673c" (* "*") (cast_expression "(code *)PTR_xrealloc_0015673c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xrealloc_0015673c"))) () ")")) (argument_list "(puVar4,iVar22)" (( "(") (identifier "puVar4") (, ",") (identifier "iVar22") () ")"))))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);" (call_expression "(*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" (( "(") (pointer_expression "*(code *)PTR_strcpy_001584cc" (* "*") (cast_expression "(code *)PTR_strcpy_001584cc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcpy_001584cc"))) () ")")) (argument_list "(puVar4 + (iVar20 - iVar15),uVar12)" (( "(") (binary_expression "puVar4 + (iVar20 - iVar15)" (identifier "puVar4") (+ "+") (parenthesized_expression "(iVar20 - iVar15)" (( "(") (binary_expression "iVar20 - iVar15" (identifier "iVar20") (- "-") (identifier "iVar15")) () ")"))) (, ",") (identifier "uVar12") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_xfree_00156bb4)(uVar12);" (call_expression "(*(code *)PTR_xfree_00156bb4)(uVar12)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" (( "(") (pointer_expression "*(code *)PTR_xfree_00156bb4" (* "*") (cast_expression "(code *)PTR_xfree_00156bb4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xfree_00156bb4"))) () ")")) (argument_list "(uVar12)" (( "(") (identifier "uVar12") () ")"))) (; ";")) (expression_statement "local_5c = local_c8;" (assignment_expression "local_5c = local_c8" (identifier "local_5c") (= "=") (identifier "local_c8")) (; ";")) (} "}")) (else_clause "else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }" (else "else") (compound_statement "{\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = pcVar6[local_5c];\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n          }" ({ "{") (if_statement "if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }" (if "if") (parenthesized_expression "(iVar22 + -1 <= iVar11)" (( "(") (binary_expression "iVar22 + -1 <= iVar11" (binary_expression "iVar22 + -1" (identifier "iVar22") (+ "+") (number_literal "-1")) (<= "<=") (identifier "iVar11")) () ")")) (compound_statement "{\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }" ({ "{") (expression_statement "iVar22 = iVar22 + 0x40;" (assignment_expression "iVar22 = iVar22 + 0x40" (identifier "iVar22") (= "=") (binary_expression "iVar22 + 0x40" (identifier "iVar22") (+ "+") (number_literal "0x40"))) (; ";")) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (identifier "puVar4") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" (( "(") (pointer_expression "*(code *)PTR_xrealloc_0015673c" (* "*") (cast_expression "(code *)PTR_xrealloc_0015673c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xrealloc_0015673c"))) () ")")) (argument_list "(puVar4,iVar22)" (( "(") (identifier "puVar4") (, ",") (identifier "iVar22") () ")"))))) (; ";")) (} "}"))) (expression_statement "puVar4[iVar11] = pcVar6[local_5c];" (assignment_expression "puVar4[iVar11] = pcVar6[local_5c]" (subscript_expression "puVar4[iVar11]" (identifier "puVar4") ([ "[") (identifier "iVar11") (] "]")) (= "=") (subscript_expression "pcVar6[local_5c]" (identifier "pcVar6") ([ "[") (identifier "local_5c") (] "]"))) (; ";")) (expression_statement "puVar4[iVar11 + 1] = 0;" (assignment_expression "puVar4[iVar11 + 1] = 0" (subscript_expression "puVar4[iVar11 + 1]" (identifier "puVar4") ([ "[") (binary_expression "iVar11 + 1" (identifier "iVar11") (+ "+") (number_literal "1")) (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar20 = iVar11 + 1;" (assignment_expression "iVar20 = iVar11 + 1" (identifier "iVar20") (= "=") (binary_expression "iVar11 + 1" (identifier "iVar11") (+ "+") (number_literal "1"))) (; ";")) (} "}"))))) (} "}")) (else_clause "else if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }" (else "else") (if_statement "if (cVar1 == '\"') {\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }\n        else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }" (if "if") (parenthesized_expression "(cVar1 == '\"')" (( "(") (binary_expression "cVar1 == '\"'" (identifier "cVar1") (== "==") (char_literal "'\"'" (' "'") (escape_sequence "\"") (' "'"))) () ")")) (compound_statement "{\n          local_c4 = 1 - local_c4;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          iVar20 = iVar11 + 1;\n          puVar4[iVar11] = 0x22;\n          puVar4[iVar20] = 0;\n        }" ({ "{") (expression_statement "local_c4 = 1 - local_c4;" (assignment_expression "local_c4 = 1 - local_c4" (identifier "local_c4") (= "=") (binary_expression "1 - local_c4" (number_literal "1") (- "-") (identifier "local_c4"))) (; ";")) (if_statement "if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }" (if "if") (parenthesized_expression "(iVar22 + -1 <= iVar11)" (( "(") (binary_expression "iVar22 + -1 <= iVar11" (binary_expression "iVar22 + -1" (identifier "iVar22") (+ "+") (number_literal "-1")) (<= "<=") (identifier "iVar11")) () ")")) (compound_statement "{\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }" ({ "{") (expression_statement "iVar22 = iVar22 + 0x40;" (assignment_expression "iVar22 = iVar22 + 0x40" (identifier "iVar22") (= "=") (binary_expression "iVar22 + 0x40" (identifier "iVar22") (+ "+") (number_literal "0x40"))) (; ";")) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (identifier "puVar4") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" (( "(") (pointer_expression "*(code *)PTR_xrealloc_0015673c" (* "*") (cast_expression "(code *)PTR_xrealloc_0015673c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xrealloc_0015673c"))) () ")")) (argument_list "(puVar4,iVar22)" (( "(") (identifier "puVar4") (, ",") (identifier "iVar22") () ")"))))) (; ";")) (} "}"))) (expression_statement "iVar20 = iVar11 + 1;" (assignment_expression "iVar20 = iVar11 + 1" (identifier "iVar20") (= "=") (binary_expression "iVar11 + 1" (identifier "iVar11") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar4[iVar11] = 0x22;" (assignment_expression "puVar4[iVar11] = 0x22" (subscript_expression "puVar4[iVar11]" (identifier "puVar4") ([ "[") (identifier "iVar11") (] "]")) (= "=") (number_literal "0x22")) (; ";")) (expression_statement "puVar4[iVar20] = 0;" (assignment_expression "puVar4[iVar20] = 0" (subscript_expression "puVar4[iVar20]" (identifier "puVar4") ([ "[") (identifier "iVar20") (] "]")) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }" (else "else") (if_statement "if (cVar1 < '#') {\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }\n        else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }" (if "if") (parenthesized_expression "(cVar1 < '#')" (( "(") (binary_expression "cVar1 < '#'" (identifier "cVar1") (< "<") (char_literal "'#'" (' "'") (character "#") (' "'"))) () ")")) (compound_statement "{\n          if (cVar1 == -3) goto LAB_0011e340;\n          if (cVar1 == -2) goto LAB_0011de7c;\nLAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = pcVar6[local_5c];\n          puVar4[iVar11 + 1] = 0;\n          iVar20 = iVar11 + 1;\n        }" ({ "{") (if_statement "if (cVar1 == -3) goto LAB_0011e340;" (if "if") (parenthesized_expression "(cVar1 == -3)" (( "(") (binary_expression "cVar1 == -3" (identifier "cVar1") (== "==") (number_literal "-3")) () ")")) (goto_statement "goto LAB_0011e340;" (goto "goto") (statement_identifier "LAB_0011e340") (; ";"))) (if_statement "if (cVar1 == -2) goto LAB_0011de7c;" (if "if") (parenthesized_expression "(cVar1 == -2)" (( "(") (binary_expression "cVar1 == -2" (identifier "cVar1") (== "==") (number_literal "-2")) () ")")) (goto_statement "goto LAB_0011de7c;" (goto "goto") (statement_identifier "LAB_0011de7c") (; ";"))) (labeled_statement "LAB_0011df70:\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }" (statement_identifier "LAB_0011df70") (: ":") (if_statement "if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }" (if "if") (parenthesized_expression "(iVar22 + -1 <= iVar11)" (( "(") (binary_expression "iVar22 + -1 <= iVar11" (binary_expression "iVar22 + -1" (identifier "iVar22") (+ "+") (number_literal "-1")) (<= "<=") (identifier "iVar11")) () ")")) (compound_statement "{\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }" ({ "{") (expression_statement "iVar22 = iVar22 + 0x40;" (assignment_expression "iVar22 = iVar22 + 0x40" (identifier "iVar22") (= "=") (binary_expression "iVar22 + 0x40" (identifier "iVar22") (+ "+") (number_literal "0x40"))) (; ";")) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (identifier "puVar4") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" (( "(") (pointer_expression "*(code *)PTR_xrealloc_0015673c" (* "*") (cast_expression "(code *)PTR_xrealloc_0015673c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xrealloc_0015673c"))) () ")")) (argument_list "(puVar4,iVar22)" (( "(") (identifier "puVar4") (, ",") (identifier "iVar22") () ")"))))) (; ";")) (} "}")))) (expression_statement "puVar4[iVar11] = pcVar6[local_5c];" (assignment_expression "puVar4[iVar11] = pcVar6[local_5c]" (subscript_expression "puVar4[iVar11]" (identifier "puVar4") ([ "[") (identifier "iVar11") (] "]")) (= "=") (subscript_expression "pcVar6[local_5c]" (identifier "pcVar6") ([ "[") (identifier "local_5c") (] "]"))) (; ";")) (expression_statement "puVar4[iVar11 + 1] = 0;" (assignment_expression "puVar4[iVar11 + 1] = 0" (subscript_expression "puVar4[iVar11 + 1]" (identifier "puVar4") ([ "[") (binary_expression "iVar11 + 1" (identifier "iVar11") (+ "+") (number_literal "1")) (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar20 = iVar11 + 1;" (assignment_expression "iVar20 = iVar11 + 1" (identifier "iVar20") (= "=") (binary_expression "iVar11 + 1" (identifier "iVar11") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (else_clause "else if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }" (else "else") (if_statement "if (cVar1 == '\'') {\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }\n        else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }" (if "if") (parenthesized_expression "(cVar1 == '\'')" (( "(") (binary_expression "cVar1 == '\''" (identifier "cVar1") (== "==") (char_literal "'\''" (' "'") (escape_sequence "\'") (' "'"))) () ")")) (compound_statement "{\n          if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }\n        }" ({ "{") (if_statement "if (local_b0 == 0) {\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }\n          else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }" (if "if") (parenthesized_expression "(local_b0 == 0)" (( "(") (binary_expression "local_b0 == 0" (identifier "local_b0") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }\n          }" ({ "{") (if_statement "if (local_c4 == 0) {\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }\n            else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }" (if "if") (parenthesized_expression "(local_c4 == 0)" (( "(") (binary_expression "local_c4 == 0" (identifier "local_c4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }\n            }" ({ "{") (if_statement "if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }\n              else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }" (if "if") (parenthesized_expression "(*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)" (( "(") (binary_expression "*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0" (pointer_expression "*(int *)PTR_history_quotes_inhibit_expansion_00157524" (* "*") (cast_expression "(int *)PTR_history_quotes_inhibit_expansion_00157524" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_history_quotes_inhibit_expansion_00157524"))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                puVar4[iVar11] = pcVar6[local_5c];\n                puVar4[iVar11 + 1] = 0;\n                local_b0 = 1;\n                uVar3 = 0;\n                iVar20 = iVar11 + 1;\n                local_c4 = uVar3;\n              }" ({ "{") (if_statement "if (iVar22 + -1 <= iVar11) {\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }" (if "if") (parenthesized_expression "(iVar22 + -1 <= iVar11)" (( "(") (binary_expression "iVar22 + -1 <= iVar11" (binary_expression "iVar22 + -1" (identifier "iVar22") (+ "+") (number_literal "-1")) (<= "<=") (identifier "iVar11")) () ")")) (compound_statement "{\n                  iVar22 = iVar22 + 0x40;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }" ({ "{") (expression_statement "iVar22 = iVar22 + 0x40;" (assignment_expression "iVar22 = iVar22 + 0x40" (identifier "iVar22") (= "=") (binary_expression "iVar22 + 0x40" (identifier "iVar22") (+ "+") (number_literal "0x40"))) (; ";")) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (identifier "puVar4") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" (( "(") (pointer_expression "*(code *)PTR_xrealloc_0015673c" (* "*") (cast_expression "(code *)PTR_xrealloc_0015673c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xrealloc_0015673c"))) () ")")) (argument_list "(puVar4,iVar22)" (( "(") (identifier "puVar4") (, ",") (identifier "iVar22") () ")"))))) (; ";")) (} "}"))) (expression_statement "puVar4[iVar11] = pcVar6[local_5c];" (assignment_expression "puVar4[iVar11] = pcVar6[local_5c]" (subscript_expression "puVar4[iVar11]" (identifier "puVar4") ([ "[") (identifier "iVar11") (] "]")) (= "=") (subscript_expression "pcVar6[local_5c]" (identifier "pcVar6") ([ "[") (identifier "local_5c") (] "]"))) (; ";")) (expression_statement "puVar4[iVar11 + 1] = 0;" (assignment_expression "puVar4[iVar11 + 1] = 0" (subscript_expression "puVar4[iVar11 + 1]" (identifier "puVar4") ([ "[") (binary_expression "iVar11 + 1" (identifier "iVar11") (+ "+") (number_literal "1")) (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_b0 = 1;" (assignment_expression "local_b0 = 1" (identifier "local_b0") (= "=") (number_literal "1")) (; ";")) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar20 = iVar11 + 1;" (assignment_expression "iVar20 = iVar11 + 1" (identifier "iVar20") (= "=") (binary_expression "iVar11 + 1" (identifier "iVar11") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_c4 = uVar3;" (assignment_expression "local_c4 = uVar3" (identifier "local_c4") (= "=") (identifier "uVar3")) (; ";")) (} "}")) (else_clause "else {\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }" (else "else") (compound_statement "{\n                if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }\n                local_5c = local_5c + 1;\n                FUN_0011c170(pcVar6,&local_5c,bVar16);\n                iVar18 = local_5c - iVar20;\n                iVar21 = iVar18 + 2;\n                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);\n                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);\n                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;\n                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);\n                iVar20 = iVar11 + iVar18;\n                iVar11 = iVar22;\n                if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }\n                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);\n                (*(code *)PTR_xfree_00156bb4)(iVar15);\n                local_b0 = local_c4;\n                uVar3 = local_c4;\n              }" ({ "{") (if_statement "if (local_5c < 1) {\n                  bVar16 = false;\n                }\n                else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }" (if "if") (parenthesized_expression "(local_5c < 1)" (( "(") (binary_expression "local_5c < 1" (identifier "local_5c") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n                  bVar16 = false;\n                }" ({ "{") (expression_statement "bVar16 = false;" (assignment_expression "bVar16 = false" (identifier "bVar16") (= "=") (false "false")) (; ";")) (} "}")) (else_clause "else {\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }" (else "else") (compound_statement "{\n                  bVar16 = pcVar6[local_5c + -1] == '$';\n                }" ({ "{") (expression_statement "bVar16 = pcVar6[local_5c + -1] == '$';" (assignment_expression "bVar16 = pcVar6[local_5c + -1] == '$'" (identifier "bVar16") (= "=") (binary_expression "pcVar6[local_5c + -1] == '$'" (subscript_expression "pcVar6[local_5c + -1]" (identifier "pcVar6") ([ "[") (binary_expression "local_5c + -1" (identifier "local_5c") (+ "+") (number_literal "-1")) (] "]")) (== "==") (char_literal "'$'" (' "'") (character "$") (' "'")))) (; ";")) (} "}")))) (expression_statement "local_5c = local_5c + 1;" (assignment_expression "local_5c = local_5c + 1" (identifier "local_5c") (= "=") (binary_expression "local_5c + 1" (identifier "local_5c") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_0011c170(pcVar6,&local_5c,bVar16);" (call_expression "FUN_0011c170(pcVar6,&local_5c,bVar16)" (identifier "FUN_0011c170") (argument_list "(pcVar6,&local_5c,bVar16)" (( "(") (identifier "pcVar6") (, ",") (pointer_expression "&local_5c" (& "&") (identifier "local_5c")) (, ",") (identifier "bVar16") () ")"))) (; ";")) (expression_statement "iVar18 = local_5c - iVar20;" (assignment_expression "iVar18 = local_5c - iVar20" (identifier "iVar18") (= "=") (binary_expression "local_5c - iVar20" (identifier "local_5c") (- "-") (identifier "iVar20"))) (; ";")) (expression_statement "iVar21 = iVar18 + 2;" (assignment_expression "iVar21 = iVar18 + 2" (identifier "iVar21") (= "=") (binary_expression "iVar18 + 2" (identifier "iVar18") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);" (assignment_expression "iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21)" (identifier "iVar15") (= "=") (call_expression "(*(code *)PTR_xmalloc_001565b8)(iVar21)" (parenthesized_expression "(*(code *)PTR_xmalloc_001565b8)" (( "(") (pointer_expression "*(code *)PTR_xmalloc_001565b8" (* "*") (cast_expression "(code *)PTR_xmalloc_001565b8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xmalloc_001565b8"))) () ")")) (argument_list "(iVar21)" (( "(") (identifier "iVar21") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);" (call_expression "(*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21)" (parenthesized_expression "(*(code *)PTR_strncpy_001583e4)" (( "(") (pointer_expression "*(code *)PTR_strncpy_001583e4" (* "*") (cast_expression "(code *)PTR_strncpy_001583e4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strncpy_001583e4"))) () ")")) (argument_list "(iVar15,pcVar6 + iVar20,iVar21)" (( "(") (identifier "iVar15") (, ",") (binary_expression "pcVar6 + iVar20" (identifier "pcVar6") (+ "+") (identifier "iVar20")) (, ",") (identifier "iVar21") () ")"))) (; ";")) (expression_statement "*(undefined1 *)(iVar15 + iVar18 + 1) = 0;" (assignment_expression "*(undefined1 *)(iVar15 + iVar18 + 1) = 0" (pointer_expression "*(undefined1 *)(iVar15 + iVar18 + 1)" (* "*") (cast_expression "(undefined1 *)(iVar15 + iVar18 + 1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar15 + iVar18 + 1)" (( "(") (binary_expression "iVar15 + iVar18 + 1" (binary_expression "iVar15 + iVar18" (identifier "iVar15") (+ "+") (identifier "iVar18")) (+ "+") (number_literal "1")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);" (assignment_expression "iVar18 = (*(code *)PTR_strlen_00158444)(iVar15)" (identifier "iVar18") (= "=") (call_expression "(*(code *)PTR_strlen_00158444)(iVar15)" (parenthesized_expression "(*(code *)PTR_strlen_00158444)" (( "(") (pointer_expression "*(code *)PTR_strlen_00158444" (* "*") (cast_expression "(code *)PTR_strlen_00158444" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00158444"))) () ")")) (argument_list "(iVar15)" (( "(") (identifier "iVar15") () ")")))) (; ";")) (expression_statement "iVar20 = iVar11 + iVar18;" (assignment_expression "iVar20 = iVar11 + iVar18" (identifier "iVar20") (= "=") (binary_expression "iVar11 + iVar18" (identifier "iVar11") (+ "+") (identifier "iVar18"))) (; ";")) (expression_statement "iVar11 = iVar22;" (assignment_expression "iVar11 = iVar22" (identifier "iVar11") (= "=") (identifier "iVar22")) (; ";")) (if_statement "if (iVar22 <= iVar20) {\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }" (if "if") (parenthesized_expression "(iVar22 <= iVar20)" (( "(") (binary_expression "iVar22 <= iVar20" (identifier "iVar22") (<= "<=") (identifier "iVar20")) () ")")) (compound_statement "{\n                  do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);\n                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;\n                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n                }" ({ "{") (do_statement "do {\n                    iVar11 = iVar11 + 0x80;\n                  } while (iVar11 <= iVar20);" (do "do") (compound_statement "{\n                    iVar11 = iVar11 + 0x80;\n                  }" ({ "{") (expression_statement "iVar11 = iVar11 + 0x80;" (assignment_expression "iVar11 = iVar11 + 0x80" (identifier "iVar11") (= "=") (binary_expression "iVar11 + 0x80" (identifier "iVar11") (+ "+") (number_literal "0x80"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar11 <= iVar20)" (( "(") (binary_expression "iVar11 <= iVar20" (identifier "iVar11") (<= "<=") (identifier "iVar20")) () ")")) (; ";")) (expression_statement "iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;" (assignment_expression "iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80" (identifier "iVar22") (= "=") (binary_expression "(iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80" (binary_expression "(iVar20 - iVar22 & 0xffffff80U) + iVar22" (parenthesized_expression "(iVar20 - iVar22 & 0xffffff80U)" (( "(") (binary_expression "iVar20 - iVar22 & 0xffffff80U" (binary_expression "iVar20 - iVar22" (identifier "iVar20") (- "-") (identifier "iVar22")) (& "&") (number_literal "0xffffff80U")) () ")")) (+ "+") (identifier "iVar22")) (+ "+") (number_literal "0x80"))) (; ";")) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (identifier "puVar4") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" (( "(") (pointer_expression "*(code *)PTR_xrealloc_0015673c" (* "*") (cast_expression "(code *)PTR_xrealloc_0015673c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xrealloc_0015673c"))) () ")")) (argument_list "(puVar4,iVar22)" (( "(") (identifier "puVar4") (, ",") (identifier "iVar22") () ")"))))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);" (call_expression "(*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15)" (parenthesized_expression "(*(code *)PTR_strcpy_001584cc)" (( "(") (pointer_expression "*(code *)PTR_strcpy_001584cc" (* "*") (cast_expression "(code *)PTR_strcpy_001584cc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcpy_001584cc"))) () ")")) (argument_list "(puVar4 + (iVar20 - iVar18),iVar15)" (( "(") (binary_expression "puVar4 + (iVar20 - iVar18)" (identifier "puVar4") (+ "+") (parenthesized_expression "(iVar20 - iVar18)" (( "(") (binary_expression "iVar20 - iVar18" (identifier "iVar20") (- "-") (identifier "iVar18")) () ")"))) (, ",") (identifier "iVar15") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_xfree_00156bb4)(iVar15);" (call_expression "(*(code *)PTR_xfree_00156bb4)(iVar15)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" (( "(") (pointer_expression "*(code *)PTR_xfree_00156bb4" (* "*") (cast_expression "(code *)PTR_xfree_00156bb4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xfree_00156bb4"))) () ")")) (argument_list "(iVar15)" (( "(") (identifier "iVar15") () ")"))) (; ";")) (expression_statement "local_b0 = local_c4;" (assignment_expression "local_b0 = local_c4" (identifier "local_b0") (= "=") (identifier "local_c4")) (; ";")) (expression_statement "uVar3 = local_c4;" (assignment_expression "uVar3 = local_c4" (identifier "uVar3") (= "=") (identifier "local_c4")) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }" (else "else") (compound_statement "{\n              if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }\n              puVar4[iVar11] = pcVar6[local_5c];\n              puVar4[iVar11 + 1] = 0;\n              uVar3 = local_b0;\n              iVar20 = iVar11 + 1;\n            }" ({ "{") (if_statement "if (iVar22 + -1 <= iVar11) {\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }" (if "if") (parenthesized_expression "(iVar22 + -1 <= iVar11)" (( "(") (binary_expression "iVar22 + -1 <= iVar11" (binary_expression "iVar22 + -1" (identifier "iVar22") (+ "+") (number_literal "-1")) (<= "<=") (identifier "iVar11")) () ")")) (compound_statement "{\n                iVar22 = iVar22 + 0x40;\n                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n              }" ({ "{") (expression_statement "iVar22 = iVar22 + 0x40;" (assignment_expression "iVar22 = iVar22 + 0x40" (identifier "iVar22") (= "=") (binary_expression "iVar22 + 0x40" (identifier "iVar22") (+ "+") (number_literal "0x40"))) (; ";")) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (identifier "puVar4") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" (( "(") (pointer_expression "*(code *)PTR_xrealloc_0015673c" (* "*") (cast_expression "(code *)PTR_xrealloc_0015673c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xrealloc_0015673c"))) () ")")) (argument_list "(puVar4,iVar22)" (( "(") (identifier "puVar4") (, ",") (identifier "iVar22") () ")"))))) (; ";")) (} "}"))) (expression_statement "puVar4[iVar11] = pcVar6[local_5c];" (assignment_expression "puVar4[iVar11] = pcVar6[local_5c]" (subscript_expression "puVar4[iVar11]" (identifier "puVar4") ([ "[") (identifier "iVar11") (] "]")) (= "=") (subscript_expression "pcVar6[local_5c]" (identifier "pcVar6") ([ "[") (identifier "local_5c") (] "]"))) (; ";")) (expression_statement "puVar4[iVar11 + 1] = 0;" (assignment_expression "puVar4[iVar11 + 1] = 0" (subscript_expression "puVar4[iVar11 + 1]" (identifier "puVar4") ([ "[") (binary_expression "iVar11 + 1" (identifier "iVar11") (+ "+") (number_literal "1")) (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar3 = local_b0;" (assignment_expression "uVar3 = local_b0" (identifier "uVar3") (= "=") (identifier "local_b0")) (; ";")) (expression_statement "iVar20 = iVar11 + 1;" (assignment_expression "iVar20 = iVar11 + 1" (identifier "iVar20") (= "=") (binary_expression "iVar11 + 1" (identifier "iVar11") (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }" (else "else") (compound_statement "{\n            if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }\n            puVar4[iVar11] = 0x27;\n            puVar4[iVar11 + 1] = 0;\n            iVar20 = iVar11 + 1;\n            local_b0 = uVar3;\n          }" ({ "{") (if_statement "if (iVar22 + -1 <= iVar11) {\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }" (if "if") (parenthesized_expression "(iVar22 + -1 <= iVar11)" (( "(") (binary_expression "iVar22 + -1 <= iVar11" (binary_expression "iVar22 + -1" (identifier "iVar22") (+ "+") (number_literal "-1")) (<= "<=") (identifier "iVar11")) () ")")) (compound_statement "{\n              iVar22 = iVar22 + 0x40;\n              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n            }" ({ "{") (expression_statement "iVar22 = iVar22 + 0x40;" (assignment_expression "iVar22 = iVar22 + 0x40" (identifier "iVar22") (= "=") (binary_expression "iVar22 + 0x40" (identifier "iVar22") (+ "+") (number_literal "0x40"))) (; ";")) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (identifier "puVar4") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" (( "(") (pointer_expression "*(code *)PTR_xrealloc_0015673c" (* "*") (cast_expression "(code *)PTR_xrealloc_0015673c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xrealloc_0015673c"))) () ")")) (argument_list "(puVar4,iVar22)" (( "(") (identifier "puVar4") (, ",") (identifier "iVar22") () ")"))))) (; ";")) (} "}"))) (expression_statement "puVar4[iVar11] = 0x27;" (assignment_expression "puVar4[iVar11] = 0x27" (subscript_expression "puVar4[iVar11]" (identifier "puVar4") ([ "[") (identifier "iVar11") (] "]")) (= "=") (number_literal "0x27")) (; ";")) (expression_statement "puVar4[iVar11 + 1] = 0;" (assignment_expression "puVar4[iVar11 + 1] = 0" (subscript_expression "puVar4[iVar11 + 1]" (identifier "puVar4") ([ "[") (binary_expression "iVar11 + 1" (identifier "iVar11") (+ "+") (number_literal "1")) (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar20 = iVar11 + 1;" (assignment_expression "iVar20 = iVar11 + 1" (identifier "iVar20") (= "=") (binary_expression "iVar11 + 1" (identifier "iVar11") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_b0 = uVar3;" (assignment_expression "local_b0 = uVar3" (identifier "local_b0") (= "=") (identifier "uVar3")) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }" (else "else") (compound_statement "{\n          if (cVar1 != '\\') goto LAB_0011df70;\n          if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }\n          puVar4[iVar11] = 0x5c;\n          puVar4[iVar11 + 1] = 0;\n          uVar3 = 1;\n          iVar20 = iVar11 + 1;\n        }" ({ "{") (if_statement "if (cVar1 != '\\') goto LAB_0011df70;" (if "if") (parenthesized_expression "(cVar1 != '\\')" (( "(") (binary_expression "cVar1 != '\\'" (identifier "cVar1") (!= "!=") (char_literal "'\\'" (' "'") (escape_sequence "\\") (' "'"))) () ")")) (goto_statement "goto LAB_0011df70;" (goto "goto") (statement_identifier "LAB_0011df70") (; ";"))) (if_statement "if (iVar22 + -1 <= iVar11) {\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }" (if "if") (parenthesized_expression "(iVar22 + -1 <= iVar11)" (( "(") (binary_expression "iVar22 + -1 <= iVar11" (binary_expression "iVar22 + -1" (identifier "iVar22") (+ "+") (number_literal "-1")) (<= "<=") (identifier "iVar11")) () ")")) (compound_statement "{\n            iVar22 = iVar22 + 0x40;\n            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n          }" ({ "{") (expression_statement "iVar22 = iVar22 + 0x40;" (assignment_expression "iVar22 = iVar22 + 0x40" (identifier "iVar22") (= "=") (binary_expression "iVar22 + 0x40" (identifier "iVar22") (+ "+") (number_literal "0x40"))) (; ";")) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (identifier "puVar4") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" (( "(") (pointer_expression "*(code *)PTR_xrealloc_0015673c" (* "*") (cast_expression "(code *)PTR_xrealloc_0015673c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xrealloc_0015673c"))) () ")")) (argument_list "(puVar4,iVar22)" (( "(") (identifier "puVar4") (, ",") (identifier "iVar22") () ")"))))) (; ";")) (} "}"))) (expression_statement "puVar4[iVar11] = 0x5c;" (assignment_expression "puVar4[iVar11] = 0x5c" (subscript_expression "puVar4[iVar11]" (identifier "puVar4") ([ "[") (identifier "iVar11") (] "]")) (= "=") (number_literal "0x5c")) (; ";")) (expression_statement "puVar4[iVar11 + 1] = 0;" (assignment_expression "puVar4[iVar11 + 1] = 0" (subscript_expression "puVar4[iVar11 + 1]" (identifier "puVar4") ([ "[") (binary_expression "iVar11 + 1" (identifier "iVar11") (+ "+") (number_literal "1")) (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" (identifier "uVar3") (= "=") (number_literal "1")) (; ";")) (expression_statement "iVar20 = iVar11 + 1;" (assignment_expression "iVar20 = iVar11 + 1" (identifier "iVar20") (= "=") (binary_expression "iVar11 + 1" (identifier "iVar11") (+ "+") (number_literal "1"))) (; ";")) (} "}")))))))))))) (} "}")) (else_clause "else {\n        if (iVar22 + -1 <= iVar11) {\n          iVar22 = iVar22 + 0x40;\n          puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n        }\n        puVar4[iVar11] = cVar1;\n        puVar4[iVar11 + 1] = 0;\n        uVar3 = 0;\n        iVar20 = iVar11 + 1;\n      }" (else "else") (compound_statement "{\n        if (iVar22 + -1 <= iVar11) {\n          iVar22 = iVar22 + 0x40;\n          puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n        }\n        puVar4[iVar11] = cVar1;\n        puVar4[iVar11 + 1] = 0;\n        uVar3 = 0;\n        iVar20 = iVar11 + 1;\n      }" ({ "{") (if_statement "if (iVar22 + -1 <= iVar11) {\n          iVar22 = iVar22 + 0x40;\n          puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n        }" (if "if") (parenthesized_expression "(iVar22 + -1 <= iVar11)" (( "(") (binary_expression "iVar22 + -1 <= iVar11" (binary_expression "iVar22 + -1" (identifier "iVar22") (+ "+") (number_literal "-1")) (<= "<=") (identifier "iVar11")) () ")")) (compound_statement "{\n          iVar22 = iVar22 + 0x40;\n          puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);\n        }" ({ "{") (expression_statement "iVar22 = iVar22 + 0x40;" (assignment_expression "iVar22 = iVar22 + 0x40" (identifier "iVar22") (= "=") (binary_expression "iVar22 + 0x40" (identifier "iVar22") (+ "+") (number_literal "0x40"))) (; ";")) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (identifier "puVar4") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22)" (parenthesized_expression "(*(code *)PTR_xrealloc_0015673c)" (( "(") (pointer_expression "*(code *)PTR_xrealloc_0015673c" (* "*") (cast_expression "(code *)PTR_xrealloc_0015673c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xrealloc_0015673c"))) () ")")) (argument_list "(puVar4,iVar22)" (( "(") (identifier "puVar4") (, ",") (identifier "iVar22") () ")"))))) (; ";")) (} "}"))) (expression_statement "puVar4[iVar11] = cVar1;" (assignment_expression "puVar4[iVar11] = cVar1" (subscript_expression "puVar4[iVar11]" (identifier "puVar4") ([ "[") (identifier "iVar11") (] "]")) (= "=") (identifier "cVar1")) (; ";")) (expression_statement "puVar4[iVar11 + 1] = 0;" (assignment_expression "puVar4[iVar11 + 1] = 0" (subscript_expression "puVar4[iVar11 + 1]" (identifier "puVar4") ([ "[") (binary_expression "iVar11 + 1" (identifier "iVar11") (+ "+") (number_literal "1")) (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar20 = iVar11 + 1;" (assignment_expression "iVar20 = iVar11 + 1" (identifier "iVar20") (= "=") (binary_expression "iVar11 + 1" (identifier "iVar11") (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (labeled_statement "LAB_0011dc80:\n      local_5c = local_5c + 1;" (statement_identifier "LAB_0011dc80") (: ":") (expression_statement "local_5c = local_5c + 1;" (assignment_expression "local_5c = local_5c + 1" (identifier "local_5c") (= "=") (binary_expression "local_5c + 1" (identifier "local_5c") (+ "+") (number_literal "1"))) (; ";"))) (expression_statement "iVar11 = iVar20;" (assignment_expression "iVar11 = iVar20" (identifier "iVar11") (= "=") (identifier "iVar20")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(local_5c < local_c8)" (( "(") (binary_expression "local_5c < local_c8" (identifier "local_5c") (< "<") (identifier "local_c8")) () ")")) (; ";")) (expression_statement "*param_2 = puVar4;" (assignment_expression "*param_2 = puVar4" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "puVar4")) (; ";")) (if_statement "if (pcVar6 != param_1) {\nLAB_0011f650:\n      (*(code *)PTR_xfree_00156bb4)(pcVar6);\n    }" (if "if") (parenthesized_expression "(pcVar6 != param_1)" (( "(") (binary_expression "pcVar6 != param_1" (identifier "pcVar6") (!= "!=") (identifier "param_1")) () ")")) (compound_statement "{\nLAB_0011f650:\n      (*(code *)PTR_xfree_00156bb4)(pcVar6);\n    }" ({ "{") (labeled_statement "LAB_0011f650:\n      (*(code *)PTR_xfree_00156bb4)(pcVar6);" (statement_identifier "LAB_0011f650") (: ":") (expression_statement "(*(code *)PTR_xfree_00156bb4)(pcVar6);" (call_expression "(*(code *)PTR_xfree_00156bb4)(pcVar6)" (parenthesized_expression "(*(code *)PTR_xfree_00156bb4)" (( "(") (pointer_expression "*(code *)PTR_xfree_00156bb4" (* "*") (cast_expression "(code *)PTR_xfree_00156bb4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xfree_00156bb4"))) () ")")) (argument_list "(pcVar6)" (( "(") (identifier "pcVar6") () ")"))) (; ";"))) (} "}"))) (} "}")) (else_clause "else {\n    *param_2 = puVar4;\n    if (pcVar6 != param_1) {\n      local_a8 = 0;\n      goto LAB_0011f650;\n    }\n    local_a8 = 0;\n  }" (else "else") (compound_statement "{\n    *param_2 = puVar4;\n    if (pcVar6 != param_1) {\n      local_a8 = 0;\n      goto LAB_0011f650;\n    }\n    local_a8 = 0;\n  }" ({ "{") (expression_statement "*param_2 = puVar4;" (assignment_expression "*param_2 = puVar4" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "puVar4")) (; ";")) (if_statement "if (pcVar6 != param_1) {\n      local_a8 = 0;\n      goto LAB_0011f650;\n    }" (if "if") (parenthesized_expression "(pcVar6 != param_1)" (( "(") (binary_expression "pcVar6 != param_1" (identifier "pcVar6") (!= "!=") (identifier "param_1")) () ")")) (compound_statement "{\n      local_a8 = 0;\n      goto LAB_0011f650;\n    }" ({ "{") (expression_statement "local_a8 = 0;" (assignment_expression "local_a8 = 0" (identifier "local_a8") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_0011f650;" (goto "goto") (statement_identifier "LAB_0011f650") (; ";")) (} "}"))) (expression_statement "local_a8 = 0;" (assignment_expression "local_a8 = 0" (identifier "local_a8") (= "=") (number_literal "0")) (; ";")) (} "}")))) (expression_statement "uVar3 = (uint)(local_a8 != 0);" (assignment_expression "uVar3 = (uint)(local_a8 != 0)" (identifier "uVar3") (= "=") (call_expression "(uint)(local_a8 != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(local_a8 != 0)" (( "(") (binary_expression "local_a8 != 0" (identifier "local_a8") (!= "!=") (number_literal "0")) () ")")))) (; ";")) (labeled_statement "LAB_0011f678:\n  if (local_3c[4] == *(int *)PTR___stack_chk_guard_0015858c) {\n    return uVar3;\n  }" (statement_identifier "LAB_0011f678") (: ":") (if_statement "if (local_3c[4] == *(int *)PTR___stack_chk_guard_0015858c) {\n    return uVar3;\n  }" (if "if") (parenthesized_expression "(local_3c[4] == *(int *)PTR___stack_chk_guard_0015858c)" (( "(") (binary_expression "local_3c[4] == *(int *)PTR___stack_chk_guard_0015858c" (subscript_expression "local_3c[4]" (identifier "local_3c") ([ "[") (number_literal "4") (] "]")) (== "==") (pointer_expression "*(int *)PTR___stack_chk_guard_0015858c" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_0015858c" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_0015858c")))) () ")")) (compound_statement "{\n    return uVar3;\n  }" ({ "{") (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}")))) (expression_statement "iVar22 = local_3c[4];" (assignment_expression "iVar22 = local_3c[4]" (identifier "iVar22") (= "=") (subscript_expression "local_3c[4]" (identifier "local_3c") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "puVar23 = PTR___stack_chk_fail_0015853c;" (assignment_expression "puVar23 = PTR___stack_chk_fail_0015853c" (identifier "puVar23") (= "=") (identifier "PTR___stack_chk_fail_0015853c")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_0015853c)();" (call_expression "(*(code *)PTR___stack_chk_fail_0015853c)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0015853c)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_0015853c" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_0015853c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_0015853c"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (iVar22 == 0) {\n    iVar22 = (**(code **)(puVar23 + 0x384f4))(*(int *)(puVar23 + 0x36ccc) + 0x66e4);\n    if (iVar22 == 0) {\n      uVar3 = 0;\n    }\n    else {\n      iVar20 = (**(code **)(puVar23 + 0x38b94))(iVar22);\n      uVar3 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 10);\n      (**(code **)(puVar23 + 0x38c1c))(uVar3,iVar22);\n      *(undefined1 *)(uVar3 + iVar20) = 0x2f;\n      puVar13 = (undefined4 *)(uVar3 + iVar20 + 1);\n      iVar22 = *(int *)(puVar23 + 0x36d00);\n      uVar12 = *(undefined4 *)(iVar22 + 0x5d4);\n      *puVar13 = *(undefined4 *)(iVar22 + 0x5d0);\n      puVar13[1] = uVar12;\n      *(undefined1 *)(puVar13 + 2) = *(undefined1 *)(iVar22 + 0x5d8);\n    }\n  }\n  else {\n    iVar20 = (**(code **)(puVar23 + 0x38b94))();\n    uVar12 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 1);\n    uVar3 = (**(code **)(puVar23 + 0x38c1c))(uVar12,iVar22);\n  }" (if "if") (parenthesized_expression "(iVar22 == 0)" (( "(") (binary_expression "iVar22 == 0" (identifier "iVar22") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar22 = (**(code **)(puVar23 + 0x384f4))(*(int *)(puVar23 + 0x36ccc) + 0x66e4);\n    if (iVar22 == 0) {\n      uVar3 = 0;\n    }\n    else {\n      iVar20 = (**(code **)(puVar23 + 0x38b94))(iVar22);\n      uVar3 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 10);\n      (**(code **)(puVar23 + 0x38c1c))(uVar3,iVar22);\n      *(undefined1 *)(uVar3 + iVar20) = 0x2f;\n      puVar13 = (undefined4 *)(uVar3 + iVar20 + 1);\n      iVar22 = *(int *)(puVar23 + 0x36d00);\n      uVar12 = *(undefined4 *)(iVar22 + 0x5d4);\n      *puVar13 = *(undefined4 *)(iVar22 + 0x5d0);\n      puVar13[1] = uVar12;\n      *(undefined1 *)(puVar13 + 2) = *(undefined1 *)(iVar22 + 0x5d8);\n    }\n  }" ({ "{") (expression_statement "iVar22 = (**(code **)(puVar23 + 0x384f4))(*(int *)(puVar23 + 0x36ccc) + 0x66e4);" (assignment_expression "iVar22 = (**(code **)(puVar23 + 0x384f4))(*(int *)(puVar23 + 0x36ccc) + 0x66e4)" (identifier "iVar22") (= "=") (call_expression "(**(code **)(puVar23 + 0x384f4))(*(int *)(puVar23 + 0x36ccc) + 0x66e4)" (parenthesized_expression "(**(code **)(puVar23 + 0x384f4))" (( "(") (pointer_expression "**(code **)(puVar23 + 0x384f4)" (* "*") (pointer_expression "*(code **)(puVar23 + 0x384f4)" (* "*") (cast_expression "(code **)(puVar23 + 0x384f4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar23 + 0x384f4)" (( "(") (binary_expression "puVar23 + 0x384f4" (identifier "puVar23") (+ "+") (number_literal "0x384f4")) () ")"))))) () ")")) (argument_list "(*(int *)(puVar23 + 0x36ccc) + 0x66e4)" (( "(") (binary_expression "*(int *)(puVar23 + 0x36ccc) + 0x66e4" (pointer_expression "*(int *)(puVar23 + 0x36ccc)" (* "*") (cast_expression "(int *)(puVar23 + 0x36ccc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar23 + 0x36ccc)" (( "(") (binary_expression "puVar23 + 0x36ccc" (identifier "puVar23") (+ "+") (number_literal "0x36ccc")) () ")")))) (+ "+") (number_literal "0x66e4")) () ")")))) (; ";")) (if_statement "if (iVar22 == 0) {\n      uVar3 = 0;\n    }\n    else {\n      iVar20 = (**(code **)(puVar23 + 0x38b94))(iVar22);\n      uVar3 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 10);\n      (**(code **)(puVar23 + 0x38c1c))(uVar3,iVar22);\n      *(undefined1 *)(uVar3 + iVar20) = 0x2f;\n      puVar13 = (undefined4 *)(uVar3 + iVar20 + 1);\n      iVar22 = *(int *)(puVar23 + 0x36d00);\n      uVar12 = *(undefined4 *)(iVar22 + 0x5d4);\n      *puVar13 = *(undefined4 *)(iVar22 + 0x5d0);\n      puVar13[1] = uVar12;\n      *(undefined1 *)(puVar13 + 2) = *(undefined1 *)(iVar22 + 0x5d8);\n    }" (if "if") (parenthesized_expression "(iVar22 == 0)" (( "(") (binary_expression "iVar22 == 0" (identifier "iVar22") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar3 = 0;\n    }" ({ "{") (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      iVar20 = (**(code **)(puVar23 + 0x38b94))(iVar22);\n      uVar3 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 10);\n      (**(code **)(puVar23 + 0x38c1c))(uVar3,iVar22);\n      *(undefined1 *)(uVar3 + iVar20) = 0x2f;\n      puVar13 = (undefined4 *)(uVar3 + iVar20 + 1);\n      iVar22 = *(int *)(puVar23 + 0x36d00);\n      uVar12 = *(undefined4 *)(iVar22 + 0x5d4);\n      *puVar13 = *(undefined4 *)(iVar22 + 0x5d0);\n      puVar13[1] = uVar12;\n      *(undefined1 *)(puVar13 + 2) = *(undefined1 *)(iVar22 + 0x5d8);\n    }" (else "else") (compound_statement "{\n      iVar20 = (**(code **)(puVar23 + 0x38b94))(iVar22);\n      uVar3 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 10);\n      (**(code **)(puVar23 + 0x38c1c))(uVar3,iVar22);\n      *(undefined1 *)(uVar3 + iVar20) = 0x2f;\n      puVar13 = (undefined4 *)(uVar3 + iVar20 + 1);\n      iVar22 = *(int *)(puVar23 + 0x36d00);\n      uVar12 = *(undefined4 *)(iVar22 + 0x5d4);\n      *puVar13 = *(undefined4 *)(iVar22 + 0x5d0);\n      puVar13[1] = uVar12;\n      *(undefined1 *)(puVar13 + 2) = *(undefined1 *)(iVar22 + 0x5d8);\n    }" ({ "{") (expression_statement "iVar20 = (**(code **)(puVar23 + 0x38b94))(iVar22);" (assignment_expression "iVar20 = (**(code **)(puVar23 + 0x38b94))(iVar22)" (identifier "iVar20") (= "=") (call_expression "(**(code **)(puVar23 + 0x38b94))(iVar22)" (parenthesized_expression "(**(code **)(puVar23 + 0x38b94))" (( "(") (pointer_expression "**(code **)(puVar23 + 0x38b94)" (* "*") (pointer_expression "*(code **)(puVar23 + 0x38b94)" (* "*") (cast_expression "(code **)(puVar23 + 0x38b94)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar23 + 0x38b94)" (( "(") (binary_expression "puVar23 + 0x38b94" (identifier "puVar23") (+ "+") (number_literal "0x38b94")) () ")"))))) () ")")) (argument_list "(iVar22)" (( "(") (identifier "iVar22") () ")")))) (; ";")) (expression_statement "uVar3 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 10);" (assignment_expression "uVar3 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 10)" (identifier "uVar3") (= "=") (call_expression "(**(code **)(puVar23 + 0x36d08))(iVar20 + 10)" (parenthesized_expression "(**(code **)(puVar23 + 0x36d08))" (( "(") (pointer_expression "**(code **)(puVar23 + 0x36d08)" (* "*") (pointer_expression "*(code **)(puVar23 + 0x36d08)" (* "*") (cast_expression "(code **)(puVar23 + 0x36d08)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar23 + 0x36d08)" (( "(") (binary_expression "puVar23 + 0x36d08" (identifier "puVar23") (+ "+") (number_literal "0x36d08")) () ")"))))) () ")")) (argument_list "(iVar20 + 10)" (( "(") (binary_expression "iVar20 + 10" (identifier "iVar20") (+ "+") (number_literal "10")) () ")")))) (; ";")) (expression_statement "(**(code **)(puVar23 + 0x38c1c))(uVar3,iVar22);" (call_expression "(**(code **)(puVar23 + 0x38c1c))(uVar3,iVar22)" (parenthesized_expression "(**(code **)(puVar23 + 0x38c1c))" (( "(") (pointer_expression "**(code **)(puVar23 + 0x38c1c)" (* "*") (pointer_expression "*(code **)(puVar23 + 0x38c1c)" (* "*") (cast_expression "(code **)(puVar23 + 0x38c1c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar23 + 0x38c1c)" (( "(") (binary_expression "puVar23 + 0x38c1c" (identifier "puVar23") (+ "+") (number_literal "0x38c1c")) () ")"))))) () ")")) (argument_list "(uVar3,iVar22)" (( "(") (identifier "uVar3") (, ",") (identifier "iVar22") () ")"))) (; ";")) (expression_statement "*(undefined1 *)(uVar3 + iVar20) = 0x2f;" (assignment_expression "*(undefined1 *)(uVar3 + iVar20) = 0x2f" (pointer_expression "*(undefined1 *)(uVar3 + iVar20)" (* "*") (cast_expression "(undefined1 *)(uVar3 + iVar20)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar3 + iVar20)" (( "(") (binary_expression "uVar3 + iVar20" (identifier "uVar3") (+ "+") (identifier "iVar20")) () ")")))) (= "=") (number_literal "0x2f")) (; ";")) (expression_statement "puVar13 = (undefined4 *)(uVar3 + iVar20 + 1);" (assignment_expression "puVar13 = (undefined4 *)(uVar3 + iVar20 + 1)" (identifier "puVar13") (= "=") (cast_expression "(undefined4 *)(uVar3 + iVar20 + 1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar3 + iVar20 + 1)" (( "(") (binary_expression "uVar3 + iVar20 + 1" (binary_expression "uVar3 + iVar20" (identifier "uVar3") (+ "+") (identifier "iVar20")) (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "iVar22 = *(int *)(puVar23 + 0x36d00);" (assignment_expression "iVar22 = *(int *)(puVar23 + 0x36d00)" (identifier "iVar22") (= "=") (pointer_expression "*(int *)(puVar23 + 0x36d00)" (* "*") (cast_expression "(int *)(puVar23 + 0x36d00)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar23 + 0x36d00)" (( "(") (binary_expression "puVar23 + 0x36d00" (identifier "puVar23") (+ "+") (number_literal "0x36d00")) () ")"))))) (; ";")) (expression_statement "uVar12 = *(undefined4 *)(iVar22 + 0x5d4);" (assignment_expression "uVar12 = *(undefined4 *)(iVar22 + 0x5d4)" (identifier "uVar12") (= "=") (pointer_expression "*(undefined4 *)(iVar22 + 0x5d4)" (* "*") (cast_expression "(undefined4 *)(iVar22 + 0x5d4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar22 + 0x5d4)" (( "(") (binary_expression "iVar22 + 0x5d4" (identifier "iVar22") (+ "+") (number_literal "0x5d4")) () ")"))))) (; ";")) (expression_statement "*puVar13 = *(undefined4 *)(iVar22 + 0x5d0);" (assignment_expression "*puVar13 = *(undefined4 *)(iVar22 + 0x5d0)" (pointer_expression "*puVar13" (* "*") (identifier "puVar13")) (= "=") (pointer_expression "*(undefined4 *)(iVar22 + 0x5d0)" (* "*") (cast_expression "(undefined4 *)(iVar22 + 0x5d0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar22 + 0x5d0)" (( "(") (binary_expression "iVar22 + 0x5d0" (identifier "iVar22") (+ "+") (number_literal "0x5d0")) () ")"))))) (; ";")) (expression_statement "puVar13[1] = uVar12;" (assignment_expression "puVar13[1] = uVar12" (subscript_expression "puVar13[1]" (identifier "puVar13") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar12")) (; ";")) (expression_statement "*(undefined1 *)(puVar13 + 2) = *(undefined1 *)(iVar22 + 0x5d8);" (assignment_expression "*(undefined1 *)(puVar13 + 2) = *(undefined1 *)(iVar22 + 0x5d8)" (pointer_expression "*(undefined1 *)(puVar13 + 2)" (* "*") (cast_expression "(undefined1 *)(puVar13 + 2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar13 + 2)" (( "(") (binary_expression "puVar13 + 2" (identifier "puVar13") (+ "+") (number_literal "2")) () ")")))) (= "=") (pointer_expression "*(undefined1 *)(iVar22 + 0x5d8)" (* "*") (cast_expression "(undefined1 *)(iVar22 + 0x5d8)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar22 + 0x5d8)" (( "(") (binary_expression "iVar22 + 0x5d8" (identifier "iVar22") (+ "+") (number_literal "0x5d8")) () ")"))))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n    iVar20 = (**(code **)(puVar23 + 0x38b94))();\n    uVar12 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 1);\n    uVar3 = (**(code **)(puVar23 + 0x38c1c))(uVar12,iVar22);\n  }" (else "else") (compound_statement "{\n    iVar20 = (**(code **)(puVar23 + 0x38b94))();\n    uVar12 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 1);\n    uVar3 = (**(code **)(puVar23 + 0x38c1c))(uVar12,iVar22);\n  }" ({ "{") (expression_statement "iVar20 = (**(code **)(puVar23 + 0x38b94))();" (assignment_expression "iVar20 = (**(code **)(puVar23 + 0x38b94))()" (identifier "iVar20") (= "=") (call_expression "(**(code **)(puVar23 + 0x38b94))()" (parenthesized_expression "(**(code **)(puVar23 + 0x38b94))" (( "(") (pointer_expression "**(code **)(puVar23 + 0x38b94)" (* "*") (pointer_expression "*(code **)(puVar23 + 0x38b94)" (* "*") (cast_expression "(code **)(puVar23 + 0x38b94)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar23 + 0x38b94)" (( "(") (binary_expression "puVar23 + 0x38b94" (identifier "puVar23") (+ "+") (number_literal "0x38b94")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar12 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 1);" (assignment_expression "uVar12 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 1)" (identifier "uVar12") (= "=") (call_expression "(**(code **)(puVar23 + 0x36d08))(iVar20 + 1)" (parenthesized_expression "(**(code **)(puVar23 + 0x36d08))" (( "(") (pointer_expression "**(code **)(puVar23 + 0x36d08)" (* "*") (pointer_expression "*(code **)(puVar23 + 0x36d08)" (* "*") (cast_expression "(code **)(puVar23 + 0x36d08)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar23 + 0x36d08)" (( "(") (binary_expression "puVar23 + 0x36d08" (identifier "puVar23") (+ "+") (number_literal "0x36d08")) () ")"))))) () ")")) (argument_list "(iVar20 + 1)" (( "(") (binary_expression "iVar20 + 1" (identifier "iVar20") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "uVar3 = (**(code **)(puVar23 + 0x38c1c))(uVar12,iVar22);" (assignment_expression "uVar3 = (**(code **)(puVar23 + 0x38c1c))(uVar12,iVar22)" (identifier "uVar3") (= "=") (call_expression "(**(code **)(puVar23 + 0x38c1c))(uVar12,iVar22)" (parenthesized_expression "(**(code **)(puVar23 + 0x38c1c))" (( "(") (pointer_expression "**(code **)(puVar23 + 0x38c1c)" (* "*") (pointer_expression "*(code **)(puVar23 + 0x38c1c)" (* "*") (cast_expression "(code **)(puVar23 + 0x38c1c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar23 + 0x38c1c)" (( "(") (binary_expression "puVar23 + 0x38c1c" (identifier "puVar23") (+ "+") (number_literal "0x38c1c")) () ")"))))) () ")")) (argument_list "(uVar12,iVar22)" (( "(") (identifier "uVar12") (, ",") (identifier "iVar22") () ")")))) (; ";")) (} "}")))) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}")))

/* WARNING: Removing unreachable block (ram,0x0011f384) */
/* WARNING: Removing unreachable block (ram,0x0011f4d8) */
/* WARNING: Removing unreachable block (ram,0x0011f390) */
/* WARNING: Removing unreachable block (ram,0x0011f4f0) */
/* WARNING: Removing unreachable block (ram,0x0011f720) */
/* WARNING: Removing unreachable block (ram,0x0011f4f8) */
/* WARNING: Removing unreachable block (ram,0x0011f504) */
/* WARNING: Removing unreachable block (ram,0x0011f538) */
/* WARNING: Removing unreachable block (ram,0x0011f514) */
/* WARNING: Removing unreachable block (ram,0x0011f540) */
/* WARNING: Removing unreachable block (ram,0x0011f51c) */
/* WARNING: Removing unreachable block (ram,0x0011f548) */
/* WARNING: Removing unreachable block (ram,0x0011f558) */
/* WARNING: Removing unreachable block (ram,0x0011f520) */
/* WARNING: Removing unreachable block (ram,0x0011f6e0) */
/* WARNING: Removing unreachable block (ram,0x0011f52c) */
/* WARNING: Removing unreachable block (ram,0x0011f6e4) */
/* WARNING: Removing unreachable block (ram,0x0011f70c) */
/* WARNING: Removing unreachable block (ram,0x0011f5a4) */
/* WARNING: Removing unreachable block (ram,0x0011f560) */
/* WARNING: Removing unreachable block (ram,0x0011f5ac) */
/* WARNING: Removing unreachable block (ram,0x0011f5b4) */
/* WARNING: Removing unreachable block (ram,0x0011f578) */
/* WARNING: Removing unreachable block (ram,0x0011f5c4) */
/* WARNING: Removing unreachable block (ram,0x0011f590) */
/* WARNING: Removing unreachable block (ram,0x0011f598) */
/* WARNING: Removing unreachable block (ram,0x0011f740) */
/* WARNING: Removing unreachable block (ram,0x0011f744) */
/* WARNING: Removing unreachable block (ram,0x0011f39c) */
/* WARNING: Removing unreachable block (ram,0x0011f3d8) */
/* WARNING: Removing unreachable block (ram,0x0011f5ec) */

int function_1(char *var_7,char **var_1)

{
  char var_18;
  type_1 *var_32;
  type_2 var_10;
  char *var_17;
  type_3 *pcVar5;
  char *var_15;
  char cVar13;
  char *var_24;
  char *var_29;
  type_2 var_6;
  int var_8;
  type_4 uVar11;
  type_4 *var_34;
  int var_9;
  bool bVar15;
  int var_12;
  int *var_16;
  int var_11;
  int var_23;
  int var_2;
  type_1 *var_30;
  int var_14;
  type_2 var_19;
  char *local_c0;
  type_2 var_20;
  int var_31;
  int var_4;
  int var_26;
  int fake_i;
  type_5 ps;
  type_5 ps_1;
  char fake_s [3];
  char mb [16];
  int var_33;
  
  var_33 = *(int *)PTR___stack_chk_guard_0015858c;
  var_10 = 0;
  if (var_1 == (char **)0x0) goto LAB_0011f678;
  if (*PTR_history_expansion_char_00156fcc == '\0') {
    var_2 = (*(type_3 *)PTR_strlen_00158444)();
    uVar11 = (*(type_3 *)PTR_xmalloc_001565b8)(var_2 + 1);
    var_17 = (char *)(*(type_3 *)PTR_strcpy_001584cc)(uVar11,var_7);
    *var_1 = var_17;
    var_10 = 0;
    goto LAB_0011f678;
  }
  var_17 = (char *)(*(type_3 *)PTR_xmalloc_001565b8)(0x100);
  *var_17 = '\0';
  var_14 = (*(type_3 *)PTR_strlen_00158444)(var_7);
  if (*var_7 != *PTR_history_subst_char_00156fd0) {
    ps.__count = 0;
    ps.__value.__wch = 0;
    var_10 = (type_2)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);
    var_4 = 0;
    var_15 = var_7;
    if ((*(int *)PTR_history_quoting_state_001569a0 == 0x27) &&
       (*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0)) {
      var_3(var_7,&var_4,0);
      if (var_7[var_4] == '\0') goto LAB_0011d994;
      var_4 = var_4 + 1;
    }
    var_32 = PTR_history_quotes_inhibit_expansion_00157524;
    var_30 = PTR_history_comment_char_00156f80;
    if (var_7[var_4] != '\0') {
      pcVar5 = (type_3 *)(var_5 + -0x3e90);
      do {
        var_6 = (*(type_3 *)PTR___ctype_get_mb_cur_max_001584e0)();
        if ((var_6 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {
LAB_0011f800:
          var_2 = var_4;
          var_11 = (int)(var_7 + var_4)[1];
          if (((char)*var_30 == 0) || (var_8 = (int)var_7[var_4], (char)*var_30 != var_8)) {
            var_8 = (int)var_7[var_4];
            var_9 = (int)(char)*PTR_history_expansion_char_00156fcc;
            if (var_8 != var_9) {
              if (var_10 == 0) goto LAB_0011f844;
LAB_0011f788:
              if (var_8 == 0x5c) {
                if (var_11 == 0x22) {
                  var_4 = var_4 + 1;
                }
                else {
                  var_12 = *(int *)var_32;
                  if (var_12 != 0) goto LAB_0011f7a4;
                }
              }
              else {
                var_12 = *(int *)var_32;
                if (var_12 != 0) {
                  if (var_8 == 0x22) {
LAB_0011da74:
                    var_10 = 1 - var_10;
                  }
                  else {
LAB_0011f7a4:
                    if (var_10 == 0) goto LAB_0011f858;
                    if (var_12 != 0) goto LAB_0011f7b4;
                  }
                }
              }
              goto LAB_0011f7c0;
            }
          }
          else if (var_10 == 0) {
            if ((var_4 == 0) ||
               ((var_7[var_4 + -1] != '\0' &&
                (var_8 = (*(type_3 *)PTR_strchr_0015844c)
                                    (*(type_4 *)PTR_history_word_delimiters_0015825c),
                var_8 != 0)))) goto LAB_0011da2c;
            var_8 = (int)var_7[var_2];
            var_9 = (int)(char)*PTR_history_expansion_char_00156fcc;
            if (var_8 != var_9) {
LAB_0011f844:
              if (*(int *)var_32 == 0) goto LAB_0011f7c0;
              if (var_8 == 0x22) goto LAB_0011da74;
LAB_0011f858:
              if (var_8 == 0x27) {
                if (var_2 < 1) {
                  bVar15 = false;
                }
                else {
                  bVar15 = var_7[var_2 + -1] == '$';
                }
                var_4 = var_2 + 1;
                (*pcVar5)(var_7,&var_4,bVar15);
                var_10 = 0;
              }
              else {
LAB_0011f7b4:
                if ((var_8 == 0x5c) && ((var_11 == 0x27 || (var_11 == var_9)))) {
                  var_4 = var_2 + 1;
                }
              }
              goto LAB_0011f7c0;
            }
          }
          else {
            var_9 = (int)(char)*PTR_history_expansion_char_00156fcc;
            if (var_8 != var_9) goto LAB_0011f788;
          }
          if (((var_11 != 0) &&
              (var_8 = (*(type_3 *)PTR_strchr_0015844c)
                                  (*(type_4 *)PTR_history_no_expand_chars_00158260,var_11),
              var_8 == 0)) && ((var_10 == 0 || (var_11 != 0x22)))) {
            if (*(type_3 **)PTR_history_inhibit_expansion_function_0015752c == (type_3 *)0x0)
            goto LAB_0011d9ac;
            var_2 = (**(type_3 **)PTR_history_inhibit_expansion_function_0015752c)(var_7,var_2);
            if (var_2 == 0) break;
          }
        }
        else {
          var_2 = var_13(var_7 + var_4,&ps);
          if (var_2 < 2) goto LAB_0011f800;
          var_4 = var_4 + var_2 + -1;
        }
LAB_0011f7c0:
        var_4 = var_4 + 1;
      } while (var_7[var_4] != '\0');
    }
    goto LAB_0011d994;
  }
  var_15 = (char *)(*(type_3 *)PTR_xmalloc_001565b8)(var_14 + 5);
  var_18 = *PTR_history_expansion_char_00156fcc;
  var_15[1] = var_18;
  *var_15 = var_18;
  var_15[2] = ':';
  var_15[3] = 's';
  (*(type_3 *)PTR_strcpy_001584cc)(var_15 + 4,var_7);
  var_14 = var_14 + 4;
  goto LAB_0011d9ac;
LAB_0011da2c:
  do {
    var_4 = var_2 + 1;
    var_2 = var_4;
  } while (var_7[var_4] != '\0');
LAB_0011d994:
  if (var_7[var_4] != *PTR_history_expansion_char_00156fcc) {
    (*(type_3 *)PTR_xfree_00156bb4)(var_17);
    var_2 = (*(type_3 *)PTR_strlen_00158444)(var_7);
    uVar11 = (*(type_3 *)PTR_xmalloc_001565b8)(var_2 + 1);
    var_17 = (char *)(*(type_3 *)PTR_strcpy_001584cc)(uVar11,var_7);
    *var_1 = var_17;
    var_10 = 0;
    goto LAB_0011f678;
  }
LAB_0011d9ac:
  var_19 = (type_2)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);
  var_4 = 0;
  if (*(int *)PTR_history_quoting_state_001569a0 == 0x27) {
    var_2 = 0x100;
    if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {
      var_20 = 1;
      var_8 = 0;
    }
    else {
      var_3(var_15,&var_4,0);
      if (var_4 < 1) {
        if (var_15[var_4] == '\0') {
          var_2 = 0x100;
          var_20 = 0;
          var_8 = 0;
        }
        else {
          var_11 = 0;
          var_2 = 0x100;
LAB_0011dbe0:
          var_8 = var_11 + 1;
          var_17[var_11] = var_15[var_4];
          var_17[var_8] = '\0';
          var_4 = var_4 + 1;
          var_20 = 0;
        }
      }
      else {
        var_2 = 0x100;
        var_11 = 0;
        while( true ) {
          var_8 = var_11 + 1;
          var_17[var_11] = var_15[var_11];
          var_17[var_8] = '\0';
          if (var_4 <= var_8) break;
          var_11 = var_8;
          if (var_2 + -1 <= var_8) {
            var_2 = var_2 + 0x40;
            var_17 = (char *)(*(type_3 *)PTR_xrealloc_0015673c)(var_17,var_2);
          }
        }
        if (var_15[var_4] != '\0') {
          var_11 = var_8;
          if (var_2 + -1 <= var_8) {
            var_2 = var_2 + 0x40;
            var_17 = (char *)(*(type_3 *)PTR_xrealloc_0015673c)(var_17,var_2);
          }
          goto LAB_0011dbe0;
        }
        var_20 = 0;
      }
    }
  }
  else {
    var_2 = 0x100;
    var_20 = 0;
    var_8 = 0;
  }
  var_32 = var_22;
  var_30 = var_27;
  if (var_4 < var_14) {
    var_31 = 0;
    var_10 = 0;
    do {
      var_18 = var_15[var_4];
      if (var_10 == 0) {
        var_6 = (*(type_3 *)PTR___ctype_get_mb_cur_max_001584e0)();
        if ((1 < var_6) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {
          mb[0] = '\0';
          mb[1] = '\0';
          mb[2] = '\0';
          mb[3] = '\0';
          mb[4] = '\0';
          mb[5] = '\0';
          mb[6] = '\0';
          mb[7] = '\0';
          mb[8] = '\0';
          mb[9] = '\0';
          mb[10] = '\0';
          mb[0xb] = '\0';
          mb[0xc] = '\0';
          mb[0xd] = '\0';
          mb[0xe] = '\0';
          mb[0xf] = '\0';
          var_16 = (int *)mb;
          cVar13 = var_18;
          do {
            *(char *)var_16 = cVar13;
            ps.__count = 0;
            ps.__value.__wch = 0;
            var_11 = var_13(mb,&ps);
            if (var_11 != -2) break;
            var_4 = var_4 + 1;
            var_16 = (int *)((int)var_16 + 1);
            cVar13 = var_15[var_4];
          } while (&var_33 != var_16);
          var_6 = (*(type_3 *)PTR_strlen_00158444)(mb);
          if (1 < var_6) {
            var_11 = var_8 + var_6;
            var_8 = var_2;
            if (var_2 <= var_11) {
              do {
                var_8 = var_8 + 0x80;
              } while (var_8 <= var_11);
              var_2 = var_2 + 0x80 + (var_11 - var_2 & 0xffffff80U);
              var_17 = (char *)(*(type_3 *)PTR_xrealloc_0015673c)(var_17,var_2);
            }
            (*(type_3 *)PTR_strcpy_001584cc)(var_17 + (var_11 - var_6),mb);
            var_10 = 0;
            goto LAB_0011dc80;
          }
        }
        var_11 = var_4;
        if (*PTR_history_expansion_char_00156fcc == var_18) {
LAB_0011e340:
          var_9 = (int)var_15[var_4 + 1];
          if ((((var_9 != 0) &&
               (var_12 = (*(type_3 *)PTR_strchr_0015844c)
                                   (*(type_4 *)PTR_history_no_expand_chars_00158260,var_9),
               var_12 == 0)) && ((var_19 == 0 || (var_9 != 0x22)))) &&
             ((*(type_3 **)PTR_history_inhibit_expansion_function_0015752c == (type_3 *)0x0 ||
              (var_11 = (**(type_3 **)PTR_history_inhibit_expansion_function_0015752c)(var_15,var_11),
              var_11 == 0)))) {
            var_9 = var_4;
            var_11 = 0x27;
            if ((var_20 == 0) && (var_11 = 0x22, var_19 == 0)) {
              var_11 = 0;
            }
            local_c0 = (char *)(*(type_3 *)PTR_xmalloc_001565b8)(0x80);
            var_26 = var_9;
            var_12 = (int)var_15[var_9 + 1];
            if (var_12 == 0) {
LAB_0011e654:
              var_24 = var_21(var_15,&var_26,var_11);
              var_23 = var_26;
            }
            else {
              var_23 = (*(type_3 *)PTR_strchr_0015844c)(var_22 + 0x44c,var_12);
              if (var_23 == 0) {
                var_24 = var_17;
                var_23 = var_9 + 2;
                if (var_12 != 0x23) goto LAB_0011e654;
              }
              else {
                fake_i = 0;
                fake_s[0] = *PTR_history_expansion_char_00156fcc;
                fake_s[2] = '\0';
                var_26 = var_9 + 1;
                fake_s[1] = fake_s[0];
                var_24 = var_21(fake_s,&fake_i,0);
                var_23 = var_26;
              }
            }
            var_26 = var_23;
            var_11 = var_26;
            if (var_24 == (char *)0x0) {
              var_24 = var_25(var_15,var_9,var_26,0);
              (*(type_3 *)PTR_xfree_00156bb4)(local_c0);
              goto LAB_0011e9e8;
            }
            var_9 = var_26 + 1;
            if (var_15[var_26] != ':') {
              var_9 = var_26;
            }
            var_12 = (int)var_15[var_9];
            if (var_12 == 0x25) {
              var_26 = var_9 + 1;
              if (*(int *)(var_27 + -0x3384) == 0) {
                var_29 = (char *)(*(type_3 *)PTR_xmalloc_001565b8)(1);
                *var_29 = '\0';
              }
              else {
                var_2 = (*(type_3 *)PTR_strlen_00158444)();
                uVar11 = (*(type_3 *)PTR_xmalloc_001565b8)(var_2 + 1);
                var_29 = (char *)(*(type_3 *)PTR_strcpy_001584cc)
                                           (uVar11,*(type_4 *)
                                                    (var_27 + -0x3384));
              }
              goto LAB_0011e5b8;
            }
            if (var_12 == 0x2a) {
              var_26 = var_9 + 1;
              var_29 = var_28(1,0x24,var_24);
              if (var_29 == (char *)0x0) {
                var_29 = (char *)(*(type_3 *)PTR_xmalloc_001565b8)(1);
                *var_29 = '\0';
              }
              goto LAB_0011e5b8;
            }
            if (var_12 == 0x24) {
              var_26 = var_9 + 1;
              var_29 = var_28(0x24,0x24,var_24);
              if (var_29 == var_30 + -0x336c) goto LAB_0011e864;
              if (var_29 != (char *)0x0) goto LAB_0011e5c8;
LAB_0011e61c:
              var_11 = (*(type_3 *)PTR_strlen_00158444)(var_24);
              uVar11 = (*(type_3 *)PTR_xmalloc_001565b8)(var_11 + 1);
              uVar11 = (*(type_3 *)PTR_strcpy_001584cc)(uVar11,var_24);
              if (var_15[var_26] != ':') {
                var_26 = var_26 + -1;
                var_11 = (*(type_3 *)PTR_strlen_00158444)(uVar11);
                if (0x7f < var_11) {
                  local_c0 = (char *)(*(type_3 *)PTR_xrealloc_0015673c)(local_c0,var_11 + 2);
                }
                (*(type_3 *)PTR_strcpy_001584cc)(local_c0,uVar11);
                (*(type_3 *)PTR_xfree_00156bb4)(uVar11);
                var_11 = var_26;
                var_31 = var_31 + 1;
                if (*local_c0 != '\0') {
                  var_12 = (*(type_3 *)PTR_strlen_00158444)();
                  var_8 = var_8 + var_12;
                  var_9 = var_2;
                  if (var_2 <= var_8) {
                    do {
                      var_9 = var_9 + 0x80;
                    } while (var_9 <= var_8);
                    var_2 = var_2 + 0x80 + (var_8 - var_2 & 0xffffff80U);
                    var_17 = (char *)(*(type_3 *)PTR_xrealloc_0015673c)(var_17,var_2);
                  }
                  (*(type_3 *)PTR_strcpy_001584cc)(var_17 + (var_8 - var_12),local_c0);
                }
                (*(type_3 *)PTR_xfree_00156bb4)(local_c0);
                var_4 = var_11;
                var_11 = var_8;
                goto LAB_0011dc80;
              }
              var_2 = (int)var_15[var_26 + 1];
              if ((var_2 == 0x67) || (var_2 == 0x61)) {
                var_2 = (int)var_15[var_26 + 2];
                var_26 = var_26 + 1;
              }
              else if (var_2 == 0x47) {
                var_2 = (int)var_15[var_26 + 2];
                var_26 = var_26 + 1;
              }
              if ((var_2 - 0x26U & 0xff) < 0x53) {
                    /* WARNING: Could not emulate address calculation at 0x0011e968 */
                    /* WARNING: Treating indirect jump as call */
                var_2 = (*(type_3 *)((int)pidstat_table +
                                   *(int *)(var_32 + (var_2 - 0x26U & 0xff) * 4 + 0x484) + 0x1554))
                                   ();
                return var_2;
              }
              var_24 = var_25(var_15,var_26 + 1,var_26 + 2,3);
              (*(type_3 *)PTR_xfree_00156bb4)(local_c0);
              (*(type_3 *)PTR_xfree_00156bb4)(uVar11);
            }
            else {
              if (var_12 == 0x2d) {
                var_2 = 0;
                goto LAB_0011e8ac;
              }
              if (var_12 == 0x5e) {
                var_9 = var_9 + 1;
                var_2 = 1;
              }
              else {
                if ((9 < (var_12 - 0x30U & 0xff)) || (var_15[var_26] != ':')) goto LAB_0011e61c;
                var_2 = 0;
                do {
                  var_2 = var_12 + -0x30 + var_2 * 10;
                  var_9 = var_9 + 1;
                  var_12 = (int)var_15[var_9];
                } while ((var_12 - 0x30U & 0xff) < 10);
              }
              var_18 = var_15[var_9];
              if (var_18 == '^') {
                var_8 = 1;
LAB_0011e838:
                var_26 = var_9 + 1;
LAB_0011e83c:
                bVar15 = var_8 < var_2;
LAB_0011e840:
                if (((!bVar15) || (var_8 == 0x24)) || (var_8 < 0)) goto LAB_0011e5a4;
              }
              else {
                if (var_18 == '*') {
                  var_8 = 0x24;
                  goto LAB_0011e838;
                }
                var_8 = var_2;
                var_26 = var_9;
                if (var_18 == '-') {
LAB_0011e8ac:
                  var_26 = var_9 + 1;
                  var_12 = (int)var_15[var_26];
                  if (9 < (var_12 - 0x30U & 0xff)) {
                    if (var_12 != 0x24) {
                      var_8 = -1;
                      goto LAB_0011e5a4;
                    }
                    var_26 = var_9 + 2;
                    var_8 = 0x24;
                    goto LAB_0011e83c;
                  }
                  var_8 = 0;
                  do {
                    var_8 = var_12 + -0x30 + var_8 * 10;
                    var_26 = var_26 + 1;
                    var_12 = (int)var_15[var_26];
                    bVar15 = var_8 < var_2;
                  } while ((var_12 - 0x30U & 0xff) < 10);
                  goto LAB_0011e840;
                }
LAB_0011e5a4:
                var_29 = var_28(var_2,var_8,var_24);
                if (var_29 != (char *)0x0) {
LAB_0011e5b8:
                  if (var_29 != var_30 + -0x336c) {
LAB_0011e5c8:
                    var_2 = (*(type_3 *)PTR_strlen_00158444)(var_29);
                    uVar11 = (*(type_3 *)PTR_xmalloc_001565b8)(var_2 + 1);
                    (*(type_3 *)PTR_strcpy_001584cc)(uVar11,var_29);
                    var_2 = (*(type_3 *)PTR_free_001585ac)(var_29);
                    return var_2;
                  }
                }
              }
LAB_0011e864:
              var_24 = var_25(var_15,var_11,var_26,1);
              (*(type_3 *)PTR_xfree_00156bb4)(local_c0);
            }
LAB_0011e9e8:
            *var_1 = var_24;
            (*(type_3 *)PTR_xfree_00156bb4)(var_17);
            if (var_15 == var_7) {
              var_10 = 0xffffffff;
            }
            else {
              (*(type_3 *)PTR_xfree_00156bb4)(var_15);
              var_10 = 0xffffffff;
            }
            goto LAB_0011f678;
          }
          if (var_2 + -1 <= var_8) {
            var_2 = var_2 + 0x40;
            var_17 = (char *)(*(type_3 *)PTR_xrealloc_0015673c)(var_17,var_2);
          }
          var_17[var_8] = var_15[var_4];
          var_17[var_8 + 1] = '\0';
          var_11 = var_8 + 1;
        }
        else if (*PTR_history_comment_char_00156f80 == var_18) {
LAB_0011de7c:
          if (((var_19 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&
             ((var_4 == 0 ||
              ((var_15[var_4 + -1] != '\0' &&
               (var_9 = (*(type_3 *)PTR_strchr_0015844c)
                                   (*(type_4 *)PTR_history_word_delimiters_0015825c),
               var_9 != 0)))))) {
            uVar11 = (*(type_3 *)PTR_xmalloc_001565b8)((var_14 - var_11) + 1);
            (*(type_3 *)PTR_strcpy_001584cc)(uVar11,var_15 + var_4);
            var_9 = (*(type_3 *)PTR_strlen_00158444)(uVar11);
            var_11 = var_8 + var_9;
            var_8 = var_2;
            if (var_2 <= var_11) {
              do {
                var_8 = var_8 + 0x80;
              } while (var_8 <= var_11);
              var_2 = var_2 + 0x80 + (var_11 - var_2 & 0xffffff80U);
              var_17 = (char *)(*(type_3 *)PTR_xrealloc_0015673c)(var_17,var_2);
            }
            (*(type_3 *)PTR_strcpy_001584cc)(var_17 + (var_11 - var_9),uVar11);
            (*(type_3 *)PTR_xfree_00156bb4)(uVar11);
            var_4 = var_14;
          }
          else {
            if (var_2 + -1 <= var_8) {
              var_2 = var_2 + 0x40;
              var_17 = (char *)(*(type_3 *)PTR_xrealloc_0015673c)(var_17,var_2);
            }
            var_17[var_8] = var_15[var_4];
            var_17[var_8 + 1] = '\0';
            var_11 = var_8 + 1;
          }
        }
        else if (var_18 == '\"') {
          var_19 = 1 - var_19;
          if (var_2 + -1 <= var_8) {
            var_2 = var_2 + 0x40;
            var_17 = (char *)(*(type_3 *)PTR_xrealloc_0015673c)(var_17,var_2);
          }
          var_11 = var_8 + 1;
          var_17[var_8] = '\"';
          var_17[var_11] = '\0';
        }
        else if (var_18 < '#') {
          if (var_18 == -3) goto LAB_0011e340;
          if (var_18 == -2) goto LAB_0011de7c;
LAB_0011df70:
          if (var_2 + -1 <= var_8) {
            var_2 = var_2 + 0x40;
            var_17 = (char *)(*(type_3 *)PTR_xrealloc_0015673c)(var_17,var_2);
          }
          var_17[var_8] = var_15[var_4];
          var_17[var_8 + 1] = '\0';
          var_11 = var_8 + 1;
        }
        else if (var_18 == '\'') {
          if (var_20 == 0) {
            if (var_19 == 0) {
              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {
                if (var_2 + -1 <= var_8) {
                  var_2 = var_2 + 0x40;
                  var_17 = (char *)(*(type_3 *)PTR_xrealloc_0015673c)(var_17,var_2);
                }
                var_17[var_8] = var_15[var_4];
                var_17[var_8 + 1] = '\0';
                var_20 = 1;
                var_10 = 0;
                var_11 = var_8 + 1;
                var_19 = var_10;
              }
              else {
                if (var_4 < 1) {
                  var_10 = 0;
                }
                else {
                  var_10 = (type_2)(var_15[var_4 + -1] == '$');
                }
                var_4 = var_4 + 1;
                var_3(var_15,&var_4,var_10);
                var_12 = var_4 - var_11;
                var_23 = var_12 + 2;
                var_9 = (*(type_3 *)PTR_xmalloc_001565b8)(var_23);
                (*(type_3 *)PTR_strncpy_001583e4)(var_9,var_15 + var_11,var_23);
                *(type_6 *)(var_9 + var_12 + 1) = 0;
                var_12 = (*(type_3 *)PTR_strlen_00158444)(var_9);
                var_11 = var_8 + var_12;
                var_8 = var_2;
                if (var_2 <= var_11) {
                  do {
                    var_8 = var_8 + 0x80;
                  } while (var_8 <= var_11);
                  var_2 = (var_11 - var_2 & 0xffffff80U) + var_2 + 0x80;
                  var_17 = (char *)(*(type_3 *)PTR_xrealloc_0015673c)(var_17,var_2);
                }
                (*(type_3 *)PTR_strcpy_001584cc)(var_17 + (var_11 - var_12),var_9);
                (*(type_3 *)PTR_xfree_00156bb4)(var_9);
                var_20 = var_19;
                var_10 = var_19;
              }
            }
            else {
              if (var_2 + -1 <= var_8) {
                var_2 = var_2 + 0x40;
                var_17 = (char *)(*(type_3 *)PTR_xrealloc_0015673c)(var_17,var_2);
              }
              var_17[var_8] = var_15[var_4];
              var_17[var_8 + 1] = '\0';
              var_10 = var_20;
              var_11 = var_8 + 1;
            }
          }
          else {
            if (var_2 + -1 <= var_8) {
              var_2 = var_2 + 0x40;
              var_17 = (char *)(*(type_3 *)PTR_xrealloc_0015673c)(var_17,var_2);
            }
            var_17[var_8] = '\'';
            var_17[var_8 + 1] = '\0';
            var_11 = var_8 + 1;
            var_20 = var_10;
          }
        }
        else {
          if (var_18 != '\\') goto LAB_0011df70;
          if (var_2 + -1 <= var_8) {
            var_2 = var_2 + 0x40;
            var_17 = (char *)(*(type_3 *)PTR_xrealloc_0015673c)(var_17,var_2);
          }
          var_17[var_8] = '\\';
          var_17[var_8 + 1] = '\0';
          var_10 = 1;
          var_11 = var_8 + 1;
        }
      }
      else {
        if (var_2 + -1 <= var_8) {
          var_2 = var_2 + 0x40;
          var_17 = (char *)(*(type_3 *)PTR_xrealloc_0015673c)(var_17,var_2);
        }
        var_17[var_8] = var_18;
        var_17[var_8 + 1] = '\0';
        var_10 = 0;
        var_11 = var_8 + 1;
      }
LAB_0011dc80:
      var_4 = var_4 + 1;
      var_8 = var_11;
    } while (var_4 < var_14);
    *var_1 = var_17;
    if (var_15 != var_7) {
LAB_0011f650:
      (*(type_3 *)PTR_xfree_00156bb4)(var_15);
    }
  }
  else {
    *var_1 = var_17;
    if (var_15 != var_7) {
      var_31 = 0;
      goto LAB_0011f650;
    }
    var_31 = 0;
  }
  var_10 = (type_2)(var_31 != 0);
LAB_0011f678:
  if (var_33 == *(int *)PTR___stack_chk_guard_0015858c) {
    return var_10;
  }
  var_2 = var_33;
  var_30 = PTR___stack_chk_fail_0015853c;
  (*(type_3 *)PTR___stack_chk_fail_0015853c)();
  if (var_2 == 0) {
    var_2 = (**(type_3 **)(var_30 + 0x384f4))(*(int *)(var_30 + 0x36ccc) + 0x66e4);
    if (var_2 == 0) {
      var_11 = 0;
    }
    else {
      var_8 = (**(type_3 **)(var_30 + 0x38b94))(var_2);
      var_11 = (**(type_3 **)(var_30 + 0x36d08))(var_8 + 10);
      (**(type_3 **)(var_30 + 0x38c1c))(var_11,var_2);
      *(type_6 *)(var_11 + var_8) = 0x2f;
      var_34 = (type_4 *)(var_11 + var_8 + 1);
      var_2 = *(int *)(var_30 + 0x36d00);
      uVar11 = *(type_4 *)(var_2 + 0x5d4);
      *var_34 = *(type_4 *)(var_2 + 0x5d0);
      var_34[1] = uVar11;
      *(type_6 *)(var_34 + 2) = *(type_6 *)(var_2 + 0x5d8);
    }
  }
  else {
    var_11 = (**(type_3 **)(var_30 + 0x38b94))();
    uVar11 = (**(type_3 **)(var_30 + 0x36d08))(var_11 + 1);
    var_11 = (**(type_3 **)(var_30 + 0x38c1c))(uVar11,var_2);
  }
  return var_11;
}


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

/* WARNING: Removing unreachable block (ram,0x0011f384) */
/* WARNING: Removing unreachable block (ram,0x0011f4d8) */
/* WARNING: Removing unreachable block (ram,0x0011f390) */
/* WARNING: Removing unreachable block (ram,0x0011f4f0) */
/* WARNING: Removing unreachable block (ram,0x0011f720) */
/* WARNING: Removing unreachable block (ram,0x0011f4f8) */
/* WARNING: Removing unreachable block (ram,0x0011f504) */
/* WARNING: Removing unreachable block (ram,0x0011f538) */
/* WARNING: Removing unreachable block (ram,0x0011f514) */
/* WARNING: Removing unreachable block (ram,0x0011f540) */
/* WARNING: Removing unreachable block (ram,0x0011f51c) */
/* WARNING: Removing unreachable block (ram,0x0011f548) */
/* WARNING: Removing unreachable block (ram,0x0011f558) */
/* WARNING: Removing unreachable block (ram,0x0011f520) */
/* WARNING: Removing unreachable block (ram,0x0011f6e0) */
/* WARNING: Removing unreachable block (ram,0x0011f52c) */
/* WARNING: Removing unreachable block (ram,0x0011f6e4) */
/* WARNING: Removing unreachable block (ram,0x0011f70c) */
/* WARNING: Removing unreachable block (ram,0x0011f5a4) */
/* WARNING: Removing unreachable block (ram,0x0011f560) */
/* WARNING: Removing unreachable block (ram,0x0011f5ac) */
/* WARNING: Removing unreachable block (ram,0x0011f5b4) */
/* WARNING: Removing unreachable block (ram,0x0011f578) */
/* WARNING: Removing unreachable block (ram,0x0011f5c4) */
/* WARNING: Removing unreachable block (ram,0x0011f590) */
/* WARNING: Removing unreachable block (ram,0x0011f598) */
/* WARNING: Removing unreachable block (ram,0x0011f740) */
/* WARNING: Removing unreachable block (ram,0x0011f744) */
/* WARNING: Removing unreachable block (ram,0x0011f39c) */
/* WARNING: Removing unreachable block (ram,0x0011f3d8) */
/* WARNING: Removing unreachable block (ram,0x0011f5ec) */
/* WARNING: Type propagation algorithm not settling */

uint MASKED(char *param_1,undefined4 *param_2)

{
  char cVar1;
  undefined *puVar2;
  uint uVar3;
  undefined1 *puVar4;
  code *pcVar5;
  char *pcVar6;
  char cVar14;
  undefined1 *puVar7;
  undefined1 *puVar8;
  undefined4 uVar9;
  uint uVar10;
  int iVar11;
  undefined4 uVar12;
  undefined4 *puVar13;
  int iVar15;
  bool bVar16;
  int iVar17;
  int iVar18;
  int *piVar19;
  int iVar20;
  int iVar21;
  int iVar22;
  undefined *puVar23;
  int local_c8;
  uint local_c4;
  char *local_c0;
  uint local_b0;
  int local_a8;
  int local_5c;
  int local_58 [6];
  undefined1 local_40;
  undefined1 local_3f;
  undefined1 local_3e;
  int local_3c [5];
  
  local_3c[4] = *(int *)PTR___stack_chk_guard_0015858c;
  uVar3 = 0;
  if (param_2 == (undefined4 *)0x0) goto LAB_0011f678;
  if (*PTR_history_expansion_char_00156fcc == '\0') {
    iVar22 = (*(code *)PTR_strlen_00158444)();
    uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);
    uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);
    *param_2 = uVar12;
    uVar3 = 0;
    goto LAB_0011f678;
  }
  puVar4 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(0x100);
  *puVar4 = 0;
  local_c8 = (*(code *)PTR_strlen_00158444)(param_1);
  if (*param_1 != *PTR_history_subst_char_00156fd0) {
    local_58[2] = 0;
    local_58[3] = 0;
    uVar3 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);
    local_5c = 0;
    pcVar6 = param_1;
    if ((*(int *)PTR_history_quoting_state_001569a0 == 0x27) &&
       (*(int *)PTR_history_quotes_inhibit_expansion_00157524 != 0)) {
      FUN_0011c170(param_1,&local_5c,0);
      if (param_1[local_5c] == '\0') goto LAB_0011d994;
      local_5c = local_5c + 1;
    }
    puVar2 = PTR_history_quotes_inhibit_expansion_00157524;
    puVar23 = PTR_history_comment_char_00156f80;
    if (param_1[local_5c] != '\0') {
      pcVar5 = (code *)(PTR_LAB_0015657c + -0x3e90);
      do {
        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();
        if ((uVar10 < 2) || (*(int *)PTR_rl_byte_oriented_00157e18 != 0)) {
LAB_0011f800:
          iVar22 = local_5c;
          iVar20 = (int)(param_1 + local_5c)[1];
          if (((char)*puVar23 == 0) || (iVar11 = (int)param_1[local_5c], (char)*puVar23 != iVar11))
          {
            iVar11 = (int)param_1[local_5c];
            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;
            if (iVar11 != iVar15) {
              if (uVar3 == 0) goto LAB_0011f844;
LAB_0011f788:
              if (iVar11 == 0x5c) {
                if (iVar20 == 0x22) {
                  local_5c = local_5c + 1;
                }
                else {
                  iVar18 = *(int *)puVar2;
                  if (iVar18 != 0) goto LAB_0011f7a4;
                }
              }
              else {
                iVar18 = *(int *)puVar2;
                if (iVar18 != 0) {
                  if (iVar11 == 0x22) {
LAB_0011da74:
                    uVar3 = 1 - uVar3;
                  }
                  else {
LAB_0011f7a4:
                    if (uVar3 == 0) goto LAB_0011f858;
                    if (iVar18 != 0) goto LAB_0011f7b4;
                  }
                }
              }
              goto LAB_0011f7c0;
            }
          }
          else if (uVar3 == 0) {
            if ((local_5c == 0) ||
               ((param_1[local_5c + -1] != '\0' &&
                (iVar11 = (*(code *)PTR_strchr_0015844c)
                                    (*(undefined4 *)PTR_history_word_delimiters_0015825c),
                iVar11 != 0)))) goto LAB_0011da2c;
            iVar11 = (int)param_1[iVar22];
            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;
            if (iVar11 != iVar15) {
LAB_0011f844:
              if (*(int *)puVar2 == 0) goto LAB_0011f7c0;
              if (iVar11 == 0x22) goto LAB_0011da74;
LAB_0011f858:
              if (iVar11 == 0x27) {
                if (iVar22 < 1) {
                  bVar16 = false;
                }
                else {
                  bVar16 = param_1[iVar22 + -1] == '$';
                }
                local_5c = iVar22 + 1;
                (*pcVar5)(param_1,&local_5c,bVar16);
                uVar3 = 0;
              }
              else {
LAB_0011f7b4:
                if ((iVar11 == 0x5c) && ((iVar20 == 0x27 || (iVar20 == iVar15)))) {
                  local_5c = iVar22 + 1;
                }
              }
              goto LAB_0011f7c0;
            }
          }
          else {
            iVar15 = (int)(char)*PTR_history_expansion_char_00156fcc;
            if (iVar11 != iVar15) goto LAB_0011f788;
          }
          if (((iVar20 != 0) &&
              (iVar11 = (*(code *)PTR_strchr_0015844c)
                                  (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar20),
              iVar11 == 0)) && ((uVar3 == 0 || (iVar20 != 0x22)))) {
            if (*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0)
            goto LAB_0011d9ac;
            iVar22 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(param_1,iVar22);
            if (iVar22 == 0) break;
          }
        }
        else {
          iVar22 = _rl_get_char_len(param_1 + local_5c,local_58 + 2);
          if (iVar22 < 2) goto LAB_0011f800;
          local_5c = local_5c + iVar22 + -1;
        }
LAB_0011f7c0:
        local_5c = local_5c + 1;
      } while (param_1[local_5c] != '\0');
    }
    goto LAB_0011d994;
  }
  pcVar6 = (char *)(*(code *)PTR_xmalloc_001565b8)(local_c8 + 5);
  cVar1 = *PTR_history_expansion_char_00156fcc;
  pcVar6[1] = cVar1;
  *pcVar6 = cVar1;
  pcVar6[2] = ':';
  pcVar6[3] = 's';
  (*(code *)PTR_strcpy_001584cc)(pcVar6 + 4,param_1);
  local_c8 = local_c8 + 4;
  goto LAB_0011d9ac;
LAB_0011da2c:
  do {
    local_5c = iVar22 + 1;
    iVar22 = local_5c;
  } while (param_1[local_5c] != '\0');
LAB_0011d994:
  if (param_1[local_5c] != *PTR_history_expansion_char_00156fcc) {
    (*(code *)PTR_xfree_00156bb4)(puVar4);
    iVar22 = (*(code *)PTR_strlen_00158444)(param_1);
    uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar22 + 1);
    uVar12 = (*(code *)PTR_strcpy_001584cc)(uVar12,param_1);
    *param_2 = uVar12;
    uVar3 = 0;
    goto LAB_0011f678;
  }
LAB_0011d9ac:
  local_c4 = (uint)(*(int *)PTR_history_quoting_state_001569a0 == 0x22);
  local_5c = 0;
  if (*(int *)PTR_history_quoting_state_001569a0 == 0x27) {
    iVar22 = 0x100;
    if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {
      local_b0 = 1;
      iVar11 = 0;
    }
    else {
      FUN_0011c170(pcVar6,&local_5c,0);
      if (local_5c < 1) {
        if (pcVar6[local_5c] == '\0') {
          iVar22 = 0x100;
          local_b0 = 0;
          iVar11 = 0;
        }
        else {
          iVar20 = 0;
          iVar22 = 0x100;
LAB_0011dbe0:
          iVar11 = iVar20 + 1;
          puVar4[iVar20] = pcVar6[local_5c];
          puVar4[iVar11] = 0;
          local_5c = local_5c + 1;
          local_b0 = 0;
        }
      }
      else {
        iVar22 = 0x100;
        iVar20 = 0;
        while( true ) {
          iVar11 = iVar20 + 1;
          puVar4[iVar20] = pcVar6[iVar20];
          puVar4[iVar11] = 0;
          if (local_5c <= iVar11) break;
          iVar20 = iVar11;
          if (iVar22 + -1 <= iVar11) {
            iVar22 = iVar22 + 0x40;
            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);
          }
        }
        if (pcVar6[local_5c] != '\0') {
          iVar20 = iVar11;
          if (iVar22 + -1 <= iVar11) {
            iVar22 = iVar22 + 0x40;
            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);
          }
          goto LAB_0011dbe0;
        }
        local_b0 = 0;
      }
    }
  }
  else {
    iVar22 = 0x100;
    local_b0 = 0;
    iVar11 = 0;
  }
  puVar2 = PTR_DAT_001565b0;
  puVar23 = PTR_DAT_0015656c;
  if (local_5c < local_c8) {
    local_a8 = 0;
    uVar3 = 0;
    do {
      cVar1 = pcVar6[local_5c];
      if (uVar3 == 0) {
        uVar10 = (*(code *)PTR___ctype_get_mb_cur_max_001584e0)();
        if ((1 < uVar10) && (*(int *)PTR_rl_byte_oriented_00157e18 == 0)) {
          local_3c[0] = 0;
          local_3c[1] = 0;
          local_3c[2] = 0;
          local_3c[3] = 0;
          piVar19 = local_3c;
          cVar14 = cVar1;
          do {
            *(char *)piVar19 = cVar14;
            local_58[2] = 0;
            local_58[3] = 0;
            iVar20 = _rl_get_char_len(local_3c,local_58 + 2);
            if (iVar20 != -2) break;
            local_5c = local_5c + 1;
            piVar19 = (int *)((int)piVar19 + 1);
            cVar14 = pcVar6[local_5c];
          } while (local_3c + 4 != piVar19);
          uVar10 = (*(code *)PTR_strlen_00158444)(local_3c);
          if (1 < uVar10) {
            iVar20 = iVar11 + uVar10;
            iVar11 = iVar22;
            if (iVar22 <= iVar20) {
              do {
                iVar11 = iVar11 + 0x80;
              } while (iVar11 <= iVar20);
              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);
              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);
            }
            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - uVar10),local_3c);
            uVar3 = 0;
            goto LAB_0011dc80;
          }
        }
        iVar20 = local_5c;
        if (*PTR_history_expansion_char_00156fcc == cVar1) {
LAB_0011e340:
          iVar15 = (int)pcVar6[local_5c + 1];
          if ((((iVar15 != 0) &&
               (iVar18 = (*(code *)PTR_strchr_0015844c)
                                   (*(undefined4 *)PTR_history_no_expand_chars_00158260,iVar15),
               iVar18 == 0)) && ((local_c4 == 0 || (iVar15 != 0x22)))) &&
             ((*(code **)PTR_history_inhibit_expansion_function_0015752c == (code *)0x0 ||
              (iVar20 = (**(code **)PTR_history_inhibit_expansion_function_0015752c)(pcVar6,iVar20),
              iVar20 == 0)))) {
            iVar20 = local_5c;
            uVar12 = 0x27;
            if ((local_b0 == 0) && (uVar12 = 0x22, local_c4 == 0)) {
              uVar12 = 0;
            }
            local_58[4] = 0;
            local_58[5] = 0;
            local_c0 = (char *)(*(code *)PTR_xmalloc_001565b8)(0x80);
            local_58[0] = iVar20;
            iVar15 = (int)pcVar6[iVar20 + 1];
            if (iVar15 == 0) {
LAB_0011e654:
              puVar7 = (undefined1 *)get_history_event(pcVar6,local_58,uVar12);
              iVar18 = local_58[0];
            }
            else {
              iVar18 = (*(code *)PTR_strchr_0015844c)(PTR_DAT_001565b0 + 0x44c,iVar15,uVar12);
              if (iVar18 == 0) {
                puVar7 = puVar4;
                iVar18 = iVar20 + 2;
                if (iVar15 != 0x23) goto LAB_0011e654;
              }
              else {
                local_58[1] = 0;
                local_40 = *PTR_history_expansion_char_00156fcc;
                local_3e = 0;
                local_58[0] = iVar20 + 1;
                local_3f = local_40;
                puVar7 = (undefined1 *)get_history_event(&local_40,local_58 + 1,0);
                iVar18 = local_58[0];
              }
            }
            local_58[0] = iVar18;
            iVar15 = local_58[0];
            if (puVar7 == (undefined1 *)0x0) {
              uVar12 = FUN_0011c1e4(pcVar6,iVar20,local_58[0],0);
              (*(code *)PTR_xfree_00156bb4)(local_c0);
            }
            else {
              iVar20 = local_58[0] + 1;
              if (pcVar6[local_58[0]] != ':') {
                iVar20 = local_58[0];
              }
              iVar18 = (int)pcVar6[iVar20];
              if (iVar18 == 0x25) {
                local_58[0] = iVar20 + 1;
                if (*(int *)(PTR_DAT_0015656c + -0x3384) == 0) {
                  puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);
                  *puVar8 = 0;
                }
                else {
                  iVar20 = (*(code *)PTR_strlen_00158444)();
                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);
                  puVar8 = (undefined1 *)
                           (*(code *)PTR_strcpy_001584cc)
                                     (uVar12,*(undefined4 *)(PTR_DAT_0015656c + -0x3384));
                }
LAB_0011e5b8:
                if (puVar8 != puVar23 + -0x336c) {
LAB_0011e5c8:
                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar8);
                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);
                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar8);
                  (*(code *)PTR_free_001585ac)(puVar8);
LAB_0011e61c:
                  if (pcVar6[local_58[0]] != ':') {
                    local_58[0] = local_58[0] + -1;
                    iVar20 = (*(code *)PTR_strlen_00158444)(uVar9);
                    if (0x7f < iVar20) {
                      local_c0 = (char *)(*(code *)PTR_xrealloc_0015673c)(local_c0,iVar20 + 2);
                    }
                    (*(code *)PTR_strcpy_001584cc)(local_c0,uVar9);
                    (*(code *)PTR_xfree_00156bb4)(uVar9);
                    iVar20 = local_58[0];
                    local_a8 = local_a8 + 1;
                    if (*local_c0 != '\0') {
                      iVar18 = (*(code *)PTR_strlen_00158444)();
                      iVar11 = iVar11 + iVar18;
                      iVar15 = iVar22;
                      if (iVar22 <= iVar11) {
                        do {
                          iVar15 = iVar15 + 0x80;
                        } while (iVar15 <= iVar11);
                        iVar22 = iVar22 + 0x80 + (iVar11 - iVar22 & 0xffffff80U);
                        puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);
                      }
                      (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar11 - iVar18),local_c0);
                    }
                    (*(code *)PTR_xfree_00156bb4)(local_c0);
                    local_5c = iVar20;
                    iVar20 = iVar11;
                    goto LAB_0011dc80;
                  }
                  iVar22 = (int)pcVar6[local_58[0] + 1];
                  if ((iVar22 == 0x67) || (iVar22 == 0x61)) {
                    iVar22 = (int)pcVar6[local_58[0] + 2];
                    local_58[0] = local_58[0] + 1;
                  }
                  else if (iVar22 == 0x47) {
                    iVar22 = (int)pcVar6[local_58[0] + 2];
                    local_58[0] = local_58[0] + 1;
                  }
                  if ((iVar22 - 0x26U & 0xff) < 0x53) {
                    /* WARNING: Could not emulate address calculation at 0x0011e968 */
                    /* WARNING: Treating indirect jump as call */
                    uVar3 = (*(code *)(&_gp_1 + *(int *)(puVar2 + (iVar22 - 0x26U & 0xff) * 4 +
                                                                  0x484)))();
                    return uVar3;
                  }
                  uVar12 = FUN_0011c1e4(pcVar6,local_58[0] + 1,local_58[0] + 2,3);
                  (*(code *)PTR_xfree_00156bb4)(local_c0);
                  (*(code *)PTR_xfree_00156bb4)(uVar9);
                  goto LAB_0011e9e8;
                }
              }
              else {
                if (iVar18 == 0x2a) {
                  local_58[0] = iVar20 + 1;
                  puVar8 = (undefined1 *)history_arg_extract(1,0x24,puVar7);
                  if (puVar8 == (undefined1 *)0x0) {
                    puVar8 = (undefined1 *)(*(code *)PTR_xmalloc_001565b8)(1);
                    *puVar8 = 0;
                  }
                  goto LAB_0011e5b8;
                }
                if (iVar18 == 0x24) {
                  local_58[0] = iVar20 + 1;
                  puVar8 = (undefined1 *)history_arg_extract(0x24,0x24,puVar7);
                  if (puVar8 == puVar23 + -0x336c) goto LAB_0011e864;
                  if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5c8;
LAB_0011e7cc:
                  iVar20 = (*(code *)PTR_strlen_00158444)(puVar7);
                  uVar12 = (*(code *)PTR_xmalloc_001565b8)(iVar20 + 1);
                  uVar9 = (*(code *)PTR_strcpy_001584cc)(uVar12,puVar7);
                  goto LAB_0011e61c;
                }
                if (iVar18 == 0x2d) {
                  iVar21 = 0;
LAB_0011e8ac:
                  local_58[0] = iVar20 + 1;
                  iVar17 = (int)pcVar6[local_58[0]];
                  if ((iVar17 - 0x30U & 0xff) < 10) {
                    iVar18 = 0;
                    do {
                      iVar18 = iVar17 + -0x30 + iVar18 * 10;
                      local_58[0] = local_58[0] + 1;
                      iVar17 = (int)pcVar6[local_58[0]];
                      bVar16 = iVar18 < iVar21;
                    } while ((iVar17 - 0x30U & 0xff) < 10);
                    goto LAB_0011e840;
                  }
                  if (iVar17 == 0x24) {
                    local_58[0] = iVar20 + 2;
                    iVar18 = 0x24;
                    goto LAB_0011e83c;
                  }
                  iVar18 = -1;
                }
                else {
                  if (iVar18 == 0x5e) {
                    iVar20 = iVar20 + 1;
                    iVar21 = 1;
                  }
                  else {
                    if ((9 < (iVar18 - 0x30U & 0xff)) || (pcVar6[local_58[0]] != ':'))
                    goto LAB_0011e7cc;
                    iVar21 = 0;
                    do {
                      iVar21 = iVar18 + -0x30 + iVar21 * 10;
                      iVar20 = iVar20 + 1;
                      iVar18 = (int)pcVar6[iVar20];
                    } while ((iVar18 - 0x30U & 0xff) < 10);
                  }
                  cVar1 = pcVar6[iVar20];
                  if (cVar1 == '^') {
                    iVar18 = 1;
                  }
                  else {
                    if (cVar1 != '*') {
                      iVar18 = iVar21;
                      local_58[0] = iVar20;
                      if (cVar1 == '-') goto LAB_0011e8ac;
                      goto LAB_0011e5a4;
                    }
                    iVar18 = 0x24;
                  }
                  local_58[0] = iVar20 + 1;
LAB_0011e83c:
                  bVar16 = iVar18 < iVar21;
LAB_0011e840:
                  if (((bVar16) && (iVar18 != 0x24)) && (-1 < iVar18)) goto LAB_0011e864;
                }
LAB_0011e5a4:
                puVar8 = (undefined1 *)history_arg_extract(iVar21,iVar18,puVar7);
                if (puVar8 != (undefined1 *)0x0) goto LAB_0011e5b8;
              }
LAB_0011e864:
              uVar12 = FUN_0011c1e4(pcVar6,iVar15,local_58[0],1);
              (*(code *)PTR_xfree_00156bb4)(local_c0);
            }
LAB_0011e9e8:
            *param_2 = uVar12;
            (*(code *)PTR_xfree_00156bb4)(puVar4);
            if (pcVar6 == param_1) {
              uVar3 = 0xffffffff;
            }
            else {
              (*(code *)PTR_xfree_00156bb4)(pcVar6);
              uVar3 = 0xffffffff;
            }
            goto LAB_0011f678;
          }
          if (iVar22 + -1 <= iVar11) {
            iVar22 = iVar22 + 0x40;
            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);
          }
          puVar4[iVar11] = pcVar6[local_5c];
          puVar4[iVar11 + 1] = 0;
          iVar20 = iVar11 + 1;
        }
        else if (*PTR_history_comment_char_00156f80 == cVar1) {
LAB_0011de7c:
          if (((local_c4 == 0) || (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0)) &&
             ((local_5c == 0 ||
              ((pcVar6[local_5c + -1] != '\0' &&
               (iVar15 = (*(code *)PTR_strchr_0015844c)
                                   (*(undefined4 *)PTR_history_word_delimiters_0015825c),
               iVar15 != 0)))))) {
            uVar12 = (*(code *)PTR_xmalloc_001565b8)((local_c8 - iVar20) + 1);
            (*(code *)PTR_strcpy_001584cc)(uVar12,pcVar6 + local_5c);
            iVar15 = (*(code *)PTR_strlen_00158444)(uVar12);
            iVar20 = iVar11 + iVar15;
            iVar11 = iVar22;
            if (iVar22 <= iVar20) {
              do {
                iVar11 = iVar11 + 0x80;
              } while (iVar11 <= iVar20);
              iVar22 = iVar22 + 0x80 + (iVar20 - iVar22 & 0xffffff80U);
              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);
            }
            (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar15),uVar12);
            (*(code *)PTR_xfree_00156bb4)(uVar12);
            local_5c = local_c8;
          }
          else {
            if (iVar22 + -1 <= iVar11) {
              iVar22 = iVar22 + 0x40;
              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);
            }
            puVar4[iVar11] = pcVar6[local_5c];
            puVar4[iVar11 + 1] = 0;
            iVar20 = iVar11 + 1;
          }
        }
        else if (cVar1 == '\"') {
          local_c4 = 1 - local_c4;
          if (iVar22 + -1 <= iVar11) {
            iVar22 = iVar22 + 0x40;
            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);
          }
          iVar20 = iVar11 + 1;
          puVar4[iVar11] = 0x22;
          puVar4[iVar20] = 0;
        }
        else if (cVar1 < '#') {
          if (cVar1 == -3) goto LAB_0011e340;
          if (cVar1 == -2) goto LAB_0011de7c;
LAB_0011df70:
          if (iVar22 + -1 <= iVar11) {
            iVar22 = iVar22 + 0x40;
            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);
          }
          puVar4[iVar11] = pcVar6[local_5c];
          puVar4[iVar11 + 1] = 0;
          iVar20 = iVar11 + 1;
        }
        else if (cVar1 == '\'') {
          if (local_b0 == 0) {
            if (local_c4 == 0) {
              if (*(int *)PTR_history_quotes_inhibit_expansion_00157524 == 0) {
                if (iVar22 + -1 <= iVar11) {
                  iVar22 = iVar22 + 0x40;
                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);
                }
                puVar4[iVar11] = pcVar6[local_5c];
                puVar4[iVar11 + 1] = 0;
                local_b0 = 1;
                uVar3 = 0;
                iVar20 = iVar11 + 1;
                local_c4 = uVar3;
              }
              else {
                if (local_5c < 1) {
                  bVar16 = false;
                }
                else {
                  bVar16 = pcVar6[local_5c + -1] == '$';
                }
                local_5c = local_5c + 1;
                FUN_0011c170(pcVar6,&local_5c,bVar16);
                iVar18 = local_5c - iVar20;
                iVar21 = iVar18 + 2;
                iVar15 = (*(code *)PTR_xmalloc_001565b8)(iVar21);
                (*(code *)PTR_strncpy_001583e4)(iVar15,pcVar6 + iVar20,iVar21);
                *(undefined1 *)(iVar15 + iVar18 + 1) = 0;
                iVar18 = (*(code *)PTR_strlen_00158444)(iVar15);
                iVar20 = iVar11 + iVar18;
                iVar11 = iVar22;
                if (iVar22 <= iVar20) {
                  do {
                    iVar11 = iVar11 + 0x80;
                  } while (iVar11 <= iVar20);
                  iVar22 = (iVar20 - iVar22 & 0xffffff80U) + iVar22 + 0x80;
                  puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);
                }
                (*(code *)PTR_strcpy_001584cc)(puVar4 + (iVar20 - iVar18),iVar15);
                (*(code *)PTR_xfree_00156bb4)(iVar15);
                local_b0 = local_c4;
                uVar3 = local_c4;
              }
            }
            else {
              if (iVar22 + -1 <= iVar11) {
                iVar22 = iVar22 + 0x40;
                puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);
              }
              puVar4[iVar11] = pcVar6[local_5c];
              puVar4[iVar11 + 1] = 0;
              uVar3 = local_b0;
              iVar20 = iVar11 + 1;
            }
          }
          else {
            if (iVar22 + -1 <= iVar11) {
              iVar22 = iVar22 + 0x40;
              puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);
            }
            puVar4[iVar11] = 0x27;
            puVar4[iVar11 + 1] = 0;
            iVar20 = iVar11 + 1;
            local_b0 = uVar3;
          }
        }
        else {
          if (cVar1 != '\\') goto LAB_0011df70;
          if (iVar22 + -1 <= iVar11) {
            iVar22 = iVar22 + 0x40;
            puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);
          }
          puVar4[iVar11] = 0x5c;
          puVar4[iVar11 + 1] = 0;
          uVar3 = 1;
          iVar20 = iVar11 + 1;
        }
      }
      else {
        if (iVar22 + -1 <= iVar11) {
          iVar22 = iVar22 + 0x40;
          puVar4 = (undefined1 *)(*(code *)PTR_xrealloc_0015673c)(puVar4,iVar22);
        }
        puVar4[iVar11] = cVar1;
        puVar4[iVar11 + 1] = 0;
        uVar3 = 0;
        iVar20 = iVar11 + 1;
      }
LAB_0011dc80:
      local_5c = local_5c + 1;
      iVar11 = iVar20;
    } while (local_5c < local_c8);
    *param_2 = puVar4;
    if (pcVar6 != param_1) {
LAB_0011f650:
      (*(code *)PTR_xfree_00156bb4)(pcVar6);
    }
  }
  else {
    *param_2 = puVar4;
    if (pcVar6 != param_1) {
      local_a8 = 0;
      goto LAB_0011f650;
    }
    local_a8 = 0;
  }
  uVar3 = (uint)(local_a8 != 0);
LAB_0011f678:
  if (local_3c[4] == *(int *)PTR___stack_chk_guard_0015858c) {
    return uVar3;
  }
  iVar22 = local_3c[4];
  puVar23 = PTR___stack_chk_fail_0015853c;
  (*(code *)PTR___stack_chk_fail_0015853c)();
  if (iVar22 == 0) {
    iVar22 = (**(code **)(puVar23 + 0x384f4))(*(int *)(puVar23 + 0x36ccc) + 0x66e4);
    if (iVar22 == 0) {
      uVar3 = 0;
    }
    else {
      iVar20 = (**(code **)(puVar23 + 0x38b94))(iVar22);
      uVar3 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 10);
      (**(code **)(puVar23 + 0x38c1c))(uVar3,iVar22);
      *(undefined1 *)(uVar3 + iVar20) = 0x2f;
      puVar13 = (undefined4 *)(uVar3 + iVar20 + 1);
      iVar22 = *(int *)(puVar23 + 0x36d00);
      uVar12 = *(undefined4 *)(iVar22 + 0x5d4);
      *puVar13 = *(undefined4 *)(iVar22 + 0x5d0);
      puVar13[1] = uVar12;
      *(undefined1 *)(puVar13 + 2) = *(undefined1 *)(iVar22 + 0x5d8);
    }
  }
  else {
    iVar20 = (**(code **)(puVar23 + 0x38b94))();
    uVar12 = (**(code **)(puVar23 + 0x36d08))(iVar20 + 1);
    uVar3 = (**(code **)(puVar23 + 0x38c1c))(uVar12,iVar22);
  }
  return uVar3;
}

