
int read_dupsession_data(Conf *conf,char *arg)

{
  undefined *puVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  undefined4 uVar5;
  char *pcVar6;
  char *pcVar7;
  int iVar8;
  undefined *puVar9;
  undefined4 uVar10;
  int iVar11;
  int iVar12;
  int fd;
  int size;
  int local_24;
  
  puVar9 = PTR___stack_chk_guard_000a7ec8;
  local_24 = *(int *)PTR___stack_chk_guard_000a7ec8;
  iVar2 = (*(code *)PTR_sscanf_000a7f88)
                    (arg,PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x5c,&fd,&size);
  if (iVar2 != 2) {
    (*(code *)PTR___fprintf_chk_000a797c)
              (*(undefined4 *)PTR_stderr_000a7874,1,
               PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x40,
               *(undefined4 *)PTR_appname_000a7100,arg);
    iVar2 = (*(code *)PTR_exit_000a7a50)(1);
    return iVar2;
  }
  iVar11 = 0;
  iVar2 = (*(code *)PTR_safemalloc_000a70d0)(size,1);
  if (0 < size) {
    do {
      iVar4 = (*(code *)PTR_read_000a7924)(fd,iVar2 + iVar11,size - iVar11);
      if (iVar4 < 1) {
        if (iVar4 != 0) goto LAB_0006155c;
        if (iVar11 < size) {
          uVar10 = *(undefined4 *)PTR_appname_000a7100;
          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;
          uVar5 = *(undefined4 *)PTR_stderr_000a7874;
          goto LAB_0006159c;
        }
        break;
      }
      iVar11 = iVar11 + iVar4;
    } while (iVar11 < size);
  }
  iVar11 = (*(code *)PTR_conf_deserialise_000a70f8)(conf,iVar2);
  puVar1 = PTR_pty_argv_000a70e4;
  if ((*(int *)PTR_use_pty_argv_000a70dc != 0) && (iVar11 < size)) {
    iVar4 = iVar11;
    iVar12 = 0;
    do {
      while (iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0') {
        iVar4 = iVar3;
        iVar12 = iVar8;
        if (size <= iVar3) {
          uVar10 = *(undefined4 *)PTR_appname_000a7100;
          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;
          uVar5 = *(undefined4 *)PTR_stderr_000a7874;
LAB_0006159c:
          (*(code *)PTR___fprintf_chk_000a797c)(uVar5,1,puVar9,uVar10);
          iVar2 = (*(code *)PTR_exit_000a7a50)(1);
          return iVar2;
        }
      }
      iVar4 = iVar4 + 1;
      iVar12 = iVar8 + 1;
    } while (iVar4 < size);
    iVar4 = (*(code *)PTR_safemalloc_000a70d0)(iVar8 + 2,4);
    *(int *)puVar1 = iVar4;
    *(undefined4 *)(iVar4 + (iVar8 + 1) * 4) = 0;
    if (iVar11 < size) {
      iVar4 = 0;
      do {
        pcVar6 = (char *)(iVar2 + iVar11);
        pcVar7 = pcVar6;
        while (*pcVar7 != '\0') {
          iVar11 = iVar11 + 1;
          pcVar7 = (char *)(iVar2 + iVar11);
          if (size <= iVar11) goto LAB_000614f4;
        }
        if (size <= iVar11) {
LAB_000614f4:
          iVar2 = (*(code *)PTR___assert_fail_000a7840)
                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,
                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,
                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);
          return iVar2;
        }
        iVar11 = iVar11 + 1;
        iVar12 = *(int *)puVar1;
        uVar5 = (*(code *)PTR_dupstr_000a70fc)(pcVar6);
        *(undefined4 *)(iVar12 + iVar4) = uVar5;
        iVar4 = iVar4 + 4;
      } while (iVar11 < size);
    }
  }
  (*(code *)PTR_safefree_000a70d4)(iVar2);
  if (local_24 == *(int *)puVar9) {
    return 0;
  }
  (*(code *)PTR___stack_chk_fail_000a7b74)();
LAB_0006155c:
  (*(code *)PTR_perror_000a79dc)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1c);
  iVar2 = (*(code *)PTR_exit_000a7a50)(1);
  return iVar2;
}



undefined4 read_dupsession_data(undefined4 param_1,undefined4 param_2)

{
  undefined *puVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  char *pcVar5;
  char *pcVar6;
  undefined4 uVar7;
  int iVar8;
  undefined *puVar9;
  undefined4 uVar10;
  int iVar11;
  int iVar12;
  undefined4 local_2c;
  int local_28;
  int local_24;
  
  puVar9 = PTR___stack_chk_guard_000a7ec8;
  local_24 = *(int *)PTR___stack_chk_guard_000a7ec8;
  iVar2 = (*(code *)PTR_sscanf_000a7f88)
                    (param_2,PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x5c,&local_2c,
                     &local_28);
  if (iVar2 != 2) {
    (*(code *)PTR___fprintf_chk_000a797c)
              (*(undefined4 *)PTR_stderr_000a7874,1,
               PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x40,
               *(undefined4 *)PTR_appname_000a7100,param_2);
    uVar7 = (*(code *)PTR_exit_000a7a50)(1);
    return uVar7;
  }
  iVar11 = 0;
  iVar2 = (*(code *)PTR_safemalloc_000a70d0)(local_28,1);
  if (0 < local_28) {
    do {
      iVar4 = (*(code *)PTR_read_000a7924)(local_2c,iVar2 + iVar11,local_28 - iVar11);
      if (iVar4 < 1) {
        if (iVar4 != 0) goto LAB_0006155c;
        if (iVar11 < local_28) {
          uVar10 = *(undefined4 *)PTR_appname_000a7100;
          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;
          uVar7 = *(undefined4 *)PTR_stderr_000a7874;
          goto LAB_0006159c;
        }
        break;
      }
      iVar11 = iVar11 + iVar4;
    } while (iVar11 < local_28);
  }
  iVar11 = (*(code *)PTR_conf_deserialise_000a70f8)(param_1,iVar2);
  puVar1 = PTR_pty_argv_000a70e4;
  if ((*(int *)PTR_use_pty_argv_000a70dc != 0) && (iVar11 < local_28)) {
    iVar4 = iVar11;
    iVar12 = 0;
    do {
      while (iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0') {
        iVar4 = iVar3;
        iVar12 = iVar8;
        if (local_28 <= iVar3) {
          uVar10 = *(undefined4 *)PTR_appname_000a7100;
          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;
          uVar7 = *(undefined4 *)PTR_stderr_000a7874;
LAB_0006159c:
          (*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10);
          uVar7 = (*(code *)PTR_exit_000a7a50)(1);
          return uVar7;
        }
      }
      iVar4 = iVar4 + 1;
      iVar12 = iVar8 + 1;
    } while (iVar4 < local_28);
    iVar4 = (*(code *)PTR_safemalloc_000a70d0)(iVar8 + 2,4);
    *(int *)puVar1 = iVar4;
    *(undefined4 *)(iVar4 + (iVar8 + 1) * 4) = 0;
    if (iVar11 < local_28) {
      iVar4 = 0;
      do {
        pcVar5 = (char *)(iVar2 + iVar11);
        pcVar6 = pcVar5;
        while (*pcVar6 != '\0') {
          iVar11 = iVar11 + 1;
          pcVar6 = (char *)(iVar2 + iVar11);
          if (local_28 <= iVar11) goto LAB_000614f4;
        }
        if (local_28 <= iVar11) {
LAB_000614f4:
          uVar7 = (*(code *)PTR___assert_fail_000a7840)
                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,
                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,
                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);
          return uVar7;
        }
        iVar11 = iVar11 + 1;
        iVar12 = *(int *)puVar1;
        uVar7 = (*(code *)PTR_dupstr_000a70fc)(pcVar5);
        *(undefined4 *)(iVar12 + iVar4) = uVar7;
        iVar4 = iVar4 + 4;
      } while (iVar11 < local_28);
    }
  }
  (*(code *)PTR_safefree_000a70d4)(iVar2);
  if (local_24 == *(int *)puVar9) {
    return 0;
  }
  (*(code *)PTR___stack_chk_fail_000a7b74)();
LAB_0006155c:
  (*(code *)PTR_perror_000a79dc)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1c);
  uVar7 = (*(code *)PTR_exit_000a7a50)(1);
  return uVar7;
}


