
char * make_variable_value(SHELL_VAR *var,char *value,int flags)

{
  char *pcVar1;
  undefined4 uVar2;
  undefined1 *puVar3;
  int *piVar4;
  int iVar5;
  undefined4 *puVar6;
  int iVar7;
  uint uVar8;
  SHELL_VAR *var_00;
  char *pcVar9;
  int *validp;
  int iVar10;
  undefined *puVar11;
  intmax_t iVar12;
  intmax_t iVar13;
  longlong lVar14;
  uint in_stack_ffffff9c;
  int expok;
  SHELL_VAR *pSStack_24;
  
  puVar11 = PTR___stack_chk_guard_001464dc;
  pSStack_24 = *(SHELL_VAR **)PTR___stack_chk_guard_001464dc;
  if ((flags & 0x100U) == 0) {
    if ((var->attributes & 0x10U) == 0) {
      if ((var->attributes & 0x700U) == 0) goto LAB_0005713c;
      if ((flags & 1U) == 0) {
        if (*value == '\0') {
          puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);
          *puVar3 = 0;
        }
        else {
          iVar7 = (*(code *)PTR_strlen_00146390)(value);
          uVar2 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);
          puVar3 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar2,value);
        }
      }
      else {
        pcVar9 = get_variable_value(var);
        if (pcVar9 == (char *)0x0) {
          iVar10 = 1;
          iVar7 = 0;
          pcVar9 = PTR_DAT_001445ac + -0x6800;
        }
        else {
          iVar10 = 1;
          if (*pcVar9 == '\0') {
            iVar7 = 0;
          }
          else {
            iVar10 = 2;
            if (pcVar9[1] == '\0') {
              iVar7 = 1;
            }
            else {
              iVar10 = 3;
              if (pcVar9[2] == '\0') {
                iVar7 = 2;
              }
              else {
                iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);
                iVar10 = iVar7 + 1;
              }
            }
          }
        }
        if (value == (char *)0x0) {
          puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar10);
          (*(code *)PTR_strcpy_00146418)(puVar3,pcVar9);
        }
        else {
          iVar5 = 0;
          if (((*value != '\0') && (iVar5 = 1, value[1] != '\0')) && (iVar5 = 2, value[2] != '\0'))
          {
            iVar5 = (*(code *)PTR_strlen_00146390)(value);
          }
          puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar10 + iVar5);
          (*(code *)PTR_strcpy_00146418)(puVar3,pcVar9);
          (*(code *)PTR_strcpy_00146418)(puVar3 + iVar7,value);
        }
      }
      if ((var->attributes & 0x400U) == 0) {
        piVar4 = (int *)0x1;
        if ((var->attributes & 0x100U) != 0) {
          piVar4 = (int *)0x2;
        }
      }
      else {
        piVar4 = (int *)&DAT_00000004;
      }
      pcVar9 = (char *)0x0;
      pcVar1 = (char *)(*(code *)PTR_sh_modcase_00144fac)(puVar3);
      (*(code *)PTR_free_001464fc)(puVar3);
    }
    else if ((flags & 1U) == 0) {
      piVar4 = &expok;
      lVar14 = evalexp(value,0,piVar4);
      pcVar9 = (char *)lVar14;
      if (expok != 0) {
LAB_0005711c:
        pcVar9 = (char *)lVar14;
        pcVar1 = (char *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));
        goto LAB_00057194;
      }
      if ((flags & 0x200U) == 0) goto LAB_000572ac;
LAB_00057150:
      if (*value == '\0') {
        pcVar1 = (char *)(*(code *)PTR_xmalloc_001445b0)(1);
        *pcVar1 = '\0';
      }
      else {
        iVar7 = (*(code *)PTR_strlen_00146390)(value);
        uVar2 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);
        pcVar1 = (char *)(*(code *)PTR_strcpy_00146418)(uVar2);
        pcVar9 = value;
      }
    }
    else {
      validp = &expok;
      pcVar9 = (char *)0x0;
      piVar4 = validp;
      iVar12 = evalexp(var->value,0,validp);
      if (expok != 0) {
        pcVar9 = (char *)0x0;
        iVar13 = evalexp(value,0,validp);
        piVar4 = validp;
        if (expok != 0) {
          lVar14 = iVar12 + iVar13;
          goto LAB_0005711c;
        }
      }
      if ((flags & 0x200U) == 0) {
LAB_000572ac:
        (*(code *)PTR_top_level_cleanup_00144fb0)();
        (*(code *)PTR_jump_to_top_level_00144808)(2);
        value = pcVar9;
        goto LAB_000572c8;
      }
      pcVar9 = get_variable_value(var);
      flags = (int)piVar4;
      if (pcVar9 != (char *)0x0) goto LAB_000572f0;
      iVar10 = 1;
      iVar7 = 0;
      pcVar9 = PTR_DAT_001445ac + -0x6800;
LAB_0005730c:
      if (value != (char *)0x0) goto LAB_00057360;
      pcVar1 = (char *)(*(code *)PTR_xmalloc_001445b0)(iVar10);
      (*(code *)PTR_strcpy_00146418)(pcVar1);
    }
  }
  else {
LAB_0005713c:
    piVar4 = (int *)flags;
    if (value == (char *)0x0) {
LAB_000572c8:
      pcVar1 = (char *)0x0;
      pcVar9 = value;
    }
    else {
      pcVar9 = value;
      if ((flags & 1U) == 0) goto LAB_00057150;
      pcVar9 = get_variable_value(var);
      if (pcVar9 != (char *)0x0) {
LAB_000572f0:
        iVar10 = 1;
        piVar4 = (int *)flags;
        if (*pcVar9 == '\0') {
          iVar7 = 0;
        }
        else {
          iVar10 = 2;
          if (pcVar9[1] == '\0') {
            iVar7 = 1;
          }
          else if (pcVar9[2] == '\0') {
            iVar10 = 3;
            iVar7 = 2;
          }
          else {
            iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);
            iVar10 = iVar7 + 1;
            piVar4 = (int *)flags;
          }
        }
        goto LAB_0005730c;
      }
      iVar7 = 0;
      iVar10 = 1;
      pcVar9 = PTR_DAT_001445ac + -0x6800;
      piVar4 = (int *)flags;
LAB_00057360:
      if (*value != '\0') {
        if (value[1] == '\0') {
          iVar10 = iVar7 + 2;
        }
        else if (value[2] == '\0') {
          iVar10 = iVar7 + 3;
        }
        else {
          iVar5 = (*(code *)PTR_strlen_00146390)(value);
          iVar10 = iVar10 + iVar5;
        }
      }
      pcVar1 = (char *)(*(code *)PTR_xmalloc_001445b0)(iVar10);
      (*(code *)PTR_strcpy_00146418)(pcVar1,pcVar9);
      (*(code *)PTR_strcpy_00146418)(pcVar1 + iVar7);
      pcVar9 = value;
    }
  }
LAB_00057194:
  if (pSStack_24 == *(SHELL_VAR **)puVar11) {
    return pcVar1;
  }
  var_00 = pSStack_24;
  puVar11 = PTR___stack_chk_fail_00146488;
  (*(code *)PTR___stack_chk_fail_00146488)();
  uVar8 = var_00->attributes;
  var_00->attributes = uVar8 & 0xffffefff;
  if (var_00->assign_func == (sh_var_assign_func_t *)0x0) {
    uVar8 = uVar8 & 0x1000;
    pcVar9 = make_variable_value(var_00,pcVar9,(int)piVar4);
    if ((((uint)piVar4 & 0x30) == 0x10) &&
       (iVar7 = check_selfref(var_00->name,pcVar9,0), iVar7 != 0)) {
      if (**(int **)(puVar11 + 0xed2e0) == 0) {
        pcVar1 = (char *)(**(code **)(puVar11 + 0xeef1c))(0,*(int *)(puVar11 + 0xecffc) + 0x6e14,5);
        internal_error(pcVar1,var_00->name);
        (**(code **)(puVar11 + 0xeef80))(pcVar9);
        if (uVar8 == 0) {
          return (char *)0x0;
        }
        goto LAB_0005772c;
      }
      pcVar1 = (char *)(**(code **)(puVar11 + 0xeef1c))(0,*(int *)(puVar11 + 0xecffc) + 0x6d18);
      internal_warning(pcVar1,var_00->name);
    }
    if ((((uint)piVar4 & 0x10) != 0) && (iVar7 = valid_nameref_value(pcVar9,0), iVar7 == 0)) {
      (**(code **)(puVar11 + 0xeef80))(pcVar9);
      if (uVar8 == 0) {
        return (char *)0x0;
      }
LAB_0005772c:
      var_00->attributes = var_00->attributes | 0x1000;
      return (char *)0x0;
    }
    if (var_00->value != (char *)0x0) {
      (**(code **)(puVar11 + 0xeef80))();
    }
    var_00->value = pcVar9;
  }
  else if (((uint)piVar4 & 1) == 0) {
    (*var_00->assign_func)(var_00,pcVar9,(ulonglong)in_stack_ffffff9c,(char *)0xffffffff);
  }
  else {
    pcVar1 = make_variable_value(var_00,pcVar9,(int)piVar4);
    (*var_00->assign_func)(var_00,pcVar1,(ulonglong)in_stack_ffffff9c,(char *)0xffffffff);
    if ((pcVar9 != pcVar1) && (pcVar1 != (char *)0x0)) {
      (**(code **)(puVar11 + 0xeef80))(pcVar1);
    }
  }
  if (var_00->exportstr != (char *)0x0) {
    (**(code **)(puVar11 + 0xeef80))();
    var_00->exportstr = (char *)0x0;
  }
  if (**(int **)(puVar11 + 0xeda38) == 0) {
    puVar6 = *(undefined4 **)(puVar11 + 0xeda3c);
    if ((var_00->attributes & 1U) == 0) {
      return (char *)var_00;
    }
  }
  else {
    var_00->attributes = var_00->attributes | 1;
    puVar6 = *(undefined4 **)(puVar11 + 0xeda3c);
  }
  *puVar6 = 1;
  return (char *)var_00;
}



undefined4 * make_variable_value(int param_1,char *param_2,uint param_3)

{
  undefined4 *puVar1;
  undefined1 *puVar2;
  int iVar3;
  char *pcVar4;
  undefined4 uVar5;
  int iVar6;
  undefined4 uVar7;
  undefined4 *puVar8;
  char *pcVar9;
  uint uVar10;
  int iVar11;
  uint uVar12;
  undefined *puVar13;
  longlong lVar14;
  longlong lVar15;
  int local_28;
  
  puVar13 = PTR___stack_chk_guard_001464dc;
  puVar8 = *(undefined4 **)PTR___stack_chk_guard_001464dc;
  if ((param_3 & 0x100) == 0) {
    if ((*(uint *)(param_1 + 0x14) & 0x10) == 0) {
      if ((*(uint *)(param_1 + 0x14) & 0x700) == 0) goto LAB_0005713c;
      if ((param_3 & 1) == 0) {
        if (*param_2 == '\0') {
          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);
          *puVar2 = 0;
        }
        else {
          iVar6 = (*(code *)PTR_strlen_00146390)(param_2);
          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);
          puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2);
        }
      }
      else {
        pcVar9 = (char *)get_variable_value();
        if (pcVar9 == (char *)0x0) {
          iVar11 = 1;
          iVar6 = 0;
          pcVar9 = PTR_DAT_001445ac + -0x6800;
        }
        else {
          iVar11 = 1;
          if (*pcVar9 == '\0') {
            iVar6 = 0;
          }
          else {
            iVar11 = 2;
            if (pcVar9[1] == '\0') {
              iVar6 = 1;
            }
            else {
              iVar11 = 3;
              if (pcVar9[2] == '\0') {
                iVar6 = 2;
              }
              else {
                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);
                iVar11 = iVar6 + 1;
              }
            }
          }
        }
        if (param_2 == (char *)0x0) {
          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);
          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);
        }
        else {
          iVar3 = 0;
          if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&
             (iVar3 = 2, param_2[2] != '\0')) {
            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);
          }
          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);
          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);
          (*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);
        }
      }
      if ((*(uint *)(param_1 + 0x14) & 0x400) == 0) {
        uVar10 = (uint)((*(uint *)(param_1 + 0x14) & 0x100) == 0);
      }
      else {
        uVar10 = 0;
      }
      pcVar9 = (char *)0x0;
      puVar1 = (undefined4 *)(*(code *)PTR_sh_modcase_00144fac)(puVar2);
      (*(code *)PTR_free_001464fc)(puVar2);
    }
    else if ((param_3 & 1) == 0) {
      uVar10 = 0xffffffd8;
      lVar14 = evalexp(param_2,0);
      pcVar9 = (char *)lVar14;
      if (local_28 != 0) {
LAB_0005711c:
        pcVar9 = (char *)lVar14;
        puVar1 = (undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));
        goto LAB_00057194;
      }
      if ((param_3 & 0x200) == 0) goto LAB_000572ac;
LAB_00057150:
      if (*param_2 == '\0') {
        puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1);
        *(undefined1 *)puVar1 = 0;
      }
      else {
        iVar6 = (*(code *)PTR_strlen_00146390)(param_2);
        uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);
        puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);
        pcVar9 = param_2;
      }
    }
    else {
      uVar12 = 0xffffffd8;
      pcVar9 = (char *)0x0;
      uVar10 = uVar12;
      lVar14 = evalexp(*(undefined4 *)(param_1 + 4));
      if (local_28 != 0) {
        pcVar9 = (char *)0x0;
        lVar15 = evalexp(param_2);
        uVar10 = uVar12;
        if (local_28 != 0) {
          lVar14 = lVar14 + lVar15;
          goto LAB_0005711c;
        }
      }
      if ((param_3 & 0x200) == 0) {
LAB_000572ac:
        (*(code *)PTR_top_level_cleanup_00144fb0)();
        (*(code *)PTR_jump_to_top_level_00144808)(2);
        param_2 = pcVar9;
        goto LAB_000572c8;
      }
      pcVar9 = (char *)get_variable_value(param_1);
      param_3 = uVar10;
      if (pcVar9 != (char *)0x0) goto LAB_000572f0;
      iVar11 = 1;
      iVar6 = 0;
      pcVar9 = PTR_DAT_001445ac + -0x6800;
LAB_0005730c:
      if (param_2 != (char *)0x0) goto LAB_00057360;
      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);
      (*(code *)PTR_strcpy_00146418)(puVar1);
    }
  }
  else {
LAB_0005713c:
    uVar10 = param_3;
    if (param_2 == (char *)0x0) {
LAB_000572c8:
      puVar1 = (undefined4 *)0x0;
      pcVar9 = param_2;
    }
    else {
      pcVar9 = param_2;
      if ((param_3 & 1) == 0) goto LAB_00057150;
      pcVar9 = (char *)get_variable_value(param_1);
      if (pcVar9 != (char *)0x0) {
LAB_000572f0:
        iVar11 = 1;
        uVar10 = param_3;
        if (*pcVar9 == '\0') {
          iVar6 = 0;
        }
        else {
          iVar11 = 2;
          if (pcVar9[1] == '\0') {
            iVar6 = 1;
          }
          else if (pcVar9[2] == '\0') {
            iVar11 = 3;
            iVar6 = 2;
          }
          else {
            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);
            iVar11 = iVar6 + 1;
            uVar10 = param_3;
          }
        }
        goto LAB_0005730c;
      }
      iVar6 = 0;
      iVar11 = 1;
      pcVar9 = PTR_DAT_001445ac + -0x6800;
      uVar10 = param_3;
LAB_00057360:
      if (*param_2 != '\0') {
        if (param_2[1] == '\0') {
          iVar11 = iVar6 + 2;
        }
        else if (param_2[2] == '\0') {
          iVar11 = iVar6 + 3;
        }
        else {
          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);
          iVar11 = iVar11 + iVar3;
        }
      }
      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);
      (*(code *)PTR_strcpy_00146418)(puVar1,pcVar9);
      (*(code *)PTR_strcpy_00146418)((undefined1 *)((int)puVar1 + iVar6));
      pcVar9 = param_2;
    }
  }
LAB_00057194:
  if (puVar8 == *(undefined4 **)puVar13) {
    return puVar1;
  }
  puVar13 = PTR___stack_chk_fail_00146488;
  (*(code *)PTR___stack_chk_fail_00146488)();
  uVar12 = puVar8[5];
  puVar8[5] = uVar12 & 0xffffefff;
  if ((code *)puVar8[4] == (code *)0x0) {
    uVar12 = uVar12 & 0x1000;
    uVar5 = make_variable_value();
    if (((uVar10 & 0x30) == 0x10) && (iVar6 = check_selfref(*puVar8,uVar5,0), iVar6 != 0)) {
      if (**(int **)(puVar13 + 0xed2e0) == 0) {
        uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6e14,5);
        internal_error(uVar7,*puVar8);
        (**(code **)(puVar13 + 0xeef80))(uVar5);
        if (uVar12 == 0) {
          return (undefined4 *)0x0;
        }
        goto LAB_0005772c;
      }
      uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6d18);
      internal_warning(uVar7,*puVar8);
    }
    if (((uVar10 & 0x10) != 0) && (iVar6 = valid_nameref_value(uVar5,0), iVar6 == 0)) {
      (**(code **)(puVar13 + 0xeef80))(uVar5);
      if (uVar12 == 0) {
        return (undefined4 *)0x0;
      }
LAB_0005772c:
      puVar8[5] = puVar8[5] | 0x1000;
      return (undefined4 *)0x0;
    }
    if (puVar8[1] != 0) {
      (**(code **)(puVar13 + 0xeef80))();
    }
    puVar8[1] = uVar5;
  }
  else if ((uVar10 & 1) == 0) {
    (*(code *)puVar8[4])();
  }
  else {
    pcVar4 = (char *)make_variable_value();
    (*(code *)puVar8[4])(puVar8,pcVar4,0xffffffff,0xffffffff,0);
    if ((pcVar9 != pcVar4) && (pcVar4 != (char *)0x0)) {
      (**(code **)(puVar13 + 0xeef80))(pcVar4);
    }
  }
  if (puVar8[2] != 0) {
    (**(code **)(puVar13 + 0xeef80))();
    puVar8[2] = 0;
  }
  if (**(int **)(puVar13 + 0xeda38) == 0) {
    puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);
    if ((puVar8[5] & 1) == 0) {
      return puVar8;
    }
  }
  else {
    puVar8[5] = puVar8[5] | 1;
    puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);
  }
  *puVar1 = 1;
  return puVar8;
}


lui gp,0xf
addiu gp,gp,0x54f0
addu gp,gp,t9
addiu sp,sp,-0x40
andi v0,a2,0x100
sw s1,0x24(sp)
lw s1,-0x6064(gp)
sw gp,0x10(sp)
sw s4,0x30(sp)
or s4,a0,zero
sw s2,0x28(sp)
or s2,a1,zero
sw s0,0x20(sp)
or s0,a2,zero
sw ra,0x3c(sp)
sw s6,0x38(sp)
sw s5,0x34(sp)
sw s3,0x2c(sp)
lw v1,0x0(s1)
sw v1,0x1c(sp)
bne v0,zero,0x0005713c
_nop
lw v0,0x14(a0)
andi v1,v0,0x10
beq v1,zero,0x00057134
_andi v0,v0,0x700
andi v0,a2,0x1
beq v0,zero,0x00057280
_lw t9,-0x7984(gp)
lw a0,0x4(a0)
addiu s5,sp,0x18
or a1,zero,zero
bal 0x00063828
_or a2,s5,zero
lw a0,0x18(sp)
or s6,v0,zero
lw gp,0x10(sp)
beq a0,zero,0x000572d0
_or s3,v1,zero
lw t9,-0x7984(gp)
or a1,zero,zero
or a0,s2,zero
bal 0x00063828
_or a2,s5,zero
lw a0,0x18(sp)
beq a0,zero,0x000572d0
_lw gp,0x10(sp)
addu a1,s3,v1
addu v0,s6,v0
sltu s3,a1,s3
addu v0,s3,v0
lw t9,-0x7d9c(gp)
jalr t9
_or a0,v0,zero
lw gp,0x10(sp)
b 0x00057194
_or s0,v0,zero
bne v0,zero,0x000571e4
_nop
beq s2,zero,0x000572c8
_nop
andi s0,s0,0x1
bne s0,zero,0x0005733c
_lw t9,-0x75d4(gp)
lb v0,0x0(s2)
beq v0,zero,0x000571cc
_lw t9,-0x7f90(gp)
lw t9,-0x61b0(gp)
jalr t9
_or a0,s2,zero
lw gp,0x10(sp)
lw t9,-0x7f90(gp)
jalr t9
_addiu a0,v0,0x1
or a1,s2,zero
lw gp,0x10(sp)
lw t9,-0x6128(gp)
jalr t9
_or a0,v0,zero
lw gp,0x10(sp)
or s0,v0,zero
lw a0,0x1c(sp)
or v0,s0,zero
lw v1,0x0(s1)
bne a0,v1,0x00057570
_lw ra,0x3c(sp)
lw s6,0x38(sp)
lw s5,0x34(sp)
lw s4,0x30(sp)
lw s3,0x2c(sp)
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x40
jalr t9
_li a0,0x1
lw gp,0x10(sp)
or s0,v0,zero
b 0x00057194
_sb zero,0x0(v0)
andi s0,a2,0x1
bne s0,zero,0x000573dc
_lw t9,-0x75d4(gp)
lb v0,0x0(a1)
beq v0,zero,0x000573c4
_lw t9,-0x7f90(gp)
lw t9,-0x61b0(gp)
jalr t9
_or a0,a1,zero
lw gp,0x10(sp)
lw t9,-0x7f90(gp)
jalr t9
_addiu a0,v0,0x1
or a1,s2,zero
lw gp,0x10(sp)
lw t9,-0x6128(gp)
jalr t9
_or a0,v0,zero
lw gp,0x10(sp)
or s0,v0,zero
lw a2,0x14(s4)
andi v0,a2,0x400
bne v0,zero,0x000573bc
_li v1,0x2
li v0,0x1
andi a2,a2,0x100
movn v0,v1,a2
or a2,v0,zero
lw t9,-0x7594(gp)
or a1,zero,zero
jalr t9
_or a0,s0,zero
or a0,s0,zero
lw gp,0x10(sp)
lw t9,-0x6044(gp)
jalr t9
_or s0,v0,zero
b 0x00057194
_lw gp,0x10(sp)
or a1,zero,zero
addiu a2,sp,0x18
bal 0x00063828
_or a0,s2,zero
lw a0,0x18(sp)
or a1,v1,zero
bne a0,zero,0x0005711c
_lw gp,0x10(sp)
andi s0,s0,0x200
bne s0,zero,0x00057150
_nop
lw t9,-0x7590(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw t9,-0x7d38(gp)
jalr t9
_li a0,0x2
b 0x00057194
_or s0,zero,zero
andi s0,s0,0x200
beq s0,zero,0x000572ac
_lw t9,-0x75d4(gp)
bal 0x000568f8
_or a0,s4,zero
lw gp,0x10(sp)
beq v0,zero,0x000574f4
_or s0,v0,zero
lb v0,0x0(s0)
beq v0,zero,0x00057558
_li s3,0x1
lb v0,0x1(s0)
bne v0,zero,0x000574a8
_li s3,0x2
li s4,0x1
bne s2,zero,0x00057360
_lw t9,-0x7f90(gp)
jalr t9
_or a0,s3,zero
or a1,s0,zero
lw gp,0x10(sp)
or a0,v0,zero
lw t9,-0x6128(gp)
jalr t9
_or s0,v0,zero
b 0x00057194
_lw gp,0x10(sp)
bal 0x000568f8
_or a0,s4,zero
lw gp,0x10(sp)
bne v0,zero,0x000572f0
_or s0,v0,zero
lw s0,-0x7f94(gp)
or s4,zero,zero
li s3,0x1
addiu s0,s0,-0x6800
lb v0,0x0(s2)
beq v0,zero,0x00057380
_lw t9,-0x7f90(gp)
lb v0,0x1(s2)
bne v0,zero,0x000574e0
_nop
addiu s3,s4,0x2
lw t9,-0x7f90(gp)
jalr t9
_or a0,s3,zero
or a1,s0,zero
lw gp,0x10(sp)
or a0,v0,zero
lw t9,-0x6128(gp)
jalr t9
_or s0,v0,zero
addu a0,s0,s4
lw gp,0x10(sp)
lw t9,-0x6128(gp)
jalr t9
_or a1,s2,zero
b 0x00057194
_lw gp,0x10(sp)
b 0x00057254
_li a2,0x4
jalr t9
_li a0,0x1
lw gp,0x10(sp)
or s0,v0,zero
b 0x00057234
_sb zero,0x0(v0)
bal 0x000568f8
_nop
lw gp,0x10(sp)
beq v0,zero,0x000574cc
_or s0,v0,zero
lb v0,0x0(v0)
beq v0,zero,0x00057568
_li s3,0x1
lb v0,0x1(s0)
beq v0,zero,0x00057550
_li s3,0x2
lb v0,0x2(s0)
beq v0,zero,0x00057560
_li s3,0x3
lw t9,-0x61b0(gp)
jalr t9
_or a0,s0,zero
lw gp,0x10(sp)
addiu s3,v0,0x1
or s5,v0,zero
beq s2,zero,0x00057508
_lw t9,-0x7f90(gp)
lb v0,0x0(s2)
beq v0,zero,0x0005746c
_or v0,zero,zero
lb v0,0x1(s2)
beq v0,zero,0x0005746c
_li v0,0x1
lb v0,0x2(s2)
beq v0,zero,0x0005746c
_li v0,0x2
lw t9,-0x61b0(gp)
jalr t9
_or a0,s2,zero
lw gp,0x10(sp)
lw t9,-0x7f90(gp)
jalr t9
_addu a0,s3,v0
or a1,s0,zero
lw gp,0x10(sp)
or a0,v0,zero
lw t9,-0x6128(gp)
jalr t9
_or s0,v0,zero
addu a0,s0,s5
lw gp,0x10(sp)
lw t9,-0x6128(gp)
jalr t9
_or a1,s2,zero
b 0x00057234
_lw gp,0x10(sp)
lb v0,0x2(s0)
beq v0,zero,0x00057530
_lw t9,-0x61b0(gp)
jalr t9
_or a0,s0,zero
lw gp,0x10(sp)
or s4,v0,zero
b 0x0005730c
_addiu s3,v0,0x1
lw s0,-0x7f94(gp)
li s3,0x1
or s5,zero,zero
b 0x0005742c
_addiu s0,s0,-0x6800
lb v0,0x2(s2)
bne v0,zero,0x0005753c
_lw t9,-0x61b0(gp)
b 0x0005737c
_addiu s3,s4,0x3
lw s0,-0x7f94(gp)
li s3,0x1
or s4,zero,zero
b 0x0005730c
_addiu s0,s0,-0x6800
jalr t9
_or a0,s3,zero
or a1,s0,zero
lw gp,0x10(sp)
or a0,v0,zero
lw t9,-0x6128(gp)
jalr t9
_or s0,v0,zero
b 0x00057234
_lw gp,0x10(sp)
li s3,0x3
b 0x0005730c
_li s4,0x2
jalr t9
_or a0,s2,zero
lw gp,0x10(sp)
b 0x0005737c
_addu s3,s3,v0
b 0x0005742c
_li s5,0x1
b 0x0005730c
_or s4,zero,zero
b 0x0005742c
_li s5,0x2
b 0x0005742c
_or s5,zero,zero
lw t9,-0x60b8(gp)
jalr t9
_nop
(translation_unit "undefined4 * make_variable_value(int param_1,char *param_2,uint param_3)\n\n{\n  undefined4 *puVar1;\n  undefined1 *puVar2;\n  int iVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined4 uVar7;\n  undefined4 *puVar8;\n  char *pcVar9;\n  uint uVar10;\n  int iVar11;\n  uint uVar12;\n  undefined *puVar13;\n  longlong lVar14;\n  longlong lVar15;\n  int local_28;\n  \n  puVar13 = PTR___stack_chk_guard_001464dc;\n  puVar8 = *(undefined4 **)PTR___stack_chk_guard_001464dc;\n  if ((param_3 & 0x100) == 0) {\n    if ((*(uint *)(param_1 + 0x14) & 0x10) == 0) {\n      if ((*(uint *)(param_1 + 0x14) & 0x700) == 0) goto LAB_0005713c;\n      if ((param_3 & 1) == 0) {\n        if (*param_2 == '\0') {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar2 = 0;\n        }\n        else {\n          iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n          puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2);\n        }\n      }\n      else {\n        pcVar9 = (char *)get_variable_value();\n        if (pcVar9 == (char *)0x0) {\n          iVar11 = 1;\n          iVar6 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar11 = 1;\n          if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }\n        }\n        if (param_2 == (char *)0x0) {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n        }\n        else {\n          iVar3 = 0;\n          if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);\n        }\n      }\n      if ((*(uint *)(param_1 + 0x14) & 0x400) == 0) {\n        uVar10 = (uint)((*(uint *)(param_1 + 0x14) & 0x100) == 0);\n      }\n      else {\n        uVar10 = 0;\n      }\n      pcVar9 = (char *)0x0;\n      puVar1 = (undefined4 *)(*(code *)PTR_sh_modcase_00144fac)(puVar2);\n      (*(code *)PTR_free_001464fc)(puVar2);\n    }\n    else if ((param_3 & 1) == 0) {\n      uVar10 = 0xffffffd8;\n      lVar14 = evalexp(param_2,0);\n      pcVar9 = (char *)lVar14;\n      if (local_28 != 0) {\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        puVar1 = (undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }\n      if ((param_3 & 0x200) == 0) goto LAB_000572ac;\nLAB_00057150:\n      if (*param_2 == '\0') {\n        puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *(undefined1 *)puVar1 = 0;\n      }\n      else {\n        iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n        uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n        puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);\n        pcVar9 = param_2;\n      }\n    }\n    else {\n      uVar12 = 0xffffffd8;\n      pcVar9 = (char *)0x0;\n      uVar10 = uVar12;\n      lVar14 = evalexp(*(undefined4 *)(param_1 + 4));\n      if (local_28 != 0) {\n        pcVar9 = (char *)0x0;\n        lVar15 = evalexp(param_2);\n        uVar10 = uVar12;\n        if (local_28 != 0) {\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }\n      }\n      if ((param_3 & 0x200) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        param_2 = pcVar9;\n        goto LAB_000572c8;\n      }\n      pcVar9 = (char *)get_variable_value(param_1);\n      param_3 = uVar10;\n      if (pcVar9 != (char *)0x0) goto LAB_000572f0;\n      iVar11 = 1;\n      iVar6 = 0;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\nLAB_0005730c:\n      if (param_2 != (char *)0x0) goto LAB_00057360;\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1);\n    }\n  }\n  else {\nLAB_0005713c:\n    uVar10 = param_3;\n    if (param_2 == (char *)0x0) {\nLAB_000572c8:\n      puVar1 = (undefined4 *)0x0;\n      pcVar9 = param_2;\n    }\n    else {\n      pcVar9 = param_2;\n      if ((param_3 & 1) == 0) goto LAB_00057150;\n      pcVar9 = (char *)get_variable_value(param_1);\n      if (pcVar9 != (char *)0x0) {\nLAB_000572f0:\n        iVar11 = 1;\n        uVar10 = param_3;\n        if (*pcVar9 == '\0') {\n          iVar6 = 0;\n        }\n        else {\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }\n        goto LAB_0005730c;\n      }\n      iVar6 = 0;\n      iVar11 = 1;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\n      uVar10 = param_3;\nLAB_00057360:\n      if (*param_2 != '\0') {\n        if (param_2[1] == '\0') {\n          iVar11 = iVar6 + 2;\n        }\n        else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }\n      }\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1,pcVar9);\n      (*(code *)PTR_strcpy_00146418)((undefined1 *)((int)puVar1 + iVar6));\n      pcVar9 = param_2;\n    }\n  }\nLAB_00057194:\n  if (puVar8 == *(undefined4 **)puVar13) {\n    return puVar1;\n  }\n  puVar13 = PTR___stack_chk_fail_00146488;\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  uVar12 = puVar8[5];\n  puVar8[5] = uVar12 & 0xffffefff;\n  if ((code *)puVar8[4] == (code *)0x0) {\n    uVar12 = uVar12 & 0x1000;\n    uVar5 = make_variable_value();\n    if (((uVar10 & 0x30) == 0x10) && (iVar6 = check_selfref(*puVar8,uVar5,0), iVar6 != 0)) {\n      if (**(int **)(puVar13 + 0xed2e0) == 0) {\n        uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6e14,5);\n        internal_error(uVar7,*puVar8);\n        (**(code **)(puVar13 + 0xeef80))(uVar5);\n        if (uVar12 == 0) {\n          return (undefined4 *)0x0;\n        }\n        goto LAB_0005772c;\n      }\n      uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6d18);\n      internal_warning(uVar7,*puVar8);\n    }\n    if (((uVar10 & 0x10) != 0) && (iVar6 = valid_nameref_value(uVar5,0), iVar6 == 0)) {\n      (**(code **)(puVar13 + 0xeef80))(uVar5);\n      if (uVar12 == 0) {\n        return (undefined4 *)0x0;\n      }\nLAB_0005772c:\n      puVar8[5] = puVar8[5] | 0x1000;\n      return (undefined4 *)0x0;\n    }\n    if (puVar8[1] != 0) {\n      (**(code **)(puVar13 + 0xeef80))();\n    }\n    puVar8[1] = uVar5;\n  }\n  else if ((uVar10 & 1) == 0) {\n    (*(code *)puVar8[4])();\n  }\n  else {\n    pcVar4 = (char *)make_variable_value();\n    (*(code *)puVar8[4])(puVar8,pcVar4,0xffffffff,0xffffffff,0);\n    if ((pcVar9 != pcVar4) && (pcVar4 != (char *)0x0)) {\n      (**(code **)(puVar13 + 0xeef80))(pcVar4);\n    }\n  }\n  if (puVar8[2] != 0) {\n    (**(code **)(puVar13 + 0xeef80))();\n    puVar8[2] = 0;\n  }\n  if (**(int **)(puVar13 + 0xeda38) == 0) {\n    puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);\n    if ((puVar8[5] & 1) == 0) {\n      return puVar8;\n    }\n  }\n  else {\n    puVar8[5] = puVar8[5] | 1;\n    puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);\n  }\n  *puVar1 = 1;\n  return puVar8;\n}\n\n" (function_definition "undefined4 * make_variable_value(int param_1,char *param_2,uint param_3)\n\n{\n  undefined4 *puVar1;\n  undefined1 *puVar2;\n  int iVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined4 uVar7;\n  undefined4 *puVar8;\n  char *pcVar9;\n  uint uVar10;\n  int iVar11;\n  uint uVar12;\n  undefined *puVar13;\n  longlong lVar14;\n  longlong lVar15;\n  int local_28;\n  \n  puVar13 = PTR___stack_chk_guard_001464dc;\n  puVar8 = *(undefined4 **)PTR___stack_chk_guard_001464dc;\n  if ((param_3 & 0x100) == 0) {\n    if ((*(uint *)(param_1 + 0x14) & 0x10) == 0) {\n      if ((*(uint *)(param_1 + 0x14) & 0x700) == 0) goto LAB_0005713c;\n      if ((param_3 & 1) == 0) {\n        if (*param_2 == '\0') {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar2 = 0;\n        }\n        else {\n          iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n          puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2);\n        }\n      }\n      else {\n        pcVar9 = (char *)get_variable_value();\n        if (pcVar9 == (char *)0x0) {\n          iVar11 = 1;\n          iVar6 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar11 = 1;\n          if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }\n        }\n        if (param_2 == (char *)0x0) {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n        }\n        else {\n          iVar3 = 0;\n          if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);\n        }\n      }\n      if ((*(uint *)(param_1 + 0x14) & 0x400) == 0) {\n        uVar10 = (uint)((*(uint *)(param_1 + 0x14) & 0x100) == 0);\n      }\n      else {\n        uVar10 = 0;\n      }\n      pcVar9 = (char *)0x0;\n      puVar1 = (undefined4 *)(*(code *)PTR_sh_modcase_00144fac)(puVar2);\n      (*(code *)PTR_free_001464fc)(puVar2);\n    }\n    else if ((param_3 & 1) == 0) {\n      uVar10 = 0xffffffd8;\n      lVar14 = evalexp(param_2,0);\n      pcVar9 = (char *)lVar14;\n      if (local_28 != 0) {\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        puVar1 = (undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }\n      if ((param_3 & 0x200) == 0) goto LAB_000572ac;\nLAB_00057150:\n      if (*param_2 == '\0') {\n        puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *(undefined1 *)puVar1 = 0;\n      }\n      else {\n        iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n        uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n        puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);\n        pcVar9 = param_2;\n      }\n    }\n    else {\n      uVar12 = 0xffffffd8;\n      pcVar9 = (char *)0x0;\n      uVar10 = uVar12;\n      lVar14 = evalexp(*(undefined4 *)(param_1 + 4));\n      if (local_28 != 0) {\n        pcVar9 = (char *)0x0;\n        lVar15 = evalexp(param_2);\n        uVar10 = uVar12;\n        if (local_28 != 0) {\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }\n      }\n      if ((param_3 & 0x200) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        param_2 = pcVar9;\n        goto LAB_000572c8;\n      }\n      pcVar9 = (char *)get_variable_value(param_1);\n      param_3 = uVar10;\n      if (pcVar9 != (char *)0x0) goto LAB_000572f0;\n      iVar11 = 1;\n      iVar6 = 0;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\nLAB_0005730c:\n      if (param_2 != (char *)0x0) goto LAB_00057360;\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1);\n    }\n  }\n  else {\nLAB_0005713c:\n    uVar10 = param_3;\n    if (param_2 == (char *)0x0) {\nLAB_000572c8:\n      puVar1 = (undefined4 *)0x0;\n      pcVar9 = param_2;\n    }\n    else {\n      pcVar9 = param_2;\n      if ((param_3 & 1) == 0) goto LAB_00057150;\n      pcVar9 = (char *)get_variable_value(param_1);\n      if (pcVar9 != (char *)0x0) {\nLAB_000572f0:\n        iVar11 = 1;\n        uVar10 = param_3;\n        if (*pcVar9 == '\0') {\n          iVar6 = 0;\n        }\n        else {\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }\n        goto LAB_0005730c;\n      }\n      iVar6 = 0;\n      iVar11 = 1;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\n      uVar10 = param_3;\nLAB_00057360:\n      if (*param_2 != '\0') {\n        if (param_2[1] == '\0') {\n          iVar11 = iVar6 + 2;\n        }\n        else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }\n      }\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1,pcVar9);\n      (*(code *)PTR_strcpy_00146418)((undefined1 *)((int)puVar1 + iVar6));\n      pcVar9 = param_2;\n    }\n  }\nLAB_00057194:\n  if (puVar8 == *(undefined4 **)puVar13) {\n    return puVar1;\n  }\n  puVar13 = PTR___stack_chk_fail_00146488;\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  uVar12 = puVar8[5];\n  puVar8[5] = uVar12 & 0xffffefff;\n  if ((code *)puVar8[4] == (code *)0x0) {\n    uVar12 = uVar12 & 0x1000;\n    uVar5 = make_variable_value();\n    if (((uVar10 & 0x30) == 0x10) && (iVar6 = check_selfref(*puVar8,uVar5,0), iVar6 != 0)) {\n      if (**(int **)(puVar13 + 0xed2e0) == 0) {\n        uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6e14,5);\n        internal_error(uVar7,*puVar8);\n        (**(code **)(puVar13 + 0xeef80))(uVar5);\n        if (uVar12 == 0) {\n          return (undefined4 *)0x0;\n        }\n        goto LAB_0005772c;\n      }\n      uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6d18);\n      internal_warning(uVar7,*puVar8);\n    }\n    if (((uVar10 & 0x10) != 0) && (iVar6 = valid_nameref_value(uVar5,0), iVar6 == 0)) {\n      (**(code **)(puVar13 + 0xeef80))(uVar5);\n      if (uVar12 == 0) {\n        return (undefined4 *)0x0;\n      }\nLAB_0005772c:\n      puVar8[5] = puVar8[5] | 0x1000;\n      return (undefined4 *)0x0;\n    }\n    if (puVar8[1] != 0) {\n      (**(code **)(puVar13 + 0xeef80))();\n    }\n    puVar8[1] = uVar5;\n  }\n  else if ((uVar10 & 1) == 0) {\n    (*(code *)puVar8[4])();\n  }\n  else {\n    pcVar4 = (char *)make_variable_value();\n    (*(code *)puVar8[4])(puVar8,pcVar4,0xffffffff,0xffffffff,0);\n    if ((pcVar9 != pcVar4) && (pcVar4 != (char *)0x0)) {\n      (**(code **)(puVar13 + 0xeef80))(pcVar4);\n    }\n  }\n  if (puVar8[2] != 0) {\n    (**(code **)(puVar13 + 0xeef80))();\n    puVar8[2] = 0;\n  }\n  if (**(int **)(puVar13 + 0xeda38) == 0) {\n    puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);\n    if ((puVar8[5] & 1) == 0) {\n      return puVar8;\n    }\n  }\n  else {\n    puVar8[5] = puVar8[5] | 1;\n    puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);\n  }\n  *puVar1 = 1;\n  return puVar8;\n}" type_identifier (pointer_declarator "* make_variable_value(int param_1,char *param_2,uint param_3)" * (function_declarator "make_variable_value(int param_1,char *param_2,uint param_3)" identifier (parameter_list "(int param_1,char *param_2,uint param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) )))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined1 *puVar2;\n  int iVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined4 uVar7;\n  undefined4 *puVar8;\n  char *pcVar9;\n  uint uVar10;\n  int iVar11;\n  uint uVar12;\n  undefined *puVar13;\n  longlong lVar14;\n  longlong lVar15;\n  int local_28;\n  \n  puVar13 = PTR___stack_chk_guard_001464dc;\n  puVar8 = *(undefined4 **)PTR___stack_chk_guard_001464dc;\n  if ((param_3 & 0x100) == 0) {\n    if ((*(uint *)(param_1 + 0x14) & 0x10) == 0) {\n      if ((*(uint *)(param_1 + 0x14) & 0x700) == 0) goto LAB_0005713c;\n      if ((param_3 & 1) == 0) {\n        if (*param_2 == '\0') {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar2 = 0;\n        }\n        else {\n          iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n          puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2);\n        }\n      }\n      else {\n        pcVar9 = (char *)get_variable_value();\n        if (pcVar9 == (char *)0x0) {\n          iVar11 = 1;\n          iVar6 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar11 = 1;\n          if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }\n        }\n        if (param_2 == (char *)0x0) {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n        }\n        else {\n          iVar3 = 0;\n          if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);\n        }\n      }\n      if ((*(uint *)(param_1 + 0x14) & 0x400) == 0) {\n        uVar10 = (uint)((*(uint *)(param_1 + 0x14) & 0x100) == 0);\n      }\n      else {\n        uVar10 = 0;\n      }\n      pcVar9 = (char *)0x0;\n      puVar1 = (undefined4 *)(*(code *)PTR_sh_modcase_00144fac)(puVar2);\n      (*(code *)PTR_free_001464fc)(puVar2);\n    }\n    else if ((param_3 & 1) == 0) {\n      uVar10 = 0xffffffd8;\n      lVar14 = evalexp(param_2,0);\n      pcVar9 = (char *)lVar14;\n      if (local_28 != 0) {\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        puVar1 = (undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }\n      if ((param_3 & 0x200) == 0) goto LAB_000572ac;\nLAB_00057150:\n      if (*param_2 == '\0') {\n        puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *(undefined1 *)puVar1 = 0;\n      }\n      else {\n        iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n        uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n        puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);\n        pcVar9 = param_2;\n      }\n    }\n    else {\n      uVar12 = 0xffffffd8;\n      pcVar9 = (char *)0x0;\n      uVar10 = uVar12;\n      lVar14 = evalexp(*(undefined4 *)(param_1 + 4));\n      if (local_28 != 0) {\n        pcVar9 = (char *)0x0;\n        lVar15 = evalexp(param_2);\n        uVar10 = uVar12;\n        if (local_28 != 0) {\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }\n      }\n      if ((param_3 & 0x200) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        param_2 = pcVar9;\n        goto LAB_000572c8;\n      }\n      pcVar9 = (char *)get_variable_value(param_1);\n      param_3 = uVar10;\n      if (pcVar9 != (char *)0x0) goto LAB_000572f0;\n      iVar11 = 1;\n      iVar6 = 0;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\nLAB_0005730c:\n      if (param_2 != (char *)0x0) goto LAB_00057360;\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1);\n    }\n  }\n  else {\nLAB_0005713c:\n    uVar10 = param_3;\n    if (param_2 == (char *)0x0) {\nLAB_000572c8:\n      puVar1 = (undefined4 *)0x0;\n      pcVar9 = param_2;\n    }\n    else {\n      pcVar9 = param_2;\n      if ((param_3 & 1) == 0) goto LAB_00057150;\n      pcVar9 = (char *)get_variable_value(param_1);\n      if (pcVar9 != (char *)0x0) {\nLAB_000572f0:\n        iVar11 = 1;\n        uVar10 = param_3;\n        if (*pcVar9 == '\0') {\n          iVar6 = 0;\n        }\n        else {\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }\n        goto LAB_0005730c;\n      }\n      iVar6 = 0;\n      iVar11 = 1;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\n      uVar10 = param_3;\nLAB_00057360:\n      if (*param_2 != '\0') {\n        if (param_2[1] == '\0') {\n          iVar11 = iVar6 + 2;\n        }\n        else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }\n      }\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1,pcVar9);\n      (*(code *)PTR_strcpy_00146418)((undefined1 *)((int)puVar1 + iVar6));\n      pcVar9 = param_2;\n    }\n  }\nLAB_00057194:\n  if (puVar8 == *(undefined4 **)puVar13) {\n    return puVar1;\n  }\n  puVar13 = PTR___stack_chk_fail_00146488;\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  uVar12 = puVar8[5];\n  puVar8[5] = uVar12 & 0xffffefff;\n  if ((code *)puVar8[4] == (code *)0x0) {\n    uVar12 = uVar12 & 0x1000;\n    uVar5 = make_variable_value();\n    if (((uVar10 & 0x30) == 0x10) && (iVar6 = check_selfref(*puVar8,uVar5,0), iVar6 != 0)) {\n      if (**(int **)(puVar13 + 0xed2e0) == 0) {\n        uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6e14,5);\n        internal_error(uVar7,*puVar8);\n        (**(code **)(puVar13 + 0xeef80))(uVar5);\n        if (uVar12 == 0) {\n          return (undefined4 *)0x0;\n        }\n        goto LAB_0005772c;\n      }\n      uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6d18);\n      internal_warning(uVar7,*puVar8);\n    }\n    if (((uVar10 & 0x10) != 0) && (iVar6 = valid_nameref_value(uVar5,0), iVar6 == 0)) {\n      (**(code **)(puVar13 + 0xeef80))(uVar5);\n      if (uVar12 == 0) {\n        return (undefined4 *)0x0;\n      }\nLAB_0005772c:\n      puVar8[5] = puVar8[5] | 0x1000;\n      return (undefined4 *)0x0;\n    }\n    if (puVar8[1] != 0) {\n      (**(code **)(puVar13 + 0xeef80))();\n    }\n    puVar8[1] = uVar5;\n  }\n  else if ((uVar10 & 1) == 0) {\n    (*(code *)puVar8[4])();\n  }\n  else {\n    pcVar4 = (char *)make_variable_value();\n    (*(code *)puVar8[4])(puVar8,pcVar4,0xffffffff,0xffffffff,0);\n    if ((pcVar9 != pcVar4) && (pcVar4 != (char *)0x0)) {\n      (**(code **)(puVar13 + 0xeef80))(pcVar4);\n    }\n  }\n  if (puVar8[2] != 0) {\n    (**(code **)(puVar13 + 0xeef80))();\n    puVar8[2] = 0;\n  }\n  if (**(int **)(puVar13 + 0xeda38) == 0) {\n    puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);\n    if ((puVar8[5] & 1) == 0) {\n      return puVar8;\n    }\n  }\n  else {\n    puVar8[5] = puVar8[5] | 1;\n    puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);\n  }\n  *puVar1 = 1;\n  return puVar8;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined1 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "uint uVar12;" type_identifier identifier ;) (declaration "undefined *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "longlong lVar14;" type_identifier identifier ;) (declaration "longlong lVar15;" type_identifier identifier ;) (declaration "int local_28;" primitive_type identifier ;) (expression_statement "puVar13 = PTR___stack_chk_guard_001464dc;" (assignment_expression "puVar13 = PTR___stack_chk_guard_001464dc" identifier = identifier) ;) (expression_statement "puVar8 = *(undefined4 **)PTR___stack_chk_guard_001464dc;" (assignment_expression "puVar8 = *(undefined4 **)PTR___stack_chk_guard_001464dc" identifier = (pointer_expression "*(undefined4 **)PTR___stack_chk_guard_001464dc" * (cast_expression "(undefined4 **)PTR___stack_chk_guard_001464dc" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (if_statement "if ((param_3 & 0x100) == 0) {\n    if ((*(uint *)(param_1 + 0x14) & 0x10) == 0) {\n      if ((*(uint *)(param_1 + 0x14) & 0x700) == 0) goto LAB_0005713c;\n      if ((param_3 & 1) == 0) {\n        if (*param_2 == '\0') {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar2 = 0;\n        }\n        else {\n          iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n          puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2);\n        }\n      }\n      else {\n        pcVar9 = (char *)get_variable_value();\n        if (pcVar9 == (char *)0x0) {\n          iVar11 = 1;\n          iVar6 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar11 = 1;\n          if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }\n        }\n        if (param_2 == (char *)0x0) {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n        }\n        else {\n          iVar3 = 0;\n          if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);\n        }\n      }\n      if ((*(uint *)(param_1 + 0x14) & 0x400) == 0) {\n        uVar10 = (uint)((*(uint *)(param_1 + 0x14) & 0x100) == 0);\n      }\n      else {\n        uVar10 = 0;\n      }\n      pcVar9 = (char *)0x0;\n      puVar1 = (undefined4 *)(*(code *)PTR_sh_modcase_00144fac)(puVar2);\n      (*(code *)PTR_free_001464fc)(puVar2);\n    }\n    else if ((param_3 & 1) == 0) {\n      uVar10 = 0xffffffd8;\n      lVar14 = evalexp(param_2,0);\n      pcVar9 = (char *)lVar14;\n      if (local_28 != 0) {\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        puVar1 = (undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }\n      if ((param_3 & 0x200) == 0) goto LAB_000572ac;\nLAB_00057150:\n      if (*param_2 == '\0') {\n        puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *(undefined1 *)puVar1 = 0;\n      }\n      else {\n        iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n        uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n        puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);\n        pcVar9 = param_2;\n      }\n    }\n    else {\n      uVar12 = 0xffffffd8;\n      pcVar9 = (char *)0x0;\n      uVar10 = uVar12;\n      lVar14 = evalexp(*(undefined4 *)(param_1 + 4));\n      if (local_28 != 0) {\n        pcVar9 = (char *)0x0;\n        lVar15 = evalexp(param_2);\n        uVar10 = uVar12;\n        if (local_28 != 0) {\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }\n      }\n      if ((param_3 & 0x200) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        param_2 = pcVar9;\n        goto LAB_000572c8;\n      }\n      pcVar9 = (char *)get_variable_value(param_1);\n      param_3 = uVar10;\n      if (pcVar9 != (char *)0x0) goto LAB_000572f0;\n      iVar11 = 1;\n      iVar6 = 0;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\nLAB_0005730c:\n      if (param_2 != (char *)0x0) goto LAB_00057360;\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1);\n    }\n  }\n  else {\nLAB_0005713c:\n    uVar10 = param_3;\n    if (param_2 == (char *)0x0) {\nLAB_000572c8:\n      puVar1 = (undefined4 *)0x0;\n      pcVar9 = param_2;\n    }\n    else {\n      pcVar9 = param_2;\n      if ((param_3 & 1) == 0) goto LAB_00057150;\n      pcVar9 = (char *)get_variable_value(param_1);\n      if (pcVar9 != (char *)0x0) {\nLAB_000572f0:\n        iVar11 = 1;\n        uVar10 = param_3;\n        if (*pcVar9 == '\0') {\n          iVar6 = 0;\n        }\n        else {\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }\n        goto LAB_0005730c;\n      }\n      iVar6 = 0;\n      iVar11 = 1;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\n      uVar10 = param_3;\nLAB_00057360:\n      if (*param_2 != '\0') {\n        if (param_2[1] == '\0') {\n          iVar11 = iVar6 + 2;\n        }\n        else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }\n      }\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1,pcVar9);\n      (*(code *)PTR_strcpy_00146418)((undefined1 *)((int)puVar1 + iVar6));\n      pcVar9 = param_2;\n    }\n  }" if (parenthesized_expression "((param_3 & 0x100) == 0)" ( (binary_expression "(param_3 & 0x100) == 0" (parenthesized_expression "(param_3 & 0x100)" ( (binary_expression "param_3 & 0x100" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    if ((*(uint *)(param_1 + 0x14) & 0x10) == 0) {\n      if ((*(uint *)(param_1 + 0x14) & 0x700) == 0) goto LAB_0005713c;\n      if ((param_3 & 1) == 0) {\n        if (*param_2 == '\0') {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar2 = 0;\n        }\n        else {\n          iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n          puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2);\n        }\n      }\n      else {\n        pcVar9 = (char *)get_variable_value();\n        if (pcVar9 == (char *)0x0) {\n          iVar11 = 1;\n          iVar6 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar11 = 1;\n          if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }\n        }\n        if (param_2 == (char *)0x0) {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n        }\n        else {\n          iVar3 = 0;\n          if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);\n        }\n      }\n      if ((*(uint *)(param_1 + 0x14) & 0x400) == 0) {\n        uVar10 = (uint)((*(uint *)(param_1 + 0x14) & 0x100) == 0);\n      }\n      else {\n        uVar10 = 0;\n      }\n      pcVar9 = (char *)0x0;\n      puVar1 = (undefined4 *)(*(code *)PTR_sh_modcase_00144fac)(puVar2);\n      (*(code *)PTR_free_001464fc)(puVar2);\n    }\n    else if ((param_3 & 1) == 0) {\n      uVar10 = 0xffffffd8;\n      lVar14 = evalexp(param_2,0);\n      pcVar9 = (char *)lVar14;\n      if (local_28 != 0) {\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        puVar1 = (undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }\n      if ((param_3 & 0x200) == 0) goto LAB_000572ac;\nLAB_00057150:\n      if (*param_2 == '\0') {\n        puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *(undefined1 *)puVar1 = 0;\n      }\n      else {\n        iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n        uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n        puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);\n        pcVar9 = param_2;\n      }\n    }\n    else {\n      uVar12 = 0xffffffd8;\n      pcVar9 = (char *)0x0;\n      uVar10 = uVar12;\n      lVar14 = evalexp(*(undefined4 *)(param_1 + 4));\n      if (local_28 != 0) {\n        pcVar9 = (char *)0x0;\n        lVar15 = evalexp(param_2);\n        uVar10 = uVar12;\n        if (local_28 != 0) {\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }\n      }\n      if ((param_3 & 0x200) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        param_2 = pcVar9;\n        goto LAB_000572c8;\n      }\n      pcVar9 = (char *)get_variable_value(param_1);\n      param_3 = uVar10;\n      if (pcVar9 != (char *)0x0) goto LAB_000572f0;\n      iVar11 = 1;\n      iVar6 = 0;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\nLAB_0005730c:\n      if (param_2 != (char *)0x0) goto LAB_00057360;\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1);\n    }\n  }" { (if_statement "if ((*(uint *)(param_1 + 0x14) & 0x10) == 0) {\n      if ((*(uint *)(param_1 + 0x14) & 0x700) == 0) goto LAB_0005713c;\n      if ((param_3 & 1) == 0) {\n        if (*param_2 == '\0') {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar2 = 0;\n        }\n        else {\n          iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n          puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2);\n        }\n      }\n      else {\n        pcVar9 = (char *)get_variable_value();\n        if (pcVar9 == (char *)0x0) {\n          iVar11 = 1;\n          iVar6 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar11 = 1;\n          if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }\n        }\n        if (param_2 == (char *)0x0) {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n        }\n        else {\n          iVar3 = 0;\n          if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);\n        }\n      }\n      if ((*(uint *)(param_1 + 0x14) & 0x400) == 0) {\n        uVar10 = (uint)((*(uint *)(param_1 + 0x14) & 0x100) == 0);\n      }\n      else {\n        uVar10 = 0;\n      }\n      pcVar9 = (char *)0x0;\n      puVar1 = (undefined4 *)(*(code *)PTR_sh_modcase_00144fac)(puVar2);\n      (*(code *)PTR_free_001464fc)(puVar2);\n    }\n    else if ((param_3 & 1) == 0) {\n      uVar10 = 0xffffffd8;\n      lVar14 = evalexp(param_2,0);\n      pcVar9 = (char *)lVar14;\n      if (local_28 != 0) {\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        puVar1 = (undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }\n      if ((param_3 & 0x200) == 0) goto LAB_000572ac;\nLAB_00057150:\n      if (*param_2 == '\0') {\n        puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *(undefined1 *)puVar1 = 0;\n      }\n      else {\n        iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n        uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n        puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);\n        pcVar9 = param_2;\n      }\n    }\n    else {\n      uVar12 = 0xffffffd8;\n      pcVar9 = (char *)0x0;\n      uVar10 = uVar12;\n      lVar14 = evalexp(*(undefined4 *)(param_1 + 4));\n      if (local_28 != 0) {\n        pcVar9 = (char *)0x0;\n        lVar15 = evalexp(param_2);\n        uVar10 = uVar12;\n        if (local_28 != 0) {\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }\n      }\n      if ((param_3 & 0x200) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        param_2 = pcVar9;\n        goto LAB_000572c8;\n      }\n      pcVar9 = (char *)get_variable_value(param_1);\n      param_3 = uVar10;\n      if (pcVar9 != (char *)0x0) goto LAB_000572f0;\n      iVar11 = 1;\n      iVar6 = 0;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\nLAB_0005730c:\n      if (param_2 != (char *)0x0) goto LAB_00057360;\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1);\n    }" if (parenthesized_expression "((*(uint *)(param_1 + 0x14) & 0x10) == 0)" ( (binary_expression "(*(uint *)(param_1 + 0x14) & 0x10) == 0" (parenthesized_expression "(*(uint *)(param_1 + 0x14) & 0x10)" ( (binary_expression "*(uint *)(param_1 + 0x14) & 0x10" (pointer_expression "*(uint *)(param_1 + 0x14)" * (cast_expression "(uint *)(param_1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n      if ((*(uint *)(param_1 + 0x14) & 0x700) == 0) goto LAB_0005713c;\n      if ((param_3 & 1) == 0) {\n        if (*param_2 == '\0') {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar2 = 0;\n        }\n        else {\n          iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n          puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2);\n        }\n      }\n      else {\n        pcVar9 = (char *)get_variable_value();\n        if (pcVar9 == (char *)0x0) {\n          iVar11 = 1;\n          iVar6 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar11 = 1;\n          if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }\n        }\n        if (param_2 == (char *)0x0) {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n        }\n        else {\n          iVar3 = 0;\n          if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);\n        }\n      }\n      if ((*(uint *)(param_1 + 0x14) & 0x400) == 0) {\n        uVar10 = (uint)((*(uint *)(param_1 + 0x14) & 0x100) == 0);\n      }\n      else {\n        uVar10 = 0;\n      }\n      pcVar9 = (char *)0x0;\n      puVar1 = (undefined4 *)(*(code *)PTR_sh_modcase_00144fac)(puVar2);\n      (*(code *)PTR_free_001464fc)(puVar2);\n    }" { (if_statement "if ((*(uint *)(param_1 + 0x14) & 0x700) == 0) goto LAB_0005713c;" if (parenthesized_expression "((*(uint *)(param_1 + 0x14) & 0x700) == 0)" ( (binary_expression "(*(uint *)(param_1 + 0x14) & 0x700) == 0" (parenthesized_expression "(*(uint *)(param_1 + 0x14) & 0x700)" ( (binary_expression "*(uint *)(param_1 + 0x14) & 0x700" (pointer_expression "*(uint *)(param_1 + 0x14)" * (cast_expression "(uint *)(param_1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (goto_statement "goto LAB_0005713c;" goto statement_identifier ;)) (if_statement "if ((param_3 & 1) == 0) {\n        if (*param_2 == '\0') {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar2 = 0;\n        }\n        else {\n          iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n          puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2);\n        }\n      }\n      else {\n        pcVar9 = (char *)get_variable_value();\n        if (pcVar9 == (char *)0x0) {\n          iVar11 = 1;\n          iVar6 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar11 = 1;\n          if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }\n        }\n        if (param_2 == (char *)0x0) {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n        }\n        else {\n          iVar3 = 0;\n          if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);\n        }\n      }" if (parenthesized_expression "((param_3 & 1) == 0)" ( (binary_expression "(param_3 & 1) == 0" (parenthesized_expression "(param_3 & 1)" ( (binary_expression "param_3 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        if (*param_2 == '\0') {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar2 = 0;\n        }\n        else {\n          iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n          puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2);\n        }\n      }" { (if_statement "if (*param_2 == '\0') {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar2 = 0;\n        }\n        else {\n          iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n          puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2);\n        }" if (parenthesized_expression "(*param_2 == '\0')" ( (binary_expression "*param_2 == '\0'" (pointer_expression "*param_2" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar2 = 0;\n        }" { (expression_statement "puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);" (assignment_expression "puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001445b0)(1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1)" ( number_literal ))))) ;) (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) }) (else_clause "else {\n          iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n          puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2);\n        }" else (compound_statement "{\n          iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n          puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2);\n        }" { (expression_statement "iVar6 = (*(code *)PTR_strlen_00146390)(param_2);" (assignment_expression "iVar6 = (*(code *)PTR_strlen_00146390)(param_2)" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(param_2)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);" (assignment_expression "uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar6 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar6 + 1)" ( (binary_expression "iVar6 + 1" identifier + number_literal) )))) ;) (expression_statement "puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2);" (assignment_expression "puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strcpy_00146418)(uVar5,param_2)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" ( (pointer_expression "*(code *)PTR_strcpy_00146418" * (cast_expression "(code *)PTR_strcpy_00146418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5,param_2)" ( identifier , identifier ))))) ;) }))) }) (else_clause "else {\n        pcVar9 = (char *)get_variable_value();\n        if (pcVar9 == (char *)0x0) {\n          iVar11 = 1;\n          iVar6 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar11 = 1;\n          if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }\n        }\n        if (param_2 == (char *)0x0) {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n        }\n        else {\n          iVar3 = 0;\n          if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);\n        }\n      }" else (compound_statement "{\n        pcVar9 = (char *)get_variable_value();\n        if (pcVar9 == (char *)0x0) {\n          iVar11 = 1;\n          iVar6 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar11 = 1;\n          if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }\n        }\n        if (param_2 == (char *)0x0) {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n        }\n        else {\n          iVar3 = 0;\n          if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);\n        }\n      }" { (expression_statement "pcVar9 = (char *)get_variable_value();" (assignment_expression "pcVar9 = (char *)get_variable_value()" identifier = (cast_expression "(char *)get_variable_value()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "get_variable_value()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (pcVar9 == (char *)0x0) {\n          iVar11 = 1;\n          iVar6 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar11 = 1;\n          if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }\n        }" if (parenthesized_expression "(pcVar9 == (char *)0x0)" ( (binary_expression "pcVar9 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          iVar11 = 1;\n          iVar6 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }" { (expression_statement "iVar11 = 1;" (assignment_expression "iVar11 = 1" identifier = number_literal) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "pcVar9 = PTR_DAT_001445ac + -0x6800;" (assignment_expression "pcVar9 = PTR_DAT_001445ac + -0x6800" identifier = (binary_expression "PTR_DAT_001445ac + -0x6800" identifier + number_literal)) ;) }) (else_clause "else {\n          iVar11 = 1;\n          if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }\n        }" else (compound_statement "{\n          iVar11 = 1;\n          if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }\n        }" { (expression_statement "iVar11 = 1;" (assignment_expression "iVar11 = 1" identifier = number_literal) ;) (if_statement "if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }" if (parenthesized_expression "(*pcVar9 == '\0')" ( (binary_expression "*pcVar9 == '\0'" (pointer_expression "*pcVar9" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            iVar6 = 0;\n          }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) }) (else_clause "else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }" else (compound_statement "{\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }" { (expression_statement "iVar11 = 2;" (assignment_expression "iVar11 = 2" identifier = number_literal) ;) (if_statement "if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }" if (parenthesized_expression "(pcVar9[1] == '\0')" ( (binary_expression "pcVar9[1] == '\0'" (subscript_expression "pcVar9[1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n              iVar6 = 1;\n            }" { (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" identifier = number_literal) ;) }) (else_clause "else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }" else (compound_statement "{\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }" { (expression_statement "iVar11 = 3;" (assignment_expression "iVar11 = 3" identifier = number_literal) ;) (if_statement "if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }" if (parenthesized_expression "(pcVar9[2] == '\0')" ( (binary_expression "pcVar9[2] == '\0'" (subscript_expression "pcVar9[2]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                iVar6 = 2;\n              }" { (expression_statement "iVar6 = 2;" (assignment_expression "iVar6 = 2" identifier = number_literal) ;) }) (else_clause "else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }" else (compound_statement "{\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }" { (expression_statement "iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);" (assignment_expression "iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9)" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(pcVar9)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar9)" ( identifier )))) ;) (expression_statement "iVar11 = iVar6 + 1;" (assignment_expression "iVar11 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) }))) }))) }))) }))) (if_statement "if (param_2 == (char *)0x0) {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n        }\n        else {\n          iVar3 = 0;\n          if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);\n        }" if (parenthesized_expression "(param_2 == (char *)0x0)" ( (binary_expression "param_2 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n        }" { (expression_statement "puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);" (assignment_expression "puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar11)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar11)" ( identifier ))))) ;) (expression_statement "(*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);" (call_expression "(*(code *)PTR_strcpy_00146418)(puVar2,pcVar9)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" ( (pointer_expression "*(code *)PTR_strcpy_00146418" * (cast_expression "(code *)PTR_strcpy_00146418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2,pcVar9)" ( identifier , identifier ))) ;) }) (else_clause "else {\n          iVar3 = 0;\n          if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);\n        }" else (compound_statement "{\n          iVar3 = 0;\n          if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);\n        }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (if_statement "if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }" if (parenthesized_expression "(((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0'))" ( (binary_expression "((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')" (parenthesized_expression "((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0'))" ( (binary_expression "(*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')" (parenthesized_expression "(*param_2 != '\0')" ( (binary_expression "*param_2 != '\0'" (pointer_expression "*param_2" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(iVar3 = 1, param_2[1] != '\0')" ( (comma_expression "iVar3 = 1, param_2[1] != '\0'" (assignment_expression "iVar3 = 1" identifier = number_literal) , (binary_expression "param_2[1] != '\0'" (subscript_expression "param_2[1]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence '))) ))) )) && (parenthesized_expression "(iVar3 = 2, param_2[2] != '\0')" ( (comma_expression "iVar3 = 2, param_2[2] != '\0'" (assignment_expression "iVar3 = 2" identifier = number_literal) , (binary_expression "param_2[2] != '\0'" (subscript_expression "param_2[2]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence '))) ))) )) (compound_statement "{\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }" { (expression_statement "iVar3 = (*(code *)PTR_strlen_00146390)(param_2);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_00146390)(param_2)" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(param_2)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier )))) ;) })) (expression_statement "puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);" (assignment_expression "puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar11 + iVar3)" ( (binary_expression "iVar11 + iVar3" identifier + identifier) ))))) ;) (expression_statement "(*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);" (call_expression "(*(code *)PTR_strcpy_00146418)(puVar2,pcVar9)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" ( (pointer_expression "*(code *)PTR_strcpy_00146418" * (cast_expression "(code *)PTR_strcpy_00146418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2,pcVar9)" ( identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);" (call_expression "(*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" ( (pointer_expression "*(code *)PTR_strcpy_00146418" * (cast_expression "(code *)PTR_strcpy_00146418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2 + iVar6,param_2)" ( (binary_expression "puVar2 + iVar6" identifier + identifier) , identifier ))) ;) }))) }))) (if_statement "if ((*(uint *)(param_1 + 0x14) & 0x400) == 0) {\n        uVar10 = (uint)((*(uint *)(param_1 + 0x14) & 0x100) == 0);\n      }\n      else {\n        uVar10 = 0;\n      }" if (parenthesized_expression "((*(uint *)(param_1 + 0x14) & 0x400) == 0)" ( (binary_expression "(*(uint *)(param_1 + 0x14) & 0x400) == 0" (parenthesized_expression "(*(uint *)(param_1 + 0x14) & 0x400)" ( (binary_expression "*(uint *)(param_1 + 0x14) & 0x400" (pointer_expression "*(uint *)(param_1 + 0x14)" * (cast_expression "(uint *)(param_1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n        uVar10 = (uint)((*(uint *)(param_1 + 0x14) & 0x100) == 0);\n      }" { (expression_statement "uVar10 = (uint)((*(uint *)(param_1 + 0x14) & 0x100) == 0);" (assignment_expression "uVar10 = (uint)((*(uint *)(param_1 + 0x14) & 0x100) == 0)" identifier = (call_expression "(uint)((*(uint *)(param_1 + 0x14) & 0x100) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((*(uint *)(param_1 + 0x14) & 0x100) == 0)" ( (binary_expression "(*(uint *)(param_1 + 0x14) & 0x100) == 0" (parenthesized_expression "(*(uint *)(param_1 + 0x14) & 0x100)" ( (binary_expression "*(uint *)(param_1 + 0x14) & 0x100" (pointer_expression "*(uint *)(param_1 + 0x14)" * (cast_expression "(uint *)(param_1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) & number_literal) )) == number_literal) )))) ;) }) (else_clause "else {\n        uVar10 = 0;\n      }" else (compound_statement "{\n        uVar10 = 0;\n      }" { (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) }))) (expression_statement "pcVar9 = (char *)0x0;" (assignment_expression "pcVar9 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar1 = (undefined4 *)(*(code *)PTR_sh_modcase_00144fac)(puVar2);" (assignment_expression "puVar1 = (undefined4 *)(*(code *)PTR_sh_modcase_00144fac)(puVar2)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_sh_modcase_00144fac)(puVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_sh_modcase_00144fac)(puVar2)" (parenthesized_expression "(*(code *)PTR_sh_modcase_00144fac)" ( (pointer_expression "*(code *)PTR_sh_modcase_00144fac" * (cast_expression "(code *)PTR_sh_modcase_00144fac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2)" ( identifier ))))) ;) (expression_statement "(*(code *)PTR_free_001464fc)(puVar2);" (call_expression "(*(code *)PTR_free_001464fc)(puVar2)" (parenthesized_expression "(*(code *)PTR_free_001464fc)" ( (pointer_expression "*(code *)PTR_free_001464fc" * (cast_expression "(code *)PTR_free_001464fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2)" ( identifier ))) ;) }) (else_clause "else if ((param_3 & 1) == 0) {\n      uVar10 = 0xffffffd8;\n      lVar14 = evalexp(param_2,0);\n      pcVar9 = (char *)lVar14;\n      if (local_28 != 0) {\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        puVar1 = (undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }\n      if ((param_3 & 0x200) == 0) goto LAB_000572ac;\nLAB_00057150:\n      if (*param_2 == '\0') {\n        puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *(undefined1 *)puVar1 = 0;\n      }\n      else {\n        iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n        uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n        puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);\n        pcVar9 = param_2;\n      }\n    }\n    else {\n      uVar12 = 0xffffffd8;\n      pcVar9 = (char *)0x0;\n      uVar10 = uVar12;\n      lVar14 = evalexp(*(undefined4 *)(param_1 + 4));\n      if (local_28 != 0) {\n        pcVar9 = (char *)0x0;\n        lVar15 = evalexp(param_2);\n        uVar10 = uVar12;\n        if (local_28 != 0) {\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }\n      }\n      if ((param_3 & 0x200) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        param_2 = pcVar9;\n        goto LAB_000572c8;\n      }\n      pcVar9 = (char *)get_variable_value(param_1);\n      param_3 = uVar10;\n      if (pcVar9 != (char *)0x0) goto LAB_000572f0;\n      iVar11 = 1;\n      iVar6 = 0;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\nLAB_0005730c:\n      if (param_2 != (char *)0x0) goto LAB_00057360;\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1);\n    }" else (if_statement "if ((param_3 & 1) == 0) {\n      uVar10 = 0xffffffd8;\n      lVar14 = evalexp(param_2,0);\n      pcVar9 = (char *)lVar14;\n      if (local_28 != 0) {\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        puVar1 = (undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }\n      if ((param_3 & 0x200) == 0) goto LAB_000572ac;\nLAB_00057150:\n      if (*param_2 == '\0') {\n        puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *(undefined1 *)puVar1 = 0;\n      }\n      else {\n        iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n        uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n        puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);\n        pcVar9 = param_2;\n      }\n    }\n    else {\n      uVar12 = 0xffffffd8;\n      pcVar9 = (char *)0x0;\n      uVar10 = uVar12;\n      lVar14 = evalexp(*(undefined4 *)(param_1 + 4));\n      if (local_28 != 0) {\n        pcVar9 = (char *)0x0;\n        lVar15 = evalexp(param_2);\n        uVar10 = uVar12;\n        if (local_28 != 0) {\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }\n      }\n      if ((param_3 & 0x200) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        param_2 = pcVar9;\n        goto LAB_000572c8;\n      }\n      pcVar9 = (char *)get_variable_value(param_1);\n      param_3 = uVar10;\n      if (pcVar9 != (char *)0x0) goto LAB_000572f0;\n      iVar11 = 1;\n      iVar6 = 0;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\nLAB_0005730c:\n      if (param_2 != (char *)0x0) goto LAB_00057360;\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1);\n    }" if (parenthesized_expression "((param_3 & 1) == 0)" ( (binary_expression "(param_3 & 1) == 0" (parenthesized_expression "(param_3 & 1)" ( (binary_expression "param_3 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      uVar10 = 0xffffffd8;\n      lVar14 = evalexp(param_2,0);\n      pcVar9 = (char *)lVar14;\n      if (local_28 != 0) {\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        puVar1 = (undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }\n      if ((param_3 & 0x200) == 0) goto LAB_000572ac;\nLAB_00057150:\n      if (*param_2 == '\0') {\n        puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *(undefined1 *)puVar1 = 0;\n      }\n      else {\n        iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n        uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n        puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);\n        pcVar9 = param_2;\n      }\n    }" { (expression_statement "uVar10 = 0xffffffd8;" (assignment_expression "uVar10 = 0xffffffd8" identifier = number_literal) ;) (expression_statement "lVar14 = evalexp(param_2,0);" (assignment_expression "lVar14 = evalexp(param_2,0)" identifier = (call_expression "evalexp(param_2,0)" identifier (argument_list "(param_2,0)" ( identifier , number_literal )))) ;) (expression_statement "pcVar9 = (char *)lVar14;" (assignment_expression "pcVar9 = (char *)lVar14" identifier = (cast_expression "(char *)lVar14" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (local_28 != 0) {\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        puVar1 = (undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }" if (parenthesized_expression "(local_28 != 0)" ( (binary_expression "local_28 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        puVar1 = (undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }" { (labeled_statement "LAB_0005711c:\n        pcVar9 = (char *)lVar14;" statement_identifier : (expression_statement "pcVar9 = (char *)lVar14;" (assignment_expression "pcVar9 = (char *)lVar14" identifier = (cast_expression "(char *)lVar14" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;)) (expression_statement "puVar1 = (undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));" (assignment_expression "puVar1 = (undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20))" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20))" (parenthesized_expression "(*(code *)PTR_itos_001447a4)" ( (pointer_expression "*(code *)PTR_itos_001447a4" * (cast_expression "(code *)PTR_itos_001447a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((int)((ulonglong)lVar14 >> 0x20))" ( (cast_expression "(int)((ulonglong)lVar14 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)lVar14 >> 0x20)" ( (binary_expression "(ulonglong)lVar14 >> 0x20" (cast_expression "(ulonglong)lVar14" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) ))))) ;) (goto_statement "goto LAB_00057194;" goto statement_identifier ;) })) (if_statement "if ((param_3 & 0x200) == 0) goto LAB_000572ac;" if (parenthesized_expression "((param_3 & 0x200) == 0)" ( (binary_expression "(param_3 & 0x200) == 0" (parenthesized_expression "(param_3 & 0x200)" ( (binary_expression "param_3 & 0x200" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_000572ac;" goto statement_identifier ;)) (labeled_statement "LAB_00057150:\n      if (*param_2 == '\0') {\n        puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *(undefined1 *)puVar1 = 0;\n      }\n      else {\n        iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n        uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n        puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);\n        pcVar9 = param_2;\n      }" statement_identifier : (if_statement "if (*param_2 == '\0') {\n        puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *(undefined1 *)puVar1 = 0;\n      }\n      else {\n        iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n        uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n        puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);\n        pcVar9 = param_2;\n      }" if (parenthesized_expression "(*param_2 == '\0')" ( (binary_expression "*param_2 == '\0'" (pointer_expression "*param_2" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *(undefined1 *)puVar1 = 0;\n      }" { (expression_statement "puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1);" (assignment_expression "puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001445b0)(1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1)" ( number_literal ))))) ;) (expression_statement "*(undefined1 *)puVar1 = 0;" (assignment_expression "*(undefined1 *)puVar1 = 0" (pointer_expression "*(undefined1 *)puVar1" * (cast_expression "(undefined1 *)puVar1" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) }) (else_clause "else {\n        iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n        uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n        puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);\n        pcVar9 = param_2;\n      }" else (compound_statement "{\n        iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n        uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n        puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);\n        pcVar9 = param_2;\n      }" { (expression_statement "iVar6 = (*(code *)PTR_strlen_00146390)(param_2);" (assignment_expression "iVar6 = (*(code *)PTR_strlen_00146390)(param_2)" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(param_2)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);" (assignment_expression "uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar6 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar6 + 1)" ( (binary_expression "iVar6 + 1" identifier + number_literal) )))) ;) (expression_statement "puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);" (assignment_expression "puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strcpy_00146418)(uVar5)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" ( (pointer_expression "*(code *)PTR_strcpy_00146418" * (cast_expression "(code *)PTR_strcpy_00146418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5)" ( identifier ))))) ;) (expression_statement "pcVar9 = param_2;" (assignment_expression "pcVar9 = param_2" identifier = identifier) ;) })))) }) (else_clause "else {\n      uVar12 = 0xffffffd8;\n      pcVar9 = (char *)0x0;\n      uVar10 = uVar12;\n      lVar14 = evalexp(*(undefined4 *)(param_1 + 4));\n      if (local_28 != 0) {\n        pcVar9 = (char *)0x0;\n        lVar15 = evalexp(param_2);\n        uVar10 = uVar12;\n        if (local_28 != 0) {\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }\n      }\n      if ((param_3 & 0x200) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        param_2 = pcVar9;\n        goto LAB_000572c8;\n      }\n      pcVar9 = (char *)get_variable_value(param_1);\n      param_3 = uVar10;\n      if (pcVar9 != (char *)0x0) goto LAB_000572f0;\n      iVar11 = 1;\n      iVar6 = 0;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\nLAB_0005730c:\n      if (param_2 != (char *)0x0) goto LAB_00057360;\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1);\n    }" else (compound_statement "{\n      uVar12 = 0xffffffd8;\n      pcVar9 = (char *)0x0;\n      uVar10 = uVar12;\n      lVar14 = evalexp(*(undefined4 *)(param_1 + 4));\n      if (local_28 != 0) {\n        pcVar9 = (char *)0x0;\n        lVar15 = evalexp(param_2);\n        uVar10 = uVar12;\n        if (local_28 != 0) {\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }\n      }\n      if ((param_3 & 0x200) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        param_2 = pcVar9;\n        goto LAB_000572c8;\n      }\n      pcVar9 = (char *)get_variable_value(param_1);\n      param_3 = uVar10;\n      if (pcVar9 != (char *)0x0) goto LAB_000572f0;\n      iVar11 = 1;\n      iVar6 = 0;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\nLAB_0005730c:\n      if (param_2 != (char *)0x0) goto LAB_00057360;\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1);\n    }" { (expression_statement "uVar12 = 0xffffffd8;" (assignment_expression "uVar12 = 0xffffffd8" identifier = number_literal) ;) (expression_statement "pcVar9 = (char *)0x0;" (assignment_expression "pcVar9 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar10 = uVar12;" (assignment_expression "uVar10 = uVar12" identifier = identifier) ;) (expression_statement "lVar14 = evalexp(*(undefined4 *)(param_1 + 4));" (assignment_expression "lVar14 = evalexp(*(undefined4 *)(param_1 + 4))" identifier = (call_expression "evalexp(*(undefined4 *)(param_1 + 4))" identifier (argument_list "(*(undefined4 *)(param_1 + 4))" ( (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) )))) ;) (if_statement "if (local_28 != 0) {\n        pcVar9 = (char *)0x0;\n        lVar15 = evalexp(param_2);\n        uVar10 = uVar12;\n        if (local_28 != 0) {\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }\n      }" if (parenthesized_expression "(local_28 != 0)" ( (binary_expression "local_28 != 0" identifier != number_literal) )) (compound_statement "{\n        pcVar9 = (char *)0x0;\n        lVar15 = evalexp(param_2);\n        uVar10 = uVar12;\n        if (local_28 != 0) {\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }\n      }" { (expression_statement "pcVar9 = (char *)0x0;" (assignment_expression "pcVar9 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "lVar15 = evalexp(param_2);" (assignment_expression "lVar15 = evalexp(param_2)" identifier = (call_expression "evalexp(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "uVar10 = uVar12;" (assignment_expression "uVar10 = uVar12" identifier = identifier) ;) (if_statement "if (local_28 != 0) {\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }" if (parenthesized_expression "(local_28 != 0)" ( (binary_expression "local_28 != 0" identifier != number_literal) )) (compound_statement "{\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }" { (expression_statement "lVar14 = lVar14 + lVar15;" (assignment_expression "lVar14 = lVar14 + lVar15" identifier = (binary_expression "lVar14 + lVar15" identifier + identifier)) ;) (goto_statement "goto LAB_0005711c;" goto statement_identifier ;) })) })) (if_statement "if ((param_3 & 0x200) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        param_2 = pcVar9;\n        goto LAB_000572c8;\n      }" if (parenthesized_expression "((param_3 & 0x200) == 0)" ( (binary_expression "(param_3 & 0x200) == 0" (parenthesized_expression "(param_3 & 0x200)" ( (binary_expression "param_3 & 0x200" identifier & number_literal) )) == number_literal) )) (compound_statement "{\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        param_2 = pcVar9;\n        goto LAB_000572c8;\n      }" { (labeled_statement "LAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();" statement_identifier : (expression_statement "(*(code *)PTR_top_level_cleanup_00144fb0)();" (call_expression "(*(code *)PTR_top_level_cleanup_00144fb0)()" (parenthesized_expression "(*(code *)PTR_top_level_cleanup_00144fb0)" ( (pointer_expression "*(code *)PTR_top_level_cleanup_00144fb0" * (cast_expression "(code *)PTR_top_level_cleanup_00144fb0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;)) (expression_statement "(*(code *)PTR_jump_to_top_level_00144808)(2);" (call_expression "(*(code *)PTR_jump_to_top_level_00144808)(2)" (parenthesized_expression "(*(code *)PTR_jump_to_top_level_00144808)" ( (pointer_expression "*(code *)PTR_jump_to_top_level_00144808" * (cast_expression "(code *)PTR_jump_to_top_level_00144808" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(2)" ( number_literal ))) ;) (expression_statement "param_2 = pcVar9;" (assignment_expression "param_2 = pcVar9" identifier = identifier) ;) (goto_statement "goto LAB_000572c8;" goto statement_identifier ;) })) (expression_statement "pcVar9 = (char *)get_variable_value(param_1);" (assignment_expression "pcVar9 = (char *)get_variable_value(param_1)" identifier = (cast_expression "(char *)get_variable_value(param_1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "get_variable_value(param_1)" identifier (argument_list "(param_1)" ( identifier ))))) ;) (expression_statement "param_3 = uVar10;" (assignment_expression "param_3 = uVar10" identifier = identifier) ;) (if_statement "if (pcVar9 != (char *)0x0) goto LAB_000572f0;" if (parenthesized_expression "(pcVar9 != (char *)0x0)" ( (binary_expression "pcVar9 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000572f0;" goto statement_identifier ;)) (expression_statement "iVar11 = 1;" (assignment_expression "iVar11 = 1" identifier = number_literal) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "pcVar9 = PTR_DAT_001445ac + -0x6800;" (assignment_expression "pcVar9 = PTR_DAT_001445ac + -0x6800" identifier = (binary_expression "PTR_DAT_001445ac + -0x6800" identifier + number_literal)) ;) (labeled_statement "LAB_0005730c:\n      if (param_2 != (char *)0x0) goto LAB_00057360;" statement_identifier : (if_statement "if (param_2 != (char *)0x0) goto LAB_00057360;" if (parenthesized_expression "(param_2 != (char *)0x0)" ( (binary_expression "param_2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00057360;" goto statement_identifier ;))) (expression_statement "puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);" (assignment_expression "puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar11)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar11)" ( identifier ))))) ;) (expression_statement "(*(code *)PTR_strcpy_00146418)(puVar1);" (call_expression "(*(code *)PTR_strcpy_00146418)(puVar1)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" ( (pointer_expression "*(code *)PTR_strcpy_00146418" * (cast_expression "(code *)PTR_strcpy_00146418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar1)" ( identifier ))) ;) }))))) }) (else_clause "else {\nLAB_0005713c:\n    uVar10 = param_3;\n    if (param_2 == (char *)0x0) {\nLAB_000572c8:\n      puVar1 = (undefined4 *)0x0;\n      pcVar9 = param_2;\n    }\n    else {\n      pcVar9 = param_2;\n      if ((param_3 & 1) == 0) goto LAB_00057150;\n      pcVar9 = (char *)get_variable_value(param_1);\n      if (pcVar9 != (char *)0x0) {\nLAB_000572f0:\n        iVar11 = 1;\n        uVar10 = param_3;\n        if (*pcVar9 == '\0') {\n          iVar6 = 0;\n        }\n        else {\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }\n        goto LAB_0005730c;\n      }\n      iVar6 = 0;\n      iVar11 = 1;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\n      uVar10 = param_3;\nLAB_00057360:\n      if (*param_2 != '\0') {\n        if (param_2[1] == '\0') {\n          iVar11 = iVar6 + 2;\n        }\n        else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }\n      }\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1,pcVar9);\n      (*(code *)PTR_strcpy_00146418)((undefined1 *)((int)puVar1 + iVar6));\n      pcVar9 = param_2;\n    }\n  }" else (compound_statement "{\nLAB_0005713c:\n    uVar10 = param_3;\n    if (param_2 == (char *)0x0) {\nLAB_000572c8:\n      puVar1 = (undefined4 *)0x0;\n      pcVar9 = param_2;\n    }\n    else {\n      pcVar9 = param_2;\n      if ((param_3 & 1) == 0) goto LAB_00057150;\n      pcVar9 = (char *)get_variable_value(param_1);\n      if (pcVar9 != (char *)0x0) {\nLAB_000572f0:\n        iVar11 = 1;\n        uVar10 = param_3;\n        if (*pcVar9 == '\0') {\n          iVar6 = 0;\n        }\n        else {\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }\n        goto LAB_0005730c;\n      }\n      iVar6 = 0;\n      iVar11 = 1;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\n      uVar10 = param_3;\nLAB_00057360:\n      if (*param_2 != '\0') {\n        if (param_2[1] == '\0') {\n          iVar11 = iVar6 + 2;\n        }\n        else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }\n      }\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1,pcVar9);\n      (*(code *)PTR_strcpy_00146418)((undefined1 *)((int)puVar1 + iVar6));\n      pcVar9 = param_2;\n    }\n  }" { (labeled_statement "LAB_0005713c:\n    uVar10 = param_3;" statement_identifier : (expression_statement "uVar10 = param_3;" (assignment_expression "uVar10 = param_3" identifier = identifier) ;)) (if_statement "if (param_2 == (char *)0x0) {\nLAB_000572c8:\n      puVar1 = (undefined4 *)0x0;\n      pcVar9 = param_2;\n    }\n    else {\n      pcVar9 = param_2;\n      if ((param_3 & 1) == 0) goto LAB_00057150;\n      pcVar9 = (char *)get_variable_value(param_1);\n      if (pcVar9 != (char *)0x0) {\nLAB_000572f0:\n        iVar11 = 1;\n        uVar10 = param_3;\n        if (*pcVar9 == '\0') {\n          iVar6 = 0;\n        }\n        else {\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }\n        goto LAB_0005730c;\n      }\n      iVar6 = 0;\n      iVar11 = 1;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\n      uVar10 = param_3;\nLAB_00057360:\n      if (*param_2 != '\0') {\n        if (param_2[1] == '\0') {\n          iVar11 = iVar6 + 2;\n        }\n        else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }\n      }\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1,pcVar9);\n      (*(code *)PTR_strcpy_00146418)((undefined1 *)((int)puVar1 + iVar6));\n      pcVar9 = param_2;\n    }" if (parenthesized_expression "(param_2 == (char *)0x0)" ( (binary_expression "param_2 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_000572c8:\n      puVar1 = (undefined4 *)0x0;\n      pcVar9 = param_2;\n    }" { (labeled_statement "LAB_000572c8:\n      puVar1 = (undefined4 *)0x0;" statement_identifier : (expression_statement "puVar1 = (undefined4 *)0x0;" (assignment_expression "puVar1 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (expression_statement "pcVar9 = param_2;" (assignment_expression "pcVar9 = param_2" identifier = identifier) ;) }) (else_clause "else {\n      pcVar9 = param_2;\n      if ((param_3 & 1) == 0) goto LAB_00057150;\n      pcVar9 = (char *)get_variable_value(param_1);\n      if (pcVar9 != (char *)0x0) {\nLAB_000572f0:\n        iVar11 = 1;\n        uVar10 = param_3;\n        if (*pcVar9 == '\0') {\n          iVar6 = 0;\n        }\n        else {\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }\n        goto LAB_0005730c;\n      }\n      iVar6 = 0;\n      iVar11 = 1;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\n      uVar10 = param_3;\nLAB_00057360:\n      if (*param_2 != '\0') {\n        if (param_2[1] == '\0') {\n          iVar11 = iVar6 + 2;\n        }\n        else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }\n      }\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1,pcVar9);\n      (*(code *)PTR_strcpy_00146418)((undefined1 *)((int)puVar1 + iVar6));\n      pcVar9 = param_2;\n    }" else (compound_statement "{\n      pcVar9 = param_2;\n      if ((param_3 & 1) == 0) goto LAB_00057150;\n      pcVar9 = (char *)get_variable_value(param_1);\n      if (pcVar9 != (char *)0x0) {\nLAB_000572f0:\n        iVar11 = 1;\n        uVar10 = param_3;\n        if (*pcVar9 == '\0') {\n          iVar6 = 0;\n        }\n        else {\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }\n        goto LAB_0005730c;\n      }\n      iVar6 = 0;\n      iVar11 = 1;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\n      uVar10 = param_3;\nLAB_00057360:\n      if (*param_2 != '\0') {\n        if (param_2[1] == '\0') {\n          iVar11 = iVar6 + 2;\n        }\n        else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }\n      }\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1,pcVar9);\n      (*(code *)PTR_strcpy_00146418)((undefined1 *)((int)puVar1 + iVar6));\n      pcVar9 = param_2;\n    }" { (expression_statement "pcVar9 = param_2;" (assignment_expression "pcVar9 = param_2" identifier = identifier) ;) (if_statement "if ((param_3 & 1) == 0) goto LAB_00057150;" if (parenthesized_expression "((param_3 & 1) == 0)" ( (binary_expression "(param_3 & 1) == 0" (parenthesized_expression "(param_3 & 1)" ( (binary_expression "param_3 & 1" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_00057150;" goto statement_identifier ;)) (expression_statement "pcVar9 = (char *)get_variable_value(param_1);" (assignment_expression "pcVar9 = (char *)get_variable_value(param_1)" identifier = (cast_expression "(char *)get_variable_value(param_1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "get_variable_value(param_1)" identifier (argument_list "(param_1)" ( identifier ))))) ;) (if_statement "if (pcVar9 != (char *)0x0) {\nLAB_000572f0:\n        iVar11 = 1;\n        uVar10 = param_3;\n        if (*pcVar9 == '\0') {\n          iVar6 = 0;\n        }\n        else {\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }\n        goto LAB_0005730c;\n      }" if (parenthesized_expression "(pcVar9 != (char *)0x0)" ( (binary_expression "pcVar9 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_000572f0:\n        iVar11 = 1;\n        uVar10 = param_3;\n        if (*pcVar9 == '\0') {\n          iVar6 = 0;\n        }\n        else {\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }\n        goto LAB_0005730c;\n      }" { (labeled_statement "LAB_000572f0:\n        iVar11 = 1;" statement_identifier : (expression_statement "iVar11 = 1;" (assignment_expression "iVar11 = 1" identifier = number_literal) ;)) (expression_statement "uVar10 = param_3;" (assignment_expression "uVar10 = param_3" identifier = identifier) ;) (if_statement "if (*pcVar9 == '\0') {\n          iVar6 = 0;\n        }\n        else {\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }" if (parenthesized_expression "(*pcVar9 == '\0')" ( (binary_expression "*pcVar9 == '\0'" (pointer_expression "*pcVar9" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar6 = 0;\n        }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) }) (else_clause "else {\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }" else (compound_statement "{\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }" { (expression_statement "iVar11 = 2;" (assignment_expression "iVar11 = 2" identifier = number_literal) ;) (if_statement "if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }" if (parenthesized_expression "(pcVar9[1] == '\0')" ( (binary_expression "pcVar9[1] == '\0'" (subscript_expression "pcVar9[1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            iVar6 = 1;\n          }" { (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" identifier = number_literal) ;) }) (else_clause "else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }" else (if_statement "if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }" if (parenthesized_expression "(pcVar9[2] == '\0')" ( (binary_expression "pcVar9[2] == '\0'" (subscript_expression "pcVar9[2]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            iVar11 = 3;\n            iVar6 = 2;\n          }" { (expression_statement "iVar11 = 3;" (assignment_expression "iVar11 = 3" identifier = number_literal) ;) (expression_statement "iVar6 = 2;" (assignment_expression "iVar6 = 2" identifier = number_literal) ;) }) (else_clause "else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }" else (compound_statement "{\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }" { (expression_statement "iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);" (assignment_expression "iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9)" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(pcVar9)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar9)" ( identifier )))) ;) (expression_statement "iVar11 = iVar6 + 1;" (assignment_expression "iVar11 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "uVar10 = param_3;" (assignment_expression "uVar10 = param_3" identifier = identifier) ;) }))))) }))) (goto_statement "goto LAB_0005730c;" goto statement_identifier ;) })) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "iVar11 = 1;" (assignment_expression "iVar11 = 1" identifier = number_literal) ;) (expression_statement "pcVar9 = PTR_DAT_001445ac + -0x6800;" (assignment_expression "pcVar9 = PTR_DAT_001445ac + -0x6800" identifier = (binary_expression "PTR_DAT_001445ac + -0x6800" identifier + number_literal)) ;) (expression_statement "uVar10 = param_3;" (assignment_expression "uVar10 = param_3" identifier = identifier) ;) (labeled_statement "LAB_00057360:\n      if (*param_2 != '\0') {\n        if (param_2[1] == '\0') {\n          iVar11 = iVar6 + 2;\n        }\n        else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }\n      }" statement_identifier : (if_statement "if (*param_2 != '\0') {\n        if (param_2[1] == '\0') {\n          iVar11 = iVar6 + 2;\n        }\n        else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }\n      }" if (parenthesized_expression "(*param_2 != '\0')" ( (binary_expression "*param_2 != '\0'" (pointer_expression "*param_2" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        if (param_2[1] == '\0') {\n          iVar11 = iVar6 + 2;\n        }\n        else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }\n      }" { (if_statement "if (param_2[1] == '\0') {\n          iVar11 = iVar6 + 2;\n        }\n        else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }" if (parenthesized_expression "(param_2[1] == '\0')" ( (binary_expression "param_2[1] == '\0'" (subscript_expression "param_2[1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar11 = iVar6 + 2;\n        }" { (expression_statement "iVar11 = iVar6 + 2;" (assignment_expression "iVar11 = iVar6 + 2" identifier = (binary_expression "iVar6 + 2" identifier + number_literal)) ;) }) (else_clause "else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }" else (if_statement "if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }" if (parenthesized_expression "(param_2[2] == '\0')" ( (binary_expression "param_2[2] == '\0'" (subscript_expression "param_2[2]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar11 = iVar6 + 3;\n        }" { (expression_statement "iVar11 = iVar6 + 3;" (assignment_expression "iVar11 = iVar6 + 3" identifier = (binary_expression "iVar6 + 3" identifier + number_literal)) ;) }) (else_clause "else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }" else (compound_statement "{\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }" { (expression_statement "iVar3 = (*(code *)PTR_strlen_00146390)(param_2);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_00146390)(param_2)" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(param_2)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "iVar11 = iVar11 + iVar3;" (assignment_expression "iVar11 = iVar11 + iVar3" identifier = (binary_expression "iVar11 + iVar3" identifier + identifier)) ;) }))))) }))) (expression_statement "puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);" (assignment_expression "puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar11)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar11)" ( identifier ))))) ;) (expression_statement "(*(code *)PTR_strcpy_00146418)(puVar1,pcVar9);" (call_expression "(*(code *)PTR_strcpy_00146418)(puVar1,pcVar9)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" ( (pointer_expression "*(code *)PTR_strcpy_00146418" * (cast_expression "(code *)PTR_strcpy_00146418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar1,pcVar9)" ( identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_strcpy_00146418)((undefined1 *)((int)puVar1 + iVar6));" (call_expression "(*(code *)PTR_strcpy_00146418)((undefined1 *)((int)puVar1 + iVar6))" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" ( (pointer_expression "*(code *)PTR_strcpy_00146418" * (cast_expression "(code *)PTR_strcpy_00146418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((undefined1 *)((int)puVar1 + iVar6))" ( (cast_expression "(undefined1 *)((int)puVar1 + iVar6)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + iVar6)" ( (binary_expression "(int)puVar1 + iVar6" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) ))) ))) ;) (expression_statement "pcVar9 = param_2;" (assignment_expression "pcVar9 = param_2" identifier = identifier) ;) }))) }))) (labeled_statement "LAB_00057194:\n  if (puVar8 == *(undefined4 **)puVar13) {\n    return puVar1;\n  }" statement_identifier : (if_statement "if (puVar8 == *(undefined4 **)puVar13) {\n    return puVar1;\n  }" if (parenthesized_expression "(puVar8 == *(undefined4 **)puVar13)" ( (binary_expression "puVar8 == *(undefined4 **)puVar13" identifier == (pointer_expression "*(undefined4 **)puVar13" * (cast_expression "(undefined4 **)puVar13" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return puVar1;\n  }" { (return_statement "return puVar1;" return identifier ;) }))) (expression_statement "puVar13 = PTR___stack_chk_fail_00146488;" (assignment_expression "puVar13 = PTR___stack_chk_fail_00146488" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00146488)();" (call_expression "(*(code *)PTR___stack_chk_fail_00146488)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00146488)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00146488" * (cast_expression "(code *)PTR___stack_chk_fail_00146488" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "uVar12 = puVar8[5];" (assignment_expression "uVar12 = puVar8[5]" identifier = (subscript_expression "puVar8[5]" identifier [ number_literal ])) ;) (expression_statement "puVar8[5] = uVar12 & 0xffffefff;" (assignment_expression "puVar8[5] = uVar12 & 0xffffefff" (subscript_expression "puVar8[5]" identifier [ number_literal ]) = (binary_expression "uVar12 & 0xffffefff" identifier & number_literal)) ;) (if_statement "if ((code *)puVar8[4] == (code *)0x0) {\n    uVar12 = uVar12 & 0x1000;\n    uVar5 = make_variable_value();\n    if (((uVar10 & 0x30) == 0x10) && (iVar6 = check_selfref(*puVar8,uVar5,0), iVar6 != 0)) {\n      if (**(int **)(puVar13 + 0xed2e0) == 0) {\n        uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6e14,5);\n        internal_error(uVar7,*puVar8);\n        (**(code **)(puVar13 + 0xeef80))(uVar5);\n        if (uVar12 == 0) {\n          return (undefined4 *)0x0;\n        }\n        goto LAB_0005772c;\n      }\n      uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6d18);\n      internal_warning(uVar7,*puVar8);\n    }\n    if (((uVar10 & 0x10) != 0) && (iVar6 = valid_nameref_value(uVar5,0), iVar6 == 0)) {\n      (**(code **)(puVar13 + 0xeef80))(uVar5);\n      if (uVar12 == 0) {\n        return (undefined4 *)0x0;\n      }\nLAB_0005772c:\n      puVar8[5] = puVar8[5] | 0x1000;\n      return (undefined4 *)0x0;\n    }\n    if (puVar8[1] != 0) {\n      (**(code **)(puVar13 + 0xeef80))();\n    }\n    puVar8[1] = uVar5;\n  }\n  else if ((uVar10 & 1) == 0) {\n    (*(code *)puVar8[4])();\n  }\n  else {\n    pcVar4 = (char *)make_variable_value();\n    (*(code *)puVar8[4])(puVar8,pcVar4,0xffffffff,0xffffffff,0);\n    if ((pcVar9 != pcVar4) && (pcVar4 != (char *)0x0)) {\n      (**(code **)(puVar13 + 0xeef80))(pcVar4);\n    }\n  }" if (parenthesized_expression "((code *)puVar8[4] == (code *)0x0)" ( (binary_expression "(code *)puVar8[4] == (code *)0x0" (cast_expression "(code *)puVar8[4]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar8[4]" identifier [ number_literal ])) == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar12 = uVar12 & 0x1000;\n    uVar5 = make_variable_value();\n    if (((uVar10 & 0x30) == 0x10) && (iVar6 = check_selfref(*puVar8,uVar5,0), iVar6 != 0)) {\n      if (**(int **)(puVar13 + 0xed2e0) == 0) {\n        uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6e14,5);\n        internal_error(uVar7,*puVar8);\n        (**(code **)(puVar13 + 0xeef80))(uVar5);\n        if (uVar12 == 0) {\n          return (undefined4 *)0x0;\n        }\n        goto LAB_0005772c;\n      }\n      uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6d18);\n      internal_warning(uVar7,*puVar8);\n    }\n    if (((uVar10 & 0x10) != 0) && (iVar6 = valid_nameref_value(uVar5,0), iVar6 == 0)) {\n      (**(code **)(puVar13 + 0xeef80))(uVar5);\n      if (uVar12 == 0) {\n        return (undefined4 *)0x0;\n      }\nLAB_0005772c:\n      puVar8[5] = puVar8[5] | 0x1000;\n      return (undefined4 *)0x0;\n    }\n    if (puVar8[1] != 0) {\n      (**(code **)(puVar13 + 0xeef80))();\n    }\n    puVar8[1] = uVar5;\n  }" { (expression_statement "uVar12 = uVar12 & 0x1000;" (assignment_expression "uVar12 = uVar12 & 0x1000" identifier = (binary_expression "uVar12 & 0x1000" identifier & number_literal)) ;) (expression_statement "uVar5 = make_variable_value();" (assignment_expression "uVar5 = make_variable_value()" identifier = (call_expression "make_variable_value()" identifier (argument_list "()" ( )))) ;) (if_statement "if (((uVar10 & 0x30) == 0x10) && (iVar6 = check_selfref(*puVar8,uVar5,0), iVar6 != 0)) {\n      if (**(int **)(puVar13 + 0xed2e0) == 0) {\n        uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6e14,5);\n        internal_error(uVar7,*puVar8);\n        (**(code **)(puVar13 + 0xeef80))(uVar5);\n        if (uVar12 == 0) {\n          return (undefined4 *)0x0;\n        }\n        goto LAB_0005772c;\n      }\n      uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6d18);\n      internal_warning(uVar7,*puVar8);\n    }" if (parenthesized_expression "(((uVar10 & 0x30) == 0x10) && (iVar6 = check_selfref(*puVar8,uVar5,0), iVar6 != 0))" ( (binary_expression "((uVar10 & 0x30) == 0x10) && (iVar6 = check_selfref(*puVar8,uVar5,0), iVar6 != 0)" (parenthesized_expression "((uVar10 & 0x30) == 0x10)" ( (binary_expression "(uVar10 & 0x30) == 0x10" (parenthesized_expression "(uVar10 & 0x30)" ( (binary_expression "uVar10 & 0x30" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "(iVar6 = check_selfref(*puVar8,uVar5,0), iVar6 != 0)" ( (comma_expression "iVar6 = check_selfref(*puVar8,uVar5,0), iVar6 != 0" (assignment_expression "iVar6 = check_selfref(*puVar8,uVar5,0)" identifier = (call_expression "check_selfref(*puVar8,uVar5,0)" identifier (argument_list "(*puVar8,uVar5,0)" ( (pointer_expression "*puVar8" * identifier) , identifier , number_literal )))) , (binary_expression "iVar6 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      if (**(int **)(puVar13 + 0xed2e0) == 0) {\n        uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6e14,5);\n        internal_error(uVar7,*puVar8);\n        (**(code **)(puVar13 + 0xeef80))(uVar5);\n        if (uVar12 == 0) {\n          return (undefined4 *)0x0;\n        }\n        goto LAB_0005772c;\n      }\n      uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6d18);\n      internal_warning(uVar7,*puVar8);\n    }" { (if_statement "if (**(int **)(puVar13 + 0xed2e0) == 0) {\n        uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6e14,5);\n        internal_error(uVar7,*puVar8);\n        (**(code **)(puVar13 + 0xeef80))(uVar5);\n        if (uVar12 == 0) {\n          return (undefined4 *)0x0;\n        }\n        goto LAB_0005772c;\n      }" if (parenthesized_expression "(**(int **)(puVar13 + 0xed2e0) == 0)" ( (binary_expression "**(int **)(puVar13 + 0xed2e0) == 0" (pointer_expression "**(int **)(puVar13 + 0xed2e0)" * (pointer_expression "*(int **)(puVar13 + 0xed2e0)" * (cast_expression "(int **)(puVar13 + 0xed2e0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0xed2e0)" ( (binary_expression "puVar13 + 0xed2e0" identifier + number_literal) ))))) == number_literal) )) (compound_statement "{\n        uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6e14,5);\n        internal_error(uVar7,*puVar8);\n        (**(code **)(puVar13 + 0xeef80))(uVar5);\n        if (uVar12 == 0) {\n          return (undefined4 *)0x0;\n        }\n        goto LAB_0005772c;\n      }" { (expression_statement "uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6e14,5);" (assignment_expression "uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6e14,5)" identifier = (call_expression "(**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6e14,5)" (parenthesized_expression "(**(code **)(puVar13 + 0xeef1c))" ( (pointer_expression "**(code **)(puVar13 + 0xeef1c)" * (pointer_expression "*(code **)(puVar13 + 0xeef1c)" * (cast_expression "(code **)(puVar13 + 0xeef1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0xeef1c)" ( (binary_expression "puVar13 + 0xeef1c" identifier + number_literal) ))))) )) (argument_list "(0,*(int *)(puVar13 + 0xecffc) + 0x6e14,5)" ( number_literal , (binary_expression "*(int *)(puVar13 + 0xecffc) + 0x6e14" (pointer_expression "*(int *)(puVar13 + 0xecffc)" * (cast_expression "(int *)(puVar13 + 0xecffc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + 0xecffc)" ( (binary_expression "puVar13 + 0xecffc" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "internal_error(uVar7,*puVar8);" (call_expression "internal_error(uVar7,*puVar8)" identifier (argument_list "(uVar7,*puVar8)" ( identifier , (pointer_expression "*puVar8" * identifier) ))) ;) (expression_statement "(**(code **)(puVar13 + 0xeef80))(uVar5);" (call_expression "(**(code **)(puVar13 + 0xeef80))(uVar5)" (parenthesized_expression "(**(code **)(puVar13 + 0xeef80))" ( (pointer_expression "**(code **)(puVar13 + 0xeef80)" * (pointer_expression "*(code **)(puVar13 + 0xeef80)" * (cast_expression "(code **)(puVar13 + 0xeef80)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0xeef80)" ( (binary_expression "puVar13 + 0xeef80" identifier + number_literal) ))))) )) (argument_list "(uVar5)" ( identifier ))) ;) (if_statement "if (uVar12 == 0) {\n          return (undefined4 *)0x0;\n        }" if (parenthesized_expression "(uVar12 == 0)" ( (binary_expression "uVar12 == 0" identifier == number_literal) )) (compound_statement "{\n          return (undefined4 *)0x0;\n        }" { (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (goto_statement "goto LAB_0005772c;" goto statement_identifier ;) })) (expression_statement "uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6d18);" (assignment_expression "uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6d18)" identifier = (call_expression "(**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6d18)" (parenthesized_expression "(**(code **)(puVar13 + 0xeef1c))" ( (pointer_expression "**(code **)(puVar13 + 0xeef1c)" * (pointer_expression "*(code **)(puVar13 + 0xeef1c)" * (cast_expression "(code **)(puVar13 + 0xeef1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0xeef1c)" ( (binary_expression "puVar13 + 0xeef1c" identifier + number_literal) ))))) )) (argument_list "(0,*(int *)(puVar13 + 0xecffc) + 0x6d18)" ( number_literal , (binary_expression "*(int *)(puVar13 + 0xecffc) + 0x6d18" (pointer_expression "*(int *)(puVar13 + 0xecffc)" * (cast_expression "(int *)(puVar13 + 0xecffc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + 0xecffc)" ( (binary_expression "puVar13 + 0xecffc" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "internal_warning(uVar7,*puVar8);" (call_expression "internal_warning(uVar7,*puVar8)" identifier (argument_list "(uVar7,*puVar8)" ( identifier , (pointer_expression "*puVar8" * identifier) ))) ;) })) (if_statement "if (((uVar10 & 0x10) != 0) && (iVar6 = valid_nameref_value(uVar5,0), iVar6 == 0)) {\n      (**(code **)(puVar13 + 0xeef80))(uVar5);\n      if (uVar12 == 0) {\n        return (undefined4 *)0x0;\n      }\nLAB_0005772c:\n      puVar8[5] = puVar8[5] | 0x1000;\n      return (undefined4 *)0x0;\n    }" if (parenthesized_expression "(((uVar10 & 0x10) != 0) && (iVar6 = valid_nameref_value(uVar5,0), iVar6 == 0))" ( (binary_expression "((uVar10 & 0x10) != 0) && (iVar6 = valid_nameref_value(uVar5,0), iVar6 == 0)" (parenthesized_expression "((uVar10 & 0x10) != 0)" ( (binary_expression "(uVar10 & 0x10) != 0" (parenthesized_expression "(uVar10 & 0x10)" ( (binary_expression "uVar10 & 0x10" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(iVar6 = valid_nameref_value(uVar5,0), iVar6 == 0)" ( (comma_expression "iVar6 = valid_nameref_value(uVar5,0), iVar6 == 0" (assignment_expression "iVar6 = valid_nameref_value(uVar5,0)" identifier = (call_expression "valid_nameref_value(uVar5,0)" identifier (argument_list "(uVar5,0)" ( identifier , number_literal )))) , (binary_expression "iVar6 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      (**(code **)(puVar13 + 0xeef80))(uVar5);\n      if (uVar12 == 0) {\n        return (undefined4 *)0x0;\n      }\nLAB_0005772c:\n      puVar8[5] = puVar8[5] | 0x1000;\n      return (undefined4 *)0x0;\n    }" { (expression_statement "(**(code **)(puVar13 + 0xeef80))(uVar5);" (call_expression "(**(code **)(puVar13 + 0xeef80))(uVar5)" (parenthesized_expression "(**(code **)(puVar13 + 0xeef80))" ( (pointer_expression "**(code **)(puVar13 + 0xeef80)" * (pointer_expression "*(code **)(puVar13 + 0xeef80)" * (cast_expression "(code **)(puVar13 + 0xeef80)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0xeef80)" ( (binary_expression "puVar13 + 0xeef80" identifier + number_literal) ))))) )) (argument_list "(uVar5)" ( identifier ))) ;) (if_statement "if (uVar12 == 0) {\n        return (undefined4 *)0x0;\n      }" if (parenthesized_expression "(uVar12 == 0)" ( (binary_expression "uVar12 == 0" identifier == number_literal) )) (compound_statement "{\n        return (undefined4 *)0x0;\n      }" { (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (labeled_statement "LAB_0005772c:\n      puVar8[5] = puVar8[5] | 0x1000;" statement_identifier : (expression_statement "puVar8[5] = puVar8[5] | 0x1000;" (assignment_expression "puVar8[5] = puVar8[5] | 0x1000" (subscript_expression "puVar8[5]" identifier [ number_literal ]) = (binary_expression "puVar8[5] | 0x1000" (subscript_expression "puVar8[5]" identifier [ number_literal ]) | number_literal)) ;)) (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (if_statement "if (puVar8[1] != 0) {\n      (**(code **)(puVar13 + 0xeef80))();\n    }" if (parenthesized_expression "(puVar8[1] != 0)" ( (binary_expression "puVar8[1] != 0" (subscript_expression "puVar8[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      (**(code **)(puVar13 + 0xeef80))();\n    }" { (expression_statement "(**(code **)(puVar13 + 0xeef80))();" (call_expression "(**(code **)(puVar13 + 0xeef80))()" (parenthesized_expression "(**(code **)(puVar13 + 0xeef80))" ( (pointer_expression "**(code **)(puVar13 + 0xeef80)" * (pointer_expression "*(code **)(puVar13 + 0xeef80)" * (cast_expression "(code **)(puVar13 + 0xeef80)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0xeef80)" ( (binary_expression "puVar13 + 0xeef80" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (expression_statement "puVar8[1] = uVar5;" (assignment_expression "puVar8[1] = uVar5" (subscript_expression "puVar8[1]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else if ((uVar10 & 1) == 0) {\n    (*(code *)puVar8[4])();\n  }\n  else {\n    pcVar4 = (char *)make_variable_value();\n    (*(code *)puVar8[4])(puVar8,pcVar4,0xffffffff,0xffffffff,0);\n    if ((pcVar9 != pcVar4) && (pcVar4 != (char *)0x0)) {\n      (**(code **)(puVar13 + 0xeef80))(pcVar4);\n    }\n  }" else (if_statement "if ((uVar10 & 1) == 0) {\n    (*(code *)puVar8[4])();\n  }\n  else {\n    pcVar4 = (char *)make_variable_value();\n    (*(code *)puVar8[4])(puVar8,pcVar4,0xffffffff,0xffffffff,0);\n    if ((pcVar9 != pcVar4) && (pcVar4 != (char *)0x0)) {\n      (**(code **)(puVar13 + 0xeef80))(pcVar4);\n    }\n  }" if (parenthesized_expression "((uVar10 & 1) == 0)" ( (binary_expression "(uVar10 & 1) == 0" (parenthesized_expression "(uVar10 & 1)" ( (binary_expression "uVar10 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    (*(code *)puVar8[4])();\n  }" { (expression_statement "(*(code *)puVar8[4])();" (call_expression "(*(code *)puVar8[4])()" (parenthesized_expression "(*(code *)puVar8[4])" ( (pointer_expression "*(code *)puVar8[4]" * (cast_expression "(code *)puVar8[4]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar8[4]" identifier [ number_literal ]))) )) (argument_list "()" ( ))) ;) }) (else_clause "else {\n    pcVar4 = (char *)make_variable_value();\n    (*(code *)puVar8[4])(puVar8,pcVar4,0xffffffff,0xffffffff,0);\n    if ((pcVar9 != pcVar4) && (pcVar4 != (char *)0x0)) {\n      (**(code **)(puVar13 + 0xeef80))(pcVar4);\n    }\n  }" else (compound_statement "{\n    pcVar4 = (char *)make_variable_value();\n    (*(code *)puVar8[4])(puVar8,pcVar4,0xffffffff,0xffffffff,0);\n    if ((pcVar9 != pcVar4) && (pcVar4 != (char *)0x0)) {\n      (**(code **)(puVar13 + 0xeef80))(pcVar4);\n    }\n  }" { (expression_statement "pcVar4 = (char *)make_variable_value();" (assignment_expression "pcVar4 = (char *)make_variable_value()" identifier = (cast_expression "(char *)make_variable_value()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "make_variable_value()" identifier (argument_list "()" ( ))))) ;) (expression_statement "(*(code *)puVar8[4])(puVar8,pcVar4,0xffffffff,0xffffffff,0);" (call_expression "(*(code *)puVar8[4])(puVar8,pcVar4,0xffffffff,0xffffffff,0)" (parenthesized_expression "(*(code *)puVar8[4])" ( (pointer_expression "*(code *)puVar8[4]" * (cast_expression "(code *)puVar8[4]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar8[4]" identifier [ number_literal ]))) )) (argument_list "(puVar8,pcVar4,0xffffffff,0xffffffff,0)" ( identifier , identifier , number_literal , number_literal , number_literal ))) ;) (if_statement "if ((pcVar9 != pcVar4) && (pcVar4 != (char *)0x0)) {\n      (**(code **)(puVar13 + 0xeef80))(pcVar4);\n    }" if (parenthesized_expression "((pcVar9 != pcVar4) && (pcVar4 != (char *)0x0))" ( (binary_expression "(pcVar9 != pcVar4) && (pcVar4 != (char *)0x0)" (parenthesized_expression "(pcVar9 != pcVar4)" ( (binary_expression "pcVar9 != pcVar4" identifier != identifier) )) && (parenthesized_expression "(pcVar4 != (char *)0x0)" ( (binary_expression "pcVar4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n      (**(code **)(puVar13 + 0xeef80))(pcVar4);\n    }" { (expression_statement "(**(code **)(puVar13 + 0xeef80))(pcVar4);" (call_expression "(**(code **)(puVar13 + 0xeef80))(pcVar4)" (parenthesized_expression "(**(code **)(puVar13 + 0xeef80))" ( (pointer_expression "**(code **)(puVar13 + 0xeef80)" * (pointer_expression "*(code **)(puVar13 + 0xeef80)" * (cast_expression "(code **)(puVar13 + 0xeef80)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0xeef80)" ( (binary_expression "puVar13 + 0xeef80" identifier + number_literal) ))))) )) (argument_list "(pcVar4)" ( identifier ))) ;) })) }))))) (if_statement "if (puVar8[2] != 0) {\n    (**(code **)(puVar13 + 0xeef80))();\n    puVar8[2] = 0;\n  }" if (parenthesized_expression "(puVar8[2] != 0)" ( (binary_expression "puVar8[2] != 0" (subscript_expression "puVar8[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    (**(code **)(puVar13 + 0xeef80))();\n    puVar8[2] = 0;\n  }" { (expression_statement "(**(code **)(puVar13 + 0xeef80))();" (call_expression "(**(code **)(puVar13 + 0xeef80))()" (parenthesized_expression "(**(code **)(puVar13 + 0xeef80))" ( (pointer_expression "**(code **)(puVar13 + 0xeef80)" * (pointer_expression "*(code **)(puVar13 + 0xeef80)" * (cast_expression "(code **)(puVar13 + 0xeef80)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0xeef80)" ( (binary_expression "puVar13 + 0xeef80" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (expression_statement "puVar8[2] = 0;" (assignment_expression "puVar8[2] = 0" (subscript_expression "puVar8[2]" identifier [ number_literal ]) = number_literal) ;) })) (if_statement "if (**(int **)(puVar13 + 0xeda38) == 0) {\n    puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);\n    if ((puVar8[5] & 1) == 0) {\n      return puVar8;\n    }\n  }\n  else {\n    puVar8[5] = puVar8[5] | 1;\n    puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);\n  }" if (parenthesized_expression "(**(int **)(puVar13 + 0xeda38) == 0)" ( (binary_expression "**(int **)(puVar13 + 0xeda38) == 0" (pointer_expression "**(int **)(puVar13 + 0xeda38)" * (pointer_expression "*(int **)(puVar13 + 0xeda38)" * (cast_expression "(int **)(puVar13 + 0xeda38)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0xeda38)" ( (binary_expression "puVar13 + 0xeda38" identifier + number_literal) ))))) == number_literal) )) (compound_statement "{\n    puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);\n    if ((puVar8[5] & 1) == 0) {\n      return puVar8;\n    }\n  }" { (expression_statement "puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);" (assignment_expression "puVar1 = *(undefined4 **)(puVar13 + 0xeda3c)" identifier = (pointer_expression "*(undefined4 **)(puVar13 + 0xeda3c)" * (cast_expression "(undefined4 **)(puVar13 + 0xeda3c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0xeda3c)" ( (binary_expression "puVar13 + 0xeda3c" identifier + number_literal) ))))) ;) (if_statement "if ((puVar8[5] & 1) == 0) {\n      return puVar8;\n    }" if (parenthesized_expression "((puVar8[5] & 1) == 0)" ( (binary_expression "(puVar8[5] & 1) == 0" (parenthesized_expression "(puVar8[5] & 1)" ( (binary_expression "puVar8[5] & 1" (subscript_expression "puVar8[5]" identifier [ number_literal ]) & number_literal) )) == number_literal) )) (compound_statement "{\n      return puVar8;\n    }" { (return_statement "return puVar8;" return identifier ;) })) }) (else_clause "else {\n    puVar8[5] = puVar8[5] | 1;\n    puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);\n  }" else (compound_statement "{\n    puVar8[5] = puVar8[5] | 1;\n    puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);\n  }" { (expression_statement "puVar8[5] = puVar8[5] | 1;" (assignment_expression "puVar8[5] = puVar8[5] | 1" (subscript_expression "puVar8[5]" identifier [ number_literal ]) = (binary_expression "puVar8[5] | 1" (subscript_expression "puVar8[5]" identifier [ number_literal ]) | number_literal)) ;) (expression_statement "puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);" (assignment_expression "puVar1 = *(undefined4 **)(puVar13 + 0xeda3c)" identifier = (pointer_expression "*(undefined4 **)(puVar13 + 0xeda3c)" * (cast_expression "(undefined4 **)(puVar13 + 0xeda3c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0xeda3c)" ( (binary_expression "puVar13 + 0xeda3c" identifier + number_literal) ))))) ;) }))) (expression_statement "*puVar1 = 1;" (assignment_expression "*puVar1 = 1" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (return_statement "return puVar8;" return identifier ;) })))
(translation_unit "char * make_variable_value(SHELL_VAR *var,char *value,int flags)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  undefined1 *puVar3;\n  int *piVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  uint uVar8;\n  SHELL_VAR *var_00;\n  char *pcVar9;\n  int *validp;\n  int iVar10;\n  undefined *puVar11;\n  intmax_t iVar12;\n  intmax_t iVar13;\n  longlong lVar14;\n  uint in_stack_ffffff9c;\n  int expok;\n  SHELL_VAR *pSStack_24;\n  \n  puVar11 = PTR___stack_chk_guard_001464dc;\n  pSStack_24 = *(SHELL_VAR **)PTR___stack_chk_guard_001464dc;\n  if ((flags & 0x100U) == 0) {\n    if ((var->attributes & 0x10U) == 0) {\n      if ((var->attributes & 0x700U) == 0) goto LAB_0005713c;\n      if ((flags & 1U) == 0) {\n        if (*value == '\0') {\n          puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar3 = 0;\n        }\n        else {\n          iVar7 = (*(code *)PTR_strlen_00146390)(value);\n          uVar2 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);\n          puVar3 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar2,value);\n        }\n      }\n      else {\n        pcVar9 = get_variable_value(var);\n        if (pcVar9 == (char *)0x0) {\n          iVar10 = 1;\n          iVar7 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar10 = 1;\n          if (*pcVar9 == '\0') {\n            iVar7 = 0;\n          }\n          else {\n            iVar10 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar7 = 1;\n            }\n            else {\n              iVar10 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar7 = 2;\n              }\n              else {\n                iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar10 = iVar7 + 1;\n              }\n            }\n          }\n        }\n        if (value == (char *)0x0) {\n          puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar10);\n          (*(code *)PTR_strcpy_00146418)(puVar3,pcVar9);\n        }\n        else {\n          iVar5 = 0;\n          if (((*value != '\0') && (iVar5 = 1, value[1] != '\0')) && (iVar5 = 2, value[2] != '\0'))\n          {\n            iVar5 = (*(code *)PTR_strlen_00146390)(value);\n          }\n          puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar10 + iVar5);\n          (*(code *)PTR_strcpy_00146418)(puVar3,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar3 + iVar7,value);\n        }\n      }\n      if ((var->attributes & 0x400U) == 0) {\n        piVar4 = (int *)0x1;\n        if ((var->attributes & 0x100U) != 0) {\n          piVar4 = (int *)0x2;\n        }\n      }\n      else {\n        piVar4 = (int *)&DAT_00000004;\n      }\n      pcVar9 = (char *)0x0;\n      pcVar1 = (char *)(*(code *)PTR_sh_modcase_00144fac)(puVar3);\n      (*(code *)PTR_free_001464fc)(puVar3);\n    }\n    else if ((flags & 1U) == 0) {\n      piVar4 = &expok;\n      lVar14 = evalexp(value,0,piVar4);\n      pcVar9 = (char *)lVar14;\n      if (expok != 0) {\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        pcVar1 = (char *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }\n      if ((flags & 0x200U) == 0) goto LAB_000572ac;\nLAB_00057150:\n      if (*value == '\0') {\n        pcVar1 = (char *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *pcVar1 = '\0';\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)(value);\n        uVar2 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);\n        pcVar1 = (char *)(*(code *)PTR_strcpy_00146418)(uVar2);\n        pcVar9 = value;\n      }\n    }\n    else {\n      validp = &expok;\n      pcVar9 = (char *)0x0;\n      piVar4 = validp;\n      iVar12 = evalexp(var->value,0,validp);\n      if (expok != 0) {\n        pcVar9 = (char *)0x0;\n        iVar13 = evalexp(value,0,validp);\n        piVar4 = validp;\n        if (expok != 0) {\n          lVar14 = iVar12 + iVar13;\n          goto LAB_0005711c;\n        }\n      }\n      if ((flags & 0x200U) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        value = pcVar9;\n        goto LAB_000572c8;\n      }\n      pcVar9 = get_variable_value(var);\n      flags = (int)piVar4;\n      if (pcVar9 != (char *)0x0) goto LAB_000572f0;\n      iVar10 = 1;\n      iVar7 = 0;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\nLAB_0005730c:\n      if (value != (char *)0x0) goto LAB_00057360;\n      pcVar1 = (char *)(*(code *)PTR_xmalloc_001445b0)(iVar10);\n      (*(code *)PTR_strcpy_00146418)(pcVar1);\n    }\n  }\n  else {\nLAB_0005713c:\n    piVar4 = (int *)flags;\n    if (value == (char *)0x0) {\nLAB_000572c8:\n      pcVar1 = (char *)0x0;\n      pcVar9 = value;\n    }\n    else {\n      pcVar9 = value;\n      if ((flags & 1U) == 0) goto LAB_00057150;\n      pcVar9 = get_variable_value(var);\n      if (pcVar9 != (char *)0x0) {\nLAB_000572f0:\n        iVar10 = 1;\n        piVar4 = (int *)flags;\n        if (*pcVar9 == '\0') {\n          iVar7 = 0;\n        }\n        else {\n          iVar10 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar7 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar10 = 3;\n            iVar7 = 2;\n          }\n          else {\n            iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar10 = iVar7 + 1;\n            piVar4 = (int *)flags;\n          }\n        }\n        goto LAB_0005730c;\n      }\n      iVar7 = 0;\n      iVar10 = 1;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\n      piVar4 = (int *)flags;\nLAB_00057360:\n      if (*value != '\0') {\n        if (value[1] == '\0') {\n          iVar10 = iVar7 + 2;\n        }\n        else if (value[2] == '\0') {\n          iVar10 = iVar7 + 3;\n        }\n        else {\n          iVar5 = (*(code *)PTR_strlen_00146390)(value);\n          iVar10 = iVar10 + iVar5;\n        }\n      }\n      pcVar1 = (char *)(*(code *)PTR_xmalloc_001445b0)(iVar10);\n      (*(code *)PTR_strcpy_00146418)(pcVar1,pcVar9);\n      (*(code *)PTR_strcpy_00146418)(pcVar1 + iVar7);\n      pcVar9 = value;\n    }\n  }\nLAB_00057194:\n  if (pSStack_24 == *(SHELL_VAR **)puVar11) {\n    return pcVar1;\n  }\n  var_00 = pSStack_24;\n  puVar11 = PTR___stack_chk_fail_00146488;\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  uVar8 = var_00->attributes;\n  var_00->attributes = uVar8 & 0xffffefff;\n  if (var_00->assign_func == (sh_var_assign_func_t *)0x0) {\n    uVar8 = uVar8 & 0x1000;\n    pcVar9 = make_variable_value(var_00,pcVar9,(int)piVar4);\n    if ((((uint)piVar4 & 0x30) == 0x10) &&\n       (iVar7 = check_selfref(var_00->name,pcVar9,0), iVar7 != 0)) {\n      if (**(int **)(puVar11 + 0xed2e0) == 0) {\n        pcVar1 = (char *)(**(code **)(puVar11 + 0xeef1c))(0,*(int *)(puVar11 + 0xecffc) + 0x6e14,5);\n        internal_error(pcVar1,var_00->name);\n        (**(code **)(puVar11 + 0xeef80))(pcVar9);\n        if (uVar8 == 0) {\n          return (char *)0x0;\n        }\n        goto LAB_0005772c;\n      }\n      pcVar1 = (char *)(**(code **)(puVar11 + 0xeef1c))(0,*(int *)(puVar11 + 0xecffc) + 0x6d18);\n      internal_warning(pcVar1,var_00->name);\n    }\n    if ((((uint)piVar4 & 0x10) != 0) && (iVar7 = valid_nameref_value(pcVar9,0), iVar7 == 0)) {\n      (**(code **)(puVar11 + 0xeef80))(pcVar9);\n      if (uVar8 == 0) {\n        return (char *)0x0;\n      }\nLAB_0005772c:\n      var_00->attributes = var_00->attributes | 0x1000;\n      return (char *)0x0;\n    }\n    if (var_00->value != (char *)0x0) {\n      (**(code **)(puVar11 + 0xeef80))();\n    }\n    var_00->value = pcVar9;\n  }\n  else if (((uint)piVar4 & 1) == 0) {\n    (*var_00->assign_func)(var_00,pcVar9,(ulonglong)in_stack_ffffff9c,(char *)0xffffffff);\n  }\n  else {\n    pcVar1 = make_variable_value(var_00,pcVar9,(int)piVar4);\n    (*var_00->assign_func)(var_00,pcVar1,(ulonglong)in_stack_ffffff9c,(char *)0xffffffff);\n    if ((pcVar9 != pcVar1) && (pcVar1 != (char *)0x0)) {\n      (**(code **)(puVar11 + 0xeef80))(pcVar1);\n    }\n  }\n  if (var_00->exportstr != (char *)0x0) {\n    (**(code **)(puVar11 + 0xeef80))();\n    var_00->exportstr = (char *)0x0;\n  }\n  if (**(int **)(puVar11 + 0xeda38) == 0) {\n    puVar6 = *(undefined4 **)(puVar11 + 0xeda3c);\n    if ((var_00->attributes & 1U) == 0) {\n      return (char *)var_00;\n    }\n  }\n  else {\n    var_00->attributes = var_00->attributes | 1;\n    puVar6 = *(undefined4 **)(puVar11 + 0xeda3c);\n  }\n  *puVar6 = 1;\n  return (char *)var_00;\n}\n\n" (function_definition "char * make_variable_value(SHELL_VAR *var,char *value,int flags)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  undefined1 *puVar3;\n  int *piVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  uint uVar8;\n  SHELL_VAR *var_00;\n  char *pcVar9;\n  int *validp;\n  int iVar10;\n  undefined *puVar11;\n  intmax_t iVar12;\n  intmax_t iVar13;\n  longlong lVar14;\n  uint in_stack_ffffff9c;\n  int expok;\n  SHELL_VAR *pSStack_24;\n  \n  puVar11 = PTR___stack_chk_guard_001464dc;\n  pSStack_24 = *(SHELL_VAR **)PTR___stack_chk_guard_001464dc;\n  if ((flags & 0x100U) == 0) {\n    if ((var->attributes & 0x10U) == 0) {\n      if ((var->attributes & 0x700U) == 0) goto LAB_0005713c;\n      if ((flags & 1U) == 0) {\n        if (*value == '\0') {\n          puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar3 = 0;\n        }\n        else {\n          iVar7 = (*(code *)PTR_strlen_00146390)(value);\n          uVar2 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);\n          puVar3 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar2,value);\n        }\n      }\n      else {\n        pcVar9 = get_variable_value(var);\n        if (pcVar9 == (char *)0x0) {\n          iVar10 = 1;\n          iVar7 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar10 = 1;\n          if (*pcVar9 == '\0') {\n            iVar7 = 0;\n          }\n          else {\n            iVar10 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar7 = 1;\n            }\n            else {\n              iVar10 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar7 = 2;\n              }\n              else {\n                iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar10 = iVar7 + 1;\n              }\n            }\n          }\n        }\n        if (value == (char *)0x0) {\n          puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar10);\n          (*(code *)PTR_strcpy_00146418)(puVar3,pcVar9);\n        }\n        else {\n          iVar5 = 0;\n          if (((*value != '\0') && (iVar5 = 1, value[1] != '\0')) && (iVar5 = 2, value[2] != '\0'))\n          {\n            iVar5 = (*(code *)PTR_strlen_00146390)(value);\n          }\n          puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar10 + iVar5);\n          (*(code *)PTR_strcpy_00146418)(puVar3,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar3 + iVar7,value);\n        }\n      }\n      if ((var->attributes & 0x400U) == 0) {\n        piVar4 = (int *)0x1;\n        if ((var->attributes & 0x100U) != 0) {\n          piVar4 = (int *)0x2;\n        }\n      }\n      else {\n        piVar4 = (int *)&DAT_00000004;\n      }\n      pcVar9 = (char *)0x0;\n      pcVar1 = (char *)(*(code *)PTR_sh_modcase_00144fac)(puVar3);\n      (*(code *)PTR_free_001464fc)(puVar3);\n    }\n    else if ((flags & 1U) == 0) {\n      piVar4 = &expok;\n      lVar14 = evalexp(value,0,piVar4);\n      pcVar9 = (char *)lVar14;\n      if (expok != 0) {\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        pcVar1 = (char *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }\n      if ((flags & 0x200U) == 0) goto LAB_000572ac;\nLAB_00057150:\n      if (*value == '\0') {\n        pcVar1 = (char *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *pcVar1 = '\0';\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)(value);\n        uVar2 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);\n        pcVar1 = (char *)(*(code *)PTR_strcpy_00146418)(uVar2);\n        pcVar9 = value;\n      }\n    }\n    else {\n      validp = &expok;\n      pcVar9 = (char *)0x0;\n      piVar4 = validp;\n      iVar12 = evalexp(var->value,0,validp);\n      if (expok != 0) {\n        pcVar9 = (char *)0x0;\n        iVar13 = evalexp(value,0,validp);\n        piVar4 = validp;\n        if (expok != 0) {\n          lVar14 = iVar12 + iVar13;\n          goto LAB_0005711c;\n        }\n      }\n      if ((flags & 0x200U) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        value = pcVar9;\n        goto LAB_000572c8;\n      }\n      pcVar9 = get_variable_value(var);\n      flags = (int)piVar4;\n      if (pcVar9 != (char *)0x0) goto LAB_000572f0;\n      iVar10 = 1;\n      iVar7 = 0;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\nLAB_0005730c:\n      if (value != (char *)0x0) goto LAB_00057360;\n      pcVar1 = (char *)(*(code *)PTR_xmalloc_001445b0)(iVar10);\n      (*(code *)PTR_strcpy_00146418)(pcVar1);\n    }\n  }\n  else {\nLAB_0005713c:\n    piVar4 = (int *)flags;\n    if (value == (char *)0x0) {\nLAB_000572c8:\n      pcVar1 = (char *)0x0;\n      pcVar9 = value;\n    }\n    else {\n      pcVar9 = value;\n      if ((flags & 1U) == 0) goto LAB_00057150;\n      pcVar9 = get_variable_value(var);\n      if (pcVar9 != (char *)0x0) {\nLAB_000572f0:\n        iVar10 = 1;\n        piVar4 = (int *)flags;\n        if (*pcVar9 == '\0') {\n          iVar7 = 0;\n        }\n        else {\n          iVar10 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar7 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar10 = 3;\n            iVar7 = 2;\n          }\n          else {\n            iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar10 = iVar7 + 1;\n            piVar4 = (int *)flags;\n          }\n        }\n        goto LAB_0005730c;\n      }\n      iVar7 = 0;\n      iVar10 = 1;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\n      piVar4 = (int *)flags;\nLAB_00057360:\n      if (*value != '\0') {\n        if (value[1] == '\0') {\n          iVar10 = iVar7 + 2;\n        }\n        else if (value[2] == '\0') {\n          iVar10 = iVar7 + 3;\n        }\n        else {\n          iVar5 = (*(code *)PTR_strlen_00146390)(value);\n          iVar10 = iVar10 + iVar5;\n        }\n      }\n      pcVar1 = (char *)(*(code *)PTR_xmalloc_001445b0)(iVar10);\n      (*(code *)PTR_strcpy_00146418)(pcVar1,pcVar9);\n      (*(code *)PTR_strcpy_00146418)(pcVar1 + iVar7);\n      pcVar9 = value;\n    }\n  }\nLAB_00057194:\n  if (pSStack_24 == *(SHELL_VAR **)puVar11) {\n    return pcVar1;\n  }\n  var_00 = pSStack_24;\n  puVar11 = PTR___stack_chk_fail_00146488;\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  uVar8 = var_00->attributes;\n  var_00->attributes = uVar8 & 0xffffefff;\n  if (var_00->assign_func == (sh_var_assign_func_t *)0x0) {\n    uVar8 = uVar8 & 0x1000;\n    pcVar9 = make_variable_value(var_00,pcVar9,(int)piVar4);\n    if ((((uint)piVar4 & 0x30) == 0x10) &&\n       (iVar7 = check_selfref(var_00->name,pcVar9,0), iVar7 != 0)) {\n      if (**(int **)(puVar11 + 0xed2e0) == 0) {\n        pcVar1 = (char *)(**(code **)(puVar11 + 0xeef1c))(0,*(int *)(puVar11 + 0xecffc) + 0x6e14,5);\n        internal_error(pcVar1,var_00->name);\n        (**(code **)(puVar11 + 0xeef80))(pcVar9);\n        if (uVar8 == 0) {\n          return (char *)0x0;\n        }\n        goto LAB_0005772c;\n      }\n      pcVar1 = (char *)(**(code **)(puVar11 + 0xeef1c))(0,*(int *)(puVar11 + 0xecffc) + 0x6d18);\n      internal_warning(pcVar1,var_00->name);\n    }\n    if ((((uint)piVar4 & 0x10) != 0) && (iVar7 = valid_nameref_value(pcVar9,0), iVar7 == 0)) {\n      (**(code **)(puVar11 + 0xeef80))(pcVar9);\n      if (uVar8 == 0) {\n        return (char *)0x0;\n      }\nLAB_0005772c:\n      var_00->attributes = var_00->attributes | 0x1000;\n      return (char *)0x0;\n    }\n    if (var_00->value != (char *)0x0) {\n      (**(code **)(puVar11 + 0xeef80))();\n    }\n    var_00->value = pcVar9;\n  }\n  else if (((uint)piVar4 & 1) == 0) {\n    (*var_00->assign_func)(var_00,pcVar9,(ulonglong)in_stack_ffffff9c,(char *)0xffffffff);\n  }\n  else {\n    pcVar1 = make_variable_value(var_00,pcVar9,(int)piVar4);\n    (*var_00->assign_func)(var_00,pcVar1,(ulonglong)in_stack_ffffff9c,(char *)0xffffffff);\n    if ((pcVar9 != pcVar1) && (pcVar1 != (char *)0x0)) {\n      (**(code **)(puVar11 + 0xeef80))(pcVar1);\n    }\n  }\n  if (var_00->exportstr != (char *)0x0) {\n    (**(code **)(puVar11 + 0xeef80))();\n    var_00->exportstr = (char *)0x0;\n  }\n  if (**(int **)(puVar11 + 0xeda38) == 0) {\n    puVar6 = *(undefined4 **)(puVar11 + 0xeda3c);\n    if ((var_00->attributes & 1U) == 0) {\n      return (char *)var_00;\n    }\n  }\n  else {\n    var_00->attributes = var_00->attributes | 1;\n    puVar6 = *(undefined4 **)(puVar11 + 0xeda3c);\n  }\n  *puVar6 = 1;\n  return (char *)var_00;\n}" primitive_type (pointer_declarator "* make_variable_value(SHELL_VAR *var,char *value,int flags)" * (function_declarator "make_variable_value(SHELL_VAR *var,char *value,int flags)" identifier (parameter_list "(SHELL_VAR *var,char *value,int flags)" ( (parameter_declaration "SHELL_VAR *var" type_identifier (pointer_declarator "*var" * identifier)) , (parameter_declaration "char *value" primitive_type (pointer_declarator "*value" * identifier)) , (parameter_declaration "int flags" primitive_type identifier) )))) (compound_statement "{\n  char *pcVar1;\n  undefined4 uVar2;\n  undefined1 *puVar3;\n  int *piVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  uint uVar8;\n  SHELL_VAR *var_00;\n  char *pcVar9;\n  int *validp;\n  int iVar10;\n  undefined *puVar11;\n  intmax_t iVar12;\n  intmax_t iVar13;\n  longlong lVar14;\n  uint in_stack_ffffff9c;\n  int expok;\n  SHELL_VAR *pSStack_24;\n  \n  puVar11 = PTR___stack_chk_guard_001464dc;\n  pSStack_24 = *(SHELL_VAR **)PTR___stack_chk_guard_001464dc;\n  if ((flags & 0x100U) == 0) {\n    if ((var->attributes & 0x10U) == 0) {\n      if ((var->attributes & 0x700U) == 0) goto LAB_0005713c;\n      if ((flags & 1U) == 0) {\n        if (*value == '\0') {\n          puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar3 = 0;\n        }\n        else {\n          iVar7 = (*(code *)PTR_strlen_00146390)(value);\n          uVar2 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);\n          puVar3 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar2,value);\n        }\n      }\n      else {\n        pcVar9 = get_variable_value(var);\n        if (pcVar9 == (char *)0x0) {\n          iVar10 = 1;\n          iVar7 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar10 = 1;\n          if (*pcVar9 == '\0') {\n            iVar7 = 0;\n          }\n          else {\n            iVar10 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar7 = 1;\n            }\n            else {\n              iVar10 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar7 = 2;\n              }\n              else {\n                iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar10 = iVar7 + 1;\n              }\n            }\n          }\n        }\n        if (value == (char *)0x0) {\n          puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar10);\n          (*(code *)PTR_strcpy_00146418)(puVar3,pcVar9);\n        }\n        else {\n          iVar5 = 0;\n          if (((*value != '\0') && (iVar5 = 1, value[1] != '\0')) && (iVar5 = 2, value[2] != '\0'))\n          {\n            iVar5 = (*(code *)PTR_strlen_00146390)(value);\n          }\n          puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar10 + iVar5);\n          (*(code *)PTR_strcpy_00146418)(puVar3,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar3 + iVar7,value);\n        }\n      }\n      if ((var->attributes & 0x400U) == 0) {\n        piVar4 = (int *)0x1;\n        if ((var->attributes & 0x100U) != 0) {\n          piVar4 = (int *)0x2;\n        }\n      }\n      else {\n        piVar4 = (int *)&DAT_00000004;\n      }\n      pcVar9 = (char *)0x0;\n      pcVar1 = (char *)(*(code *)PTR_sh_modcase_00144fac)(puVar3);\n      (*(code *)PTR_free_001464fc)(puVar3);\n    }\n    else if ((flags & 1U) == 0) {\n      piVar4 = &expok;\n      lVar14 = evalexp(value,0,piVar4);\n      pcVar9 = (char *)lVar14;\n      if (expok != 0) {\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        pcVar1 = (char *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }\n      if ((flags & 0x200U) == 0) goto LAB_000572ac;\nLAB_00057150:\n      if (*value == '\0') {\n        pcVar1 = (char *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *pcVar1 = '\0';\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)(value);\n        uVar2 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);\n        pcVar1 = (char *)(*(code *)PTR_strcpy_00146418)(uVar2);\n        pcVar9 = value;\n      }\n    }\n    else {\n      validp = &expok;\n      pcVar9 = (char *)0x0;\n      piVar4 = validp;\n      iVar12 = evalexp(var->value,0,validp);\n      if (expok != 0) {\n        pcVar9 = (char *)0x0;\n        iVar13 = evalexp(value,0,validp);\n        piVar4 = validp;\n        if (expok != 0) {\n          lVar14 = iVar12 + iVar13;\n          goto LAB_0005711c;\n        }\n      }\n      if ((flags & 0x200U) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        value = pcVar9;\n        goto LAB_000572c8;\n      }\n      pcVar9 = get_variable_value(var);\n      flags = (int)piVar4;\n      if (pcVar9 != (char *)0x0) goto LAB_000572f0;\n      iVar10 = 1;\n      iVar7 = 0;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\nLAB_0005730c:\n      if (value != (char *)0x0) goto LAB_00057360;\n      pcVar1 = (char *)(*(code *)PTR_xmalloc_001445b0)(iVar10);\n      (*(code *)PTR_strcpy_00146418)(pcVar1);\n    }\n  }\n  else {\nLAB_0005713c:\n    piVar4 = (int *)flags;\n    if (value == (char *)0x0) {\nLAB_000572c8:\n      pcVar1 = (char *)0x0;\n      pcVar9 = value;\n    }\n    else {\n      pcVar9 = value;\n      if ((flags & 1U) == 0) goto LAB_00057150;\n      pcVar9 = get_variable_value(var);\n      if (pcVar9 != (char *)0x0) {\nLAB_000572f0:\n        iVar10 = 1;\n        piVar4 = (int *)flags;\n        if (*pcVar9 == '\0') {\n          iVar7 = 0;\n        }\n        else {\n          iVar10 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar7 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar10 = 3;\n            iVar7 = 2;\n          }\n          else {\n            iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar10 = iVar7 + 1;\n            piVar4 = (int *)flags;\n          }\n        }\n        goto LAB_0005730c;\n      }\n      iVar7 = 0;\n      iVar10 = 1;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\n      piVar4 = (int *)flags;\nLAB_00057360:\n      if (*value != '\0') {\n        if (value[1] == '\0') {\n          iVar10 = iVar7 + 2;\n        }\n        else if (value[2] == '\0') {\n          iVar10 = iVar7 + 3;\n        }\n        else {\n          iVar5 = (*(code *)PTR_strlen_00146390)(value);\n          iVar10 = iVar10 + iVar5;\n        }\n      }\n      pcVar1 = (char *)(*(code *)PTR_xmalloc_001445b0)(iVar10);\n      (*(code *)PTR_strcpy_00146418)(pcVar1,pcVar9);\n      (*(code *)PTR_strcpy_00146418)(pcVar1 + iVar7);\n      pcVar9 = value;\n    }\n  }\nLAB_00057194:\n  if (pSStack_24 == *(SHELL_VAR **)puVar11) {\n    return pcVar1;\n  }\n  var_00 = pSStack_24;\n  puVar11 = PTR___stack_chk_fail_00146488;\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  uVar8 = var_00->attributes;\n  var_00->attributes = uVar8 & 0xffffefff;\n  if (var_00->assign_func == (sh_var_assign_func_t *)0x0) {\n    uVar8 = uVar8 & 0x1000;\n    pcVar9 = make_variable_value(var_00,pcVar9,(int)piVar4);\n    if ((((uint)piVar4 & 0x30) == 0x10) &&\n       (iVar7 = check_selfref(var_00->name,pcVar9,0), iVar7 != 0)) {\n      if (**(int **)(puVar11 + 0xed2e0) == 0) {\n        pcVar1 = (char *)(**(code **)(puVar11 + 0xeef1c))(0,*(int *)(puVar11 + 0xecffc) + 0x6e14,5);\n        internal_error(pcVar1,var_00->name);\n        (**(code **)(puVar11 + 0xeef80))(pcVar9);\n        if (uVar8 == 0) {\n          return (char *)0x0;\n        }\n        goto LAB_0005772c;\n      }\n      pcVar1 = (char *)(**(code **)(puVar11 + 0xeef1c))(0,*(int *)(puVar11 + 0xecffc) + 0x6d18);\n      internal_warning(pcVar1,var_00->name);\n    }\n    if ((((uint)piVar4 & 0x10) != 0) && (iVar7 = valid_nameref_value(pcVar9,0), iVar7 == 0)) {\n      (**(code **)(puVar11 + 0xeef80))(pcVar9);\n      if (uVar8 == 0) {\n        return (char *)0x0;\n      }\nLAB_0005772c:\n      var_00->attributes = var_00->attributes | 0x1000;\n      return (char *)0x0;\n    }\n    if (var_00->value != (char *)0x0) {\n      (**(code **)(puVar11 + 0xeef80))();\n    }\n    var_00->value = pcVar9;\n  }\n  else if (((uint)piVar4 & 1) == 0) {\n    (*var_00->assign_func)(var_00,pcVar9,(ulonglong)in_stack_ffffff9c,(char *)0xffffffff);\n  }\n  else {\n    pcVar1 = make_variable_value(var_00,pcVar9,(int)piVar4);\n    (*var_00->assign_func)(var_00,pcVar1,(ulonglong)in_stack_ffffff9c,(char *)0xffffffff);\n    if ((pcVar9 != pcVar1) && (pcVar1 != (char *)0x0)) {\n      (**(code **)(puVar11 + 0xeef80))(pcVar1);\n    }\n  }\n  if (var_00->exportstr != (char *)0x0) {\n    (**(code **)(puVar11 + 0xeef80))();\n    var_00->exportstr = (char *)0x0;\n  }\n  if (**(int **)(puVar11 + 0xeda38) == 0) {\n    puVar6 = *(undefined4 **)(puVar11 + 0xeda3c);\n    if ((var_00->attributes & 1U) == 0) {\n      return (char *)var_00;\n    }\n  }\n  else {\n    var_00->attributes = var_00->attributes | 1;\n    puVar6 = *(undefined4 **)(puVar11 + 0xeda3c);\n  }\n  *puVar6 = 1;\n  return (char *)var_00;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined1 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "SHELL_VAR *var_00;" type_identifier (pointer_declarator "*var_00" * identifier) ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "int *validp;" primitive_type (pointer_declarator "*validp" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "undefined *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "intmax_t iVar12;" type_identifier identifier ;) (declaration "intmax_t iVar13;" type_identifier identifier ;) (declaration "longlong lVar14;" type_identifier identifier ;) (declaration "uint in_stack_ffffff9c;" type_identifier identifier ;) (declaration "int expok;" primitive_type identifier ;) (declaration "SHELL_VAR *pSStack_24;" type_identifier (pointer_declarator "*pSStack_24" * identifier) ;) (expression_statement "puVar11 = PTR___stack_chk_guard_001464dc;" (assignment_expression "puVar11 = PTR___stack_chk_guard_001464dc" identifier = identifier) ;) (expression_statement "pSStack_24 = *(SHELL_VAR **)PTR___stack_chk_guard_001464dc;" (assignment_expression "pSStack_24 = *(SHELL_VAR **)PTR___stack_chk_guard_001464dc" identifier = (pointer_expression "*(SHELL_VAR **)PTR___stack_chk_guard_001464dc" * (cast_expression "(SHELL_VAR **)PTR___stack_chk_guard_001464dc" ( (type_descriptor "SHELL_VAR **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (if_statement "if ((flags & 0x100U) == 0) {\n    if ((var->attributes & 0x10U) == 0) {\n      if ((var->attributes & 0x700U) == 0) goto LAB_0005713c;\n      if ((flags & 1U) == 0) {\n        if (*value == '\0') {\n          puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar3 = 0;\n        }\n        else {\n          iVar7 = (*(code *)PTR_strlen_00146390)(value);\n          uVar2 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);\n          puVar3 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar2,value);\n        }\n      }\n      else {\n        pcVar9 = get_variable_value(var);\n        if (pcVar9 == (char *)0x0) {\n          iVar10 = 1;\n          iVar7 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar10 = 1;\n          if (*pcVar9 == '\0') {\n            iVar7 = 0;\n          }\n          else {\n            iVar10 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar7 = 1;\n            }\n            else {\n              iVar10 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar7 = 2;\n              }\n              else {\n                iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar10 = iVar7 + 1;\n              }\n            }\n          }\n        }\n        if (value == (char *)0x0) {\n          puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar10);\n          (*(code *)PTR_strcpy_00146418)(puVar3,pcVar9);\n        }\n        else {\n          iVar5 = 0;\n          if (((*value != '\0') && (iVar5 = 1, value[1] != '\0')) && (iVar5 = 2, value[2] != '\0'))\n          {\n            iVar5 = (*(code *)PTR_strlen_00146390)(value);\n          }\n          puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar10 + iVar5);\n          (*(code *)PTR_strcpy_00146418)(puVar3,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar3 + iVar7,value);\n        }\n      }\n      if ((var->attributes & 0x400U) == 0) {\n        piVar4 = (int *)0x1;\n        if ((var->attributes & 0x100U) != 0) {\n          piVar4 = (int *)0x2;\n        }\n      }\n      else {\n        piVar4 = (int *)&DAT_00000004;\n      }\n      pcVar9 = (char *)0x0;\n      pcVar1 = (char *)(*(code *)PTR_sh_modcase_00144fac)(puVar3);\n      (*(code *)PTR_free_001464fc)(puVar3);\n    }\n    else if ((flags & 1U) == 0) {\n      piVar4 = &expok;\n      lVar14 = evalexp(value,0,piVar4);\n      pcVar9 = (char *)lVar14;\n      if (expok != 0) {\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        pcVar1 = (char *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }\n      if ((flags & 0x200U) == 0) goto LAB_000572ac;\nLAB_00057150:\n      if (*value == '\0') {\n        pcVar1 = (char *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *pcVar1 = '\0';\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)(value);\n        uVar2 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);\n        pcVar1 = (char *)(*(code *)PTR_strcpy_00146418)(uVar2);\n        pcVar9 = value;\n      }\n    }\n    else {\n      validp = &expok;\n      pcVar9 = (char *)0x0;\n      piVar4 = validp;\n      iVar12 = evalexp(var->value,0,validp);\n      if (expok != 0) {\n        pcVar9 = (char *)0x0;\n        iVar13 = evalexp(value,0,validp);\n        piVar4 = validp;\n        if (expok != 0) {\n          lVar14 = iVar12 + iVar13;\n          goto LAB_0005711c;\n        }\n      }\n      if ((flags & 0x200U) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        value = pcVar9;\n        goto LAB_000572c8;\n      }\n      pcVar9 = get_variable_value(var);\n      flags = (int)piVar4;\n      if (pcVar9 != (char *)0x0) goto LAB_000572f0;\n      iVar10 = 1;\n      iVar7 = 0;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\nLAB_0005730c:\n      if (value != (char *)0x0) goto LAB_00057360;\n      pcVar1 = (char *)(*(code *)PTR_xmalloc_001445b0)(iVar10);\n      (*(code *)PTR_strcpy_00146418)(pcVar1);\n    }\n  }\n  else {\nLAB_0005713c:\n    piVar4 = (int *)flags;\n    if (value == (char *)0x0) {\nLAB_000572c8:\n      pcVar1 = (char *)0x0;\n      pcVar9 = value;\n    }\n    else {\n      pcVar9 = value;\n      if ((flags & 1U) == 0) goto LAB_00057150;\n      pcVar9 = get_variable_value(var);\n      if (pcVar9 != (char *)0x0) {\nLAB_000572f0:\n        iVar10 = 1;\n        piVar4 = (int *)flags;\n        if (*pcVar9 == '\0') {\n          iVar7 = 0;\n        }\n        else {\n          iVar10 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar7 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar10 = 3;\n            iVar7 = 2;\n          }\n          else {\n            iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar10 = iVar7 + 1;\n            piVar4 = (int *)flags;\n          }\n        }\n        goto LAB_0005730c;\n      }\n      iVar7 = 0;\n      iVar10 = 1;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\n      piVar4 = (int *)flags;\nLAB_00057360:\n      if (*value != '\0') {\n        if (value[1] == '\0') {\n          iVar10 = iVar7 + 2;\n        }\n        else if (value[2] == '\0') {\n          iVar10 = iVar7 + 3;\n        }\n        else {\n          iVar5 = (*(code *)PTR_strlen_00146390)(value);\n          iVar10 = iVar10 + iVar5;\n        }\n      }\n      pcVar1 = (char *)(*(code *)PTR_xmalloc_001445b0)(iVar10);\n      (*(code *)PTR_strcpy_00146418)(pcVar1,pcVar9);\n      (*(code *)PTR_strcpy_00146418)(pcVar1 + iVar7);\n      pcVar9 = value;\n    }\n  }" if (parenthesized_expression "((flags & 0x100U) == 0)" ( (binary_expression "(flags & 0x100U) == 0" (parenthesized_expression "(flags & 0x100U)" ( (binary_expression "flags & 0x100U" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    if ((var->attributes & 0x10U) == 0) {\n      if ((var->attributes & 0x700U) == 0) goto LAB_0005713c;\n      if ((flags & 1U) == 0) {\n        if (*value == '\0') {\n          puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar3 = 0;\n        }\n        else {\n          iVar7 = (*(code *)PTR_strlen_00146390)(value);\n          uVar2 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);\n          puVar3 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar2,value);\n        }\n      }\n      else {\n        pcVar9 = get_variable_value(var);\n        if (pcVar9 == (char *)0x0) {\n          iVar10 = 1;\n          iVar7 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar10 = 1;\n          if (*pcVar9 == '\0') {\n            iVar7 = 0;\n          }\n          else {\n            iVar10 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar7 = 1;\n            }\n            else {\n              iVar10 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar7 = 2;\n              }\n              else {\n                iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar10 = iVar7 + 1;\n              }\n            }\n          }\n        }\n        if (value == (char *)0x0) {\n          puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar10);\n          (*(code *)PTR_strcpy_00146418)(puVar3,pcVar9);\n        }\n        else {\n          iVar5 = 0;\n          if (((*value != '\0') && (iVar5 = 1, value[1] != '\0')) && (iVar5 = 2, value[2] != '\0'))\n          {\n            iVar5 = (*(code *)PTR_strlen_00146390)(value);\n          }\n          puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar10 + iVar5);\n          (*(code *)PTR_strcpy_00146418)(puVar3,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar3 + iVar7,value);\n        }\n      }\n      if ((var->attributes & 0x400U) == 0) {\n        piVar4 = (int *)0x1;\n        if ((var->attributes & 0x100U) != 0) {\n          piVar4 = (int *)0x2;\n        }\n      }\n      else {\n        piVar4 = (int *)&DAT_00000004;\n      }\n      pcVar9 = (char *)0x0;\n      pcVar1 = (char *)(*(code *)PTR_sh_modcase_00144fac)(puVar3);\n      (*(code *)PTR_free_001464fc)(puVar3);\n    }\n    else if ((flags & 1U) == 0) {\n      piVar4 = &expok;\n      lVar14 = evalexp(value,0,piVar4);\n      pcVar9 = (char *)lVar14;\n      if (expok != 0) {\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        pcVar1 = (char *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }\n      if ((flags & 0x200U) == 0) goto LAB_000572ac;\nLAB_00057150:\n      if (*value == '\0') {\n        pcVar1 = (char *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *pcVar1 = '\0';\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)(value);\n        uVar2 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);\n        pcVar1 = (char *)(*(code *)PTR_strcpy_00146418)(uVar2);\n        pcVar9 = value;\n      }\n    }\n    else {\n      validp = &expok;\n      pcVar9 = (char *)0x0;\n      piVar4 = validp;\n      iVar12 = evalexp(var->value,0,validp);\n      if (expok != 0) {\n        pcVar9 = (char *)0x0;\n        iVar13 = evalexp(value,0,validp);\n        piVar4 = validp;\n        if (expok != 0) {\n          lVar14 = iVar12 + iVar13;\n          goto LAB_0005711c;\n        }\n      }\n      if ((flags & 0x200U) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        value = pcVar9;\n        goto LAB_000572c8;\n      }\n      pcVar9 = get_variable_value(var);\n      flags = (int)piVar4;\n      if (pcVar9 != (char *)0x0) goto LAB_000572f0;\n      iVar10 = 1;\n      iVar7 = 0;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\nLAB_0005730c:\n      if (value != (char *)0x0) goto LAB_00057360;\n      pcVar1 = (char *)(*(code *)PTR_xmalloc_001445b0)(iVar10);\n      (*(code *)PTR_strcpy_00146418)(pcVar1);\n    }\n  }" { (if_statement "if ((var->attributes & 0x10U) == 0) {\n      if ((var->attributes & 0x700U) == 0) goto LAB_0005713c;\n      if ((flags & 1U) == 0) {\n        if (*value == '\0') {\n          puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar3 = 0;\n        }\n        else {\n          iVar7 = (*(code *)PTR_strlen_00146390)(value);\n          uVar2 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);\n          puVar3 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar2,value);\n        }\n      }\n      else {\n        pcVar9 = get_variable_value(var);\n        if (pcVar9 == (char *)0x0) {\n          iVar10 = 1;\n          iVar7 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar10 = 1;\n          if (*pcVar9 == '\0') {\n            iVar7 = 0;\n          }\n          else {\n            iVar10 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar7 = 1;\n            }\n            else {\n              iVar10 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar7 = 2;\n              }\n              else {\n                iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar10 = iVar7 + 1;\n              }\n            }\n          }\n        }\n        if (value == (char *)0x0) {\n          puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar10);\n          (*(code *)PTR_strcpy_00146418)(puVar3,pcVar9);\n        }\n        else {\n          iVar5 = 0;\n          if (((*value != '\0') && (iVar5 = 1, value[1] != '\0')) && (iVar5 = 2, value[2] != '\0'))\n          {\n            iVar5 = (*(code *)PTR_strlen_00146390)(value);\n          }\n          puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar10 + iVar5);\n          (*(code *)PTR_strcpy_00146418)(puVar3,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar3 + iVar7,value);\n        }\n      }\n      if ((var->attributes & 0x400U) == 0) {\n        piVar4 = (int *)0x1;\n        if ((var->attributes & 0x100U) != 0) {\n          piVar4 = (int *)0x2;\n        }\n      }\n      else {\n        piVar4 = (int *)&DAT_00000004;\n      }\n      pcVar9 = (char *)0x0;\n      pcVar1 = (char *)(*(code *)PTR_sh_modcase_00144fac)(puVar3);\n      (*(code *)PTR_free_001464fc)(puVar3);\n    }\n    else if ((flags & 1U) == 0) {\n      piVar4 = &expok;\n      lVar14 = evalexp(value,0,piVar4);\n      pcVar9 = (char *)lVar14;\n      if (expok != 0) {\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        pcVar1 = (char *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }\n      if ((flags & 0x200U) == 0) goto LAB_000572ac;\nLAB_00057150:\n      if (*value == '\0') {\n        pcVar1 = (char *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *pcVar1 = '\0';\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)(value);\n        uVar2 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);\n        pcVar1 = (char *)(*(code *)PTR_strcpy_00146418)(uVar2);\n        pcVar9 = value;\n      }\n    }\n    else {\n      validp = &expok;\n      pcVar9 = (char *)0x0;\n      piVar4 = validp;\n      iVar12 = evalexp(var->value,0,validp);\n      if (expok != 0) {\n        pcVar9 = (char *)0x0;\n        iVar13 = evalexp(value,0,validp);\n        piVar4 = validp;\n        if (expok != 0) {\n          lVar14 = iVar12 + iVar13;\n          goto LAB_0005711c;\n        }\n      }\n      if ((flags & 0x200U) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        value = pcVar9;\n        goto LAB_000572c8;\n      }\n      pcVar9 = get_variable_value(var);\n      flags = (int)piVar4;\n      if (pcVar9 != (char *)0x0) goto LAB_000572f0;\n      iVar10 = 1;\n      iVar7 = 0;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\nLAB_0005730c:\n      if (value != (char *)0x0) goto LAB_00057360;\n      pcVar1 = (char *)(*(code *)PTR_xmalloc_001445b0)(iVar10);\n      (*(code *)PTR_strcpy_00146418)(pcVar1);\n    }" if (parenthesized_expression "((var->attributes & 0x10U) == 0)" ( (binary_expression "(var->attributes & 0x10U) == 0" (parenthesized_expression "(var->attributes & 0x10U)" ( (binary_expression "var->attributes & 0x10U" (field_expression "var->attributes" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n      if ((var->attributes & 0x700U) == 0) goto LAB_0005713c;\n      if ((flags & 1U) == 0) {\n        if (*value == '\0') {\n          puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar3 = 0;\n        }\n        else {\n          iVar7 = (*(code *)PTR_strlen_00146390)(value);\n          uVar2 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);\n          puVar3 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar2,value);\n        }\n      }\n      else {\n        pcVar9 = get_variable_value(var);\n        if (pcVar9 == (char *)0x0) {\n          iVar10 = 1;\n          iVar7 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar10 = 1;\n          if (*pcVar9 == '\0') {\n            iVar7 = 0;\n          }\n          else {\n            iVar10 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar7 = 1;\n            }\n            else {\n              iVar10 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar7 = 2;\n              }\n              else {\n                iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar10 = iVar7 + 1;\n              }\n            }\n          }\n        }\n        if (value == (char *)0x0) {\n          puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar10);\n          (*(code *)PTR_strcpy_00146418)(puVar3,pcVar9);\n        }\n        else {\n          iVar5 = 0;\n          if (((*value != '\0') && (iVar5 = 1, value[1] != '\0')) && (iVar5 = 2, value[2] != '\0'))\n          {\n            iVar5 = (*(code *)PTR_strlen_00146390)(value);\n          }\n          puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar10 + iVar5);\n          (*(code *)PTR_strcpy_00146418)(puVar3,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar3 + iVar7,value);\n        }\n      }\n      if ((var->attributes & 0x400U) == 0) {\n        piVar4 = (int *)0x1;\n        if ((var->attributes & 0x100U) != 0) {\n          piVar4 = (int *)0x2;\n        }\n      }\n      else {\n        piVar4 = (int *)&DAT_00000004;\n      }\n      pcVar9 = (char *)0x0;\n      pcVar1 = (char *)(*(code *)PTR_sh_modcase_00144fac)(puVar3);\n      (*(code *)PTR_free_001464fc)(puVar3);\n    }" { (if_statement "if ((var->attributes & 0x700U) == 0) goto LAB_0005713c;" if (parenthesized_expression "((var->attributes & 0x700U) == 0)" ( (binary_expression "(var->attributes & 0x700U) == 0" (parenthesized_expression "(var->attributes & 0x700U)" ( (binary_expression "var->attributes & 0x700U" (field_expression "var->attributes" identifier -> field_identifier) & number_literal) )) == number_literal) )) (goto_statement "goto LAB_0005713c;" goto statement_identifier ;)) (if_statement "if ((flags & 1U) == 0) {\n        if (*value == '\0') {\n          puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar3 = 0;\n        }\n        else {\n          iVar7 = (*(code *)PTR_strlen_00146390)(value);\n          uVar2 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);\n          puVar3 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar2,value);\n        }\n      }\n      else {\n        pcVar9 = get_variable_value(var);\n        if (pcVar9 == (char *)0x0) {\n          iVar10 = 1;\n          iVar7 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar10 = 1;\n          if (*pcVar9 == '\0') {\n            iVar7 = 0;\n          }\n          else {\n            iVar10 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar7 = 1;\n            }\n            else {\n              iVar10 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar7 = 2;\n              }\n              else {\n                iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar10 = iVar7 + 1;\n              }\n            }\n          }\n        }\n        if (value == (char *)0x0) {\n          puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar10);\n          (*(code *)PTR_strcpy_00146418)(puVar3,pcVar9);\n        }\n        else {\n          iVar5 = 0;\n          if (((*value != '\0') && (iVar5 = 1, value[1] != '\0')) && (iVar5 = 2, value[2] != '\0'))\n          {\n            iVar5 = (*(code *)PTR_strlen_00146390)(value);\n          }\n          puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar10 + iVar5);\n          (*(code *)PTR_strcpy_00146418)(puVar3,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar3 + iVar7,value);\n        }\n      }" if (parenthesized_expression "((flags & 1U) == 0)" ( (binary_expression "(flags & 1U) == 0" (parenthesized_expression "(flags & 1U)" ( (binary_expression "flags & 1U" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        if (*value == '\0') {\n          puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar3 = 0;\n        }\n        else {\n          iVar7 = (*(code *)PTR_strlen_00146390)(value);\n          uVar2 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);\n          puVar3 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar2,value);\n        }\n      }" { (if_statement "if (*value == '\0') {\n          puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar3 = 0;\n        }\n        else {\n          iVar7 = (*(code *)PTR_strlen_00146390)(value);\n          uVar2 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);\n          puVar3 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar2,value);\n        }" if (parenthesized_expression "(*value == '\0')" ( (binary_expression "*value == '\0'" (pointer_expression "*value" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar3 = 0;\n        }" { (expression_statement "puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);" (assignment_expression "puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001445b0)(1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1)" ( number_literal ))))) ;) (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) }) (else_clause "else {\n          iVar7 = (*(code *)PTR_strlen_00146390)(value);\n          uVar2 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);\n          puVar3 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar2,value);\n        }" else (compound_statement "{\n          iVar7 = (*(code *)PTR_strlen_00146390)(value);\n          uVar2 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);\n          puVar3 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar2,value);\n        }" { (expression_statement "iVar7 = (*(code *)PTR_strlen_00146390)(value);" (assignment_expression "iVar7 = (*(code *)PTR_strlen_00146390)(value)" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(value)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(value)" ( identifier )))) ;) (expression_statement "uVar2 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);" (assignment_expression "uVar2 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar7 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar7 + 1)" ( (binary_expression "iVar7 + 1" identifier + number_literal) )))) ;) (expression_statement "puVar3 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar2,value);" (assignment_expression "puVar3 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar2,value)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar2,value)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strcpy_00146418)(uVar2,value)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" ( (pointer_expression "*(code *)PTR_strcpy_00146418" * (cast_expression "(code *)PTR_strcpy_00146418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar2,value)" ( identifier , identifier ))))) ;) }))) }) (else_clause "else {\n        pcVar9 = get_variable_value(var);\n        if (pcVar9 == (char *)0x0) {\n          iVar10 = 1;\n          iVar7 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar10 = 1;\n          if (*pcVar9 == '\0') {\n            iVar7 = 0;\n          }\n          else {\n            iVar10 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar7 = 1;\n            }\n            else {\n              iVar10 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar7 = 2;\n              }\n              else {\n                iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar10 = iVar7 + 1;\n              }\n            }\n          }\n        }\n        if (value == (char *)0x0) {\n          puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar10);\n          (*(code *)PTR_strcpy_00146418)(puVar3,pcVar9);\n        }\n        else {\n          iVar5 = 0;\n          if (((*value != '\0') && (iVar5 = 1, value[1] != '\0')) && (iVar5 = 2, value[2] != '\0'))\n          {\n            iVar5 = (*(code *)PTR_strlen_00146390)(value);\n          }\n          puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar10 + iVar5);\n          (*(code *)PTR_strcpy_00146418)(puVar3,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar3 + iVar7,value);\n        }\n      }" else (compound_statement "{\n        pcVar9 = get_variable_value(var);\n        if (pcVar9 == (char *)0x0) {\n          iVar10 = 1;\n          iVar7 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar10 = 1;\n          if (*pcVar9 == '\0') {\n            iVar7 = 0;\n          }\n          else {\n            iVar10 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar7 = 1;\n            }\n            else {\n              iVar10 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar7 = 2;\n              }\n              else {\n                iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar10 = iVar7 + 1;\n              }\n            }\n          }\n        }\n        if (value == (char *)0x0) {\n          puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar10);\n          (*(code *)PTR_strcpy_00146418)(puVar3,pcVar9);\n        }\n        else {\n          iVar5 = 0;\n          if (((*value != '\0') && (iVar5 = 1, value[1] != '\0')) && (iVar5 = 2, value[2] != '\0'))\n          {\n            iVar5 = (*(code *)PTR_strlen_00146390)(value);\n          }\n          puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar10 + iVar5);\n          (*(code *)PTR_strcpy_00146418)(puVar3,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar3 + iVar7,value);\n        }\n      }" { (expression_statement "pcVar9 = get_variable_value(var);" (assignment_expression "pcVar9 = get_variable_value(var)" identifier = (call_expression "get_variable_value(var)" identifier (argument_list "(var)" ( identifier )))) ;) (if_statement "if (pcVar9 == (char *)0x0) {\n          iVar10 = 1;\n          iVar7 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar10 = 1;\n          if (*pcVar9 == '\0') {\n            iVar7 = 0;\n          }\n          else {\n            iVar10 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar7 = 1;\n            }\n            else {\n              iVar10 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar7 = 2;\n              }\n              else {\n                iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar10 = iVar7 + 1;\n              }\n            }\n          }\n        }" if (parenthesized_expression "(pcVar9 == (char *)0x0)" ( (binary_expression "pcVar9 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          iVar10 = 1;\n          iVar7 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }" { (expression_statement "iVar10 = 1;" (assignment_expression "iVar10 = 1" identifier = number_literal) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "pcVar9 = PTR_DAT_001445ac + -0x6800;" (assignment_expression "pcVar9 = PTR_DAT_001445ac + -0x6800" identifier = (binary_expression "PTR_DAT_001445ac + -0x6800" identifier + number_literal)) ;) }) (else_clause "else {\n          iVar10 = 1;\n          if (*pcVar9 == '\0') {\n            iVar7 = 0;\n          }\n          else {\n            iVar10 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar7 = 1;\n            }\n            else {\n              iVar10 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar7 = 2;\n              }\n              else {\n                iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar10 = iVar7 + 1;\n              }\n            }\n          }\n        }" else (compound_statement "{\n          iVar10 = 1;\n          if (*pcVar9 == '\0') {\n            iVar7 = 0;\n          }\n          else {\n            iVar10 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar7 = 1;\n            }\n            else {\n              iVar10 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar7 = 2;\n              }\n              else {\n                iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar10 = iVar7 + 1;\n              }\n            }\n          }\n        }" { (expression_statement "iVar10 = 1;" (assignment_expression "iVar10 = 1" identifier = number_literal) ;) (if_statement "if (*pcVar9 == '\0') {\n            iVar7 = 0;\n          }\n          else {\n            iVar10 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar7 = 1;\n            }\n            else {\n              iVar10 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar7 = 2;\n              }\n              else {\n                iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar10 = iVar7 + 1;\n              }\n            }\n          }" if (parenthesized_expression "(*pcVar9 == '\0')" ( (binary_expression "*pcVar9 == '\0'" (pointer_expression "*pcVar9" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            iVar7 = 0;\n          }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) }) (else_clause "else {\n            iVar10 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar7 = 1;\n            }\n            else {\n              iVar10 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar7 = 2;\n              }\n              else {\n                iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar10 = iVar7 + 1;\n              }\n            }\n          }" else (compound_statement "{\n            iVar10 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar7 = 1;\n            }\n            else {\n              iVar10 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar7 = 2;\n              }\n              else {\n                iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar10 = iVar7 + 1;\n              }\n            }\n          }" { (expression_statement "iVar10 = 2;" (assignment_expression "iVar10 = 2" identifier = number_literal) ;) (if_statement "if (pcVar9[1] == '\0') {\n              iVar7 = 1;\n            }\n            else {\n              iVar10 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar7 = 2;\n              }\n              else {\n                iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar10 = iVar7 + 1;\n              }\n            }" if (parenthesized_expression "(pcVar9[1] == '\0')" ( (binary_expression "pcVar9[1] == '\0'" (subscript_expression "pcVar9[1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n              iVar7 = 1;\n            }" { (expression_statement "iVar7 = 1;" (assignment_expression "iVar7 = 1" identifier = number_literal) ;) }) (else_clause "else {\n              iVar10 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar7 = 2;\n              }\n              else {\n                iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar10 = iVar7 + 1;\n              }\n            }" else (compound_statement "{\n              iVar10 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar7 = 2;\n              }\n              else {\n                iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar10 = iVar7 + 1;\n              }\n            }" { (expression_statement "iVar10 = 3;" (assignment_expression "iVar10 = 3" identifier = number_literal) ;) (if_statement "if (pcVar9[2] == '\0') {\n                iVar7 = 2;\n              }\n              else {\n                iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar10 = iVar7 + 1;\n              }" if (parenthesized_expression "(pcVar9[2] == '\0')" ( (binary_expression "pcVar9[2] == '\0'" (subscript_expression "pcVar9[2]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                iVar7 = 2;\n              }" { (expression_statement "iVar7 = 2;" (assignment_expression "iVar7 = 2" identifier = number_literal) ;) }) (else_clause "else {\n                iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar10 = iVar7 + 1;\n              }" else (compound_statement "{\n                iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar10 = iVar7 + 1;\n              }" { (expression_statement "iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);" (assignment_expression "iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9)" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(pcVar9)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar9)" ( identifier )))) ;) (expression_statement "iVar10 = iVar7 + 1;" (assignment_expression "iVar10 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) }))) }))) }))) }))) (if_statement "if (value == (char *)0x0) {\n          puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar10);\n          (*(code *)PTR_strcpy_00146418)(puVar3,pcVar9);\n        }\n        else {\n          iVar5 = 0;\n          if (((*value != '\0') && (iVar5 = 1, value[1] != '\0')) && (iVar5 = 2, value[2] != '\0'))\n          {\n            iVar5 = (*(code *)PTR_strlen_00146390)(value);\n          }\n          puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar10 + iVar5);\n          (*(code *)PTR_strcpy_00146418)(puVar3,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar3 + iVar7,value);\n        }" if (parenthesized_expression "(value == (char *)0x0)" ( (binary_expression "value == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar10);\n          (*(code *)PTR_strcpy_00146418)(puVar3,pcVar9);\n        }" { (expression_statement "puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar10);" (assignment_expression "puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar10)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar10)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar10)" ( identifier ))))) ;) (expression_statement "(*(code *)PTR_strcpy_00146418)(puVar3,pcVar9);" (call_expression "(*(code *)PTR_strcpy_00146418)(puVar3,pcVar9)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" ( (pointer_expression "*(code *)PTR_strcpy_00146418" * (cast_expression "(code *)PTR_strcpy_00146418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar3,pcVar9)" ( identifier , identifier ))) ;) }) (else_clause "else {\n          iVar5 = 0;\n          if (((*value != '\0') && (iVar5 = 1, value[1] != '\0')) && (iVar5 = 2, value[2] != '\0'))\n          {\n            iVar5 = (*(code *)PTR_strlen_00146390)(value);\n          }\n          puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar10 + iVar5);\n          (*(code *)PTR_strcpy_00146418)(puVar3,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar3 + iVar7,value);\n        }" else (compound_statement "{\n          iVar5 = 0;\n          if (((*value != '\0') && (iVar5 = 1, value[1] != '\0')) && (iVar5 = 2, value[2] != '\0'))\n          {\n            iVar5 = (*(code *)PTR_strlen_00146390)(value);\n          }\n          puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar10 + iVar5);\n          (*(code *)PTR_strcpy_00146418)(puVar3,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar3 + iVar7,value);\n        }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (if_statement "if (((*value != '\0') && (iVar5 = 1, value[1] != '\0')) && (iVar5 = 2, value[2] != '\0'))\n          {\n            iVar5 = (*(code *)PTR_strlen_00146390)(value);\n          }" if (parenthesized_expression "(((*value != '\0') && (iVar5 = 1, value[1] != '\0')) && (iVar5 = 2, value[2] != '\0'))" ( (binary_expression "((*value != '\0') && (iVar5 = 1, value[1] != '\0')) && (iVar5 = 2, value[2] != '\0')" (parenthesized_expression "((*value != '\0') && (iVar5 = 1, value[1] != '\0'))" ( (binary_expression "(*value != '\0') && (iVar5 = 1, value[1] != '\0')" (parenthesized_expression "(*value != '\0')" ( (binary_expression "*value != '\0'" (pointer_expression "*value" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(iVar5 = 1, value[1] != '\0')" ( (comma_expression "iVar5 = 1, value[1] != '\0'" (assignment_expression "iVar5 = 1" identifier = number_literal) , (binary_expression "value[1] != '\0'" (subscript_expression "value[1]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence '))) ))) )) && (parenthesized_expression "(iVar5 = 2, value[2] != '\0')" ( (comma_expression "iVar5 = 2, value[2] != '\0'" (assignment_expression "iVar5 = 2" identifier = number_literal) , (binary_expression "value[2] != '\0'" (subscript_expression "value[2]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence '))) ))) )) (compound_statement "{\n            iVar5 = (*(code *)PTR_strlen_00146390)(value);\n          }" { (expression_statement "iVar5 = (*(code *)PTR_strlen_00146390)(value);" (assignment_expression "iVar5 = (*(code *)PTR_strlen_00146390)(value)" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(value)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(value)" ( identifier )))) ;) })) (expression_statement "puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar10 + iVar5);" (assignment_expression "puVar3 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar10 + iVar5)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar10 + iVar5)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar10 + iVar5)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar10 + iVar5)" ( (binary_expression "iVar10 + iVar5" identifier + identifier) ))))) ;) (expression_statement "(*(code *)PTR_strcpy_00146418)(puVar3,pcVar9);" (call_expression "(*(code *)PTR_strcpy_00146418)(puVar3,pcVar9)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" ( (pointer_expression "*(code *)PTR_strcpy_00146418" * (cast_expression "(code *)PTR_strcpy_00146418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar3,pcVar9)" ( identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_strcpy_00146418)(puVar3 + iVar7,value);" (call_expression "(*(code *)PTR_strcpy_00146418)(puVar3 + iVar7,value)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" ( (pointer_expression "*(code *)PTR_strcpy_00146418" * (cast_expression "(code *)PTR_strcpy_00146418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar3 + iVar7,value)" ( (binary_expression "puVar3 + iVar7" identifier + identifier) , identifier ))) ;) }))) }))) (if_statement "if ((var->attributes & 0x400U) == 0) {\n        piVar4 = (int *)0x1;\n        if ((var->attributes & 0x100U) != 0) {\n          piVar4 = (int *)0x2;\n        }\n      }\n      else {\n        piVar4 = (int *)&DAT_00000004;\n      }" if (parenthesized_expression "((var->attributes & 0x400U) == 0)" ( (binary_expression "(var->attributes & 0x400U) == 0" (parenthesized_expression "(var->attributes & 0x400U)" ( (binary_expression "var->attributes & 0x400U" (field_expression "var->attributes" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n        piVar4 = (int *)0x1;\n        if ((var->attributes & 0x100U) != 0) {\n          piVar4 = (int *)0x2;\n        }\n      }" { (expression_statement "piVar4 = (int *)0x1;" (assignment_expression "piVar4 = (int *)0x1" identifier = (cast_expression "(int *)0x1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if ((var->attributes & 0x100U) != 0) {\n          piVar4 = (int *)0x2;\n        }" if (parenthesized_expression "((var->attributes & 0x100U) != 0)" ( (binary_expression "(var->attributes & 0x100U) != 0" (parenthesized_expression "(var->attributes & 0x100U)" ( (binary_expression "var->attributes & 0x100U" (field_expression "var->attributes" identifier -> field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n          piVar4 = (int *)0x2;\n        }" { (expression_statement "piVar4 = (int *)0x2;" (assignment_expression "piVar4 = (int *)0x2" identifier = (cast_expression "(int *)0x2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) }) (else_clause "else {\n        piVar4 = (int *)&DAT_00000004;\n      }" else (compound_statement "{\n        piVar4 = (int *)&DAT_00000004;\n      }" { (expression_statement "piVar4 = (int *)&DAT_00000004;" (assignment_expression "piVar4 = (int *)&DAT_00000004" identifier = (cast_expression "(int *)&DAT_00000004" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_00000004" & identifier))) ;) }))) (expression_statement "pcVar9 = (char *)0x0;" (assignment_expression "pcVar9 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar1 = (char *)(*(code *)PTR_sh_modcase_00144fac)(puVar3);" (assignment_expression "pcVar1 = (char *)(*(code *)PTR_sh_modcase_00144fac)(puVar3)" identifier = (cast_expression "(char *)(*(code *)PTR_sh_modcase_00144fac)(puVar3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_sh_modcase_00144fac)(puVar3)" (parenthesized_expression "(*(code *)PTR_sh_modcase_00144fac)" ( (pointer_expression "*(code *)PTR_sh_modcase_00144fac" * (cast_expression "(code *)PTR_sh_modcase_00144fac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar3)" ( identifier ))))) ;) (expression_statement "(*(code *)PTR_free_001464fc)(puVar3);" (call_expression "(*(code *)PTR_free_001464fc)(puVar3)" (parenthesized_expression "(*(code *)PTR_free_001464fc)" ( (pointer_expression "*(code *)PTR_free_001464fc" * (cast_expression "(code *)PTR_free_001464fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar3)" ( identifier ))) ;) }) (else_clause "else if ((flags & 1U) == 0) {\n      piVar4 = &expok;\n      lVar14 = evalexp(value,0,piVar4);\n      pcVar9 = (char *)lVar14;\n      if (expok != 0) {\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        pcVar1 = (char *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }\n      if ((flags & 0x200U) == 0) goto LAB_000572ac;\nLAB_00057150:\n      if (*value == '\0') {\n        pcVar1 = (char *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *pcVar1 = '\0';\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)(value);\n        uVar2 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);\n        pcVar1 = (char *)(*(code *)PTR_strcpy_00146418)(uVar2);\n        pcVar9 = value;\n      }\n    }\n    else {\n      validp = &expok;\n      pcVar9 = (char *)0x0;\n      piVar4 = validp;\n      iVar12 = evalexp(var->value,0,validp);\n      if (expok != 0) {\n        pcVar9 = (char *)0x0;\n        iVar13 = evalexp(value,0,validp);\n        piVar4 = validp;\n        if (expok != 0) {\n          lVar14 = iVar12 + iVar13;\n          goto LAB_0005711c;\n        }\n      }\n      if ((flags & 0x200U) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        value = pcVar9;\n        goto LAB_000572c8;\n      }\n      pcVar9 = get_variable_value(var);\n      flags = (int)piVar4;\n      if (pcVar9 != (char *)0x0) goto LAB_000572f0;\n      iVar10 = 1;\n      iVar7 = 0;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\nLAB_0005730c:\n      if (value != (char *)0x0) goto LAB_00057360;\n      pcVar1 = (char *)(*(code *)PTR_xmalloc_001445b0)(iVar10);\n      (*(code *)PTR_strcpy_00146418)(pcVar1);\n    }" else (if_statement "if ((flags & 1U) == 0) {\n      piVar4 = &expok;\n      lVar14 = evalexp(value,0,piVar4);\n      pcVar9 = (char *)lVar14;\n      if (expok != 0) {\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        pcVar1 = (char *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }\n      if ((flags & 0x200U) == 0) goto LAB_000572ac;\nLAB_00057150:\n      if (*value == '\0') {\n        pcVar1 = (char *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *pcVar1 = '\0';\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)(value);\n        uVar2 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);\n        pcVar1 = (char *)(*(code *)PTR_strcpy_00146418)(uVar2);\n        pcVar9 = value;\n      }\n    }\n    else {\n      validp = &expok;\n      pcVar9 = (char *)0x0;\n      piVar4 = validp;\n      iVar12 = evalexp(var->value,0,validp);\n      if (expok != 0) {\n        pcVar9 = (char *)0x0;\n        iVar13 = evalexp(value,0,validp);\n        piVar4 = validp;\n        if (expok != 0) {\n          lVar14 = iVar12 + iVar13;\n          goto LAB_0005711c;\n        }\n      }\n      if ((flags & 0x200U) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        value = pcVar9;\n        goto LAB_000572c8;\n      }\n      pcVar9 = get_variable_value(var);\n      flags = (int)piVar4;\n      if (pcVar9 != (char *)0x0) goto LAB_000572f0;\n      iVar10 = 1;\n      iVar7 = 0;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\nLAB_0005730c:\n      if (value != (char *)0x0) goto LAB_00057360;\n      pcVar1 = (char *)(*(code *)PTR_xmalloc_001445b0)(iVar10);\n      (*(code *)PTR_strcpy_00146418)(pcVar1);\n    }" if (parenthesized_expression "((flags & 1U) == 0)" ( (binary_expression "(flags & 1U) == 0" (parenthesized_expression "(flags & 1U)" ( (binary_expression "flags & 1U" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      piVar4 = &expok;\n      lVar14 = evalexp(value,0,piVar4);\n      pcVar9 = (char *)lVar14;\n      if (expok != 0) {\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        pcVar1 = (char *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }\n      if ((flags & 0x200U) == 0) goto LAB_000572ac;\nLAB_00057150:\n      if (*value == '\0') {\n        pcVar1 = (char *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *pcVar1 = '\0';\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)(value);\n        uVar2 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);\n        pcVar1 = (char *)(*(code *)PTR_strcpy_00146418)(uVar2);\n        pcVar9 = value;\n      }\n    }" { (expression_statement "piVar4 = &expok;" (assignment_expression "piVar4 = &expok" identifier = (pointer_expression "&expok" & identifier)) ;) (expression_statement "lVar14 = evalexp(value,0,piVar4);" (assignment_expression "lVar14 = evalexp(value,0,piVar4)" identifier = (call_expression "evalexp(value,0,piVar4)" identifier (argument_list "(value,0,piVar4)" ( identifier , number_literal , identifier )))) ;) (expression_statement "pcVar9 = (char *)lVar14;" (assignment_expression "pcVar9 = (char *)lVar14" identifier = (cast_expression "(char *)lVar14" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (expok != 0) {\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        pcVar1 = (char *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }" if (parenthesized_expression "(expok != 0)" ( (binary_expression "expok != 0" identifier != number_literal) )) (compound_statement "{\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        pcVar1 = (char *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }" { (labeled_statement "LAB_0005711c:\n        pcVar9 = (char *)lVar14;" statement_identifier : (expression_statement "pcVar9 = (char *)lVar14;" (assignment_expression "pcVar9 = (char *)lVar14" identifier = (cast_expression "(char *)lVar14" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;)) (expression_statement "pcVar1 = (char *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));" (assignment_expression "pcVar1 = (char *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20))" identifier = (cast_expression "(char *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20))" (parenthesized_expression "(*(code *)PTR_itos_001447a4)" ( (pointer_expression "*(code *)PTR_itos_001447a4" * (cast_expression "(code *)PTR_itos_001447a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((int)((ulonglong)lVar14 >> 0x20))" ( (cast_expression "(int)((ulonglong)lVar14 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)lVar14 >> 0x20)" ( (binary_expression "(ulonglong)lVar14 >> 0x20" (cast_expression "(ulonglong)lVar14" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) ))))) ;) (goto_statement "goto LAB_00057194;" goto statement_identifier ;) })) (if_statement "if ((flags & 0x200U) == 0) goto LAB_000572ac;" if (parenthesized_expression "((flags & 0x200U) == 0)" ( (binary_expression "(flags & 0x200U) == 0" (parenthesized_expression "(flags & 0x200U)" ( (binary_expression "flags & 0x200U" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_000572ac;" goto statement_identifier ;)) (labeled_statement "LAB_00057150:\n      if (*value == '\0') {\n        pcVar1 = (char *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *pcVar1 = '\0';\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)(value);\n        uVar2 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);\n        pcVar1 = (char *)(*(code *)PTR_strcpy_00146418)(uVar2);\n        pcVar9 = value;\n      }" statement_identifier : (if_statement "if (*value == '\0') {\n        pcVar1 = (char *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *pcVar1 = '\0';\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)(value);\n        uVar2 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);\n        pcVar1 = (char *)(*(code *)PTR_strcpy_00146418)(uVar2);\n        pcVar9 = value;\n      }" if (parenthesized_expression "(*value == '\0')" ( (binary_expression "*value == '\0'" (pointer_expression "*value" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        pcVar1 = (char *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *pcVar1 = '\0';\n      }" { (expression_statement "pcVar1 = (char *)(*(code *)PTR_xmalloc_001445b0)(1);" (assignment_expression "pcVar1 = (char *)(*(code *)PTR_xmalloc_001445b0)(1)" identifier = (cast_expression "(char *)(*(code *)PTR_xmalloc_001445b0)(1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001445b0)(1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1)" ( number_literal ))))) ;) (expression_statement "*pcVar1 = '\0';" (assignment_expression "*pcVar1 = '\0'" (pointer_expression "*pcVar1" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) }) (else_clause "else {\n        iVar7 = (*(code *)PTR_strlen_00146390)(value);\n        uVar2 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);\n        pcVar1 = (char *)(*(code *)PTR_strcpy_00146418)(uVar2);\n        pcVar9 = value;\n      }" else (compound_statement "{\n        iVar7 = (*(code *)PTR_strlen_00146390)(value);\n        uVar2 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);\n        pcVar1 = (char *)(*(code *)PTR_strcpy_00146418)(uVar2);\n        pcVar9 = value;\n      }" { (expression_statement "iVar7 = (*(code *)PTR_strlen_00146390)(value);" (assignment_expression "iVar7 = (*(code *)PTR_strlen_00146390)(value)" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(value)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(value)" ( identifier )))) ;) (expression_statement "uVar2 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1);" (assignment_expression "uVar2 = (*(code *)PTR_xmalloc_001445b0)(iVar7 + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar7 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar7 + 1)" ( (binary_expression "iVar7 + 1" identifier + number_literal) )))) ;) (expression_statement "pcVar1 = (char *)(*(code *)PTR_strcpy_00146418)(uVar2);" (assignment_expression "pcVar1 = (char *)(*(code *)PTR_strcpy_00146418)(uVar2)" identifier = (cast_expression "(char *)(*(code *)PTR_strcpy_00146418)(uVar2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strcpy_00146418)(uVar2)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" ( (pointer_expression "*(code *)PTR_strcpy_00146418" * (cast_expression "(code *)PTR_strcpy_00146418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar2)" ( identifier ))))) ;) (expression_statement "pcVar9 = value;" (assignment_expression "pcVar9 = value" identifier = identifier) ;) })))) }) (else_clause "else {\n      validp = &expok;\n      pcVar9 = (char *)0x0;\n      piVar4 = validp;\n      iVar12 = evalexp(var->value,0,validp);\n      if (expok != 0) {\n        pcVar9 = (char *)0x0;\n        iVar13 = evalexp(value,0,validp);\n        piVar4 = validp;\n        if (expok != 0) {\n          lVar14 = iVar12 + iVar13;\n          goto LAB_0005711c;\n        }\n      }\n      if ((flags & 0x200U) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        value = pcVar9;\n        goto LAB_000572c8;\n      }\n      pcVar9 = get_variable_value(var);\n      flags = (int)piVar4;\n      if (pcVar9 != (char *)0x0) goto LAB_000572f0;\n      iVar10 = 1;\n      iVar7 = 0;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\nLAB_0005730c:\n      if (value != (char *)0x0) goto LAB_00057360;\n      pcVar1 = (char *)(*(code *)PTR_xmalloc_001445b0)(iVar10);\n      (*(code *)PTR_strcpy_00146418)(pcVar1);\n    }" else (compound_statement "{\n      validp = &expok;\n      pcVar9 = (char *)0x0;\n      piVar4 = validp;\n      iVar12 = evalexp(var->value,0,validp);\n      if (expok != 0) {\n        pcVar9 = (char *)0x0;\n        iVar13 = evalexp(value,0,validp);\n        piVar4 = validp;\n        if (expok != 0) {\n          lVar14 = iVar12 + iVar13;\n          goto LAB_0005711c;\n        }\n      }\n      if ((flags & 0x200U) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        value = pcVar9;\n        goto LAB_000572c8;\n      }\n      pcVar9 = get_variable_value(var);\n      flags = (int)piVar4;\n      if (pcVar9 != (char *)0x0) goto LAB_000572f0;\n      iVar10 = 1;\n      iVar7 = 0;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\nLAB_0005730c:\n      if (value != (char *)0x0) goto LAB_00057360;\n      pcVar1 = (char *)(*(code *)PTR_xmalloc_001445b0)(iVar10);\n      (*(code *)PTR_strcpy_00146418)(pcVar1);\n    }" { (expression_statement "validp = &expok;" (assignment_expression "validp = &expok" identifier = (pointer_expression "&expok" & identifier)) ;) (expression_statement "pcVar9 = (char *)0x0;" (assignment_expression "pcVar9 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "piVar4 = validp;" (assignment_expression "piVar4 = validp" identifier = identifier) ;) (expression_statement "iVar12 = evalexp(var->value,0,validp);" (assignment_expression "iVar12 = evalexp(var->value,0,validp)" identifier = (call_expression "evalexp(var->value,0,validp)" identifier (argument_list "(var->value,0,validp)" ( (field_expression "var->value" identifier -> field_identifier) , number_literal , identifier )))) ;) (if_statement "if (expok != 0) {\n        pcVar9 = (char *)0x0;\n        iVar13 = evalexp(value,0,validp);\n        piVar4 = validp;\n        if (expok != 0) {\n          lVar14 = iVar12 + iVar13;\n          goto LAB_0005711c;\n        }\n      }" if (parenthesized_expression "(expok != 0)" ( (binary_expression "expok != 0" identifier != number_literal) )) (compound_statement "{\n        pcVar9 = (char *)0x0;\n        iVar13 = evalexp(value,0,validp);\n        piVar4 = validp;\n        if (expok != 0) {\n          lVar14 = iVar12 + iVar13;\n          goto LAB_0005711c;\n        }\n      }" { (expression_statement "pcVar9 = (char *)0x0;" (assignment_expression "pcVar9 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar13 = evalexp(value,0,validp);" (assignment_expression "iVar13 = evalexp(value,0,validp)" identifier = (call_expression "evalexp(value,0,validp)" identifier (argument_list "(value,0,validp)" ( identifier , number_literal , identifier )))) ;) (expression_statement "piVar4 = validp;" (assignment_expression "piVar4 = validp" identifier = identifier) ;) (if_statement "if (expok != 0) {\n          lVar14 = iVar12 + iVar13;\n          goto LAB_0005711c;\n        }" if (parenthesized_expression "(expok != 0)" ( (binary_expression "expok != 0" identifier != number_literal) )) (compound_statement "{\n          lVar14 = iVar12 + iVar13;\n          goto LAB_0005711c;\n        }" { (expression_statement "lVar14 = iVar12 + iVar13;" (assignment_expression "lVar14 = iVar12 + iVar13" identifier = (binary_expression "iVar12 + iVar13" identifier + identifier)) ;) (goto_statement "goto LAB_0005711c;" goto statement_identifier ;) })) })) (if_statement "if ((flags & 0x200U) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        value = pcVar9;\n        goto LAB_000572c8;\n      }" if (parenthesized_expression "((flags & 0x200U) == 0)" ( (binary_expression "(flags & 0x200U) == 0" (parenthesized_expression "(flags & 0x200U)" ( (binary_expression "flags & 0x200U" identifier & number_literal) )) == number_literal) )) (compound_statement "{\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        value = pcVar9;\n        goto LAB_000572c8;\n      }" { (labeled_statement "LAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();" statement_identifier : (expression_statement "(*(code *)PTR_top_level_cleanup_00144fb0)();" (call_expression "(*(code *)PTR_top_level_cleanup_00144fb0)()" (parenthesized_expression "(*(code *)PTR_top_level_cleanup_00144fb0)" ( (pointer_expression "*(code *)PTR_top_level_cleanup_00144fb0" * (cast_expression "(code *)PTR_top_level_cleanup_00144fb0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;)) (expression_statement "(*(code *)PTR_jump_to_top_level_00144808)(2);" (call_expression "(*(code *)PTR_jump_to_top_level_00144808)(2)" (parenthesized_expression "(*(code *)PTR_jump_to_top_level_00144808)" ( (pointer_expression "*(code *)PTR_jump_to_top_level_00144808" * (cast_expression "(code *)PTR_jump_to_top_level_00144808" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(2)" ( number_literal ))) ;) (expression_statement "value = pcVar9;" (assignment_expression "value = pcVar9" identifier = identifier) ;) (goto_statement "goto LAB_000572c8;" goto statement_identifier ;) })) (expression_statement "pcVar9 = get_variable_value(var);" (assignment_expression "pcVar9 = get_variable_value(var)" identifier = (call_expression "get_variable_value(var)" identifier (argument_list "(var)" ( identifier )))) ;) (expression_statement "flags = (int)piVar4;" (assignment_expression "flags = (int)piVar4" identifier = (cast_expression "(int)piVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (pcVar9 != (char *)0x0) goto LAB_000572f0;" if (parenthesized_expression "(pcVar9 != (char *)0x0)" ( (binary_expression "pcVar9 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000572f0;" goto statement_identifier ;)) (expression_statement "iVar10 = 1;" (assignment_expression "iVar10 = 1" identifier = number_literal) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "pcVar9 = PTR_DAT_001445ac + -0x6800;" (assignment_expression "pcVar9 = PTR_DAT_001445ac + -0x6800" identifier = (binary_expression "PTR_DAT_001445ac + -0x6800" identifier + number_literal)) ;) (labeled_statement "LAB_0005730c:\n      if (value != (char *)0x0) goto LAB_00057360;" statement_identifier : (if_statement "if (value != (char *)0x0) goto LAB_00057360;" if (parenthesized_expression "(value != (char *)0x0)" ( (binary_expression "value != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00057360;" goto statement_identifier ;))) (expression_statement "pcVar1 = (char *)(*(code *)PTR_xmalloc_001445b0)(iVar10);" (assignment_expression "pcVar1 = (char *)(*(code *)PTR_xmalloc_001445b0)(iVar10)" identifier = (cast_expression "(char *)(*(code *)PTR_xmalloc_001445b0)(iVar10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar10)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar10)" ( identifier ))))) ;) (expression_statement "(*(code *)PTR_strcpy_00146418)(pcVar1);" (call_expression "(*(code *)PTR_strcpy_00146418)(pcVar1)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" ( (pointer_expression "*(code *)PTR_strcpy_00146418" * (cast_expression "(code *)PTR_strcpy_00146418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar1)" ( identifier ))) ;) }))))) }) (else_clause "else {\nLAB_0005713c:\n    piVar4 = (int *)flags;\n    if (value == (char *)0x0) {\nLAB_000572c8:\n      pcVar1 = (char *)0x0;\n      pcVar9 = value;\n    }\n    else {\n      pcVar9 = value;\n      if ((flags & 1U) == 0) goto LAB_00057150;\n      pcVar9 = get_variable_value(var);\n      if (pcVar9 != (char *)0x0) {\nLAB_000572f0:\n        iVar10 = 1;\n        piVar4 = (int *)flags;\n        if (*pcVar9 == '\0') {\n          iVar7 = 0;\n        }\n        else {\n          iVar10 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar7 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar10 = 3;\n            iVar7 = 2;\n          }\n          else {\n            iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar10 = iVar7 + 1;\n            piVar4 = (int *)flags;\n          }\n        }\n        goto LAB_0005730c;\n      }\n      iVar7 = 0;\n      iVar10 = 1;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\n      piVar4 = (int *)flags;\nLAB_00057360:\n      if (*value != '\0') {\n        if (value[1] == '\0') {\n          iVar10 = iVar7 + 2;\n        }\n        else if (value[2] == '\0') {\n          iVar10 = iVar7 + 3;\n        }\n        else {\n          iVar5 = (*(code *)PTR_strlen_00146390)(value);\n          iVar10 = iVar10 + iVar5;\n        }\n      }\n      pcVar1 = (char *)(*(code *)PTR_xmalloc_001445b0)(iVar10);\n      (*(code *)PTR_strcpy_00146418)(pcVar1,pcVar9);\n      (*(code *)PTR_strcpy_00146418)(pcVar1 + iVar7);\n      pcVar9 = value;\n    }\n  }" else (compound_statement "{\nLAB_0005713c:\n    piVar4 = (int *)flags;\n    if (value == (char *)0x0) {\nLAB_000572c8:\n      pcVar1 = (char *)0x0;\n      pcVar9 = value;\n    }\n    else {\n      pcVar9 = value;\n      if ((flags & 1U) == 0) goto LAB_00057150;\n      pcVar9 = get_variable_value(var);\n      if (pcVar9 != (char *)0x0) {\nLAB_000572f0:\n        iVar10 = 1;\n        piVar4 = (int *)flags;\n        if (*pcVar9 == '\0') {\n          iVar7 = 0;\n        }\n        else {\n          iVar10 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar7 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar10 = 3;\n            iVar7 = 2;\n          }\n          else {\n            iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar10 = iVar7 + 1;\n            piVar4 = (int *)flags;\n          }\n        }\n        goto LAB_0005730c;\n      }\n      iVar7 = 0;\n      iVar10 = 1;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\n      piVar4 = (int *)flags;\nLAB_00057360:\n      if (*value != '\0') {\n        if (value[1] == '\0') {\n          iVar10 = iVar7 + 2;\n        }\n        else if (value[2] == '\0') {\n          iVar10 = iVar7 + 3;\n        }\n        else {\n          iVar5 = (*(code *)PTR_strlen_00146390)(value);\n          iVar10 = iVar10 + iVar5;\n        }\n      }\n      pcVar1 = (char *)(*(code *)PTR_xmalloc_001445b0)(iVar10);\n      (*(code *)PTR_strcpy_00146418)(pcVar1,pcVar9);\n      (*(code *)PTR_strcpy_00146418)(pcVar1 + iVar7);\n      pcVar9 = value;\n    }\n  }" { (labeled_statement "LAB_0005713c:\n    piVar4 = (int *)flags;" statement_identifier : (expression_statement "piVar4 = (int *)flags;" (assignment_expression "piVar4 = (int *)flags" identifier = (cast_expression "(int *)flags" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;)) (if_statement "if (value == (char *)0x0) {\nLAB_000572c8:\n      pcVar1 = (char *)0x0;\n      pcVar9 = value;\n    }\n    else {\n      pcVar9 = value;\n      if ((flags & 1U) == 0) goto LAB_00057150;\n      pcVar9 = get_variable_value(var);\n      if (pcVar9 != (char *)0x0) {\nLAB_000572f0:\n        iVar10 = 1;\n        piVar4 = (int *)flags;\n        if (*pcVar9 == '\0') {\n          iVar7 = 0;\n        }\n        else {\n          iVar10 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar7 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar10 = 3;\n            iVar7 = 2;\n          }\n          else {\n            iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar10 = iVar7 + 1;\n            piVar4 = (int *)flags;\n          }\n        }\n        goto LAB_0005730c;\n      }\n      iVar7 = 0;\n      iVar10 = 1;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\n      piVar4 = (int *)flags;\nLAB_00057360:\n      if (*value != '\0') {\n        if (value[1] == '\0') {\n          iVar10 = iVar7 + 2;\n        }\n        else if (value[2] == '\0') {\n          iVar10 = iVar7 + 3;\n        }\n        else {\n          iVar5 = (*(code *)PTR_strlen_00146390)(value);\n          iVar10 = iVar10 + iVar5;\n        }\n      }\n      pcVar1 = (char *)(*(code *)PTR_xmalloc_001445b0)(iVar10);\n      (*(code *)PTR_strcpy_00146418)(pcVar1,pcVar9);\n      (*(code *)PTR_strcpy_00146418)(pcVar1 + iVar7);\n      pcVar9 = value;\n    }" if (parenthesized_expression "(value == (char *)0x0)" ( (binary_expression "value == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_000572c8:\n      pcVar1 = (char *)0x0;\n      pcVar9 = value;\n    }" { (labeled_statement "LAB_000572c8:\n      pcVar1 = (char *)0x0;" statement_identifier : (expression_statement "pcVar1 = (char *)0x0;" (assignment_expression "pcVar1 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (expression_statement "pcVar9 = value;" (assignment_expression "pcVar9 = value" identifier = identifier) ;) }) (else_clause "else {\n      pcVar9 = value;\n      if ((flags & 1U) == 0) goto LAB_00057150;\n      pcVar9 = get_variable_value(var);\n      if (pcVar9 != (char *)0x0) {\nLAB_000572f0:\n        iVar10 = 1;\n        piVar4 = (int *)flags;\n        if (*pcVar9 == '\0') {\n          iVar7 = 0;\n        }\n        else {\n          iVar10 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar7 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar10 = 3;\n            iVar7 = 2;\n          }\n          else {\n            iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar10 = iVar7 + 1;\n            piVar4 = (int *)flags;\n          }\n        }\n        goto LAB_0005730c;\n      }\n      iVar7 = 0;\n      iVar10 = 1;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\n      piVar4 = (int *)flags;\nLAB_00057360:\n      if (*value != '\0') {\n        if (value[1] == '\0') {\n          iVar10 = iVar7 + 2;\n        }\n        else if (value[2] == '\0') {\n          iVar10 = iVar7 + 3;\n        }\n        else {\n          iVar5 = (*(code *)PTR_strlen_00146390)(value);\n          iVar10 = iVar10 + iVar5;\n        }\n      }\n      pcVar1 = (char *)(*(code *)PTR_xmalloc_001445b0)(iVar10);\n      (*(code *)PTR_strcpy_00146418)(pcVar1,pcVar9);\n      (*(code *)PTR_strcpy_00146418)(pcVar1 + iVar7);\n      pcVar9 = value;\n    }" else (compound_statement "{\n      pcVar9 = value;\n      if ((flags & 1U) == 0) goto LAB_00057150;\n      pcVar9 = get_variable_value(var);\n      if (pcVar9 != (char *)0x0) {\nLAB_000572f0:\n        iVar10 = 1;\n        piVar4 = (int *)flags;\n        if (*pcVar9 == '\0') {\n          iVar7 = 0;\n        }\n        else {\n          iVar10 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar7 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar10 = 3;\n            iVar7 = 2;\n          }\n          else {\n            iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar10 = iVar7 + 1;\n            piVar4 = (int *)flags;\n          }\n        }\n        goto LAB_0005730c;\n      }\n      iVar7 = 0;\n      iVar10 = 1;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\n      piVar4 = (int *)flags;\nLAB_00057360:\n      if (*value != '\0') {\n        if (value[1] == '\0') {\n          iVar10 = iVar7 + 2;\n        }\n        else if (value[2] == '\0') {\n          iVar10 = iVar7 + 3;\n        }\n        else {\n          iVar5 = (*(code *)PTR_strlen_00146390)(value);\n          iVar10 = iVar10 + iVar5;\n        }\n      }\n      pcVar1 = (char *)(*(code *)PTR_xmalloc_001445b0)(iVar10);\n      (*(code *)PTR_strcpy_00146418)(pcVar1,pcVar9);\n      (*(code *)PTR_strcpy_00146418)(pcVar1 + iVar7);\n      pcVar9 = value;\n    }" { (expression_statement "pcVar9 = value;" (assignment_expression "pcVar9 = value" identifier = identifier) ;) (if_statement "if ((flags & 1U) == 0) goto LAB_00057150;" if (parenthesized_expression "((flags & 1U) == 0)" ( (binary_expression "(flags & 1U) == 0" (parenthesized_expression "(flags & 1U)" ( (binary_expression "flags & 1U" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_00057150;" goto statement_identifier ;)) (expression_statement "pcVar9 = get_variable_value(var);" (assignment_expression "pcVar9 = get_variable_value(var)" identifier = (call_expression "get_variable_value(var)" identifier (argument_list "(var)" ( identifier )))) ;) (if_statement "if (pcVar9 != (char *)0x0) {\nLAB_000572f0:\n        iVar10 = 1;\n        piVar4 = (int *)flags;\n        if (*pcVar9 == '\0') {\n          iVar7 = 0;\n        }\n        else {\n          iVar10 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar7 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar10 = 3;\n            iVar7 = 2;\n          }\n          else {\n            iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar10 = iVar7 + 1;\n            piVar4 = (int *)flags;\n          }\n        }\n        goto LAB_0005730c;\n      }" if (parenthesized_expression "(pcVar9 != (char *)0x0)" ( (binary_expression "pcVar9 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_000572f0:\n        iVar10 = 1;\n        piVar4 = (int *)flags;\n        if (*pcVar9 == '\0') {\n          iVar7 = 0;\n        }\n        else {\n          iVar10 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar7 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar10 = 3;\n            iVar7 = 2;\n          }\n          else {\n            iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar10 = iVar7 + 1;\n            piVar4 = (int *)flags;\n          }\n        }\n        goto LAB_0005730c;\n      }" { (labeled_statement "LAB_000572f0:\n        iVar10 = 1;" statement_identifier : (expression_statement "iVar10 = 1;" (assignment_expression "iVar10 = 1" identifier = number_literal) ;)) (expression_statement "piVar4 = (int *)flags;" (assignment_expression "piVar4 = (int *)flags" identifier = (cast_expression "(int *)flags" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (*pcVar9 == '\0') {\n          iVar7 = 0;\n        }\n        else {\n          iVar10 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar7 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar10 = 3;\n            iVar7 = 2;\n          }\n          else {\n            iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar10 = iVar7 + 1;\n            piVar4 = (int *)flags;\n          }\n        }" if (parenthesized_expression "(*pcVar9 == '\0')" ( (binary_expression "*pcVar9 == '\0'" (pointer_expression "*pcVar9" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar7 = 0;\n        }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) }) (else_clause "else {\n          iVar10 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar7 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar10 = 3;\n            iVar7 = 2;\n          }\n          else {\n            iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar10 = iVar7 + 1;\n            piVar4 = (int *)flags;\n          }\n        }" else (compound_statement "{\n          iVar10 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar7 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar10 = 3;\n            iVar7 = 2;\n          }\n          else {\n            iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar10 = iVar7 + 1;\n            piVar4 = (int *)flags;\n          }\n        }" { (expression_statement "iVar10 = 2;" (assignment_expression "iVar10 = 2" identifier = number_literal) ;) (if_statement "if (pcVar9[1] == '\0') {\n            iVar7 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar10 = 3;\n            iVar7 = 2;\n          }\n          else {\n            iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar10 = iVar7 + 1;\n            piVar4 = (int *)flags;\n          }" if (parenthesized_expression "(pcVar9[1] == '\0')" ( (binary_expression "pcVar9[1] == '\0'" (subscript_expression "pcVar9[1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            iVar7 = 1;\n          }" { (expression_statement "iVar7 = 1;" (assignment_expression "iVar7 = 1" identifier = number_literal) ;) }) (else_clause "else if (pcVar9[2] == '\0') {\n            iVar10 = 3;\n            iVar7 = 2;\n          }\n          else {\n            iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar10 = iVar7 + 1;\n            piVar4 = (int *)flags;\n          }" else (if_statement "if (pcVar9[2] == '\0') {\n            iVar10 = 3;\n            iVar7 = 2;\n          }\n          else {\n            iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar10 = iVar7 + 1;\n            piVar4 = (int *)flags;\n          }" if (parenthesized_expression "(pcVar9[2] == '\0')" ( (binary_expression "pcVar9[2] == '\0'" (subscript_expression "pcVar9[2]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            iVar10 = 3;\n            iVar7 = 2;\n          }" { (expression_statement "iVar10 = 3;" (assignment_expression "iVar10 = 3" identifier = number_literal) ;) (expression_statement "iVar7 = 2;" (assignment_expression "iVar7 = 2" identifier = number_literal) ;) }) (else_clause "else {\n            iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar10 = iVar7 + 1;\n            piVar4 = (int *)flags;\n          }" else (compound_statement "{\n            iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar10 = iVar7 + 1;\n            piVar4 = (int *)flags;\n          }" { (expression_statement "iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9);" (assignment_expression "iVar7 = (*(code *)PTR_strlen_00146390)(pcVar9)" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(pcVar9)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar9)" ( identifier )))) ;) (expression_statement "iVar10 = iVar7 + 1;" (assignment_expression "iVar10 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (expression_statement "piVar4 = (int *)flags;" (assignment_expression "piVar4 = (int *)flags" identifier = (cast_expression "(int *)flags" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) }))))) }))) (goto_statement "goto LAB_0005730c;" goto statement_identifier ;) })) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "iVar10 = 1;" (assignment_expression "iVar10 = 1" identifier = number_literal) ;) (expression_statement "pcVar9 = PTR_DAT_001445ac + -0x6800;" (assignment_expression "pcVar9 = PTR_DAT_001445ac + -0x6800" identifier = (binary_expression "PTR_DAT_001445ac + -0x6800" identifier + number_literal)) ;) (expression_statement "piVar4 = (int *)flags;" (assignment_expression "piVar4 = (int *)flags" identifier = (cast_expression "(int *)flags" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (labeled_statement "LAB_00057360:\n      if (*value != '\0') {\n        if (value[1] == '\0') {\n          iVar10 = iVar7 + 2;\n        }\n        else if (value[2] == '\0') {\n          iVar10 = iVar7 + 3;\n        }\n        else {\n          iVar5 = (*(code *)PTR_strlen_00146390)(value);\n          iVar10 = iVar10 + iVar5;\n        }\n      }" statement_identifier : (if_statement "if (*value != '\0') {\n        if (value[1] == '\0') {\n          iVar10 = iVar7 + 2;\n        }\n        else if (value[2] == '\0') {\n          iVar10 = iVar7 + 3;\n        }\n        else {\n          iVar5 = (*(code *)PTR_strlen_00146390)(value);\n          iVar10 = iVar10 + iVar5;\n        }\n      }" if (parenthesized_expression "(*value != '\0')" ( (binary_expression "*value != '\0'" (pointer_expression "*value" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        if (value[1] == '\0') {\n          iVar10 = iVar7 + 2;\n        }\n        else if (value[2] == '\0') {\n          iVar10 = iVar7 + 3;\n        }\n        else {\n          iVar5 = (*(code *)PTR_strlen_00146390)(value);\n          iVar10 = iVar10 + iVar5;\n        }\n      }" { (if_statement "if (value[1] == '\0') {\n          iVar10 = iVar7 + 2;\n        }\n        else if (value[2] == '\0') {\n          iVar10 = iVar7 + 3;\n        }\n        else {\n          iVar5 = (*(code *)PTR_strlen_00146390)(value);\n          iVar10 = iVar10 + iVar5;\n        }" if (parenthesized_expression "(value[1] == '\0')" ( (binary_expression "value[1] == '\0'" (subscript_expression "value[1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar10 = iVar7 + 2;\n        }" { (expression_statement "iVar10 = iVar7 + 2;" (assignment_expression "iVar10 = iVar7 + 2" identifier = (binary_expression "iVar7 + 2" identifier + number_literal)) ;) }) (else_clause "else if (value[2] == '\0') {\n          iVar10 = iVar7 + 3;\n        }\n        else {\n          iVar5 = (*(code *)PTR_strlen_00146390)(value);\n          iVar10 = iVar10 + iVar5;\n        }" else (if_statement "if (value[2] == '\0') {\n          iVar10 = iVar7 + 3;\n        }\n        else {\n          iVar5 = (*(code *)PTR_strlen_00146390)(value);\n          iVar10 = iVar10 + iVar5;\n        }" if (parenthesized_expression "(value[2] == '\0')" ( (binary_expression "value[2] == '\0'" (subscript_expression "value[2]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar10 = iVar7 + 3;\n        }" { (expression_statement "iVar10 = iVar7 + 3;" (assignment_expression "iVar10 = iVar7 + 3" identifier = (binary_expression "iVar7 + 3" identifier + number_literal)) ;) }) (else_clause "else {\n          iVar5 = (*(code *)PTR_strlen_00146390)(value);\n          iVar10 = iVar10 + iVar5;\n        }" else (compound_statement "{\n          iVar5 = (*(code *)PTR_strlen_00146390)(value);\n          iVar10 = iVar10 + iVar5;\n        }" { (expression_statement "iVar5 = (*(code *)PTR_strlen_00146390)(value);" (assignment_expression "iVar5 = (*(code *)PTR_strlen_00146390)(value)" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(value)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(value)" ( identifier )))) ;) (expression_statement "iVar10 = iVar10 + iVar5;" (assignment_expression "iVar10 = iVar10 + iVar5" identifier = (binary_expression "iVar10 + iVar5" identifier + identifier)) ;) }))))) }))) (expression_statement "pcVar1 = (char *)(*(code *)PTR_xmalloc_001445b0)(iVar10);" (assignment_expression "pcVar1 = (char *)(*(code *)PTR_xmalloc_001445b0)(iVar10)" identifier = (cast_expression "(char *)(*(code *)PTR_xmalloc_001445b0)(iVar10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar10)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar10)" ( identifier ))))) ;) (expression_statement "(*(code *)PTR_strcpy_00146418)(pcVar1,pcVar9);" (call_expression "(*(code *)PTR_strcpy_00146418)(pcVar1,pcVar9)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" ( (pointer_expression "*(code *)PTR_strcpy_00146418" * (cast_expression "(code *)PTR_strcpy_00146418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar1,pcVar9)" ( identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_strcpy_00146418)(pcVar1 + iVar7);" (call_expression "(*(code *)PTR_strcpy_00146418)(pcVar1 + iVar7)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" ( (pointer_expression "*(code *)PTR_strcpy_00146418" * (cast_expression "(code *)PTR_strcpy_00146418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar1 + iVar7)" ( (binary_expression "pcVar1 + iVar7" identifier + identifier) ))) ;) (expression_statement "pcVar9 = value;" (assignment_expression "pcVar9 = value" identifier = identifier) ;) }))) }))) (labeled_statement "LAB_00057194:\n  if (pSStack_24 == *(SHELL_VAR **)puVar11) {\n    return pcVar1;\n  }" statement_identifier : (if_statement "if (pSStack_24 == *(SHELL_VAR **)puVar11) {\n    return pcVar1;\n  }" if (parenthesized_expression "(pSStack_24 == *(SHELL_VAR **)puVar11)" ( (binary_expression "pSStack_24 == *(SHELL_VAR **)puVar11" identifier == (pointer_expression "*(SHELL_VAR **)puVar11" * (cast_expression "(SHELL_VAR **)puVar11" ( (type_descriptor "SHELL_VAR **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return pcVar1;\n  }" { (return_statement "return pcVar1;" return identifier ;) }))) (expression_statement "var_00 = pSStack_24;" (assignment_expression "var_00 = pSStack_24" identifier = identifier) ;) (expression_statement "puVar11 = PTR___stack_chk_fail_00146488;" (assignment_expression "puVar11 = PTR___stack_chk_fail_00146488" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00146488)();" (call_expression "(*(code *)PTR___stack_chk_fail_00146488)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00146488)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00146488" * (cast_expression "(code *)PTR___stack_chk_fail_00146488" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "uVar8 = var_00->attributes;" (assignment_expression "uVar8 = var_00->attributes" identifier = (field_expression "var_00->attributes" identifier -> field_identifier)) ;) (expression_statement "var_00->attributes = uVar8 & 0xffffefff;" (assignment_expression "var_00->attributes = uVar8 & 0xffffefff" (field_expression "var_00->attributes" identifier -> field_identifier) = (binary_expression "uVar8 & 0xffffefff" identifier & number_literal)) ;) (if_statement "if (var_00->assign_func == (sh_var_assign_func_t *)0x0) {\n    uVar8 = uVar8 & 0x1000;\n    pcVar9 = make_variable_value(var_00,pcVar9,(int)piVar4);\n    if ((((uint)piVar4 & 0x30) == 0x10) &&\n       (iVar7 = check_selfref(var_00->name,pcVar9,0), iVar7 != 0)) {\n      if (**(int **)(puVar11 + 0xed2e0) == 0) {\n        pcVar1 = (char *)(**(code **)(puVar11 + 0xeef1c))(0,*(int *)(puVar11 + 0xecffc) + 0x6e14,5);\n        internal_error(pcVar1,var_00->name);\n        (**(code **)(puVar11 + 0xeef80))(pcVar9);\n        if (uVar8 == 0) {\n          return (char *)0x0;\n        }\n        goto LAB_0005772c;\n      }\n      pcVar1 = (char *)(**(code **)(puVar11 + 0xeef1c))(0,*(int *)(puVar11 + 0xecffc) + 0x6d18);\n      internal_warning(pcVar1,var_00->name);\n    }\n    if ((((uint)piVar4 & 0x10) != 0) && (iVar7 = valid_nameref_value(pcVar9,0), iVar7 == 0)) {\n      (**(code **)(puVar11 + 0xeef80))(pcVar9);\n      if (uVar8 == 0) {\n        return (char *)0x0;\n      }\nLAB_0005772c:\n      var_00->attributes = var_00->attributes | 0x1000;\n      return (char *)0x0;\n    }\n    if (var_00->value != (char *)0x0) {\n      (**(code **)(puVar11 + 0xeef80))();\n    }\n    var_00->value = pcVar9;\n  }\n  else if (((uint)piVar4 & 1) == 0) {\n    (*var_00->assign_func)(var_00,pcVar9,(ulonglong)in_stack_ffffff9c,(char *)0xffffffff);\n  }\n  else {\n    pcVar1 = make_variable_value(var_00,pcVar9,(int)piVar4);\n    (*var_00->assign_func)(var_00,pcVar1,(ulonglong)in_stack_ffffff9c,(char *)0xffffffff);\n    if ((pcVar9 != pcVar1) && (pcVar1 != (char *)0x0)) {\n      (**(code **)(puVar11 + 0xeef80))(pcVar1);\n    }\n  }" if (parenthesized_expression "(var_00->assign_func == (sh_var_assign_func_t *)0x0)" ( (binary_expression "var_00->assign_func == (sh_var_assign_func_t *)0x0" (field_expression "var_00->assign_func" identifier -> field_identifier) == (cast_expression "(sh_var_assign_func_t *)0x0" ( (type_descriptor "sh_var_assign_func_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar8 = uVar8 & 0x1000;\n    pcVar9 = make_variable_value(var_00,pcVar9,(int)piVar4);\n    if ((((uint)piVar4 & 0x30) == 0x10) &&\n       (iVar7 = check_selfref(var_00->name,pcVar9,0), iVar7 != 0)) {\n      if (**(int **)(puVar11 + 0xed2e0) == 0) {\n        pcVar1 = (char *)(**(code **)(puVar11 + 0xeef1c))(0,*(int *)(puVar11 + 0xecffc) + 0x6e14,5);\n        internal_error(pcVar1,var_00->name);\n        (**(code **)(puVar11 + 0xeef80))(pcVar9);\n        if (uVar8 == 0) {\n          return (char *)0x0;\n        }\n        goto LAB_0005772c;\n      }\n      pcVar1 = (char *)(**(code **)(puVar11 + 0xeef1c))(0,*(int *)(puVar11 + 0xecffc) + 0x6d18);\n      internal_warning(pcVar1,var_00->name);\n    }\n    if ((((uint)piVar4 & 0x10) != 0) && (iVar7 = valid_nameref_value(pcVar9,0), iVar7 == 0)) {\n      (**(code **)(puVar11 + 0xeef80))(pcVar9);\n      if (uVar8 == 0) {\n        return (char *)0x0;\n      }\nLAB_0005772c:\n      var_00->attributes = var_00->attributes | 0x1000;\n      return (char *)0x0;\n    }\n    if (var_00->value != (char *)0x0) {\n      (**(code **)(puVar11 + 0xeef80))();\n    }\n    var_00->value = pcVar9;\n  }" { (expression_statement "uVar8 = uVar8 & 0x1000;" (assignment_expression "uVar8 = uVar8 & 0x1000" identifier = (binary_expression "uVar8 & 0x1000" identifier & number_literal)) ;) (expression_statement "pcVar9 = make_variable_value(var_00,pcVar9,(int)piVar4);" (assignment_expression "pcVar9 = make_variable_value(var_00,pcVar9,(int)piVar4)" identifier = (call_expression "make_variable_value(var_00,pcVar9,(int)piVar4)" identifier (argument_list "(var_00,pcVar9,(int)piVar4)" ( identifier , identifier , (cast_expression "(int)piVar4" ( (type_descriptor "int" primitive_type) ) identifier) )))) ;) (if_statement "if ((((uint)piVar4 & 0x30) == 0x10) &&\n       (iVar7 = check_selfref(var_00->name,pcVar9,0), iVar7 != 0)) {\n      if (**(int **)(puVar11 + 0xed2e0) == 0) {\n        pcVar1 = (char *)(**(code **)(puVar11 + 0xeef1c))(0,*(int *)(puVar11 + 0xecffc) + 0x6e14,5);\n        internal_error(pcVar1,var_00->name);\n        (**(code **)(puVar11 + 0xeef80))(pcVar9);\n        if (uVar8 == 0) {\n          return (char *)0x0;\n        }\n        goto LAB_0005772c;\n      }\n      pcVar1 = (char *)(**(code **)(puVar11 + 0xeef1c))(0,*(int *)(puVar11 + 0xecffc) + 0x6d18);\n      internal_warning(pcVar1,var_00->name);\n    }" if (parenthesized_expression "((((uint)piVar4 & 0x30) == 0x10) &&\n       (iVar7 = check_selfref(var_00->name,pcVar9,0), iVar7 != 0))" ( (binary_expression "(((uint)piVar4 & 0x30) == 0x10) &&\n       (iVar7 = check_selfref(var_00->name,pcVar9,0), iVar7 != 0)" (parenthesized_expression "(((uint)piVar4 & 0x30) == 0x10)" ( (binary_expression "((uint)piVar4 & 0x30) == 0x10" (parenthesized_expression "((uint)piVar4 & 0x30)" ( (binary_expression "(uint)piVar4 & 0x30" (cast_expression "(uint)piVar4" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) == number_literal) )) && (parenthesized_expression "(iVar7 = check_selfref(var_00->name,pcVar9,0), iVar7 != 0)" ( (comma_expression "iVar7 = check_selfref(var_00->name,pcVar9,0), iVar7 != 0" (assignment_expression "iVar7 = check_selfref(var_00->name,pcVar9,0)" identifier = (call_expression "check_selfref(var_00->name,pcVar9,0)" identifier (argument_list "(var_00->name,pcVar9,0)" ( (field_expression "var_00->name" identifier -> field_identifier) , identifier , number_literal )))) , (binary_expression "iVar7 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      if (**(int **)(puVar11 + 0xed2e0) == 0) {\n        pcVar1 = (char *)(**(code **)(puVar11 + 0xeef1c))(0,*(int *)(puVar11 + 0xecffc) + 0x6e14,5);\n        internal_error(pcVar1,var_00->name);\n        (**(code **)(puVar11 + 0xeef80))(pcVar9);\n        if (uVar8 == 0) {\n          return (char *)0x0;\n        }\n        goto LAB_0005772c;\n      }\n      pcVar1 = (char *)(**(code **)(puVar11 + 0xeef1c))(0,*(int *)(puVar11 + 0xecffc) + 0x6d18);\n      internal_warning(pcVar1,var_00->name);\n    }" { (if_statement "if (**(int **)(puVar11 + 0xed2e0) == 0) {\n        pcVar1 = (char *)(**(code **)(puVar11 + 0xeef1c))(0,*(int *)(puVar11 + 0xecffc) + 0x6e14,5);\n        internal_error(pcVar1,var_00->name);\n        (**(code **)(puVar11 + 0xeef80))(pcVar9);\n        if (uVar8 == 0) {\n          return (char *)0x0;\n        }\n        goto LAB_0005772c;\n      }" if (parenthesized_expression "(**(int **)(puVar11 + 0xed2e0) == 0)" ( (binary_expression "**(int **)(puVar11 + 0xed2e0) == 0" (pointer_expression "**(int **)(puVar11 + 0xed2e0)" * (pointer_expression "*(int **)(puVar11 + 0xed2e0)" * (cast_expression "(int **)(puVar11 + 0xed2e0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0xed2e0)" ( (binary_expression "puVar11 + 0xed2e0" identifier + number_literal) ))))) == number_literal) )) (compound_statement "{\n        pcVar1 = (char *)(**(code **)(puVar11 + 0xeef1c))(0,*(int *)(puVar11 + 0xecffc) + 0x6e14,5);\n        internal_error(pcVar1,var_00->name);\n        (**(code **)(puVar11 + 0xeef80))(pcVar9);\n        if (uVar8 == 0) {\n          return (char *)0x0;\n        }\n        goto LAB_0005772c;\n      }" { (expression_statement "pcVar1 = (char *)(**(code **)(puVar11 + 0xeef1c))(0,*(int *)(puVar11 + 0xecffc) + 0x6e14,5);" (assignment_expression "pcVar1 = (char *)(**(code **)(puVar11 + 0xeef1c))(0,*(int *)(puVar11 + 0xecffc) + 0x6e14,5)" identifier = (cast_expression "(char *)(**(code **)(puVar11 + 0xeef1c))(0,*(int *)(puVar11 + 0xecffc) + 0x6e14,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar11 + 0xeef1c))(0,*(int *)(puVar11 + 0xecffc) + 0x6e14,5)" (parenthesized_expression "(**(code **)(puVar11 + 0xeef1c))" ( (pointer_expression "**(code **)(puVar11 + 0xeef1c)" * (pointer_expression "*(code **)(puVar11 + 0xeef1c)" * (cast_expression "(code **)(puVar11 + 0xeef1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0xeef1c)" ( (binary_expression "puVar11 + 0xeef1c" identifier + number_literal) ))))) )) (argument_list "(0,*(int *)(puVar11 + 0xecffc) + 0x6e14,5)" ( number_literal , (binary_expression "*(int *)(puVar11 + 0xecffc) + 0x6e14" (pointer_expression "*(int *)(puVar11 + 0xecffc)" * (cast_expression "(int *)(puVar11 + 0xecffc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar11 + 0xecffc)" ( (binary_expression "puVar11 + 0xecffc" identifier + number_literal) )))) + number_literal) , number_literal ))))) ;) (expression_statement "internal_error(pcVar1,var_00->name);" (call_expression "internal_error(pcVar1,var_00->name)" identifier (argument_list "(pcVar1,var_00->name)" ( identifier , (field_expression "var_00->name" identifier -> field_identifier) ))) ;) (expression_statement "(**(code **)(puVar11 + 0xeef80))(pcVar9);" (call_expression "(**(code **)(puVar11 + 0xeef80))(pcVar9)" (parenthesized_expression "(**(code **)(puVar11 + 0xeef80))" ( (pointer_expression "**(code **)(puVar11 + 0xeef80)" * (pointer_expression "*(code **)(puVar11 + 0xeef80)" * (cast_expression "(code **)(puVar11 + 0xeef80)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0xeef80)" ( (binary_expression "puVar11 + 0xeef80" identifier + number_literal) ))))) )) (argument_list "(pcVar9)" ( identifier ))) ;) (if_statement "if (uVar8 == 0) {\n          return (char *)0x0;\n        }" if (parenthesized_expression "(uVar8 == 0)" ( (binary_expression "uVar8 == 0" identifier == number_literal) )) (compound_statement "{\n          return (char *)0x0;\n        }" { (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (goto_statement "goto LAB_0005772c;" goto statement_identifier ;) })) (expression_statement "pcVar1 = (char *)(**(code **)(puVar11 + 0xeef1c))(0,*(int *)(puVar11 + 0xecffc) + 0x6d18);" (assignment_expression "pcVar1 = (char *)(**(code **)(puVar11 + 0xeef1c))(0,*(int *)(puVar11 + 0xecffc) + 0x6d18)" identifier = (cast_expression "(char *)(**(code **)(puVar11 + 0xeef1c))(0,*(int *)(puVar11 + 0xecffc) + 0x6d18)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar11 + 0xeef1c))(0,*(int *)(puVar11 + 0xecffc) + 0x6d18)" (parenthesized_expression "(**(code **)(puVar11 + 0xeef1c))" ( (pointer_expression "**(code **)(puVar11 + 0xeef1c)" * (pointer_expression "*(code **)(puVar11 + 0xeef1c)" * (cast_expression "(code **)(puVar11 + 0xeef1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0xeef1c)" ( (binary_expression "puVar11 + 0xeef1c" identifier + number_literal) ))))) )) (argument_list "(0,*(int *)(puVar11 + 0xecffc) + 0x6d18)" ( number_literal , (binary_expression "*(int *)(puVar11 + 0xecffc) + 0x6d18" (pointer_expression "*(int *)(puVar11 + 0xecffc)" * (cast_expression "(int *)(puVar11 + 0xecffc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar11 + 0xecffc)" ( (binary_expression "puVar11 + 0xecffc" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "internal_warning(pcVar1,var_00->name);" (call_expression "internal_warning(pcVar1,var_00->name)" identifier (argument_list "(pcVar1,var_00->name)" ( identifier , (field_expression "var_00->name" identifier -> field_identifier) ))) ;) })) (if_statement "if ((((uint)piVar4 & 0x10) != 0) && (iVar7 = valid_nameref_value(pcVar9,0), iVar7 == 0)) {\n      (**(code **)(puVar11 + 0xeef80))(pcVar9);\n      if (uVar8 == 0) {\n        return (char *)0x0;\n      }\nLAB_0005772c:\n      var_00->attributes = var_00->attributes | 0x1000;\n      return (char *)0x0;\n    }" if (parenthesized_expression "((((uint)piVar4 & 0x10) != 0) && (iVar7 = valid_nameref_value(pcVar9,0), iVar7 == 0))" ( (binary_expression "(((uint)piVar4 & 0x10) != 0) && (iVar7 = valid_nameref_value(pcVar9,0), iVar7 == 0)" (parenthesized_expression "(((uint)piVar4 & 0x10) != 0)" ( (binary_expression "((uint)piVar4 & 0x10) != 0" (parenthesized_expression "((uint)piVar4 & 0x10)" ( (binary_expression "(uint)piVar4 & 0x10" (cast_expression "(uint)piVar4" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) != number_literal) )) && (parenthesized_expression "(iVar7 = valid_nameref_value(pcVar9,0), iVar7 == 0)" ( (comma_expression "iVar7 = valid_nameref_value(pcVar9,0), iVar7 == 0" (assignment_expression "iVar7 = valid_nameref_value(pcVar9,0)" identifier = (call_expression "valid_nameref_value(pcVar9,0)" identifier (argument_list "(pcVar9,0)" ( identifier , number_literal )))) , (binary_expression "iVar7 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      (**(code **)(puVar11 + 0xeef80))(pcVar9);\n      if (uVar8 == 0) {\n        return (char *)0x0;\n      }\nLAB_0005772c:\n      var_00->attributes = var_00->attributes | 0x1000;\n      return (char *)0x0;\n    }" { (expression_statement "(**(code **)(puVar11 + 0xeef80))(pcVar9);" (call_expression "(**(code **)(puVar11 + 0xeef80))(pcVar9)" (parenthesized_expression "(**(code **)(puVar11 + 0xeef80))" ( (pointer_expression "**(code **)(puVar11 + 0xeef80)" * (pointer_expression "*(code **)(puVar11 + 0xeef80)" * (cast_expression "(code **)(puVar11 + 0xeef80)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0xeef80)" ( (binary_expression "puVar11 + 0xeef80" identifier + number_literal) ))))) )) (argument_list "(pcVar9)" ( identifier ))) ;) (if_statement "if (uVar8 == 0) {\n        return (char *)0x0;\n      }" if (parenthesized_expression "(uVar8 == 0)" ( (binary_expression "uVar8 == 0" identifier == number_literal) )) (compound_statement "{\n        return (char *)0x0;\n      }" { (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (labeled_statement "LAB_0005772c:\n      var_00->attributes = var_00->attributes | 0x1000;" statement_identifier : (expression_statement "var_00->attributes = var_00->attributes | 0x1000;" (assignment_expression "var_00->attributes = var_00->attributes | 0x1000" (field_expression "var_00->attributes" identifier -> field_identifier) = (binary_expression "var_00->attributes | 0x1000" (field_expression "var_00->attributes" identifier -> field_identifier) | number_literal)) ;)) (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (if_statement "if (var_00->value != (char *)0x0) {\n      (**(code **)(puVar11 + 0xeef80))();\n    }" if (parenthesized_expression "(var_00->value != (char *)0x0)" ( (binary_expression "var_00->value != (char *)0x0" (field_expression "var_00->value" identifier -> field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (**(code **)(puVar11 + 0xeef80))();\n    }" { (expression_statement "(**(code **)(puVar11 + 0xeef80))();" (call_expression "(**(code **)(puVar11 + 0xeef80))()" (parenthesized_expression "(**(code **)(puVar11 + 0xeef80))" ( (pointer_expression "**(code **)(puVar11 + 0xeef80)" * (pointer_expression "*(code **)(puVar11 + 0xeef80)" * (cast_expression "(code **)(puVar11 + 0xeef80)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0xeef80)" ( (binary_expression "puVar11 + 0xeef80" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (expression_statement "var_00->value = pcVar9;" (assignment_expression "var_00->value = pcVar9" (field_expression "var_00->value" identifier -> field_identifier) = identifier) ;) }) (else_clause "else if (((uint)piVar4 & 1) == 0) {\n    (*var_00->assign_func)(var_00,pcVar9,(ulonglong)in_stack_ffffff9c,(char *)0xffffffff);\n  }\n  else {\n    pcVar1 = make_variable_value(var_00,pcVar9,(int)piVar4);\n    (*var_00->assign_func)(var_00,pcVar1,(ulonglong)in_stack_ffffff9c,(char *)0xffffffff);\n    if ((pcVar9 != pcVar1) && (pcVar1 != (char *)0x0)) {\n      (**(code **)(puVar11 + 0xeef80))(pcVar1);\n    }\n  }" else (if_statement "if (((uint)piVar4 & 1) == 0) {\n    (*var_00->assign_func)(var_00,pcVar9,(ulonglong)in_stack_ffffff9c,(char *)0xffffffff);\n  }\n  else {\n    pcVar1 = make_variable_value(var_00,pcVar9,(int)piVar4);\n    (*var_00->assign_func)(var_00,pcVar1,(ulonglong)in_stack_ffffff9c,(char *)0xffffffff);\n    if ((pcVar9 != pcVar1) && (pcVar1 != (char *)0x0)) {\n      (**(code **)(puVar11 + 0xeef80))(pcVar1);\n    }\n  }" if (parenthesized_expression "(((uint)piVar4 & 1) == 0)" ( (binary_expression "((uint)piVar4 & 1) == 0" (parenthesized_expression "((uint)piVar4 & 1)" ( (binary_expression "(uint)piVar4 & 1" (cast_expression "(uint)piVar4" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    (*var_00->assign_func)(var_00,pcVar9,(ulonglong)in_stack_ffffff9c,(char *)0xffffffff);\n  }" { (expression_statement "(*var_00->assign_func)(var_00,pcVar9,(ulonglong)in_stack_ffffff9c,(char *)0xffffffff);" (call_expression "(*var_00->assign_func)(var_00,pcVar9,(ulonglong)in_stack_ffffff9c,(char *)0xffffffff)" (parenthesized_expression "(*var_00->assign_func)" ( (pointer_expression "*var_00->assign_func" * (field_expression "var_00->assign_func" identifier -> field_identifier)) )) (argument_list "(var_00,pcVar9,(ulonglong)in_stack_ffffff9c,(char *)0xffffffff)" ( identifier , identifier , (cast_expression "(ulonglong)in_stack_ffffff9c" ( (type_descriptor "ulonglong" type_identifier) ) identifier) , (cast_expression "(char *)0xffffffff" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;) }) (else_clause "else {\n    pcVar1 = make_variable_value(var_00,pcVar9,(int)piVar4);\n    (*var_00->assign_func)(var_00,pcVar1,(ulonglong)in_stack_ffffff9c,(char *)0xffffffff);\n    if ((pcVar9 != pcVar1) && (pcVar1 != (char *)0x0)) {\n      (**(code **)(puVar11 + 0xeef80))(pcVar1);\n    }\n  }" else (compound_statement "{\n    pcVar1 = make_variable_value(var_00,pcVar9,(int)piVar4);\n    (*var_00->assign_func)(var_00,pcVar1,(ulonglong)in_stack_ffffff9c,(char *)0xffffffff);\n    if ((pcVar9 != pcVar1) && (pcVar1 != (char *)0x0)) {\n      (**(code **)(puVar11 + 0xeef80))(pcVar1);\n    }\n  }" { (expression_statement "pcVar1 = make_variable_value(var_00,pcVar9,(int)piVar4);" (assignment_expression "pcVar1 = make_variable_value(var_00,pcVar9,(int)piVar4)" identifier = (call_expression "make_variable_value(var_00,pcVar9,(int)piVar4)" identifier (argument_list "(var_00,pcVar9,(int)piVar4)" ( identifier , identifier , (cast_expression "(int)piVar4" ( (type_descriptor "int" primitive_type) ) identifier) )))) ;) (expression_statement "(*var_00->assign_func)(var_00,pcVar1,(ulonglong)in_stack_ffffff9c,(char *)0xffffffff);" (call_expression "(*var_00->assign_func)(var_00,pcVar1,(ulonglong)in_stack_ffffff9c,(char *)0xffffffff)" (parenthesized_expression "(*var_00->assign_func)" ( (pointer_expression "*var_00->assign_func" * (field_expression "var_00->assign_func" identifier -> field_identifier)) )) (argument_list "(var_00,pcVar1,(ulonglong)in_stack_ffffff9c,(char *)0xffffffff)" ( identifier , identifier , (cast_expression "(ulonglong)in_stack_ffffff9c" ( (type_descriptor "ulonglong" type_identifier) ) identifier) , (cast_expression "(char *)0xffffffff" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;) (if_statement "if ((pcVar9 != pcVar1) && (pcVar1 != (char *)0x0)) {\n      (**(code **)(puVar11 + 0xeef80))(pcVar1);\n    }" if (parenthesized_expression "((pcVar9 != pcVar1) && (pcVar1 != (char *)0x0))" ( (binary_expression "(pcVar9 != pcVar1) && (pcVar1 != (char *)0x0)" (parenthesized_expression "(pcVar9 != pcVar1)" ( (binary_expression "pcVar9 != pcVar1" identifier != identifier) )) && (parenthesized_expression "(pcVar1 != (char *)0x0)" ( (binary_expression "pcVar1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n      (**(code **)(puVar11 + 0xeef80))(pcVar1);\n    }" { (expression_statement "(**(code **)(puVar11 + 0xeef80))(pcVar1);" (call_expression "(**(code **)(puVar11 + 0xeef80))(pcVar1)" (parenthesized_expression "(**(code **)(puVar11 + 0xeef80))" ( (pointer_expression "**(code **)(puVar11 + 0xeef80)" * (pointer_expression "*(code **)(puVar11 + 0xeef80)" * (cast_expression "(code **)(puVar11 + 0xeef80)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0xeef80)" ( (binary_expression "puVar11 + 0xeef80" identifier + number_literal) ))))) )) (argument_list "(pcVar1)" ( identifier ))) ;) })) }))))) (if_statement "if (var_00->exportstr != (char *)0x0) {\n    (**(code **)(puVar11 + 0xeef80))();\n    var_00->exportstr = (char *)0x0;\n  }" if (parenthesized_expression "(var_00->exportstr != (char *)0x0)" ( (binary_expression "var_00->exportstr != (char *)0x0" (field_expression "var_00->exportstr" identifier -> field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (**(code **)(puVar11 + 0xeef80))();\n    var_00->exportstr = (char *)0x0;\n  }" { (expression_statement "(**(code **)(puVar11 + 0xeef80))();" (call_expression "(**(code **)(puVar11 + 0xeef80))()" (parenthesized_expression "(**(code **)(puVar11 + 0xeef80))" ( (pointer_expression "**(code **)(puVar11 + 0xeef80)" * (pointer_expression "*(code **)(puVar11 + 0xeef80)" * (cast_expression "(code **)(puVar11 + 0xeef80)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0xeef80)" ( (binary_expression "puVar11 + 0xeef80" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (expression_statement "var_00->exportstr = (char *)0x0;" (assignment_expression "var_00->exportstr = (char *)0x0" (field_expression "var_00->exportstr" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (if_statement "if (**(int **)(puVar11 + 0xeda38) == 0) {\n    puVar6 = *(undefined4 **)(puVar11 + 0xeda3c);\n    if ((var_00->attributes & 1U) == 0) {\n      return (char *)var_00;\n    }\n  }\n  else {\n    var_00->attributes = var_00->attributes | 1;\n    puVar6 = *(undefined4 **)(puVar11 + 0xeda3c);\n  }" if (parenthesized_expression "(**(int **)(puVar11 + 0xeda38) == 0)" ( (binary_expression "**(int **)(puVar11 + 0xeda38) == 0" (pointer_expression "**(int **)(puVar11 + 0xeda38)" * (pointer_expression "*(int **)(puVar11 + 0xeda38)" * (cast_expression "(int **)(puVar11 + 0xeda38)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0xeda38)" ( (binary_expression "puVar11 + 0xeda38" identifier + number_literal) ))))) == number_literal) )) (compound_statement "{\n    puVar6 = *(undefined4 **)(puVar11 + 0xeda3c);\n    if ((var_00->attributes & 1U) == 0) {\n      return (char *)var_00;\n    }\n  }" { (expression_statement "puVar6 = *(undefined4 **)(puVar11 + 0xeda3c);" (assignment_expression "puVar6 = *(undefined4 **)(puVar11 + 0xeda3c)" identifier = (pointer_expression "*(undefined4 **)(puVar11 + 0xeda3c)" * (cast_expression "(undefined4 **)(puVar11 + 0xeda3c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0xeda3c)" ( (binary_expression "puVar11 + 0xeda3c" identifier + number_literal) ))))) ;) (if_statement "if ((var_00->attributes & 1U) == 0) {\n      return (char *)var_00;\n    }" if (parenthesized_expression "((var_00->attributes & 1U) == 0)" ( (binary_expression "(var_00->attributes & 1U) == 0" (parenthesized_expression "(var_00->attributes & 1U)" ( (binary_expression "var_00->attributes & 1U" (field_expression "var_00->attributes" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n      return (char *)var_00;\n    }" { (return_statement "return (char *)var_00;" return (cast_expression "(char *)var_00" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) ;) })) }) (else_clause "else {\n    var_00->attributes = var_00->attributes | 1;\n    puVar6 = *(undefined4 **)(puVar11 + 0xeda3c);\n  }" else (compound_statement "{\n    var_00->attributes = var_00->attributes | 1;\n    puVar6 = *(undefined4 **)(puVar11 + 0xeda3c);\n  }" { (expression_statement "var_00->attributes = var_00->attributes | 1;" (assignment_expression "var_00->attributes = var_00->attributes | 1" (field_expression "var_00->attributes" identifier -> field_identifier) = (binary_expression "var_00->attributes | 1" (field_expression "var_00->attributes" identifier -> field_identifier) | number_literal)) ;) (expression_statement "puVar6 = *(undefined4 **)(puVar11 + 0xeda3c);" (assignment_expression "puVar6 = *(undefined4 **)(puVar11 + 0xeda3c)" identifier = (pointer_expression "*(undefined4 **)(puVar11 + 0xeda3c)" * (cast_expression "(undefined4 **)(puVar11 + 0xeda3c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0xeda3c)" ( (binary_expression "puVar11 + 0xeda3c" identifier + number_literal) ))))) ;) }))) (expression_statement "*puVar6 = 1;" (assignment_expression "*puVar6 = 1" (pointer_expression "*puVar6" * identifier) = number_literal) ;) (return_statement "return (char *)var_00;" return (cast_expression "(char *)var_00" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) ;) })))
(translation_unit "undefined4 * make_variable_value(int param_1,char *param_2,uint param_3)\n\n{\n  undefined4 *puVar1;\n  undefined1 *puVar2;\n  int iVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined4 uVar7;\n  undefined4 *puVar8;\n  char *pcVar9;\n  uint uVar10;\n  int iVar11;\n  uint uVar12;\n  undefined *puVar13;\n  longlong lVar14;\n  longlong lVar15;\n  int local_28;\n  \n  puVar13 = PTR___stack_chk_guard_001464dc;\n  puVar8 = *(undefined4 **)PTR___stack_chk_guard_001464dc;\n  if ((param_3 & 0x100) == 0) {\n    if ((*(uint *)(param_1 + 0x14) & 0x10) == 0) {\n      if ((*(uint *)(param_1 + 0x14) & 0x700) == 0) goto LAB_0005713c;\n      if ((param_3 & 1) == 0) {\n        if (*param_2 == '\0') {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar2 = 0;\n        }\n        else {\n          iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n          puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2);\n        }\n      }\n      else {\n        pcVar9 = (char *)get_variable_value();\n        if (pcVar9 == (char *)0x0) {\n          iVar11 = 1;\n          iVar6 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar11 = 1;\n          if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }\n        }\n        if (param_2 == (char *)0x0) {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n        }\n        else {\n          iVar3 = 0;\n          if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);\n        }\n      }\n      if ((*(uint *)(param_1 + 0x14) & 0x400) == 0) {\n        uVar10 = (uint)((*(uint *)(param_1 + 0x14) & 0x100) == 0);\n      }\n      else {\n        uVar10 = 0;\n      }\n      pcVar9 = (char *)0x0;\n      puVar1 = (undefined4 *)(*(code *)PTR_sh_modcase_00144fac)(puVar2);\n      (*(code *)PTR_free_001464fc)(puVar2);\n    }\n    else if ((param_3 & 1) == 0) {\n      uVar10 = 0xffffffd8;\n      lVar14 = evalexp(param_2,0);\n      pcVar9 = (char *)lVar14;\n      if (local_28 != 0) {\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        puVar1 = (undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }\n      if ((param_3 & 0x200) == 0) goto LAB_000572ac;\nLAB_00057150:\n      if (*param_2 == '\0') {\n        puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *(undefined1 *)puVar1 = 0;\n      }\n      else {\n        iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n        uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n        puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);\n        pcVar9 = param_2;\n      }\n    }\n    else {\n      uVar12 = 0xffffffd8;\n      pcVar9 = (char *)0x0;\n      uVar10 = uVar12;\n      lVar14 = evalexp(*(undefined4 *)(param_1 + 4));\n      if (local_28 != 0) {\n        pcVar9 = (char *)0x0;\n        lVar15 = evalexp(param_2);\n        uVar10 = uVar12;\n        if (local_28 != 0) {\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }\n      }\n      if ((param_3 & 0x200) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        param_2 = pcVar9;\n        goto LAB_000572c8;\n      }\n      pcVar9 = (char *)get_variable_value(param_1);\n      param_3 = uVar10;\n      if (pcVar9 != (char *)0x0) goto LAB_000572f0;\n      iVar11 = 1;\n      iVar6 = 0;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\nLAB_0005730c:\n      if (param_2 != (char *)0x0) goto LAB_00057360;\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1);\n    }\n  }\n  else {\nLAB_0005713c:\n    uVar10 = param_3;\n    if (param_2 == (char *)0x0) {\nLAB_000572c8:\n      puVar1 = (undefined4 *)0x0;\n      pcVar9 = param_2;\n    }\n    else {\n      pcVar9 = param_2;\n      if ((param_3 & 1) == 0) goto LAB_00057150;\n      pcVar9 = (char *)get_variable_value(param_1);\n      if (pcVar9 != (char *)0x0) {\nLAB_000572f0:\n        iVar11 = 1;\n        uVar10 = param_3;\n        if (*pcVar9 == '\0') {\n          iVar6 = 0;\n        }\n        else {\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }\n        goto LAB_0005730c;\n      }\n      iVar6 = 0;\n      iVar11 = 1;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\n      uVar10 = param_3;\nLAB_00057360:\n      if (*param_2 != '\0') {\n        if (param_2[1] == '\0') {\n          iVar11 = iVar6 + 2;\n        }\n        else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }\n      }\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1,pcVar9);\n      (*(code *)PTR_strcpy_00146418)((undefined1 *)((int)puVar1 + iVar6));\n      pcVar9 = param_2;\n    }\n  }\nLAB_00057194:\n  if (puVar8 == *(undefined4 **)puVar13) {\n    return puVar1;\n  }\n  puVar13 = PTR___stack_chk_fail_00146488;\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  uVar12 = puVar8[5];\n  puVar8[5] = uVar12 & 0xffffefff;\n  if ((code *)puVar8[4] == (code *)0x0) {\n    uVar12 = uVar12 & 0x1000;\n    uVar5 = make_variable_value();\n    if (((uVar10 & 0x30) == 0x10) && (iVar6 = check_selfref(*puVar8,uVar5,0), iVar6 != 0)) {\n      if (**(int **)(puVar13 + 0xed2e0) == 0) {\n        uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6e14,5);\n        internal_error(uVar7,*puVar8);\n        (**(code **)(puVar13 + 0xeef80))(uVar5);\n        if (uVar12 == 0) {\n          return (undefined4 *)0x0;\n        }\n        goto LAB_0005772c;\n      }\n      uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6d18);\n      internal_warning(uVar7,*puVar8);\n    }\n    if (((uVar10 & 0x10) != 0) && (iVar6 = valid_nameref_value(uVar5,0), iVar6 == 0)) {\n      (**(code **)(puVar13 + 0xeef80))(uVar5);\n      if (uVar12 == 0) {\n        return (undefined4 *)0x0;\n      }\nLAB_0005772c:\n      puVar8[5] = puVar8[5] | 0x1000;\n      return (undefined4 *)0x0;\n    }\n    if (puVar8[1] != 0) {\n      (**(code **)(puVar13 + 0xeef80))();\n    }\n    puVar8[1] = uVar5;\n  }\n  else if ((uVar10 & 1) == 0) {\n    (*(code *)puVar8[4])();\n  }\n  else {\n    pcVar4 = (char *)make_variable_value();\n    (*(code *)puVar8[4])(puVar8,pcVar4,0xffffffff,0xffffffff,0);\n    if ((pcVar9 != pcVar4) && (pcVar4 != (char *)0x0)) {\n      (**(code **)(puVar13 + 0xeef80))(pcVar4);\n    }\n  }\n  if (puVar8[2] != 0) {\n    (**(code **)(puVar13 + 0xeef80))();\n    puVar8[2] = 0;\n  }\n  if (**(int **)(puVar13 + 0xeda38) == 0) {\n    puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);\n    if ((puVar8[5] & 1) == 0) {\n      return puVar8;\n    }\n  }\n  else {\n    puVar8[5] = puVar8[5] | 1;\n    puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);\n  }\n  *puVar1 = 1;\n  return puVar8;\n}\n\n" (function_definition "undefined4 * make_variable_value(int param_1,char *param_2,uint param_3)\n\n{\n  undefined4 *puVar1;\n  undefined1 *puVar2;\n  int iVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined4 uVar7;\n  undefined4 *puVar8;\n  char *pcVar9;\n  uint uVar10;\n  int iVar11;\n  uint uVar12;\n  undefined *puVar13;\n  longlong lVar14;\n  longlong lVar15;\n  int local_28;\n  \n  puVar13 = PTR___stack_chk_guard_001464dc;\n  puVar8 = *(undefined4 **)PTR___stack_chk_guard_001464dc;\n  if ((param_3 & 0x100) == 0) {\n    if ((*(uint *)(param_1 + 0x14) & 0x10) == 0) {\n      if ((*(uint *)(param_1 + 0x14) & 0x700) == 0) goto LAB_0005713c;\n      if ((param_3 & 1) == 0) {\n        if (*param_2 == '\0') {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar2 = 0;\n        }\n        else {\n          iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n          puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2);\n        }\n      }\n      else {\n        pcVar9 = (char *)get_variable_value();\n        if (pcVar9 == (char *)0x0) {\n          iVar11 = 1;\n          iVar6 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar11 = 1;\n          if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }\n        }\n        if (param_2 == (char *)0x0) {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n        }\n        else {\n          iVar3 = 0;\n          if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);\n        }\n      }\n      if ((*(uint *)(param_1 + 0x14) & 0x400) == 0) {\n        uVar10 = (uint)((*(uint *)(param_1 + 0x14) & 0x100) == 0);\n      }\n      else {\n        uVar10 = 0;\n      }\n      pcVar9 = (char *)0x0;\n      puVar1 = (undefined4 *)(*(code *)PTR_sh_modcase_00144fac)(puVar2);\n      (*(code *)PTR_free_001464fc)(puVar2);\n    }\n    else if ((param_3 & 1) == 0) {\n      uVar10 = 0xffffffd8;\n      lVar14 = evalexp(param_2,0);\n      pcVar9 = (char *)lVar14;\n      if (local_28 != 0) {\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        puVar1 = (undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }\n      if ((param_3 & 0x200) == 0) goto LAB_000572ac;\nLAB_00057150:\n      if (*param_2 == '\0') {\n        puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *(undefined1 *)puVar1 = 0;\n      }\n      else {\n        iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n        uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n        puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);\n        pcVar9 = param_2;\n      }\n    }\n    else {\n      uVar12 = 0xffffffd8;\n      pcVar9 = (char *)0x0;\n      uVar10 = uVar12;\n      lVar14 = evalexp(*(undefined4 *)(param_1 + 4));\n      if (local_28 != 0) {\n        pcVar9 = (char *)0x0;\n        lVar15 = evalexp(param_2);\n        uVar10 = uVar12;\n        if (local_28 != 0) {\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }\n      }\n      if ((param_3 & 0x200) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        param_2 = pcVar9;\n        goto LAB_000572c8;\n      }\n      pcVar9 = (char *)get_variable_value(param_1);\n      param_3 = uVar10;\n      if (pcVar9 != (char *)0x0) goto LAB_000572f0;\n      iVar11 = 1;\n      iVar6 = 0;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\nLAB_0005730c:\n      if (param_2 != (char *)0x0) goto LAB_00057360;\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1);\n    }\n  }\n  else {\nLAB_0005713c:\n    uVar10 = param_3;\n    if (param_2 == (char *)0x0) {\nLAB_000572c8:\n      puVar1 = (undefined4 *)0x0;\n      pcVar9 = param_2;\n    }\n    else {\n      pcVar9 = param_2;\n      if ((param_3 & 1) == 0) goto LAB_00057150;\n      pcVar9 = (char *)get_variable_value(param_1);\n      if (pcVar9 != (char *)0x0) {\nLAB_000572f0:\n        iVar11 = 1;\n        uVar10 = param_3;\n        if (*pcVar9 == '\0') {\n          iVar6 = 0;\n        }\n        else {\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }\n        goto LAB_0005730c;\n      }\n      iVar6 = 0;\n      iVar11 = 1;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\n      uVar10 = param_3;\nLAB_00057360:\n      if (*param_2 != '\0') {\n        if (param_2[1] == '\0') {\n          iVar11 = iVar6 + 2;\n        }\n        else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }\n      }\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1,pcVar9);\n      (*(code *)PTR_strcpy_00146418)((undefined1 *)((int)puVar1 + iVar6));\n      pcVar9 = param_2;\n    }\n  }\nLAB_00057194:\n  if (puVar8 == *(undefined4 **)puVar13) {\n    return puVar1;\n  }\n  puVar13 = PTR___stack_chk_fail_00146488;\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  uVar12 = puVar8[5];\n  puVar8[5] = uVar12 & 0xffffefff;\n  if ((code *)puVar8[4] == (code *)0x0) {\n    uVar12 = uVar12 & 0x1000;\n    uVar5 = make_variable_value();\n    if (((uVar10 & 0x30) == 0x10) && (iVar6 = check_selfref(*puVar8,uVar5,0), iVar6 != 0)) {\n      if (**(int **)(puVar13 + 0xed2e0) == 0) {\n        uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6e14,5);\n        internal_error(uVar7,*puVar8);\n        (**(code **)(puVar13 + 0xeef80))(uVar5);\n        if (uVar12 == 0) {\n          return (undefined4 *)0x0;\n        }\n        goto LAB_0005772c;\n      }\n      uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6d18);\n      internal_warning(uVar7,*puVar8);\n    }\n    if (((uVar10 & 0x10) != 0) && (iVar6 = valid_nameref_value(uVar5,0), iVar6 == 0)) {\n      (**(code **)(puVar13 + 0xeef80))(uVar5);\n      if (uVar12 == 0) {\n        return (undefined4 *)0x0;\n      }\nLAB_0005772c:\n      puVar8[5] = puVar8[5] | 0x1000;\n      return (undefined4 *)0x0;\n    }\n    if (puVar8[1] != 0) {\n      (**(code **)(puVar13 + 0xeef80))();\n    }\n    puVar8[1] = uVar5;\n  }\n  else if ((uVar10 & 1) == 0) {\n    (*(code *)puVar8[4])();\n  }\n  else {\n    pcVar4 = (char *)make_variable_value();\n    (*(code *)puVar8[4])(puVar8,pcVar4,0xffffffff,0xffffffff,0);\n    if ((pcVar9 != pcVar4) && (pcVar4 != (char *)0x0)) {\n      (**(code **)(puVar13 + 0xeef80))(pcVar4);\n    }\n  }\n  if (puVar8[2] != 0) {\n    (**(code **)(puVar13 + 0xeef80))();\n    puVar8[2] = 0;\n  }\n  if (**(int **)(puVar13 + 0xeda38) == 0) {\n    puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);\n    if ((puVar8[5] & 1) == 0) {\n      return puVar8;\n    }\n  }\n  else {\n    puVar8[5] = puVar8[5] | 1;\n    puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);\n  }\n  *puVar1 = 1;\n  return puVar8;\n}" type_identifier (pointer_declarator "* make_variable_value(int param_1,char *param_2,uint param_3)" * (function_declarator "make_variable_value(int param_1,char *param_2,uint param_3)" identifier (parameter_list "(int param_1,char *param_2,uint param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) )))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined1 *puVar2;\n  int iVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined4 uVar7;\n  undefined4 *puVar8;\n  char *pcVar9;\n  uint uVar10;\n  int iVar11;\n  uint uVar12;\n  undefined *puVar13;\n  longlong lVar14;\n  longlong lVar15;\n  int local_28;\n  \n  puVar13 = PTR___stack_chk_guard_001464dc;\n  puVar8 = *(undefined4 **)PTR___stack_chk_guard_001464dc;\n  if ((param_3 & 0x100) == 0) {\n    if ((*(uint *)(param_1 + 0x14) & 0x10) == 0) {\n      if ((*(uint *)(param_1 + 0x14) & 0x700) == 0) goto LAB_0005713c;\n      if ((param_3 & 1) == 0) {\n        if (*param_2 == '\0') {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar2 = 0;\n        }\n        else {\n          iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n          puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2);\n        }\n      }\n      else {\n        pcVar9 = (char *)get_variable_value();\n        if (pcVar9 == (char *)0x0) {\n          iVar11 = 1;\n          iVar6 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar11 = 1;\n          if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }\n        }\n        if (param_2 == (char *)0x0) {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n        }\n        else {\n          iVar3 = 0;\n          if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);\n        }\n      }\n      if ((*(uint *)(param_1 + 0x14) & 0x400) == 0) {\n        uVar10 = (uint)((*(uint *)(param_1 + 0x14) & 0x100) == 0);\n      }\n      else {\n        uVar10 = 0;\n      }\n      pcVar9 = (char *)0x0;\n      puVar1 = (undefined4 *)(*(code *)PTR_sh_modcase_00144fac)(puVar2);\n      (*(code *)PTR_free_001464fc)(puVar2);\n    }\n    else if ((param_3 & 1) == 0) {\n      uVar10 = 0xffffffd8;\n      lVar14 = evalexp(param_2,0);\n      pcVar9 = (char *)lVar14;\n      if (local_28 != 0) {\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        puVar1 = (undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }\n      if ((param_3 & 0x200) == 0) goto LAB_000572ac;\nLAB_00057150:\n      if (*param_2 == '\0') {\n        puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *(undefined1 *)puVar1 = 0;\n      }\n      else {\n        iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n        uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n        puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);\n        pcVar9 = param_2;\n      }\n    }\n    else {\n      uVar12 = 0xffffffd8;\n      pcVar9 = (char *)0x0;\n      uVar10 = uVar12;\n      lVar14 = evalexp(*(undefined4 *)(param_1 + 4));\n      if (local_28 != 0) {\n        pcVar9 = (char *)0x0;\n        lVar15 = evalexp(param_2);\n        uVar10 = uVar12;\n        if (local_28 != 0) {\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }\n      }\n      if ((param_3 & 0x200) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        param_2 = pcVar9;\n        goto LAB_000572c8;\n      }\n      pcVar9 = (char *)get_variable_value(param_1);\n      param_3 = uVar10;\n      if (pcVar9 != (char *)0x0) goto LAB_000572f0;\n      iVar11 = 1;\n      iVar6 = 0;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\nLAB_0005730c:\n      if (param_2 != (char *)0x0) goto LAB_00057360;\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1);\n    }\n  }\n  else {\nLAB_0005713c:\n    uVar10 = param_3;\n    if (param_2 == (char *)0x0) {\nLAB_000572c8:\n      puVar1 = (undefined4 *)0x0;\n      pcVar9 = param_2;\n    }\n    else {\n      pcVar9 = param_2;\n      if ((param_3 & 1) == 0) goto LAB_00057150;\n      pcVar9 = (char *)get_variable_value(param_1);\n      if (pcVar9 != (char *)0x0) {\nLAB_000572f0:\n        iVar11 = 1;\n        uVar10 = param_3;\n        if (*pcVar9 == '\0') {\n          iVar6 = 0;\n        }\n        else {\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }\n        goto LAB_0005730c;\n      }\n      iVar6 = 0;\n      iVar11 = 1;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\n      uVar10 = param_3;\nLAB_00057360:\n      if (*param_2 != '\0') {\n        if (param_2[1] == '\0') {\n          iVar11 = iVar6 + 2;\n        }\n        else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }\n      }\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1,pcVar9);\n      (*(code *)PTR_strcpy_00146418)((undefined1 *)((int)puVar1 + iVar6));\n      pcVar9 = param_2;\n    }\n  }\nLAB_00057194:\n  if (puVar8 == *(undefined4 **)puVar13) {\n    return puVar1;\n  }\n  puVar13 = PTR___stack_chk_fail_00146488;\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  uVar12 = puVar8[5];\n  puVar8[5] = uVar12 & 0xffffefff;\n  if ((code *)puVar8[4] == (code *)0x0) {\n    uVar12 = uVar12 & 0x1000;\n    uVar5 = make_variable_value();\n    if (((uVar10 & 0x30) == 0x10) && (iVar6 = check_selfref(*puVar8,uVar5,0), iVar6 != 0)) {\n      if (**(int **)(puVar13 + 0xed2e0) == 0) {\n        uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6e14,5);\n        internal_error(uVar7,*puVar8);\n        (**(code **)(puVar13 + 0xeef80))(uVar5);\n        if (uVar12 == 0) {\n          return (undefined4 *)0x0;\n        }\n        goto LAB_0005772c;\n      }\n      uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6d18);\n      internal_warning(uVar7,*puVar8);\n    }\n    if (((uVar10 & 0x10) != 0) && (iVar6 = valid_nameref_value(uVar5,0), iVar6 == 0)) {\n      (**(code **)(puVar13 + 0xeef80))(uVar5);\n      if (uVar12 == 0) {\n        return (undefined4 *)0x0;\n      }\nLAB_0005772c:\n      puVar8[5] = puVar8[5] | 0x1000;\n      return (undefined4 *)0x0;\n    }\n    if (puVar8[1] != 0) {\n      (**(code **)(puVar13 + 0xeef80))();\n    }\n    puVar8[1] = uVar5;\n  }\n  else if ((uVar10 & 1) == 0) {\n    (*(code *)puVar8[4])();\n  }\n  else {\n    pcVar4 = (char *)make_variable_value();\n    (*(code *)puVar8[4])(puVar8,pcVar4,0xffffffff,0xffffffff,0);\n    if ((pcVar9 != pcVar4) && (pcVar4 != (char *)0x0)) {\n      (**(code **)(puVar13 + 0xeef80))(pcVar4);\n    }\n  }\n  if (puVar8[2] != 0) {\n    (**(code **)(puVar13 + 0xeef80))();\n    puVar8[2] = 0;\n  }\n  if (**(int **)(puVar13 + 0xeda38) == 0) {\n    puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);\n    if ((puVar8[5] & 1) == 0) {\n      return puVar8;\n    }\n  }\n  else {\n    puVar8[5] = puVar8[5] | 1;\n    puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);\n  }\n  *puVar1 = 1;\n  return puVar8;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined1 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "uint uVar12;" type_identifier identifier ;) (declaration "undefined *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "longlong lVar14;" type_identifier identifier ;) (declaration "longlong lVar15;" type_identifier identifier ;) (declaration "int local_28;" primitive_type identifier ;) (expression_statement "puVar13 = PTR___stack_chk_guard_001464dc;" (assignment_expression "puVar13 = PTR___stack_chk_guard_001464dc" identifier = identifier) ;) (expression_statement "puVar8 = *(undefined4 **)PTR___stack_chk_guard_001464dc;" (assignment_expression "puVar8 = *(undefined4 **)PTR___stack_chk_guard_001464dc" identifier = (pointer_expression "*(undefined4 **)PTR___stack_chk_guard_001464dc" * (cast_expression "(undefined4 **)PTR___stack_chk_guard_001464dc" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (if_statement "if ((param_3 & 0x100) == 0) {\n    if ((*(uint *)(param_1 + 0x14) & 0x10) == 0) {\n      if ((*(uint *)(param_1 + 0x14) & 0x700) == 0) goto LAB_0005713c;\n      if ((param_3 & 1) == 0) {\n        if (*param_2 == '\0') {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar2 = 0;\n        }\n        else {\n          iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n          puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2);\n        }\n      }\n      else {\n        pcVar9 = (char *)get_variable_value();\n        if (pcVar9 == (char *)0x0) {\n          iVar11 = 1;\n          iVar6 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar11 = 1;\n          if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }\n        }\n        if (param_2 == (char *)0x0) {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n        }\n        else {\n          iVar3 = 0;\n          if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);\n        }\n      }\n      if ((*(uint *)(param_1 + 0x14) & 0x400) == 0) {\n        uVar10 = (uint)((*(uint *)(param_1 + 0x14) & 0x100) == 0);\n      }\n      else {\n        uVar10 = 0;\n      }\n      pcVar9 = (char *)0x0;\n      puVar1 = (undefined4 *)(*(code *)PTR_sh_modcase_00144fac)(puVar2);\n      (*(code *)PTR_free_001464fc)(puVar2);\n    }\n    else if ((param_3 & 1) == 0) {\n      uVar10 = 0xffffffd8;\n      lVar14 = evalexp(param_2,0);\n      pcVar9 = (char *)lVar14;\n      if (local_28 != 0) {\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        puVar1 = (undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }\n      if ((param_3 & 0x200) == 0) goto LAB_000572ac;\nLAB_00057150:\n      if (*param_2 == '\0') {\n        puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *(undefined1 *)puVar1 = 0;\n      }\n      else {\n        iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n        uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n        puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);\n        pcVar9 = param_2;\n      }\n    }\n    else {\n      uVar12 = 0xffffffd8;\n      pcVar9 = (char *)0x0;\n      uVar10 = uVar12;\n      lVar14 = evalexp(*(undefined4 *)(param_1 + 4));\n      if (local_28 != 0) {\n        pcVar9 = (char *)0x0;\n        lVar15 = evalexp(param_2);\n        uVar10 = uVar12;\n        if (local_28 != 0) {\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }\n      }\n      if ((param_3 & 0x200) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        param_2 = pcVar9;\n        goto LAB_000572c8;\n      }\n      pcVar9 = (char *)get_variable_value(param_1);\n      param_3 = uVar10;\n      if (pcVar9 != (char *)0x0) goto LAB_000572f0;\n      iVar11 = 1;\n      iVar6 = 0;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\nLAB_0005730c:\n      if (param_2 != (char *)0x0) goto LAB_00057360;\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1);\n    }\n  }\n  else {\nLAB_0005713c:\n    uVar10 = param_3;\n    if (param_2 == (char *)0x0) {\nLAB_000572c8:\n      puVar1 = (undefined4 *)0x0;\n      pcVar9 = param_2;\n    }\n    else {\n      pcVar9 = param_2;\n      if ((param_3 & 1) == 0) goto LAB_00057150;\n      pcVar9 = (char *)get_variable_value(param_1);\n      if (pcVar9 != (char *)0x0) {\nLAB_000572f0:\n        iVar11 = 1;\n        uVar10 = param_3;\n        if (*pcVar9 == '\0') {\n          iVar6 = 0;\n        }\n        else {\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }\n        goto LAB_0005730c;\n      }\n      iVar6 = 0;\n      iVar11 = 1;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\n      uVar10 = param_3;\nLAB_00057360:\n      if (*param_2 != '\0') {\n        if (param_2[1] == '\0') {\n          iVar11 = iVar6 + 2;\n        }\n        else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }\n      }\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1,pcVar9);\n      (*(code *)PTR_strcpy_00146418)((undefined1 *)((int)puVar1 + iVar6));\n      pcVar9 = param_2;\n    }\n  }" if (parenthesized_expression "((param_3 & 0x100) == 0)" ( (binary_expression "(param_3 & 0x100) == 0" (parenthesized_expression "(param_3 & 0x100)" ( (binary_expression "param_3 & 0x100" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    if ((*(uint *)(param_1 + 0x14) & 0x10) == 0) {\n      if ((*(uint *)(param_1 + 0x14) & 0x700) == 0) goto LAB_0005713c;\n      if ((param_3 & 1) == 0) {\n        if (*param_2 == '\0') {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar2 = 0;\n        }\n        else {\n          iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n          puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2);\n        }\n      }\n      else {\n        pcVar9 = (char *)get_variable_value();\n        if (pcVar9 == (char *)0x0) {\n          iVar11 = 1;\n          iVar6 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar11 = 1;\n          if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }\n        }\n        if (param_2 == (char *)0x0) {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n        }\n        else {\n          iVar3 = 0;\n          if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);\n        }\n      }\n      if ((*(uint *)(param_1 + 0x14) & 0x400) == 0) {\n        uVar10 = (uint)((*(uint *)(param_1 + 0x14) & 0x100) == 0);\n      }\n      else {\n        uVar10 = 0;\n      }\n      pcVar9 = (char *)0x0;\n      puVar1 = (undefined4 *)(*(code *)PTR_sh_modcase_00144fac)(puVar2);\n      (*(code *)PTR_free_001464fc)(puVar2);\n    }\n    else if ((param_3 & 1) == 0) {\n      uVar10 = 0xffffffd8;\n      lVar14 = evalexp(param_2,0);\n      pcVar9 = (char *)lVar14;\n      if (local_28 != 0) {\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        puVar1 = (undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }\n      if ((param_3 & 0x200) == 0) goto LAB_000572ac;\nLAB_00057150:\n      if (*param_2 == '\0') {\n        puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *(undefined1 *)puVar1 = 0;\n      }\n      else {\n        iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n        uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n        puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);\n        pcVar9 = param_2;\n      }\n    }\n    else {\n      uVar12 = 0xffffffd8;\n      pcVar9 = (char *)0x0;\n      uVar10 = uVar12;\n      lVar14 = evalexp(*(undefined4 *)(param_1 + 4));\n      if (local_28 != 0) {\n        pcVar9 = (char *)0x0;\n        lVar15 = evalexp(param_2);\n        uVar10 = uVar12;\n        if (local_28 != 0) {\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }\n      }\n      if ((param_3 & 0x200) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        param_2 = pcVar9;\n        goto LAB_000572c8;\n      }\n      pcVar9 = (char *)get_variable_value(param_1);\n      param_3 = uVar10;\n      if (pcVar9 != (char *)0x0) goto LAB_000572f0;\n      iVar11 = 1;\n      iVar6 = 0;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\nLAB_0005730c:\n      if (param_2 != (char *)0x0) goto LAB_00057360;\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1);\n    }\n  }" { (if_statement "if ((*(uint *)(param_1 + 0x14) & 0x10) == 0) {\n      if ((*(uint *)(param_1 + 0x14) & 0x700) == 0) goto LAB_0005713c;\n      if ((param_3 & 1) == 0) {\n        if (*param_2 == '\0') {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar2 = 0;\n        }\n        else {\n          iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n          puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2);\n        }\n      }\n      else {\n        pcVar9 = (char *)get_variable_value();\n        if (pcVar9 == (char *)0x0) {\n          iVar11 = 1;\n          iVar6 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar11 = 1;\n          if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }\n        }\n        if (param_2 == (char *)0x0) {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n        }\n        else {\n          iVar3 = 0;\n          if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);\n        }\n      }\n      if ((*(uint *)(param_1 + 0x14) & 0x400) == 0) {\n        uVar10 = (uint)((*(uint *)(param_1 + 0x14) & 0x100) == 0);\n      }\n      else {\n        uVar10 = 0;\n      }\n      pcVar9 = (char *)0x0;\n      puVar1 = (undefined4 *)(*(code *)PTR_sh_modcase_00144fac)(puVar2);\n      (*(code *)PTR_free_001464fc)(puVar2);\n    }\n    else if ((param_3 & 1) == 0) {\n      uVar10 = 0xffffffd8;\n      lVar14 = evalexp(param_2,0);\n      pcVar9 = (char *)lVar14;\n      if (local_28 != 0) {\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        puVar1 = (undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }\n      if ((param_3 & 0x200) == 0) goto LAB_000572ac;\nLAB_00057150:\n      if (*param_2 == '\0') {\n        puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *(undefined1 *)puVar1 = 0;\n      }\n      else {\n        iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n        uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n        puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);\n        pcVar9 = param_2;\n      }\n    }\n    else {\n      uVar12 = 0xffffffd8;\n      pcVar9 = (char *)0x0;\n      uVar10 = uVar12;\n      lVar14 = evalexp(*(undefined4 *)(param_1 + 4));\n      if (local_28 != 0) {\n        pcVar9 = (char *)0x0;\n        lVar15 = evalexp(param_2);\n        uVar10 = uVar12;\n        if (local_28 != 0) {\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }\n      }\n      if ((param_3 & 0x200) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        param_2 = pcVar9;\n        goto LAB_000572c8;\n      }\n      pcVar9 = (char *)get_variable_value(param_1);\n      param_3 = uVar10;\n      if (pcVar9 != (char *)0x0) goto LAB_000572f0;\n      iVar11 = 1;\n      iVar6 = 0;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\nLAB_0005730c:\n      if (param_2 != (char *)0x0) goto LAB_00057360;\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1);\n    }" if (parenthesized_expression "((*(uint *)(param_1 + 0x14) & 0x10) == 0)" ( (binary_expression "(*(uint *)(param_1 + 0x14) & 0x10) == 0" (parenthesized_expression "(*(uint *)(param_1 + 0x14) & 0x10)" ( (binary_expression "*(uint *)(param_1 + 0x14) & 0x10" (pointer_expression "*(uint *)(param_1 + 0x14)" * (cast_expression "(uint *)(param_1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n      if ((*(uint *)(param_1 + 0x14) & 0x700) == 0) goto LAB_0005713c;\n      if ((param_3 & 1) == 0) {\n        if (*param_2 == '\0') {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar2 = 0;\n        }\n        else {\n          iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n          puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2);\n        }\n      }\n      else {\n        pcVar9 = (char *)get_variable_value();\n        if (pcVar9 == (char *)0x0) {\n          iVar11 = 1;\n          iVar6 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar11 = 1;\n          if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }\n        }\n        if (param_2 == (char *)0x0) {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n        }\n        else {\n          iVar3 = 0;\n          if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);\n        }\n      }\n      if ((*(uint *)(param_1 + 0x14) & 0x400) == 0) {\n        uVar10 = (uint)((*(uint *)(param_1 + 0x14) & 0x100) == 0);\n      }\n      else {\n        uVar10 = 0;\n      }\n      pcVar9 = (char *)0x0;\n      puVar1 = (undefined4 *)(*(code *)PTR_sh_modcase_00144fac)(puVar2);\n      (*(code *)PTR_free_001464fc)(puVar2);\n    }" { (if_statement "if ((*(uint *)(param_1 + 0x14) & 0x700) == 0) goto LAB_0005713c;" if (parenthesized_expression "((*(uint *)(param_1 + 0x14) & 0x700) == 0)" ( (binary_expression "(*(uint *)(param_1 + 0x14) & 0x700) == 0" (parenthesized_expression "(*(uint *)(param_1 + 0x14) & 0x700)" ( (binary_expression "*(uint *)(param_1 + 0x14) & 0x700" (pointer_expression "*(uint *)(param_1 + 0x14)" * (cast_expression "(uint *)(param_1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (goto_statement "goto LAB_0005713c;" goto statement_identifier ;)) (if_statement "if ((param_3 & 1) == 0) {\n        if (*param_2 == '\0') {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar2 = 0;\n        }\n        else {\n          iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n          puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2);\n        }\n      }\n      else {\n        pcVar9 = (char *)get_variable_value();\n        if (pcVar9 == (char *)0x0) {\n          iVar11 = 1;\n          iVar6 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar11 = 1;\n          if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }\n        }\n        if (param_2 == (char *)0x0) {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n        }\n        else {\n          iVar3 = 0;\n          if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);\n        }\n      }" if (parenthesized_expression "((param_3 & 1) == 0)" ( (binary_expression "(param_3 & 1) == 0" (parenthesized_expression "(param_3 & 1)" ( (binary_expression "param_3 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        if (*param_2 == '\0') {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar2 = 0;\n        }\n        else {\n          iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n          puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2);\n        }\n      }" { (if_statement "if (*param_2 == '\0') {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar2 = 0;\n        }\n        else {\n          iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n          puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2);\n        }" if (parenthesized_expression "(*param_2 == '\0')" ( (binary_expression "*param_2 == '\0'" (pointer_expression "*param_2" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar2 = 0;\n        }" { (expression_statement "puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);" (assignment_expression "puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001445b0)(1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1)" ( number_literal ))))) ;) (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) }) (else_clause "else {\n          iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n          puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2);\n        }" else (compound_statement "{\n          iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n          puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2);\n        }" { (expression_statement "iVar6 = (*(code *)PTR_strlen_00146390)(param_2);" (assignment_expression "iVar6 = (*(code *)PTR_strlen_00146390)(param_2)" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(param_2)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);" (assignment_expression "uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar6 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar6 + 1)" ( (binary_expression "iVar6 + 1" identifier + number_literal) )))) ;) (expression_statement "puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2);" (assignment_expression "puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strcpy_00146418)(uVar5,param_2)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" ( (pointer_expression "*(code *)PTR_strcpy_00146418" * (cast_expression "(code *)PTR_strcpy_00146418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5,param_2)" ( identifier , identifier ))))) ;) }))) }) (else_clause "else {\n        pcVar9 = (char *)get_variable_value();\n        if (pcVar9 == (char *)0x0) {\n          iVar11 = 1;\n          iVar6 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar11 = 1;\n          if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }\n        }\n        if (param_2 == (char *)0x0) {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n        }\n        else {\n          iVar3 = 0;\n          if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);\n        }\n      }" else (compound_statement "{\n        pcVar9 = (char *)get_variable_value();\n        if (pcVar9 == (char *)0x0) {\n          iVar11 = 1;\n          iVar6 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar11 = 1;\n          if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }\n        }\n        if (param_2 == (char *)0x0) {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n        }\n        else {\n          iVar3 = 0;\n          if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);\n        }\n      }" { (expression_statement "pcVar9 = (char *)get_variable_value();" (assignment_expression "pcVar9 = (char *)get_variable_value()" identifier = (cast_expression "(char *)get_variable_value()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "get_variable_value()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (pcVar9 == (char *)0x0) {\n          iVar11 = 1;\n          iVar6 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar11 = 1;\n          if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }\n        }" if (parenthesized_expression "(pcVar9 == (char *)0x0)" ( (binary_expression "pcVar9 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          iVar11 = 1;\n          iVar6 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }" { (expression_statement "iVar11 = 1;" (assignment_expression "iVar11 = 1" identifier = number_literal) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "pcVar9 = PTR_DAT_001445ac + -0x6800;" (assignment_expression "pcVar9 = PTR_DAT_001445ac + -0x6800" identifier = (binary_expression "PTR_DAT_001445ac + -0x6800" identifier + number_literal)) ;) }) (else_clause "else {\n          iVar11 = 1;\n          if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }\n        }" else (compound_statement "{\n          iVar11 = 1;\n          if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }\n        }" { (expression_statement "iVar11 = 1;" (assignment_expression "iVar11 = 1" identifier = number_literal) ;) (if_statement "if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }" if (parenthesized_expression "(*pcVar9 == '\0')" ( (binary_expression "*pcVar9 == '\0'" (pointer_expression "*pcVar9" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            iVar6 = 0;\n          }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) }) (else_clause "else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }" else (compound_statement "{\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }" { (expression_statement "iVar11 = 2;" (assignment_expression "iVar11 = 2" identifier = number_literal) ;) (if_statement "if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }" if (parenthesized_expression "(pcVar9[1] == '\0')" ( (binary_expression "pcVar9[1] == '\0'" (subscript_expression "pcVar9[1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n              iVar6 = 1;\n            }" { (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" identifier = number_literal) ;) }) (else_clause "else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }" else (compound_statement "{\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }" { (expression_statement "iVar11 = 3;" (assignment_expression "iVar11 = 3" identifier = number_literal) ;) (if_statement "if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }" if (parenthesized_expression "(pcVar9[2] == '\0')" ( (binary_expression "pcVar9[2] == '\0'" (subscript_expression "pcVar9[2]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                iVar6 = 2;\n              }" { (expression_statement "iVar6 = 2;" (assignment_expression "iVar6 = 2" identifier = number_literal) ;) }) (else_clause "else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }" else (compound_statement "{\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }" { (expression_statement "iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);" (assignment_expression "iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9)" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(pcVar9)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar9)" ( identifier )))) ;) (expression_statement "iVar11 = iVar6 + 1;" (assignment_expression "iVar11 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) }))) }))) }))) }))) (if_statement "if (param_2 == (char *)0x0) {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n        }\n        else {\n          iVar3 = 0;\n          if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);\n        }" if (parenthesized_expression "(param_2 == (char *)0x0)" ( (binary_expression "param_2 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n        }" { (expression_statement "puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);" (assignment_expression "puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar11)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar11)" ( identifier ))))) ;) (expression_statement "(*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);" (call_expression "(*(code *)PTR_strcpy_00146418)(puVar2,pcVar9)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" ( (pointer_expression "*(code *)PTR_strcpy_00146418" * (cast_expression "(code *)PTR_strcpy_00146418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2,pcVar9)" ( identifier , identifier ))) ;) }) (else_clause "else {\n          iVar3 = 0;\n          if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);\n        }" else (compound_statement "{\n          iVar3 = 0;\n          if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);\n        }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (if_statement "if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }" if (parenthesized_expression "(((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0'))" ( (binary_expression "((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')" (parenthesized_expression "((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0'))" ( (binary_expression "(*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')" (parenthesized_expression "(*param_2 != '\0')" ( (binary_expression "*param_2 != '\0'" (pointer_expression "*param_2" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(iVar3 = 1, param_2[1] != '\0')" ( (comma_expression "iVar3 = 1, param_2[1] != '\0'" (assignment_expression "iVar3 = 1" identifier = number_literal) , (binary_expression "param_2[1] != '\0'" (subscript_expression "param_2[1]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence '))) ))) )) && (parenthesized_expression "(iVar3 = 2, param_2[2] != '\0')" ( (comma_expression "iVar3 = 2, param_2[2] != '\0'" (assignment_expression "iVar3 = 2" identifier = number_literal) , (binary_expression "param_2[2] != '\0'" (subscript_expression "param_2[2]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence '))) ))) )) (compound_statement "{\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }" { (expression_statement "iVar3 = (*(code *)PTR_strlen_00146390)(param_2);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_00146390)(param_2)" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(param_2)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier )))) ;) })) (expression_statement "puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);" (assignment_expression "puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar11 + iVar3)" ( (binary_expression "iVar11 + iVar3" identifier + identifier) ))))) ;) (expression_statement "(*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);" (call_expression "(*(code *)PTR_strcpy_00146418)(puVar2,pcVar9)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" ( (pointer_expression "*(code *)PTR_strcpy_00146418" * (cast_expression "(code *)PTR_strcpy_00146418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2,pcVar9)" ( identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);" (call_expression "(*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" ( (pointer_expression "*(code *)PTR_strcpy_00146418" * (cast_expression "(code *)PTR_strcpy_00146418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2 + iVar6,param_2)" ( (binary_expression "puVar2 + iVar6" identifier + identifier) , identifier ))) ;) }))) }))) (if_statement "if ((*(uint *)(param_1 + 0x14) & 0x400) == 0) {\n        uVar10 = (uint)((*(uint *)(param_1 + 0x14) & 0x100) == 0);\n      }\n      else {\n        uVar10 = 0;\n      }" if (parenthesized_expression "((*(uint *)(param_1 + 0x14) & 0x400) == 0)" ( (binary_expression "(*(uint *)(param_1 + 0x14) & 0x400) == 0" (parenthesized_expression "(*(uint *)(param_1 + 0x14) & 0x400)" ( (binary_expression "*(uint *)(param_1 + 0x14) & 0x400" (pointer_expression "*(uint *)(param_1 + 0x14)" * (cast_expression "(uint *)(param_1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n        uVar10 = (uint)((*(uint *)(param_1 + 0x14) & 0x100) == 0);\n      }" { (expression_statement "uVar10 = (uint)((*(uint *)(param_1 + 0x14) & 0x100) == 0);" (assignment_expression "uVar10 = (uint)((*(uint *)(param_1 + 0x14) & 0x100) == 0)" identifier = (call_expression "(uint)((*(uint *)(param_1 + 0x14) & 0x100) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((*(uint *)(param_1 + 0x14) & 0x100) == 0)" ( (binary_expression "(*(uint *)(param_1 + 0x14) & 0x100) == 0" (parenthesized_expression "(*(uint *)(param_1 + 0x14) & 0x100)" ( (binary_expression "*(uint *)(param_1 + 0x14) & 0x100" (pointer_expression "*(uint *)(param_1 + 0x14)" * (cast_expression "(uint *)(param_1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) & number_literal) )) == number_literal) )))) ;) }) (else_clause "else {\n        uVar10 = 0;\n      }" else (compound_statement "{\n        uVar10 = 0;\n      }" { (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) }))) (expression_statement "pcVar9 = (char *)0x0;" (assignment_expression "pcVar9 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar1 = (undefined4 *)(*(code *)PTR_sh_modcase_00144fac)(puVar2);" (assignment_expression "puVar1 = (undefined4 *)(*(code *)PTR_sh_modcase_00144fac)(puVar2)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_sh_modcase_00144fac)(puVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_sh_modcase_00144fac)(puVar2)" (parenthesized_expression "(*(code *)PTR_sh_modcase_00144fac)" ( (pointer_expression "*(code *)PTR_sh_modcase_00144fac" * (cast_expression "(code *)PTR_sh_modcase_00144fac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2)" ( identifier ))))) ;) (expression_statement "(*(code *)PTR_free_001464fc)(puVar2);" (call_expression "(*(code *)PTR_free_001464fc)(puVar2)" (parenthesized_expression "(*(code *)PTR_free_001464fc)" ( (pointer_expression "*(code *)PTR_free_001464fc" * (cast_expression "(code *)PTR_free_001464fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2)" ( identifier ))) ;) }) (else_clause "else if ((param_3 & 1) == 0) {\n      uVar10 = 0xffffffd8;\n      lVar14 = evalexp(param_2,0);\n      pcVar9 = (char *)lVar14;\n      if (local_28 != 0) {\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        puVar1 = (undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }\n      if ((param_3 & 0x200) == 0) goto LAB_000572ac;\nLAB_00057150:\n      if (*param_2 == '\0') {\n        puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *(undefined1 *)puVar1 = 0;\n      }\n      else {\n        iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n        uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n        puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);\n        pcVar9 = param_2;\n      }\n    }\n    else {\n      uVar12 = 0xffffffd8;\n      pcVar9 = (char *)0x0;\n      uVar10 = uVar12;\n      lVar14 = evalexp(*(undefined4 *)(param_1 + 4));\n      if (local_28 != 0) {\n        pcVar9 = (char *)0x0;\n        lVar15 = evalexp(param_2);\n        uVar10 = uVar12;\n        if (local_28 != 0) {\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }\n      }\n      if ((param_3 & 0x200) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        param_2 = pcVar9;\n        goto LAB_000572c8;\n      }\n      pcVar9 = (char *)get_variable_value(param_1);\n      param_3 = uVar10;\n      if (pcVar9 != (char *)0x0) goto LAB_000572f0;\n      iVar11 = 1;\n      iVar6 = 0;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\nLAB_0005730c:\n      if (param_2 != (char *)0x0) goto LAB_00057360;\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1);\n    }" else (if_statement "if ((param_3 & 1) == 0) {\n      uVar10 = 0xffffffd8;\n      lVar14 = evalexp(param_2,0);\n      pcVar9 = (char *)lVar14;\n      if (local_28 != 0) {\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        puVar1 = (undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }\n      if ((param_3 & 0x200) == 0) goto LAB_000572ac;\nLAB_00057150:\n      if (*param_2 == '\0') {\n        puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *(undefined1 *)puVar1 = 0;\n      }\n      else {\n        iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n        uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n        puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);\n        pcVar9 = param_2;\n      }\n    }\n    else {\n      uVar12 = 0xffffffd8;\n      pcVar9 = (char *)0x0;\n      uVar10 = uVar12;\n      lVar14 = evalexp(*(undefined4 *)(param_1 + 4));\n      if (local_28 != 0) {\n        pcVar9 = (char *)0x0;\n        lVar15 = evalexp(param_2);\n        uVar10 = uVar12;\n        if (local_28 != 0) {\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }\n      }\n      if ((param_3 & 0x200) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        param_2 = pcVar9;\n        goto LAB_000572c8;\n      }\n      pcVar9 = (char *)get_variable_value(param_1);\n      param_3 = uVar10;\n      if (pcVar9 != (char *)0x0) goto LAB_000572f0;\n      iVar11 = 1;\n      iVar6 = 0;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\nLAB_0005730c:\n      if (param_2 != (char *)0x0) goto LAB_00057360;\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1);\n    }" if (parenthesized_expression "((param_3 & 1) == 0)" ( (binary_expression "(param_3 & 1) == 0" (parenthesized_expression "(param_3 & 1)" ( (binary_expression "param_3 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      uVar10 = 0xffffffd8;\n      lVar14 = evalexp(param_2,0);\n      pcVar9 = (char *)lVar14;\n      if (local_28 != 0) {\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        puVar1 = (undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }\n      if ((param_3 & 0x200) == 0) goto LAB_000572ac;\nLAB_00057150:\n      if (*param_2 == '\0') {\n        puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *(undefined1 *)puVar1 = 0;\n      }\n      else {\n        iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n        uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n        puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);\n        pcVar9 = param_2;\n      }\n    }" { (expression_statement "uVar10 = 0xffffffd8;" (assignment_expression "uVar10 = 0xffffffd8" identifier = number_literal) ;) (expression_statement "lVar14 = evalexp(param_2,0);" (assignment_expression "lVar14 = evalexp(param_2,0)" identifier = (call_expression "evalexp(param_2,0)" identifier (argument_list "(param_2,0)" ( identifier , number_literal )))) ;) (expression_statement "pcVar9 = (char *)lVar14;" (assignment_expression "pcVar9 = (char *)lVar14" identifier = (cast_expression "(char *)lVar14" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (local_28 != 0) {\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        puVar1 = (undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }" if (parenthesized_expression "(local_28 != 0)" ( (binary_expression "local_28 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        puVar1 = (undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }" { (labeled_statement "LAB_0005711c:\n        pcVar9 = (char *)lVar14;" statement_identifier : (expression_statement "pcVar9 = (char *)lVar14;" (assignment_expression "pcVar9 = (char *)lVar14" identifier = (cast_expression "(char *)lVar14" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;)) (expression_statement "puVar1 = (undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));" (assignment_expression "puVar1 = (undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20))" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20))" (parenthesized_expression "(*(code *)PTR_itos_001447a4)" ( (pointer_expression "*(code *)PTR_itos_001447a4" * (cast_expression "(code *)PTR_itos_001447a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((int)((ulonglong)lVar14 >> 0x20))" ( (cast_expression "(int)((ulonglong)lVar14 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)lVar14 >> 0x20)" ( (binary_expression "(ulonglong)lVar14 >> 0x20" (cast_expression "(ulonglong)lVar14" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) ))))) ;) (goto_statement "goto LAB_00057194;" goto statement_identifier ;) })) (if_statement "if ((param_3 & 0x200) == 0) goto LAB_000572ac;" if (parenthesized_expression "((param_3 & 0x200) == 0)" ( (binary_expression "(param_3 & 0x200) == 0" (parenthesized_expression "(param_3 & 0x200)" ( (binary_expression "param_3 & 0x200" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_000572ac;" goto statement_identifier ;)) (labeled_statement "LAB_00057150:\n      if (*param_2 == '\0') {\n        puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *(undefined1 *)puVar1 = 0;\n      }\n      else {\n        iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n        uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n        puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);\n        pcVar9 = param_2;\n      }" statement_identifier : (if_statement "if (*param_2 == '\0') {\n        puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *(undefined1 *)puVar1 = 0;\n      }\n      else {\n        iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n        uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n        puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);\n        pcVar9 = param_2;\n      }" if (parenthesized_expression "(*param_2 == '\0')" ( (binary_expression "*param_2 == '\0'" (pointer_expression "*param_2" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *(undefined1 *)puVar1 = 0;\n      }" { (expression_statement "puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1);" (assignment_expression "puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001445b0)(1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1)" ( number_literal ))))) ;) (expression_statement "*(undefined1 *)puVar1 = 0;" (assignment_expression "*(undefined1 *)puVar1 = 0" (pointer_expression "*(undefined1 *)puVar1" * (cast_expression "(undefined1 *)puVar1" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) }) (else_clause "else {\n        iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n        uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n        puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);\n        pcVar9 = param_2;\n      }" else (compound_statement "{\n        iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n        uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n        puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);\n        pcVar9 = param_2;\n      }" { (expression_statement "iVar6 = (*(code *)PTR_strlen_00146390)(param_2);" (assignment_expression "iVar6 = (*(code *)PTR_strlen_00146390)(param_2)" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(param_2)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);" (assignment_expression "uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar6 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar6 + 1)" ( (binary_expression "iVar6 + 1" identifier + number_literal) )))) ;) (expression_statement "puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);" (assignment_expression "puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strcpy_00146418)(uVar5)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" ( (pointer_expression "*(code *)PTR_strcpy_00146418" * (cast_expression "(code *)PTR_strcpy_00146418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5)" ( identifier ))))) ;) (expression_statement "pcVar9 = param_2;" (assignment_expression "pcVar9 = param_2" identifier = identifier) ;) })))) }) (else_clause "else {\n      uVar12 = 0xffffffd8;\n      pcVar9 = (char *)0x0;\n      uVar10 = uVar12;\n      lVar14 = evalexp(*(undefined4 *)(param_1 + 4));\n      if (local_28 != 0) {\n        pcVar9 = (char *)0x0;\n        lVar15 = evalexp(param_2);\n        uVar10 = uVar12;\n        if (local_28 != 0) {\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }\n      }\n      if ((param_3 & 0x200) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        param_2 = pcVar9;\n        goto LAB_000572c8;\n      }\n      pcVar9 = (char *)get_variable_value(param_1);\n      param_3 = uVar10;\n      if (pcVar9 != (char *)0x0) goto LAB_000572f0;\n      iVar11 = 1;\n      iVar6 = 0;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\nLAB_0005730c:\n      if (param_2 != (char *)0x0) goto LAB_00057360;\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1);\n    }" else (compound_statement "{\n      uVar12 = 0xffffffd8;\n      pcVar9 = (char *)0x0;\n      uVar10 = uVar12;\n      lVar14 = evalexp(*(undefined4 *)(param_1 + 4));\n      if (local_28 != 0) {\n        pcVar9 = (char *)0x0;\n        lVar15 = evalexp(param_2);\n        uVar10 = uVar12;\n        if (local_28 != 0) {\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }\n      }\n      if ((param_3 & 0x200) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        param_2 = pcVar9;\n        goto LAB_000572c8;\n      }\n      pcVar9 = (char *)get_variable_value(param_1);\n      param_3 = uVar10;\n      if (pcVar9 != (char *)0x0) goto LAB_000572f0;\n      iVar11 = 1;\n      iVar6 = 0;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\nLAB_0005730c:\n      if (param_2 != (char *)0x0) goto LAB_00057360;\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1);\n    }" { (expression_statement "uVar12 = 0xffffffd8;" (assignment_expression "uVar12 = 0xffffffd8" identifier = number_literal) ;) (expression_statement "pcVar9 = (char *)0x0;" (assignment_expression "pcVar9 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar10 = uVar12;" (assignment_expression "uVar10 = uVar12" identifier = identifier) ;) (expression_statement "lVar14 = evalexp(*(undefined4 *)(param_1 + 4));" (assignment_expression "lVar14 = evalexp(*(undefined4 *)(param_1 + 4))" identifier = (call_expression "evalexp(*(undefined4 *)(param_1 + 4))" identifier (argument_list "(*(undefined4 *)(param_1 + 4))" ( (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) )))) ;) (if_statement "if (local_28 != 0) {\n        pcVar9 = (char *)0x0;\n        lVar15 = evalexp(param_2);\n        uVar10 = uVar12;\n        if (local_28 != 0) {\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }\n      }" if (parenthesized_expression "(local_28 != 0)" ( (binary_expression "local_28 != 0" identifier != number_literal) )) (compound_statement "{\n        pcVar9 = (char *)0x0;\n        lVar15 = evalexp(param_2);\n        uVar10 = uVar12;\n        if (local_28 != 0) {\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }\n      }" { (expression_statement "pcVar9 = (char *)0x0;" (assignment_expression "pcVar9 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "lVar15 = evalexp(param_2);" (assignment_expression "lVar15 = evalexp(param_2)" identifier = (call_expression "evalexp(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "uVar10 = uVar12;" (assignment_expression "uVar10 = uVar12" identifier = identifier) ;) (if_statement "if (local_28 != 0) {\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }" if (parenthesized_expression "(local_28 != 0)" ( (binary_expression "local_28 != 0" identifier != number_literal) )) (compound_statement "{\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }" { (expression_statement "lVar14 = lVar14 + lVar15;" (assignment_expression "lVar14 = lVar14 + lVar15" identifier = (binary_expression "lVar14 + lVar15" identifier + identifier)) ;) (goto_statement "goto LAB_0005711c;" goto statement_identifier ;) })) })) (if_statement "if ((param_3 & 0x200) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        param_2 = pcVar9;\n        goto LAB_000572c8;\n      }" if (parenthesized_expression "((param_3 & 0x200) == 0)" ( (binary_expression "(param_3 & 0x200) == 0" (parenthesized_expression "(param_3 & 0x200)" ( (binary_expression "param_3 & 0x200" identifier & number_literal) )) == number_literal) )) (compound_statement "{\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        param_2 = pcVar9;\n        goto LAB_000572c8;\n      }" { (labeled_statement "LAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();" statement_identifier : (expression_statement "(*(code *)PTR_top_level_cleanup_00144fb0)();" (call_expression "(*(code *)PTR_top_level_cleanup_00144fb0)()" (parenthesized_expression "(*(code *)PTR_top_level_cleanup_00144fb0)" ( (pointer_expression "*(code *)PTR_top_level_cleanup_00144fb0" * (cast_expression "(code *)PTR_top_level_cleanup_00144fb0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;)) (expression_statement "(*(code *)PTR_jump_to_top_level_00144808)(2);" (call_expression "(*(code *)PTR_jump_to_top_level_00144808)(2)" (parenthesized_expression "(*(code *)PTR_jump_to_top_level_00144808)" ( (pointer_expression "*(code *)PTR_jump_to_top_level_00144808" * (cast_expression "(code *)PTR_jump_to_top_level_00144808" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(2)" ( number_literal ))) ;) (expression_statement "param_2 = pcVar9;" (assignment_expression "param_2 = pcVar9" identifier = identifier) ;) (goto_statement "goto LAB_000572c8;" goto statement_identifier ;) })) (expression_statement "pcVar9 = (char *)get_variable_value(param_1);" (assignment_expression "pcVar9 = (char *)get_variable_value(param_1)" identifier = (cast_expression "(char *)get_variable_value(param_1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "get_variable_value(param_1)" identifier (argument_list "(param_1)" ( identifier ))))) ;) (expression_statement "param_3 = uVar10;" (assignment_expression "param_3 = uVar10" identifier = identifier) ;) (if_statement "if (pcVar9 != (char *)0x0) goto LAB_000572f0;" if (parenthesized_expression "(pcVar9 != (char *)0x0)" ( (binary_expression "pcVar9 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000572f0;" goto statement_identifier ;)) (expression_statement "iVar11 = 1;" (assignment_expression "iVar11 = 1" identifier = number_literal) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "pcVar9 = PTR_DAT_001445ac + -0x6800;" (assignment_expression "pcVar9 = PTR_DAT_001445ac + -0x6800" identifier = (binary_expression "PTR_DAT_001445ac + -0x6800" identifier + number_literal)) ;) (labeled_statement "LAB_0005730c:\n      if (param_2 != (char *)0x0) goto LAB_00057360;" statement_identifier : (if_statement "if (param_2 != (char *)0x0) goto LAB_00057360;" if (parenthesized_expression "(param_2 != (char *)0x0)" ( (binary_expression "param_2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00057360;" goto statement_identifier ;))) (expression_statement "puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);" (assignment_expression "puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar11)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar11)" ( identifier ))))) ;) (expression_statement "(*(code *)PTR_strcpy_00146418)(puVar1);" (call_expression "(*(code *)PTR_strcpy_00146418)(puVar1)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" ( (pointer_expression "*(code *)PTR_strcpy_00146418" * (cast_expression "(code *)PTR_strcpy_00146418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar1)" ( identifier ))) ;) }))))) }) (else_clause "else {\nLAB_0005713c:\n    uVar10 = param_3;\n    if (param_2 == (char *)0x0) {\nLAB_000572c8:\n      puVar1 = (undefined4 *)0x0;\n      pcVar9 = param_2;\n    }\n    else {\n      pcVar9 = param_2;\n      if ((param_3 & 1) == 0) goto LAB_00057150;\n      pcVar9 = (char *)get_variable_value(param_1);\n      if (pcVar9 != (char *)0x0) {\nLAB_000572f0:\n        iVar11 = 1;\n        uVar10 = param_3;\n        if (*pcVar9 == '\0') {\n          iVar6 = 0;\n        }\n        else {\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }\n        goto LAB_0005730c;\n      }\n      iVar6 = 0;\n      iVar11 = 1;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\n      uVar10 = param_3;\nLAB_00057360:\n      if (*param_2 != '\0') {\n        if (param_2[1] == '\0') {\n          iVar11 = iVar6 + 2;\n        }\n        else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }\n      }\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1,pcVar9);\n      (*(code *)PTR_strcpy_00146418)((undefined1 *)((int)puVar1 + iVar6));\n      pcVar9 = param_2;\n    }\n  }" else (compound_statement "{\nLAB_0005713c:\n    uVar10 = param_3;\n    if (param_2 == (char *)0x0) {\nLAB_000572c8:\n      puVar1 = (undefined4 *)0x0;\n      pcVar9 = param_2;\n    }\n    else {\n      pcVar9 = param_2;\n      if ((param_3 & 1) == 0) goto LAB_00057150;\n      pcVar9 = (char *)get_variable_value(param_1);\n      if (pcVar9 != (char *)0x0) {\nLAB_000572f0:\n        iVar11 = 1;\n        uVar10 = param_3;\n        if (*pcVar9 == '\0') {\n          iVar6 = 0;\n        }\n        else {\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }\n        goto LAB_0005730c;\n      }\n      iVar6 = 0;\n      iVar11 = 1;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\n      uVar10 = param_3;\nLAB_00057360:\n      if (*param_2 != '\0') {\n        if (param_2[1] == '\0') {\n          iVar11 = iVar6 + 2;\n        }\n        else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }\n      }\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1,pcVar9);\n      (*(code *)PTR_strcpy_00146418)((undefined1 *)((int)puVar1 + iVar6));\n      pcVar9 = param_2;\n    }\n  }" { (labeled_statement "LAB_0005713c:\n    uVar10 = param_3;" statement_identifier : (expression_statement "uVar10 = param_3;" (assignment_expression "uVar10 = param_3" identifier = identifier) ;)) (if_statement "if (param_2 == (char *)0x0) {\nLAB_000572c8:\n      puVar1 = (undefined4 *)0x0;\n      pcVar9 = param_2;\n    }\n    else {\n      pcVar9 = param_2;\n      if ((param_3 & 1) == 0) goto LAB_00057150;\n      pcVar9 = (char *)get_variable_value(param_1);\n      if (pcVar9 != (char *)0x0) {\nLAB_000572f0:\n        iVar11 = 1;\n        uVar10 = param_3;\n        if (*pcVar9 == '\0') {\n          iVar6 = 0;\n        }\n        else {\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }\n        goto LAB_0005730c;\n      }\n      iVar6 = 0;\n      iVar11 = 1;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\n      uVar10 = param_3;\nLAB_00057360:\n      if (*param_2 != '\0') {\n        if (param_2[1] == '\0') {\n          iVar11 = iVar6 + 2;\n        }\n        else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }\n      }\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1,pcVar9);\n      (*(code *)PTR_strcpy_00146418)((undefined1 *)((int)puVar1 + iVar6));\n      pcVar9 = param_2;\n    }" if (parenthesized_expression "(param_2 == (char *)0x0)" ( (binary_expression "param_2 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_000572c8:\n      puVar1 = (undefined4 *)0x0;\n      pcVar9 = param_2;\n    }" { (labeled_statement "LAB_000572c8:\n      puVar1 = (undefined4 *)0x0;" statement_identifier : (expression_statement "puVar1 = (undefined4 *)0x0;" (assignment_expression "puVar1 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (expression_statement "pcVar9 = param_2;" (assignment_expression "pcVar9 = param_2" identifier = identifier) ;) }) (else_clause "else {\n      pcVar9 = param_2;\n      if ((param_3 & 1) == 0) goto LAB_00057150;\n      pcVar9 = (char *)get_variable_value(param_1);\n      if (pcVar9 != (char *)0x0) {\nLAB_000572f0:\n        iVar11 = 1;\n        uVar10 = param_3;\n        if (*pcVar9 == '\0') {\n          iVar6 = 0;\n        }\n        else {\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }\n        goto LAB_0005730c;\n      }\n      iVar6 = 0;\n      iVar11 = 1;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\n      uVar10 = param_3;\nLAB_00057360:\n      if (*param_2 != '\0') {\n        if (param_2[1] == '\0') {\n          iVar11 = iVar6 + 2;\n        }\n        else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }\n      }\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1,pcVar9);\n      (*(code *)PTR_strcpy_00146418)((undefined1 *)((int)puVar1 + iVar6));\n      pcVar9 = param_2;\n    }" else (compound_statement "{\n      pcVar9 = param_2;\n      if ((param_3 & 1) == 0) goto LAB_00057150;\n      pcVar9 = (char *)get_variable_value(param_1);\n      if (pcVar9 != (char *)0x0) {\nLAB_000572f0:\n        iVar11 = 1;\n        uVar10 = param_3;\n        if (*pcVar9 == '\0') {\n          iVar6 = 0;\n        }\n        else {\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }\n        goto LAB_0005730c;\n      }\n      iVar6 = 0;\n      iVar11 = 1;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\n      uVar10 = param_3;\nLAB_00057360:\n      if (*param_2 != '\0') {\n        if (param_2[1] == '\0') {\n          iVar11 = iVar6 + 2;\n        }\n        else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }\n      }\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1,pcVar9);\n      (*(code *)PTR_strcpy_00146418)((undefined1 *)((int)puVar1 + iVar6));\n      pcVar9 = param_2;\n    }" { (expression_statement "pcVar9 = param_2;" (assignment_expression "pcVar9 = param_2" identifier = identifier) ;) (if_statement "if ((param_3 & 1) == 0) goto LAB_00057150;" if (parenthesized_expression "((param_3 & 1) == 0)" ( (binary_expression "(param_3 & 1) == 0" (parenthesized_expression "(param_3 & 1)" ( (binary_expression "param_3 & 1" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_00057150;" goto statement_identifier ;)) (expression_statement "pcVar9 = (char *)get_variable_value(param_1);" (assignment_expression "pcVar9 = (char *)get_variable_value(param_1)" identifier = (cast_expression "(char *)get_variable_value(param_1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "get_variable_value(param_1)" identifier (argument_list "(param_1)" ( identifier ))))) ;) (if_statement "if (pcVar9 != (char *)0x0) {\nLAB_000572f0:\n        iVar11 = 1;\n        uVar10 = param_3;\n        if (*pcVar9 == '\0') {\n          iVar6 = 0;\n        }\n        else {\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }\n        goto LAB_0005730c;\n      }" if (parenthesized_expression "(pcVar9 != (char *)0x0)" ( (binary_expression "pcVar9 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_000572f0:\n        iVar11 = 1;\n        uVar10 = param_3;\n        if (*pcVar9 == '\0') {\n          iVar6 = 0;\n        }\n        else {\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }\n        goto LAB_0005730c;\n      }" { (labeled_statement "LAB_000572f0:\n        iVar11 = 1;" statement_identifier : (expression_statement "iVar11 = 1;" (assignment_expression "iVar11 = 1" identifier = number_literal) ;)) (expression_statement "uVar10 = param_3;" (assignment_expression "uVar10 = param_3" identifier = identifier) ;) (if_statement "if (*pcVar9 == '\0') {\n          iVar6 = 0;\n        }\n        else {\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }" if (parenthesized_expression "(*pcVar9 == '\0')" ( (binary_expression "*pcVar9 == '\0'" (pointer_expression "*pcVar9" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar6 = 0;\n        }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) }) (else_clause "else {\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }" else (compound_statement "{\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }" { (expression_statement "iVar11 = 2;" (assignment_expression "iVar11 = 2" identifier = number_literal) ;) (if_statement "if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }" if (parenthesized_expression "(pcVar9[1] == '\0')" ( (binary_expression "pcVar9[1] == '\0'" (subscript_expression "pcVar9[1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            iVar6 = 1;\n          }" { (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" identifier = number_literal) ;) }) (else_clause "else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }" else (if_statement "if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }" if (parenthesized_expression "(pcVar9[2] == '\0')" ( (binary_expression "pcVar9[2] == '\0'" (subscript_expression "pcVar9[2]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            iVar11 = 3;\n            iVar6 = 2;\n          }" { (expression_statement "iVar11 = 3;" (assignment_expression "iVar11 = 3" identifier = number_literal) ;) (expression_statement "iVar6 = 2;" (assignment_expression "iVar6 = 2" identifier = number_literal) ;) }) (else_clause "else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }" else (compound_statement "{\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }" { (expression_statement "iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);" (assignment_expression "iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9)" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(pcVar9)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar9)" ( identifier )))) ;) (expression_statement "iVar11 = iVar6 + 1;" (assignment_expression "iVar11 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "uVar10 = param_3;" (assignment_expression "uVar10 = param_3" identifier = identifier) ;) }))))) }))) (goto_statement "goto LAB_0005730c;" goto statement_identifier ;) })) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "iVar11 = 1;" (assignment_expression "iVar11 = 1" identifier = number_literal) ;) (expression_statement "pcVar9 = PTR_DAT_001445ac + -0x6800;" (assignment_expression "pcVar9 = PTR_DAT_001445ac + -0x6800" identifier = (binary_expression "PTR_DAT_001445ac + -0x6800" identifier + number_literal)) ;) (expression_statement "uVar10 = param_3;" (assignment_expression "uVar10 = param_3" identifier = identifier) ;) (labeled_statement "LAB_00057360:\n      if (*param_2 != '\0') {\n        if (param_2[1] == '\0') {\n          iVar11 = iVar6 + 2;\n        }\n        else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }\n      }" statement_identifier : (if_statement "if (*param_2 != '\0') {\n        if (param_2[1] == '\0') {\n          iVar11 = iVar6 + 2;\n        }\n        else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }\n      }" if (parenthesized_expression "(*param_2 != '\0')" ( (binary_expression "*param_2 != '\0'" (pointer_expression "*param_2" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        if (param_2[1] == '\0') {\n          iVar11 = iVar6 + 2;\n        }\n        else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }\n      }" { (if_statement "if (param_2[1] == '\0') {\n          iVar11 = iVar6 + 2;\n        }\n        else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }" if (parenthesized_expression "(param_2[1] == '\0')" ( (binary_expression "param_2[1] == '\0'" (subscript_expression "param_2[1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar11 = iVar6 + 2;\n        }" { (expression_statement "iVar11 = iVar6 + 2;" (assignment_expression "iVar11 = iVar6 + 2" identifier = (binary_expression "iVar6 + 2" identifier + number_literal)) ;) }) (else_clause "else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }" else (if_statement "if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }" if (parenthesized_expression "(param_2[2] == '\0')" ( (binary_expression "param_2[2] == '\0'" (subscript_expression "param_2[2]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar11 = iVar6 + 3;\n        }" { (expression_statement "iVar11 = iVar6 + 3;" (assignment_expression "iVar11 = iVar6 + 3" identifier = (binary_expression "iVar6 + 3" identifier + number_literal)) ;) }) (else_clause "else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }" else (compound_statement "{\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }" { (expression_statement "iVar3 = (*(code *)PTR_strlen_00146390)(param_2);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_00146390)(param_2)" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(param_2)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "iVar11 = iVar11 + iVar3;" (assignment_expression "iVar11 = iVar11 + iVar3" identifier = (binary_expression "iVar11 + iVar3" identifier + identifier)) ;) }))))) }))) (expression_statement "puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);" (assignment_expression "puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar11)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar11)" ( identifier ))))) ;) (expression_statement "(*(code *)PTR_strcpy_00146418)(puVar1,pcVar9);" (call_expression "(*(code *)PTR_strcpy_00146418)(puVar1,pcVar9)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" ( (pointer_expression "*(code *)PTR_strcpy_00146418" * (cast_expression "(code *)PTR_strcpy_00146418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar1,pcVar9)" ( identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_strcpy_00146418)((undefined1 *)((int)puVar1 + iVar6));" (call_expression "(*(code *)PTR_strcpy_00146418)((undefined1 *)((int)puVar1 + iVar6))" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" ( (pointer_expression "*(code *)PTR_strcpy_00146418" * (cast_expression "(code *)PTR_strcpy_00146418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((undefined1 *)((int)puVar1 + iVar6))" ( (cast_expression "(undefined1 *)((int)puVar1 + iVar6)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + iVar6)" ( (binary_expression "(int)puVar1 + iVar6" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) ))) ))) ;) (expression_statement "pcVar9 = param_2;" (assignment_expression "pcVar9 = param_2" identifier = identifier) ;) }))) }))) (labeled_statement "LAB_00057194:\n  if (puVar8 == *(undefined4 **)puVar13) {\n    return puVar1;\n  }" statement_identifier : (if_statement "if (puVar8 == *(undefined4 **)puVar13) {\n    return puVar1;\n  }" if (parenthesized_expression "(puVar8 == *(undefined4 **)puVar13)" ( (binary_expression "puVar8 == *(undefined4 **)puVar13" identifier == (pointer_expression "*(undefined4 **)puVar13" * (cast_expression "(undefined4 **)puVar13" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return puVar1;\n  }" { (return_statement "return puVar1;" return identifier ;) }))) (expression_statement "puVar13 = PTR___stack_chk_fail_00146488;" (assignment_expression "puVar13 = PTR___stack_chk_fail_00146488" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00146488)();" (call_expression "(*(code *)PTR___stack_chk_fail_00146488)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00146488)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00146488" * (cast_expression "(code *)PTR___stack_chk_fail_00146488" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "uVar12 = puVar8[5];" (assignment_expression "uVar12 = puVar8[5]" identifier = (subscript_expression "puVar8[5]" identifier [ number_literal ])) ;) (expression_statement "puVar8[5] = uVar12 & 0xffffefff;" (assignment_expression "puVar8[5] = uVar12 & 0xffffefff" (subscript_expression "puVar8[5]" identifier [ number_literal ]) = (binary_expression "uVar12 & 0xffffefff" identifier & number_literal)) ;) (if_statement "if ((code *)puVar8[4] == (code *)0x0) {\n    uVar12 = uVar12 & 0x1000;\n    uVar5 = make_variable_value();\n    if (((uVar10 & 0x30) == 0x10) && (iVar6 = check_selfref(*puVar8,uVar5,0), iVar6 != 0)) {\n      if (**(int **)(puVar13 + 0xed2e0) == 0) {\n        uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6e14,5);\n        internal_error(uVar7,*puVar8);\n        (**(code **)(puVar13 + 0xeef80))(uVar5);\n        if (uVar12 == 0) {\n          return (undefined4 *)0x0;\n        }\n        goto LAB_0005772c;\n      }\n      uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6d18);\n      internal_warning(uVar7,*puVar8);\n    }\n    if (((uVar10 & 0x10) != 0) && (iVar6 = valid_nameref_value(uVar5,0), iVar6 == 0)) {\n      (**(code **)(puVar13 + 0xeef80))(uVar5);\n      if (uVar12 == 0) {\n        return (undefined4 *)0x0;\n      }\nLAB_0005772c:\n      puVar8[5] = puVar8[5] | 0x1000;\n      return (undefined4 *)0x0;\n    }\n    if (puVar8[1] != 0) {\n      (**(code **)(puVar13 + 0xeef80))();\n    }\n    puVar8[1] = uVar5;\n  }\n  else if ((uVar10 & 1) == 0) {\n    (*(code *)puVar8[4])();\n  }\n  else {\n    pcVar4 = (char *)make_variable_value();\n    (*(code *)puVar8[4])(puVar8,pcVar4,0xffffffff,0xffffffff,0);\n    if ((pcVar9 != pcVar4) && (pcVar4 != (char *)0x0)) {\n      (**(code **)(puVar13 + 0xeef80))(pcVar4);\n    }\n  }" if (parenthesized_expression "((code *)puVar8[4] == (code *)0x0)" ( (binary_expression "(code *)puVar8[4] == (code *)0x0" (cast_expression "(code *)puVar8[4]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar8[4]" identifier [ number_literal ])) == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar12 = uVar12 & 0x1000;\n    uVar5 = make_variable_value();\n    if (((uVar10 & 0x30) == 0x10) && (iVar6 = check_selfref(*puVar8,uVar5,0), iVar6 != 0)) {\n      if (**(int **)(puVar13 + 0xed2e0) == 0) {\n        uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6e14,5);\n        internal_error(uVar7,*puVar8);\n        (**(code **)(puVar13 + 0xeef80))(uVar5);\n        if (uVar12 == 0) {\n          return (undefined4 *)0x0;\n        }\n        goto LAB_0005772c;\n      }\n      uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6d18);\n      internal_warning(uVar7,*puVar8);\n    }\n    if (((uVar10 & 0x10) != 0) && (iVar6 = valid_nameref_value(uVar5,0), iVar6 == 0)) {\n      (**(code **)(puVar13 + 0xeef80))(uVar5);\n      if (uVar12 == 0) {\n        return (undefined4 *)0x0;\n      }\nLAB_0005772c:\n      puVar8[5] = puVar8[5] | 0x1000;\n      return (undefined4 *)0x0;\n    }\n    if (puVar8[1] != 0) {\n      (**(code **)(puVar13 + 0xeef80))();\n    }\n    puVar8[1] = uVar5;\n  }" { (expression_statement "uVar12 = uVar12 & 0x1000;" (assignment_expression "uVar12 = uVar12 & 0x1000" identifier = (binary_expression "uVar12 & 0x1000" identifier & number_literal)) ;) (expression_statement "uVar5 = make_variable_value();" (assignment_expression "uVar5 = make_variable_value()" identifier = (call_expression "make_variable_value()" identifier (argument_list "()" ( )))) ;) (if_statement "if (((uVar10 & 0x30) == 0x10) && (iVar6 = check_selfref(*puVar8,uVar5,0), iVar6 != 0)) {\n      if (**(int **)(puVar13 + 0xed2e0) == 0) {\n        uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6e14,5);\n        internal_error(uVar7,*puVar8);\n        (**(code **)(puVar13 + 0xeef80))(uVar5);\n        if (uVar12 == 0) {\n          return (undefined4 *)0x0;\n        }\n        goto LAB_0005772c;\n      }\n      uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6d18);\n      internal_warning(uVar7,*puVar8);\n    }" if (parenthesized_expression "(((uVar10 & 0x30) == 0x10) && (iVar6 = check_selfref(*puVar8,uVar5,0), iVar6 != 0))" ( (binary_expression "((uVar10 & 0x30) == 0x10) && (iVar6 = check_selfref(*puVar8,uVar5,0), iVar6 != 0)" (parenthesized_expression "((uVar10 & 0x30) == 0x10)" ( (binary_expression "(uVar10 & 0x30) == 0x10" (parenthesized_expression "(uVar10 & 0x30)" ( (binary_expression "uVar10 & 0x30" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "(iVar6 = check_selfref(*puVar8,uVar5,0), iVar6 != 0)" ( (comma_expression "iVar6 = check_selfref(*puVar8,uVar5,0), iVar6 != 0" (assignment_expression "iVar6 = check_selfref(*puVar8,uVar5,0)" identifier = (call_expression "check_selfref(*puVar8,uVar5,0)" identifier (argument_list "(*puVar8,uVar5,0)" ( (pointer_expression "*puVar8" * identifier) , identifier , number_literal )))) , (binary_expression "iVar6 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      if (**(int **)(puVar13 + 0xed2e0) == 0) {\n        uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6e14,5);\n        internal_error(uVar7,*puVar8);\n        (**(code **)(puVar13 + 0xeef80))(uVar5);\n        if (uVar12 == 0) {\n          return (undefined4 *)0x0;\n        }\n        goto LAB_0005772c;\n      }\n      uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6d18);\n      internal_warning(uVar7,*puVar8);\n    }" { (if_statement "if (**(int **)(puVar13 + 0xed2e0) == 0) {\n        uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6e14,5);\n        internal_error(uVar7,*puVar8);\n        (**(code **)(puVar13 + 0xeef80))(uVar5);\n        if (uVar12 == 0) {\n          return (undefined4 *)0x0;\n        }\n        goto LAB_0005772c;\n      }" if (parenthesized_expression "(**(int **)(puVar13 + 0xed2e0) == 0)" ( (binary_expression "**(int **)(puVar13 + 0xed2e0) == 0" (pointer_expression "**(int **)(puVar13 + 0xed2e0)" * (pointer_expression "*(int **)(puVar13 + 0xed2e0)" * (cast_expression "(int **)(puVar13 + 0xed2e0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0xed2e0)" ( (binary_expression "puVar13 + 0xed2e0" identifier + number_literal) ))))) == number_literal) )) (compound_statement "{\n        uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6e14,5);\n        internal_error(uVar7,*puVar8);\n        (**(code **)(puVar13 + 0xeef80))(uVar5);\n        if (uVar12 == 0) {\n          return (undefined4 *)0x0;\n        }\n        goto LAB_0005772c;\n      }" { (expression_statement "uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6e14,5);" (assignment_expression "uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6e14,5)" identifier = (call_expression "(**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6e14,5)" (parenthesized_expression "(**(code **)(puVar13 + 0xeef1c))" ( (pointer_expression "**(code **)(puVar13 + 0xeef1c)" * (pointer_expression "*(code **)(puVar13 + 0xeef1c)" * (cast_expression "(code **)(puVar13 + 0xeef1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0xeef1c)" ( (binary_expression "puVar13 + 0xeef1c" identifier + number_literal) ))))) )) (argument_list "(0,*(int *)(puVar13 + 0xecffc) + 0x6e14,5)" ( number_literal , (binary_expression "*(int *)(puVar13 + 0xecffc) + 0x6e14" (pointer_expression "*(int *)(puVar13 + 0xecffc)" * (cast_expression "(int *)(puVar13 + 0xecffc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + 0xecffc)" ( (binary_expression "puVar13 + 0xecffc" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "internal_error(uVar7,*puVar8);" (call_expression "internal_error(uVar7,*puVar8)" identifier (argument_list "(uVar7,*puVar8)" ( identifier , (pointer_expression "*puVar8" * identifier) ))) ;) (expression_statement "(**(code **)(puVar13 + 0xeef80))(uVar5);" (call_expression "(**(code **)(puVar13 + 0xeef80))(uVar5)" (parenthesized_expression "(**(code **)(puVar13 + 0xeef80))" ( (pointer_expression "**(code **)(puVar13 + 0xeef80)" * (pointer_expression "*(code **)(puVar13 + 0xeef80)" * (cast_expression "(code **)(puVar13 + 0xeef80)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0xeef80)" ( (binary_expression "puVar13 + 0xeef80" identifier + number_literal) ))))) )) (argument_list "(uVar5)" ( identifier ))) ;) (if_statement "if (uVar12 == 0) {\n          return (undefined4 *)0x0;\n        }" if (parenthesized_expression "(uVar12 == 0)" ( (binary_expression "uVar12 == 0" identifier == number_literal) )) (compound_statement "{\n          return (undefined4 *)0x0;\n        }" { (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (goto_statement "goto LAB_0005772c;" goto statement_identifier ;) })) (expression_statement "uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6d18);" (assignment_expression "uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6d18)" identifier = (call_expression "(**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6d18)" (parenthesized_expression "(**(code **)(puVar13 + 0xeef1c))" ( (pointer_expression "**(code **)(puVar13 + 0xeef1c)" * (pointer_expression "*(code **)(puVar13 + 0xeef1c)" * (cast_expression "(code **)(puVar13 + 0xeef1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0xeef1c)" ( (binary_expression "puVar13 + 0xeef1c" identifier + number_literal) ))))) )) (argument_list "(0,*(int *)(puVar13 + 0xecffc) + 0x6d18)" ( number_literal , (binary_expression "*(int *)(puVar13 + 0xecffc) + 0x6d18" (pointer_expression "*(int *)(puVar13 + 0xecffc)" * (cast_expression "(int *)(puVar13 + 0xecffc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + 0xecffc)" ( (binary_expression "puVar13 + 0xecffc" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "internal_warning(uVar7,*puVar8);" (call_expression "internal_warning(uVar7,*puVar8)" identifier (argument_list "(uVar7,*puVar8)" ( identifier , (pointer_expression "*puVar8" * identifier) ))) ;) })) (if_statement "if (((uVar10 & 0x10) != 0) && (iVar6 = valid_nameref_value(uVar5,0), iVar6 == 0)) {\n      (**(code **)(puVar13 + 0xeef80))(uVar5);\n      if (uVar12 == 0) {\n        return (undefined4 *)0x0;\n      }\nLAB_0005772c:\n      puVar8[5] = puVar8[5] | 0x1000;\n      return (undefined4 *)0x0;\n    }" if (parenthesized_expression "(((uVar10 & 0x10) != 0) && (iVar6 = valid_nameref_value(uVar5,0), iVar6 == 0))" ( (binary_expression "((uVar10 & 0x10) != 0) && (iVar6 = valid_nameref_value(uVar5,0), iVar6 == 0)" (parenthesized_expression "((uVar10 & 0x10) != 0)" ( (binary_expression "(uVar10 & 0x10) != 0" (parenthesized_expression "(uVar10 & 0x10)" ( (binary_expression "uVar10 & 0x10" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(iVar6 = valid_nameref_value(uVar5,0), iVar6 == 0)" ( (comma_expression "iVar6 = valid_nameref_value(uVar5,0), iVar6 == 0" (assignment_expression "iVar6 = valid_nameref_value(uVar5,0)" identifier = (call_expression "valid_nameref_value(uVar5,0)" identifier (argument_list "(uVar5,0)" ( identifier , number_literal )))) , (binary_expression "iVar6 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      (**(code **)(puVar13 + 0xeef80))(uVar5);\n      if (uVar12 == 0) {\n        return (undefined4 *)0x0;\n      }\nLAB_0005772c:\n      puVar8[5] = puVar8[5] | 0x1000;\n      return (undefined4 *)0x0;\n    }" { (expression_statement "(**(code **)(puVar13 + 0xeef80))(uVar5);" (call_expression "(**(code **)(puVar13 + 0xeef80))(uVar5)" (parenthesized_expression "(**(code **)(puVar13 + 0xeef80))" ( (pointer_expression "**(code **)(puVar13 + 0xeef80)" * (pointer_expression "*(code **)(puVar13 + 0xeef80)" * (cast_expression "(code **)(puVar13 + 0xeef80)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0xeef80)" ( (binary_expression "puVar13 + 0xeef80" identifier + number_literal) ))))) )) (argument_list "(uVar5)" ( identifier ))) ;) (if_statement "if (uVar12 == 0) {\n        return (undefined4 *)0x0;\n      }" if (parenthesized_expression "(uVar12 == 0)" ( (binary_expression "uVar12 == 0" identifier == number_literal) )) (compound_statement "{\n        return (undefined4 *)0x0;\n      }" { (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (labeled_statement "LAB_0005772c:\n      puVar8[5] = puVar8[5] | 0x1000;" statement_identifier : (expression_statement "puVar8[5] = puVar8[5] | 0x1000;" (assignment_expression "puVar8[5] = puVar8[5] | 0x1000" (subscript_expression "puVar8[5]" identifier [ number_literal ]) = (binary_expression "puVar8[5] | 0x1000" (subscript_expression "puVar8[5]" identifier [ number_literal ]) | number_literal)) ;)) (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (if_statement "if (puVar8[1] != 0) {\n      (**(code **)(puVar13 + 0xeef80))();\n    }" if (parenthesized_expression "(puVar8[1] != 0)" ( (binary_expression "puVar8[1] != 0" (subscript_expression "puVar8[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      (**(code **)(puVar13 + 0xeef80))();\n    }" { (expression_statement "(**(code **)(puVar13 + 0xeef80))();" (call_expression "(**(code **)(puVar13 + 0xeef80))()" (parenthesized_expression "(**(code **)(puVar13 + 0xeef80))" ( (pointer_expression "**(code **)(puVar13 + 0xeef80)" * (pointer_expression "*(code **)(puVar13 + 0xeef80)" * (cast_expression "(code **)(puVar13 + 0xeef80)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0xeef80)" ( (binary_expression "puVar13 + 0xeef80" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (expression_statement "puVar8[1] = uVar5;" (assignment_expression "puVar8[1] = uVar5" (subscript_expression "puVar8[1]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else if ((uVar10 & 1) == 0) {\n    (*(code *)puVar8[4])();\n  }\n  else {\n    pcVar4 = (char *)make_variable_value();\n    (*(code *)puVar8[4])(puVar8,pcVar4,0xffffffff,0xffffffff,0);\n    if ((pcVar9 != pcVar4) && (pcVar4 != (char *)0x0)) {\n      (**(code **)(puVar13 + 0xeef80))(pcVar4);\n    }\n  }" else (if_statement "if ((uVar10 & 1) == 0) {\n    (*(code *)puVar8[4])();\n  }\n  else {\n    pcVar4 = (char *)make_variable_value();\n    (*(code *)puVar8[4])(puVar8,pcVar4,0xffffffff,0xffffffff,0);\n    if ((pcVar9 != pcVar4) && (pcVar4 != (char *)0x0)) {\n      (**(code **)(puVar13 + 0xeef80))(pcVar4);\n    }\n  }" if (parenthesized_expression "((uVar10 & 1) == 0)" ( (binary_expression "(uVar10 & 1) == 0" (parenthesized_expression "(uVar10 & 1)" ( (binary_expression "uVar10 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    (*(code *)puVar8[4])();\n  }" { (expression_statement "(*(code *)puVar8[4])();" (call_expression "(*(code *)puVar8[4])()" (parenthesized_expression "(*(code *)puVar8[4])" ( (pointer_expression "*(code *)puVar8[4]" * (cast_expression "(code *)puVar8[4]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar8[4]" identifier [ number_literal ]))) )) (argument_list "()" ( ))) ;) }) (else_clause "else {\n    pcVar4 = (char *)make_variable_value();\n    (*(code *)puVar8[4])(puVar8,pcVar4,0xffffffff,0xffffffff,0);\n    if ((pcVar9 != pcVar4) && (pcVar4 != (char *)0x0)) {\n      (**(code **)(puVar13 + 0xeef80))(pcVar4);\n    }\n  }" else (compound_statement "{\n    pcVar4 = (char *)make_variable_value();\n    (*(code *)puVar8[4])(puVar8,pcVar4,0xffffffff,0xffffffff,0);\n    if ((pcVar9 != pcVar4) && (pcVar4 != (char *)0x0)) {\n      (**(code **)(puVar13 + 0xeef80))(pcVar4);\n    }\n  }" { (expression_statement "pcVar4 = (char *)make_variable_value();" (assignment_expression "pcVar4 = (char *)make_variable_value()" identifier = (cast_expression "(char *)make_variable_value()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "make_variable_value()" identifier (argument_list "()" ( ))))) ;) (expression_statement "(*(code *)puVar8[4])(puVar8,pcVar4,0xffffffff,0xffffffff,0);" (call_expression "(*(code *)puVar8[4])(puVar8,pcVar4,0xffffffff,0xffffffff,0)" (parenthesized_expression "(*(code *)puVar8[4])" ( (pointer_expression "*(code *)puVar8[4]" * (cast_expression "(code *)puVar8[4]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar8[4]" identifier [ number_literal ]))) )) (argument_list "(puVar8,pcVar4,0xffffffff,0xffffffff,0)" ( identifier , identifier , number_literal , number_literal , number_literal ))) ;) (if_statement "if ((pcVar9 != pcVar4) && (pcVar4 != (char *)0x0)) {\n      (**(code **)(puVar13 + 0xeef80))(pcVar4);\n    }" if (parenthesized_expression "((pcVar9 != pcVar4) && (pcVar4 != (char *)0x0))" ( (binary_expression "(pcVar9 != pcVar4) && (pcVar4 != (char *)0x0)" (parenthesized_expression "(pcVar9 != pcVar4)" ( (binary_expression "pcVar9 != pcVar4" identifier != identifier) )) && (parenthesized_expression "(pcVar4 != (char *)0x0)" ( (binary_expression "pcVar4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n      (**(code **)(puVar13 + 0xeef80))(pcVar4);\n    }" { (expression_statement "(**(code **)(puVar13 + 0xeef80))(pcVar4);" (call_expression "(**(code **)(puVar13 + 0xeef80))(pcVar4)" (parenthesized_expression "(**(code **)(puVar13 + 0xeef80))" ( (pointer_expression "**(code **)(puVar13 + 0xeef80)" * (pointer_expression "*(code **)(puVar13 + 0xeef80)" * (cast_expression "(code **)(puVar13 + 0xeef80)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0xeef80)" ( (binary_expression "puVar13 + 0xeef80" identifier + number_literal) ))))) )) (argument_list "(pcVar4)" ( identifier ))) ;) })) }))))) (if_statement "if (puVar8[2] != 0) {\n    (**(code **)(puVar13 + 0xeef80))();\n    puVar8[2] = 0;\n  }" if (parenthesized_expression "(puVar8[2] != 0)" ( (binary_expression "puVar8[2] != 0" (subscript_expression "puVar8[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    (**(code **)(puVar13 + 0xeef80))();\n    puVar8[2] = 0;\n  }" { (expression_statement "(**(code **)(puVar13 + 0xeef80))();" (call_expression "(**(code **)(puVar13 + 0xeef80))()" (parenthesized_expression "(**(code **)(puVar13 + 0xeef80))" ( (pointer_expression "**(code **)(puVar13 + 0xeef80)" * (pointer_expression "*(code **)(puVar13 + 0xeef80)" * (cast_expression "(code **)(puVar13 + 0xeef80)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0xeef80)" ( (binary_expression "puVar13 + 0xeef80" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (expression_statement "puVar8[2] = 0;" (assignment_expression "puVar8[2] = 0" (subscript_expression "puVar8[2]" identifier [ number_literal ]) = number_literal) ;) })) (if_statement "if (**(int **)(puVar13 + 0xeda38) == 0) {\n    puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);\n    if ((puVar8[5] & 1) == 0) {\n      return puVar8;\n    }\n  }\n  else {\n    puVar8[5] = puVar8[5] | 1;\n    puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);\n  }" if (parenthesized_expression "(**(int **)(puVar13 + 0xeda38) == 0)" ( (binary_expression "**(int **)(puVar13 + 0xeda38) == 0" (pointer_expression "**(int **)(puVar13 + 0xeda38)" * (pointer_expression "*(int **)(puVar13 + 0xeda38)" * (cast_expression "(int **)(puVar13 + 0xeda38)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0xeda38)" ( (binary_expression "puVar13 + 0xeda38" identifier + number_literal) ))))) == number_literal) )) (compound_statement "{\n    puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);\n    if ((puVar8[5] & 1) == 0) {\n      return puVar8;\n    }\n  }" { (expression_statement "puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);" (assignment_expression "puVar1 = *(undefined4 **)(puVar13 + 0xeda3c)" identifier = (pointer_expression "*(undefined4 **)(puVar13 + 0xeda3c)" * (cast_expression "(undefined4 **)(puVar13 + 0xeda3c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0xeda3c)" ( (binary_expression "puVar13 + 0xeda3c" identifier + number_literal) ))))) ;) (if_statement "if ((puVar8[5] & 1) == 0) {\n      return puVar8;\n    }" if (parenthesized_expression "((puVar8[5] & 1) == 0)" ( (binary_expression "(puVar8[5] & 1) == 0" (parenthesized_expression "(puVar8[5] & 1)" ( (binary_expression "puVar8[5] & 1" (subscript_expression "puVar8[5]" identifier [ number_literal ]) & number_literal) )) == number_literal) )) (compound_statement "{\n      return puVar8;\n    }" { (return_statement "return puVar8;" return identifier ;) })) }) (else_clause "else {\n    puVar8[5] = puVar8[5] | 1;\n    puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);\n  }" else (compound_statement "{\n    puVar8[5] = puVar8[5] | 1;\n    puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);\n  }" { (expression_statement "puVar8[5] = puVar8[5] | 1;" (assignment_expression "puVar8[5] = puVar8[5] | 1" (subscript_expression "puVar8[5]" identifier [ number_literal ]) = (binary_expression "puVar8[5] | 1" (subscript_expression "puVar8[5]" identifier [ number_literal ]) | number_literal)) ;) (expression_statement "puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);" (assignment_expression "puVar1 = *(undefined4 **)(puVar13 + 0xeda3c)" identifier = (pointer_expression "*(undefined4 **)(puVar13 + 0xeda3c)" * (cast_expression "(undefined4 **)(puVar13 + 0xeda3c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0xeda3c)" ( (binary_expression "puVar13 + 0xeda3c" identifier + number_literal) ))))) ;) }))) (expression_statement "*puVar1 = 1;" (assignment_expression "*puVar1 = 1" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (return_statement "return puVar8;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) )) (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 ( 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 = (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 ))))) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_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 ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_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 = (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 ))))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = LIT) , (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' escape_sequence '))) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = LIT) , (binary_expression (subscript_expression IDENT [ LIT ]) != (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 ( IDENT )))) ;) })) (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 + IDENT) ))))) ;) (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 ( (binary_expression IDENT + IDENT) , IDENT ))) ;) }))) }))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 ))))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (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 *)) ) IDENT)) ;)) (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 ( (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) ))))) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) )) (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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 ( 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 = (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 ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (goto_statement goto statement_identifier ;) })) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (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 ( ))) ;)) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (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 ))) ;) }))))) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_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 ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))))) }))) (goto_statement goto statement_identifier ;) })) (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) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_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 ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) }))))) }))) (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 ))))) ;) (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 ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) ))) ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) }))) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (compound_statement { (return_statement return IDENT ;) }))) (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 ( ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , IDENT , LIT )))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) == 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 ( LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * IDENT) ))) ;) (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 ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return (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 *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * IDENT) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (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 ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) | LIT)) ;)) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (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 ( ))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (argument_list ( ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (argument_list ( IDENT , IDENT , LIT , LIT , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != IDENT) )) && (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ))) )) (compound_statement { (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 ))) ;) })) }))))) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (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 ( ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) & LIT) )) == LIT) )) (compound_statement { (return_statement return IDENT ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) | LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 * make_variable_value(int param_1,char *param_2,uint param_3)\n\n{\n  undefined4 *puVar1;\n  undefined1 *puVar2;\n  int iVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined4 uVar7;\n  undefined4 *puVar8;\n  char *pcVar9;\n  uint uVar10;\n  int iVar11;\n  uint uVar12;\n  undefined *puVar13;\n  longlong lVar14;\n  longlong lVar15;\n  int local_28;\n  \n  puVar13 = PTR___stack_chk_guard_001464dc;\n  puVar8 = *(undefined4 **)PTR___stack_chk_guard_001464dc;\n  if ((param_3 & 0x100) == 0) {\n    if ((*(uint *)(param_1 + 0x14) & 0x10) == 0) {\n      if ((*(uint *)(param_1 + 0x14) & 0x700) == 0) goto LAB_0005713c;\n      if ((param_3 & 1) == 0) {\n        if (*param_2 == '\0') {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar2 = 0;\n        }\n        else {\n          iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n          puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2);\n        }\n      }\n      else {\n        pcVar9 = (char *)get_variable_value();\n        if (pcVar9 == (char *)0x0) {\n          iVar11 = 1;\n          iVar6 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar11 = 1;\n          if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }\n        }\n        if (param_2 == (char *)0x0) {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n        }\n        else {\n          iVar3 = 0;\n          if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);\n        }\n      }\n      if ((*(uint *)(param_1 + 0x14) & 0x400) == 0) {\n        uVar10 = (uint)((*(uint *)(param_1 + 0x14) & 0x100) == 0);\n      }\n      else {\n        uVar10 = 0;\n      }\n      pcVar9 = (char *)0x0;\n      puVar1 = (undefined4 *)(*(code *)PTR_sh_modcase_00144fac)(puVar2);\n      (*(code *)PTR_free_001464fc)(puVar2);\n    }\n    else if ((param_3 & 1) == 0) {\n      uVar10 = 0xffffffd8;\n      lVar14 = evalexp(param_2,0);\n      pcVar9 = (char *)lVar14;\n      if (local_28 != 0) {\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        puVar1 = (undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }\n      if ((param_3 & 0x200) == 0) goto LAB_000572ac;\nLAB_00057150:\n      if (*param_2 == '\0') {\n        puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *(undefined1 *)puVar1 = 0;\n      }\n      else {\n        iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n        uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n        puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);\n        pcVar9 = param_2;\n      }\n    }\n    else {\n      uVar12 = 0xffffffd8;\n      pcVar9 = (char *)0x0;\n      uVar10 = uVar12;\n      lVar14 = evalexp(*(undefined4 *)(param_1 + 4));\n      if (local_28 != 0) {\n        pcVar9 = (char *)0x0;\n        lVar15 = evalexp(param_2);\n        uVar10 = uVar12;\n        if (local_28 != 0) {\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }\n      }\n      if ((param_3 & 0x200) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        param_2 = pcVar9;\n        goto LAB_000572c8;\n      }\n      pcVar9 = (char *)get_variable_value(param_1);\n      param_3 = uVar10;\n      if (pcVar9 != (char *)0x0) goto LAB_000572f0;\n      iVar11 = 1;\n      iVar6 = 0;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\nLAB_0005730c:\n      if (param_2 != (char *)0x0) goto LAB_00057360;\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1);\n    }\n  }\n  else {\nLAB_0005713c:\n    uVar10 = param_3;\n    if (param_2 == (char *)0x0) {\nLAB_000572c8:\n      puVar1 = (undefined4 *)0x0;\n      pcVar9 = param_2;\n    }\n    else {\n      pcVar9 = param_2;\n      if ((param_3 & 1) == 0) goto LAB_00057150;\n      pcVar9 = (char *)get_variable_value(param_1);\n      if (pcVar9 != (char *)0x0) {\nLAB_000572f0:\n        iVar11 = 1;\n        uVar10 = param_3;\n        if (*pcVar9 == '\0') {\n          iVar6 = 0;\n        }\n        else {\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }\n        goto LAB_0005730c;\n      }\n      iVar6 = 0;\n      iVar11 = 1;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\n      uVar10 = param_3;\nLAB_00057360:\n      if (*param_2 != '\0') {\n        if (param_2[1] == '\0') {\n          iVar11 = iVar6 + 2;\n        }\n        else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }\n      }\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1,pcVar9);\n      (*(code *)PTR_strcpy_00146418)((undefined1 *)((int)puVar1 + iVar6));\n      pcVar9 = param_2;\n    }\n  }\nLAB_00057194:\n  if (puVar8 == *(undefined4 **)puVar13) {\n    return puVar1;\n  }\n  puVar13 = PTR___stack_chk_fail_00146488;\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  uVar12 = puVar8[5];\n  puVar8[5] = uVar12 & 0xffffefff;\n  if ((code *)puVar8[4] == (code *)0x0) {\n    uVar12 = uVar12 & 0x1000;\n    uVar5 = make_variable_value();\n    if (((uVar10 & 0x30) == 0x10) && (iVar6 = check_selfref(*puVar8,uVar5,0), iVar6 != 0)) {\n      if (**(int **)(puVar13 + 0xed2e0) == 0) {\n        uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6e14,5);\n        internal_error(uVar7,*puVar8);\n        (**(code **)(puVar13 + 0xeef80))(uVar5);\n        if (uVar12 == 0) {\n          return (undefined4 *)0x0;\n        }\n        goto LAB_0005772c;\n      }\n      uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6d18);\n      internal_warning(uVar7,*puVar8);\n    }\n    if (((uVar10 & 0x10) != 0) && (iVar6 = valid_nameref_value(uVar5,0), iVar6 == 0)) {\n      (**(code **)(puVar13 + 0xeef80))(uVar5);\n      if (uVar12 == 0) {\n        return (undefined4 *)0x0;\n      }\nLAB_0005772c:\n      puVar8[5] = puVar8[5] | 0x1000;\n      return (undefined4 *)0x0;\n    }\n    if (puVar8[1] != 0) {\n      (**(code **)(puVar13 + 0xeef80))();\n    }\n    puVar8[1] = uVar5;\n  }\n  else if ((uVar10 & 1) == 0) {\n    (*(code *)puVar8[4])();\n  }\n  else {\n    pcVar4 = (char *)make_variable_value();\n    (*(code *)puVar8[4])(puVar8,pcVar4,0xffffffff,0xffffffff,0);\n    if ((pcVar9 != pcVar4) && (pcVar4 != (char *)0x0)) {\n      (**(code **)(puVar13 + 0xeef80))(pcVar4);\n    }\n  }\n  if (puVar8[2] != 0) {\n    (**(code **)(puVar13 + 0xeef80))();\n    puVar8[2] = 0;\n  }\n  if (**(int **)(puVar13 + 0xeda38) == 0) {\n    puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);\n    if ((puVar8[5] & 1) == 0) {\n      return puVar8;\n    }\n  }\n  else {\n    puVar8[5] = puVar8[5] | 1;\n    puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);\n  }\n  *puVar1 = 1;\n  return puVar8;\n}" (type_identifier "undefined4") (pointer_declarator "* make_variable_value(int param_1,char *param_2,uint param_3)" (* "*") (function_declarator "make_variable_value(int param_1,char *param_2,uint param_3)" (identifier "make_variable_value") (parameter_list "(int param_1,char *param_2,uint param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) () ")")))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined1 *puVar2;\n  int iVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined4 uVar7;\n  undefined4 *puVar8;\n  char *pcVar9;\n  uint uVar10;\n  int iVar11;\n  uint uVar12;\n  undefined *puVar13;\n  longlong lVar14;\n  longlong lVar15;\n  int local_28;\n  \n  puVar13 = PTR___stack_chk_guard_001464dc;\n  puVar8 = *(undefined4 **)PTR___stack_chk_guard_001464dc;\n  if ((param_3 & 0x100) == 0) {\n    if ((*(uint *)(param_1 + 0x14) & 0x10) == 0) {\n      if ((*(uint *)(param_1 + 0x14) & 0x700) == 0) goto LAB_0005713c;\n      if ((param_3 & 1) == 0) {\n        if (*param_2 == '\0') {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar2 = 0;\n        }\n        else {\n          iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n          puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2);\n        }\n      }\n      else {\n        pcVar9 = (char *)get_variable_value();\n        if (pcVar9 == (char *)0x0) {\n          iVar11 = 1;\n          iVar6 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar11 = 1;\n          if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }\n        }\n        if (param_2 == (char *)0x0) {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n        }\n        else {\n          iVar3 = 0;\n          if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);\n        }\n      }\n      if ((*(uint *)(param_1 + 0x14) & 0x400) == 0) {\n        uVar10 = (uint)((*(uint *)(param_1 + 0x14) & 0x100) == 0);\n      }\n      else {\n        uVar10 = 0;\n      }\n      pcVar9 = (char *)0x0;\n      puVar1 = (undefined4 *)(*(code *)PTR_sh_modcase_00144fac)(puVar2);\n      (*(code *)PTR_free_001464fc)(puVar2);\n    }\n    else if ((param_3 & 1) == 0) {\n      uVar10 = 0xffffffd8;\n      lVar14 = evalexp(param_2,0);\n      pcVar9 = (char *)lVar14;\n      if (local_28 != 0) {\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        puVar1 = (undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }\n      if ((param_3 & 0x200) == 0) goto LAB_000572ac;\nLAB_00057150:\n      if (*param_2 == '\0') {\n        puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *(undefined1 *)puVar1 = 0;\n      }\n      else {\n        iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n        uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n        puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);\n        pcVar9 = param_2;\n      }\n    }\n    else {\n      uVar12 = 0xffffffd8;\n      pcVar9 = (char *)0x0;\n      uVar10 = uVar12;\n      lVar14 = evalexp(*(undefined4 *)(param_1 + 4));\n      if (local_28 != 0) {\n        pcVar9 = (char *)0x0;\n        lVar15 = evalexp(param_2);\n        uVar10 = uVar12;\n        if (local_28 != 0) {\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }\n      }\n      if ((param_3 & 0x200) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        param_2 = pcVar9;\n        goto LAB_000572c8;\n      }\n      pcVar9 = (char *)get_variable_value(param_1);\n      param_3 = uVar10;\n      if (pcVar9 != (char *)0x0) goto LAB_000572f0;\n      iVar11 = 1;\n      iVar6 = 0;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\nLAB_0005730c:\n      if (param_2 != (char *)0x0) goto LAB_00057360;\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1);\n    }\n  }\n  else {\nLAB_0005713c:\n    uVar10 = param_3;\n    if (param_2 == (char *)0x0) {\nLAB_000572c8:\n      puVar1 = (undefined4 *)0x0;\n      pcVar9 = param_2;\n    }\n    else {\n      pcVar9 = param_2;\n      if ((param_3 & 1) == 0) goto LAB_00057150;\n      pcVar9 = (char *)get_variable_value(param_1);\n      if (pcVar9 != (char *)0x0) {\nLAB_000572f0:\n        iVar11 = 1;\n        uVar10 = param_3;\n        if (*pcVar9 == '\0') {\n          iVar6 = 0;\n        }\n        else {\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }\n        goto LAB_0005730c;\n      }\n      iVar6 = 0;\n      iVar11 = 1;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\n      uVar10 = param_3;\nLAB_00057360:\n      if (*param_2 != '\0') {\n        if (param_2[1] == '\0') {\n          iVar11 = iVar6 + 2;\n        }\n        else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }\n      }\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1,pcVar9);\n      (*(code *)PTR_strcpy_00146418)((undefined1 *)((int)puVar1 + iVar6));\n      pcVar9 = param_2;\n    }\n  }\nLAB_00057194:\n  if (puVar8 == *(undefined4 **)puVar13) {\n    return puVar1;\n  }\n  puVar13 = PTR___stack_chk_fail_00146488;\n  (*(code *)PTR___stack_chk_fail_00146488)();\n  uVar12 = puVar8[5];\n  puVar8[5] = uVar12 & 0xffffefff;\n  if ((code *)puVar8[4] == (code *)0x0) {\n    uVar12 = uVar12 & 0x1000;\n    uVar5 = make_variable_value();\n    if (((uVar10 & 0x30) == 0x10) && (iVar6 = check_selfref(*puVar8,uVar5,0), iVar6 != 0)) {\n      if (**(int **)(puVar13 + 0xed2e0) == 0) {\n        uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6e14,5);\n        internal_error(uVar7,*puVar8);\n        (**(code **)(puVar13 + 0xeef80))(uVar5);\n        if (uVar12 == 0) {\n          return (undefined4 *)0x0;\n        }\n        goto LAB_0005772c;\n      }\n      uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6d18);\n      internal_warning(uVar7,*puVar8);\n    }\n    if (((uVar10 & 0x10) != 0) && (iVar6 = valid_nameref_value(uVar5,0), iVar6 == 0)) {\n      (**(code **)(puVar13 + 0xeef80))(uVar5);\n      if (uVar12 == 0) {\n        return (undefined4 *)0x0;\n      }\nLAB_0005772c:\n      puVar8[5] = puVar8[5] | 0x1000;\n      return (undefined4 *)0x0;\n    }\n    if (puVar8[1] != 0) {\n      (**(code **)(puVar13 + 0xeef80))();\n    }\n    puVar8[1] = uVar5;\n  }\n  else if ((uVar10 & 1) == 0) {\n    (*(code *)puVar8[4])();\n  }\n  else {\n    pcVar4 = (char *)make_variable_value();\n    (*(code *)puVar8[4])(puVar8,pcVar4,0xffffffff,0xffffffff,0);\n    if ((pcVar9 != pcVar4) && (pcVar4 != (char *)0x0)) {\n      (**(code **)(puVar13 + 0xeef80))(pcVar4);\n    }\n  }\n  if (puVar8[2] != 0) {\n    (**(code **)(puVar13 + 0xeef80))();\n    puVar8[2] = 0;\n  }\n  if (**(int **)(puVar13 + 0xeda38) == 0) {\n    puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);\n    if ((puVar8[5] & 1) == 0) {\n      return puVar8;\n    }\n  }\n  else {\n    puVar8[5] = puVar8[5] | 1;\n    puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);\n  }\n  *puVar1 = 1;\n  return puVar8;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined1 *puVar2;" (type_identifier "undefined1") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (declaration "undefined4 *puVar8;" (type_identifier "undefined4") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "char *pcVar9;" (primitive_type "char") (pointer_declarator "*pcVar9" (* "*") (identifier "pcVar9")) (; ";")) (declaration "uint uVar10;" (type_identifier "uint") (identifier "uVar10") (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "uint uVar12;" (type_identifier "uint") (identifier "uVar12") (; ";")) (declaration "undefined *puVar13;" (type_identifier "undefined") (pointer_declarator "*puVar13" (* "*") (identifier "puVar13")) (; ";")) (declaration "longlong lVar14;" (type_identifier "longlong") (identifier "lVar14") (; ";")) (declaration "longlong lVar15;" (type_identifier "longlong") (identifier "lVar15") (; ";")) (declaration "int local_28;" (primitive_type "int") (identifier "local_28") (; ";")) (expression_statement "puVar13 = PTR___stack_chk_guard_001464dc;" (assignment_expression "puVar13 = PTR___stack_chk_guard_001464dc" (identifier "puVar13") (= "=") (identifier "PTR___stack_chk_guard_001464dc")) (; ";")) (expression_statement "puVar8 = *(undefined4 **)PTR___stack_chk_guard_001464dc;" (assignment_expression "puVar8 = *(undefined4 **)PTR___stack_chk_guard_001464dc" (identifier "puVar8") (= "=") (pointer_expression "*(undefined4 **)PTR___stack_chk_guard_001464dc" (* "*") (cast_expression "(undefined4 **)PTR___stack_chk_guard_001464dc" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR___stack_chk_guard_001464dc")))) (; ";")) (if_statement "if ((param_3 & 0x100) == 0) {\n    if ((*(uint *)(param_1 + 0x14) & 0x10) == 0) {\n      if ((*(uint *)(param_1 + 0x14) & 0x700) == 0) goto LAB_0005713c;\n      if ((param_3 & 1) == 0) {\n        if (*param_2 == '\0') {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar2 = 0;\n        }\n        else {\n          iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n          puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2);\n        }\n      }\n      else {\n        pcVar9 = (char *)get_variable_value();\n        if (pcVar9 == (char *)0x0) {\n          iVar11 = 1;\n          iVar6 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar11 = 1;\n          if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }\n        }\n        if (param_2 == (char *)0x0) {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n        }\n        else {\n          iVar3 = 0;\n          if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);\n        }\n      }\n      if ((*(uint *)(param_1 + 0x14) & 0x400) == 0) {\n        uVar10 = (uint)((*(uint *)(param_1 + 0x14) & 0x100) == 0);\n      }\n      else {\n        uVar10 = 0;\n      }\n      pcVar9 = (char *)0x0;\n      puVar1 = (undefined4 *)(*(code *)PTR_sh_modcase_00144fac)(puVar2);\n      (*(code *)PTR_free_001464fc)(puVar2);\n    }\n    else if ((param_3 & 1) == 0) {\n      uVar10 = 0xffffffd8;\n      lVar14 = evalexp(param_2,0);\n      pcVar9 = (char *)lVar14;\n      if (local_28 != 0) {\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        puVar1 = (undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }\n      if ((param_3 & 0x200) == 0) goto LAB_000572ac;\nLAB_00057150:\n      if (*param_2 == '\0') {\n        puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *(undefined1 *)puVar1 = 0;\n      }\n      else {\n        iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n        uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n        puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);\n        pcVar9 = param_2;\n      }\n    }\n    else {\n      uVar12 = 0xffffffd8;\n      pcVar9 = (char *)0x0;\n      uVar10 = uVar12;\n      lVar14 = evalexp(*(undefined4 *)(param_1 + 4));\n      if (local_28 != 0) {\n        pcVar9 = (char *)0x0;\n        lVar15 = evalexp(param_2);\n        uVar10 = uVar12;\n        if (local_28 != 0) {\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }\n      }\n      if ((param_3 & 0x200) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        param_2 = pcVar9;\n        goto LAB_000572c8;\n      }\n      pcVar9 = (char *)get_variable_value(param_1);\n      param_3 = uVar10;\n      if (pcVar9 != (char *)0x0) goto LAB_000572f0;\n      iVar11 = 1;\n      iVar6 = 0;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\nLAB_0005730c:\n      if (param_2 != (char *)0x0) goto LAB_00057360;\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1);\n    }\n  }\n  else {\nLAB_0005713c:\n    uVar10 = param_3;\n    if (param_2 == (char *)0x0) {\nLAB_000572c8:\n      puVar1 = (undefined4 *)0x0;\n      pcVar9 = param_2;\n    }\n    else {\n      pcVar9 = param_2;\n      if ((param_3 & 1) == 0) goto LAB_00057150;\n      pcVar9 = (char *)get_variable_value(param_1);\n      if (pcVar9 != (char *)0x0) {\nLAB_000572f0:\n        iVar11 = 1;\n        uVar10 = param_3;\n        if (*pcVar9 == '\0') {\n          iVar6 = 0;\n        }\n        else {\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }\n        goto LAB_0005730c;\n      }\n      iVar6 = 0;\n      iVar11 = 1;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\n      uVar10 = param_3;\nLAB_00057360:\n      if (*param_2 != '\0') {\n        if (param_2[1] == '\0') {\n          iVar11 = iVar6 + 2;\n        }\n        else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }\n      }\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1,pcVar9);\n      (*(code *)PTR_strcpy_00146418)((undefined1 *)((int)puVar1 + iVar6));\n      pcVar9 = param_2;\n    }\n  }" (if "if") (parenthesized_expression "((param_3 & 0x100) == 0)" (( "(") (binary_expression "(param_3 & 0x100) == 0" (parenthesized_expression "(param_3 & 0x100)" (( "(") (binary_expression "param_3 & 0x100" (identifier "param_3") (& "&") (number_literal "0x100")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if ((*(uint *)(param_1 + 0x14) & 0x10) == 0) {\n      if ((*(uint *)(param_1 + 0x14) & 0x700) == 0) goto LAB_0005713c;\n      if ((param_3 & 1) == 0) {\n        if (*param_2 == '\0') {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar2 = 0;\n        }\n        else {\n          iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n          puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2);\n        }\n      }\n      else {\n        pcVar9 = (char *)get_variable_value();\n        if (pcVar9 == (char *)0x0) {\n          iVar11 = 1;\n          iVar6 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar11 = 1;\n          if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }\n        }\n        if (param_2 == (char *)0x0) {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n        }\n        else {\n          iVar3 = 0;\n          if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);\n        }\n      }\n      if ((*(uint *)(param_1 + 0x14) & 0x400) == 0) {\n        uVar10 = (uint)((*(uint *)(param_1 + 0x14) & 0x100) == 0);\n      }\n      else {\n        uVar10 = 0;\n      }\n      pcVar9 = (char *)0x0;\n      puVar1 = (undefined4 *)(*(code *)PTR_sh_modcase_00144fac)(puVar2);\n      (*(code *)PTR_free_001464fc)(puVar2);\n    }\n    else if ((param_3 & 1) == 0) {\n      uVar10 = 0xffffffd8;\n      lVar14 = evalexp(param_2,0);\n      pcVar9 = (char *)lVar14;\n      if (local_28 != 0) {\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        puVar1 = (undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }\n      if ((param_3 & 0x200) == 0) goto LAB_000572ac;\nLAB_00057150:\n      if (*param_2 == '\0') {\n        puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *(undefined1 *)puVar1 = 0;\n      }\n      else {\n        iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n        uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n        puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);\n        pcVar9 = param_2;\n      }\n    }\n    else {\n      uVar12 = 0xffffffd8;\n      pcVar9 = (char *)0x0;\n      uVar10 = uVar12;\n      lVar14 = evalexp(*(undefined4 *)(param_1 + 4));\n      if (local_28 != 0) {\n        pcVar9 = (char *)0x0;\n        lVar15 = evalexp(param_2);\n        uVar10 = uVar12;\n        if (local_28 != 0) {\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }\n      }\n      if ((param_3 & 0x200) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        param_2 = pcVar9;\n        goto LAB_000572c8;\n      }\n      pcVar9 = (char *)get_variable_value(param_1);\n      param_3 = uVar10;\n      if (pcVar9 != (char *)0x0) goto LAB_000572f0;\n      iVar11 = 1;\n      iVar6 = 0;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\nLAB_0005730c:\n      if (param_2 != (char *)0x0) goto LAB_00057360;\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1);\n    }\n  }" ({ "{") (if_statement "if ((*(uint *)(param_1 + 0x14) & 0x10) == 0) {\n      if ((*(uint *)(param_1 + 0x14) & 0x700) == 0) goto LAB_0005713c;\n      if ((param_3 & 1) == 0) {\n        if (*param_2 == '\0') {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar2 = 0;\n        }\n        else {\n          iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n          puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2);\n        }\n      }\n      else {\n        pcVar9 = (char *)get_variable_value();\n        if (pcVar9 == (char *)0x0) {\n          iVar11 = 1;\n          iVar6 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar11 = 1;\n          if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }\n        }\n        if (param_2 == (char *)0x0) {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n        }\n        else {\n          iVar3 = 0;\n          if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);\n        }\n      }\n      if ((*(uint *)(param_1 + 0x14) & 0x400) == 0) {\n        uVar10 = (uint)((*(uint *)(param_1 + 0x14) & 0x100) == 0);\n      }\n      else {\n        uVar10 = 0;\n      }\n      pcVar9 = (char *)0x0;\n      puVar1 = (undefined4 *)(*(code *)PTR_sh_modcase_00144fac)(puVar2);\n      (*(code *)PTR_free_001464fc)(puVar2);\n    }\n    else if ((param_3 & 1) == 0) {\n      uVar10 = 0xffffffd8;\n      lVar14 = evalexp(param_2,0);\n      pcVar9 = (char *)lVar14;\n      if (local_28 != 0) {\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        puVar1 = (undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }\n      if ((param_3 & 0x200) == 0) goto LAB_000572ac;\nLAB_00057150:\n      if (*param_2 == '\0') {\n        puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *(undefined1 *)puVar1 = 0;\n      }\n      else {\n        iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n        uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n        puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);\n        pcVar9 = param_2;\n      }\n    }\n    else {\n      uVar12 = 0xffffffd8;\n      pcVar9 = (char *)0x0;\n      uVar10 = uVar12;\n      lVar14 = evalexp(*(undefined4 *)(param_1 + 4));\n      if (local_28 != 0) {\n        pcVar9 = (char *)0x0;\n        lVar15 = evalexp(param_2);\n        uVar10 = uVar12;\n        if (local_28 != 0) {\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }\n      }\n      if ((param_3 & 0x200) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        param_2 = pcVar9;\n        goto LAB_000572c8;\n      }\n      pcVar9 = (char *)get_variable_value(param_1);\n      param_3 = uVar10;\n      if (pcVar9 != (char *)0x0) goto LAB_000572f0;\n      iVar11 = 1;\n      iVar6 = 0;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\nLAB_0005730c:\n      if (param_2 != (char *)0x0) goto LAB_00057360;\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1);\n    }" (if "if") (parenthesized_expression "((*(uint *)(param_1 + 0x14) & 0x10) == 0)" (( "(") (binary_expression "(*(uint *)(param_1 + 0x14) & 0x10) == 0" (parenthesized_expression "(*(uint *)(param_1 + 0x14) & 0x10)" (( "(") (binary_expression "*(uint *)(param_1 + 0x14) & 0x10" (pointer_expression "*(uint *)(param_1 + 0x14)" (* "*") (cast_expression "(uint *)(param_1 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (& "&") (number_literal "0x10")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if ((*(uint *)(param_1 + 0x14) & 0x700) == 0) goto LAB_0005713c;\n      if ((param_3 & 1) == 0) {\n        if (*param_2 == '\0') {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar2 = 0;\n        }\n        else {\n          iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n          puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2);\n        }\n      }\n      else {\n        pcVar9 = (char *)get_variable_value();\n        if (pcVar9 == (char *)0x0) {\n          iVar11 = 1;\n          iVar6 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar11 = 1;\n          if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }\n        }\n        if (param_2 == (char *)0x0) {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n        }\n        else {\n          iVar3 = 0;\n          if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);\n        }\n      }\n      if ((*(uint *)(param_1 + 0x14) & 0x400) == 0) {\n        uVar10 = (uint)((*(uint *)(param_1 + 0x14) & 0x100) == 0);\n      }\n      else {\n        uVar10 = 0;\n      }\n      pcVar9 = (char *)0x0;\n      puVar1 = (undefined4 *)(*(code *)PTR_sh_modcase_00144fac)(puVar2);\n      (*(code *)PTR_free_001464fc)(puVar2);\n    }" ({ "{") (if_statement "if ((*(uint *)(param_1 + 0x14) & 0x700) == 0) goto LAB_0005713c;" (if "if") (parenthesized_expression "((*(uint *)(param_1 + 0x14) & 0x700) == 0)" (( "(") (binary_expression "(*(uint *)(param_1 + 0x14) & 0x700) == 0" (parenthesized_expression "(*(uint *)(param_1 + 0x14) & 0x700)" (( "(") (binary_expression "*(uint *)(param_1 + 0x14) & 0x700" (pointer_expression "*(uint *)(param_1 + 0x14)" (* "*") (cast_expression "(uint *)(param_1 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (& "&") (number_literal "0x700")) () ")")) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0005713c;" (goto "goto") (statement_identifier "LAB_0005713c") (; ";"))) (if_statement "if ((param_3 & 1) == 0) {\n        if (*param_2 == '\0') {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar2 = 0;\n        }\n        else {\n          iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n          puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2);\n        }\n      }\n      else {\n        pcVar9 = (char *)get_variable_value();\n        if (pcVar9 == (char *)0x0) {\n          iVar11 = 1;\n          iVar6 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar11 = 1;\n          if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }\n        }\n        if (param_2 == (char *)0x0) {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n        }\n        else {\n          iVar3 = 0;\n          if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);\n        }\n      }" (if "if") (parenthesized_expression "((param_3 & 1) == 0)" (( "(") (binary_expression "(param_3 & 1) == 0" (parenthesized_expression "(param_3 & 1)" (( "(") (binary_expression "param_3 & 1" (identifier "param_3") (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        if (*param_2 == '\0') {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar2 = 0;\n        }\n        else {\n          iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n          puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2);\n        }\n      }" ({ "{") (if_statement "if (*param_2 == '\0') {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar2 = 0;\n        }\n        else {\n          iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n          puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2);\n        }" (if "if") (parenthesized_expression "(*param_2 == '\0')" (( "(") (binary_expression "*param_2 == '\0'" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);\n          *puVar2 = 0;\n        }" ({ "{") (expression_statement "puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);" (assignment_expression "puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1)" (identifier "puVar2") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_xmalloc_001445b0)(1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" (( "(") (pointer_expression "*(code *)PTR_xmalloc_001445b0" (* "*") (cast_expression "(code *)PTR_xmalloc_001445b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xmalloc_001445b0"))) () ")")) (argument_list "(1)" (( "(") (number_literal "1") () ")"))))) (; ";")) (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n          iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n          puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2);\n        }" (else "else") (compound_statement "{\n          iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n          puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2);\n        }" ({ "{") (expression_statement "iVar6 = (*(code *)PTR_strlen_00146390)(param_2);" (assignment_expression "iVar6 = (*(code *)PTR_strlen_00146390)(param_2)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_strlen_00146390)(param_2)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" (( "(") (pointer_expression "*(code *)PTR_strlen_00146390" (* "*") (cast_expression "(code *)PTR_strlen_00146390" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00146390"))) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);" (assignment_expression "uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1)" (identifier "uVar5") (= "=") (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar6 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" (( "(") (pointer_expression "*(code *)PTR_xmalloc_001445b0" (* "*") (cast_expression "(code *)PTR_xmalloc_001445b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xmalloc_001445b0"))) () ")")) (argument_list "(iVar6 + 1)" (( "(") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2);" (assignment_expression "puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2)" (identifier "puVar2") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_strcpy_00146418)(uVar5,param_2)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" (( "(") (pointer_expression "*(code *)PTR_strcpy_00146418" (* "*") (cast_expression "(code *)PTR_strcpy_00146418" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcpy_00146418"))) () ")")) (argument_list "(uVar5,param_2)" (( "(") (identifier "uVar5") (, ",") (identifier "param_2") () ")"))))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n        pcVar9 = (char *)get_variable_value();\n        if (pcVar9 == (char *)0x0) {\n          iVar11 = 1;\n          iVar6 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar11 = 1;\n          if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }\n        }\n        if (param_2 == (char *)0x0) {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n        }\n        else {\n          iVar3 = 0;\n          if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);\n        }\n      }" (else "else") (compound_statement "{\n        pcVar9 = (char *)get_variable_value();\n        if (pcVar9 == (char *)0x0) {\n          iVar11 = 1;\n          iVar6 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar11 = 1;\n          if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }\n        }\n        if (param_2 == (char *)0x0) {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n        }\n        else {\n          iVar3 = 0;\n          if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);\n        }\n      }" ({ "{") (expression_statement "pcVar9 = (char *)get_variable_value();" (assignment_expression "pcVar9 = (char *)get_variable_value()" (identifier "pcVar9") (= "=") (cast_expression "(char *)get_variable_value()" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "get_variable_value()" (identifier "get_variable_value") (argument_list "()" (( "(") () ")"))))) (; ";")) (if_statement "if (pcVar9 == (char *)0x0) {\n          iVar11 = 1;\n          iVar6 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }\n        else {\n          iVar11 = 1;\n          if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }\n        }" (if "if") (parenthesized_expression "(pcVar9 == (char *)0x0)" (( "(") (binary_expression "pcVar9 == (char *)0x0" (identifier "pcVar9") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          iVar11 = 1;\n          iVar6 = 0;\n          pcVar9 = PTR_DAT_001445ac + -0x6800;\n        }" ({ "{") (expression_statement "iVar11 = 1;" (assignment_expression "iVar11 = 1" (identifier "iVar11") (= "=") (number_literal "1")) (; ";")) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar9 = PTR_DAT_001445ac + -0x6800;" (assignment_expression "pcVar9 = PTR_DAT_001445ac + -0x6800" (identifier "pcVar9") (= "=") (binary_expression "PTR_DAT_001445ac + -0x6800" (identifier "PTR_DAT_001445ac") (+ "+") (number_literal "-0x6800"))) (; ";")) (} "}")) (else_clause "else {\n          iVar11 = 1;\n          if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }\n        }" (else "else") (compound_statement "{\n          iVar11 = 1;\n          if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }\n        }" ({ "{") (expression_statement "iVar11 = 1;" (assignment_expression "iVar11 = 1" (identifier "iVar11") (= "=") (number_literal "1")) (; ";")) (if_statement "if (*pcVar9 == '\0') {\n            iVar6 = 0;\n          }\n          else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }" (if "if") (parenthesized_expression "(*pcVar9 == '\0')" (( "(") (binary_expression "*pcVar9 == '\0'" (pointer_expression "*pcVar9" (* "*") (identifier "pcVar9")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n            iVar6 = 0;\n          }" ({ "{") (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }" (else "else") (compound_statement "{\n            iVar11 = 2;\n            if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }\n          }" ({ "{") (expression_statement "iVar11 = 2;" (assignment_expression "iVar11 = 2" (identifier "iVar11") (= "=") (number_literal "2")) (; ";")) (if_statement "if (pcVar9[1] == '\0') {\n              iVar6 = 1;\n            }\n            else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }" (if "if") (parenthesized_expression "(pcVar9[1] == '\0')" (( "(") (binary_expression "pcVar9[1] == '\0'" (subscript_expression "pcVar9[1]" (identifier "pcVar9") ([ "[") (number_literal "1") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n              iVar6 = 1;\n            }" ({ "{") (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" (identifier "iVar6") (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }" (else "else") (compound_statement "{\n              iVar11 = 3;\n              if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }\n            }" ({ "{") (expression_statement "iVar11 = 3;" (assignment_expression "iVar11 = 3" (identifier "iVar11") (= "=") (number_literal "3")) (; ";")) (if_statement "if (pcVar9[2] == '\0') {\n                iVar6 = 2;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }" (if "if") (parenthesized_expression "(pcVar9[2] == '\0')" (( "(") (binary_expression "pcVar9[2] == '\0'" (subscript_expression "pcVar9[2]" (identifier "pcVar9") ([ "[") (number_literal "2") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n                iVar6 = 2;\n              }" ({ "{") (expression_statement "iVar6 = 2;" (assignment_expression "iVar6 = 2" (identifier "iVar6") (= "=") (number_literal "2")) (; ";")) (} "}")) (else_clause "else {\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }" (else "else") (compound_statement "{\n                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n                iVar11 = iVar6 + 1;\n              }" ({ "{") (expression_statement "iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);" (assignment_expression "iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_strlen_00146390)(pcVar9)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" (( "(") (pointer_expression "*(code *)PTR_strlen_00146390" (* "*") (cast_expression "(code *)PTR_strlen_00146390" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00146390"))) () ")")) (argument_list "(pcVar9)" (( "(") (identifier "pcVar9") () ")")))) (; ";")) (expression_statement "iVar11 = iVar6 + 1;" (assignment_expression "iVar11 = iVar6 + 1" (identifier "iVar11") (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (} "}")))) (} "}")))) (} "}")))) (if_statement "if (param_2 == (char *)0x0) {\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n        }\n        else {\n          iVar3 = 0;\n          if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);\n        }" (if "if") (parenthesized_expression "(param_2 == (char *)0x0)" (( "(") (binary_expression "param_2 == (char *)0x0" (identifier "param_2") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n        }" ({ "{") (expression_statement "puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);" (assignment_expression "puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11)" (identifier "puVar2") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar11)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" (( "(") (pointer_expression "*(code *)PTR_xmalloc_001445b0" (* "*") (cast_expression "(code *)PTR_xmalloc_001445b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xmalloc_001445b0"))) () ")")) (argument_list "(iVar11)" (( "(") (identifier "iVar11") () ")"))))) (; ";")) (expression_statement "(*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);" (call_expression "(*(code *)PTR_strcpy_00146418)(puVar2,pcVar9)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" (( "(") (pointer_expression "*(code *)PTR_strcpy_00146418" (* "*") (cast_expression "(code *)PTR_strcpy_00146418" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcpy_00146418"))) () ")")) (argument_list "(puVar2,pcVar9)" (( "(") (identifier "puVar2") (, ",") (identifier "pcVar9") () ")"))) (; ";")) (} "}")) (else_clause "else {\n          iVar3 = 0;\n          if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);\n        }" (else "else") (compound_statement "{\n          iVar3 = 0;\n          if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }\n          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);\n          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);\n          (*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);\n        }" ({ "{") (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (if_statement "if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')) {\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }" (if "if") (parenthesized_expression "(((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0'))" (( "(") (binary_expression "((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&\n             (iVar3 = 2, param_2[2] != '\0')" (parenthesized_expression "((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0'))" (( "(") (binary_expression "(*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')" (parenthesized_expression "(*param_2 != '\0')" (( "(") (binary_expression "*param_2 != '\0'" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(iVar3 = 1, param_2[1] != '\0')" (( "(") (comma_expression "iVar3 = 1, param_2[1] != '\0'" (assignment_expression "iVar3 = 1" (identifier "iVar3") (= "=") (number_literal "1")) (, ",") (binary_expression "param_2[1] != '\0'" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar3 = 2, param_2[2] != '\0')" (( "(") (comma_expression "iVar3 = 2, param_2[2] != '\0'" (assignment_expression "iVar3 = 2" (identifier "iVar3") (= "=") (number_literal "2")) (, ",") (binary_expression "param_2[2] != '\0'" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")))) () ")"))) () ")")) (compound_statement "{\n            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          }" ({ "{") (expression_statement "iVar3 = (*(code *)PTR_strlen_00146390)(param_2);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_00146390)(param_2)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_strlen_00146390)(param_2)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" (( "(") (pointer_expression "*(code *)PTR_strlen_00146390" (* "*") (cast_expression "(code *)PTR_strlen_00146390" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00146390"))) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (} "}"))) (expression_statement "puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);" (assignment_expression "puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3)" (identifier "puVar2") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" (( "(") (pointer_expression "*(code *)PTR_xmalloc_001445b0" (* "*") (cast_expression "(code *)PTR_xmalloc_001445b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xmalloc_001445b0"))) () ")")) (argument_list "(iVar11 + iVar3)" (( "(") (binary_expression "iVar11 + iVar3" (identifier "iVar11") (+ "+") (identifier "iVar3")) () ")"))))) (; ";")) (expression_statement "(*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);" (call_expression "(*(code *)PTR_strcpy_00146418)(puVar2,pcVar9)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" (( "(") (pointer_expression "*(code *)PTR_strcpy_00146418" (* "*") (cast_expression "(code *)PTR_strcpy_00146418" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcpy_00146418"))) () ")")) (argument_list "(puVar2,pcVar9)" (( "(") (identifier "puVar2") (, ",") (identifier "pcVar9") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);" (call_expression "(*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" (( "(") (pointer_expression "*(code *)PTR_strcpy_00146418" (* "*") (cast_expression "(code *)PTR_strcpy_00146418" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcpy_00146418"))) () ")")) (argument_list "(puVar2 + iVar6,param_2)" (( "(") (binary_expression "puVar2 + iVar6" (identifier "puVar2") (+ "+") (identifier "iVar6")) (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}")))) (} "}")))) (if_statement "if ((*(uint *)(param_1 + 0x14) & 0x400) == 0) {\n        uVar10 = (uint)((*(uint *)(param_1 + 0x14) & 0x100) == 0);\n      }\n      else {\n        uVar10 = 0;\n      }" (if "if") (parenthesized_expression "((*(uint *)(param_1 + 0x14) & 0x400) == 0)" (( "(") (binary_expression "(*(uint *)(param_1 + 0x14) & 0x400) == 0" (parenthesized_expression "(*(uint *)(param_1 + 0x14) & 0x400)" (( "(") (binary_expression "*(uint *)(param_1 + 0x14) & 0x400" (pointer_expression "*(uint *)(param_1 + 0x14)" (* "*") (cast_expression "(uint *)(param_1 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (& "&") (number_literal "0x400")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        uVar10 = (uint)((*(uint *)(param_1 + 0x14) & 0x100) == 0);\n      }" ({ "{") (expression_statement "uVar10 = (uint)((*(uint *)(param_1 + 0x14) & 0x100) == 0);" (assignment_expression "uVar10 = (uint)((*(uint *)(param_1 + 0x14) & 0x100) == 0)" (identifier "uVar10") (= "=") (call_expression "(uint)((*(uint *)(param_1 + 0x14) & 0x100) == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((*(uint *)(param_1 + 0x14) & 0x100) == 0)" (( "(") (binary_expression "(*(uint *)(param_1 + 0x14) & 0x100) == 0" (parenthesized_expression "(*(uint *)(param_1 + 0x14) & 0x100)" (( "(") (binary_expression "*(uint *)(param_1 + 0x14) & 0x100" (pointer_expression "*(uint *)(param_1 + 0x14)" (* "*") (cast_expression "(uint *)(param_1 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (& "&") (number_literal "0x100")) () ")")) (== "==") (number_literal "0")) () ")")))) (; ";")) (} "}")) (else_clause "else {\n        uVar10 = 0;\n      }" (else "else") (compound_statement "{\n        uVar10 = 0;\n      }" ({ "{") (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" (identifier "uVar10") (= "=") (number_literal "0")) (; ";")) (} "}")))) (expression_statement "pcVar9 = (char *)0x0;" (assignment_expression "pcVar9 = (char *)0x0" (identifier "pcVar9") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "puVar1 = (undefined4 *)(*(code *)PTR_sh_modcase_00144fac)(puVar2);" (assignment_expression "puVar1 = (undefined4 *)(*(code *)PTR_sh_modcase_00144fac)(puVar2)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR_sh_modcase_00144fac)(puVar2)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_sh_modcase_00144fac)(puVar2)" (parenthesized_expression "(*(code *)PTR_sh_modcase_00144fac)" (( "(") (pointer_expression "*(code *)PTR_sh_modcase_00144fac" (* "*") (cast_expression "(code *)PTR_sh_modcase_00144fac" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sh_modcase_00144fac"))) () ")")) (argument_list "(puVar2)" (( "(") (identifier "puVar2") () ")"))))) (; ";")) (expression_statement "(*(code *)PTR_free_001464fc)(puVar2);" (call_expression "(*(code *)PTR_free_001464fc)(puVar2)" (parenthesized_expression "(*(code *)PTR_free_001464fc)" (( "(") (pointer_expression "*(code *)PTR_free_001464fc" (* "*") (cast_expression "(code *)PTR_free_001464fc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_001464fc"))) () ")")) (argument_list "(puVar2)" (( "(") (identifier "puVar2") () ")"))) (; ";")) (} "}")) (else_clause "else if ((param_3 & 1) == 0) {\n      uVar10 = 0xffffffd8;\n      lVar14 = evalexp(param_2,0);\n      pcVar9 = (char *)lVar14;\n      if (local_28 != 0) {\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        puVar1 = (undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }\n      if ((param_3 & 0x200) == 0) goto LAB_000572ac;\nLAB_00057150:\n      if (*param_2 == '\0') {\n        puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *(undefined1 *)puVar1 = 0;\n      }\n      else {\n        iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n        uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n        puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);\n        pcVar9 = param_2;\n      }\n    }\n    else {\n      uVar12 = 0xffffffd8;\n      pcVar9 = (char *)0x0;\n      uVar10 = uVar12;\n      lVar14 = evalexp(*(undefined4 *)(param_1 + 4));\n      if (local_28 != 0) {\n        pcVar9 = (char *)0x0;\n        lVar15 = evalexp(param_2);\n        uVar10 = uVar12;\n        if (local_28 != 0) {\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }\n      }\n      if ((param_3 & 0x200) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        param_2 = pcVar9;\n        goto LAB_000572c8;\n      }\n      pcVar9 = (char *)get_variable_value(param_1);\n      param_3 = uVar10;\n      if (pcVar9 != (char *)0x0) goto LAB_000572f0;\n      iVar11 = 1;\n      iVar6 = 0;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\nLAB_0005730c:\n      if (param_2 != (char *)0x0) goto LAB_00057360;\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1);\n    }" (else "else") (if_statement "if ((param_3 & 1) == 0) {\n      uVar10 = 0xffffffd8;\n      lVar14 = evalexp(param_2,0);\n      pcVar9 = (char *)lVar14;\n      if (local_28 != 0) {\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        puVar1 = (undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }\n      if ((param_3 & 0x200) == 0) goto LAB_000572ac;\nLAB_00057150:\n      if (*param_2 == '\0') {\n        puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *(undefined1 *)puVar1 = 0;\n      }\n      else {\n        iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n        uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n        puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);\n        pcVar9 = param_2;\n      }\n    }\n    else {\n      uVar12 = 0xffffffd8;\n      pcVar9 = (char *)0x0;\n      uVar10 = uVar12;\n      lVar14 = evalexp(*(undefined4 *)(param_1 + 4));\n      if (local_28 != 0) {\n        pcVar9 = (char *)0x0;\n        lVar15 = evalexp(param_2);\n        uVar10 = uVar12;\n        if (local_28 != 0) {\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }\n      }\n      if ((param_3 & 0x200) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        param_2 = pcVar9;\n        goto LAB_000572c8;\n      }\n      pcVar9 = (char *)get_variable_value(param_1);\n      param_3 = uVar10;\n      if (pcVar9 != (char *)0x0) goto LAB_000572f0;\n      iVar11 = 1;\n      iVar6 = 0;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\nLAB_0005730c:\n      if (param_2 != (char *)0x0) goto LAB_00057360;\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1);\n    }" (if "if") (parenthesized_expression "((param_3 & 1) == 0)" (( "(") (binary_expression "(param_3 & 1) == 0" (parenthesized_expression "(param_3 & 1)" (( "(") (binary_expression "param_3 & 1" (identifier "param_3") (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar10 = 0xffffffd8;\n      lVar14 = evalexp(param_2,0);\n      pcVar9 = (char *)lVar14;\n      if (local_28 != 0) {\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        puVar1 = (undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }\n      if ((param_3 & 0x200) == 0) goto LAB_000572ac;\nLAB_00057150:\n      if (*param_2 == '\0') {\n        puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *(undefined1 *)puVar1 = 0;\n      }\n      else {\n        iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n        uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n        puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);\n        pcVar9 = param_2;\n      }\n    }" ({ "{") (expression_statement "uVar10 = 0xffffffd8;" (assignment_expression "uVar10 = 0xffffffd8" (identifier "uVar10") (= "=") (number_literal "0xffffffd8")) (; ";")) (expression_statement "lVar14 = evalexp(param_2,0);" (assignment_expression "lVar14 = evalexp(param_2,0)" (identifier "lVar14") (= "=") (call_expression "evalexp(param_2,0)" (identifier "evalexp") (argument_list "(param_2,0)" (( "(") (identifier "param_2") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "pcVar9 = (char *)lVar14;" (assignment_expression "pcVar9 = (char *)lVar14" (identifier "pcVar9") (= "=") (cast_expression "(char *)lVar14" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "lVar14"))) (; ";")) (if_statement "if (local_28 != 0) {\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        puVar1 = (undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }" (if "if") (parenthesized_expression "(local_28 != 0)" (( "(") (binary_expression "local_28 != 0" (identifier "local_28") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\nLAB_0005711c:\n        pcVar9 = (char *)lVar14;\n        puVar1 = (undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));\n        goto LAB_00057194;\n      }" ({ "{") (labeled_statement "LAB_0005711c:\n        pcVar9 = (char *)lVar14;" (statement_identifier "LAB_0005711c") (: ":") (expression_statement "pcVar9 = (char *)lVar14;" (assignment_expression "pcVar9 = (char *)lVar14" (identifier "pcVar9") (= "=") (cast_expression "(char *)lVar14" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "lVar14"))) (; ";"))) (expression_statement "puVar1 = (undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));" (assignment_expression "puVar1 = (undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20))" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20))" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20))" (parenthesized_expression "(*(code *)PTR_itos_001447a4)" (( "(") (pointer_expression "*(code *)PTR_itos_001447a4" (* "*") (cast_expression "(code *)PTR_itos_001447a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_itos_001447a4"))) () ")")) (argument_list "((int)((ulonglong)lVar14 >> 0x20))" (( "(") (cast_expression "(int)((ulonglong)lVar14 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)lVar14 >> 0x20)" (( "(") (binary_expression "(ulonglong)lVar14 >> 0x20" (cast_expression "(ulonglong)lVar14" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "lVar14")) (>> ">>") (number_literal "0x20")) () ")"))) () ")"))))) (; ";")) (goto_statement "goto LAB_00057194;" (goto "goto") (statement_identifier "LAB_00057194") (; ";")) (} "}"))) (if_statement "if ((param_3 & 0x200) == 0) goto LAB_000572ac;" (if "if") (parenthesized_expression "((param_3 & 0x200) == 0)" (( "(") (binary_expression "(param_3 & 0x200) == 0" (parenthesized_expression "(param_3 & 0x200)" (( "(") (binary_expression "param_3 & 0x200" (identifier "param_3") (& "&") (number_literal "0x200")) () ")")) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_000572ac;" (goto "goto") (statement_identifier "LAB_000572ac") (; ";"))) (labeled_statement "LAB_00057150:\n      if (*param_2 == '\0') {\n        puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *(undefined1 *)puVar1 = 0;\n      }\n      else {\n        iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n        uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n        puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);\n        pcVar9 = param_2;\n      }" (statement_identifier "LAB_00057150") (: ":") (if_statement "if (*param_2 == '\0') {\n        puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *(undefined1 *)puVar1 = 0;\n      }\n      else {\n        iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n        uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n        puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);\n        pcVar9 = param_2;\n      }" (if "if") (parenthesized_expression "(*param_2 == '\0')" (( "(") (binary_expression "*param_2 == '\0'" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1);\n        *(undefined1 *)puVar1 = 0;\n      }" ({ "{") (expression_statement "puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1);" (assignment_expression "puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_xmalloc_001445b0)(1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" (( "(") (pointer_expression "*(code *)PTR_xmalloc_001445b0" (* "*") (cast_expression "(code *)PTR_xmalloc_001445b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xmalloc_001445b0"))) () ")")) (argument_list "(1)" (( "(") (number_literal "1") () ")"))))) (; ";")) (expression_statement "*(undefined1 *)puVar1 = 0;" (assignment_expression "*(undefined1 *)puVar1 = 0" (pointer_expression "*(undefined1 *)puVar1" (* "*") (cast_expression "(undefined1 *)puVar1" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n        iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n        uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n        puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);\n        pcVar9 = param_2;\n      }" (else "else") (compound_statement "{\n        iVar6 = (*(code *)PTR_strlen_00146390)(param_2);\n        uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);\n        puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);\n        pcVar9 = param_2;\n      }" ({ "{") (expression_statement "iVar6 = (*(code *)PTR_strlen_00146390)(param_2);" (assignment_expression "iVar6 = (*(code *)PTR_strlen_00146390)(param_2)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_strlen_00146390)(param_2)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" (( "(") (pointer_expression "*(code *)PTR_strlen_00146390" (* "*") (cast_expression "(code *)PTR_strlen_00146390" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00146390"))) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);" (assignment_expression "uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1)" (identifier "uVar5") (= "=") (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar6 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" (( "(") (pointer_expression "*(code *)PTR_xmalloc_001445b0" (* "*") (cast_expression "(code *)PTR_xmalloc_001445b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xmalloc_001445b0"))) () ")")) (argument_list "(iVar6 + 1)" (( "(") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);" (assignment_expression "puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_strcpy_00146418)(uVar5)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" (( "(") (pointer_expression "*(code *)PTR_strcpy_00146418" (* "*") (cast_expression "(code *)PTR_strcpy_00146418" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcpy_00146418"))) () ")")) (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")"))))) (; ";")) (expression_statement "pcVar9 = param_2;" (assignment_expression "pcVar9 = param_2" (identifier "pcVar9") (= "=") (identifier "param_2")) (; ";")) (} "}"))))) (} "}")) (else_clause "else {\n      uVar12 = 0xffffffd8;\n      pcVar9 = (char *)0x0;\n      uVar10 = uVar12;\n      lVar14 = evalexp(*(undefined4 *)(param_1 + 4));\n      if (local_28 != 0) {\n        pcVar9 = (char *)0x0;\n        lVar15 = evalexp(param_2);\n        uVar10 = uVar12;\n        if (local_28 != 0) {\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }\n      }\n      if ((param_3 & 0x200) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        param_2 = pcVar9;\n        goto LAB_000572c8;\n      }\n      pcVar9 = (char *)get_variable_value(param_1);\n      param_3 = uVar10;\n      if (pcVar9 != (char *)0x0) goto LAB_000572f0;\n      iVar11 = 1;\n      iVar6 = 0;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\nLAB_0005730c:\n      if (param_2 != (char *)0x0) goto LAB_00057360;\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1);\n    }" (else "else") (compound_statement "{\n      uVar12 = 0xffffffd8;\n      pcVar9 = (char *)0x0;\n      uVar10 = uVar12;\n      lVar14 = evalexp(*(undefined4 *)(param_1 + 4));\n      if (local_28 != 0) {\n        pcVar9 = (char *)0x0;\n        lVar15 = evalexp(param_2);\n        uVar10 = uVar12;\n        if (local_28 != 0) {\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }\n      }\n      if ((param_3 & 0x200) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        param_2 = pcVar9;\n        goto LAB_000572c8;\n      }\n      pcVar9 = (char *)get_variable_value(param_1);\n      param_3 = uVar10;\n      if (pcVar9 != (char *)0x0) goto LAB_000572f0;\n      iVar11 = 1;\n      iVar6 = 0;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\nLAB_0005730c:\n      if (param_2 != (char *)0x0) goto LAB_00057360;\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1);\n    }" ({ "{") (expression_statement "uVar12 = 0xffffffd8;" (assignment_expression "uVar12 = 0xffffffd8" (identifier "uVar12") (= "=") (number_literal "0xffffffd8")) (; ";")) (expression_statement "pcVar9 = (char *)0x0;" (assignment_expression "pcVar9 = (char *)0x0" (identifier "pcVar9") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "uVar10 = uVar12;" (assignment_expression "uVar10 = uVar12" (identifier "uVar10") (= "=") (identifier "uVar12")) (; ";")) (expression_statement "lVar14 = evalexp(*(undefined4 *)(param_1 + 4));" (assignment_expression "lVar14 = evalexp(*(undefined4 *)(param_1 + 4))" (identifier "lVar14") (= "=") (call_expression "evalexp(*(undefined4 *)(param_1 + 4))" (identifier "evalexp") (argument_list "(*(undefined4 *)(param_1 + 4))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) () ")")))) (; ";")) (if_statement "if (local_28 != 0) {\n        pcVar9 = (char *)0x0;\n        lVar15 = evalexp(param_2);\n        uVar10 = uVar12;\n        if (local_28 != 0) {\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }\n      }" (if "if") (parenthesized_expression "(local_28 != 0)" (( "(") (binary_expression "local_28 != 0" (identifier "local_28") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        pcVar9 = (char *)0x0;\n        lVar15 = evalexp(param_2);\n        uVar10 = uVar12;\n        if (local_28 != 0) {\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }\n      }" ({ "{") (expression_statement "pcVar9 = (char *)0x0;" (assignment_expression "pcVar9 = (char *)0x0" (identifier "pcVar9") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "lVar15 = evalexp(param_2);" (assignment_expression "lVar15 = evalexp(param_2)" (identifier "lVar15") (= "=") (call_expression "evalexp(param_2)" (identifier "evalexp") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "uVar10 = uVar12;" (assignment_expression "uVar10 = uVar12" (identifier "uVar10") (= "=") (identifier "uVar12")) (; ";")) (if_statement "if (local_28 != 0) {\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }" (if "if") (parenthesized_expression "(local_28 != 0)" (( "(") (binary_expression "local_28 != 0" (identifier "local_28") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          lVar14 = lVar14 + lVar15;\n          goto LAB_0005711c;\n        }" ({ "{") (expression_statement "lVar14 = lVar14 + lVar15;" (assignment_expression "lVar14 = lVar14 + lVar15" (identifier "lVar14") (= "=") (binary_expression "lVar14 + lVar15" (identifier "lVar14") (+ "+") (identifier "lVar15"))) (; ";")) (goto_statement "goto LAB_0005711c;" (goto "goto") (statement_identifier "LAB_0005711c") (; ";")) (} "}"))) (} "}"))) (if_statement "if ((param_3 & 0x200) == 0) {\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        param_2 = pcVar9;\n        goto LAB_000572c8;\n      }" (if "if") (parenthesized_expression "((param_3 & 0x200) == 0)" (( "(") (binary_expression "(param_3 & 0x200) == 0" (parenthesized_expression "(param_3 & 0x200)" (( "(") (binary_expression "param_3 & 0x200" (identifier "param_3") (& "&") (number_literal "0x200")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();\n        (*(code *)PTR_jump_to_top_level_00144808)(2);\n        param_2 = pcVar9;\n        goto LAB_000572c8;\n      }" ({ "{") (labeled_statement "LAB_000572ac:\n        (*(code *)PTR_top_level_cleanup_00144fb0)();" (statement_identifier "LAB_000572ac") (: ":") (expression_statement "(*(code *)PTR_top_level_cleanup_00144fb0)();" (call_expression "(*(code *)PTR_top_level_cleanup_00144fb0)()" (parenthesized_expression "(*(code *)PTR_top_level_cleanup_00144fb0)" (( "(") (pointer_expression "*(code *)PTR_top_level_cleanup_00144fb0" (* "*") (cast_expression "(code *)PTR_top_level_cleanup_00144fb0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_top_level_cleanup_00144fb0"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";"))) (expression_statement "(*(code *)PTR_jump_to_top_level_00144808)(2);" (call_expression "(*(code *)PTR_jump_to_top_level_00144808)(2)" (parenthesized_expression "(*(code *)PTR_jump_to_top_level_00144808)" (( "(") (pointer_expression "*(code *)PTR_jump_to_top_level_00144808" (* "*") (cast_expression "(code *)PTR_jump_to_top_level_00144808" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_jump_to_top_level_00144808"))) () ")")) (argument_list "(2)" (( "(") (number_literal "2") () ")"))) (; ";")) (expression_statement "param_2 = pcVar9;" (assignment_expression "param_2 = pcVar9" (identifier "param_2") (= "=") (identifier "pcVar9")) (; ";")) (goto_statement "goto LAB_000572c8;" (goto "goto") (statement_identifier "LAB_000572c8") (; ";")) (} "}"))) (expression_statement "pcVar9 = (char *)get_variable_value(param_1);" (assignment_expression "pcVar9 = (char *)get_variable_value(param_1)" (identifier "pcVar9") (= "=") (cast_expression "(char *)get_variable_value(param_1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "get_variable_value(param_1)" (identifier "get_variable_value") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))))) (; ";")) (expression_statement "param_3 = uVar10;" (assignment_expression "param_3 = uVar10" (identifier "param_3") (= "=") (identifier "uVar10")) (; ";")) (if_statement "if (pcVar9 != (char *)0x0) goto LAB_000572f0;" (if "if") (parenthesized_expression "(pcVar9 != (char *)0x0)" (( "(") (binary_expression "pcVar9 != (char *)0x0" (identifier "pcVar9") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_000572f0;" (goto "goto") (statement_identifier "LAB_000572f0") (; ";"))) (expression_statement "iVar11 = 1;" (assignment_expression "iVar11 = 1" (identifier "iVar11") (= "=") (number_literal "1")) (; ";")) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar9 = PTR_DAT_001445ac + -0x6800;" (assignment_expression "pcVar9 = PTR_DAT_001445ac + -0x6800" (identifier "pcVar9") (= "=") (binary_expression "PTR_DAT_001445ac + -0x6800" (identifier "PTR_DAT_001445ac") (+ "+") (number_literal "-0x6800"))) (; ";")) (labeled_statement "LAB_0005730c:\n      if (param_2 != (char *)0x0) goto LAB_00057360;" (statement_identifier "LAB_0005730c") (: ":") (if_statement "if (param_2 != (char *)0x0) goto LAB_00057360;" (if "if") (parenthesized_expression "(param_2 != (char *)0x0)" (( "(") (binary_expression "param_2 != (char *)0x0" (identifier "param_2") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00057360;" (goto "goto") (statement_identifier "LAB_00057360") (; ";")))) (expression_statement "puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);" (assignment_expression "puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar11)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" (( "(") (pointer_expression "*(code *)PTR_xmalloc_001445b0" (* "*") (cast_expression "(code *)PTR_xmalloc_001445b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xmalloc_001445b0"))) () ")")) (argument_list "(iVar11)" (( "(") (identifier "iVar11") () ")"))))) (; ";")) (expression_statement "(*(code *)PTR_strcpy_00146418)(puVar1);" (call_expression "(*(code *)PTR_strcpy_00146418)(puVar1)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" (( "(") (pointer_expression "*(code *)PTR_strcpy_00146418" (* "*") (cast_expression "(code *)PTR_strcpy_00146418" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcpy_00146418"))) () ")")) (argument_list "(puVar1)" (( "(") (identifier "puVar1") () ")"))) (; ";")) (} "}")))))) (} "}")) (else_clause "else {\nLAB_0005713c:\n    uVar10 = param_3;\n    if (param_2 == (char *)0x0) {\nLAB_000572c8:\n      puVar1 = (undefined4 *)0x0;\n      pcVar9 = param_2;\n    }\n    else {\n      pcVar9 = param_2;\n      if ((param_3 & 1) == 0) goto LAB_00057150;\n      pcVar9 = (char *)get_variable_value(param_1);\n      if (pcVar9 != (char *)0x0) {\nLAB_000572f0:\n        iVar11 = 1;\n        uVar10 = param_3;\n        if (*pcVar9 == '\0') {\n          iVar6 = 0;\n        }\n        else {\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }\n        goto LAB_0005730c;\n      }\n      iVar6 = 0;\n      iVar11 = 1;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\n      uVar10 = param_3;\nLAB_00057360:\n      if (*param_2 != '\0') {\n        if (param_2[1] == '\0') {\n          iVar11 = iVar6 + 2;\n        }\n        else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }\n      }\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1,pcVar9);\n      (*(code *)PTR_strcpy_00146418)((undefined1 *)((int)puVar1 + iVar6));\n      pcVar9 = param_2;\n    }\n  }" (else "else") (compound_statement "{\nLAB_0005713c:\n    uVar10 = param_3;\n    if (param_2 == (char *)0x0) {\nLAB_000572c8:\n      puVar1 = (undefined4 *)0x0;\n      pcVar9 = param_2;\n    }\n    else {\n      pcVar9 = param_2;\n      if ((param_3 & 1) == 0) goto LAB_00057150;\n      pcVar9 = (char *)get_variable_value(param_1);\n      if (pcVar9 != (char *)0x0) {\nLAB_000572f0:\n        iVar11 = 1;\n        uVar10 = param_3;\n        if (*pcVar9 == '\0') {\n          iVar6 = 0;\n        }\n        else {\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }\n        goto LAB_0005730c;\n      }\n      iVar6 = 0;\n      iVar11 = 1;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\n      uVar10 = param_3;\nLAB_00057360:\n      if (*param_2 != '\0') {\n        if (param_2[1] == '\0') {\n          iVar11 = iVar6 + 2;\n        }\n        else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }\n      }\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1,pcVar9);\n      (*(code *)PTR_strcpy_00146418)((undefined1 *)((int)puVar1 + iVar6));\n      pcVar9 = param_2;\n    }\n  }" ({ "{") (labeled_statement "LAB_0005713c:\n    uVar10 = param_3;" (statement_identifier "LAB_0005713c") (: ":") (expression_statement "uVar10 = param_3;" (assignment_expression "uVar10 = param_3" (identifier "uVar10") (= "=") (identifier "param_3")) (; ";"))) (if_statement "if (param_2 == (char *)0x0) {\nLAB_000572c8:\n      puVar1 = (undefined4 *)0x0;\n      pcVar9 = param_2;\n    }\n    else {\n      pcVar9 = param_2;\n      if ((param_3 & 1) == 0) goto LAB_00057150;\n      pcVar9 = (char *)get_variable_value(param_1);\n      if (pcVar9 != (char *)0x0) {\nLAB_000572f0:\n        iVar11 = 1;\n        uVar10 = param_3;\n        if (*pcVar9 == '\0') {\n          iVar6 = 0;\n        }\n        else {\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }\n        goto LAB_0005730c;\n      }\n      iVar6 = 0;\n      iVar11 = 1;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\n      uVar10 = param_3;\nLAB_00057360:\n      if (*param_2 != '\0') {\n        if (param_2[1] == '\0') {\n          iVar11 = iVar6 + 2;\n        }\n        else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }\n      }\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1,pcVar9);\n      (*(code *)PTR_strcpy_00146418)((undefined1 *)((int)puVar1 + iVar6));\n      pcVar9 = param_2;\n    }" (if "if") (parenthesized_expression "(param_2 == (char *)0x0)" (( "(") (binary_expression "param_2 == (char *)0x0" (identifier "param_2") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\nLAB_000572c8:\n      puVar1 = (undefined4 *)0x0;\n      pcVar9 = param_2;\n    }" ({ "{") (labeled_statement "LAB_000572c8:\n      puVar1 = (undefined4 *)0x0;" (statement_identifier "LAB_000572c8") (: ":") (expression_statement "puVar1 = (undefined4 *)0x0;" (assignment_expression "puVar1 = (undefined4 *)0x0" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";"))) (expression_statement "pcVar9 = param_2;" (assignment_expression "pcVar9 = param_2" (identifier "pcVar9") (= "=") (identifier "param_2")) (; ";")) (} "}")) (else_clause "else {\n      pcVar9 = param_2;\n      if ((param_3 & 1) == 0) goto LAB_00057150;\n      pcVar9 = (char *)get_variable_value(param_1);\n      if (pcVar9 != (char *)0x0) {\nLAB_000572f0:\n        iVar11 = 1;\n        uVar10 = param_3;\n        if (*pcVar9 == '\0') {\n          iVar6 = 0;\n        }\n        else {\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }\n        goto LAB_0005730c;\n      }\n      iVar6 = 0;\n      iVar11 = 1;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\n      uVar10 = param_3;\nLAB_00057360:\n      if (*param_2 != '\0') {\n        if (param_2[1] == '\0') {\n          iVar11 = iVar6 + 2;\n        }\n        else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }\n      }\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1,pcVar9);\n      (*(code *)PTR_strcpy_00146418)((undefined1 *)((int)puVar1 + iVar6));\n      pcVar9 = param_2;\n    }" (else "else") (compound_statement "{\n      pcVar9 = param_2;\n      if ((param_3 & 1) == 0) goto LAB_00057150;\n      pcVar9 = (char *)get_variable_value(param_1);\n      if (pcVar9 != (char *)0x0) {\nLAB_000572f0:\n        iVar11 = 1;\n        uVar10 = param_3;\n        if (*pcVar9 == '\0') {\n          iVar6 = 0;\n        }\n        else {\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }\n        goto LAB_0005730c;\n      }\n      iVar6 = 0;\n      iVar11 = 1;\n      pcVar9 = PTR_DAT_001445ac + -0x6800;\n      uVar10 = param_3;\nLAB_00057360:\n      if (*param_2 != '\0') {\n        if (param_2[1] == '\0') {\n          iVar11 = iVar6 + 2;\n        }\n        else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }\n      }\n      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);\n      (*(code *)PTR_strcpy_00146418)(puVar1,pcVar9);\n      (*(code *)PTR_strcpy_00146418)((undefined1 *)((int)puVar1 + iVar6));\n      pcVar9 = param_2;\n    }" ({ "{") (expression_statement "pcVar9 = param_2;" (assignment_expression "pcVar9 = param_2" (identifier "pcVar9") (= "=") (identifier "param_2")) (; ";")) (if_statement "if ((param_3 & 1) == 0) goto LAB_00057150;" (if "if") (parenthesized_expression "((param_3 & 1) == 0)" (( "(") (binary_expression "(param_3 & 1) == 0" (parenthesized_expression "(param_3 & 1)" (( "(") (binary_expression "param_3 & 1" (identifier "param_3") (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00057150;" (goto "goto") (statement_identifier "LAB_00057150") (; ";"))) (expression_statement "pcVar9 = (char *)get_variable_value(param_1);" (assignment_expression "pcVar9 = (char *)get_variable_value(param_1)" (identifier "pcVar9") (= "=") (cast_expression "(char *)get_variable_value(param_1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "get_variable_value(param_1)" (identifier "get_variable_value") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))))) (; ";")) (if_statement "if (pcVar9 != (char *)0x0) {\nLAB_000572f0:\n        iVar11 = 1;\n        uVar10 = param_3;\n        if (*pcVar9 == '\0') {\n          iVar6 = 0;\n        }\n        else {\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }\n        goto LAB_0005730c;\n      }" (if "if") (parenthesized_expression "(pcVar9 != (char *)0x0)" (( "(") (binary_expression "pcVar9 != (char *)0x0" (identifier "pcVar9") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\nLAB_000572f0:\n        iVar11 = 1;\n        uVar10 = param_3;\n        if (*pcVar9 == '\0') {\n          iVar6 = 0;\n        }\n        else {\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }\n        goto LAB_0005730c;\n      }" ({ "{") (labeled_statement "LAB_000572f0:\n        iVar11 = 1;" (statement_identifier "LAB_000572f0") (: ":") (expression_statement "iVar11 = 1;" (assignment_expression "iVar11 = 1" (identifier "iVar11") (= "=") (number_literal "1")) (; ";"))) (expression_statement "uVar10 = param_3;" (assignment_expression "uVar10 = param_3" (identifier "uVar10") (= "=") (identifier "param_3")) (; ";")) (if_statement "if (*pcVar9 == '\0') {\n          iVar6 = 0;\n        }\n        else {\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }" (if "if") (parenthesized_expression "(*pcVar9 == '\0')" (( "(") (binary_expression "*pcVar9 == '\0'" (pointer_expression "*pcVar9" (* "*") (identifier "pcVar9")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          iVar6 = 0;\n        }" ({ "{") (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }" (else "else") (compound_statement "{\n          iVar11 = 2;\n          if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }\n        }" ({ "{") (expression_statement "iVar11 = 2;" (assignment_expression "iVar11 = 2" (identifier "iVar11") (= "=") (number_literal "2")) (; ";")) (if_statement "if (pcVar9[1] == '\0') {\n            iVar6 = 1;\n          }\n          else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }" (if "if") (parenthesized_expression "(pcVar9[1] == '\0')" (( "(") (binary_expression "pcVar9[1] == '\0'" (subscript_expression "pcVar9[1]" (identifier "pcVar9") ([ "[") (number_literal "1") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n            iVar6 = 1;\n          }" ({ "{") (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" (identifier "iVar6") (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }" (else "else") (if_statement "if (pcVar9[2] == '\0') {\n            iVar11 = 3;\n            iVar6 = 2;\n          }\n          else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }" (if "if") (parenthesized_expression "(pcVar9[2] == '\0')" (( "(") (binary_expression "pcVar9[2] == '\0'" (subscript_expression "pcVar9[2]" (identifier "pcVar9") ([ "[") (number_literal "2") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n            iVar11 = 3;\n            iVar6 = 2;\n          }" ({ "{") (expression_statement "iVar11 = 3;" (assignment_expression "iVar11 = 3" (identifier "iVar11") (= "=") (number_literal "3")) (; ";")) (expression_statement "iVar6 = 2;" (assignment_expression "iVar6 = 2" (identifier "iVar6") (= "=") (number_literal "2")) (; ";")) (} "}")) (else_clause "else {\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }" (else "else") (compound_statement "{\n            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);\n            iVar11 = iVar6 + 1;\n            uVar10 = param_3;\n          }" ({ "{") (expression_statement "iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);" (assignment_expression "iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_strlen_00146390)(pcVar9)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" (( "(") (pointer_expression "*(code *)PTR_strlen_00146390" (* "*") (cast_expression "(code *)PTR_strlen_00146390" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00146390"))) () ")")) (argument_list "(pcVar9)" (( "(") (identifier "pcVar9") () ")")))) (; ";")) (expression_statement "iVar11 = iVar6 + 1;" (assignment_expression "iVar11 = iVar6 + 1" (identifier "iVar11") (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar10 = param_3;" (assignment_expression "uVar10 = param_3" (identifier "uVar10") (= "=") (identifier "param_3")) (; ";")) (} "}")))))) (} "}")))) (goto_statement "goto LAB_0005730c;" (goto "goto") (statement_identifier "LAB_0005730c") (; ";")) (} "}"))) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar11 = 1;" (assignment_expression "iVar11 = 1" (identifier "iVar11") (= "=") (number_literal "1")) (; ";")) (expression_statement "pcVar9 = PTR_DAT_001445ac + -0x6800;" (assignment_expression "pcVar9 = PTR_DAT_001445ac + -0x6800" (identifier "pcVar9") (= "=") (binary_expression "PTR_DAT_001445ac + -0x6800" (identifier "PTR_DAT_001445ac") (+ "+") (number_literal "-0x6800"))) (; ";")) (expression_statement "uVar10 = param_3;" (assignment_expression "uVar10 = param_3" (identifier "uVar10") (= "=") (identifier "param_3")) (; ";")) (labeled_statement "LAB_00057360:\n      if (*param_2 != '\0') {\n        if (param_2[1] == '\0') {\n          iVar11 = iVar6 + 2;\n        }\n        else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }\n      }" (statement_identifier "LAB_00057360") (: ":") (if_statement "if (*param_2 != '\0') {\n        if (param_2[1] == '\0') {\n          iVar11 = iVar6 + 2;\n        }\n        else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }\n      }" (if "if") (parenthesized_expression "(*param_2 != '\0')" (( "(") (binary_expression "*param_2 != '\0'" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        if (param_2[1] == '\0') {\n          iVar11 = iVar6 + 2;\n        }\n        else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }\n      }" ({ "{") (if_statement "if (param_2[1] == '\0') {\n          iVar11 = iVar6 + 2;\n        }\n        else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }" (if "if") (parenthesized_expression "(param_2[1] == '\0')" (( "(") (binary_expression "param_2[1] == '\0'" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          iVar11 = iVar6 + 2;\n        }" ({ "{") (expression_statement "iVar11 = iVar6 + 2;" (assignment_expression "iVar11 = iVar6 + 2" (identifier "iVar11") (= "=") (binary_expression "iVar6 + 2" (identifier "iVar6") (+ "+") (number_literal "2"))) (; ";")) (} "}")) (else_clause "else if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }" (else "else") (if_statement "if (param_2[2] == '\0') {\n          iVar11 = iVar6 + 3;\n        }\n        else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }" (if "if") (parenthesized_expression "(param_2[2] == '\0')" (( "(") (binary_expression "param_2[2] == '\0'" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          iVar11 = iVar6 + 3;\n        }" ({ "{") (expression_statement "iVar11 = iVar6 + 3;" (assignment_expression "iVar11 = iVar6 + 3" (identifier "iVar11") (= "=") (binary_expression "iVar6 + 3" (identifier "iVar6") (+ "+") (number_literal "3"))) (; ";")) (} "}")) (else_clause "else {\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }" (else "else") (compound_statement "{\n          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);\n          iVar11 = iVar11 + iVar3;\n        }" ({ "{") (expression_statement "iVar3 = (*(code *)PTR_strlen_00146390)(param_2);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_00146390)(param_2)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_strlen_00146390)(param_2)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" (( "(") (pointer_expression "*(code *)PTR_strlen_00146390" (* "*") (cast_expression "(code *)PTR_strlen_00146390" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00146390"))) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "iVar11 = iVar11 + iVar3;" (assignment_expression "iVar11 = iVar11 + iVar3" (identifier "iVar11") (= "=") (binary_expression "iVar11 + iVar3" (identifier "iVar11") (+ "+") (identifier "iVar3"))) (; ";")) (} "}")))))) (} "}")))) (expression_statement "puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);" (assignment_expression "puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar11)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" (( "(") (pointer_expression "*(code *)PTR_xmalloc_001445b0" (* "*") (cast_expression "(code *)PTR_xmalloc_001445b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xmalloc_001445b0"))) () ")")) (argument_list "(iVar11)" (( "(") (identifier "iVar11") () ")"))))) (; ";")) (expression_statement "(*(code *)PTR_strcpy_00146418)(puVar1,pcVar9);" (call_expression "(*(code *)PTR_strcpy_00146418)(puVar1,pcVar9)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" (( "(") (pointer_expression "*(code *)PTR_strcpy_00146418" (* "*") (cast_expression "(code *)PTR_strcpy_00146418" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcpy_00146418"))) () ")")) (argument_list "(puVar1,pcVar9)" (( "(") (identifier "puVar1") (, ",") (identifier "pcVar9") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_strcpy_00146418)((undefined1 *)((int)puVar1 + iVar6));" (call_expression "(*(code *)PTR_strcpy_00146418)((undefined1 *)((int)puVar1 + iVar6))" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" (( "(") (pointer_expression "*(code *)PTR_strcpy_00146418" (* "*") (cast_expression "(code *)PTR_strcpy_00146418" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcpy_00146418"))) () ")")) (argument_list "((undefined1 *)((int)puVar1 + iVar6))" (( "(") (cast_expression "(undefined1 *)((int)puVar1 + iVar6)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar1 + iVar6)" (( "(") (binary_expression "(int)puVar1 + iVar6" (cast_expression "(int)puVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar1")) (+ "+") (identifier "iVar6")) () ")"))) () ")"))) (; ";")) (expression_statement "pcVar9 = param_2;" (assignment_expression "pcVar9 = param_2" (identifier "pcVar9") (= "=") (identifier "param_2")) (; ";")) (} "}")))) (} "}")))) (labeled_statement "LAB_00057194:\n  if (puVar8 == *(undefined4 **)puVar13) {\n    return puVar1;\n  }" (statement_identifier "LAB_00057194") (: ":") (if_statement "if (puVar8 == *(undefined4 **)puVar13) {\n    return puVar1;\n  }" (if "if") (parenthesized_expression "(puVar8 == *(undefined4 **)puVar13)" (( "(") (binary_expression "puVar8 == *(undefined4 **)puVar13" (identifier "puVar8") (== "==") (pointer_expression "*(undefined4 **)puVar13" (* "*") (cast_expression "(undefined4 **)puVar13" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar13")))) () ")")) (compound_statement "{\n    return puVar1;\n  }" ({ "{") (return_statement "return puVar1;" (return "return") (identifier "puVar1") (; ";")) (} "}")))) (expression_statement "puVar13 = PTR___stack_chk_fail_00146488;" (assignment_expression "puVar13 = PTR___stack_chk_fail_00146488" (identifier "puVar13") (= "=") (identifier "PTR___stack_chk_fail_00146488")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_00146488)();" (call_expression "(*(code *)PTR___stack_chk_fail_00146488)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00146488)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_00146488" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_00146488" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_00146488"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar12 = puVar8[5];" (assignment_expression "uVar12 = puVar8[5]" (identifier "uVar12") (= "=") (subscript_expression "puVar8[5]" (identifier "puVar8") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "puVar8[5] = uVar12 & 0xffffefff;" (assignment_expression "puVar8[5] = uVar12 & 0xffffefff" (subscript_expression "puVar8[5]" (identifier "puVar8") ([ "[") (number_literal "5") (] "]")) (= "=") (binary_expression "uVar12 & 0xffffefff" (identifier "uVar12") (& "&") (number_literal "0xffffefff"))) (; ";")) (if_statement "if ((code *)puVar8[4] == (code *)0x0) {\n    uVar12 = uVar12 & 0x1000;\n    uVar5 = make_variable_value();\n    if (((uVar10 & 0x30) == 0x10) && (iVar6 = check_selfref(*puVar8,uVar5,0), iVar6 != 0)) {\n      if (**(int **)(puVar13 + 0xed2e0) == 0) {\n        uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6e14,5);\n        internal_error(uVar7,*puVar8);\n        (**(code **)(puVar13 + 0xeef80))(uVar5);\n        if (uVar12 == 0) {\n          return (undefined4 *)0x0;\n        }\n        goto LAB_0005772c;\n      }\n      uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6d18);\n      internal_warning(uVar7,*puVar8);\n    }\n    if (((uVar10 & 0x10) != 0) && (iVar6 = valid_nameref_value(uVar5,0), iVar6 == 0)) {\n      (**(code **)(puVar13 + 0xeef80))(uVar5);\n      if (uVar12 == 0) {\n        return (undefined4 *)0x0;\n      }\nLAB_0005772c:\n      puVar8[5] = puVar8[5] | 0x1000;\n      return (undefined4 *)0x0;\n    }\n    if (puVar8[1] != 0) {\n      (**(code **)(puVar13 + 0xeef80))();\n    }\n    puVar8[1] = uVar5;\n  }\n  else if ((uVar10 & 1) == 0) {\n    (*(code *)puVar8[4])();\n  }\n  else {\n    pcVar4 = (char *)make_variable_value();\n    (*(code *)puVar8[4])(puVar8,pcVar4,0xffffffff,0xffffffff,0);\n    if ((pcVar9 != pcVar4) && (pcVar4 != (char *)0x0)) {\n      (**(code **)(puVar13 + 0xeef80))(pcVar4);\n    }\n  }" (if "if") (parenthesized_expression "((code *)puVar8[4] == (code *)0x0)" (( "(") (binary_expression "(code *)puVar8[4] == (code *)0x0" (cast_expression "(code *)puVar8[4]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar8[4]" (identifier "puVar8") ([ "[") (number_literal "4") (] "]"))) (== "==") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    uVar12 = uVar12 & 0x1000;\n    uVar5 = make_variable_value();\n    if (((uVar10 & 0x30) == 0x10) && (iVar6 = check_selfref(*puVar8,uVar5,0), iVar6 != 0)) {\n      if (**(int **)(puVar13 + 0xed2e0) == 0) {\n        uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6e14,5);\n        internal_error(uVar7,*puVar8);\n        (**(code **)(puVar13 + 0xeef80))(uVar5);\n        if (uVar12 == 0) {\n          return (undefined4 *)0x0;\n        }\n        goto LAB_0005772c;\n      }\n      uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6d18);\n      internal_warning(uVar7,*puVar8);\n    }\n    if (((uVar10 & 0x10) != 0) && (iVar6 = valid_nameref_value(uVar5,0), iVar6 == 0)) {\n      (**(code **)(puVar13 + 0xeef80))(uVar5);\n      if (uVar12 == 0) {\n        return (undefined4 *)0x0;\n      }\nLAB_0005772c:\n      puVar8[5] = puVar8[5] | 0x1000;\n      return (undefined4 *)0x0;\n    }\n    if (puVar8[1] != 0) {\n      (**(code **)(puVar13 + 0xeef80))();\n    }\n    puVar8[1] = uVar5;\n  }" ({ "{") (expression_statement "uVar12 = uVar12 & 0x1000;" (assignment_expression "uVar12 = uVar12 & 0x1000" (identifier "uVar12") (= "=") (binary_expression "uVar12 & 0x1000" (identifier "uVar12") (& "&") (number_literal "0x1000"))) (; ";")) (expression_statement "uVar5 = make_variable_value();" (assignment_expression "uVar5 = make_variable_value()" (identifier "uVar5") (= "=") (call_expression "make_variable_value()" (identifier "make_variable_value") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (((uVar10 & 0x30) == 0x10) && (iVar6 = check_selfref(*puVar8,uVar5,0), iVar6 != 0)) {\n      if (**(int **)(puVar13 + 0xed2e0) == 0) {\n        uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6e14,5);\n        internal_error(uVar7,*puVar8);\n        (**(code **)(puVar13 + 0xeef80))(uVar5);\n        if (uVar12 == 0) {\n          return (undefined4 *)0x0;\n        }\n        goto LAB_0005772c;\n      }\n      uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6d18);\n      internal_warning(uVar7,*puVar8);\n    }" (if "if") (parenthesized_expression "(((uVar10 & 0x30) == 0x10) && (iVar6 = check_selfref(*puVar8,uVar5,0), iVar6 != 0))" (( "(") (binary_expression "((uVar10 & 0x30) == 0x10) && (iVar6 = check_selfref(*puVar8,uVar5,0), iVar6 != 0)" (parenthesized_expression "((uVar10 & 0x30) == 0x10)" (( "(") (binary_expression "(uVar10 & 0x30) == 0x10" (parenthesized_expression "(uVar10 & 0x30)" (( "(") (binary_expression "uVar10 & 0x30" (identifier "uVar10") (& "&") (number_literal "0x30")) () ")")) (== "==") (number_literal "0x10")) () ")")) (&& "&&") (parenthesized_expression "(iVar6 = check_selfref(*puVar8,uVar5,0), iVar6 != 0)" (( "(") (comma_expression "iVar6 = check_selfref(*puVar8,uVar5,0), iVar6 != 0" (assignment_expression "iVar6 = check_selfref(*puVar8,uVar5,0)" (identifier "iVar6") (= "=") (call_expression "check_selfref(*puVar8,uVar5,0)" (identifier "check_selfref") (argument_list "(*puVar8,uVar5,0)" (( "(") (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) (, ",") (identifier "uVar5") (, ",") (number_literal "0") () ")")))) (, ",") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      if (**(int **)(puVar13 + 0xed2e0) == 0) {\n        uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6e14,5);\n        internal_error(uVar7,*puVar8);\n        (**(code **)(puVar13 + 0xeef80))(uVar5);\n        if (uVar12 == 0) {\n          return (undefined4 *)0x0;\n        }\n        goto LAB_0005772c;\n      }\n      uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6d18);\n      internal_warning(uVar7,*puVar8);\n    }" ({ "{") (if_statement "if (**(int **)(puVar13 + 0xed2e0) == 0) {\n        uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6e14,5);\n        internal_error(uVar7,*puVar8);\n        (**(code **)(puVar13 + 0xeef80))(uVar5);\n        if (uVar12 == 0) {\n          return (undefined4 *)0x0;\n        }\n        goto LAB_0005772c;\n      }" (if "if") (parenthesized_expression "(**(int **)(puVar13 + 0xed2e0) == 0)" (( "(") (binary_expression "**(int **)(puVar13 + 0xed2e0) == 0" (pointer_expression "**(int **)(puVar13 + 0xed2e0)" (* "*") (pointer_expression "*(int **)(puVar13 + 0xed2e0)" (* "*") (cast_expression "(int **)(puVar13 + 0xed2e0)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar13 + 0xed2e0)" (( "(") (binary_expression "puVar13 + 0xed2e0" (identifier "puVar13") (+ "+") (number_literal "0xed2e0")) () ")"))))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6e14,5);\n        internal_error(uVar7,*puVar8);\n        (**(code **)(puVar13 + 0xeef80))(uVar5);\n        if (uVar12 == 0) {\n          return (undefined4 *)0x0;\n        }\n        goto LAB_0005772c;\n      }" ({ "{") (expression_statement "uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6e14,5);" (assignment_expression "uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6e14,5)" (identifier "uVar7") (= "=") (call_expression "(**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6e14,5)" (parenthesized_expression "(**(code **)(puVar13 + 0xeef1c))" (( "(") (pointer_expression "**(code **)(puVar13 + 0xeef1c)" (* "*") (pointer_expression "*(code **)(puVar13 + 0xeef1c)" (* "*") (cast_expression "(code **)(puVar13 + 0xeef1c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar13 + 0xeef1c)" (( "(") (binary_expression "puVar13 + 0xeef1c" (identifier "puVar13") (+ "+") (number_literal "0xeef1c")) () ")"))))) () ")")) (argument_list "(0,*(int *)(puVar13 + 0xecffc) + 0x6e14,5)" (( "(") (number_literal "0") (, ",") (binary_expression "*(int *)(puVar13 + 0xecffc) + 0x6e14" (pointer_expression "*(int *)(puVar13 + 0xecffc)" (* "*") (cast_expression "(int *)(puVar13 + 0xecffc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar13 + 0xecffc)" (( "(") (binary_expression "puVar13 + 0xecffc" (identifier "puVar13") (+ "+") (number_literal "0xecffc")) () ")")))) (+ "+") (number_literal "0x6e14")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "internal_error(uVar7,*puVar8);" (call_expression "internal_error(uVar7,*puVar8)" (identifier "internal_error") (argument_list "(uVar7,*puVar8)" (( "(") (identifier "uVar7") (, ",") (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) () ")"))) (; ";")) (expression_statement "(**(code **)(puVar13 + 0xeef80))(uVar5);" (call_expression "(**(code **)(puVar13 + 0xeef80))(uVar5)" (parenthesized_expression "(**(code **)(puVar13 + 0xeef80))" (( "(") (pointer_expression "**(code **)(puVar13 + 0xeef80)" (* "*") (pointer_expression "*(code **)(puVar13 + 0xeef80)" (* "*") (cast_expression "(code **)(puVar13 + 0xeef80)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar13 + 0xeef80)" (( "(") (binary_expression "puVar13 + 0xeef80" (identifier "puVar13") (+ "+") (number_literal "0xeef80")) () ")"))))) () ")")) (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")"))) (; ";")) (if_statement "if (uVar12 == 0) {\n          return (undefined4 *)0x0;\n        }" (if "if") (parenthesized_expression "(uVar12 == 0)" (( "(") (binary_expression "uVar12 == 0" (identifier "uVar12") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          return (undefined4 *)0x0;\n        }" ({ "{") (return_statement "return (undefined4 *)0x0;" (return "return") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))) (goto_statement "goto LAB_0005772c;" (goto "goto") (statement_identifier "LAB_0005772c") (; ";")) (} "}"))) (expression_statement "uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6d18);" (assignment_expression "uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6d18)" (identifier "uVar7") (= "=") (call_expression "(**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6d18)" (parenthesized_expression "(**(code **)(puVar13 + 0xeef1c))" (( "(") (pointer_expression "**(code **)(puVar13 + 0xeef1c)" (* "*") (pointer_expression "*(code **)(puVar13 + 0xeef1c)" (* "*") (cast_expression "(code **)(puVar13 + 0xeef1c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar13 + 0xeef1c)" (( "(") (binary_expression "puVar13 + 0xeef1c" (identifier "puVar13") (+ "+") (number_literal "0xeef1c")) () ")"))))) () ")")) (argument_list "(0,*(int *)(puVar13 + 0xecffc) + 0x6d18)" (( "(") (number_literal "0") (, ",") (binary_expression "*(int *)(puVar13 + 0xecffc) + 0x6d18" (pointer_expression "*(int *)(puVar13 + 0xecffc)" (* "*") (cast_expression "(int *)(puVar13 + 0xecffc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar13 + 0xecffc)" (( "(") (binary_expression "puVar13 + 0xecffc" (identifier "puVar13") (+ "+") (number_literal "0xecffc")) () ")")))) (+ "+") (number_literal "0x6d18")) () ")")))) (; ";")) (expression_statement "internal_warning(uVar7,*puVar8);" (call_expression "internal_warning(uVar7,*puVar8)" (identifier "internal_warning") (argument_list "(uVar7,*puVar8)" (( "(") (identifier "uVar7") (, ",") (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) () ")"))) (; ";")) (} "}"))) (if_statement "if (((uVar10 & 0x10) != 0) && (iVar6 = valid_nameref_value(uVar5,0), iVar6 == 0)) {\n      (**(code **)(puVar13 + 0xeef80))(uVar5);\n      if (uVar12 == 0) {\n        return (undefined4 *)0x0;\n      }\nLAB_0005772c:\n      puVar8[5] = puVar8[5] | 0x1000;\n      return (undefined4 *)0x0;\n    }" (if "if") (parenthesized_expression "(((uVar10 & 0x10) != 0) && (iVar6 = valid_nameref_value(uVar5,0), iVar6 == 0))" (( "(") (binary_expression "((uVar10 & 0x10) != 0) && (iVar6 = valid_nameref_value(uVar5,0), iVar6 == 0)" (parenthesized_expression "((uVar10 & 0x10) != 0)" (( "(") (binary_expression "(uVar10 & 0x10) != 0" (parenthesized_expression "(uVar10 & 0x10)" (( "(") (binary_expression "uVar10 & 0x10" (identifier "uVar10") (& "&") (number_literal "0x10")) () ")")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar6 = valid_nameref_value(uVar5,0), iVar6 == 0)" (( "(") (comma_expression "iVar6 = valid_nameref_value(uVar5,0), iVar6 == 0" (assignment_expression "iVar6 = valid_nameref_value(uVar5,0)" (identifier "iVar6") (= "=") (call_expression "valid_nameref_value(uVar5,0)" (identifier "valid_nameref_value") (argument_list "(uVar5,0)" (( "(") (identifier "uVar5") (, ",") (number_literal "0") () ")")))) (, ",") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      (**(code **)(puVar13 + 0xeef80))(uVar5);\n      if (uVar12 == 0) {\n        return (undefined4 *)0x0;\n      }\nLAB_0005772c:\n      puVar8[5] = puVar8[5] | 0x1000;\n      return (undefined4 *)0x0;\n    }" ({ "{") (expression_statement "(**(code **)(puVar13 + 0xeef80))(uVar5);" (call_expression "(**(code **)(puVar13 + 0xeef80))(uVar5)" (parenthesized_expression "(**(code **)(puVar13 + 0xeef80))" (( "(") (pointer_expression "**(code **)(puVar13 + 0xeef80)" (* "*") (pointer_expression "*(code **)(puVar13 + 0xeef80)" (* "*") (cast_expression "(code **)(puVar13 + 0xeef80)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar13 + 0xeef80)" (( "(") (binary_expression "puVar13 + 0xeef80" (identifier "puVar13") (+ "+") (number_literal "0xeef80")) () ")"))))) () ")")) (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")"))) (; ";")) (if_statement "if (uVar12 == 0) {\n        return (undefined4 *)0x0;\n      }" (if "if") (parenthesized_expression "(uVar12 == 0)" (( "(") (binary_expression "uVar12 == 0" (identifier "uVar12") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        return (undefined4 *)0x0;\n      }" ({ "{") (return_statement "return (undefined4 *)0x0;" (return "return") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))) (labeled_statement "LAB_0005772c:\n      puVar8[5] = puVar8[5] | 0x1000;" (statement_identifier "LAB_0005772c") (: ":") (expression_statement "puVar8[5] = puVar8[5] | 0x1000;" (assignment_expression "puVar8[5] = puVar8[5] | 0x1000" (subscript_expression "puVar8[5]" (identifier "puVar8") ([ "[") (number_literal "5") (] "]")) (= "=") (binary_expression "puVar8[5] | 0x1000" (subscript_expression "puVar8[5]" (identifier "puVar8") ([ "[") (number_literal "5") (] "]")) (| "|") (number_literal "0x1000"))) (; ";"))) (return_statement "return (undefined4 *)0x0;" (return "return") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))) (if_statement "if (puVar8[1] != 0) {\n      (**(code **)(puVar13 + 0xeef80))();\n    }" (if "if") (parenthesized_expression "(puVar8[1] != 0)" (( "(") (binary_expression "puVar8[1] != 0" (subscript_expression "puVar8[1]" (identifier "puVar8") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      (**(code **)(puVar13 + 0xeef80))();\n    }" ({ "{") (expression_statement "(**(code **)(puVar13 + 0xeef80))();" (call_expression "(**(code **)(puVar13 + 0xeef80))()" (parenthesized_expression "(**(code **)(puVar13 + 0xeef80))" (( "(") (pointer_expression "**(code **)(puVar13 + 0xeef80)" (* "*") (pointer_expression "*(code **)(puVar13 + 0xeef80)" (* "*") (cast_expression "(code **)(puVar13 + 0xeef80)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar13 + 0xeef80)" (( "(") (binary_expression "puVar13 + 0xeef80" (identifier "puVar13") (+ "+") (number_literal "0xeef80")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "puVar8[1] = uVar5;" (assignment_expression "puVar8[1] = uVar5" (subscript_expression "puVar8[1]" (identifier "puVar8") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar5")) (; ";")) (} "}")) (else_clause "else if ((uVar10 & 1) == 0) {\n    (*(code *)puVar8[4])();\n  }\n  else {\n    pcVar4 = (char *)make_variable_value();\n    (*(code *)puVar8[4])(puVar8,pcVar4,0xffffffff,0xffffffff,0);\n    if ((pcVar9 != pcVar4) && (pcVar4 != (char *)0x0)) {\n      (**(code **)(puVar13 + 0xeef80))(pcVar4);\n    }\n  }" (else "else") (if_statement "if ((uVar10 & 1) == 0) {\n    (*(code *)puVar8[4])();\n  }\n  else {\n    pcVar4 = (char *)make_variable_value();\n    (*(code *)puVar8[4])(puVar8,pcVar4,0xffffffff,0xffffffff,0);\n    if ((pcVar9 != pcVar4) && (pcVar4 != (char *)0x0)) {\n      (**(code **)(puVar13 + 0xeef80))(pcVar4);\n    }\n  }" (if "if") (parenthesized_expression "((uVar10 & 1) == 0)" (( "(") (binary_expression "(uVar10 & 1) == 0" (parenthesized_expression "(uVar10 & 1)" (( "(") (binary_expression "uVar10 & 1" (identifier "uVar10") (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)puVar8[4])();\n  }" ({ "{") (expression_statement "(*(code *)puVar8[4])();" (call_expression "(*(code *)puVar8[4])()" (parenthesized_expression "(*(code *)puVar8[4])" (( "(") (pointer_expression "*(code *)puVar8[4]" (* "*") (cast_expression "(code *)puVar8[4]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar8[4]" (identifier "puVar8") ([ "[") (number_literal "4") (] "]")))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    pcVar4 = (char *)make_variable_value();\n    (*(code *)puVar8[4])(puVar8,pcVar4,0xffffffff,0xffffffff,0);\n    if ((pcVar9 != pcVar4) && (pcVar4 != (char *)0x0)) {\n      (**(code **)(puVar13 + 0xeef80))(pcVar4);\n    }\n  }" (else "else") (compound_statement "{\n    pcVar4 = (char *)make_variable_value();\n    (*(code *)puVar8[4])(puVar8,pcVar4,0xffffffff,0xffffffff,0);\n    if ((pcVar9 != pcVar4) && (pcVar4 != (char *)0x0)) {\n      (**(code **)(puVar13 + 0xeef80))(pcVar4);\n    }\n  }" ({ "{") (expression_statement "pcVar4 = (char *)make_variable_value();" (assignment_expression "pcVar4 = (char *)make_variable_value()" (identifier "pcVar4") (= "=") (cast_expression "(char *)make_variable_value()" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "make_variable_value()" (identifier "make_variable_value") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "(*(code *)puVar8[4])(puVar8,pcVar4,0xffffffff,0xffffffff,0);" (call_expression "(*(code *)puVar8[4])(puVar8,pcVar4,0xffffffff,0xffffffff,0)" (parenthesized_expression "(*(code *)puVar8[4])" (( "(") (pointer_expression "*(code *)puVar8[4]" (* "*") (cast_expression "(code *)puVar8[4]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar8[4]" (identifier "puVar8") ([ "[") (number_literal "4") (] "]")))) () ")")) (argument_list "(puVar8,pcVar4,0xffffffff,0xffffffff,0)" (( "(") (identifier "puVar8") (, ",") (identifier "pcVar4") (, ",") (number_literal "0xffffffff") (, ",") (number_literal "0xffffffff") (, ",") (number_literal "0") () ")"))) (; ";")) (if_statement "if ((pcVar9 != pcVar4) && (pcVar4 != (char *)0x0)) {\n      (**(code **)(puVar13 + 0xeef80))(pcVar4);\n    }" (if "if") (parenthesized_expression "((pcVar9 != pcVar4) && (pcVar4 != (char *)0x0))" (( "(") (binary_expression "(pcVar9 != pcVar4) && (pcVar4 != (char *)0x0)" (parenthesized_expression "(pcVar9 != pcVar4)" (( "(") (binary_expression "pcVar9 != pcVar4" (identifier "pcVar9") (!= "!=") (identifier "pcVar4")) () ")")) (&& "&&") (parenthesized_expression "(pcVar4 != (char *)0x0)" (( "(") (binary_expression "pcVar4 != (char *)0x0" (identifier "pcVar4") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")"))) () ")")) (compound_statement "{\n      (**(code **)(puVar13 + 0xeef80))(pcVar4);\n    }" ({ "{") (expression_statement "(**(code **)(puVar13 + 0xeef80))(pcVar4);" (call_expression "(**(code **)(puVar13 + 0xeef80))(pcVar4)" (parenthesized_expression "(**(code **)(puVar13 + 0xeef80))" (( "(") (pointer_expression "**(code **)(puVar13 + 0xeef80)" (* "*") (pointer_expression "*(code **)(puVar13 + 0xeef80)" (* "*") (cast_expression "(code **)(puVar13 + 0xeef80)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar13 + 0xeef80)" (( "(") (binary_expression "puVar13 + 0xeef80" (identifier "puVar13") (+ "+") (number_literal "0xeef80")) () ")"))))) () ")")) (argument_list "(pcVar4)" (( "(") (identifier "pcVar4") () ")"))) (; ";")) (} "}"))) (} "}")))))) (if_statement "if (puVar8[2] != 0) {\n    (**(code **)(puVar13 + 0xeef80))();\n    puVar8[2] = 0;\n  }" (if "if") (parenthesized_expression "(puVar8[2] != 0)" (( "(") (binary_expression "puVar8[2] != 0" (subscript_expression "puVar8[2]" (identifier "puVar8") ([ "[") (number_literal "2") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (**(code **)(puVar13 + 0xeef80))();\n    puVar8[2] = 0;\n  }" ({ "{") (expression_statement "(**(code **)(puVar13 + 0xeef80))();" (call_expression "(**(code **)(puVar13 + 0xeef80))()" (parenthesized_expression "(**(code **)(puVar13 + 0xeef80))" (( "(") (pointer_expression "**(code **)(puVar13 + 0xeef80)" (* "*") (pointer_expression "*(code **)(puVar13 + 0xeef80)" (* "*") (cast_expression "(code **)(puVar13 + 0xeef80)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar13 + 0xeef80)" (( "(") (binary_expression "puVar13 + 0xeef80" (identifier "puVar13") (+ "+") (number_literal "0xeef80")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar8[2] = 0;" (assignment_expression "puVar8[2] = 0" (subscript_expression "puVar8[2]" (identifier "puVar8") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (if_statement "if (**(int **)(puVar13 + 0xeda38) == 0) {\n    puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);\n    if ((puVar8[5] & 1) == 0) {\n      return puVar8;\n    }\n  }\n  else {\n    puVar8[5] = puVar8[5] | 1;\n    puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);\n  }" (if "if") (parenthesized_expression "(**(int **)(puVar13 + 0xeda38) == 0)" (( "(") (binary_expression "**(int **)(puVar13 + 0xeda38) == 0" (pointer_expression "**(int **)(puVar13 + 0xeda38)" (* "*") (pointer_expression "*(int **)(puVar13 + 0xeda38)" (* "*") (cast_expression "(int **)(puVar13 + 0xeda38)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar13 + 0xeda38)" (( "(") (binary_expression "puVar13 + 0xeda38" (identifier "puVar13") (+ "+") (number_literal "0xeda38")) () ")"))))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);\n    if ((puVar8[5] & 1) == 0) {\n      return puVar8;\n    }\n  }" ({ "{") (expression_statement "puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);" (assignment_expression "puVar1 = *(undefined4 **)(puVar13 + 0xeda3c)" (identifier "puVar1") (= "=") (pointer_expression "*(undefined4 **)(puVar13 + 0xeda3c)" (* "*") (cast_expression "(undefined4 **)(puVar13 + 0xeda3c)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar13 + 0xeda3c)" (( "(") (binary_expression "puVar13 + 0xeda3c" (identifier "puVar13") (+ "+") (number_literal "0xeda3c")) () ")"))))) (; ";")) (if_statement "if ((puVar8[5] & 1) == 0) {\n      return puVar8;\n    }" (if "if") (parenthesized_expression "((puVar8[5] & 1) == 0)" (( "(") (binary_expression "(puVar8[5] & 1) == 0" (parenthesized_expression "(puVar8[5] & 1)" (( "(") (binary_expression "puVar8[5] & 1" (subscript_expression "puVar8[5]" (identifier "puVar8") ([ "[") (number_literal "5") (] "]")) (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return puVar8;\n    }" ({ "{") (return_statement "return puVar8;" (return "return") (identifier "puVar8") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    puVar8[5] = puVar8[5] | 1;\n    puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);\n  }" (else "else") (compound_statement "{\n    puVar8[5] = puVar8[5] | 1;\n    puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);\n  }" ({ "{") (expression_statement "puVar8[5] = puVar8[5] | 1;" (assignment_expression "puVar8[5] = puVar8[5] | 1" (subscript_expression "puVar8[5]" (identifier "puVar8") ([ "[") (number_literal "5") (] "]")) (= "=") (binary_expression "puVar8[5] | 1" (subscript_expression "puVar8[5]" (identifier "puVar8") ([ "[") (number_literal "5") (] "]")) (| "|") (number_literal "1"))) (; ";")) (expression_statement "puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);" (assignment_expression "puVar1 = *(undefined4 **)(puVar13 + 0xeda3c)" (identifier "puVar1") (= "=") (pointer_expression "*(undefined4 **)(puVar13 + 0xeda3c)" (* "*") (cast_expression "(undefined4 **)(puVar13 + 0xeda3c)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar13 + 0xeda3c)" (( "(") (binary_expression "puVar13 + 0xeda3c" (identifier "puVar13") (+ "+") (number_literal "0xeda3c")) () ")"))))) (; ";")) (} "}")))) (expression_statement "*puVar1 = 1;" (assignment_expression "*puVar1 = 1" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (number_literal "1")) (; ";")) (return_statement "return puVar8;" (return "return") (identifier "puVar8") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator 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: (pointer_declarator 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: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (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: (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 (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: (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)))))))))) alternative: (else_clause (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: (identifier) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (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))))) alternative: (else_clause (compound_statement (expression_statement (assignment_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: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) 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: (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: (number_literal)))))))))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (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)))))) (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))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence))))))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) 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 (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 (binary_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 (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: (identifier)) (identifier)))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (number_literal))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_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: (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)))))) (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 (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (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 (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (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 (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))))))))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (labeled_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: (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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 (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: (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)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_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: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (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) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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: (identifier)))) (goto_statement label: (statement_identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) 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)))) (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 (number_literal)))) (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) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (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) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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)))))))))) alternative: (else_clause (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (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: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) 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)))) 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 (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))))))))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) 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 (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_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: (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) (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 (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) consequence: (compound_statement (return_statement (identifier))))) (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))) (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: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))) 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: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier) (number_literal)))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator 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: (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 (number_literal) (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)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier))))) (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)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (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: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (number_literal) (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)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (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)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (labeled_statement label: (statement_identifier) (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))))) (return_statement (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (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: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) 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: (subscript_expression argument: (identifier) index: (number_literal))))) arguments: (argument_list)))) alternative: (else_clause (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: (identifier) arguments: (argument_list))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) arguments: (argument_list (identifier) (identifier) (number_literal) (number_literal) (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))))) consequence: (compound_statement (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))))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (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))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator 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: (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))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (return_statement (identifier))))) alternative: (else_clause (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: (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)))))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (return_statement (identifier)))))

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

{
  undefined4 *puVar1;
  undefined1 *puVar2;
  int iVar3;
  char *pcVar4;
  undefined4 uVar5;
  int iVar6;
  undefined4 uVar7;
  undefined4 *puVar8;
  char *pcVar9;
  uint uVar10;
  int iVar11;
  uint uVar12;
  undefined *puVar13;
  longlong lVar14;
  longlong lVar15;
  int local_28;
  
  puVar13 = PTR___stack_chk_guard_001464dc;
  puVar8 = *(undefined4 **)PTR___stack_chk_guard_001464dc;
  if ((param_3 & 0x100) == 0) {
    if ((*(uint *)(param_1 + 0x14) & 0x10) == 0) {
      if ((*(uint *)(param_1 + 0x14) & 0x700) == 0) goto LAB_0005713c;
      if ((param_3 & 1) == 0) {
        if (*param_2 == '\0') {
          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(1);
          *puVar2 = 0;
        }
        else {
          iVar6 = (*(code *)PTR_strlen_00146390)(param_2);
          uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);
          puVar2 = (undefined1 *)(*(code *)PTR_strcpy_00146418)(uVar5,param_2);
        }
      }
      else {
        pcVar9 = (char *)get_variable_value();
        if (pcVar9 == (char *)0x0) {
          iVar11 = 1;
          iVar6 = 0;
          pcVar9 = PTR_DAT_001445ac + -0x6800;
        }
        else {
          iVar11 = 1;
          if (*pcVar9 == '\0') {
            iVar6 = 0;
          }
          else {
            iVar11 = 2;
            if (pcVar9[1] == '\0') {
              iVar6 = 1;
            }
            else {
              iVar11 = 3;
              if (pcVar9[2] == '\0') {
                iVar6 = 2;
              }
              else {
                iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);
                iVar11 = iVar6 + 1;
              }
            }
          }
        }
        if (param_2 == (char *)0x0) {
          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);
          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);
        }
        else {
          iVar3 = 0;
          if (((*param_2 != '\0') && (iVar3 = 1, param_2[1] != '\0')) &&
             (iVar3 = 2, param_2[2] != '\0')) {
            iVar3 = (*(code *)PTR_strlen_00146390)(param_2);
          }
          puVar2 = (undefined1 *)(*(code *)PTR_xmalloc_001445b0)(iVar11 + iVar3);
          (*(code *)PTR_strcpy_00146418)(puVar2,pcVar9);
          (*(code *)PTR_strcpy_00146418)(puVar2 + iVar6,param_2);
        }
      }
      if ((*(uint *)(param_1 + 0x14) & 0x400) == 0) {
        uVar10 = (uint)((*(uint *)(param_1 + 0x14) & 0x100) == 0);
      }
      else {
        uVar10 = 0;
      }
      pcVar9 = (char *)0x0;
      puVar1 = (undefined4 *)(*(code *)PTR_sh_modcase_00144fac)(puVar2);
      (*(code *)PTR_free_001464fc)(puVar2);
    }
    else if ((param_3 & 1) == 0) {
      uVar10 = 0xffffffd8;
      lVar14 = evalexp(param_2,0);
      pcVar9 = (char *)lVar14;
      if (local_28 != 0) {
LAB_0005711c:
        pcVar9 = (char *)lVar14;
        puVar1 = (undefined4 *)(*(code *)PTR_itos_001447a4)((int)((ulonglong)lVar14 >> 0x20));
        goto LAB_00057194;
      }
      if ((param_3 & 0x200) == 0) goto LAB_000572ac;
LAB_00057150:
      if (*param_2 == '\0') {
        puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(1);
        *(undefined1 *)puVar1 = 0;
      }
      else {
        iVar6 = (*(code *)PTR_strlen_00146390)(param_2);
        uVar5 = (*(code *)PTR_xmalloc_001445b0)(iVar6 + 1);
        puVar1 = (undefined4 *)(*(code *)PTR_strcpy_00146418)(uVar5);
        pcVar9 = param_2;
      }
    }
    else {
      uVar12 = 0xffffffd8;
      pcVar9 = (char *)0x0;
      uVar10 = uVar12;
      lVar14 = evalexp(*(undefined4 *)(param_1 + 4));
      if (local_28 != 0) {
        pcVar9 = (char *)0x0;
        lVar15 = evalexp(param_2);
        uVar10 = uVar12;
        if (local_28 != 0) {
          lVar14 = lVar14 + lVar15;
          goto LAB_0005711c;
        }
      }
      if ((param_3 & 0x200) == 0) {
LAB_000572ac:
        (*(code *)PTR_top_level_cleanup_00144fb0)();
        (*(code *)PTR_jump_to_top_level_00144808)(2);
        param_2 = pcVar9;
        goto LAB_000572c8;
      }
      pcVar9 = (char *)get_variable_value(param_1);
      param_3 = uVar10;
      if (pcVar9 != (char *)0x0) goto LAB_000572f0;
      iVar11 = 1;
      iVar6 = 0;
      pcVar9 = PTR_DAT_001445ac + -0x6800;
LAB_0005730c:
      if (param_2 != (char *)0x0) goto LAB_00057360;
      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);
      (*(code *)PTR_strcpy_00146418)(puVar1);
    }
  }
  else {
LAB_0005713c:
    uVar10 = param_3;
    if (param_2 == (char *)0x0) {
LAB_000572c8:
      puVar1 = (undefined4 *)0x0;
      pcVar9 = param_2;
    }
    else {
      pcVar9 = param_2;
      if ((param_3 & 1) == 0) goto LAB_00057150;
      pcVar9 = (char *)get_variable_value(param_1);
      if (pcVar9 != (char *)0x0) {
LAB_000572f0:
        iVar11 = 1;
        uVar10 = param_3;
        if (*pcVar9 == '\0') {
          iVar6 = 0;
        }
        else {
          iVar11 = 2;
          if (pcVar9[1] == '\0') {
            iVar6 = 1;
          }
          else if (pcVar9[2] == '\0') {
            iVar11 = 3;
            iVar6 = 2;
          }
          else {
            iVar6 = (*(code *)PTR_strlen_00146390)(pcVar9);
            iVar11 = iVar6 + 1;
            uVar10 = param_3;
          }
        }
        goto LAB_0005730c;
      }
      iVar6 = 0;
      iVar11 = 1;
      pcVar9 = PTR_DAT_001445ac + -0x6800;
      uVar10 = param_3;
LAB_00057360:
      if (*param_2 != '\0') {
        if (param_2[1] == '\0') {
          iVar11 = iVar6 + 2;
        }
        else if (param_2[2] == '\0') {
          iVar11 = iVar6 + 3;
        }
        else {
          iVar3 = (*(code *)PTR_strlen_00146390)(param_2);
          iVar11 = iVar11 + iVar3;
        }
      }
      puVar1 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(iVar11);
      (*(code *)PTR_strcpy_00146418)(puVar1,pcVar9);
      (*(code *)PTR_strcpy_00146418)((undefined1 *)((int)puVar1 + iVar6));
      pcVar9 = param_2;
    }
  }
LAB_00057194:
  if (puVar8 == *(undefined4 **)puVar13) {
    return puVar1;
  }
  puVar13 = PTR___stack_chk_fail_00146488;
  (*(code *)PTR___stack_chk_fail_00146488)();
  uVar12 = puVar8[5];
  puVar8[5] = uVar12 & 0xffffefff;
  if ((code *)puVar8[4] == (code *)0x0) {
    uVar12 = uVar12 & 0x1000;
    uVar5 = MASKED();
    if (((uVar10 & 0x30) == 0x10) && (iVar6 = check_selfref(*puVar8,uVar5,0), iVar6 != 0)) {
      if (**(int **)(puVar13 + 0xed2e0) == 0) {
        uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6e14,5);
        internal_error(uVar7,*puVar8);
        (**(code **)(puVar13 + 0xeef80))(uVar5);
        if (uVar12 == 0) {
          return (undefined4 *)0x0;
        }
        goto LAB_0005772c;
      }
      uVar7 = (**(code **)(puVar13 + 0xeef1c))(0,*(int *)(puVar13 + 0xecffc) + 0x6d18);
      internal_warning(uVar7,*puVar8);
    }
    if (((uVar10 & 0x10) != 0) && (iVar6 = valid_nameref_value(uVar5,0), iVar6 == 0)) {
      (**(code **)(puVar13 + 0xeef80))(uVar5);
      if (uVar12 == 0) {
        return (undefined4 *)0x0;
      }
LAB_0005772c:
      puVar8[5] = puVar8[5] | 0x1000;
      return (undefined4 *)0x0;
    }
    if (puVar8[1] != 0) {
      (**(code **)(puVar13 + 0xeef80))();
    }
    puVar8[1] = uVar5;
  }
  else if ((uVar10 & 1) == 0) {
    (*(code *)puVar8[4])();
  }
  else {
    pcVar4 = (char *)MASKED();
    (*(code *)puVar8[4])(puVar8,pcVar4,0xffffffff,0xffffffff,0);
    if ((pcVar9 != pcVar4) && (pcVar4 != (char *)0x0)) {
      (**(code **)(puVar13 + 0xeef80))(pcVar4);
    }
  }
  if (puVar8[2] != 0) {
    (**(code **)(puVar13 + 0xeef80))();
    puVar8[2] = 0;
  }
  if (**(int **)(puVar13 + 0xeda38) == 0) {
    puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);
    if ((puVar8[5] & 1) == 0) {
      return puVar8;
    }
  }
  else {
    puVar8[5] = puVar8[5] | 1;
    puVar1 = *(undefined4 **)(puVar13 + 0xeda3c);
  }
  *puVar1 = 1;
  return puVar8;
}