lui gp,0x5
addiu gp,gp,-0x223c
addu gp,gp,t9
addiu sp,sp,-0x50
lw t9,-0x7108(gp)
addiu a3,sp,0x28
sw s2,0x3c(sp)
addiu a2,sp,0x24
sw s0,0x34(sp)
or s0,a1,zero
lw s2,-0x71c8(gp)
lw a1,-0x7fb8(gp)
sw gp,0x18(sp)
sw s3,0x40(sp)
or s3,a0,zero
sw ra,0x4c(sp)
addiu a1,a1,-0x5c
sw s5,0x48(sp)
or a0,s0,zero
sw s4,0x44(sp)
sw s1,0x38(sp)
lw v0,0x0(s2)
sw v0,0x2c(sp)
jalr t9
_nop
li v1,0x2
bne v0,v1,0x00061518
_lw gp,0x18(sp)
lw t9,-0x7fc0(gp)
li a1,0x1
lw a0,0x28(sp)
jalr t9
_or s0,zero,zero
lw a2,0x28(sp)
or s1,v0,zero
bgtz a2,0x0006137c
_lw gp,0x18(sp)
b 0x000613ac
_lw t9,-0x7f98(gp)
lw a2,0x28(sp)
addu s0,s0,v0
slt v0,s0,a2
beq v0,zero,0x000613ac
_lw t9,-0x7f98(gp)
lw t9,-0x776c(gp)
subu a2,a2,s0
lw a0,0x24(sp)
jalr t9
_addu a1,s1,s0
bgtz v0,0x00061368
_lw gp,0x18(sp)
bne v0,zero,0x0006155c
_lw a2,0x28(sp)
slt s0,s0,a2
bne s0,zero,0x0006157c
_lw t9,-0x7f98(gp)
or a1,s1,zero
jalr t9
_or a0,s3,zero
lw gp,0x18(sp)
or s0,v0,zero
lw v0,-0x7fb4(gp)
lw v0,0x0(v0)
beq v0,zero,0x00061454
_lw a1,0x28(sp)
slt v0,s0,a1
beq v0,zero,0x00061458
_lw t9,-0x7fbc(gp)
or v0,s0,zero
b 0x000613f4
_or a0,zero,zero
slt v1,v0,a1
beq v1,zero,0x000615b4
_lw a2,-0x7fb8(gp)
addu v1,s1,v0
lb v1,0x0(v1)
bne v1,zero,0x000613e8
_addiu v0,v0,0x1
addiu v0,v0,-0x1
addiu v0,v0,0x1
slt v1,v0,a1
beq v1,zero,0x00061498
_addiu s3,a0,0x1
b 0x000613f4
_or a0,s3,zero
slt v1,s0,v1
beq v1,zero,0x000614f4
_lw t9,-0x7f94(gp)
addiu s0,s0,0x1
jalr t9
_lw s3,0x0(s5)
addu s3,s3,s4
lw v1,0x28(sp)
lw gp,0x18(sp)
sw v0,0x0(s3)
slt v0,s0,v1
bne v0,zero,0x000614d0
_addiu s4,s4,0x4
lw t9,-0x7fbc(gp)
jalr t9
_or a0,s1,zero
or v0,zero,zero
lw a0,0x2c(sp)
lw v1,0x0(s2)
bne a0,v1,0x00061550
_lw gp,0x18(sp)
lw ra,0x4c(sp)
lw s5,0x48(sp)
lw s4,0x44(sp)
lw s3,0x40(sp)
lw s2,0x3c(sp)
lw s1,0x38(sp)
lw s0,0x34(sp)
jr ra
_addiu sp,sp,0x50
lw t9,-0x7fc0(gp)
li a1,0x4
addiu a0,a0,0x2
lw s5,-0x7fac(gp)
jalr t9
_sll s3,s3,0x2
lw v1,0x28(sp)
addu s3,v0,s3
lw gp,0x18(sp)
sw v0,0x0(s5)
slt v0,s0,v1
beq v0,zero,0x00061454
_sw zero,0x0(s3)
or s4,zero,zero
addu v0,s1,s0
or a0,v0,zero
lb v0,0x0(v0)
beq v0,zero,0x00061420
_nop
addiu s0,s0,0x1
slt v0,s0,v1
bne v0,zero,0x000614d8
_addu v0,s1,s0
lw a3,-0x7fb8(gp)
li a2,0xfb
lw a1,-0x7fb8(gp)
lw a0,-0x7fb8(gp)
lw t9,-0x7850(gp)
addiu a3,a3,0x694
addiu a1,a1,-0xa8
jalr t9
_addiu a0,a0,0x24
lw v0,-0x7f90(gp)
li a1,0x1
lw a2,-0x7fb8(gp)
lw t9,-0x7714(gp)
lw a3,0x0(v0)
addiu a2,a2,-0x40
lw v0,-0x781c(gp)
lw a0,0x0(v0)
jalr t9
_sw s0,0x10(sp)
lw gp,0x18(sp)
lw t9,-0x7640(gp)
jalr t9
_li a0,0x1
lw t9,-0x751c(gp)
jalr t9
_nop
lw a0,-0x7fb8(gp)
lw t9,-0x76b4(gp)
jalr t9
_addiu a0,a0,-0x1c
lw gp,0x18(sp)
lw t9,-0x7640(gp)
jalr t9
_li a0,0x1
lw v0,-0x7f90(gp)
li a1,0x1
lw a2,-0x7fb8(gp)
lw t9,-0x7714(gp)
lw a3,0x0(v0)
addiu a2,a2,-0xc
lw v0,-0x781c(gp)
lw a0,0x0(v0)
jalr t9
_nop
lw gp,0x18(sp)
lw t9,-0x7640(gp)
jalr t9
_li a0,0x1
lw v0,-0x7f90(gp)
li a1,0x1
lw t9,-0x7714(gp)
lw a3,0x0(v0)
addiu a2,a2,0x30
lw v0,-0x781c(gp)
b 0x0006159c
_lw a0,0x0(v0)
(translation_unit "undefined4 read_dupsession_data(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  char *pcVar5;\n  char *pcVar6;\n  undefined4 uVar7;\n  int iVar8;\n  undefined *puVar9;\n  undefined4 uVar10;\n  int iVar11;\n  int iVar12;\n  undefined4 local_2c;\n  int local_28;\n  int local_24;\n  \n  puVar9 = PTR___stack_chk_guard_000a7ec8;\n  local_24 = *(int *)PTR___stack_chk_guard_000a7ec8;\n  iVar2 = (*(code *)PTR_sscanf_000a7f88)\n                    (param_2,PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x5c,&local_2c,\n                     &local_28);\n  if (iVar2 != 2) {\n    (*(code *)PTR___fprintf_chk_000a797c)\n              (*(undefined4 *)PTR_stderr_000a7874,1,\n               PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x40,\n               *(undefined4 *)PTR_appname_000a7100,param_2);\n    uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n    return uVar7;\n  }\n  iVar11 = 0;\n  iVar2 = (*(code *)PTR_safemalloc_000a70d0)(local_28,1);\n  if (0 < local_28) {\n    do {\n      iVar4 = (*(code *)PTR_read_000a7924)(local_2c,iVar2 + iVar11,local_28 - iVar11);\n      if (iVar4 < 1) {\n        if (iVar4 != 0) goto LAB_0006155c;\n        if (iVar11 < local_28) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }\n        break;\n      }\n      iVar11 = iVar11 + iVar4;\n    } while (iVar11 < local_28);\n  }\n  iVar11 = (*(code *)PTR_conf_deserialise_000a70f8)(param_1,iVar2);\n  puVar1 = PTR_pty_argv_000a70e4;\n  if ((*(int *)PTR_use_pty_argv_000a70dc != 0) && (iVar11 < local_28)) {\n    iVar4 = iVar11;\n    iVar12 = 0;\n    do {\n      while (iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0') {\n        iVar4 = iVar3;\n        iVar12 = iVar8;\n        if (local_28 <= iVar3) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10);\n          uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n          return uVar7;\n        }\n      }\n      iVar4 = iVar4 + 1;\n      iVar12 = iVar8 + 1;\n    } while (iVar4 < local_28);\n    iVar4 = (*(code *)PTR_safemalloc_000a70d0)(iVar8 + 2,4);\n    *(int *)puVar1 = iVar4;\n    *(undefined4 *)(iVar4 + (iVar8 + 1) * 4) = 0;\n    if (iVar11 < local_28) {\n      iVar4 = 0;\n      do {\n        pcVar5 = (char *)(iVar2 + iVar11);\n        pcVar6 = pcVar5;\n        while (*pcVar6 != '\0') {\n          iVar11 = iVar11 + 1;\n          pcVar6 = (char *)(iVar2 + iVar11);\n          if (local_28 <= iVar11) goto LAB_000614f4;\n        }\n        if (local_28 <= iVar11) {\nLAB_000614f4:\n          uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return uVar7;\n        }\n        iVar11 = iVar11 + 1;\n        iVar12 = *(int *)puVar1;\n        uVar7 = (*(code *)PTR_dupstr_000a70fc)(pcVar5);\n        *(undefined4 *)(iVar12 + iVar4) = uVar7;\n        iVar4 = iVar4 + 4;\n      } while (iVar11 < local_28);\n    }\n  }\n  (*(code *)PTR_safefree_000a70d4)(iVar2);\n  if (local_24 == *(int *)puVar9) {\n    return 0;\n  }\n  (*(code *)PTR___stack_chk_fail_000a7b74)();\nLAB_0006155c:\n  (*(code *)PTR_perror_000a79dc)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1c);\n  uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n  return uVar7;\n}\n\n" (function_definition "undefined4 read_dupsession_data(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  char *pcVar5;\n  char *pcVar6;\n  undefined4 uVar7;\n  int iVar8;\n  undefined *puVar9;\n  undefined4 uVar10;\n  int iVar11;\n  int iVar12;\n  undefined4 local_2c;\n  int local_28;\n  int local_24;\n  \n  puVar9 = PTR___stack_chk_guard_000a7ec8;\n  local_24 = *(int *)PTR___stack_chk_guard_000a7ec8;\n  iVar2 = (*(code *)PTR_sscanf_000a7f88)\n                    (param_2,PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x5c,&local_2c,\n                     &local_28);\n  if (iVar2 != 2) {\n    (*(code *)PTR___fprintf_chk_000a797c)\n              (*(undefined4 *)PTR_stderr_000a7874,1,\n               PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x40,\n               *(undefined4 *)PTR_appname_000a7100,param_2);\n    uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n    return uVar7;\n  }\n  iVar11 = 0;\n  iVar2 = (*(code *)PTR_safemalloc_000a70d0)(local_28,1);\n  if (0 < local_28) {\n    do {\n      iVar4 = (*(code *)PTR_read_000a7924)(local_2c,iVar2 + iVar11,local_28 - iVar11);\n      if (iVar4 < 1) {\n        if (iVar4 != 0) goto LAB_0006155c;\n        if (iVar11 < local_28) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }\n        break;\n      }\n      iVar11 = iVar11 + iVar4;\n    } while (iVar11 < local_28);\n  }\n  iVar11 = (*(code *)PTR_conf_deserialise_000a70f8)(param_1,iVar2);\n  puVar1 = PTR_pty_argv_000a70e4;\n  if ((*(int *)PTR_use_pty_argv_000a70dc != 0) && (iVar11 < local_28)) {\n    iVar4 = iVar11;\n    iVar12 = 0;\n    do {\n      while (iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0') {\n        iVar4 = iVar3;\n        iVar12 = iVar8;\n        if (local_28 <= iVar3) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10);\n          uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n          return uVar7;\n        }\n      }\n      iVar4 = iVar4 + 1;\n      iVar12 = iVar8 + 1;\n    } while (iVar4 < local_28);\n    iVar4 = (*(code *)PTR_safemalloc_000a70d0)(iVar8 + 2,4);\n    *(int *)puVar1 = iVar4;\n    *(undefined4 *)(iVar4 + (iVar8 + 1) * 4) = 0;\n    if (iVar11 < local_28) {\n      iVar4 = 0;\n      do {\n        pcVar5 = (char *)(iVar2 + iVar11);\n        pcVar6 = pcVar5;\n        while (*pcVar6 != '\0') {\n          iVar11 = iVar11 + 1;\n          pcVar6 = (char *)(iVar2 + iVar11);\n          if (local_28 <= iVar11) goto LAB_000614f4;\n        }\n        if (local_28 <= iVar11) {\nLAB_000614f4:\n          uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return uVar7;\n        }\n        iVar11 = iVar11 + 1;\n        iVar12 = *(int *)puVar1;\n        uVar7 = (*(code *)PTR_dupstr_000a70fc)(pcVar5);\n        *(undefined4 *)(iVar12 + iVar4) = uVar7;\n        iVar4 = iVar4 + 4;\n      } while (iVar11 < local_28);\n    }\n  }\n  (*(code *)PTR_safefree_000a70d4)(iVar2);\n  if (local_24 == *(int *)puVar9) {\n    return 0;\n  }\n  (*(code *)PTR___stack_chk_fail_000a7b74)();\nLAB_0006155c:\n  (*(code *)PTR_perror_000a79dc)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1c);\n  uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n  return uVar7;\n}" type_identifier (function_declarator "read_dupsession_data(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  char *pcVar5;\n  char *pcVar6;\n  undefined4 uVar7;\n  int iVar8;\n  undefined *puVar9;\n  undefined4 uVar10;\n  int iVar11;\n  int iVar12;\n  undefined4 local_2c;\n  int local_28;\n  int local_24;\n  \n  puVar9 = PTR___stack_chk_guard_000a7ec8;\n  local_24 = *(int *)PTR___stack_chk_guard_000a7ec8;\n  iVar2 = (*(code *)PTR_sscanf_000a7f88)\n                    (param_2,PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x5c,&local_2c,\n                     &local_28);\n  if (iVar2 != 2) {\n    (*(code *)PTR___fprintf_chk_000a797c)\n              (*(undefined4 *)PTR_stderr_000a7874,1,\n               PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x40,\n               *(undefined4 *)PTR_appname_000a7100,param_2);\n    uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n    return uVar7;\n  }\n  iVar11 = 0;\n  iVar2 = (*(code *)PTR_safemalloc_000a70d0)(local_28,1);\n  if (0 < local_28) {\n    do {\n      iVar4 = (*(code *)PTR_read_000a7924)(local_2c,iVar2 + iVar11,local_28 - iVar11);\n      if (iVar4 < 1) {\n        if (iVar4 != 0) goto LAB_0006155c;\n        if (iVar11 < local_28) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }\n        break;\n      }\n      iVar11 = iVar11 + iVar4;\n    } while (iVar11 < local_28);\n  }\n  iVar11 = (*(code *)PTR_conf_deserialise_000a70f8)(param_1,iVar2);\n  puVar1 = PTR_pty_argv_000a70e4;\n  if ((*(int *)PTR_use_pty_argv_000a70dc != 0) && (iVar11 < local_28)) {\n    iVar4 = iVar11;\n    iVar12 = 0;\n    do {\n      while (iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0') {\n        iVar4 = iVar3;\n        iVar12 = iVar8;\n        if (local_28 <= iVar3) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10);\n          uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n          return uVar7;\n        }\n      }\n      iVar4 = iVar4 + 1;\n      iVar12 = iVar8 + 1;\n    } while (iVar4 < local_28);\n    iVar4 = (*(code *)PTR_safemalloc_000a70d0)(iVar8 + 2,4);\n    *(int *)puVar1 = iVar4;\n    *(undefined4 *)(iVar4 + (iVar8 + 1) * 4) = 0;\n    if (iVar11 < local_28) {\n      iVar4 = 0;\n      do {\n        pcVar5 = (char *)(iVar2 + iVar11);\n        pcVar6 = pcVar5;\n        while (*pcVar6 != '\0') {\n          iVar11 = iVar11 + 1;\n          pcVar6 = (char *)(iVar2 + iVar11);\n          if (local_28 <= iVar11) goto LAB_000614f4;\n        }\n        if (local_28 <= iVar11) {\nLAB_000614f4:\n          uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return uVar7;\n        }\n        iVar11 = iVar11 + 1;\n        iVar12 = *(int *)puVar1;\n        uVar7 = (*(code *)PTR_dupstr_000a70fc)(pcVar5);\n        *(undefined4 *)(iVar12 + iVar4) = uVar7;\n        iVar4 = iVar4 + 4;\n      } while (iVar11 < local_28);\n    }\n  }\n  (*(code *)PTR_safefree_000a70d4)(iVar2);\n  if (local_24 == *(int *)puVar9) {\n    return 0;\n  }\n  (*(code *)PTR___stack_chk_fail_000a7b74)();\nLAB_0006155c:\n  (*(code *)PTR_perror_000a79dc)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1c);\n  uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n  return uVar7;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "undefined *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (declaration "int local_28;" primitive_type identifier ;) (declaration "int local_24;" primitive_type identifier ;) (expression_statement "puVar9 = PTR___stack_chk_guard_000a7ec8;" (assignment_expression "puVar9 = PTR___stack_chk_guard_000a7ec8" identifier = identifier) ;) (expression_statement "local_24 = *(int *)PTR___stack_chk_guard_000a7ec8;" (assignment_expression "local_24 = *(int *)PTR___stack_chk_guard_000a7ec8" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000a7ec8" * (cast_expression "(int *)PTR___stack_chk_guard_000a7ec8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar2 = (*(code *)PTR_sscanf_000a7f88)\n                    (param_2,PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x5c,&local_2c,\n                     &local_28);" (assignment_expression "iVar2 = (*(code *)PTR_sscanf_000a7f88)\n                    (param_2,PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x5c,&local_2c,\n                     &local_28)" identifier = (call_expression "(*(code *)PTR_sscanf_000a7f88)\n                    (param_2,PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x5c,&local_2c,\n                     &local_28)" (parenthesized_expression "(*(code *)PTR_sscanf_000a7f88)" ( (pointer_expression "*(code *)PTR_sscanf_000a7f88" * (cast_expression "(code *)PTR_sscanf_000a7f88" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x5c,&local_2c,\n                     &local_28)" ( identifier , (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x5c" identifier + number_literal) , (pointer_expression "&local_2c" & identifier) , (pointer_expression "&local_28" & identifier) )))) ;) (if_statement "if (iVar2 != 2) {\n    (*(code *)PTR___fprintf_chk_000a797c)\n              (*(undefined4 *)PTR_stderr_000a7874,1,\n               PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x40,\n               *(undefined4 *)PTR_appname_000a7100,param_2);\n    uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n    return uVar7;\n  }" if (parenthesized_expression "(iVar2 != 2)" ( (binary_expression "iVar2 != 2" identifier != number_literal) )) (compound_statement "{\n    (*(code *)PTR___fprintf_chk_000a797c)\n              (*(undefined4 *)PTR_stderr_000a7874,1,\n               PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x40,\n               *(undefined4 *)PTR_appname_000a7100,param_2);\n    uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n    return uVar7;\n  }" { (expression_statement "(*(code *)PTR___fprintf_chk_000a797c)\n              (*(undefined4 *)PTR_stderr_000a7874,1,\n               PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x40,\n               *(undefined4 *)PTR_appname_000a7100,param_2);" (call_expression "(*(code *)PTR___fprintf_chk_000a797c)\n              (*(undefined4 *)PTR_stderr_000a7874,1,\n               PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x40,\n               *(undefined4 *)PTR_appname_000a7100,param_2)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000a797c)" ( (pointer_expression "*(code *)PTR___fprintf_chk_000a797c" * (cast_expression "(code *)PTR___fprintf_chk_000a797c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_stderr_000a7874,1,\n               PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x40,\n               *(undefined4 *)PTR_appname_000a7100,param_2)" ( (pointer_expression "*(undefined4 *)PTR_stderr_000a7874" * (cast_expression "(undefined4 *)PTR_stderr_000a7874" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x40" identifier + number_literal) , (pointer_expression "*(undefined4 *)PTR_appname_000a7100" * (cast_expression "(undefined4 *)PTR_appname_000a7100" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , identifier ))) ;) (expression_statement "uVar7 = (*(code *)PTR_exit_000a7a50)(1);" (assignment_expression "uVar7 = (*(code *)PTR_exit_000a7a50)(1)" identifier = (call_expression "(*(code *)PTR_exit_000a7a50)(1)" (parenthesized_expression "(*(code *)PTR_exit_000a7a50)" ( (pointer_expression "*(code *)PTR_exit_000a7a50" * (cast_expression "(code *)PTR_exit_000a7a50" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1)" ( number_literal )))) ;) (return_statement "return uVar7;" return identifier ;) })) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (expression_statement "iVar2 = (*(code *)PTR_safemalloc_000a70d0)(local_28,1);" (assignment_expression "iVar2 = (*(code *)PTR_safemalloc_000a70d0)(local_28,1)" identifier = (call_expression "(*(code *)PTR_safemalloc_000a70d0)(local_28,1)" (parenthesized_expression "(*(code *)PTR_safemalloc_000a70d0)" ( (pointer_expression "*(code *)PTR_safemalloc_000a70d0" * (cast_expression "(code *)PTR_safemalloc_000a70d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_28,1)" ( identifier , number_literal )))) ;) (if_statement "if (0 < local_28) {\n    do {\n      iVar4 = (*(code *)PTR_read_000a7924)(local_2c,iVar2 + iVar11,local_28 - iVar11);\n      if (iVar4 < 1) {\n        if (iVar4 != 0) goto LAB_0006155c;\n        if (iVar11 < local_28) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }\n        break;\n      }\n      iVar11 = iVar11 + iVar4;\n    } while (iVar11 < local_28);\n  }" if (parenthesized_expression "(0 < local_28)" ( (binary_expression "0 < local_28" number_literal < identifier) )) (compound_statement "{\n    do {\n      iVar4 = (*(code *)PTR_read_000a7924)(local_2c,iVar2 + iVar11,local_28 - iVar11);\n      if (iVar4 < 1) {\n        if (iVar4 != 0) goto LAB_0006155c;\n        if (iVar11 < local_28) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }\n        break;\n      }\n      iVar11 = iVar11 + iVar4;\n    } while (iVar11 < local_28);\n  }" { (do_statement "do {\n      iVar4 = (*(code *)PTR_read_000a7924)(local_2c,iVar2 + iVar11,local_28 - iVar11);\n      if (iVar4 < 1) {\n        if (iVar4 != 0) goto LAB_0006155c;\n        if (iVar11 < local_28) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }\n        break;\n      }\n      iVar11 = iVar11 + iVar4;\n    } while (iVar11 < local_28);" do (compound_statement "{\n      iVar4 = (*(code *)PTR_read_000a7924)(local_2c,iVar2 + iVar11,local_28 - iVar11);\n      if (iVar4 < 1) {\n        if (iVar4 != 0) goto LAB_0006155c;\n        if (iVar11 < local_28) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }\n        break;\n      }\n      iVar11 = iVar11 + iVar4;\n    }" { (expression_statement "iVar4 = (*(code *)PTR_read_000a7924)(local_2c,iVar2 + iVar11,local_28 - iVar11);" (assignment_expression "iVar4 = (*(code *)PTR_read_000a7924)(local_2c,iVar2 + iVar11,local_28 - iVar11)" identifier = (call_expression "(*(code *)PTR_read_000a7924)(local_2c,iVar2 + iVar11,local_28 - iVar11)" (parenthesized_expression "(*(code *)PTR_read_000a7924)" ( (pointer_expression "*(code *)PTR_read_000a7924" * (cast_expression "(code *)PTR_read_000a7924" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_2c,iVar2 + iVar11,local_28 - iVar11)" ( identifier , (binary_expression "iVar2 + iVar11" identifier + identifier) , (binary_expression "local_28 - iVar11" identifier - identifier) )))) ;) (if_statement "if (iVar4 < 1) {\n        if (iVar4 != 0) goto LAB_0006155c;\n        if (iVar11 < local_28) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }\n        break;\n      }" if (parenthesized_expression "(iVar4 < 1)" ( (binary_expression "iVar4 < 1" identifier < number_literal) )) (compound_statement "{\n        if (iVar4 != 0) goto LAB_0006155c;\n        if (iVar11 < local_28) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }\n        break;\n      }" { (if_statement "if (iVar4 != 0) goto LAB_0006155c;" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0006155c;" goto statement_identifier ;)) (if_statement "if (iVar11 < local_28) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }" if (parenthesized_expression "(iVar11 < local_28)" ( (binary_expression "iVar11 < local_28" identifier < identifier) )) (compound_statement "{\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }" { (expression_statement "uVar10 = *(undefined4 *)PTR_appname_000a7100;" (assignment_expression "uVar10 = *(undefined4 *)PTR_appname_000a7100" identifier = (pointer_expression "*(undefined4 *)PTR_appname_000a7100" * (cast_expression "(undefined4 *)PTR_appname_000a7100" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;" (assignment_expression "puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc" identifier = (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc" identifier + number_literal)) ;) (expression_statement "uVar7 = *(undefined4 *)PTR_stderr_000a7874;" (assignment_expression "uVar7 = *(undefined4 *)PTR_stderr_000a7874" identifier = (pointer_expression "*(undefined4 *)PTR_stderr_000a7874" * (cast_expression "(undefined4 *)PTR_stderr_000a7874" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (goto_statement "goto LAB_0006159c;" goto statement_identifier ;) })) (break_statement "break;" break ;) })) (expression_statement "iVar11 = iVar11 + iVar4;" (assignment_expression "iVar11 = iVar11 + iVar4" identifier = (binary_expression "iVar11 + iVar4" identifier + identifier)) ;) }) while (parenthesized_expression "(iVar11 < local_28)" ( (binary_expression "iVar11 < local_28" identifier < identifier) )) ;) })) (expression_statement "iVar11 = (*(code *)PTR_conf_deserialise_000a70f8)(param_1,iVar2);" (assignment_expression "iVar11 = (*(code *)PTR_conf_deserialise_000a70f8)(param_1,iVar2)" identifier = (call_expression "(*(code *)PTR_conf_deserialise_000a70f8)(param_1,iVar2)" (parenthesized_expression "(*(code *)PTR_conf_deserialise_000a70f8)" ( (pointer_expression "*(code *)PTR_conf_deserialise_000a70f8" * (cast_expression "(code *)PTR_conf_deserialise_000a70f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,iVar2)" ( identifier , identifier )))) ;) (expression_statement "puVar1 = PTR_pty_argv_000a70e4;" (assignment_expression "puVar1 = PTR_pty_argv_000a70e4" identifier = identifier) ;) (if_statement "if ((*(int *)PTR_use_pty_argv_000a70dc != 0) && (iVar11 < local_28)) {\n    iVar4 = iVar11;\n    iVar12 = 0;\n    do {\n      while (iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0') {\n        iVar4 = iVar3;\n        iVar12 = iVar8;\n        if (local_28 <= iVar3) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10);\n          uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n          return uVar7;\n        }\n      }\n      iVar4 = iVar4 + 1;\n      iVar12 = iVar8 + 1;\n    } while (iVar4 < local_28);\n    iVar4 = (*(code *)PTR_safemalloc_000a70d0)(iVar8 + 2,4);\n    *(int *)puVar1 = iVar4;\n    *(undefined4 *)(iVar4 + (iVar8 + 1) * 4) = 0;\n    if (iVar11 < local_28) {\n      iVar4 = 0;\n      do {\n        pcVar5 = (char *)(iVar2 + iVar11);\n        pcVar6 = pcVar5;\n        while (*pcVar6 != '\0') {\n          iVar11 = iVar11 + 1;\n          pcVar6 = (char *)(iVar2 + iVar11);\n          if (local_28 <= iVar11) goto LAB_000614f4;\n        }\n        if (local_28 <= iVar11) {\nLAB_000614f4:\n          uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return uVar7;\n        }\n        iVar11 = iVar11 + 1;\n        iVar12 = *(int *)puVar1;\n        uVar7 = (*(code *)PTR_dupstr_000a70fc)(pcVar5);\n        *(undefined4 *)(iVar12 + iVar4) = uVar7;\n        iVar4 = iVar4 + 4;\n      } while (iVar11 < local_28);\n    }\n  }" if (parenthesized_expression "((*(int *)PTR_use_pty_argv_000a70dc != 0) && (iVar11 < local_28))" ( (binary_expression "(*(int *)PTR_use_pty_argv_000a70dc != 0) && (iVar11 < local_28)" (parenthesized_expression "(*(int *)PTR_use_pty_argv_000a70dc != 0)" ( (binary_expression "*(int *)PTR_use_pty_argv_000a70dc != 0" (pointer_expression "*(int *)PTR_use_pty_argv_000a70dc" * (cast_expression "(int *)PTR_use_pty_argv_000a70dc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) && (parenthesized_expression "(iVar11 < local_28)" ( (binary_expression "iVar11 < local_28" identifier < identifier) ))) )) (compound_statement "{\n    iVar4 = iVar11;\n    iVar12 = 0;\n    do {\n      while (iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0') {\n        iVar4 = iVar3;\n        iVar12 = iVar8;\n        if (local_28 <= iVar3) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10);\n          uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n          return uVar7;\n        }\n      }\n      iVar4 = iVar4 + 1;\n      iVar12 = iVar8 + 1;\n    } while (iVar4 < local_28);\n    iVar4 = (*(code *)PTR_safemalloc_000a70d0)(iVar8 + 2,4);\n    *(int *)puVar1 = iVar4;\n    *(undefined4 *)(iVar4 + (iVar8 + 1) * 4) = 0;\n    if (iVar11 < local_28) {\n      iVar4 = 0;\n      do {\n        pcVar5 = (char *)(iVar2 + iVar11);\n        pcVar6 = pcVar5;\n        while (*pcVar6 != '\0') {\n          iVar11 = iVar11 + 1;\n          pcVar6 = (char *)(iVar2 + iVar11);\n          if (local_28 <= iVar11) goto LAB_000614f4;\n        }\n        if (local_28 <= iVar11) {\nLAB_000614f4:\n          uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return uVar7;\n        }\n        iVar11 = iVar11 + 1;\n        iVar12 = *(int *)puVar1;\n        uVar7 = (*(code *)PTR_dupstr_000a70fc)(pcVar5);\n        *(undefined4 *)(iVar12 + iVar4) = uVar7;\n        iVar4 = iVar4 + 4;\n      } while (iVar11 < local_28);\n    }\n  }" { (expression_statement "iVar4 = iVar11;" (assignment_expression "iVar4 = iVar11" identifier = identifier) ;) (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (do_statement "do {\n      while (iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0') {\n        iVar4 = iVar3;\n        iVar12 = iVar8;\n        if (local_28 <= iVar3) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10);\n          uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n          return uVar7;\n        }\n      }\n      iVar4 = iVar4 + 1;\n      iVar12 = iVar8 + 1;\n    } while (iVar4 < local_28);" do (compound_statement "{\n      while (iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0') {\n        iVar4 = iVar3;\n        iVar12 = iVar8;\n        if (local_28 <= iVar3) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10);\n          uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n          return uVar7;\n        }\n      }\n      iVar4 = iVar4 + 1;\n      iVar12 = iVar8 + 1;\n    }" { (while_statement "while (iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0') {\n        iVar4 = iVar3;\n        iVar12 = iVar8;\n        if (local_28 <= iVar3) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10);\n          uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n          return uVar7;\n        }\n      }" while (parenthesized_expression "(iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0')" ( (comma_expression "iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0'" (assignment_expression "iVar8 = iVar12" identifier = identifier) , (comma_expression "iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0'" (assignment_expression "iVar3 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) , (binary_expression "*(char *)(iVar2 + iVar4) != '\0'" (pointer_expression "*(char *)(iVar2 + iVar4)" * (cast_expression "(char *)(iVar2 + iVar4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + iVar4)" ( (binary_expression "iVar2 + iVar4" identifier + identifier) )))) != (char_literal "'\0'" ' escape_sequence ')))) )) (compound_statement "{\n        iVar4 = iVar3;\n        iVar12 = iVar8;\n        if (local_28 <= iVar3) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10);\n          uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n          return uVar7;\n        }\n      }" { (expression_statement "iVar4 = iVar3;" (assignment_expression "iVar4 = iVar3" identifier = identifier) ;) (expression_statement "iVar12 = iVar8;" (assignment_expression "iVar12 = iVar8" identifier = identifier) ;) (if_statement "if (local_28 <= iVar3) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10);\n          uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n          return uVar7;\n        }" if (parenthesized_expression "(local_28 <= iVar3)" ( (binary_expression "local_28 <= iVar3" identifier <= identifier) )) (compound_statement "{\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10);\n          uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n          return uVar7;\n        }" { (expression_statement "uVar10 = *(undefined4 *)PTR_appname_000a7100;" (assignment_expression "uVar10 = *(undefined4 *)PTR_appname_000a7100" identifier = (pointer_expression "*(undefined4 *)PTR_appname_000a7100" * (cast_expression "(undefined4 *)PTR_appname_000a7100" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;" (assignment_expression "puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30" identifier = (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30" identifier + number_literal)) ;) (expression_statement "uVar7 = *(undefined4 *)PTR_stderr_000a7874;" (assignment_expression "uVar7 = *(undefined4 *)PTR_stderr_000a7874" identifier = (pointer_expression "*(undefined4 *)PTR_stderr_000a7874" * (cast_expression "(undefined4 *)PTR_stderr_000a7874" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (labeled_statement "LAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10);" statement_identifier : (expression_statement "(*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10);" (call_expression "(*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000a797c)" ( (pointer_expression "*(code *)PTR___fprintf_chk_000a797c" * (cast_expression "(code *)PTR___fprintf_chk_000a797c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar7,1,puVar9,uVar10)" ( identifier , number_literal , identifier , identifier ))) ;)) (expression_statement "uVar7 = (*(code *)PTR_exit_000a7a50)(1);" (assignment_expression "uVar7 = (*(code *)PTR_exit_000a7a50)(1)" identifier = (call_expression "(*(code *)PTR_exit_000a7a50)(1)" (parenthesized_expression "(*(code *)PTR_exit_000a7a50)" ( (pointer_expression "*(code *)PTR_exit_000a7a50" * (cast_expression "(code *)PTR_exit_000a7a50" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1)" ( number_literal )))) ;) (return_statement "return uVar7;" return identifier ;) })) })) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "iVar12 = iVar8 + 1;" (assignment_expression "iVar12 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 < local_28)" ( (binary_expression "iVar4 < local_28" identifier < identifier) )) ;) (expression_statement "iVar4 = (*(code *)PTR_safemalloc_000a70d0)(iVar8 + 2,4);" (assignment_expression "iVar4 = (*(code *)PTR_safemalloc_000a70d0)(iVar8 + 2,4)" identifier = (call_expression "(*(code *)PTR_safemalloc_000a70d0)(iVar8 + 2,4)" (parenthesized_expression "(*(code *)PTR_safemalloc_000a70d0)" ( (pointer_expression "*(code *)PTR_safemalloc_000a70d0" * (cast_expression "(code *)PTR_safemalloc_000a70d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar8 + 2,4)" ( (binary_expression "iVar8 + 2" identifier + number_literal) , number_literal )))) ;) (expression_statement "*(int *)puVar1 = iVar4;" (assignment_expression "*(int *)puVar1 = iVar4" (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(undefined4 *)(iVar4 + (iVar8 + 1) * 4) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + (iVar8 + 1) * 4) = 0" (pointer_expression "*(undefined4 *)(iVar4 + (iVar8 + 1) * 4)" * (cast_expression "(undefined4 *)(iVar4 + (iVar8 + 1) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + (iVar8 + 1) * 4)" ( (binary_expression "iVar4 + (iVar8 + 1) * 4" identifier + (binary_expression "(iVar8 + 1) * 4" (parenthesized_expression "(iVar8 + 1)" ( (binary_expression "iVar8 + 1" identifier + number_literal) )) * number_literal)) )))) = number_literal) ;) (if_statement "if (iVar11 < local_28) {\n      iVar4 = 0;\n      do {\n        pcVar5 = (char *)(iVar2 + iVar11);\n        pcVar6 = pcVar5;\n        while (*pcVar6 != '\0') {\n          iVar11 = iVar11 + 1;\n          pcVar6 = (char *)(iVar2 + iVar11);\n          if (local_28 <= iVar11) goto LAB_000614f4;\n        }\n        if (local_28 <= iVar11) {\nLAB_000614f4:\n          uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return uVar7;\n        }\n        iVar11 = iVar11 + 1;\n        iVar12 = *(int *)puVar1;\n        uVar7 = (*(code *)PTR_dupstr_000a70fc)(pcVar5);\n        *(undefined4 *)(iVar12 + iVar4) = uVar7;\n        iVar4 = iVar4 + 4;\n      } while (iVar11 < local_28);\n    }" if (parenthesized_expression "(iVar11 < local_28)" ( (binary_expression "iVar11 < local_28" identifier < identifier) )) (compound_statement "{\n      iVar4 = 0;\n      do {\n        pcVar5 = (char *)(iVar2 + iVar11);\n        pcVar6 = pcVar5;\n        while (*pcVar6 != '\0') {\n          iVar11 = iVar11 + 1;\n          pcVar6 = (char *)(iVar2 + iVar11);\n          if (local_28 <= iVar11) goto LAB_000614f4;\n        }\n        if (local_28 <= iVar11) {\nLAB_000614f4:\n          uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return uVar7;\n        }\n        iVar11 = iVar11 + 1;\n        iVar12 = *(int *)puVar1;\n        uVar7 = (*(code *)PTR_dupstr_000a70fc)(pcVar5);\n        *(undefined4 *)(iVar12 + iVar4) = uVar7;\n        iVar4 = iVar4 + 4;\n      } while (iVar11 < local_28);\n    }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n        pcVar5 = (char *)(iVar2 + iVar11);\n        pcVar6 = pcVar5;\n        while (*pcVar6 != '\0') {\n          iVar11 = iVar11 + 1;\n          pcVar6 = (char *)(iVar2 + iVar11);\n          if (local_28 <= iVar11) goto LAB_000614f4;\n        }\n        if (local_28 <= iVar11) {\nLAB_000614f4:\n          uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return uVar7;\n        }\n        iVar11 = iVar11 + 1;\n        iVar12 = *(int *)puVar1;\n        uVar7 = (*(code *)PTR_dupstr_000a70fc)(pcVar5);\n        *(undefined4 *)(iVar12 + iVar4) = uVar7;\n        iVar4 = iVar4 + 4;\n      } while (iVar11 < local_28);" do (compound_statement "{\n        pcVar5 = (char *)(iVar2 + iVar11);\n        pcVar6 = pcVar5;\n        while (*pcVar6 != '\0') {\n          iVar11 = iVar11 + 1;\n          pcVar6 = (char *)(iVar2 + iVar11);\n          if (local_28 <= iVar11) goto LAB_000614f4;\n        }\n        if (local_28 <= iVar11) {\nLAB_000614f4:\n          uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return uVar7;\n        }\n        iVar11 = iVar11 + 1;\n        iVar12 = *(int *)puVar1;\n        uVar7 = (*(code *)PTR_dupstr_000a70fc)(pcVar5);\n        *(undefined4 *)(iVar12 + iVar4) = uVar7;\n        iVar4 = iVar4 + 4;\n      }" { (expression_statement "pcVar5 = (char *)(iVar2 + iVar11);" (assignment_expression "pcVar5 = (char *)(iVar2 + iVar11)" identifier = (cast_expression "(char *)(iVar2 + iVar11)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + iVar11)" ( (binary_expression "iVar2 + iVar11" identifier + identifier) )))) ;) (expression_statement "pcVar6 = pcVar5;" (assignment_expression "pcVar6 = pcVar5" identifier = identifier) ;) (while_statement "while (*pcVar6 != '\0') {\n          iVar11 = iVar11 + 1;\n          pcVar6 = (char *)(iVar2 + iVar11);\n          if (local_28 <= iVar11) goto LAB_000614f4;\n        }" while (parenthesized_expression "(*pcVar6 != '\0')" ( (binary_expression "*pcVar6 != '\0'" (pointer_expression "*pcVar6" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar11 = iVar11 + 1;\n          pcVar6 = (char *)(iVar2 + iVar11);\n          if (local_28 <= iVar11) goto LAB_000614f4;\n        }" { (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) (expression_statement "pcVar6 = (char *)(iVar2 + iVar11);" (assignment_expression "pcVar6 = (char *)(iVar2 + iVar11)" identifier = (cast_expression "(char *)(iVar2 + iVar11)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + iVar11)" ( (binary_expression "iVar2 + iVar11" identifier + identifier) )))) ;) (if_statement "if (local_28 <= iVar11) goto LAB_000614f4;" if (parenthesized_expression "(local_28 <= iVar11)" ( (binary_expression "local_28 <= iVar11" identifier <= identifier) )) (goto_statement "goto LAB_000614f4;" goto statement_identifier ;)) })) (if_statement "if (local_28 <= iVar11) {\nLAB_000614f4:\n          uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return uVar7;\n        }" if (parenthesized_expression "(local_28 <= iVar11)" ( (binary_expression "local_28 <= iVar11" identifier <= identifier) )) (compound_statement "{\nLAB_000614f4:\n          uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return uVar7;\n        }" { (labeled_statement "LAB_000614f4:\n          uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);" statement_identifier : (expression_statement "uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);" (assignment_expression "uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694)" identifier = (call_expression "(*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694)" (parenthesized_expression "(*(code *)PTR___assert_fail_000a7840)" ( (pointer_expression "*(code *)PTR___assert_fail_000a7840" * (cast_expression "(code *)PTR___assert_fail_000a7840" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694)" ( (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24" identifier + number_literal) , (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8" identifier + number_literal) , number_literal , (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694" identifier + number_literal) )))) ;)) (return_statement "return uVar7;" return identifier ;) })) (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) (expression_statement "iVar12 = *(int *)puVar1;" (assignment_expression "iVar12 = *(int *)puVar1" identifier = (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar7 = (*(code *)PTR_dupstr_000a70fc)(pcVar5);" (assignment_expression "uVar7 = (*(code *)PTR_dupstr_000a70fc)(pcVar5)" identifier = (call_expression "(*(code *)PTR_dupstr_000a70fc)(pcVar5)" (parenthesized_expression "(*(code *)PTR_dupstr_000a70fc)" ( (pointer_expression "*(code *)PTR_dupstr_000a70fc" * (cast_expression "(code *)PTR_dupstr_000a70fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar5)" ( identifier )))) ;) (expression_statement "*(undefined4 *)(iVar12 + iVar4) = uVar7;" (assignment_expression "*(undefined4 *)(iVar12 + iVar4) = uVar7" (pointer_expression "*(undefined4 *)(iVar12 + iVar4)" * (cast_expression "(undefined4 *)(iVar12 + iVar4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + iVar4)" ( (binary_expression "iVar12 + iVar4" identifier + identifier) )))) = identifier) ;) (expression_statement "iVar4 = iVar4 + 4;" (assignment_expression "iVar4 = iVar4 + 4" identifier = (binary_expression "iVar4 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar11 < local_28)" ( (binary_expression "iVar11 < local_28" identifier < identifier) )) ;) })) })) (expression_statement "(*(code *)PTR_safefree_000a70d4)(iVar2);" (call_expression "(*(code *)PTR_safefree_000a70d4)(iVar2)" (parenthesized_expression "(*(code *)PTR_safefree_000a70d4)" ( (pointer_expression "*(code *)PTR_safefree_000a70d4" * (cast_expression "(code *)PTR_safefree_000a70d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2)" ( identifier ))) ;) (if_statement "if (local_24 == *(int *)puVar9) {\n    return 0;\n  }" if (parenthesized_expression "(local_24 == *(int *)puVar9)" ( (binary_expression "local_24 == *(int *)puVar9" identifier == (pointer_expression "*(int *)puVar9" * (cast_expression "(int *)puVar9" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "(*(code *)PTR___stack_chk_fail_000a7b74)();" (call_expression "(*(code *)PTR___stack_chk_fail_000a7b74)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000a7b74)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000a7b74" * (cast_expression "(code *)PTR___stack_chk_fail_000a7b74" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (labeled_statement "LAB_0006155c:\n  (*(code *)PTR_perror_000a79dc)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1c);" statement_identifier : (expression_statement "(*(code *)PTR_perror_000a79dc)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1c);" (call_expression "(*(code *)PTR_perror_000a79dc)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1c)" (parenthesized_expression "(*(code *)PTR_perror_000a79dc)" ( (pointer_expression "*(code *)PTR_perror_000a79dc" * (cast_expression "(code *)PTR_perror_000a79dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1c)" ( (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1c" identifier + number_literal) ))) ;)) (expression_statement "uVar7 = (*(code *)PTR_exit_000a7a50)(1);" (assignment_expression "uVar7 = (*(code *)PTR_exit_000a7a50)(1)" identifier = (call_expression "(*(code *)PTR_exit_000a7a50)(1)" (parenthesized_expression "(*(code *)PTR_exit_000a7a50)" ( (pointer_expression "*(code *)PTR_exit_000a7a50" * (cast_expression "(code *)PTR_exit_000a7a50" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1)" ( number_literal )))) ;) (return_statement "return uVar7;" return identifier ;) })))
(translation_unit "int read_dupsession_data(Conf *conf,char *arg)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  char *pcVar7;\n  int iVar8;\n  undefined *puVar9;\n  undefined4 uVar10;\n  int iVar11;\n  int iVar12;\n  int fd;\n  int size;\n  int local_24;\n  \n  puVar9 = PTR___stack_chk_guard_000a7ec8;\n  local_24 = *(int *)PTR___stack_chk_guard_000a7ec8;\n  iVar2 = (*(code *)PTR_sscanf_000a7f88)\n                    (arg,PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x5c,&fd,&size);\n  if (iVar2 != 2) {\n    (*(code *)PTR___fprintf_chk_000a797c)\n              (*(undefined4 *)PTR_stderr_000a7874,1,\n               PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x40,\n               *(undefined4 *)PTR_appname_000a7100,arg);\n    iVar2 = (*(code *)PTR_exit_000a7a50)(1);\n    return iVar2;\n  }\n  iVar11 = 0;\n  iVar2 = (*(code *)PTR_safemalloc_000a70d0)(size,1);\n  if (0 < size) {\n    do {\n      iVar4 = (*(code *)PTR_read_000a7924)(fd,iVar2 + iVar11,size - iVar11);\n      if (iVar4 < 1) {\n        if (iVar4 != 0) goto LAB_0006155c;\n        if (iVar11 < size) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar5 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }\n        break;\n      }\n      iVar11 = iVar11 + iVar4;\n    } while (iVar11 < size);\n  }\n  iVar11 = (*(code *)PTR_conf_deserialise_000a70f8)(conf,iVar2);\n  puVar1 = PTR_pty_argv_000a70e4;\n  if ((*(int *)PTR_use_pty_argv_000a70dc != 0) && (iVar11 < size)) {\n    iVar4 = iVar11;\n    iVar12 = 0;\n    do {\n      while (iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0') {\n        iVar4 = iVar3;\n        iVar12 = iVar8;\n        if (size <= iVar3) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar5 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar5,1,puVar9,uVar10);\n          iVar2 = (*(code *)PTR_exit_000a7a50)(1);\n          return iVar2;\n        }\n      }\n      iVar4 = iVar4 + 1;\n      iVar12 = iVar8 + 1;\n    } while (iVar4 < size);\n    iVar4 = (*(code *)PTR_safemalloc_000a70d0)(iVar8 + 2,4);\n    *(int *)puVar1 = iVar4;\n    *(undefined4 *)(iVar4 + (iVar8 + 1) * 4) = 0;\n    if (iVar11 < size) {\n      iVar4 = 0;\n      do {\n        pcVar6 = (char *)(iVar2 + iVar11);\n        pcVar7 = pcVar6;\n        while (*pcVar7 != '\0') {\n          iVar11 = iVar11 + 1;\n          pcVar7 = (char *)(iVar2 + iVar11);\n          if (size <= iVar11) goto LAB_000614f4;\n        }\n        if (size <= iVar11) {\nLAB_000614f4:\n          iVar2 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return iVar2;\n        }\n        iVar11 = iVar11 + 1;\n        iVar12 = *(int *)puVar1;\n        uVar5 = (*(code *)PTR_dupstr_000a70fc)(pcVar6);\n        *(undefined4 *)(iVar12 + iVar4) = uVar5;\n        iVar4 = iVar4 + 4;\n      } while (iVar11 < size);\n    }\n  }\n  (*(code *)PTR_safefree_000a70d4)(iVar2);\n  if (local_24 == *(int *)puVar9) {\n    return 0;\n  }\n  (*(code *)PTR___stack_chk_fail_000a7b74)();\nLAB_0006155c:\n  (*(code *)PTR_perror_000a79dc)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1c);\n  iVar2 = (*(code *)PTR_exit_000a7a50)(1);\n  return iVar2;\n}\n\n" (function_definition "int read_dupsession_data(Conf *conf,char *arg)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  char *pcVar7;\n  int iVar8;\n  undefined *puVar9;\n  undefined4 uVar10;\n  int iVar11;\n  int iVar12;\n  int fd;\n  int size;\n  int local_24;\n  \n  puVar9 = PTR___stack_chk_guard_000a7ec8;\n  local_24 = *(int *)PTR___stack_chk_guard_000a7ec8;\n  iVar2 = (*(code *)PTR_sscanf_000a7f88)\n                    (arg,PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x5c,&fd,&size);\n  if (iVar2 != 2) {\n    (*(code *)PTR___fprintf_chk_000a797c)\n              (*(undefined4 *)PTR_stderr_000a7874,1,\n               PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x40,\n               *(undefined4 *)PTR_appname_000a7100,arg);\n    iVar2 = (*(code *)PTR_exit_000a7a50)(1);\n    return iVar2;\n  }\n  iVar11 = 0;\n  iVar2 = (*(code *)PTR_safemalloc_000a70d0)(size,1);\n  if (0 < size) {\n    do {\n      iVar4 = (*(code *)PTR_read_000a7924)(fd,iVar2 + iVar11,size - iVar11);\n      if (iVar4 < 1) {\n        if (iVar4 != 0) goto LAB_0006155c;\n        if (iVar11 < size) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar5 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }\n        break;\n      }\n      iVar11 = iVar11 + iVar4;\n    } while (iVar11 < size);\n  }\n  iVar11 = (*(code *)PTR_conf_deserialise_000a70f8)(conf,iVar2);\n  puVar1 = PTR_pty_argv_000a70e4;\n  if ((*(int *)PTR_use_pty_argv_000a70dc != 0) && (iVar11 < size)) {\n    iVar4 = iVar11;\n    iVar12 = 0;\n    do {\n      while (iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0') {\n        iVar4 = iVar3;\n        iVar12 = iVar8;\n        if (size <= iVar3) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar5 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar5,1,puVar9,uVar10);\n          iVar2 = (*(code *)PTR_exit_000a7a50)(1);\n          return iVar2;\n        }\n      }\n      iVar4 = iVar4 + 1;\n      iVar12 = iVar8 + 1;\n    } while (iVar4 < size);\n    iVar4 = (*(code *)PTR_safemalloc_000a70d0)(iVar8 + 2,4);\n    *(int *)puVar1 = iVar4;\n    *(undefined4 *)(iVar4 + (iVar8 + 1) * 4) = 0;\n    if (iVar11 < size) {\n      iVar4 = 0;\n      do {\n        pcVar6 = (char *)(iVar2 + iVar11);\n        pcVar7 = pcVar6;\n        while (*pcVar7 != '\0') {\n          iVar11 = iVar11 + 1;\n          pcVar7 = (char *)(iVar2 + iVar11);\n          if (size <= iVar11) goto LAB_000614f4;\n        }\n        if (size <= iVar11) {\nLAB_000614f4:\n          iVar2 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return iVar2;\n        }\n        iVar11 = iVar11 + 1;\n        iVar12 = *(int *)puVar1;\n        uVar5 = (*(code *)PTR_dupstr_000a70fc)(pcVar6);\n        *(undefined4 *)(iVar12 + iVar4) = uVar5;\n        iVar4 = iVar4 + 4;\n      } while (iVar11 < size);\n    }\n  }\n  (*(code *)PTR_safefree_000a70d4)(iVar2);\n  if (local_24 == *(int *)puVar9) {\n    return 0;\n  }\n  (*(code *)PTR___stack_chk_fail_000a7b74)();\nLAB_0006155c:\n  (*(code *)PTR_perror_000a79dc)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1c);\n  iVar2 = (*(code *)PTR_exit_000a7a50)(1);\n  return iVar2;\n}" primitive_type (function_declarator "read_dupsession_data(Conf *conf,char *arg)" identifier (parameter_list "(Conf *conf,char *arg)" ( (parameter_declaration "Conf *conf" type_identifier (pointer_declarator "*conf" * identifier)) , (parameter_declaration "char *arg" primitive_type (pointer_declarator "*arg" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  char *pcVar7;\n  int iVar8;\n  undefined *puVar9;\n  undefined4 uVar10;\n  int iVar11;\n  int iVar12;\n  int fd;\n  int size;\n  int local_24;\n  \n  puVar9 = PTR___stack_chk_guard_000a7ec8;\n  local_24 = *(int *)PTR___stack_chk_guard_000a7ec8;\n  iVar2 = (*(code *)PTR_sscanf_000a7f88)\n                    (arg,PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x5c,&fd,&size);\n  if (iVar2 != 2) {\n    (*(code *)PTR___fprintf_chk_000a797c)\n              (*(undefined4 *)PTR_stderr_000a7874,1,\n               PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x40,\n               *(undefined4 *)PTR_appname_000a7100,arg);\n    iVar2 = (*(code *)PTR_exit_000a7a50)(1);\n    return iVar2;\n  }\n  iVar11 = 0;\n  iVar2 = (*(code *)PTR_safemalloc_000a70d0)(size,1);\n  if (0 < size) {\n    do {\n      iVar4 = (*(code *)PTR_read_000a7924)(fd,iVar2 + iVar11,size - iVar11);\n      if (iVar4 < 1) {\n        if (iVar4 != 0) goto LAB_0006155c;\n        if (iVar11 < size) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar5 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }\n        break;\n      }\n      iVar11 = iVar11 + iVar4;\n    } while (iVar11 < size);\n  }\n  iVar11 = (*(code *)PTR_conf_deserialise_000a70f8)(conf,iVar2);\n  puVar1 = PTR_pty_argv_000a70e4;\n  if ((*(int *)PTR_use_pty_argv_000a70dc != 0) && (iVar11 < size)) {\n    iVar4 = iVar11;\n    iVar12 = 0;\n    do {\n      while (iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0') {\n        iVar4 = iVar3;\n        iVar12 = iVar8;\n        if (size <= iVar3) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar5 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar5,1,puVar9,uVar10);\n          iVar2 = (*(code *)PTR_exit_000a7a50)(1);\n          return iVar2;\n        }\n      }\n      iVar4 = iVar4 + 1;\n      iVar12 = iVar8 + 1;\n    } while (iVar4 < size);\n    iVar4 = (*(code *)PTR_safemalloc_000a70d0)(iVar8 + 2,4);\n    *(int *)puVar1 = iVar4;\n    *(undefined4 *)(iVar4 + (iVar8 + 1) * 4) = 0;\n    if (iVar11 < size) {\n      iVar4 = 0;\n      do {\n        pcVar6 = (char *)(iVar2 + iVar11);\n        pcVar7 = pcVar6;\n        while (*pcVar7 != '\0') {\n          iVar11 = iVar11 + 1;\n          pcVar7 = (char *)(iVar2 + iVar11);\n          if (size <= iVar11) goto LAB_000614f4;\n        }\n        if (size <= iVar11) {\nLAB_000614f4:\n          iVar2 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return iVar2;\n        }\n        iVar11 = iVar11 + 1;\n        iVar12 = *(int *)puVar1;\n        uVar5 = (*(code *)PTR_dupstr_000a70fc)(pcVar6);\n        *(undefined4 *)(iVar12 + iVar4) = uVar5;\n        iVar4 = iVar4 + 4;\n      } while (iVar11 < size);\n    }\n  }\n  (*(code *)PTR_safefree_000a70d4)(iVar2);\n  if (local_24 == *(int *)puVar9) {\n    return 0;\n  }\n  (*(code *)PTR___stack_chk_fail_000a7b74)();\nLAB_0006155c:\n  (*(code *)PTR_perror_000a79dc)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1c);\n  iVar2 = (*(code *)PTR_exit_000a7a50)(1);\n  return iVar2;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "undefined *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int fd;" primitive_type identifier ;) (declaration "int size;" primitive_type identifier ;) (declaration "int local_24;" primitive_type identifier ;) (expression_statement "puVar9 = PTR___stack_chk_guard_000a7ec8;" (assignment_expression "puVar9 = PTR___stack_chk_guard_000a7ec8" identifier = identifier) ;) (expression_statement "local_24 = *(int *)PTR___stack_chk_guard_000a7ec8;" (assignment_expression "local_24 = *(int *)PTR___stack_chk_guard_000a7ec8" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000a7ec8" * (cast_expression "(int *)PTR___stack_chk_guard_000a7ec8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar2 = (*(code *)PTR_sscanf_000a7f88)\n                    (arg,PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x5c,&fd,&size);" (assignment_expression "iVar2 = (*(code *)PTR_sscanf_000a7f88)\n                    (arg,PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x5c,&fd,&size)" identifier = (call_expression "(*(code *)PTR_sscanf_000a7f88)\n                    (arg,PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x5c,&fd,&size)" (parenthesized_expression "(*(code *)PTR_sscanf_000a7f88)" ( (pointer_expression "*(code *)PTR_sscanf_000a7f88" * (cast_expression "(code *)PTR_sscanf_000a7f88" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(arg,PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x5c,&fd,&size)" ( identifier , (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x5c" identifier + number_literal) , (pointer_expression "&fd" & identifier) , (pointer_expression "&size" & identifier) )))) ;) (if_statement "if (iVar2 != 2) {\n    (*(code *)PTR___fprintf_chk_000a797c)\n              (*(undefined4 *)PTR_stderr_000a7874,1,\n               PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x40,\n               *(undefined4 *)PTR_appname_000a7100,arg);\n    iVar2 = (*(code *)PTR_exit_000a7a50)(1);\n    return iVar2;\n  }" if (parenthesized_expression "(iVar2 != 2)" ( (binary_expression "iVar2 != 2" identifier != number_literal) )) (compound_statement "{\n    (*(code *)PTR___fprintf_chk_000a797c)\n              (*(undefined4 *)PTR_stderr_000a7874,1,\n               PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x40,\n               *(undefined4 *)PTR_appname_000a7100,arg);\n    iVar2 = (*(code *)PTR_exit_000a7a50)(1);\n    return iVar2;\n  }" { (expression_statement "(*(code *)PTR___fprintf_chk_000a797c)\n              (*(undefined4 *)PTR_stderr_000a7874,1,\n               PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x40,\n               *(undefined4 *)PTR_appname_000a7100,arg);" (call_expression "(*(code *)PTR___fprintf_chk_000a797c)\n              (*(undefined4 *)PTR_stderr_000a7874,1,\n               PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x40,\n               *(undefined4 *)PTR_appname_000a7100,arg)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000a797c)" ( (pointer_expression "*(code *)PTR___fprintf_chk_000a797c" * (cast_expression "(code *)PTR___fprintf_chk_000a797c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_stderr_000a7874,1,\n               PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x40,\n               *(undefined4 *)PTR_appname_000a7100,arg)" ( (pointer_expression "*(undefined4 *)PTR_stderr_000a7874" * (cast_expression "(undefined4 *)PTR_stderr_000a7874" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x40" identifier + number_literal) , (pointer_expression "*(undefined4 *)PTR_appname_000a7100" * (cast_expression "(undefined4 *)PTR_appname_000a7100" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , identifier ))) ;) (expression_statement "iVar2 = (*(code *)PTR_exit_000a7a50)(1);" (assignment_expression "iVar2 = (*(code *)PTR_exit_000a7a50)(1)" identifier = (call_expression "(*(code *)PTR_exit_000a7a50)(1)" (parenthesized_expression "(*(code *)PTR_exit_000a7a50)" ( (pointer_expression "*(code *)PTR_exit_000a7a50" * (cast_expression "(code *)PTR_exit_000a7a50" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1)" ( number_literal )))) ;) (return_statement "return iVar2;" return identifier ;) })) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (expression_statement "iVar2 = (*(code *)PTR_safemalloc_000a70d0)(size,1);" (assignment_expression "iVar2 = (*(code *)PTR_safemalloc_000a70d0)(size,1)" identifier = (call_expression "(*(code *)PTR_safemalloc_000a70d0)(size,1)" (parenthesized_expression "(*(code *)PTR_safemalloc_000a70d0)" ( (pointer_expression "*(code *)PTR_safemalloc_000a70d0" * (cast_expression "(code *)PTR_safemalloc_000a70d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(size,1)" ( identifier , number_literal )))) ;) (if_statement "if (0 < size) {\n    do {\n      iVar4 = (*(code *)PTR_read_000a7924)(fd,iVar2 + iVar11,size - iVar11);\n      if (iVar4 < 1) {\n        if (iVar4 != 0) goto LAB_0006155c;\n        if (iVar11 < size) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar5 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }\n        break;\n      }\n      iVar11 = iVar11 + iVar4;\n    } while (iVar11 < size);\n  }" if (parenthesized_expression "(0 < size)" ( (binary_expression "0 < size" number_literal < identifier) )) (compound_statement "{\n    do {\n      iVar4 = (*(code *)PTR_read_000a7924)(fd,iVar2 + iVar11,size - iVar11);\n      if (iVar4 < 1) {\n        if (iVar4 != 0) goto LAB_0006155c;\n        if (iVar11 < size) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar5 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }\n        break;\n      }\n      iVar11 = iVar11 + iVar4;\n    } while (iVar11 < size);\n  }" { (do_statement "do {\n      iVar4 = (*(code *)PTR_read_000a7924)(fd,iVar2 + iVar11,size - iVar11);\n      if (iVar4 < 1) {\n        if (iVar4 != 0) goto LAB_0006155c;\n        if (iVar11 < size) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar5 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }\n        break;\n      }\n      iVar11 = iVar11 + iVar4;\n    } while (iVar11 < size);" do (compound_statement "{\n      iVar4 = (*(code *)PTR_read_000a7924)(fd,iVar2 + iVar11,size - iVar11);\n      if (iVar4 < 1) {\n        if (iVar4 != 0) goto LAB_0006155c;\n        if (iVar11 < size) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar5 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }\n        break;\n      }\n      iVar11 = iVar11 + iVar4;\n    }" { (expression_statement "iVar4 = (*(code *)PTR_read_000a7924)(fd,iVar2 + iVar11,size - iVar11);" (assignment_expression "iVar4 = (*(code *)PTR_read_000a7924)(fd,iVar2 + iVar11,size - iVar11)" identifier = (call_expression "(*(code *)PTR_read_000a7924)(fd,iVar2 + iVar11,size - iVar11)" (parenthesized_expression "(*(code *)PTR_read_000a7924)" ( (pointer_expression "*(code *)PTR_read_000a7924" * (cast_expression "(code *)PTR_read_000a7924" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(fd,iVar2 + iVar11,size - iVar11)" ( identifier , (binary_expression "iVar2 + iVar11" identifier + identifier) , (binary_expression "size - iVar11" identifier - identifier) )))) ;) (if_statement "if (iVar4 < 1) {\n        if (iVar4 != 0) goto LAB_0006155c;\n        if (iVar11 < size) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar5 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }\n        break;\n      }" if (parenthesized_expression "(iVar4 < 1)" ( (binary_expression "iVar4 < 1" identifier < number_literal) )) (compound_statement "{\n        if (iVar4 != 0) goto LAB_0006155c;\n        if (iVar11 < size) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar5 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }\n        break;\n      }" { (if_statement "if (iVar4 != 0) goto LAB_0006155c;" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0006155c;" goto statement_identifier ;)) (if_statement "if (iVar11 < size) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar5 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }" if (parenthesized_expression "(iVar11 < size)" ( (binary_expression "iVar11 < size" identifier < identifier) )) (compound_statement "{\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar5 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }" { (expression_statement "uVar10 = *(undefined4 *)PTR_appname_000a7100;" (assignment_expression "uVar10 = *(undefined4 *)PTR_appname_000a7100" identifier = (pointer_expression "*(undefined4 *)PTR_appname_000a7100" * (cast_expression "(undefined4 *)PTR_appname_000a7100" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;" (assignment_expression "puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc" identifier = (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc" identifier + number_literal)) ;) (expression_statement "uVar5 = *(undefined4 *)PTR_stderr_000a7874;" (assignment_expression "uVar5 = *(undefined4 *)PTR_stderr_000a7874" identifier = (pointer_expression "*(undefined4 *)PTR_stderr_000a7874" * (cast_expression "(undefined4 *)PTR_stderr_000a7874" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (goto_statement "goto LAB_0006159c;" goto statement_identifier ;) })) (break_statement "break;" break ;) })) (expression_statement "iVar11 = iVar11 + iVar4;" (assignment_expression "iVar11 = iVar11 + iVar4" identifier = (binary_expression "iVar11 + iVar4" identifier + identifier)) ;) }) while (parenthesized_expression "(iVar11 < size)" ( (binary_expression "iVar11 < size" identifier < identifier) )) ;) })) (expression_statement "iVar11 = (*(code *)PTR_conf_deserialise_000a70f8)(conf,iVar2);" (assignment_expression "iVar11 = (*(code *)PTR_conf_deserialise_000a70f8)(conf,iVar2)" identifier = (call_expression "(*(code *)PTR_conf_deserialise_000a70f8)(conf,iVar2)" (parenthesized_expression "(*(code *)PTR_conf_deserialise_000a70f8)" ( (pointer_expression "*(code *)PTR_conf_deserialise_000a70f8" * (cast_expression "(code *)PTR_conf_deserialise_000a70f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(conf,iVar2)" ( identifier , identifier )))) ;) (expression_statement "puVar1 = PTR_pty_argv_000a70e4;" (assignment_expression "puVar1 = PTR_pty_argv_000a70e4" identifier = identifier) ;) (if_statement "if ((*(int *)PTR_use_pty_argv_000a70dc != 0) && (iVar11 < size)) {\n    iVar4 = iVar11;\n    iVar12 = 0;\n    do {\n      while (iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0') {\n        iVar4 = iVar3;\n        iVar12 = iVar8;\n        if (size <= iVar3) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar5 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar5,1,puVar9,uVar10);\n          iVar2 = (*(code *)PTR_exit_000a7a50)(1);\n          return iVar2;\n        }\n      }\n      iVar4 = iVar4 + 1;\n      iVar12 = iVar8 + 1;\n    } while (iVar4 < size);\n    iVar4 = (*(code *)PTR_safemalloc_000a70d0)(iVar8 + 2,4);\n    *(int *)puVar1 = iVar4;\n    *(undefined4 *)(iVar4 + (iVar8 + 1) * 4) = 0;\n    if (iVar11 < size) {\n      iVar4 = 0;\n      do {\n        pcVar6 = (char *)(iVar2 + iVar11);\n        pcVar7 = pcVar6;\n        while (*pcVar7 != '\0') {\n          iVar11 = iVar11 + 1;\n          pcVar7 = (char *)(iVar2 + iVar11);\n          if (size <= iVar11) goto LAB_000614f4;\n        }\n        if (size <= iVar11) {\nLAB_000614f4:\n          iVar2 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return iVar2;\n        }\n        iVar11 = iVar11 + 1;\n        iVar12 = *(int *)puVar1;\n        uVar5 = (*(code *)PTR_dupstr_000a70fc)(pcVar6);\n        *(undefined4 *)(iVar12 + iVar4) = uVar5;\n        iVar4 = iVar4 + 4;\n      } while (iVar11 < size);\n    }\n  }" if (parenthesized_expression "((*(int *)PTR_use_pty_argv_000a70dc != 0) && (iVar11 < size))" ( (binary_expression "(*(int *)PTR_use_pty_argv_000a70dc != 0) && (iVar11 < size)" (parenthesized_expression "(*(int *)PTR_use_pty_argv_000a70dc != 0)" ( (binary_expression "*(int *)PTR_use_pty_argv_000a70dc != 0" (pointer_expression "*(int *)PTR_use_pty_argv_000a70dc" * (cast_expression "(int *)PTR_use_pty_argv_000a70dc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) && (parenthesized_expression "(iVar11 < size)" ( (binary_expression "iVar11 < size" identifier < identifier) ))) )) (compound_statement "{\n    iVar4 = iVar11;\n    iVar12 = 0;\n    do {\n      while (iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0') {\n        iVar4 = iVar3;\n        iVar12 = iVar8;\n        if (size <= iVar3) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar5 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar5,1,puVar9,uVar10);\n          iVar2 = (*(code *)PTR_exit_000a7a50)(1);\n          return iVar2;\n        }\n      }\n      iVar4 = iVar4 + 1;\n      iVar12 = iVar8 + 1;\n    } while (iVar4 < size);\n    iVar4 = (*(code *)PTR_safemalloc_000a70d0)(iVar8 + 2,4);\n    *(int *)puVar1 = iVar4;\n    *(undefined4 *)(iVar4 + (iVar8 + 1) * 4) = 0;\n    if (iVar11 < size) {\n      iVar4 = 0;\n      do {\n        pcVar6 = (char *)(iVar2 + iVar11);\n        pcVar7 = pcVar6;\n        while (*pcVar7 != '\0') {\n          iVar11 = iVar11 + 1;\n          pcVar7 = (char *)(iVar2 + iVar11);\n          if (size <= iVar11) goto LAB_000614f4;\n        }\n        if (size <= iVar11) {\nLAB_000614f4:\n          iVar2 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return iVar2;\n        }\n        iVar11 = iVar11 + 1;\n        iVar12 = *(int *)puVar1;\n        uVar5 = (*(code *)PTR_dupstr_000a70fc)(pcVar6);\n        *(undefined4 *)(iVar12 + iVar4) = uVar5;\n        iVar4 = iVar4 + 4;\n      } while (iVar11 < size);\n    }\n  }" { (expression_statement "iVar4 = iVar11;" (assignment_expression "iVar4 = iVar11" identifier = identifier) ;) (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (do_statement "do {\n      while (iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0') {\n        iVar4 = iVar3;\n        iVar12 = iVar8;\n        if (size <= iVar3) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar5 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar5,1,puVar9,uVar10);\n          iVar2 = (*(code *)PTR_exit_000a7a50)(1);\n          return iVar2;\n        }\n      }\n      iVar4 = iVar4 + 1;\n      iVar12 = iVar8 + 1;\n    } while (iVar4 < size);" do (compound_statement "{\n      while (iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0') {\n        iVar4 = iVar3;\n        iVar12 = iVar8;\n        if (size <= iVar3) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar5 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar5,1,puVar9,uVar10);\n          iVar2 = (*(code *)PTR_exit_000a7a50)(1);\n          return iVar2;\n        }\n      }\n      iVar4 = iVar4 + 1;\n      iVar12 = iVar8 + 1;\n    }" { (while_statement "while (iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0') {\n        iVar4 = iVar3;\n        iVar12 = iVar8;\n        if (size <= iVar3) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar5 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar5,1,puVar9,uVar10);\n          iVar2 = (*(code *)PTR_exit_000a7a50)(1);\n          return iVar2;\n        }\n      }" while (parenthesized_expression "(iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0')" ( (comma_expression "iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0'" (assignment_expression "iVar8 = iVar12" identifier = identifier) , (comma_expression "iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0'" (assignment_expression "iVar3 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) , (binary_expression "*(char *)(iVar2 + iVar4) != '\0'" (pointer_expression "*(char *)(iVar2 + iVar4)" * (cast_expression "(char *)(iVar2 + iVar4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + iVar4)" ( (binary_expression "iVar2 + iVar4" identifier + identifier) )))) != (char_literal "'\0'" ' escape_sequence ')))) )) (compound_statement "{\n        iVar4 = iVar3;\n        iVar12 = iVar8;\n        if (size <= iVar3) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar5 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar5,1,puVar9,uVar10);\n          iVar2 = (*(code *)PTR_exit_000a7a50)(1);\n          return iVar2;\n        }\n      }" { (expression_statement "iVar4 = iVar3;" (assignment_expression "iVar4 = iVar3" identifier = identifier) ;) (expression_statement "iVar12 = iVar8;" (assignment_expression "iVar12 = iVar8" identifier = identifier) ;) (if_statement "if (size <= iVar3) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar5 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar5,1,puVar9,uVar10);\n          iVar2 = (*(code *)PTR_exit_000a7a50)(1);\n          return iVar2;\n        }" if (parenthesized_expression "(size <= iVar3)" ( (binary_expression "size <= iVar3" identifier <= identifier) )) (compound_statement "{\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar5 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar5,1,puVar9,uVar10);\n          iVar2 = (*(code *)PTR_exit_000a7a50)(1);\n          return iVar2;\n        }" { (expression_statement "uVar10 = *(undefined4 *)PTR_appname_000a7100;" (assignment_expression "uVar10 = *(undefined4 *)PTR_appname_000a7100" identifier = (pointer_expression "*(undefined4 *)PTR_appname_000a7100" * (cast_expression "(undefined4 *)PTR_appname_000a7100" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;" (assignment_expression "puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30" identifier = (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30" identifier + number_literal)) ;) (expression_statement "uVar5 = *(undefined4 *)PTR_stderr_000a7874;" (assignment_expression "uVar5 = *(undefined4 *)PTR_stderr_000a7874" identifier = (pointer_expression "*(undefined4 *)PTR_stderr_000a7874" * (cast_expression "(undefined4 *)PTR_stderr_000a7874" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (labeled_statement "LAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar5,1,puVar9,uVar10);" statement_identifier : (expression_statement "(*(code *)PTR___fprintf_chk_000a797c)(uVar5,1,puVar9,uVar10);" (call_expression "(*(code *)PTR___fprintf_chk_000a797c)(uVar5,1,puVar9,uVar10)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000a797c)" ( (pointer_expression "*(code *)PTR___fprintf_chk_000a797c" * (cast_expression "(code *)PTR___fprintf_chk_000a797c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5,1,puVar9,uVar10)" ( identifier , number_literal , identifier , identifier ))) ;)) (expression_statement "iVar2 = (*(code *)PTR_exit_000a7a50)(1);" (assignment_expression "iVar2 = (*(code *)PTR_exit_000a7a50)(1)" identifier = (call_expression "(*(code *)PTR_exit_000a7a50)(1)" (parenthesized_expression "(*(code *)PTR_exit_000a7a50)" ( (pointer_expression "*(code *)PTR_exit_000a7a50" * (cast_expression "(code *)PTR_exit_000a7a50" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1)" ( number_literal )))) ;) (return_statement "return iVar2;" return identifier ;) })) })) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "iVar12 = iVar8 + 1;" (assignment_expression "iVar12 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 < size)" ( (binary_expression "iVar4 < size" identifier < identifier) )) ;) (expression_statement "iVar4 = (*(code *)PTR_safemalloc_000a70d0)(iVar8 + 2,4);" (assignment_expression "iVar4 = (*(code *)PTR_safemalloc_000a70d0)(iVar8 + 2,4)" identifier = (call_expression "(*(code *)PTR_safemalloc_000a70d0)(iVar8 + 2,4)" (parenthesized_expression "(*(code *)PTR_safemalloc_000a70d0)" ( (pointer_expression "*(code *)PTR_safemalloc_000a70d0" * (cast_expression "(code *)PTR_safemalloc_000a70d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar8 + 2,4)" ( (binary_expression "iVar8 + 2" identifier + number_literal) , number_literal )))) ;) (expression_statement "*(int *)puVar1 = iVar4;" (assignment_expression "*(int *)puVar1 = iVar4" (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(undefined4 *)(iVar4 + (iVar8 + 1) * 4) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + (iVar8 + 1) * 4) = 0" (pointer_expression "*(undefined4 *)(iVar4 + (iVar8 + 1) * 4)" * (cast_expression "(undefined4 *)(iVar4 + (iVar8 + 1) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + (iVar8 + 1) * 4)" ( (binary_expression "iVar4 + (iVar8 + 1) * 4" identifier + (binary_expression "(iVar8 + 1) * 4" (parenthesized_expression "(iVar8 + 1)" ( (binary_expression "iVar8 + 1" identifier + number_literal) )) * number_literal)) )))) = number_literal) ;) (if_statement "if (iVar11 < size) {\n      iVar4 = 0;\n      do {\n        pcVar6 = (char *)(iVar2 + iVar11);\n        pcVar7 = pcVar6;\n        while (*pcVar7 != '\0') {\n          iVar11 = iVar11 + 1;\n          pcVar7 = (char *)(iVar2 + iVar11);\n          if (size <= iVar11) goto LAB_000614f4;\n        }\n        if (size <= iVar11) {\nLAB_000614f4:\n          iVar2 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return iVar2;\n        }\n        iVar11 = iVar11 + 1;\n        iVar12 = *(int *)puVar1;\n        uVar5 = (*(code *)PTR_dupstr_000a70fc)(pcVar6);\n        *(undefined4 *)(iVar12 + iVar4) = uVar5;\n        iVar4 = iVar4 + 4;\n      } while (iVar11 < size);\n    }" if (parenthesized_expression "(iVar11 < size)" ( (binary_expression "iVar11 < size" identifier < identifier) )) (compound_statement "{\n      iVar4 = 0;\n      do {\n        pcVar6 = (char *)(iVar2 + iVar11);\n        pcVar7 = pcVar6;\n        while (*pcVar7 != '\0') {\n          iVar11 = iVar11 + 1;\n          pcVar7 = (char *)(iVar2 + iVar11);\n          if (size <= iVar11) goto LAB_000614f4;\n        }\n        if (size <= iVar11) {\nLAB_000614f4:\n          iVar2 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return iVar2;\n        }\n        iVar11 = iVar11 + 1;\n        iVar12 = *(int *)puVar1;\n        uVar5 = (*(code *)PTR_dupstr_000a70fc)(pcVar6);\n        *(undefined4 *)(iVar12 + iVar4) = uVar5;\n        iVar4 = iVar4 + 4;\n      } while (iVar11 < size);\n    }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n        pcVar6 = (char *)(iVar2 + iVar11);\n        pcVar7 = pcVar6;\n        while (*pcVar7 != '\0') {\n          iVar11 = iVar11 + 1;\n          pcVar7 = (char *)(iVar2 + iVar11);\n          if (size <= iVar11) goto LAB_000614f4;\n        }\n        if (size <= iVar11) {\nLAB_000614f4:\n          iVar2 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return iVar2;\n        }\n        iVar11 = iVar11 + 1;\n        iVar12 = *(int *)puVar1;\n        uVar5 = (*(code *)PTR_dupstr_000a70fc)(pcVar6);\n        *(undefined4 *)(iVar12 + iVar4) = uVar5;\n        iVar4 = iVar4 + 4;\n      } while (iVar11 < size);" do (compound_statement "{\n        pcVar6 = (char *)(iVar2 + iVar11);\n        pcVar7 = pcVar6;\n        while (*pcVar7 != '\0') {\n          iVar11 = iVar11 + 1;\n          pcVar7 = (char *)(iVar2 + iVar11);\n          if (size <= iVar11) goto LAB_000614f4;\n        }\n        if (size <= iVar11) {\nLAB_000614f4:\n          iVar2 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return iVar2;\n        }\n        iVar11 = iVar11 + 1;\n        iVar12 = *(int *)puVar1;\n        uVar5 = (*(code *)PTR_dupstr_000a70fc)(pcVar6);\n        *(undefined4 *)(iVar12 + iVar4) = uVar5;\n        iVar4 = iVar4 + 4;\n      }" { (expression_statement "pcVar6 = (char *)(iVar2 + iVar11);" (assignment_expression "pcVar6 = (char *)(iVar2 + iVar11)" identifier = (cast_expression "(char *)(iVar2 + iVar11)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + iVar11)" ( (binary_expression "iVar2 + iVar11" identifier + identifier) )))) ;) (expression_statement "pcVar7 = pcVar6;" (assignment_expression "pcVar7 = pcVar6" identifier = identifier) ;) (while_statement "while (*pcVar7 != '\0') {\n          iVar11 = iVar11 + 1;\n          pcVar7 = (char *)(iVar2 + iVar11);\n          if (size <= iVar11) goto LAB_000614f4;\n        }" while (parenthesized_expression "(*pcVar7 != '\0')" ( (binary_expression "*pcVar7 != '\0'" (pointer_expression "*pcVar7" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar11 = iVar11 + 1;\n          pcVar7 = (char *)(iVar2 + iVar11);\n          if (size <= iVar11) goto LAB_000614f4;\n        }" { (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) (expression_statement "pcVar7 = (char *)(iVar2 + iVar11);" (assignment_expression "pcVar7 = (char *)(iVar2 + iVar11)" identifier = (cast_expression "(char *)(iVar2 + iVar11)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + iVar11)" ( (binary_expression "iVar2 + iVar11" identifier + identifier) )))) ;) (if_statement "if (size <= iVar11) goto LAB_000614f4;" if (parenthesized_expression "(size <= iVar11)" ( (binary_expression "size <= iVar11" identifier <= identifier) )) (goto_statement "goto LAB_000614f4;" goto statement_identifier ;)) })) (if_statement "if (size <= iVar11) {\nLAB_000614f4:\n          iVar2 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return iVar2;\n        }" if (parenthesized_expression "(size <= iVar11)" ( (binary_expression "size <= iVar11" identifier <= identifier) )) (compound_statement "{\nLAB_000614f4:\n          iVar2 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return iVar2;\n        }" { (labeled_statement "LAB_000614f4:\n          iVar2 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);" statement_identifier : (expression_statement "iVar2 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);" (assignment_expression "iVar2 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694)" identifier = (call_expression "(*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694)" (parenthesized_expression "(*(code *)PTR___assert_fail_000a7840)" ( (pointer_expression "*(code *)PTR___assert_fail_000a7840" * (cast_expression "(code *)PTR___assert_fail_000a7840" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694)" ( (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24" identifier + number_literal) , (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8" identifier + number_literal) , number_literal , (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694" identifier + number_literal) )))) ;)) (return_statement "return iVar2;" return identifier ;) })) (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) (expression_statement "iVar12 = *(int *)puVar1;" (assignment_expression "iVar12 = *(int *)puVar1" identifier = (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar5 = (*(code *)PTR_dupstr_000a70fc)(pcVar6);" (assignment_expression "uVar5 = (*(code *)PTR_dupstr_000a70fc)(pcVar6)" identifier = (call_expression "(*(code *)PTR_dupstr_000a70fc)(pcVar6)" (parenthesized_expression "(*(code *)PTR_dupstr_000a70fc)" ( (pointer_expression "*(code *)PTR_dupstr_000a70fc" * (cast_expression "(code *)PTR_dupstr_000a70fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar6)" ( identifier )))) ;) (expression_statement "*(undefined4 *)(iVar12 + iVar4) = uVar5;" (assignment_expression "*(undefined4 *)(iVar12 + iVar4) = uVar5" (pointer_expression "*(undefined4 *)(iVar12 + iVar4)" * (cast_expression "(undefined4 *)(iVar12 + iVar4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + iVar4)" ( (binary_expression "iVar12 + iVar4" identifier + identifier) )))) = identifier) ;) (expression_statement "iVar4 = iVar4 + 4;" (assignment_expression "iVar4 = iVar4 + 4" identifier = (binary_expression "iVar4 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar11 < size)" ( (binary_expression "iVar11 < size" identifier < identifier) )) ;) })) })) (expression_statement "(*(code *)PTR_safefree_000a70d4)(iVar2);" (call_expression "(*(code *)PTR_safefree_000a70d4)(iVar2)" (parenthesized_expression "(*(code *)PTR_safefree_000a70d4)" ( (pointer_expression "*(code *)PTR_safefree_000a70d4" * (cast_expression "(code *)PTR_safefree_000a70d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2)" ( identifier ))) ;) (if_statement "if (local_24 == *(int *)puVar9) {\n    return 0;\n  }" if (parenthesized_expression "(local_24 == *(int *)puVar9)" ( (binary_expression "local_24 == *(int *)puVar9" identifier == (pointer_expression "*(int *)puVar9" * (cast_expression "(int *)puVar9" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "(*(code *)PTR___stack_chk_fail_000a7b74)();" (call_expression "(*(code *)PTR___stack_chk_fail_000a7b74)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000a7b74)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000a7b74" * (cast_expression "(code *)PTR___stack_chk_fail_000a7b74" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (labeled_statement "LAB_0006155c:\n  (*(code *)PTR_perror_000a79dc)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1c);" statement_identifier : (expression_statement "(*(code *)PTR_perror_000a79dc)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1c);" (call_expression "(*(code *)PTR_perror_000a79dc)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1c)" (parenthesized_expression "(*(code *)PTR_perror_000a79dc)" ( (pointer_expression "*(code *)PTR_perror_000a79dc" * (cast_expression "(code *)PTR_perror_000a79dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1c)" ( (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1c" identifier + number_literal) ))) ;)) (expression_statement "iVar2 = (*(code *)PTR_exit_000a7a50)(1);" (assignment_expression "iVar2 = (*(code *)PTR_exit_000a7a50)(1)" identifier = (call_expression "(*(code *)PTR_exit_000a7a50)(1)" (parenthesized_expression "(*(code *)PTR_exit_000a7a50)" ( (pointer_expression "*(code *)PTR_exit_000a7a50" * (cast_expression "(code *)PTR_exit_000a7a50" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1)" ( number_literal )))) ;) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "undefined4 read_dupsession_data(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  char *pcVar5;\n  char *pcVar6;\n  undefined4 uVar7;\n  int iVar8;\n  undefined *puVar9;\n  undefined4 uVar10;\n  int iVar11;\n  int iVar12;\n  undefined4 local_2c;\n  int local_28;\n  int local_24;\n  \n  puVar9 = PTR___stack_chk_guard_000a7ec8;\n  local_24 = *(int *)PTR___stack_chk_guard_000a7ec8;\n  iVar2 = (*(code *)PTR_sscanf_000a7f88)\n                    (param_2,PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x5c,&local_2c,\n                     &local_28);\n  if (iVar2 != 2) {\n    (*(code *)PTR___fprintf_chk_000a797c)\n              (*(undefined4 *)PTR_stderr_000a7874,1,\n               PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x40,\n               *(undefined4 *)PTR_appname_000a7100,param_2);\n    uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n    return uVar7;\n  }\n  iVar11 = 0;\n  iVar2 = (*(code *)PTR_safemalloc_000a70d0)(local_28,1);\n  if (0 < local_28) {\n    do {\n      iVar4 = (*(code *)PTR_read_000a7924)(local_2c,iVar2 + iVar11,local_28 - iVar11);\n      if (iVar4 < 1) {\n        if (iVar4 != 0) goto LAB_0006155c;\n        if (iVar11 < local_28) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }\n        break;\n      }\n      iVar11 = iVar11 + iVar4;\n    } while (iVar11 < local_28);\n  }\n  iVar11 = (*(code *)PTR_conf_deserialise_000a70f8)(param_1,iVar2);\n  puVar1 = PTR_pty_argv_000a70e4;\n  if ((*(int *)PTR_use_pty_argv_000a70dc != 0) && (iVar11 < local_28)) {\n    iVar4 = iVar11;\n    iVar12 = 0;\n    do {\n      while (iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0') {\n        iVar4 = iVar3;\n        iVar12 = iVar8;\n        if (local_28 <= iVar3) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10);\n          uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n          return uVar7;\n        }\n      }\n      iVar4 = iVar4 + 1;\n      iVar12 = iVar8 + 1;\n    } while (iVar4 < local_28);\n    iVar4 = (*(code *)PTR_safemalloc_000a70d0)(iVar8 + 2,4);\n    *(int *)puVar1 = iVar4;\n    *(undefined4 *)(iVar4 + (iVar8 + 1) * 4) = 0;\n    if (iVar11 < local_28) {\n      iVar4 = 0;\n      do {\n        pcVar5 = (char *)(iVar2 + iVar11);\n        pcVar6 = pcVar5;\n        while (*pcVar6 != '\0') {\n          iVar11 = iVar11 + 1;\n          pcVar6 = (char *)(iVar2 + iVar11);\n          if (local_28 <= iVar11) goto LAB_000614f4;\n        }\n        if (local_28 <= iVar11) {\nLAB_000614f4:\n          uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return uVar7;\n        }\n        iVar11 = iVar11 + 1;\n        iVar12 = *(int *)puVar1;\n        uVar7 = (*(code *)PTR_dupstr_000a70fc)(pcVar5);\n        *(undefined4 *)(iVar12 + iVar4) = uVar7;\n        iVar4 = iVar4 + 4;\n      } while (iVar11 < local_28);\n    }\n  }\n  (*(code *)PTR_safefree_000a70d4)(iVar2);\n  if (local_24 == *(int *)puVar9) {\n    return 0;\n  }\n  (*(code *)PTR___stack_chk_fail_000a7b74)();\nLAB_0006155c:\n  (*(code *)PTR_perror_000a79dc)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1c);\n  uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n  return uVar7;\n}\n\n" (function_definition "undefined4 read_dupsession_data(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  char *pcVar5;\n  char *pcVar6;\n  undefined4 uVar7;\n  int iVar8;\n  undefined *puVar9;\n  undefined4 uVar10;\n  int iVar11;\n  int iVar12;\n  undefined4 local_2c;\n  int local_28;\n  int local_24;\n  \n  puVar9 = PTR___stack_chk_guard_000a7ec8;\n  local_24 = *(int *)PTR___stack_chk_guard_000a7ec8;\n  iVar2 = (*(code *)PTR_sscanf_000a7f88)\n                    (param_2,PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x5c,&local_2c,\n                     &local_28);\n  if (iVar2 != 2) {\n    (*(code *)PTR___fprintf_chk_000a797c)\n              (*(undefined4 *)PTR_stderr_000a7874,1,\n               PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x40,\n               *(undefined4 *)PTR_appname_000a7100,param_2);\n    uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n    return uVar7;\n  }\n  iVar11 = 0;\n  iVar2 = (*(code *)PTR_safemalloc_000a70d0)(local_28,1);\n  if (0 < local_28) {\n    do {\n      iVar4 = (*(code *)PTR_read_000a7924)(local_2c,iVar2 + iVar11,local_28 - iVar11);\n      if (iVar4 < 1) {\n        if (iVar4 != 0) goto LAB_0006155c;\n        if (iVar11 < local_28) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }\n        break;\n      }\n      iVar11 = iVar11 + iVar4;\n    } while (iVar11 < local_28);\n  }\n  iVar11 = (*(code *)PTR_conf_deserialise_000a70f8)(param_1,iVar2);\n  puVar1 = PTR_pty_argv_000a70e4;\n  if ((*(int *)PTR_use_pty_argv_000a70dc != 0) && (iVar11 < local_28)) {\n    iVar4 = iVar11;\n    iVar12 = 0;\n    do {\n      while (iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0') {\n        iVar4 = iVar3;\n        iVar12 = iVar8;\n        if (local_28 <= iVar3) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10);\n          uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n          return uVar7;\n        }\n      }\n      iVar4 = iVar4 + 1;\n      iVar12 = iVar8 + 1;\n    } while (iVar4 < local_28);\n    iVar4 = (*(code *)PTR_safemalloc_000a70d0)(iVar8 + 2,4);\n    *(int *)puVar1 = iVar4;\n    *(undefined4 *)(iVar4 + (iVar8 + 1) * 4) = 0;\n    if (iVar11 < local_28) {\n      iVar4 = 0;\n      do {\n        pcVar5 = (char *)(iVar2 + iVar11);\n        pcVar6 = pcVar5;\n        while (*pcVar6 != '\0') {\n          iVar11 = iVar11 + 1;\n          pcVar6 = (char *)(iVar2 + iVar11);\n          if (local_28 <= iVar11) goto LAB_000614f4;\n        }\n        if (local_28 <= iVar11) {\nLAB_000614f4:\n          uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return uVar7;\n        }\n        iVar11 = iVar11 + 1;\n        iVar12 = *(int *)puVar1;\n        uVar7 = (*(code *)PTR_dupstr_000a70fc)(pcVar5);\n        *(undefined4 *)(iVar12 + iVar4) = uVar7;\n        iVar4 = iVar4 + 4;\n      } while (iVar11 < local_28);\n    }\n  }\n  (*(code *)PTR_safefree_000a70d4)(iVar2);\n  if (local_24 == *(int *)puVar9) {\n    return 0;\n  }\n  (*(code *)PTR___stack_chk_fail_000a7b74)();\nLAB_0006155c:\n  (*(code *)PTR_perror_000a79dc)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1c);\n  uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n  return uVar7;\n}" type_identifier (function_declarator "read_dupsession_data(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  char *pcVar5;\n  char *pcVar6;\n  undefined4 uVar7;\n  int iVar8;\n  undefined *puVar9;\n  undefined4 uVar10;\n  int iVar11;\n  int iVar12;\n  undefined4 local_2c;\n  int local_28;\n  int local_24;\n  \n  puVar9 = PTR___stack_chk_guard_000a7ec8;\n  local_24 = *(int *)PTR___stack_chk_guard_000a7ec8;\n  iVar2 = (*(code *)PTR_sscanf_000a7f88)\n                    (param_2,PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x5c,&local_2c,\n                     &local_28);\n  if (iVar2 != 2) {\n    (*(code *)PTR___fprintf_chk_000a797c)\n              (*(undefined4 *)PTR_stderr_000a7874,1,\n               PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x40,\n               *(undefined4 *)PTR_appname_000a7100,param_2);\n    uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n    return uVar7;\n  }\n  iVar11 = 0;\n  iVar2 = (*(code *)PTR_safemalloc_000a70d0)(local_28,1);\n  if (0 < local_28) {\n    do {\n      iVar4 = (*(code *)PTR_read_000a7924)(local_2c,iVar2 + iVar11,local_28 - iVar11);\n      if (iVar4 < 1) {\n        if (iVar4 != 0) goto LAB_0006155c;\n        if (iVar11 < local_28) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }\n        break;\n      }\n      iVar11 = iVar11 + iVar4;\n    } while (iVar11 < local_28);\n  }\n  iVar11 = (*(code *)PTR_conf_deserialise_000a70f8)(param_1,iVar2);\n  puVar1 = PTR_pty_argv_000a70e4;\n  if ((*(int *)PTR_use_pty_argv_000a70dc != 0) && (iVar11 < local_28)) {\n    iVar4 = iVar11;\n    iVar12 = 0;\n    do {\n      while (iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0') {\n        iVar4 = iVar3;\n        iVar12 = iVar8;\n        if (local_28 <= iVar3) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10);\n          uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n          return uVar7;\n        }\n      }\n      iVar4 = iVar4 + 1;\n      iVar12 = iVar8 + 1;\n    } while (iVar4 < local_28);\n    iVar4 = (*(code *)PTR_safemalloc_000a70d0)(iVar8 + 2,4);\n    *(int *)puVar1 = iVar4;\n    *(undefined4 *)(iVar4 + (iVar8 + 1) * 4) = 0;\n    if (iVar11 < local_28) {\n      iVar4 = 0;\n      do {\n        pcVar5 = (char *)(iVar2 + iVar11);\n        pcVar6 = pcVar5;\n        while (*pcVar6 != '\0') {\n          iVar11 = iVar11 + 1;\n          pcVar6 = (char *)(iVar2 + iVar11);\n          if (local_28 <= iVar11) goto LAB_000614f4;\n        }\n        if (local_28 <= iVar11) {\nLAB_000614f4:\n          uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return uVar7;\n        }\n        iVar11 = iVar11 + 1;\n        iVar12 = *(int *)puVar1;\n        uVar7 = (*(code *)PTR_dupstr_000a70fc)(pcVar5);\n        *(undefined4 *)(iVar12 + iVar4) = uVar7;\n        iVar4 = iVar4 + 4;\n      } while (iVar11 < local_28);\n    }\n  }\n  (*(code *)PTR_safefree_000a70d4)(iVar2);\n  if (local_24 == *(int *)puVar9) {\n    return 0;\n  }\n  (*(code *)PTR___stack_chk_fail_000a7b74)();\nLAB_0006155c:\n  (*(code *)PTR_perror_000a79dc)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1c);\n  uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n  return uVar7;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "undefined *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (declaration "int local_28;" primitive_type identifier ;) (declaration "int local_24;" primitive_type identifier ;) (expression_statement "puVar9 = PTR___stack_chk_guard_000a7ec8;" (assignment_expression "puVar9 = PTR___stack_chk_guard_000a7ec8" identifier = identifier) ;) (expression_statement "local_24 = *(int *)PTR___stack_chk_guard_000a7ec8;" (assignment_expression "local_24 = *(int *)PTR___stack_chk_guard_000a7ec8" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000a7ec8" * (cast_expression "(int *)PTR___stack_chk_guard_000a7ec8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar2 = (*(code *)PTR_sscanf_000a7f88)\n                    (param_2,PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x5c,&local_2c,\n                     &local_28);" (assignment_expression "iVar2 = (*(code *)PTR_sscanf_000a7f88)\n                    (param_2,PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x5c,&local_2c,\n                     &local_28)" identifier = (call_expression "(*(code *)PTR_sscanf_000a7f88)\n                    (param_2,PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x5c,&local_2c,\n                     &local_28)" (parenthesized_expression "(*(code *)PTR_sscanf_000a7f88)" ( (pointer_expression "*(code *)PTR_sscanf_000a7f88" * (cast_expression "(code *)PTR_sscanf_000a7f88" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x5c,&local_2c,\n                     &local_28)" ( identifier , (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x5c" identifier + number_literal) , (pointer_expression "&local_2c" & identifier) , (pointer_expression "&local_28" & identifier) )))) ;) (if_statement "if (iVar2 != 2) {\n    (*(code *)PTR___fprintf_chk_000a797c)\n              (*(undefined4 *)PTR_stderr_000a7874,1,\n               PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x40,\n               *(undefined4 *)PTR_appname_000a7100,param_2);\n    uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n    return uVar7;\n  }" if (parenthesized_expression "(iVar2 != 2)" ( (binary_expression "iVar2 != 2" identifier != number_literal) )) (compound_statement "{\n    (*(code *)PTR___fprintf_chk_000a797c)\n              (*(undefined4 *)PTR_stderr_000a7874,1,\n               PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x40,\n               *(undefined4 *)PTR_appname_000a7100,param_2);\n    uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n    return uVar7;\n  }" { (expression_statement "(*(code *)PTR___fprintf_chk_000a797c)\n              (*(undefined4 *)PTR_stderr_000a7874,1,\n               PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x40,\n               *(undefined4 *)PTR_appname_000a7100,param_2);" (call_expression "(*(code *)PTR___fprintf_chk_000a797c)\n              (*(undefined4 *)PTR_stderr_000a7874,1,\n               PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x40,\n               *(undefined4 *)PTR_appname_000a7100,param_2)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000a797c)" ( (pointer_expression "*(code *)PTR___fprintf_chk_000a797c" * (cast_expression "(code *)PTR___fprintf_chk_000a797c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_stderr_000a7874,1,\n               PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x40,\n               *(undefined4 *)PTR_appname_000a7100,param_2)" ( (pointer_expression "*(undefined4 *)PTR_stderr_000a7874" * (cast_expression "(undefined4 *)PTR_stderr_000a7874" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x40" identifier + number_literal) , (pointer_expression "*(undefined4 *)PTR_appname_000a7100" * (cast_expression "(undefined4 *)PTR_appname_000a7100" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , identifier ))) ;) (expression_statement "uVar7 = (*(code *)PTR_exit_000a7a50)(1);" (assignment_expression "uVar7 = (*(code *)PTR_exit_000a7a50)(1)" identifier = (call_expression "(*(code *)PTR_exit_000a7a50)(1)" (parenthesized_expression "(*(code *)PTR_exit_000a7a50)" ( (pointer_expression "*(code *)PTR_exit_000a7a50" * (cast_expression "(code *)PTR_exit_000a7a50" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1)" ( number_literal )))) ;) (return_statement "return uVar7;" return identifier ;) })) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (expression_statement "iVar2 = (*(code *)PTR_safemalloc_000a70d0)(local_28,1);" (assignment_expression "iVar2 = (*(code *)PTR_safemalloc_000a70d0)(local_28,1)" identifier = (call_expression "(*(code *)PTR_safemalloc_000a70d0)(local_28,1)" (parenthesized_expression "(*(code *)PTR_safemalloc_000a70d0)" ( (pointer_expression "*(code *)PTR_safemalloc_000a70d0" * (cast_expression "(code *)PTR_safemalloc_000a70d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_28,1)" ( identifier , number_literal )))) ;) (if_statement "if (0 < local_28) {\n    do {\n      iVar4 = (*(code *)PTR_read_000a7924)(local_2c,iVar2 + iVar11,local_28 - iVar11);\n      if (iVar4 < 1) {\n        if (iVar4 != 0) goto LAB_0006155c;\n        if (iVar11 < local_28) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }\n        break;\n      }\n      iVar11 = iVar11 + iVar4;\n    } while (iVar11 < local_28);\n  }" if (parenthesized_expression "(0 < local_28)" ( (binary_expression "0 < local_28" number_literal < identifier) )) (compound_statement "{\n    do {\n      iVar4 = (*(code *)PTR_read_000a7924)(local_2c,iVar2 + iVar11,local_28 - iVar11);\n      if (iVar4 < 1) {\n        if (iVar4 != 0) goto LAB_0006155c;\n        if (iVar11 < local_28) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }\n        break;\n      }\n      iVar11 = iVar11 + iVar4;\n    } while (iVar11 < local_28);\n  }" { (do_statement "do {\n      iVar4 = (*(code *)PTR_read_000a7924)(local_2c,iVar2 + iVar11,local_28 - iVar11);\n      if (iVar4 < 1) {\n        if (iVar4 != 0) goto LAB_0006155c;\n        if (iVar11 < local_28) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }\n        break;\n      }\n      iVar11 = iVar11 + iVar4;\n    } while (iVar11 < local_28);" do (compound_statement "{\n      iVar4 = (*(code *)PTR_read_000a7924)(local_2c,iVar2 + iVar11,local_28 - iVar11);\n      if (iVar4 < 1) {\n        if (iVar4 != 0) goto LAB_0006155c;\n        if (iVar11 < local_28) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }\n        break;\n      }\n      iVar11 = iVar11 + iVar4;\n    }" { (expression_statement "iVar4 = (*(code *)PTR_read_000a7924)(local_2c,iVar2 + iVar11,local_28 - iVar11);" (assignment_expression "iVar4 = (*(code *)PTR_read_000a7924)(local_2c,iVar2 + iVar11,local_28 - iVar11)" identifier = (call_expression "(*(code *)PTR_read_000a7924)(local_2c,iVar2 + iVar11,local_28 - iVar11)" (parenthesized_expression "(*(code *)PTR_read_000a7924)" ( (pointer_expression "*(code *)PTR_read_000a7924" * (cast_expression "(code *)PTR_read_000a7924" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_2c,iVar2 + iVar11,local_28 - iVar11)" ( identifier , (binary_expression "iVar2 + iVar11" identifier + identifier) , (binary_expression "local_28 - iVar11" identifier - identifier) )))) ;) (if_statement "if (iVar4 < 1) {\n        if (iVar4 != 0) goto LAB_0006155c;\n        if (iVar11 < local_28) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }\n        break;\n      }" if (parenthesized_expression "(iVar4 < 1)" ( (binary_expression "iVar4 < 1" identifier < number_literal) )) (compound_statement "{\n        if (iVar4 != 0) goto LAB_0006155c;\n        if (iVar11 < local_28) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }\n        break;\n      }" { (if_statement "if (iVar4 != 0) goto LAB_0006155c;" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0006155c;" goto statement_identifier ;)) (if_statement "if (iVar11 < local_28) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }" if (parenthesized_expression "(iVar11 < local_28)" ( (binary_expression "iVar11 < local_28" identifier < identifier) )) (compound_statement "{\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }" { (expression_statement "uVar10 = *(undefined4 *)PTR_appname_000a7100;" (assignment_expression "uVar10 = *(undefined4 *)PTR_appname_000a7100" identifier = (pointer_expression "*(undefined4 *)PTR_appname_000a7100" * (cast_expression "(undefined4 *)PTR_appname_000a7100" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;" (assignment_expression "puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc" identifier = (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc" identifier + number_literal)) ;) (expression_statement "uVar7 = *(undefined4 *)PTR_stderr_000a7874;" (assignment_expression "uVar7 = *(undefined4 *)PTR_stderr_000a7874" identifier = (pointer_expression "*(undefined4 *)PTR_stderr_000a7874" * (cast_expression "(undefined4 *)PTR_stderr_000a7874" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (goto_statement "goto LAB_0006159c;" goto statement_identifier ;) })) (break_statement "break;" break ;) })) (expression_statement "iVar11 = iVar11 + iVar4;" (assignment_expression "iVar11 = iVar11 + iVar4" identifier = (binary_expression "iVar11 + iVar4" identifier + identifier)) ;) }) while (parenthesized_expression "(iVar11 < local_28)" ( (binary_expression "iVar11 < local_28" identifier < identifier) )) ;) })) (expression_statement "iVar11 = (*(code *)PTR_conf_deserialise_000a70f8)(param_1,iVar2);" (assignment_expression "iVar11 = (*(code *)PTR_conf_deserialise_000a70f8)(param_1,iVar2)" identifier = (call_expression "(*(code *)PTR_conf_deserialise_000a70f8)(param_1,iVar2)" (parenthesized_expression "(*(code *)PTR_conf_deserialise_000a70f8)" ( (pointer_expression "*(code *)PTR_conf_deserialise_000a70f8" * (cast_expression "(code *)PTR_conf_deserialise_000a70f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,iVar2)" ( identifier , identifier )))) ;) (expression_statement "puVar1 = PTR_pty_argv_000a70e4;" (assignment_expression "puVar1 = PTR_pty_argv_000a70e4" identifier = identifier) ;) (if_statement "if ((*(int *)PTR_use_pty_argv_000a70dc != 0) && (iVar11 < local_28)) {\n    iVar4 = iVar11;\n    iVar12 = 0;\n    do {\n      while (iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0') {\n        iVar4 = iVar3;\n        iVar12 = iVar8;\n        if (local_28 <= iVar3) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10);\n          uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n          return uVar7;\n        }\n      }\n      iVar4 = iVar4 + 1;\n      iVar12 = iVar8 + 1;\n    } while (iVar4 < local_28);\n    iVar4 = (*(code *)PTR_safemalloc_000a70d0)(iVar8 + 2,4);\n    *(int *)puVar1 = iVar4;\n    *(undefined4 *)(iVar4 + (iVar8 + 1) * 4) = 0;\n    if (iVar11 < local_28) {\n      iVar4 = 0;\n      do {\n        pcVar5 = (char *)(iVar2 + iVar11);\n        pcVar6 = pcVar5;\n        while (*pcVar6 != '\0') {\n          iVar11 = iVar11 + 1;\n          pcVar6 = (char *)(iVar2 + iVar11);\n          if (local_28 <= iVar11) goto LAB_000614f4;\n        }\n        if (local_28 <= iVar11) {\nLAB_000614f4:\n          uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return uVar7;\n        }\n        iVar11 = iVar11 + 1;\n        iVar12 = *(int *)puVar1;\n        uVar7 = (*(code *)PTR_dupstr_000a70fc)(pcVar5);\n        *(undefined4 *)(iVar12 + iVar4) = uVar7;\n        iVar4 = iVar4 + 4;\n      } while (iVar11 < local_28);\n    }\n  }" if (parenthesized_expression "((*(int *)PTR_use_pty_argv_000a70dc != 0) && (iVar11 < local_28))" ( (binary_expression "(*(int *)PTR_use_pty_argv_000a70dc != 0) && (iVar11 < local_28)" (parenthesized_expression "(*(int *)PTR_use_pty_argv_000a70dc != 0)" ( (binary_expression "*(int *)PTR_use_pty_argv_000a70dc != 0" (pointer_expression "*(int *)PTR_use_pty_argv_000a70dc" * (cast_expression "(int *)PTR_use_pty_argv_000a70dc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) && (parenthesized_expression "(iVar11 < local_28)" ( (binary_expression "iVar11 < local_28" identifier < identifier) ))) )) (compound_statement "{\n    iVar4 = iVar11;\n    iVar12 = 0;\n    do {\n      while (iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0') {\n        iVar4 = iVar3;\n        iVar12 = iVar8;\n        if (local_28 <= iVar3) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10);\n          uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n          return uVar7;\n        }\n      }\n      iVar4 = iVar4 + 1;\n      iVar12 = iVar8 + 1;\n    } while (iVar4 < local_28);\n    iVar4 = (*(code *)PTR_safemalloc_000a70d0)(iVar8 + 2,4);\n    *(int *)puVar1 = iVar4;\n    *(undefined4 *)(iVar4 + (iVar8 + 1) * 4) = 0;\n    if (iVar11 < local_28) {\n      iVar4 = 0;\n      do {\n        pcVar5 = (char *)(iVar2 + iVar11);\n        pcVar6 = pcVar5;\n        while (*pcVar6 != '\0') {\n          iVar11 = iVar11 + 1;\n          pcVar6 = (char *)(iVar2 + iVar11);\n          if (local_28 <= iVar11) goto LAB_000614f4;\n        }\n        if (local_28 <= iVar11) {\nLAB_000614f4:\n          uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return uVar7;\n        }\n        iVar11 = iVar11 + 1;\n        iVar12 = *(int *)puVar1;\n        uVar7 = (*(code *)PTR_dupstr_000a70fc)(pcVar5);\n        *(undefined4 *)(iVar12 + iVar4) = uVar7;\n        iVar4 = iVar4 + 4;\n      } while (iVar11 < local_28);\n    }\n  }" { (expression_statement "iVar4 = iVar11;" (assignment_expression "iVar4 = iVar11" identifier = identifier) ;) (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (do_statement "do {\n      while (iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0') {\n        iVar4 = iVar3;\n        iVar12 = iVar8;\n        if (local_28 <= iVar3) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10);\n          uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n          return uVar7;\n        }\n      }\n      iVar4 = iVar4 + 1;\n      iVar12 = iVar8 + 1;\n    } while (iVar4 < local_28);" do (compound_statement "{\n      while (iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0') {\n        iVar4 = iVar3;\n        iVar12 = iVar8;\n        if (local_28 <= iVar3) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10);\n          uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n          return uVar7;\n        }\n      }\n      iVar4 = iVar4 + 1;\n      iVar12 = iVar8 + 1;\n    }" { (while_statement "while (iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0') {\n        iVar4 = iVar3;\n        iVar12 = iVar8;\n        if (local_28 <= iVar3) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10);\n          uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n          return uVar7;\n        }\n      }" while (parenthesized_expression "(iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0')" ( (comma_expression "iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0'" (assignment_expression "iVar8 = iVar12" identifier = identifier) , (comma_expression "iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0'" (assignment_expression "iVar3 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) , (binary_expression "*(char *)(iVar2 + iVar4) != '\0'" (pointer_expression "*(char *)(iVar2 + iVar4)" * (cast_expression "(char *)(iVar2 + iVar4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + iVar4)" ( (binary_expression "iVar2 + iVar4" identifier + identifier) )))) != (char_literal "'\0'" ' escape_sequence ')))) )) (compound_statement "{\n        iVar4 = iVar3;\n        iVar12 = iVar8;\n        if (local_28 <= iVar3) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10);\n          uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n          return uVar7;\n        }\n      }" { (expression_statement "iVar4 = iVar3;" (assignment_expression "iVar4 = iVar3" identifier = identifier) ;) (expression_statement "iVar12 = iVar8;" (assignment_expression "iVar12 = iVar8" identifier = identifier) ;) (if_statement "if (local_28 <= iVar3) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10);\n          uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n          return uVar7;\n        }" if (parenthesized_expression "(local_28 <= iVar3)" ( (binary_expression "local_28 <= iVar3" identifier <= identifier) )) (compound_statement "{\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10);\n          uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n          return uVar7;\n        }" { (expression_statement "uVar10 = *(undefined4 *)PTR_appname_000a7100;" (assignment_expression "uVar10 = *(undefined4 *)PTR_appname_000a7100" identifier = (pointer_expression "*(undefined4 *)PTR_appname_000a7100" * (cast_expression "(undefined4 *)PTR_appname_000a7100" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;" (assignment_expression "puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30" identifier = (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30" identifier + number_literal)) ;) (expression_statement "uVar7 = *(undefined4 *)PTR_stderr_000a7874;" (assignment_expression "uVar7 = *(undefined4 *)PTR_stderr_000a7874" identifier = (pointer_expression "*(undefined4 *)PTR_stderr_000a7874" * (cast_expression "(undefined4 *)PTR_stderr_000a7874" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (labeled_statement "LAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10);" statement_identifier : (expression_statement "(*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10);" (call_expression "(*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000a797c)" ( (pointer_expression "*(code *)PTR___fprintf_chk_000a797c" * (cast_expression "(code *)PTR___fprintf_chk_000a797c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar7,1,puVar9,uVar10)" ( identifier , number_literal , identifier , identifier ))) ;)) (expression_statement "uVar7 = (*(code *)PTR_exit_000a7a50)(1);" (assignment_expression "uVar7 = (*(code *)PTR_exit_000a7a50)(1)" identifier = (call_expression "(*(code *)PTR_exit_000a7a50)(1)" (parenthesized_expression "(*(code *)PTR_exit_000a7a50)" ( (pointer_expression "*(code *)PTR_exit_000a7a50" * (cast_expression "(code *)PTR_exit_000a7a50" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1)" ( number_literal )))) ;) (return_statement "return uVar7;" return identifier ;) })) })) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "iVar12 = iVar8 + 1;" (assignment_expression "iVar12 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 < local_28)" ( (binary_expression "iVar4 < local_28" identifier < identifier) )) ;) (expression_statement "iVar4 = (*(code *)PTR_safemalloc_000a70d0)(iVar8 + 2,4);" (assignment_expression "iVar4 = (*(code *)PTR_safemalloc_000a70d0)(iVar8 + 2,4)" identifier = (call_expression "(*(code *)PTR_safemalloc_000a70d0)(iVar8 + 2,4)" (parenthesized_expression "(*(code *)PTR_safemalloc_000a70d0)" ( (pointer_expression "*(code *)PTR_safemalloc_000a70d0" * (cast_expression "(code *)PTR_safemalloc_000a70d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar8 + 2,4)" ( (binary_expression "iVar8 + 2" identifier + number_literal) , number_literal )))) ;) (expression_statement "*(int *)puVar1 = iVar4;" (assignment_expression "*(int *)puVar1 = iVar4" (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(undefined4 *)(iVar4 + (iVar8 + 1) * 4) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + (iVar8 + 1) * 4) = 0" (pointer_expression "*(undefined4 *)(iVar4 + (iVar8 + 1) * 4)" * (cast_expression "(undefined4 *)(iVar4 + (iVar8 + 1) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + (iVar8 + 1) * 4)" ( (binary_expression "iVar4 + (iVar8 + 1) * 4" identifier + (binary_expression "(iVar8 + 1) * 4" (parenthesized_expression "(iVar8 + 1)" ( (binary_expression "iVar8 + 1" identifier + number_literal) )) * number_literal)) )))) = number_literal) ;) (if_statement "if (iVar11 < local_28) {\n      iVar4 = 0;\n      do {\n        pcVar5 = (char *)(iVar2 + iVar11);\n        pcVar6 = pcVar5;\n        while (*pcVar6 != '\0') {\n          iVar11 = iVar11 + 1;\n          pcVar6 = (char *)(iVar2 + iVar11);\n          if (local_28 <= iVar11) goto LAB_000614f4;\n        }\n        if (local_28 <= iVar11) {\nLAB_000614f4:\n          uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return uVar7;\n        }\n        iVar11 = iVar11 + 1;\n        iVar12 = *(int *)puVar1;\n        uVar7 = (*(code *)PTR_dupstr_000a70fc)(pcVar5);\n        *(undefined4 *)(iVar12 + iVar4) = uVar7;\n        iVar4 = iVar4 + 4;\n      } while (iVar11 < local_28);\n    }" if (parenthesized_expression "(iVar11 < local_28)" ( (binary_expression "iVar11 < local_28" identifier < identifier) )) (compound_statement "{\n      iVar4 = 0;\n      do {\n        pcVar5 = (char *)(iVar2 + iVar11);\n        pcVar6 = pcVar5;\n        while (*pcVar6 != '\0') {\n          iVar11 = iVar11 + 1;\n          pcVar6 = (char *)(iVar2 + iVar11);\n          if (local_28 <= iVar11) goto LAB_000614f4;\n        }\n        if (local_28 <= iVar11) {\nLAB_000614f4:\n          uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return uVar7;\n        }\n        iVar11 = iVar11 + 1;\n        iVar12 = *(int *)puVar1;\n        uVar7 = (*(code *)PTR_dupstr_000a70fc)(pcVar5);\n        *(undefined4 *)(iVar12 + iVar4) = uVar7;\n        iVar4 = iVar4 + 4;\n      } while (iVar11 < local_28);\n    }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n        pcVar5 = (char *)(iVar2 + iVar11);\n        pcVar6 = pcVar5;\n        while (*pcVar6 != '\0') {\n          iVar11 = iVar11 + 1;\n          pcVar6 = (char *)(iVar2 + iVar11);\n          if (local_28 <= iVar11) goto LAB_000614f4;\n        }\n        if (local_28 <= iVar11) {\nLAB_000614f4:\n          uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return uVar7;\n        }\n        iVar11 = iVar11 + 1;\n        iVar12 = *(int *)puVar1;\n        uVar7 = (*(code *)PTR_dupstr_000a70fc)(pcVar5);\n        *(undefined4 *)(iVar12 + iVar4) = uVar7;\n        iVar4 = iVar4 + 4;\n      } while (iVar11 < local_28);" do (compound_statement "{\n        pcVar5 = (char *)(iVar2 + iVar11);\n        pcVar6 = pcVar5;\n        while (*pcVar6 != '\0') {\n          iVar11 = iVar11 + 1;\n          pcVar6 = (char *)(iVar2 + iVar11);\n          if (local_28 <= iVar11) goto LAB_000614f4;\n        }\n        if (local_28 <= iVar11) {\nLAB_000614f4:\n          uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return uVar7;\n        }\n        iVar11 = iVar11 + 1;\n        iVar12 = *(int *)puVar1;\n        uVar7 = (*(code *)PTR_dupstr_000a70fc)(pcVar5);\n        *(undefined4 *)(iVar12 + iVar4) = uVar7;\n        iVar4 = iVar4 + 4;\n      }" { (expression_statement "pcVar5 = (char *)(iVar2 + iVar11);" (assignment_expression "pcVar5 = (char *)(iVar2 + iVar11)" identifier = (cast_expression "(char *)(iVar2 + iVar11)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + iVar11)" ( (binary_expression "iVar2 + iVar11" identifier + identifier) )))) ;) (expression_statement "pcVar6 = pcVar5;" (assignment_expression "pcVar6 = pcVar5" identifier = identifier) ;) (while_statement "while (*pcVar6 != '\0') {\n          iVar11 = iVar11 + 1;\n          pcVar6 = (char *)(iVar2 + iVar11);\n          if (local_28 <= iVar11) goto LAB_000614f4;\n        }" while (parenthesized_expression "(*pcVar6 != '\0')" ( (binary_expression "*pcVar6 != '\0'" (pointer_expression "*pcVar6" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar11 = iVar11 + 1;\n          pcVar6 = (char *)(iVar2 + iVar11);\n          if (local_28 <= iVar11) goto LAB_000614f4;\n        }" { (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) (expression_statement "pcVar6 = (char *)(iVar2 + iVar11);" (assignment_expression "pcVar6 = (char *)(iVar2 + iVar11)" identifier = (cast_expression "(char *)(iVar2 + iVar11)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + iVar11)" ( (binary_expression "iVar2 + iVar11" identifier + identifier) )))) ;) (if_statement "if (local_28 <= iVar11) goto LAB_000614f4;" if (parenthesized_expression "(local_28 <= iVar11)" ( (binary_expression "local_28 <= iVar11" identifier <= identifier) )) (goto_statement "goto LAB_000614f4;" goto statement_identifier ;)) })) (if_statement "if (local_28 <= iVar11) {\nLAB_000614f4:\n          uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return uVar7;\n        }" if (parenthesized_expression "(local_28 <= iVar11)" ( (binary_expression "local_28 <= iVar11" identifier <= identifier) )) (compound_statement "{\nLAB_000614f4:\n          uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return uVar7;\n        }" { (labeled_statement "LAB_000614f4:\n          uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);" statement_identifier : (expression_statement "uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);" (assignment_expression "uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694)" identifier = (call_expression "(*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694)" (parenthesized_expression "(*(code *)PTR___assert_fail_000a7840)" ( (pointer_expression "*(code *)PTR___assert_fail_000a7840" * (cast_expression "(code *)PTR___assert_fail_000a7840" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694)" ( (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24" identifier + number_literal) , (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8" identifier + number_literal) , number_literal , (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694" identifier + number_literal) )))) ;)) (return_statement "return uVar7;" return identifier ;) })) (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) (expression_statement "iVar12 = *(int *)puVar1;" (assignment_expression "iVar12 = *(int *)puVar1" identifier = (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar7 = (*(code *)PTR_dupstr_000a70fc)(pcVar5);" (assignment_expression "uVar7 = (*(code *)PTR_dupstr_000a70fc)(pcVar5)" identifier = (call_expression "(*(code *)PTR_dupstr_000a70fc)(pcVar5)" (parenthesized_expression "(*(code *)PTR_dupstr_000a70fc)" ( (pointer_expression "*(code *)PTR_dupstr_000a70fc" * (cast_expression "(code *)PTR_dupstr_000a70fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar5)" ( identifier )))) ;) (expression_statement "*(undefined4 *)(iVar12 + iVar4) = uVar7;" (assignment_expression "*(undefined4 *)(iVar12 + iVar4) = uVar7" (pointer_expression "*(undefined4 *)(iVar12 + iVar4)" * (cast_expression "(undefined4 *)(iVar12 + iVar4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + iVar4)" ( (binary_expression "iVar12 + iVar4" identifier + identifier) )))) = identifier) ;) (expression_statement "iVar4 = iVar4 + 4;" (assignment_expression "iVar4 = iVar4 + 4" identifier = (binary_expression "iVar4 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar11 < local_28)" ( (binary_expression "iVar11 < local_28" identifier < identifier) )) ;) })) })) (expression_statement "(*(code *)PTR_safefree_000a70d4)(iVar2);" (call_expression "(*(code *)PTR_safefree_000a70d4)(iVar2)" (parenthesized_expression "(*(code *)PTR_safefree_000a70d4)" ( (pointer_expression "*(code *)PTR_safefree_000a70d4" * (cast_expression "(code *)PTR_safefree_000a70d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2)" ( identifier ))) ;) (if_statement "if (local_24 == *(int *)puVar9) {\n    return 0;\n  }" if (parenthesized_expression "(local_24 == *(int *)puVar9)" ( (binary_expression "local_24 == *(int *)puVar9" identifier == (pointer_expression "*(int *)puVar9" * (cast_expression "(int *)puVar9" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "(*(code *)PTR___stack_chk_fail_000a7b74)();" (call_expression "(*(code *)PTR___stack_chk_fail_000a7b74)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000a7b74)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000a7b74" * (cast_expression "(code *)PTR___stack_chk_fail_000a7b74" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (labeled_statement "LAB_0006155c:\n  (*(code *)PTR_perror_000a79dc)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1c);" statement_identifier : (expression_statement "(*(code *)PTR_perror_000a79dc)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1c);" (call_expression "(*(code *)PTR_perror_000a79dc)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1c)" (parenthesized_expression "(*(code *)PTR_perror_000a79dc)" ( (pointer_expression "*(code *)PTR_perror_000a79dc" * (cast_expression "(code *)PTR_perror_000a79dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1c)" ( (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1c" identifier + number_literal) ))) ;)) (expression_statement "uVar7 = (*(code *)PTR_exit_000a7a50)(1);" (assignment_expression "uVar7 = (*(code *)PTR_exit_000a7a50)(1)" identifier = (call_expression "(*(code *)PTR_exit_000a7a50)(1)" (parenthesized_expression "(*(code *)PTR_exit_000a7a50)" ( (pointer_expression "*(code *)PTR_exit_000a7a50" * (cast_expression "(code *)PTR_exit_000a7a50" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1)" ( number_literal )))) ;) (return_statement "return uVar7;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , (pointer_expression & IDENT) , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , LIT , (binary_expression IDENT + LIT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT )))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + IDENT) , (binary_expression IDENT - IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (goto_statement goto statement_identifier ;) })) (break_statement break ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) != LIT) )) && (parenthesized_expression ( (binary_expression IDENT < IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) != (char_literal ' escape_sequence ')))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , IDENT , IDENT ))) ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT )))) ;) (return_statement return IDENT ;) })) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * LIT)) )))) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (goto_statement goto statement_identifier ;)) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) )))) ;)) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))) ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT )))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 read_dupsession_data(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  char *pcVar5;\n  char *pcVar6;\n  undefined4 uVar7;\n  int iVar8;\n  undefined *puVar9;\n  undefined4 uVar10;\n  int iVar11;\n  int iVar12;\n  undefined4 local_2c;\n  int local_28;\n  int local_24;\n  \n  puVar9 = PTR___stack_chk_guard_000a7ec8;\n  local_24 = *(int *)PTR___stack_chk_guard_000a7ec8;\n  iVar2 = (*(code *)PTR_sscanf_000a7f88)\n                    (param_2,PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x5c,&local_2c,\n                     &local_28);\n  if (iVar2 != 2) {\n    (*(code *)PTR___fprintf_chk_000a797c)\n              (*(undefined4 *)PTR_stderr_000a7874,1,\n               PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x40,\n               *(undefined4 *)PTR_appname_000a7100,param_2);\n    uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n    return uVar7;\n  }\n  iVar11 = 0;\n  iVar2 = (*(code *)PTR_safemalloc_000a70d0)(local_28,1);\n  if (0 < local_28) {\n    do {\n      iVar4 = (*(code *)PTR_read_000a7924)(local_2c,iVar2 + iVar11,local_28 - iVar11);\n      if (iVar4 < 1) {\n        if (iVar4 != 0) goto LAB_0006155c;\n        if (iVar11 < local_28) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }\n        break;\n      }\n      iVar11 = iVar11 + iVar4;\n    } while (iVar11 < local_28);\n  }\n  iVar11 = (*(code *)PTR_conf_deserialise_000a70f8)(param_1,iVar2);\n  puVar1 = PTR_pty_argv_000a70e4;\n  if ((*(int *)PTR_use_pty_argv_000a70dc != 0) && (iVar11 < local_28)) {\n    iVar4 = iVar11;\n    iVar12 = 0;\n    do {\n      while (iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0') {\n        iVar4 = iVar3;\n        iVar12 = iVar8;\n        if (local_28 <= iVar3) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10);\n          uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n          return uVar7;\n        }\n      }\n      iVar4 = iVar4 + 1;\n      iVar12 = iVar8 + 1;\n    } while (iVar4 < local_28);\n    iVar4 = (*(code *)PTR_safemalloc_000a70d0)(iVar8 + 2,4);\n    *(int *)puVar1 = iVar4;\n    *(undefined4 *)(iVar4 + (iVar8 + 1) * 4) = 0;\n    if (iVar11 < local_28) {\n      iVar4 = 0;\n      do {\n        pcVar5 = (char *)(iVar2 + iVar11);\n        pcVar6 = pcVar5;\n        while (*pcVar6 != '\0') {\n          iVar11 = iVar11 + 1;\n          pcVar6 = (char *)(iVar2 + iVar11);\n          if (local_28 <= iVar11) goto LAB_000614f4;\n        }\n        if (local_28 <= iVar11) {\nLAB_000614f4:\n          uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return uVar7;\n        }\n        iVar11 = iVar11 + 1;\n        iVar12 = *(int *)puVar1;\n        uVar7 = (*(code *)PTR_dupstr_000a70fc)(pcVar5);\n        *(undefined4 *)(iVar12 + iVar4) = uVar7;\n        iVar4 = iVar4 + 4;\n      } while (iVar11 < local_28);\n    }\n  }\n  (*(code *)PTR_safefree_000a70d4)(iVar2);\n  if (local_24 == *(int *)puVar9) {\n    return 0;\n  }\n  (*(code *)PTR___stack_chk_fail_000a7b74)();\nLAB_0006155c:\n  (*(code *)PTR_perror_000a79dc)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1c);\n  uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n  return uVar7;\n}" (type_identifier "undefined4") (function_declarator "read_dupsession_data(undefined4 param_1,undefined4 param_2)" (identifier "read_dupsession_data") (parameter_list "(undefined4 param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  char *pcVar5;\n  char *pcVar6;\n  undefined4 uVar7;\n  int iVar8;\n  undefined *puVar9;\n  undefined4 uVar10;\n  int iVar11;\n  int iVar12;\n  undefined4 local_2c;\n  int local_28;\n  int local_24;\n  \n  puVar9 = PTR___stack_chk_guard_000a7ec8;\n  local_24 = *(int *)PTR___stack_chk_guard_000a7ec8;\n  iVar2 = (*(code *)PTR_sscanf_000a7f88)\n                    (param_2,PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x5c,&local_2c,\n                     &local_28);\n  if (iVar2 != 2) {\n    (*(code *)PTR___fprintf_chk_000a797c)\n              (*(undefined4 *)PTR_stderr_000a7874,1,\n               PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x40,\n               *(undefined4 *)PTR_appname_000a7100,param_2);\n    uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n    return uVar7;\n  }\n  iVar11 = 0;\n  iVar2 = (*(code *)PTR_safemalloc_000a70d0)(local_28,1);\n  if (0 < local_28) {\n    do {\n      iVar4 = (*(code *)PTR_read_000a7924)(local_2c,iVar2 + iVar11,local_28 - iVar11);\n      if (iVar4 < 1) {\n        if (iVar4 != 0) goto LAB_0006155c;\n        if (iVar11 < local_28) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }\n        break;\n      }\n      iVar11 = iVar11 + iVar4;\n    } while (iVar11 < local_28);\n  }\n  iVar11 = (*(code *)PTR_conf_deserialise_000a70f8)(param_1,iVar2);\n  puVar1 = PTR_pty_argv_000a70e4;\n  if ((*(int *)PTR_use_pty_argv_000a70dc != 0) && (iVar11 < local_28)) {\n    iVar4 = iVar11;\n    iVar12 = 0;\n    do {\n      while (iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0') {\n        iVar4 = iVar3;\n        iVar12 = iVar8;\n        if (local_28 <= iVar3) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10);\n          uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n          return uVar7;\n        }\n      }\n      iVar4 = iVar4 + 1;\n      iVar12 = iVar8 + 1;\n    } while (iVar4 < local_28);\n    iVar4 = (*(code *)PTR_safemalloc_000a70d0)(iVar8 + 2,4);\n    *(int *)puVar1 = iVar4;\n    *(undefined4 *)(iVar4 + (iVar8 + 1) * 4) = 0;\n    if (iVar11 < local_28) {\n      iVar4 = 0;\n      do {\n        pcVar5 = (char *)(iVar2 + iVar11);\n        pcVar6 = pcVar5;\n        while (*pcVar6 != '\0') {\n          iVar11 = iVar11 + 1;\n          pcVar6 = (char *)(iVar2 + iVar11);\n          if (local_28 <= iVar11) goto LAB_000614f4;\n        }\n        if (local_28 <= iVar11) {\nLAB_000614f4:\n          uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return uVar7;\n        }\n        iVar11 = iVar11 + 1;\n        iVar12 = *(int *)puVar1;\n        uVar7 = (*(code *)PTR_dupstr_000a70fc)(pcVar5);\n        *(undefined4 *)(iVar12 + iVar4) = uVar7;\n        iVar4 = iVar4 + 4;\n      } while (iVar11 < local_28);\n    }\n  }\n  (*(code *)PTR_safefree_000a70d4)(iVar2);\n  if (local_24 == *(int *)puVar9) {\n    return 0;\n  }\n  (*(code *)PTR___stack_chk_fail_000a7b74)();\nLAB_0006155c:\n  (*(code *)PTR_perror_000a79dc)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1c);\n  uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n  return uVar7;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "char *pcVar5;" (primitive_type "char") (pointer_declarator "*pcVar5" (* "*") (identifier "pcVar5")) (; ";")) (declaration "char *pcVar6;" (primitive_type "char") (pointer_declarator "*pcVar6" (* "*") (identifier "pcVar6")) (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "undefined *puVar9;" (type_identifier "undefined") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "undefined4 uVar10;" (type_identifier "undefined4") (identifier "uVar10") (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (declaration "undefined4 local_2c;" (type_identifier "undefined4") (identifier "local_2c") (; ";")) (declaration "int local_28;" (primitive_type "int") (identifier "local_28") (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (expression_statement "puVar9 = PTR___stack_chk_guard_000a7ec8;" (assignment_expression "puVar9 = PTR___stack_chk_guard_000a7ec8" (identifier "puVar9") (= "=") (identifier "PTR___stack_chk_guard_000a7ec8")) (; ";")) (expression_statement "local_24 = *(int *)PTR___stack_chk_guard_000a7ec8;" (assignment_expression "local_24 = *(int *)PTR___stack_chk_guard_000a7ec8" (identifier "local_24") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_000a7ec8" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_000a7ec8" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_000a7ec8")))) (; ";")) (expression_statement "iVar2 = (*(code *)PTR_sscanf_000a7f88)\n                    (param_2,PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x5c,&local_2c,\n                     &local_28);" (assignment_expression "iVar2 = (*(code *)PTR_sscanf_000a7f88)\n                    (param_2,PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x5c,&local_2c,\n                     &local_28)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_sscanf_000a7f88)\n                    (param_2,PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x5c,&local_2c,\n                     &local_28)" (parenthesized_expression "(*(code *)PTR_sscanf_000a7f88)" (( "(") (pointer_expression "*(code *)PTR_sscanf_000a7f88" (* "*") (cast_expression "(code *)PTR_sscanf_000a7f88" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sscanf_000a7f88"))) () ")")) (argument_list "(param_2,PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x5c,&local_2c,\n                     &local_28)" (( "(") (identifier "param_2") (, ",") (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x5c" (identifier "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8") (+ "+") (number_literal "-0x5c")) (, ",") (pointer_expression "&local_2c" (& "&") (identifier "local_2c")) (, ",") (pointer_expression "&local_28" (& "&") (identifier "local_28")) () ")")))) (; ";")) (if_statement "if (iVar2 != 2) {\n    (*(code *)PTR___fprintf_chk_000a797c)\n              (*(undefined4 *)PTR_stderr_000a7874,1,\n               PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x40,\n               *(undefined4 *)PTR_appname_000a7100,param_2);\n    uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n    return uVar7;\n  }" (if "if") (parenthesized_expression "(iVar2 != 2)" (( "(") (binary_expression "iVar2 != 2" (identifier "iVar2") (!= "!=") (number_literal "2")) () ")")) (compound_statement "{\n    (*(code *)PTR___fprintf_chk_000a797c)\n              (*(undefined4 *)PTR_stderr_000a7874,1,\n               PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x40,\n               *(undefined4 *)PTR_appname_000a7100,param_2);\n    uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n    return uVar7;\n  }" ({ "{") (expression_statement "(*(code *)PTR___fprintf_chk_000a797c)\n              (*(undefined4 *)PTR_stderr_000a7874,1,\n               PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x40,\n               *(undefined4 *)PTR_appname_000a7100,param_2);" (call_expression "(*(code *)PTR___fprintf_chk_000a797c)\n              (*(undefined4 *)PTR_stderr_000a7874,1,\n               PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x40,\n               *(undefined4 *)PTR_appname_000a7100,param_2)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000a797c)" (( "(") (pointer_expression "*(code *)PTR___fprintf_chk_000a797c" (* "*") (cast_expression "(code *)PTR___fprintf_chk_000a797c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___fprintf_chk_000a797c"))) () ")")) (argument_list "(*(undefined4 *)PTR_stderr_000a7874,1,\n               PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x40,\n               *(undefined4 *)PTR_appname_000a7100,param_2)" (( "(") (pointer_expression "*(undefined4 *)PTR_stderr_000a7874" (* "*") (cast_expression "(undefined4 *)PTR_stderr_000a7874" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stderr_000a7874"))) (, ",") (number_literal "1") (, ",") (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x40" (identifier "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8") (+ "+") (number_literal "-0x40")) (, ",") (pointer_expression "*(undefined4 *)PTR_appname_000a7100" (* "*") (cast_expression "(undefined4 *)PTR_appname_000a7100" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_appname_000a7100"))) (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "uVar7 = (*(code *)PTR_exit_000a7a50)(1);" (assignment_expression "uVar7 = (*(code *)PTR_exit_000a7a50)(1)" (identifier "uVar7") (= "=") (call_expression "(*(code *)PTR_exit_000a7a50)(1)" (parenthesized_expression "(*(code *)PTR_exit_000a7a50)" (( "(") (pointer_expression "*(code *)PTR_exit_000a7a50" (* "*") (cast_expression "(code *)PTR_exit_000a7a50" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_exit_000a7a50"))) () ")")) (argument_list "(1)" (( "(") (number_literal "1") () ")")))) (; ";")) (return_statement "return uVar7;" (return "return") (identifier "uVar7") (; ";")) (} "}"))) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" (identifier "iVar11") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar2 = (*(code *)PTR_safemalloc_000a70d0)(local_28,1);" (assignment_expression "iVar2 = (*(code *)PTR_safemalloc_000a70d0)(local_28,1)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_safemalloc_000a70d0)(local_28,1)" (parenthesized_expression "(*(code *)PTR_safemalloc_000a70d0)" (( "(") (pointer_expression "*(code *)PTR_safemalloc_000a70d0" (* "*") (cast_expression "(code *)PTR_safemalloc_000a70d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safemalloc_000a70d0"))) () ")")) (argument_list "(local_28,1)" (( "(") (identifier "local_28") (, ",") (number_literal "1") () ")")))) (; ";")) (if_statement "if (0 < local_28) {\n    do {\n      iVar4 = (*(code *)PTR_read_000a7924)(local_2c,iVar2 + iVar11,local_28 - iVar11);\n      if (iVar4 < 1) {\n        if (iVar4 != 0) goto LAB_0006155c;\n        if (iVar11 < local_28) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }\n        break;\n      }\n      iVar11 = iVar11 + iVar4;\n    } while (iVar11 < local_28);\n  }" (if "if") (parenthesized_expression "(0 < local_28)" (( "(") (binary_expression "0 < local_28" (number_literal "0") (< "<") (identifier "local_28")) () ")")) (compound_statement "{\n    do {\n      iVar4 = (*(code *)PTR_read_000a7924)(local_2c,iVar2 + iVar11,local_28 - iVar11);\n      if (iVar4 < 1) {\n        if (iVar4 != 0) goto LAB_0006155c;\n        if (iVar11 < local_28) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }\n        break;\n      }\n      iVar11 = iVar11 + iVar4;\n    } while (iVar11 < local_28);\n  }" ({ "{") (do_statement "do {\n      iVar4 = (*(code *)PTR_read_000a7924)(local_2c,iVar2 + iVar11,local_28 - iVar11);\n      if (iVar4 < 1) {\n        if (iVar4 != 0) goto LAB_0006155c;\n        if (iVar11 < local_28) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }\n        break;\n      }\n      iVar11 = iVar11 + iVar4;\n    } while (iVar11 < local_28);" (do "do") (compound_statement "{\n      iVar4 = (*(code *)PTR_read_000a7924)(local_2c,iVar2 + iVar11,local_28 - iVar11);\n      if (iVar4 < 1) {\n        if (iVar4 != 0) goto LAB_0006155c;\n        if (iVar11 < local_28) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }\n        break;\n      }\n      iVar11 = iVar11 + iVar4;\n    }" ({ "{") (expression_statement "iVar4 = (*(code *)PTR_read_000a7924)(local_2c,iVar2 + iVar11,local_28 - iVar11);" (assignment_expression "iVar4 = (*(code *)PTR_read_000a7924)(local_2c,iVar2 + iVar11,local_28 - iVar11)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR_read_000a7924)(local_2c,iVar2 + iVar11,local_28 - iVar11)" (parenthesized_expression "(*(code *)PTR_read_000a7924)" (( "(") (pointer_expression "*(code *)PTR_read_000a7924" (* "*") (cast_expression "(code *)PTR_read_000a7924" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_read_000a7924"))) () ")")) (argument_list "(local_2c,iVar2 + iVar11,local_28 - iVar11)" (( "(") (identifier "local_2c") (, ",") (binary_expression "iVar2 + iVar11" (identifier "iVar2") (+ "+") (identifier "iVar11")) (, ",") (binary_expression "local_28 - iVar11" (identifier "local_28") (- "-") (identifier "iVar11")) () ")")))) (; ";")) (if_statement "if (iVar4 < 1) {\n        if (iVar4 != 0) goto LAB_0006155c;\n        if (iVar11 < local_28) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }\n        break;\n      }" (if "if") (parenthesized_expression "(iVar4 < 1)" (( "(") (binary_expression "iVar4 < 1" (identifier "iVar4") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n        if (iVar4 != 0) goto LAB_0006155c;\n        if (iVar11 < local_28) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }\n        break;\n      }" ({ "{") (if_statement "if (iVar4 != 0) goto LAB_0006155c;" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0006155c;" (goto "goto") (statement_identifier "LAB_0006155c") (; ";"))) (if_statement "if (iVar11 < local_28) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }" (if "if") (parenthesized_expression "(iVar11 < local_28)" (( "(") (binary_expression "iVar11 < local_28" (identifier "iVar11") (< "<") (identifier "local_28")) () ")")) (compound_statement "{\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\n          goto LAB_0006159c;\n        }" ({ "{") (expression_statement "uVar10 = *(undefined4 *)PTR_appname_000a7100;" (assignment_expression "uVar10 = *(undefined4 *)PTR_appname_000a7100" (identifier "uVar10") (= "=") (pointer_expression "*(undefined4 *)PTR_appname_000a7100" (* "*") (cast_expression "(undefined4 *)PTR_appname_000a7100" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_appname_000a7100")))) (; ";")) (expression_statement "puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;" (assignment_expression "puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc" (identifier "puVar9") (= "=") (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc" (identifier "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8") (+ "+") (number_literal "-0xc"))) (; ";")) (expression_statement "uVar7 = *(undefined4 *)PTR_stderr_000a7874;" (assignment_expression "uVar7 = *(undefined4 *)PTR_stderr_000a7874" (identifier "uVar7") (= "=") (pointer_expression "*(undefined4 *)PTR_stderr_000a7874" (* "*") (cast_expression "(undefined4 *)PTR_stderr_000a7874" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stderr_000a7874")))) (; ";")) (goto_statement "goto LAB_0006159c;" (goto "goto") (statement_identifier "LAB_0006159c") (; ";")) (} "}"))) (break_statement "break;" (break "break") (; ";")) (} "}"))) (expression_statement "iVar11 = iVar11 + iVar4;" (assignment_expression "iVar11 = iVar11 + iVar4" (identifier "iVar11") (= "=") (binary_expression "iVar11 + iVar4" (identifier "iVar11") (+ "+") (identifier "iVar4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar11 < local_28)" (( "(") (binary_expression "iVar11 < local_28" (identifier "iVar11") (< "<") (identifier "local_28")) () ")")) (; ";")) (} "}"))) (expression_statement "iVar11 = (*(code *)PTR_conf_deserialise_000a70f8)(param_1,iVar2);" (assignment_expression "iVar11 = (*(code *)PTR_conf_deserialise_000a70f8)(param_1,iVar2)" (identifier "iVar11") (= "=") (call_expression "(*(code *)PTR_conf_deserialise_000a70f8)(param_1,iVar2)" (parenthesized_expression "(*(code *)PTR_conf_deserialise_000a70f8)" (( "(") (pointer_expression "*(code *)PTR_conf_deserialise_000a70f8" (* "*") (cast_expression "(code *)PTR_conf_deserialise_000a70f8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_conf_deserialise_000a70f8"))) () ")")) (argument_list "(param_1,iVar2)" (( "(") (identifier "param_1") (, ",") (identifier "iVar2") () ")")))) (; ";")) (expression_statement "puVar1 = PTR_pty_argv_000a70e4;" (assignment_expression "puVar1 = PTR_pty_argv_000a70e4" (identifier "puVar1") (= "=") (identifier "PTR_pty_argv_000a70e4")) (; ";")) (if_statement "if ((*(int *)PTR_use_pty_argv_000a70dc != 0) && (iVar11 < local_28)) {\n    iVar4 = iVar11;\n    iVar12 = 0;\n    do {\n      while (iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0') {\n        iVar4 = iVar3;\n        iVar12 = iVar8;\n        if (local_28 <= iVar3) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10);\n          uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n          return uVar7;\n        }\n      }\n      iVar4 = iVar4 + 1;\n      iVar12 = iVar8 + 1;\n    } while (iVar4 < local_28);\n    iVar4 = (*(code *)PTR_safemalloc_000a70d0)(iVar8 + 2,4);\n    *(int *)puVar1 = iVar4;\n    *(undefined4 *)(iVar4 + (iVar8 + 1) * 4) = 0;\n    if (iVar11 < local_28) {\n      iVar4 = 0;\n      do {\n        pcVar5 = (char *)(iVar2 + iVar11);\n        pcVar6 = pcVar5;\n        while (*pcVar6 != '\0') {\n          iVar11 = iVar11 + 1;\n          pcVar6 = (char *)(iVar2 + iVar11);\n          if (local_28 <= iVar11) goto LAB_000614f4;\n        }\n        if (local_28 <= iVar11) {\nLAB_000614f4:\n          uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return uVar7;\n        }\n        iVar11 = iVar11 + 1;\n        iVar12 = *(int *)puVar1;\n        uVar7 = (*(code *)PTR_dupstr_000a70fc)(pcVar5);\n        *(undefined4 *)(iVar12 + iVar4) = uVar7;\n        iVar4 = iVar4 + 4;\n      } while (iVar11 < local_28);\n    }\n  }" (if "if") (parenthesized_expression "((*(int *)PTR_use_pty_argv_000a70dc != 0) && (iVar11 < local_28))" (( "(") (binary_expression "(*(int *)PTR_use_pty_argv_000a70dc != 0) && (iVar11 < local_28)" (parenthesized_expression "(*(int *)PTR_use_pty_argv_000a70dc != 0)" (( "(") (binary_expression "*(int *)PTR_use_pty_argv_000a70dc != 0" (pointer_expression "*(int *)PTR_use_pty_argv_000a70dc" (* "*") (cast_expression "(int *)PTR_use_pty_argv_000a70dc" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_use_pty_argv_000a70dc"))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar11 < local_28)" (( "(") (binary_expression "iVar11 < local_28" (identifier "iVar11") (< "<") (identifier "local_28")) () ")"))) () ")")) (compound_statement "{\n    iVar4 = iVar11;\n    iVar12 = 0;\n    do {\n      while (iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0') {\n        iVar4 = iVar3;\n        iVar12 = iVar8;\n        if (local_28 <= iVar3) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10);\n          uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n          return uVar7;\n        }\n      }\n      iVar4 = iVar4 + 1;\n      iVar12 = iVar8 + 1;\n    } while (iVar4 < local_28);\n    iVar4 = (*(code *)PTR_safemalloc_000a70d0)(iVar8 + 2,4);\n    *(int *)puVar1 = iVar4;\n    *(undefined4 *)(iVar4 + (iVar8 + 1) * 4) = 0;\n    if (iVar11 < local_28) {\n      iVar4 = 0;\n      do {\n        pcVar5 = (char *)(iVar2 + iVar11);\n        pcVar6 = pcVar5;\n        while (*pcVar6 != '\0') {\n          iVar11 = iVar11 + 1;\n          pcVar6 = (char *)(iVar2 + iVar11);\n          if (local_28 <= iVar11) goto LAB_000614f4;\n        }\n        if (local_28 <= iVar11) {\nLAB_000614f4:\n          uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return uVar7;\n        }\n        iVar11 = iVar11 + 1;\n        iVar12 = *(int *)puVar1;\n        uVar7 = (*(code *)PTR_dupstr_000a70fc)(pcVar5);\n        *(undefined4 *)(iVar12 + iVar4) = uVar7;\n        iVar4 = iVar4 + 4;\n      } while (iVar11 < local_28);\n    }\n  }" ({ "{") (expression_statement "iVar4 = iVar11;" (assignment_expression "iVar4 = iVar11" (identifier "iVar4") (= "=") (identifier "iVar11")) (; ";")) (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" (identifier "iVar12") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      while (iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0') {\n        iVar4 = iVar3;\n        iVar12 = iVar8;\n        if (local_28 <= iVar3) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10);\n          uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n          return uVar7;\n        }\n      }\n      iVar4 = iVar4 + 1;\n      iVar12 = iVar8 + 1;\n    } while (iVar4 < local_28);" (do "do") (compound_statement "{\n      while (iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0') {\n        iVar4 = iVar3;\n        iVar12 = iVar8;\n        if (local_28 <= iVar3) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10);\n          uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n          return uVar7;\n        }\n      }\n      iVar4 = iVar4 + 1;\n      iVar12 = iVar8 + 1;\n    }" ({ "{") (while_statement "while (iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0') {\n        iVar4 = iVar3;\n        iVar12 = iVar8;\n        if (local_28 <= iVar3) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10);\n          uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n          return uVar7;\n        }\n      }" (while "while") (parenthesized_expression "(iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0')" (( "(") (comma_expression "iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0'" (assignment_expression "iVar8 = iVar12" (identifier "iVar8") (= "=") (identifier "iVar12")) (, ",") (comma_expression "iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0'" (assignment_expression "iVar3 = iVar4 + 1" (identifier "iVar3") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (, ",") (binary_expression "*(char *)(iVar2 + iVar4) != '\0'" (pointer_expression "*(char *)(iVar2 + iVar4)" (* "*") (cast_expression "(char *)(iVar2 + iVar4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + iVar4)" (( "(") (binary_expression "iVar2 + iVar4" (identifier "iVar2") (+ "+") (identifier "iVar4")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))))) () ")")) (compound_statement "{\n        iVar4 = iVar3;\n        iVar12 = iVar8;\n        if (local_28 <= iVar3) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10);\n          uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n          return uVar7;\n        }\n      }" ({ "{") (expression_statement "iVar4 = iVar3;" (assignment_expression "iVar4 = iVar3" (identifier "iVar4") (= "=") (identifier "iVar3")) (; ";")) (expression_statement "iVar12 = iVar8;" (assignment_expression "iVar12 = iVar8" (identifier "iVar12") (= "=") (identifier "iVar8")) (; ";")) (if_statement "if (local_28 <= iVar3) {\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10);\n          uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n          return uVar7;\n        }" (if "if") (parenthesized_expression "(local_28 <= iVar3)" (( "(") (binary_expression "local_28 <= iVar3" (identifier "local_28") (<= "<=") (identifier "iVar3")) () ")")) (compound_statement "{\n          uVar10 = *(undefined4 *)PTR_appname_000a7100;\n          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;\n          uVar7 = *(undefined4 *)PTR_stderr_000a7874;\nLAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10);\n          uVar7 = (*(code *)PTR_exit_000a7a50)(1);\n          return uVar7;\n        }" ({ "{") (expression_statement "uVar10 = *(undefined4 *)PTR_appname_000a7100;" (assignment_expression "uVar10 = *(undefined4 *)PTR_appname_000a7100" (identifier "uVar10") (= "=") (pointer_expression "*(undefined4 *)PTR_appname_000a7100" (* "*") (cast_expression "(undefined4 *)PTR_appname_000a7100" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_appname_000a7100")))) (; ";")) (expression_statement "puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;" (assignment_expression "puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30" (identifier "puVar9") (= "=") (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30" (identifier "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8") (+ "+") (number_literal "0x30"))) (; ";")) (expression_statement "uVar7 = *(undefined4 *)PTR_stderr_000a7874;" (assignment_expression "uVar7 = *(undefined4 *)PTR_stderr_000a7874" (identifier "uVar7") (= "=") (pointer_expression "*(undefined4 *)PTR_stderr_000a7874" (* "*") (cast_expression "(undefined4 *)PTR_stderr_000a7874" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stderr_000a7874")))) (; ";")) (labeled_statement "LAB_0006159c:\n          (*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10);" (statement_identifier "LAB_0006159c") (: ":") (expression_statement "(*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10);" (call_expression "(*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000a797c)" (( "(") (pointer_expression "*(code *)PTR___fprintf_chk_000a797c" (* "*") (cast_expression "(code *)PTR___fprintf_chk_000a797c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___fprintf_chk_000a797c"))) () ")")) (argument_list "(uVar7,1,puVar9,uVar10)" (( "(") (identifier "uVar7") (, ",") (number_literal "1") (, ",") (identifier "puVar9") (, ",") (identifier "uVar10") () ")"))) (; ";"))) (expression_statement "uVar7 = (*(code *)PTR_exit_000a7a50)(1);" (assignment_expression "uVar7 = (*(code *)PTR_exit_000a7a50)(1)" (identifier "uVar7") (= "=") (call_expression "(*(code *)PTR_exit_000a7a50)(1)" (parenthesized_expression "(*(code *)PTR_exit_000a7a50)" (( "(") (pointer_expression "*(code *)PTR_exit_000a7a50" (* "*") (cast_expression "(code *)PTR_exit_000a7a50" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_exit_000a7a50"))) () ")")) (argument_list "(1)" (( "(") (number_literal "1") () ")")))) (; ";")) (return_statement "return uVar7;" (return "return") (identifier "uVar7") (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar12 = iVar8 + 1;" (assignment_expression "iVar12 = iVar8 + 1" (identifier "iVar12") (= "=") (binary_expression "iVar8 + 1" (identifier "iVar8") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar4 < local_28)" (( "(") (binary_expression "iVar4 < local_28" (identifier "iVar4") (< "<") (identifier "local_28")) () ")")) (; ";")) (expression_statement "iVar4 = (*(code *)PTR_safemalloc_000a70d0)(iVar8 + 2,4);" (assignment_expression "iVar4 = (*(code *)PTR_safemalloc_000a70d0)(iVar8 + 2,4)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR_safemalloc_000a70d0)(iVar8 + 2,4)" (parenthesized_expression "(*(code *)PTR_safemalloc_000a70d0)" (( "(") (pointer_expression "*(code *)PTR_safemalloc_000a70d0" (* "*") (cast_expression "(code *)PTR_safemalloc_000a70d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safemalloc_000a70d0"))) () ")")) (argument_list "(iVar8 + 2,4)" (( "(") (binary_expression "iVar8 + 2" (identifier "iVar8") (+ "+") (number_literal "2")) (, ",") (number_literal "4") () ")")))) (; ";")) (expression_statement "*(int *)puVar1 = iVar4;" (assignment_expression "*(int *)puVar1 = iVar4" (pointer_expression "*(int *)puVar1" (* "*") (cast_expression "(int *)puVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "*(undefined4 *)(iVar4 + (iVar8 + 1) * 4) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + (iVar8 + 1) * 4) = 0" (pointer_expression "*(undefined4 *)(iVar4 + (iVar8 + 1) * 4)" (* "*") (cast_expression "(undefined4 *)(iVar4 + (iVar8 + 1) * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + (iVar8 + 1) * 4)" (( "(") (binary_expression "iVar4 + (iVar8 + 1) * 4" (identifier "iVar4") (+ "+") (binary_expression "(iVar8 + 1) * 4" (parenthesized_expression "(iVar8 + 1)" (( "(") (binary_expression "iVar8 + 1" (identifier "iVar8") (+ "+") (number_literal "1")) () ")")) (* "*") (number_literal "4"))) () ")")))) (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar11 < local_28) {\n      iVar4 = 0;\n      do {\n        pcVar5 = (char *)(iVar2 + iVar11);\n        pcVar6 = pcVar5;\n        while (*pcVar6 != '\0') {\n          iVar11 = iVar11 + 1;\n          pcVar6 = (char *)(iVar2 + iVar11);\n          if (local_28 <= iVar11) goto LAB_000614f4;\n        }\n        if (local_28 <= iVar11) {\nLAB_000614f4:\n          uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return uVar7;\n        }\n        iVar11 = iVar11 + 1;\n        iVar12 = *(int *)puVar1;\n        uVar7 = (*(code *)PTR_dupstr_000a70fc)(pcVar5);\n        *(undefined4 *)(iVar12 + iVar4) = uVar7;\n        iVar4 = iVar4 + 4;\n      } while (iVar11 < local_28);\n    }" (if "if") (parenthesized_expression "(iVar11 < local_28)" (( "(") (binary_expression "iVar11 < local_28" (identifier "iVar11") (< "<") (identifier "local_28")) () ")")) (compound_statement "{\n      iVar4 = 0;\n      do {\n        pcVar5 = (char *)(iVar2 + iVar11);\n        pcVar6 = pcVar5;\n        while (*pcVar6 != '\0') {\n          iVar11 = iVar11 + 1;\n          pcVar6 = (char *)(iVar2 + iVar11);\n          if (local_28 <= iVar11) goto LAB_000614f4;\n        }\n        if (local_28 <= iVar11) {\nLAB_000614f4:\n          uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return uVar7;\n        }\n        iVar11 = iVar11 + 1;\n        iVar12 = *(int *)puVar1;\n        uVar7 = (*(code *)PTR_dupstr_000a70fc)(pcVar5);\n        *(undefined4 *)(iVar12 + iVar4) = uVar7;\n        iVar4 = iVar4 + 4;\n      } while (iVar11 < local_28);\n    }" ({ "{") (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        pcVar5 = (char *)(iVar2 + iVar11);\n        pcVar6 = pcVar5;\n        while (*pcVar6 != '\0') {\n          iVar11 = iVar11 + 1;\n          pcVar6 = (char *)(iVar2 + iVar11);\n          if (local_28 <= iVar11) goto LAB_000614f4;\n        }\n        if (local_28 <= iVar11) {\nLAB_000614f4:\n          uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return uVar7;\n        }\n        iVar11 = iVar11 + 1;\n        iVar12 = *(int *)puVar1;\n        uVar7 = (*(code *)PTR_dupstr_000a70fc)(pcVar5);\n        *(undefined4 *)(iVar12 + iVar4) = uVar7;\n        iVar4 = iVar4 + 4;\n      } while (iVar11 < local_28);" (do "do") (compound_statement "{\n        pcVar5 = (char *)(iVar2 + iVar11);\n        pcVar6 = pcVar5;\n        while (*pcVar6 != '\0') {\n          iVar11 = iVar11 + 1;\n          pcVar6 = (char *)(iVar2 + iVar11);\n          if (local_28 <= iVar11) goto LAB_000614f4;\n        }\n        if (local_28 <= iVar11) {\nLAB_000614f4:\n          uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return uVar7;\n        }\n        iVar11 = iVar11 + 1;\n        iVar12 = *(int *)puVar1;\n        uVar7 = (*(code *)PTR_dupstr_000a70fc)(pcVar5);\n        *(undefined4 *)(iVar12 + iVar4) = uVar7;\n        iVar4 = iVar4 + 4;\n      }" ({ "{") (expression_statement "pcVar5 = (char *)(iVar2 + iVar11);" (assignment_expression "pcVar5 = (char *)(iVar2 + iVar11)" (identifier "pcVar5") (= "=") (cast_expression "(char *)(iVar2 + iVar11)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + iVar11)" (( "(") (binary_expression "iVar2 + iVar11" (identifier "iVar2") (+ "+") (identifier "iVar11")) () ")")))) (; ";")) (expression_statement "pcVar6 = pcVar5;" (assignment_expression "pcVar6 = pcVar5" (identifier "pcVar6") (= "=") (identifier "pcVar5")) (; ";")) (while_statement "while (*pcVar6 != '\0') {\n          iVar11 = iVar11 + 1;\n          pcVar6 = (char *)(iVar2 + iVar11);\n          if (local_28 <= iVar11) goto LAB_000614f4;\n        }" (while "while") (parenthesized_expression "(*pcVar6 != '\0')" (( "(") (binary_expression "*pcVar6 != '\0'" (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          iVar11 = iVar11 + 1;\n          pcVar6 = (char *)(iVar2 + iVar11);\n          if (local_28 <= iVar11) goto LAB_000614f4;\n        }" ({ "{") (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" (identifier "iVar11") (= "=") (binary_expression "iVar11 + 1" (identifier "iVar11") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pcVar6 = (char *)(iVar2 + iVar11);" (assignment_expression "pcVar6 = (char *)(iVar2 + iVar11)" (identifier "pcVar6") (= "=") (cast_expression "(char *)(iVar2 + iVar11)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + iVar11)" (( "(") (binary_expression "iVar2 + iVar11" (identifier "iVar2") (+ "+") (identifier "iVar11")) () ")")))) (; ";")) (if_statement "if (local_28 <= iVar11) goto LAB_000614f4;" (if "if") (parenthesized_expression "(local_28 <= iVar11)" (( "(") (binary_expression "local_28 <= iVar11" (identifier "local_28") (<= "<=") (identifier "iVar11")) () ")")) (goto_statement "goto LAB_000614f4;" (goto "goto") (statement_identifier "LAB_000614f4") (; ";"))) (} "}"))) (if_statement "if (local_28 <= iVar11) {\nLAB_000614f4:\n          uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return uVar7;\n        }" (if "if") (parenthesized_expression "(local_28 <= iVar11)" (( "(") (binary_expression "local_28 <= iVar11" (identifier "local_28") (<= "<=") (identifier "iVar11")) () ")")) (compound_statement "{\nLAB_000614f4:\n          uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);\n          return uVar7;\n        }" ({ "{") (labeled_statement "LAB_000614f4:\n          uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);" (statement_identifier "LAB_000614f4") (: ":") (expression_statement "uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);" (assignment_expression "uVar7 = (*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694)" (identifier "uVar7") (= "=") (call_expression "(*(code *)PTR___assert_fail_000a7840)\n                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694)" (parenthesized_expression "(*(code *)PTR___assert_fail_000a7840)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_000a7840" (* "*") (cast_expression "(code *)PTR___assert_fail_000a7840" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_000a7840"))) () ")")) (argument_list "(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,\n                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694)" (( "(") (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24" (identifier "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8") (+ "+") (number_literal "0x24")) (, ",") (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8" (identifier "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8") (+ "+") (number_literal "-0xa8")) (, ",") (number_literal "0xfb") (, ",") (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694" (identifier "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8") (+ "+") (number_literal "0x694")) () ")")))) (; ";"))) (return_statement "return uVar7;" (return "return") (identifier "uVar7") (; ";")) (} "}"))) (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" (identifier "iVar11") (= "=") (binary_expression "iVar11 + 1" (identifier "iVar11") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar12 = *(int *)puVar1;" (assignment_expression "iVar12 = *(int *)puVar1" (identifier "iVar12") (= "=") (pointer_expression "*(int *)puVar1" (* "*") (cast_expression "(int *)puVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1")))) (; ";")) (expression_statement "uVar7 = (*(code *)PTR_dupstr_000a70fc)(pcVar5);" (assignment_expression "uVar7 = (*(code *)PTR_dupstr_000a70fc)(pcVar5)" (identifier "uVar7") (= "=") (call_expression "(*(code *)PTR_dupstr_000a70fc)(pcVar5)" (parenthesized_expression "(*(code *)PTR_dupstr_000a70fc)" (( "(") (pointer_expression "*(code *)PTR_dupstr_000a70fc" (* "*") (cast_expression "(code *)PTR_dupstr_000a70fc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dupstr_000a70fc"))) () ")")) (argument_list "(pcVar5)" (( "(") (identifier "pcVar5") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(iVar12 + iVar4) = uVar7;" (assignment_expression "*(undefined4 *)(iVar12 + iVar4) = uVar7" (pointer_expression "*(undefined4 *)(iVar12 + iVar4)" (* "*") (cast_expression "(undefined4 *)(iVar12 + iVar4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar12 + iVar4)" (( "(") (binary_expression "iVar12 + iVar4" (identifier "iVar12") (+ "+") (identifier "iVar4")) () ")")))) (= "=") (identifier "uVar7")) (; ";")) (expression_statement "iVar4 = iVar4 + 4;" (assignment_expression "iVar4 = iVar4 + 4" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 4" (identifier "iVar4") (+ "+") (number_literal "4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar11 < local_28)" (( "(") (binary_expression "iVar11 < local_28" (identifier "iVar11") (< "<") (identifier "local_28")) () ")")) (; ";")) (} "}"))) (} "}"))) (expression_statement "(*(code *)PTR_safefree_000a70d4)(iVar2);" (call_expression "(*(code *)PTR_safefree_000a70d4)(iVar2)" (parenthesized_expression "(*(code *)PTR_safefree_000a70d4)" (( "(") (pointer_expression "*(code *)PTR_safefree_000a70d4" (* "*") (cast_expression "(code *)PTR_safefree_000a70d4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safefree_000a70d4"))) () ")")) (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")"))) (; ";")) (if_statement "if (local_24 == *(int *)puVar9) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(local_24 == *(int *)puVar9)" (( "(") (binary_expression "local_24 == *(int *)puVar9" (identifier "local_24") (== "==") (pointer_expression "*(int *)puVar9" (* "*") (cast_expression "(int *)puVar9" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar9")))) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR___stack_chk_fail_000a7b74)();" (call_expression "(*(code *)PTR___stack_chk_fail_000a7b74)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000a7b74)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_000a7b74" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_000a7b74" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_000a7b74"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (labeled_statement "LAB_0006155c:\n  (*(code *)PTR_perror_000a79dc)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1c);" (statement_identifier "LAB_0006155c") (: ":") (expression_statement "(*(code *)PTR_perror_000a79dc)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1c);" (call_expression "(*(code *)PTR_perror_000a79dc)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1c)" (parenthesized_expression "(*(code *)PTR_perror_000a79dc)" (( "(") (pointer_expression "*(code *)PTR_perror_000a79dc" (* "*") (cast_expression "(code *)PTR_perror_000a79dc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_perror_000a79dc"))) () ")")) (argument_list "(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1c)" (( "(") (binary_expression "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1c" (identifier "PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8") (+ "+") (number_literal "-0x1c")) () ")"))) (; ";"))) (expression_statement "uVar7 = (*(code *)PTR_exit_000a7a50)(1);" (assignment_expression "uVar7 = (*(code *)PTR_exit_000a7a50)(1)" (identifier "uVar7") (= "=") (call_expression "(*(code *)PTR_exit_000a7a50)(1)" (parenthesized_expression "(*(code *)PTR_exit_000a7a50)" (( "(") (pointer_expression "*(code *)PTR_exit_000a7a50" (* "*") (cast_expression "(code *)PTR_exit_000a7a50" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_exit_000a7a50"))) () ")")) (argument_list "(1)" (( "(") (number_literal "1") () ")")))) (; ";")) (return_statement "return uVar7;" (return "return") (identifier "uVar7") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (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: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) 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: (identifier)))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) (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 (number_literal))))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (identifier)) (binary_expression left: (identifier) right: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) 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)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (goto_statement label: (statement_identifier)))) (break_statement))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (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: (identifier))))) right: (char_literal (escape_sequence)))))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (identifier) (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 (number_literal))))) (return_statement (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))))) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (while_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal))))))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (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 (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal))))) (return_statement (identifier)))))

undefined4 MASKED(undefined4 param_1,undefined4 param_2)

{
  undefined *puVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  char *pcVar5;
  char *pcVar6;
  undefined4 uVar7;
  int iVar8;
  undefined *puVar9;
  undefined4 uVar10;
  int iVar11;
  int iVar12;
  undefined4 local_2c;
  int local_28;
  int local_24;
  
  puVar9 = PTR___stack_chk_guard_000a7ec8;
  local_24 = *(int *)PTR___stack_chk_guard_000a7ec8;
  iVar2 = (*(code *)PTR_sscanf_000a7f88)
                    (param_2,PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x5c,&local_2c,
                     &local_28);
  if (iVar2 != 2) {
    (*(code *)PTR___fprintf_chk_000a797c)
              (*(undefined4 *)PTR_stderr_000a7874,1,
               PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x40,
               *(undefined4 *)PTR_appname_000a7100,param_2);
    uVar7 = (*(code *)PTR_exit_000a7a50)(1);
    return uVar7;
  }
  iVar11 = 0;
  iVar2 = (*(code *)PTR_safemalloc_000a70d0)(local_28,1);
  if (0 < local_28) {
    do {
      iVar4 = (*(code *)PTR_read_000a7924)(local_2c,iVar2 + iVar11,local_28 - iVar11);
      if (iVar4 < 1) {
        if (iVar4 != 0) goto LAB_0006155c;
        if (iVar11 < local_28) {
          uVar10 = *(undefined4 *)PTR_appname_000a7100;
          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xc;
          uVar7 = *(undefined4 *)PTR_stderr_000a7874;
          goto LAB_0006159c;
        }
        break;
      }
      iVar11 = iVar11 + iVar4;
    } while (iVar11 < local_28);
  }
  iVar11 = (*(code *)PTR_conf_deserialise_000a70f8)(param_1,iVar2);
  puVar1 = PTR_pty_argv_000a70e4;
  if ((*(int *)PTR_use_pty_argv_000a70dc != 0) && (iVar11 < local_28)) {
    iVar4 = iVar11;
    iVar12 = 0;
    do {
      while (iVar8 = iVar12, iVar3 = iVar4 + 1, *(char *)(iVar2 + iVar4) != '\0') {
        iVar4 = iVar3;
        iVar12 = iVar8;
        if (local_28 <= iVar3) {
          uVar10 = *(undefined4 *)PTR_appname_000a7100;
          puVar9 = PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x30;
          uVar7 = *(undefined4 *)PTR_stderr_000a7874;
LAB_0006159c:
          (*(code *)PTR___fprintf_chk_000a797c)(uVar7,1,puVar9,uVar10);
          uVar7 = (*(code *)PTR_exit_000a7a50)(1);
          return uVar7;
        }
      }
      iVar4 = iVar4 + 1;
      iVar12 = iVar8 + 1;
    } while (iVar4 < local_28);
    iVar4 = (*(code *)PTR_safemalloc_000a70d0)(iVar8 + 2,4);
    *(int *)puVar1 = iVar4;
    *(undefined4 *)(iVar4 + (iVar8 + 1) * 4) = 0;
    if (iVar11 < local_28) {
      iVar4 = 0;
      do {
        pcVar5 = (char *)(iVar2 + iVar11);
        pcVar6 = pcVar5;
        while (*pcVar6 != '\0') {
          iVar11 = iVar11 + 1;
          pcVar6 = (char *)(iVar2 + iVar11);
          if (local_28 <= iVar11) goto LAB_000614f4;
        }
        if (local_28 <= iVar11) {
LAB_000614f4:
          uVar7 = (*(code *)PTR___assert_fail_000a7840)
                            (PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x24,
                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0xa8,0xfb,
                             PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + 0x694);
          return uVar7;
        }
        iVar11 = iVar11 + 1;
        iVar12 = *(int *)puVar1;
        uVar7 = (*(code *)PTR_dupstr_000a70fc)(pcVar5);
        *(undefined4 *)(iVar12 + iVar4) = uVar7;
        iVar4 = iVar4 + 4;
      } while (iVar11 < local_28);
    }
  }
  (*(code *)PTR_safefree_000a70d4)(iVar2);
  if (local_24 == *(int *)puVar9) {
    return 0;
  }
  (*(code *)PTR___stack_chk_fail_000a7b74)();
LAB_0006155c:
  (*(code *)PTR_perror_000a79dc)(PTR_s_ed_EOF_in_Duplicate_Session_data_000a70d8 + -0x1c);
  uVar7 = (*(code *)PTR_exit_000a7a50)(1);
  return uVar7;
}

