
int renameatu(int fd1,char *src,int fd2,char *dst,uint flags)

{
  bool bVar1;
  size_t dst_len;
  uint fd;
  int iVar2;
  int *piVar3;
  int iVar4;
  uint uVar5;
  undefined4 *puVar6;
  undefined4 uVar7;
  undefined *puVar8;
  stat src_st;
  stat dst_st;
  
  fd = *(uint *)PTR___stack_chk_guard_000323c0;
  iVar2 = (*(code *)PTR_renameat2_00032310)();
  if (iVar2 < 0) {
    piVar3 = (int *)(*(code *)PTR___errno_location_00032318)();
    iVar4 = *piVar3;
    if (((iVar4 == 0x16) || (iVar4 == 0x59)) || (iVar4 == 0x7a)) {
      if (flags == 0) {
        bVar1 = false;
      }
      else {
        if ((flags & 0xfffffffe) != 0) {
          *piVar3 = 0x7a;
          iVar2 = -1;
          goto LAB_0001a258;
        }
        iVar2 = (*(code *)PTR___fxstatat64_00032390)(3,fd2,dst,&dst_st,0x100);
        if ((iVar2 == 0) || (*piVar3 == 0x4f)) {
          *piVar3 = 0x11;
          iVar2 = -1;
          goto LAB_0001a258;
        }
        bVar1 = true;
        if (*piVar3 != 2) {
          iVar2 = -1;
          goto LAB_0001a258;
        }
      }
      iVar2 = (*(code *)PTR_strlen_00032344)(src);
      if (iVar2 != 0) {
        iVar4 = (*(code *)PTR_strlen_00032344)(dst);
        if (iVar4 != 0) {
          if ((src[iVar2 + -1] == '/') || (dst[iVar4 + -1] == '/')) {
            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,fd1,src,&src_st,0x100);
            iVar2 = -1;
            if (iVar4 == 0) {
              if (bVar1) {
                if ((src_st.st_mode & 0xf000) != 0x4000) {
                  *piVar3 = 2;
                  iVar2 = -1;
                  goto LAB_0001a258;
                }
              }
              else {
                iVar2 = (*(code *)PTR___fxstatat64_00032390)(3,fd2,dst,&dst_st,0x100);
                if (iVar2 == 0) {
                  if ((dst_st.st_mode & 0xf000) != 0x4000) {
                    *piVar3 = 0x14;
                    iVar2 = -1;
                    goto LAB_0001a258;
                  }
                  if ((src_st.st_mode & 0xf000) != 0x4000) {
                    *piVar3 = 0x15;
                    iVar2 = -1;
                    goto LAB_0001a258;
                  }
                }
                else {
                  iVar2 = -1;
                  if (*piVar3 != 2) goto LAB_0001a258;
                  if ((src_st.st_mode & 0xf000) != 0x4000) {
                    iVar2 = -1;
                    goto LAB_0001a258;
                  }
                }
              }
              iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);
            }
          }
          else {
            iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);
          }
          goto LAB_0001a258;
        }
      }
      iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);
    }
  }
LAB_0001a258:
  if (fd != *(uint *)PTR___stack_chk_guard_000323c0) {
    puVar8 = PTR___stack_chk_fail_000323a0;
    (*(code *)PTR___stack_chk_fail_000323a0)();
    uVar5 = fd;
    if (fd < 3) {
      uVar5 = dup_safer(fd);
      puVar6 = (undefined4 *)(**(code **)(puVar8 + 0x17f98))();
      uVar7 = *puVar6;
      (**(code **)(puVar8 + 0x17f1c))(fd);
      *puVar6 = uVar7;
    }
    return uVar5;
  }
  return iVar2;
}



uint renameatu(undefined4 param_1,int param_2,undefined4 param_3,int param_4,uint param_5)

{
  bool bVar1;
  uint uVar2;
  int *piVar3;
  int iVar4;
  int iVar5;
  uint uVar6;
  undefined4 *puVar7;
  undefined4 uVar8;
  undefined *puVar9;
  undefined1 auStack_168 [24];
  uint local_150;
  undefined1 auStack_c8 [24];
  uint local_b0;
  uint local_24;
  
  local_24 = *(uint *)PTR___stack_chk_guard_000323c0;
  uVar2 = (*(code *)PTR_renameat2_00032310)();
  if ((int)uVar2 < 0) {
    piVar3 = (int *)(*(code *)PTR___errno_location_00032318)();
    iVar4 = *piVar3;
    if (((iVar4 == 0x16) || (iVar4 == 0x59)) || (iVar4 == 0x7a)) {
      if (param_5 == 0) {
        bVar1 = false;
      }
      else {
        if ((param_5 & 0xfffffffe) != 0) {
          *piVar3 = 0x7a;
          uVar2 = 0xffffffff;
          goto LAB_0001a258;
        }
        iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);
        if ((iVar4 == 0) || (*piVar3 == 0x4f)) {
          *piVar3 = 0x11;
          uVar2 = 0xffffffff;
          goto LAB_0001a258;
        }
        bVar1 = true;
        if (*piVar3 != 2) {
          uVar2 = 0xffffffff;
          goto LAB_0001a258;
        }
      }
      iVar4 = (*(code *)PTR_strlen_00032344)(param_2);
      if (iVar4 != 0) {
        iVar5 = (*(code *)PTR_strlen_00032344)(param_4);
        if (iVar5 != 0) {
          if ((*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/'))
          {
            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);
            uVar2 = 0xffffffff;
            if (iVar4 == 0) {
              if (bVar1) {
                if ((local_150 & 0xf000) != 0x4000) {
                  *piVar3 = 2;
                  uVar2 = 0xffffffff;
                  goto LAB_0001a258;
                }
              }
              else {
                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);
                if (iVar4 == 0) {
                  if ((local_b0 & 0xf000) != 0x4000) {
                    *piVar3 = 0x14;
                    uVar2 = 0xffffffff;
                    goto LAB_0001a258;
                  }
                  if ((local_150 & 0xf000) != 0x4000) {
                    *piVar3 = 0x15;
                    uVar2 = 0xffffffff;
                    goto LAB_0001a258;
                  }
                }
                else {
                  uVar2 = 0xffffffff;
                  if (*piVar3 != 2) goto LAB_0001a258;
                  if ((local_150 & 0xf000) != 0x4000) {
                    uVar2 = 0xffffffff;
                    goto LAB_0001a258;
                  }
                }
              }
              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);
            }
          }
          else {
            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);
          }
          goto LAB_0001a258;
        }
      }
      uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);
    }
  }
LAB_0001a258:
  if (local_24 != *(uint *)PTR___stack_chk_guard_000323c0) {
    uVar2 = local_24;
    puVar9 = PTR___stack_chk_fail_000323a0;
    (*(code *)PTR___stack_chk_fail_000323a0)();
    uVar6 = uVar2;
    if (uVar2 < 3) {
      uVar6 = dup_safer();
      puVar7 = (undefined4 *)(**(code **)(puVar9 + 0x17f98))();
      uVar8 = *puVar7;
      (**(code **)(puVar9 + 0x17f1c))(uVar2);
      *puVar7 = uVar8;
    }
    return uVar6;
  }
  return uVar2;
}


lui gp,0x2
addiu gp,gp,0xa0
addu gp,gp,t9
addiu sp,sp,-0x188
sw ra,0x184(sp)
sw s6,0x180(sp)
sw s5,0x17c(sp)
sw s4,0x178(sp)
sw s3,0x174(sp)
sw s2,0x170(sp)
sw s1,0x16c(sp)
sw s0,0x168(sp)
sw gp,0x18(sp)
or s5,a0,zero
or s3,a1,zero
or s4,a2,zero
or s2,a3,zero
lw s1,0x198(sp)
lw v0,-0x7d20(gp)
lw v0,0x0(v0)
sw v0,0x164(sp)
sw s1,0x10(sp)
lw t9,-0x7dd0(gp)
jalr t9
_nop
lw gp,0x18(sp)
bgez v0,0x0001a254
_or s0,v0,zero
lw t9,-0x7dc8(gp)
jalr t9
_nop
lw gp,0x18(sp)
or s6,v0,zero
lw v0,0x0(v0)
li v1,0x16
beq v0,v1,0x0001a0e4
_li v1,0x59
beq v0,v1,0x0001a0e4
_li v1,0x7a
bne v0,v1,0x0001a258
_or v0,s0,zero
beq s1,zero,0x0001a160
_li v0,-0x2
and s1,s1,v0
bne s1,zero,0x0001a140
_li v0,0x100
sw v0,0x10(sp)
addiu a3,sp,0xc0
or a2,s2,zero
or a1,s4,zero
li a0,0x3
lw t9,-0x7d50(gp)
jalr t9
_nop
lw gp,0x18(sp)
beq v0,zero,0x0001a150
_li v1,0x4f
lw v0,0x0(s6)
beq v0,v1,0x0001a150
_li v1,0x2
bne v0,v1,0x0001a35c
_li s1,0x1
b 0x0001a168
_or a0,s3,zero
li v0,0x7a
sw v0,0x0(s6)
b 0x0001a254
_li s0,-0x1
li v0,0x11
sw v0,0x0(s6)
b 0x0001a254
_li s0,-0x1
or s1,zero,zero
or a0,s3,zero
lw t9,-0x7d9c(gp)
jalr t9
_nop
lw gp,0x18(sp)
beq v0,zero,0x0001a230
_or s0,v0,zero
or a0,s2,zero
lw t9,-0x7d9c(gp)
jalr t9
_nop
lw gp,0x18(sp)
beq v0,zero,0x0001a230
_addiu v0,v0,-0x1
addu s0,s3,s0
lb a0,-0x1(s0)
li v1,0x2f
beq a0,v1,0x0001a1c0
_addu v0,s2,v0
lb v1,0x0(v0)
li v0,0x2f
bne v1,v0,0x0001a290
_or a3,s2,zero
li v0,0x100
sw v0,0x10(sp)
addiu a3,sp,0x20
or a2,s3,zero
or a1,s5,zero
li a0,0x3
lw t9,-0x7d50(gp)
jalr t9
_nop
lw gp,0x18(sp)
bne v0,zero,0x0001a254
_li s0,-0x1
beq s1,zero,0x0001a2c0
_lw v0,0x38(sp)
andi v0,v0,0xf000
li v1,0x4000
bne v0,v1,0x0001a2b4
_li v0,0x2
or a3,s2,zero
or a2,s4,zero
or a1,s3,zero
or a0,s5,zero
lw t9,-0x7e18(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x0001a254
_or s0,v0,zero
or a3,s2,zero
or a2,s4,zero
or a1,s3,zero
or a0,s5,zero
lw t9,-0x7e18(gp)
jalr t9
_nop
lw gp,0x18(sp)
or s0,v0,zero
or v0,s0,zero
lw a0,0x164(sp)
lw v1,-0x7d20(gp)
lw v1,0x0(v1)
bne a0,v1,0x0001a36c
_lw ra,0x184(sp)
lw s6,0x180(sp)
lw s5,0x17c(sp)
lw s4,0x178(sp)
lw s3,0x174(sp)
lw s2,0x170(sp)
lw s1,0x16c(sp)
lw s0,0x168(sp)
jr ra
_addiu sp,sp,0x188
or a2,s4,zero
or a1,s3,zero
or a0,s5,zero
lw t9,-0x7e18(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x0001a254
_or s0,v0,zero
sw v0,0x0(s6)
b 0x0001a254
_li s0,-0x1
li v0,0x100
sw v0,0x10(sp)
addiu a3,sp,0xc0
or a2,s2,zero
or a1,s4,zero
li a0,0x3
lw t9,-0x7d50(gp)
jalr t9
_nop
lw gp,0x18(sp)
beq v0,zero,0x0001a31c
_lw v0,0xd8(sp)
lw v1,0x0(s6)
li v0,0x2
bne v1,v0,0x0001a254
_li s0,-0x1
lw v0,0x38(sp)
andi v0,v0,0xf000
li v1,0x4000
beq v0,v1,0x0001a20c
_or a3,s2,zero
b 0x0001a258
_or v0,s0,zero
andi v0,v0,0xf000
li v1,0x4000
bne v0,v1,0x0001a34c
_lw v0,0x38(sp)
andi v0,v0,0xf000
li v1,0x4000
beq v0,v1,0x0001a20c
_or a3,s2,zero
li v0,0x15
sw v0,0x0(s6)
b 0x0001a254
_li s0,-0x1
li v0,0x14
sw v0,0x0(s6)
b 0x0001a254
_li s0,-0x1
b 0x0001a254
_li s0,-0x1
lw t9,-0x7d40(gp)
jalr t9
_nop
nop
nop
(translation_unit "uint renameatu(undefined4 param_1,int param_2,undefined4 param_3,int param_4,uint param_5)\n\n{\n  bool bVar1;\n  uint uVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  undefined4 *puVar7;\n  undefined4 uVar8;\n  undefined *puVar9;\n  undefined1 auStack_168 [24];\n  uint local_150;\n  undefined1 auStack_c8 [24];\n  uint local_b0;\n  uint local_24;\n  \n  local_24 = *(uint *)PTR___stack_chk_guard_000323c0;\n  uVar2 = (*(code *)PTR_renameat2_00032310)();\n  if ((int)uVar2 < 0) {\n    piVar3 = (int *)(*(code *)PTR___errno_location_00032318)();\n    iVar4 = *piVar3;\n    if (((iVar4 == 0x16) || (iVar4 == 0x59)) || (iVar4 == 0x7a)) {\n      if (param_5 == 0) {\n        bVar1 = false;\n      }\n      else {\n        if ((param_5 & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n        if ((iVar4 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        bVar1 = true;\n        if (*piVar3 != 2) {\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n      }\n      iVar4 = (*(code *)PTR_strlen_00032344)(param_2);\n      if (iVar4 != 0) {\n        iVar5 = (*(code *)PTR_strlen_00032344)(param_4);\n        if (iVar5 != 0) {\n          if ((*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/'))\n          {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);\n            uVar2 = 0xffffffff;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }\n          }\n          else {\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }\n          goto LAB_0001a258;\n        }\n      }\n      uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n    }\n  }\nLAB_0001a258:\n  if (local_24 != *(uint *)PTR___stack_chk_guard_000323c0) {\n    uVar2 = local_24;\n    puVar9 = PTR___stack_chk_fail_000323a0;\n    (*(code *)PTR___stack_chk_fail_000323a0)();\n    uVar6 = uVar2;\n    if (uVar2 < 3) {\n      uVar6 = dup_safer();\n      puVar7 = (undefined4 *)(**(code **)(puVar9 + 0x17f98))();\n      uVar8 = *puVar7;\n      (**(code **)(puVar9 + 0x17f1c))(uVar2);\n      *puVar7 = uVar8;\n    }\n    return uVar6;\n  }\n  return uVar2;\n}\n\n" (function_definition "uint renameatu(undefined4 param_1,int param_2,undefined4 param_3,int param_4,uint param_5)\n\n{\n  bool bVar1;\n  uint uVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  undefined4 *puVar7;\n  undefined4 uVar8;\n  undefined *puVar9;\n  undefined1 auStack_168 [24];\n  uint local_150;\n  undefined1 auStack_c8 [24];\n  uint local_b0;\n  uint local_24;\n  \n  local_24 = *(uint *)PTR___stack_chk_guard_000323c0;\n  uVar2 = (*(code *)PTR_renameat2_00032310)();\n  if ((int)uVar2 < 0) {\n    piVar3 = (int *)(*(code *)PTR___errno_location_00032318)();\n    iVar4 = *piVar3;\n    if (((iVar4 == 0x16) || (iVar4 == 0x59)) || (iVar4 == 0x7a)) {\n      if (param_5 == 0) {\n        bVar1 = false;\n      }\n      else {\n        if ((param_5 & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n        if ((iVar4 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        bVar1 = true;\n        if (*piVar3 != 2) {\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n      }\n      iVar4 = (*(code *)PTR_strlen_00032344)(param_2);\n      if (iVar4 != 0) {\n        iVar5 = (*(code *)PTR_strlen_00032344)(param_4);\n        if (iVar5 != 0) {\n          if ((*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/'))\n          {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);\n            uVar2 = 0xffffffff;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }\n          }\n          else {\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }\n          goto LAB_0001a258;\n        }\n      }\n      uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n    }\n  }\nLAB_0001a258:\n  if (local_24 != *(uint *)PTR___stack_chk_guard_000323c0) {\n    uVar2 = local_24;\n    puVar9 = PTR___stack_chk_fail_000323a0;\n    (*(code *)PTR___stack_chk_fail_000323a0)();\n    uVar6 = uVar2;\n    if (uVar2 < 3) {\n      uVar6 = dup_safer();\n      puVar7 = (undefined4 *)(**(code **)(puVar9 + 0x17f98))();\n      uVar8 = *puVar7;\n      (**(code **)(puVar9 + 0x17f1c))(uVar2);\n      *puVar7 = uVar8;\n    }\n    return uVar6;\n  }\n  return uVar2;\n}" type_identifier (function_declarator "renameatu(undefined4 param_1,int param_2,undefined4 param_3,int param_4,uint param_5)" identifier (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3,int param_4,uint param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "uint param_5" type_identifier identifier) ))) (compound_statement "{\n  bool bVar1;\n  uint uVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  undefined4 *puVar7;\n  undefined4 uVar8;\n  undefined *puVar9;\n  undefined1 auStack_168 [24];\n  uint local_150;\n  undefined1 auStack_c8 [24];\n  uint local_b0;\n  uint local_24;\n  \n  local_24 = *(uint *)PTR___stack_chk_guard_000323c0;\n  uVar2 = (*(code *)PTR_renameat2_00032310)();\n  if ((int)uVar2 < 0) {\n    piVar3 = (int *)(*(code *)PTR___errno_location_00032318)();\n    iVar4 = *piVar3;\n    if (((iVar4 == 0x16) || (iVar4 == 0x59)) || (iVar4 == 0x7a)) {\n      if (param_5 == 0) {\n        bVar1 = false;\n      }\n      else {\n        if ((param_5 & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n        if ((iVar4 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        bVar1 = true;\n        if (*piVar3 != 2) {\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n      }\n      iVar4 = (*(code *)PTR_strlen_00032344)(param_2);\n      if (iVar4 != 0) {\n        iVar5 = (*(code *)PTR_strlen_00032344)(param_4);\n        if (iVar5 != 0) {\n          if ((*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/'))\n          {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);\n            uVar2 = 0xffffffff;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }\n          }\n          else {\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }\n          goto LAB_0001a258;\n        }\n      }\n      uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n    }\n  }\nLAB_0001a258:\n  if (local_24 != *(uint *)PTR___stack_chk_guard_000323c0) {\n    uVar2 = local_24;\n    puVar9 = PTR___stack_chk_fail_000323a0;\n    (*(code *)PTR___stack_chk_fail_000323a0)();\n    uVar6 = uVar2;\n    if (uVar2 < 3) {\n      uVar6 = dup_safer();\n      puVar7 = (undefined4 *)(**(code **)(puVar9 + 0x17f98))();\n      uVar8 = *puVar7;\n      (**(code **)(puVar9 + 0x17f1c))(uVar2);\n      *puVar7 = uVar8;\n    }\n    return uVar6;\n  }\n  return uVar2;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "undefined *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "undefined1 auStack_168 [24];" type_identifier (array_declarator "auStack_168 [24]" identifier [ number_literal ]) ;) (declaration "uint local_150;" type_identifier identifier ;) (declaration "undefined1 auStack_c8 [24];" type_identifier (array_declarator "auStack_c8 [24]" identifier [ number_literal ]) ;) (declaration "uint local_b0;" type_identifier identifier ;) (declaration "uint local_24;" type_identifier identifier ;) (expression_statement "local_24 = *(uint *)PTR___stack_chk_guard_000323c0;" (assignment_expression "local_24 = *(uint *)PTR___stack_chk_guard_000323c0" identifier = (pointer_expression "*(uint *)PTR___stack_chk_guard_000323c0" * (cast_expression "(uint *)PTR___stack_chk_guard_000323c0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar2 = (*(code *)PTR_renameat2_00032310)();" (assignment_expression "uVar2 = (*(code *)PTR_renameat2_00032310)()" identifier = (call_expression "(*(code *)PTR_renameat2_00032310)()" (parenthesized_expression "(*(code *)PTR_renameat2_00032310)" ( (pointer_expression "*(code *)PTR_renameat2_00032310" * (cast_expression "(code *)PTR_renameat2_00032310" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if ((int)uVar2 < 0) {\n    piVar3 = (int *)(*(code *)PTR___errno_location_00032318)();\n    iVar4 = *piVar3;\n    if (((iVar4 == 0x16) || (iVar4 == 0x59)) || (iVar4 == 0x7a)) {\n      if (param_5 == 0) {\n        bVar1 = false;\n      }\n      else {\n        if ((param_5 & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n        if ((iVar4 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        bVar1 = true;\n        if (*piVar3 != 2) {\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n      }\n      iVar4 = (*(code *)PTR_strlen_00032344)(param_2);\n      if (iVar4 != 0) {\n        iVar5 = (*(code *)PTR_strlen_00032344)(param_4);\n        if (iVar5 != 0) {\n          if ((*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/'))\n          {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);\n            uVar2 = 0xffffffff;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }\n          }\n          else {\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }\n          goto LAB_0001a258;\n        }\n      }\n      uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n    }\n  }" if (parenthesized_expression "((int)uVar2 < 0)" ( (binary_expression "(int)uVar2 < 0" (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    piVar3 = (int *)(*(code *)PTR___errno_location_00032318)();\n    iVar4 = *piVar3;\n    if (((iVar4 == 0x16) || (iVar4 == 0x59)) || (iVar4 == 0x7a)) {\n      if (param_5 == 0) {\n        bVar1 = false;\n      }\n      else {\n        if ((param_5 & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n        if ((iVar4 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        bVar1 = true;\n        if (*piVar3 != 2) {\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n      }\n      iVar4 = (*(code *)PTR_strlen_00032344)(param_2);\n      if (iVar4 != 0) {\n        iVar5 = (*(code *)PTR_strlen_00032344)(param_4);\n        if (iVar5 != 0) {\n          if ((*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/'))\n          {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);\n            uVar2 = 0xffffffff;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }\n          }\n          else {\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }\n          goto LAB_0001a258;\n        }\n      }\n      uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n    }\n  }" { (expression_statement "piVar3 = (int *)(*(code *)PTR___errno_location_00032318)();" (assignment_expression "piVar3 = (int *)(*(code *)PTR___errno_location_00032318)()" identifier = (cast_expression "(int *)(*(code *)PTR___errno_location_00032318)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_00032318)()" (parenthesized_expression "(*(code *)PTR___errno_location_00032318)" ( (pointer_expression "*(code *)PTR___errno_location_00032318" * (cast_expression "(code *)PTR___errno_location_00032318" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "iVar4 = *piVar3;" (assignment_expression "iVar4 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (if_statement "if (((iVar4 == 0x16) || (iVar4 == 0x59)) || (iVar4 == 0x7a)) {\n      if (param_5 == 0) {\n        bVar1 = false;\n      }\n      else {\n        if ((param_5 & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n        if ((iVar4 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        bVar1 = true;\n        if (*piVar3 != 2) {\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n      }\n      iVar4 = (*(code *)PTR_strlen_00032344)(param_2);\n      if (iVar4 != 0) {\n        iVar5 = (*(code *)PTR_strlen_00032344)(param_4);\n        if (iVar5 != 0) {\n          if ((*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/'))\n          {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);\n            uVar2 = 0xffffffff;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }\n          }\n          else {\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }\n          goto LAB_0001a258;\n        }\n      }\n      uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n    }" if (parenthesized_expression "(((iVar4 == 0x16) || (iVar4 == 0x59)) || (iVar4 == 0x7a))" ( (binary_expression "((iVar4 == 0x16) || (iVar4 == 0x59)) || (iVar4 == 0x7a)" (parenthesized_expression "((iVar4 == 0x16) || (iVar4 == 0x59))" ( (binary_expression "(iVar4 == 0x16) || (iVar4 == 0x59)" (parenthesized_expression "(iVar4 == 0x16)" ( (binary_expression "iVar4 == 0x16" identifier == number_literal) )) || (parenthesized_expression "(iVar4 == 0x59)" ( (binary_expression "iVar4 == 0x59" identifier == number_literal) ))) )) || (parenthesized_expression "(iVar4 == 0x7a)" ( (binary_expression "iVar4 == 0x7a" identifier == number_literal) ))) )) (compound_statement "{\n      if (param_5 == 0) {\n        bVar1 = false;\n      }\n      else {\n        if ((param_5 & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n        if ((iVar4 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        bVar1 = true;\n        if (*piVar3 != 2) {\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n      }\n      iVar4 = (*(code *)PTR_strlen_00032344)(param_2);\n      if (iVar4 != 0) {\n        iVar5 = (*(code *)PTR_strlen_00032344)(param_4);\n        if (iVar5 != 0) {\n          if ((*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/'))\n          {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);\n            uVar2 = 0xffffffff;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }\n          }\n          else {\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }\n          goto LAB_0001a258;\n        }\n      }\n      uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n    }" { (if_statement "if (param_5 == 0) {\n        bVar1 = false;\n      }\n      else {\n        if ((param_5 & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n        if ((iVar4 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        bVar1 = true;\n        if (*piVar3 != 2) {\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n      }" if (parenthesized_expression "(param_5 == 0)" ( (binary_expression "param_5 == 0" identifier == number_literal) )) (compound_statement "{\n        bVar1 = false;\n      }" { (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) }) (else_clause "else {\n        if ((param_5 & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n        if ((iVar4 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        bVar1 = true;\n        if (*piVar3 != 2) {\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n      }" else (compound_statement "{\n        if ((param_5 & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n        if ((iVar4 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        bVar1 = true;\n        if (*piVar3 != 2) {\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n      }" { (if_statement "if ((param_5 & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }" if (parenthesized_expression "((param_5 & 0xfffffffe) != 0)" ( (binary_expression "(param_5 & 0xfffffffe) != 0" (parenthesized_expression "(param_5 & 0xfffffffe)" ( (binary_expression "param_5 & 0xfffffffe" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n          *piVar3 = 0x7a;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }" { (expression_statement "*piVar3 = 0x7a;" (assignment_expression "*piVar3 = 0x7a" (pointer_expression "*piVar3" * identifier) = number_literal) ;) (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" identifier = number_literal) ;) (goto_statement "goto LAB_0001a258;" goto statement_identifier ;) })) (expression_statement "iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);" (assignment_expression "iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100)" identifier = (call_expression "(*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100)" (parenthesized_expression "(*(code *)PTR___fxstatat64_00032390)" ( (pointer_expression "*(code *)PTR___fxstatat64_00032390" * (cast_expression "(code *)PTR___fxstatat64_00032390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,param_3,param_4,auStack_c8,0x100)" ( number_literal , identifier , identifier , identifier , number_literal )))) ;) (if_statement "if ((iVar4 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }" if (parenthesized_expression "((iVar4 == 0) || (*piVar3 == 0x4f))" ( (binary_expression "(iVar4 == 0) || (*piVar3 == 0x4f)" (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) || (parenthesized_expression "(*piVar3 == 0x4f)" ( (binary_expression "*piVar3 == 0x4f" (pointer_expression "*piVar3" * identifier) == number_literal) ))) )) (compound_statement "{\n          *piVar3 = 0x11;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }" { (expression_statement "*piVar3 = 0x11;" (assignment_expression "*piVar3 = 0x11" (pointer_expression "*piVar3" * identifier) = number_literal) ;) (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" identifier = number_literal) ;) (goto_statement "goto LAB_0001a258;" goto statement_identifier ;) })) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) (if_statement "if (*piVar3 != 2) {\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }" if (parenthesized_expression "(*piVar3 != 2)" ( (binary_expression "*piVar3 != 2" (pointer_expression "*piVar3" * identifier) != number_literal) )) (compound_statement "{\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }" { (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" identifier = number_literal) ;) (goto_statement "goto LAB_0001a258;" goto statement_identifier ;) })) }))) (expression_statement "iVar4 = (*(code *)PTR_strlen_00032344)(param_2);" (assignment_expression "iVar4 = (*(code *)PTR_strlen_00032344)(param_2)" identifier = (call_expression "(*(code *)PTR_strlen_00032344)(param_2)" (parenthesized_expression "(*(code *)PTR_strlen_00032344)" ( (pointer_expression "*(code *)PTR_strlen_00032344" * (cast_expression "(code *)PTR_strlen_00032344" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (iVar4 != 0) {\n        iVar5 = (*(code *)PTR_strlen_00032344)(param_4);\n        if (iVar5 != 0) {\n          if ((*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/'))\n          {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);\n            uVar2 = 0xffffffff;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }\n          }\n          else {\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }\n          goto LAB_0001a258;\n        }\n      }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar5 = (*(code *)PTR_strlen_00032344)(param_4);\n        if (iVar5 != 0) {\n          if ((*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/'))\n          {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);\n            uVar2 = 0xffffffff;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }\n          }\n          else {\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }\n          goto LAB_0001a258;\n        }\n      }" { (expression_statement "iVar5 = (*(code *)PTR_strlen_00032344)(param_4);" (assignment_expression "iVar5 = (*(code *)PTR_strlen_00032344)(param_4)" identifier = (call_expression "(*(code *)PTR_strlen_00032344)(param_4)" (parenthesized_expression "(*(code *)PTR_strlen_00032344)" ( (pointer_expression "*(code *)PTR_strlen_00032344" * (cast_expression "(code *)PTR_strlen_00032344" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_4)" ( identifier )))) ;) (if_statement "if (iVar5 != 0) {\n          if ((*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/'))\n          {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);\n            uVar2 = 0xffffffff;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }\n          }\n          else {\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }\n          goto LAB_0001a258;\n        }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n          if ((*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/'))\n          {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);\n            uVar2 = 0xffffffff;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }\n          }\n          else {\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }\n          goto LAB_0001a258;\n        }" { (if_statement "if ((*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/'))\n          {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);\n            uVar2 = 0xffffffff;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }\n          }\n          else {\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }" if (parenthesized_expression "((*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/'))" ( (binary_expression "(*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/')" (parenthesized_expression "(*(char *)(param_2 + iVar4 + -1) == '/')" ( (binary_expression "*(char *)(param_2 + iVar4 + -1) == '/'" (pointer_expression "*(char *)(param_2 + iVar4 + -1)" * (cast_expression "(char *)(param_2 + iVar4 + -1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar4 + -1)" ( (binary_expression "param_2 + iVar4 + -1" (binary_expression "param_2 + iVar4" identifier + identifier) + number_literal) )))) == (char_literal "'/'" ' character ')) )) || (parenthesized_expression "(*(char *)(param_4 + iVar5 + -1) == '/')" ( (binary_expression "*(char *)(param_4 + iVar5 + -1) == '/'" (pointer_expression "*(char *)(param_4 + iVar5 + -1)" * (cast_expression "(char *)(param_4 + iVar5 + -1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + iVar5 + -1)" ( (binary_expression "param_4 + iVar5 + -1" (binary_expression "param_4 + iVar5" identifier + identifier) + number_literal) )))) == (char_literal "'/'" ' character ')) ))) )) (compound_statement "{\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);\n            uVar2 = 0xffffffff;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }\n          }" { (expression_statement "iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);" (assignment_expression "iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100)" identifier = (call_expression "(*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100)" (parenthesized_expression "(*(code *)PTR___fxstatat64_00032390)" ( (pointer_expression "*(code *)PTR___fxstatat64_00032390" * (cast_expression "(code *)PTR___fxstatat64_00032390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,param_1,param_2,auStack_168,0x100)" ( number_literal , identifier , identifier , identifier , number_literal )))) ;) (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" identifier = number_literal) ;) (if_statement "if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }" { (if_statement "if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }" { (if_statement "if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }" if (parenthesized_expression "((local_150 & 0xf000) != 0x4000)" ( (binary_expression "(local_150 & 0xf000) != 0x4000" (parenthesized_expression "(local_150 & 0xf000)" ( (binary_expression "local_150 & 0xf000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }" { (expression_statement "*piVar3 = 2;" (assignment_expression "*piVar3 = 2" (pointer_expression "*piVar3" * identifier) = number_literal) ;) (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" identifier = number_literal) ;) (goto_statement "goto LAB_0001a258;" goto statement_identifier ;) })) }) (else_clause "else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }" else (compound_statement "{\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }" { (expression_statement "iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);" (assignment_expression "iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100)" identifier = (call_expression "(*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100)" (parenthesized_expression "(*(code *)PTR___fxstatat64_00032390)" ( (pointer_expression "*(code *)PTR___fxstatat64_00032390" * (cast_expression "(code *)PTR___fxstatat64_00032390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,param_3,param_4,auStack_c8,0x100)" ( number_literal , identifier , identifier , identifier , number_literal )))) ;) (if_statement "if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }" { (if_statement "if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }" if (parenthesized_expression "((local_b0 & 0xf000) != 0x4000)" ( (binary_expression "(local_b0 & 0xf000) != 0x4000" (parenthesized_expression "(local_b0 & 0xf000)" ( (binary_expression "local_b0 & 0xf000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }" { (expression_statement "*piVar3 = 0x14;" (assignment_expression "*piVar3 = 0x14" (pointer_expression "*piVar3" * identifier) = number_literal) ;) (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" identifier = number_literal) ;) (goto_statement "goto LAB_0001a258;" goto statement_identifier ;) })) (if_statement "if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }" if (parenthesized_expression "((local_150 & 0xf000) != 0x4000)" ( (binary_expression "(local_150 & 0xf000) != 0x4000" (parenthesized_expression "(local_150 & 0xf000)" ( (binary_expression "local_150 & 0xf000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }" { (expression_statement "*piVar3 = 0x15;" (assignment_expression "*piVar3 = 0x15" (pointer_expression "*piVar3" * identifier) = number_literal) ;) (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" identifier = number_literal) ;) (goto_statement "goto LAB_0001a258;" goto statement_identifier ;) })) }) (else_clause "else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }" else (compound_statement "{\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }" { (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" identifier = number_literal) ;) (if_statement "if (*piVar3 != 2) goto LAB_0001a258;" if (parenthesized_expression "(*piVar3 != 2)" ( (binary_expression "*piVar3 != 2" (pointer_expression "*piVar3" * identifier) != number_literal) )) (goto_statement "goto LAB_0001a258;" goto statement_identifier ;)) (if_statement "if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }" if (parenthesized_expression "((local_150 & 0xf000) != 0x4000)" ( (binary_expression "(local_150 & 0xf000) != 0x4000" (parenthesized_expression "(local_150 & 0xf000)" ( (binary_expression "local_150 & 0xf000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }" { (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" identifier = number_literal) ;) (goto_statement "goto LAB_0001a258;" goto statement_identifier ;) })) }))) }))) (expression_statement "uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);" (assignment_expression "uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4)" identifier = (call_expression "(*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4)" (parenthesized_expression "(*(code *)PTR_renameat_000322c8)" ( (pointer_expression "*(code *)PTR_renameat_000322c8" * (cast_expression "(code *)PTR_renameat_000322c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2,param_3,param_4)" ( identifier , identifier , identifier , identifier )))) ;) })) }) (else_clause "else {\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }" else (compound_statement "{\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }" { (expression_statement "uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);" (assignment_expression "uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4)" identifier = (call_expression "(*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4)" (parenthesized_expression "(*(code *)PTR_renameat_000322c8)" ( (pointer_expression "*(code *)PTR_renameat_000322c8" * (cast_expression "(code *)PTR_renameat_000322c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2,param_3,param_4)" ( identifier , identifier , identifier , identifier )))) ;) }))) (goto_statement "goto LAB_0001a258;" goto statement_identifier ;) })) })) (expression_statement "uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);" (assignment_expression "uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4)" identifier = (call_expression "(*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4)" (parenthesized_expression "(*(code *)PTR_renameat_000322c8)" ( (pointer_expression "*(code *)PTR_renameat_000322c8" * (cast_expression "(code *)PTR_renameat_000322c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2,param_3,param_4)" ( identifier , identifier , identifier , identifier )))) ;) })) })) (labeled_statement "LAB_0001a258:\n  if (local_24 != *(uint *)PTR___stack_chk_guard_000323c0) {\n    uVar2 = local_24;\n    puVar9 = PTR___stack_chk_fail_000323a0;\n    (*(code *)PTR___stack_chk_fail_000323a0)();\n    uVar6 = uVar2;\n    if (uVar2 < 3) {\n      uVar6 = dup_safer();\n      puVar7 = (undefined4 *)(**(code **)(puVar9 + 0x17f98))();\n      uVar8 = *puVar7;\n      (**(code **)(puVar9 + 0x17f1c))(uVar2);\n      *puVar7 = uVar8;\n    }\n    return uVar6;\n  }" statement_identifier : (if_statement "if (local_24 != *(uint *)PTR___stack_chk_guard_000323c0) {\n    uVar2 = local_24;\n    puVar9 = PTR___stack_chk_fail_000323a0;\n    (*(code *)PTR___stack_chk_fail_000323a0)();\n    uVar6 = uVar2;\n    if (uVar2 < 3) {\n      uVar6 = dup_safer();\n      puVar7 = (undefined4 *)(**(code **)(puVar9 + 0x17f98))();\n      uVar8 = *puVar7;\n      (**(code **)(puVar9 + 0x17f1c))(uVar2);\n      *puVar7 = uVar8;\n    }\n    return uVar6;\n  }" if (parenthesized_expression "(local_24 != *(uint *)PTR___stack_chk_guard_000323c0)" ( (binary_expression "local_24 != *(uint *)PTR___stack_chk_guard_000323c0" identifier != (pointer_expression "*(uint *)PTR___stack_chk_guard_000323c0" * (cast_expression "(uint *)PTR___stack_chk_guard_000323c0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    uVar2 = local_24;\n    puVar9 = PTR___stack_chk_fail_000323a0;\n    (*(code *)PTR___stack_chk_fail_000323a0)();\n    uVar6 = uVar2;\n    if (uVar2 < 3) {\n      uVar6 = dup_safer();\n      puVar7 = (undefined4 *)(**(code **)(puVar9 + 0x17f98))();\n      uVar8 = *puVar7;\n      (**(code **)(puVar9 + 0x17f1c))(uVar2);\n      *puVar7 = uVar8;\n    }\n    return uVar6;\n  }" { (expression_statement "uVar2 = local_24;" (assignment_expression "uVar2 = local_24" identifier = identifier) ;) (expression_statement "puVar9 = PTR___stack_chk_fail_000323a0;" (assignment_expression "puVar9 = PTR___stack_chk_fail_000323a0" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000323a0)();" (call_expression "(*(code *)PTR___stack_chk_fail_000323a0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000323a0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000323a0" * (cast_expression "(code *)PTR___stack_chk_fail_000323a0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "uVar6 = uVar2;" (assignment_expression "uVar6 = uVar2" identifier = identifier) ;) (if_statement "if (uVar2 < 3) {\n      uVar6 = dup_safer();\n      puVar7 = (undefined4 *)(**(code **)(puVar9 + 0x17f98))();\n      uVar8 = *puVar7;\n      (**(code **)(puVar9 + 0x17f1c))(uVar2);\n      *puVar7 = uVar8;\n    }" if (parenthesized_expression "(uVar2 < 3)" ( (binary_expression "uVar2 < 3" identifier < number_literal) )) (compound_statement "{\n      uVar6 = dup_safer();\n      puVar7 = (undefined4 *)(**(code **)(puVar9 + 0x17f98))();\n      uVar8 = *puVar7;\n      (**(code **)(puVar9 + 0x17f1c))(uVar2);\n      *puVar7 = uVar8;\n    }" { (expression_statement "uVar6 = dup_safer();" (assignment_expression "uVar6 = dup_safer()" identifier = (call_expression "dup_safer()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar7 = (undefined4 *)(**(code **)(puVar9 + 0x17f98))();" (assignment_expression "puVar7 = (undefined4 *)(**(code **)(puVar9 + 0x17f98))()" identifier = (cast_expression "(undefined4 *)(**(code **)(puVar9 + 0x17f98))()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar9 + 0x17f98))()" (parenthesized_expression "(**(code **)(puVar9 + 0x17f98))" ( (pointer_expression "**(code **)(puVar9 + 0x17f98)" * (pointer_expression "*(code **)(puVar9 + 0x17f98)" * (cast_expression "(code **)(puVar9 + 0x17f98)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x17f98)" ( (binary_expression "puVar9 + 0x17f98" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar8 = *puVar7;" (assignment_expression "uVar8 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "(**(code **)(puVar9 + 0x17f1c))(uVar2);" (call_expression "(**(code **)(puVar9 + 0x17f1c))(uVar2)" (parenthesized_expression "(**(code **)(puVar9 + 0x17f1c))" ( (pointer_expression "**(code **)(puVar9 + 0x17f1c)" * (pointer_expression "*(code **)(puVar9 + 0x17f1c)" * (cast_expression "(code **)(puVar9 + 0x17f1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x17f1c)" ( (binary_expression "puVar9 + 0x17f1c" identifier + number_literal) ))))) )) (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "*puVar7 = uVar8;" (assignment_expression "*puVar7 = uVar8" (pointer_expression "*puVar7" * identifier) = identifier) ;) })) (return_statement "return uVar6;" return identifier ;) }))) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "int renameatu(int fd1,char *src,int fd2,char *dst,uint flags)\n\n{\n  bool bVar1;\n  size_t dst_len;\n  uint fd;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  uint uVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  undefined *puVar8;\n  stat src_st;\n  stat dst_st;\n  \n  fd = *(uint *)PTR___stack_chk_guard_000323c0;\n  iVar2 = (*(code *)PTR_renameat2_00032310)();\n  if (iVar2 < 0) {\n    piVar3 = (int *)(*(code *)PTR___errno_location_00032318)();\n    iVar4 = *piVar3;\n    if (((iVar4 == 0x16) || (iVar4 == 0x59)) || (iVar4 == 0x7a)) {\n      if (flags == 0) {\n        bVar1 = false;\n      }\n      else {\n        if ((flags & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          iVar2 = -1;\n          goto LAB_0001a258;\n        }\n        iVar2 = (*(code *)PTR___fxstatat64_00032390)(3,fd2,dst,&dst_st,0x100);\n        if ((iVar2 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          iVar2 = -1;\n          goto LAB_0001a258;\n        }\n        bVar1 = true;\n        if (*piVar3 != 2) {\n          iVar2 = -1;\n          goto LAB_0001a258;\n        }\n      }\n      iVar2 = (*(code *)PTR_strlen_00032344)(src);\n      if (iVar2 != 0) {\n        iVar4 = (*(code *)PTR_strlen_00032344)(dst);\n        if (iVar4 != 0) {\n          if ((src[iVar2 + -1] == '/') || (dst[iVar4 + -1] == '/')) {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,fd1,src,&src_st,0x100);\n            iVar2 = -1;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((src_st.st_mode & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  iVar2 = -1;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar2 = (*(code *)PTR___fxstatat64_00032390)(3,fd2,dst,&dst_st,0x100);\n                if (iVar2 == 0) {\n                  if ((dst_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  iVar2 = -1;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);\n            }\n          }\n          else {\n            iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);\n          }\n          goto LAB_0001a258;\n        }\n      }\n      iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);\n    }\n  }\nLAB_0001a258:\n  if (fd != *(uint *)PTR___stack_chk_guard_000323c0) {\n    puVar8 = PTR___stack_chk_fail_000323a0;\n    (*(code *)PTR___stack_chk_fail_000323a0)();\n    uVar5 = fd;\n    if (fd < 3) {\n      uVar5 = dup_safer(fd);\n      puVar6 = (undefined4 *)(**(code **)(puVar8 + 0x17f98))();\n      uVar7 = *puVar6;\n      (**(code **)(puVar8 + 0x17f1c))(fd);\n      *puVar6 = uVar7;\n    }\n    return uVar5;\n  }\n  return iVar2;\n}\n\n" (function_definition "int renameatu(int fd1,char *src,int fd2,char *dst,uint flags)\n\n{\n  bool bVar1;\n  size_t dst_len;\n  uint fd;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  uint uVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  undefined *puVar8;\n  stat src_st;\n  stat dst_st;\n  \n  fd = *(uint *)PTR___stack_chk_guard_000323c0;\n  iVar2 = (*(code *)PTR_renameat2_00032310)();\n  if (iVar2 < 0) {\n    piVar3 = (int *)(*(code *)PTR___errno_location_00032318)();\n    iVar4 = *piVar3;\n    if (((iVar4 == 0x16) || (iVar4 == 0x59)) || (iVar4 == 0x7a)) {\n      if (flags == 0) {\n        bVar1 = false;\n      }\n      else {\n        if ((flags & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          iVar2 = -1;\n          goto LAB_0001a258;\n        }\n        iVar2 = (*(code *)PTR___fxstatat64_00032390)(3,fd2,dst,&dst_st,0x100);\n        if ((iVar2 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          iVar2 = -1;\n          goto LAB_0001a258;\n        }\n        bVar1 = true;\n        if (*piVar3 != 2) {\n          iVar2 = -1;\n          goto LAB_0001a258;\n        }\n      }\n      iVar2 = (*(code *)PTR_strlen_00032344)(src);\n      if (iVar2 != 0) {\n        iVar4 = (*(code *)PTR_strlen_00032344)(dst);\n        if (iVar4 != 0) {\n          if ((src[iVar2 + -1] == '/') || (dst[iVar4 + -1] == '/')) {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,fd1,src,&src_st,0x100);\n            iVar2 = -1;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((src_st.st_mode & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  iVar2 = -1;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar2 = (*(code *)PTR___fxstatat64_00032390)(3,fd2,dst,&dst_st,0x100);\n                if (iVar2 == 0) {\n                  if ((dst_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  iVar2 = -1;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);\n            }\n          }\n          else {\n            iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);\n          }\n          goto LAB_0001a258;\n        }\n      }\n      iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);\n    }\n  }\nLAB_0001a258:\n  if (fd != *(uint *)PTR___stack_chk_guard_000323c0) {\n    puVar8 = PTR___stack_chk_fail_000323a0;\n    (*(code *)PTR___stack_chk_fail_000323a0)();\n    uVar5 = fd;\n    if (fd < 3) {\n      uVar5 = dup_safer(fd);\n      puVar6 = (undefined4 *)(**(code **)(puVar8 + 0x17f98))();\n      uVar7 = *puVar6;\n      (**(code **)(puVar8 + 0x17f1c))(fd);\n      *puVar6 = uVar7;\n    }\n    return uVar5;\n  }\n  return iVar2;\n}" primitive_type (function_declarator "renameatu(int fd1,char *src,int fd2,char *dst,uint flags)" identifier (parameter_list "(int fd1,char *src,int fd2,char *dst,uint flags)" ( (parameter_declaration "int fd1" primitive_type identifier) , (parameter_declaration "char *src" primitive_type (pointer_declarator "*src" * identifier)) , (parameter_declaration "int fd2" primitive_type identifier) , (parameter_declaration "char *dst" primitive_type (pointer_declarator "*dst" * identifier)) , (parameter_declaration "uint flags" type_identifier identifier) ))) (compound_statement "{\n  bool bVar1;\n  size_t dst_len;\n  uint fd;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  uint uVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  undefined *puVar8;\n  stat src_st;\n  stat dst_st;\n  \n  fd = *(uint *)PTR___stack_chk_guard_000323c0;\n  iVar2 = (*(code *)PTR_renameat2_00032310)();\n  if (iVar2 < 0) {\n    piVar3 = (int *)(*(code *)PTR___errno_location_00032318)();\n    iVar4 = *piVar3;\n    if (((iVar4 == 0x16) || (iVar4 == 0x59)) || (iVar4 == 0x7a)) {\n      if (flags == 0) {\n        bVar1 = false;\n      }\n      else {\n        if ((flags & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          iVar2 = -1;\n          goto LAB_0001a258;\n        }\n        iVar2 = (*(code *)PTR___fxstatat64_00032390)(3,fd2,dst,&dst_st,0x100);\n        if ((iVar2 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          iVar2 = -1;\n          goto LAB_0001a258;\n        }\n        bVar1 = true;\n        if (*piVar3 != 2) {\n          iVar2 = -1;\n          goto LAB_0001a258;\n        }\n      }\n      iVar2 = (*(code *)PTR_strlen_00032344)(src);\n      if (iVar2 != 0) {\n        iVar4 = (*(code *)PTR_strlen_00032344)(dst);\n        if (iVar4 != 0) {\n          if ((src[iVar2 + -1] == '/') || (dst[iVar4 + -1] == '/')) {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,fd1,src,&src_st,0x100);\n            iVar2 = -1;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((src_st.st_mode & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  iVar2 = -1;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar2 = (*(code *)PTR___fxstatat64_00032390)(3,fd2,dst,&dst_st,0x100);\n                if (iVar2 == 0) {\n                  if ((dst_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  iVar2 = -1;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);\n            }\n          }\n          else {\n            iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);\n          }\n          goto LAB_0001a258;\n        }\n      }\n      iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);\n    }\n  }\nLAB_0001a258:\n  if (fd != *(uint *)PTR___stack_chk_guard_000323c0) {\n    puVar8 = PTR___stack_chk_fail_000323a0;\n    (*(code *)PTR___stack_chk_fail_000323a0)();\n    uVar5 = fd;\n    if (fd < 3) {\n      uVar5 = dup_safer(fd);\n      puVar6 = (undefined4 *)(**(code **)(puVar8 + 0x17f98))();\n      uVar7 = *puVar6;\n      (**(code **)(puVar8 + 0x17f1c))(fd);\n      *puVar6 = uVar7;\n    }\n    return uVar5;\n  }\n  return iVar2;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "size_t dst_len;" primitive_type identifier ;) (declaration "uint fd;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "undefined *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "stat src_st;" type_identifier identifier ;) (declaration "stat dst_st;" type_identifier identifier ;) (expression_statement "fd = *(uint *)PTR___stack_chk_guard_000323c0;" (assignment_expression "fd = *(uint *)PTR___stack_chk_guard_000323c0" identifier = (pointer_expression "*(uint *)PTR___stack_chk_guard_000323c0" * (cast_expression "(uint *)PTR___stack_chk_guard_000323c0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar2 = (*(code *)PTR_renameat2_00032310)();" (assignment_expression "iVar2 = (*(code *)PTR_renameat2_00032310)()" identifier = (call_expression "(*(code *)PTR_renameat2_00032310)()" (parenthesized_expression "(*(code *)PTR_renameat2_00032310)" ( (pointer_expression "*(code *)PTR_renameat2_00032310" * (cast_expression "(code *)PTR_renameat2_00032310" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar2 < 0) {\n    piVar3 = (int *)(*(code *)PTR___errno_location_00032318)();\n    iVar4 = *piVar3;\n    if (((iVar4 == 0x16) || (iVar4 == 0x59)) || (iVar4 == 0x7a)) {\n      if (flags == 0) {\n        bVar1 = false;\n      }\n      else {\n        if ((flags & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          iVar2 = -1;\n          goto LAB_0001a258;\n        }\n        iVar2 = (*(code *)PTR___fxstatat64_00032390)(3,fd2,dst,&dst_st,0x100);\n        if ((iVar2 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          iVar2 = -1;\n          goto LAB_0001a258;\n        }\n        bVar1 = true;\n        if (*piVar3 != 2) {\n          iVar2 = -1;\n          goto LAB_0001a258;\n        }\n      }\n      iVar2 = (*(code *)PTR_strlen_00032344)(src);\n      if (iVar2 != 0) {\n        iVar4 = (*(code *)PTR_strlen_00032344)(dst);\n        if (iVar4 != 0) {\n          if ((src[iVar2 + -1] == '/') || (dst[iVar4 + -1] == '/')) {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,fd1,src,&src_st,0x100);\n            iVar2 = -1;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((src_st.st_mode & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  iVar2 = -1;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar2 = (*(code *)PTR___fxstatat64_00032390)(3,fd2,dst,&dst_st,0x100);\n                if (iVar2 == 0) {\n                  if ((dst_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  iVar2 = -1;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);\n            }\n          }\n          else {\n            iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);\n          }\n          goto LAB_0001a258;\n        }\n      }\n      iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);\n    }\n  }" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (compound_statement "{\n    piVar3 = (int *)(*(code *)PTR___errno_location_00032318)();\n    iVar4 = *piVar3;\n    if (((iVar4 == 0x16) || (iVar4 == 0x59)) || (iVar4 == 0x7a)) {\n      if (flags == 0) {\n        bVar1 = false;\n      }\n      else {\n        if ((flags & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          iVar2 = -1;\n          goto LAB_0001a258;\n        }\n        iVar2 = (*(code *)PTR___fxstatat64_00032390)(3,fd2,dst,&dst_st,0x100);\n        if ((iVar2 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          iVar2 = -1;\n          goto LAB_0001a258;\n        }\n        bVar1 = true;\n        if (*piVar3 != 2) {\n          iVar2 = -1;\n          goto LAB_0001a258;\n        }\n      }\n      iVar2 = (*(code *)PTR_strlen_00032344)(src);\n      if (iVar2 != 0) {\n        iVar4 = (*(code *)PTR_strlen_00032344)(dst);\n        if (iVar4 != 0) {\n          if ((src[iVar2 + -1] == '/') || (dst[iVar4 + -1] == '/')) {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,fd1,src,&src_st,0x100);\n            iVar2 = -1;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((src_st.st_mode & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  iVar2 = -1;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar2 = (*(code *)PTR___fxstatat64_00032390)(3,fd2,dst,&dst_st,0x100);\n                if (iVar2 == 0) {\n                  if ((dst_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  iVar2 = -1;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);\n            }\n          }\n          else {\n            iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);\n          }\n          goto LAB_0001a258;\n        }\n      }\n      iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);\n    }\n  }" { (expression_statement "piVar3 = (int *)(*(code *)PTR___errno_location_00032318)();" (assignment_expression "piVar3 = (int *)(*(code *)PTR___errno_location_00032318)()" identifier = (cast_expression "(int *)(*(code *)PTR___errno_location_00032318)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_00032318)()" (parenthesized_expression "(*(code *)PTR___errno_location_00032318)" ( (pointer_expression "*(code *)PTR___errno_location_00032318" * (cast_expression "(code *)PTR___errno_location_00032318" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "iVar4 = *piVar3;" (assignment_expression "iVar4 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (if_statement "if (((iVar4 == 0x16) || (iVar4 == 0x59)) || (iVar4 == 0x7a)) {\n      if (flags == 0) {\n        bVar1 = false;\n      }\n      else {\n        if ((flags & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          iVar2 = -1;\n          goto LAB_0001a258;\n        }\n        iVar2 = (*(code *)PTR___fxstatat64_00032390)(3,fd2,dst,&dst_st,0x100);\n        if ((iVar2 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          iVar2 = -1;\n          goto LAB_0001a258;\n        }\n        bVar1 = true;\n        if (*piVar3 != 2) {\n          iVar2 = -1;\n          goto LAB_0001a258;\n        }\n      }\n      iVar2 = (*(code *)PTR_strlen_00032344)(src);\n      if (iVar2 != 0) {\n        iVar4 = (*(code *)PTR_strlen_00032344)(dst);\n        if (iVar4 != 0) {\n          if ((src[iVar2 + -1] == '/') || (dst[iVar4 + -1] == '/')) {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,fd1,src,&src_st,0x100);\n            iVar2 = -1;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((src_st.st_mode & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  iVar2 = -1;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar2 = (*(code *)PTR___fxstatat64_00032390)(3,fd2,dst,&dst_st,0x100);\n                if (iVar2 == 0) {\n                  if ((dst_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  iVar2 = -1;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);\n            }\n          }\n          else {\n            iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);\n          }\n          goto LAB_0001a258;\n        }\n      }\n      iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);\n    }" if (parenthesized_expression "(((iVar4 == 0x16) || (iVar4 == 0x59)) || (iVar4 == 0x7a))" ( (binary_expression "((iVar4 == 0x16) || (iVar4 == 0x59)) || (iVar4 == 0x7a)" (parenthesized_expression "((iVar4 == 0x16) || (iVar4 == 0x59))" ( (binary_expression "(iVar4 == 0x16) || (iVar4 == 0x59)" (parenthesized_expression "(iVar4 == 0x16)" ( (binary_expression "iVar4 == 0x16" identifier == number_literal) )) || (parenthesized_expression "(iVar4 == 0x59)" ( (binary_expression "iVar4 == 0x59" identifier == number_literal) ))) )) || (parenthesized_expression "(iVar4 == 0x7a)" ( (binary_expression "iVar4 == 0x7a" identifier == number_literal) ))) )) (compound_statement "{\n      if (flags == 0) {\n        bVar1 = false;\n      }\n      else {\n        if ((flags & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          iVar2 = -1;\n          goto LAB_0001a258;\n        }\n        iVar2 = (*(code *)PTR___fxstatat64_00032390)(3,fd2,dst,&dst_st,0x100);\n        if ((iVar2 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          iVar2 = -1;\n          goto LAB_0001a258;\n        }\n        bVar1 = true;\n        if (*piVar3 != 2) {\n          iVar2 = -1;\n          goto LAB_0001a258;\n        }\n      }\n      iVar2 = (*(code *)PTR_strlen_00032344)(src);\n      if (iVar2 != 0) {\n        iVar4 = (*(code *)PTR_strlen_00032344)(dst);\n        if (iVar4 != 0) {\n          if ((src[iVar2 + -1] == '/') || (dst[iVar4 + -1] == '/')) {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,fd1,src,&src_st,0x100);\n            iVar2 = -1;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((src_st.st_mode & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  iVar2 = -1;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar2 = (*(code *)PTR___fxstatat64_00032390)(3,fd2,dst,&dst_st,0x100);\n                if (iVar2 == 0) {\n                  if ((dst_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  iVar2 = -1;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);\n            }\n          }\n          else {\n            iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);\n          }\n          goto LAB_0001a258;\n        }\n      }\n      iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);\n    }" { (if_statement "if (flags == 0) {\n        bVar1 = false;\n      }\n      else {\n        if ((flags & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          iVar2 = -1;\n          goto LAB_0001a258;\n        }\n        iVar2 = (*(code *)PTR___fxstatat64_00032390)(3,fd2,dst,&dst_st,0x100);\n        if ((iVar2 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          iVar2 = -1;\n          goto LAB_0001a258;\n        }\n        bVar1 = true;\n        if (*piVar3 != 2) {\n          iVar2 = -1;\n          goto LAB_0001a258;\n        }\n      }" if (parenthesized_expression "(flags == 0)" ( (binary_expression "flags == 0" identifier == number_literal) )) (compound_statement "{\n        bVar1 = false;\n      }" { (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) }) (else_clause "else {\n        if ((flags & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          iVar2 = -1;\n          goto LAB_0001a258;\n        }\n        iVar2 = (*(code *)PTR___fxstatat64_00032390)(3,fd2,dst,&dst_st,0x100);\n        if ((iVar2 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          iVar2 = -1;\n          goto LAB_0001a258;\n        }\n        bVar1 = true;\n        if (*piVar3 != 2) {\n          iVar2 = -1;\n          goto LAB_0001a258;\n        }\n      }" else (compound_statement "{\n        if ((flags & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          iVar2 = -1;\n          goto LAB_0001a258;\n        }\n        iVar2 = (*(code *)PTR___fxstatat64_00032390)(3,fd2,dst,&dst_st,0x100);\n        if ((iVar2 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          iVar2 = -1;\n          goto LAB_0001a258;\n        }\n        bVar1 = true;\n        if (*piVar3 != 2) {\n          iVar2 = -1;\n          goto LAB_0001a258;\n        }\n      }" { (if_statement "if ((flags & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          iVar2 = -1;\n          goto LAB_0001a258;\n        }" if (parenthesized_expression "((flags & 0xfffffffe) != 0)" ( (binary_expression "(flags & 0xfffffffe) != 0" (parenthesized_expression "(flags & 0xfffffffe)" ( (binary_expression "flags & 0xfffffffe" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n          *piVar3 = 0x7a;\n          iVar2 = -1;\n          goto LAB_0001a258;\n        }" { (expression_statement "*piVar3 = 0x7a;" (assignment_expression "*piVar3 = 0x7a" (pointer_expression "*piVar3" * identifier) = number_literal) ;) (expression_statement "iVar2 = -1;" (assignment_expression "iVar2 = -1" identifier = number_literal) ;) (goto_statement "goto LAB_0001a258;" goto statement_identifier ;) })) (expression_statement "iVar2 = (*(code *)PTR___fxstatat64_00032390)(3,fd2,dst,&dst_st,0x100);" (assignment_expression "iVar2 = (*(code *)PTR___fxstatat64_00032390)(3,fd2,dst,&dst_st,0x100)" identifier = (call_expression "(*(code *)PTR___fxstatat64_00032390)(3,fd2,dst,&dst_st,0x100)" (parenthesized_expression "(*(code *)PTR___fxstatat64_00032390)" ( (pointer_expression "*(code *)PTR___fxstatat64_00032390" * (cast_expression "(code *)PTR___fxstatat64_00032390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,fd2,dst,&dst_st,0x100)" ( number_literal , identifier , identifier , (pointer_expression "&dst_st" & identifier) , number_literal )))) ;) (if_statement "if ((iVar2 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          iVar2 = -1;\n          goto LAB_0001a258;\n        }" if (parenthesized_expression "((iVar2 == 0) || (*piVar3 == 0x4f))" ( (binary_expression "(iVar2 == 0) || (*piVar3 == 0x4f)" (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) || (parenthesized_expression "(*piVar3 == 0x4f)" ( (binary_expression "*piVar3 == 0x4f" (pointer_expression "*piVar3" * identifier) == number_literal) ))) )) (compound_statement "{\n          *piVar3 = 0x11;\n          iVar2 = -1;\n          goto LAB_0001a258;\n        }" { (expression_statement "*piVar3 = 0x11;" (assignment_expression "*piVar3 = 0x11" (pointer_expression "*piVar3" * identifier) = number_literal) ;) (expression_statement "iVar2 = -1;" (assignment_expression "iVar2 = -1" identifier = number_literal) ;) (goto_statement "goto LAB_0001a258;" goto statement_identifier ;) })) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) (if_statement "if (*piVar3 != 2) {\n          iVar2 = -1;\n          goto LAB_0001a258;\n        }" if (parenthesized_expression "(*piVar3 != 2)" ( (binary_expression "*piVar3 != 2" (pointer_expression "*piVar3" * identifier) != number_literal) )) (compound_statement "{\n          iVar2 = -1;\n          goto LAB_0001a258;\n        }" { (expression_statement "iVar2 = -1;" (assignment_expression "iVar2 = -1" identifier = number_literal) ;) (goto_statement "goto LAB_0001a258;" goto statement_identifier ;) })) }))) (expression_statement "iVar2 = (*(code *)PTR_strlen_00032344)(src);" (assignment_expression "iVar2 = (*(code *)PTR_strlen_00032344)(src)" identifier = (call_expression "(*(code *)PTR_strlen_00032344)(src)" (parenthesized_expression "(*(code *)PTR_strlen_00032344)" ( (pointer_expression "*(code *)PTR_strlen_00032344" * (cast_expression "(code *)PTR_strlen_00032344" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(src)" ( identifier )))) ;) (if_statement "if (iVar2 != 0) {\n        iVar4 = (*(code *)PTR_strlen_00032344)(dst);\n        if (iVar4 != 0) {\n          if ((src[iVar2 + -1] == '/') || (dst[iVar4 + -1] == '/')) {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,fd1,src,&src_st,0x100);\n            iVar2 = -1;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((src_st.st_mode & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  iVar2 = -1;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar2 = (*(code *)PTR___fxstatat64_00032390)(3,fd2,dst,&dst_st,0x100);\n                if (iVar2 == 0) {\n                  if ((dst_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  iVar2 = -1;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);\n            }\n          }\n          else {\n            iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);\n          }\n          goto LAB_0001a258;\n        }\n      }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar4 = (*(code *)PTR_strlen_00032344)(dst);\n        if (iVar4 != 0) {\n          if ((src[iVar2 + -1] == '/') || (dst[iVar4 + -1] == '/')) {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,fd1,src,&src_st,0x100);\n            iVar2 = -1;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((src_st.st_mode & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  iVar2 = -1;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar2 = (*(code *)PTR___fxstatat64_00032390)(3,fd2,dst,&dst_st,0x100);\n                if (iVar2 == 0) {\n                  if ((dst_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  iVar2 = -1;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);\n            }\n          }\n          else {\n            iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);\n          }\n          goto LAB_0001a258;\n        }\n      }" { (expression_statement "iVar4 = (*(code *)PTR_strlen_00032344)(dst);" (assignment_expression "iVar4 = (*(code *)PTR_strlen_00032344)(dst)" identifier = (call_expression "(*(code *)PTR_strlen_00032344)(dst)" (parenthesized_expression "(*(code *)PTR_strlen_00032344)" ( (pointer_expression "*(code *)PTR_strlen_00032344" * (cast_expression "(code *)PTR_strlen_00032344" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(dst)" ( identifier )))) ;) (if_statement "if (iVar4 != 0) {\n          if ((src[iVar2 + -1] == '/') || (dst[iVar4 + -1] == '/')) {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,fd1,src,&src_st,0x100);\n            iVar2 = -1;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((src_st.st_mode & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  iVar2 = -1;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar2 = (*(code *)PTR___fxstatat64_00032390)(3,fd2,dst,&dst_st,0x100);\n                if (iVar2 == 0) {\n                  if ((dst_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  iVar2 = -1;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);\n            }\n          }\n          else {\n            iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);\n          }\n          goto LAB_0001a258;\n        }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n          if ((src[iVar2 + -1] == '/') || (dst[iVar4 + -1] == '/')) {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,fd1,src,&src_st,0x100);\n            iVar2 = -1;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((src_st.st_mode & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  iVar2 = -1;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar2 = (*(code *)PTR___fxstatat64_00032390)(3,fd2,dst,&dst_st,0x100);\n                if (iVar2 == 0) {\n                  if ((dst_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  iVar2 = -1;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);\n            }\n          }\n          else {\n            iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);\n          }\n          goto LAB_0001a258;\n        }" { (if_statement "if ((src[iVar2 + -1] == '/') || (dst[iVar4 + -1] == '/')) {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,fd1,src,&src_st,0x100);\n            iVar2 = -1;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((src_st.st_mode & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  iVar2 = -1;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar2 = (*(code *)PTR___fxstatat64_00032390)(3,fd2,dst,&dst_st,0x100);\n                if (iVar2 == 0) {\n                  if ((dst_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  iVar2 = -1;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);\n            }\n          }\n          else {\n            iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);\n          }" if (parenthesized_expression "((src[iVar2 + -1] == '/') || (dst[iVar4 + -1] == '/'))" ( (binary_expression "(src[iVar2 + -1] == '/') || (dst[iVar4 + -1] == '/')" (parenthesized_expression "(src[iVar2 + -1] == '/')" ( (binary_expression "src[iVar2 + -1] == '/'" (subscript_expression "src[iVar2 + -1]" identifier [ (binary_expression "iVar2 + -1" identifier + number_literal) ]) == (char_literal "'/'" ' character ')) )) || (parenthesized_expression "(dst[iVar4 + -1] == '/')" ( (binary_expression "dst[iVar4 + -1] == '/'" (subscript_expression "dst[iVar4 + -1]" identifier [ (binary_expression "iVar4 + -1" identifier + number_literal) ]) == (char_literal "'/'" ' character ')) ))) )) (compound_statement "{\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,fd1,src,&src_st,0x100);\n            iVar2 = -1;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((src_st.st_mode & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  iVar2 = -1;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar2 = (*(code *)PTR___fxstatat64_00032390)(3,fd2,dst,&dst_st,0x100);\n                if (iVar2 == 0) {\n                  if ((dst_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  iVar2 = -1;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);\n            }\n          }" { (expression_statement "iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,fd1,src,&src_st,0x100);" (assignment_expression "iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,fd1,src,&src_st,0x100)" identifier = (call_expression "(*(code *)PTR___fxstatat64_00032390)(3,fd1,src,&src_st,0x100)" (parenthesized_expression "(*(code *)PTR___fxstatat64_00032390)" ( (pointer_expression "*(code *)PTR___fxstatat64_00032390" * (cast_expression "(code *)PTR___fxstatat64_00032390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,fd1,src,&src_st,0x100)" ( number_literal , identifier , identifier , (pointer_expression "&src_st" & identifier) , number_literal )))) ;) (expression_statement "iVar2 = -1;" (assignment_expression "iVar2 = -1" identifier = number_literal) ;) (if_statement "if (iVar4 == 0) {\n              if (bVar1) {\n                if ((src_st.st_mode & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  iVar2 = -1;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar2 = (*(code *)PTR___fxstatat64_00032390)(3,fd2,dst,&dst_st,0x100);\n                if (iVar2 == 0) {\n                  if ((dst_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  iVar2 = -1;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);\n            }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n              if (bVar1) {\n                if ((src_st.st_mode & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  iVar2 = -1;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar2 = (*(code *)PTR___fxstatat64_00032390)(3,fd2,dst,&dst_st,0x100);\n                if (iVar2 == 0) {\n                  if ((dst_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  iVar2 = -1;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);\n            }" { (if_statement "if (bVar1) {\n                if ((src_st.st_mode & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  iVar2 = -1;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar2 = (*(code *)PTR___fxstatat64_00032390)(3,fd2,dst,&dst_st,0x100);\n                if (iVar2 == 0) {\n                  if ((dst_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  iVar2 = -1;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }\n              }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n                if ((src_st.st_mode & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  iVar2 = -1;\n                  goto LAB_0001a258;\n                }\n              }" { (if_statement "if ((src_st.st_mode & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  iVar2 = -1;\n                  goto LAB_0001a258;\n                }" if (parenthesized_expression "((src_st.st_mode & 0xf000) != 0x4000)" ( (binary_expression "(src_st.st_mode & 0xf000) != 0x4000" (parenthesized_expression "(src_st.st_mode & 0xf000)" ( (binary_expression "src_st.st_mode & 0xf000" (field_expression "src_st.st_mode" identifier . field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n                  *piVar3 = 2;\n                  iVar2 = -1;\n                  goto LAB_0001a258;\n                }" { (expression_statement "*piVar3 = 2;" (assignment_expression "*piVar3 = 2" (pointer_expression "*piVar3" * identifier) = number_literal) ;) (expression_statement "iVar2 = -1;" (assignment_expression "iVar2 = -1" identifier = number_literal) ;) (goto_statement "goto LAB_0001a258;" goto statement_identifier ;) })) }) (else_clause "else {\n                iVar2 = (*(code *)PTR___fxstatat64_00032390)(3,fd2,dst,&dst_st,0x100);\n                if (iVar2 == 0) {\n                  if ((dst_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  iVar2 = -1;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }\n              }" else (compound_statement "{\n                iVar2 = (*(code *)PTR___fxstatat64_00032390)(3,fd2,dst,&dst_st,0x100);\n                if (iVar2 == 0) {\n                  if ((dst_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  iVar2 = -1;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }\n              }" { (expression_statement "iVar2 = (*(code *)PTR___fxstatat64_00032390)(3,fd2,dst,&dst_st,0x100);" (assignment_expression "iVar2 = (*(code *)PTR___fxstatat64_00032390)(3,fd2,dst,&dst_st,0x100)" identifier = (call_expression "(*(code *)PTR___fxstatat64_00032390)(3,fd2,dst,&dst_st,0x100)" (parenthesized_expression "(*(code *)PTR___fxstatat64_00032390)" ( (pointer_expression "*(code *)PTR___fxstatat64_00032390" * (cast_expression "(code *)PTR___fxstatat64_00032390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,fd2,dst,&dst_st,0x100)" ( number_literal , identifier , identifier , (pointer_expression "&dst_st" & identifier) , number_literal )))) ;) (if_statement "if (iVar2 == 0) {\n                  if ((dst_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  iVar2 = -1;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n                  if ((dst_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }" { (if_statement "if ((dst_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }" if (parenthesized_expression "((dst_st.st_mode & 0xf000) != 0x4000)" ( (binary_expression "(dst_st.st_mode & 0xf000) != 0x4000" (parenthesized_expression "(dst_st.st_mode & 0xf000)" ( (binary_expression "dst_st.st_mode & 0xf000" (field_expression "dst_st.st_mode" identifier . field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n                    *piVar3 = 0x14;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }" { (expression_statement "*piVar3 = 0x14;" (assignment_expression "*piVar3 = 0x14" (pointer_expression "*piVar3" * identifier) = number_literal) ;) (expression_statement "iVar2 = -1;" (assignment_expression "iVar2 = -1" identifier = number_literal) ;) (goto_statement "goto LAB_0001a258;" goto statement_identifier ;) })) (if_statement "if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }" if (parenthesized_expression "((src_st.st_mode & 0xf000) != 0x4000)" ( (binary_expression "(src_st.st_mode & 0xf000) != 0x4000" (parenthesized_expression "(src_st.st_mode & 0xf000)" ( (binary_expression "src_st.st_mode & 0xf000" (field_expression "src_st.st_mode" identifier . field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n                    *piVar3 = 0x15;\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }" { (expression_statement "*piVar3 = 0x15;" (assignment_expression "*piVar3 = 0x15" (pointer_expression "*piVar3" * identifier) = number_literal) ;) (expression_statement "iVar2 = -1;" (assignment_expression "iVar2 = -1" identifier = number_literal) ;) (goto_statement "goto LAB_0001a258;" goto statement_identifier ;) })) }) (else_clause "else {\n                  iVar2 = -1;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }" else (compound_statement "{\n                  iVar2 = -1;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }\n                }" { (expression_statement "iVar2 = -1;" (assignment_expression "iVar2 = -1" identifier = number_literal) ;) (if_statement "if (*piVar3 != 2) goto LAB_0001a258;" if (parenthesized_expression "(*piVar3 != 2)" ( (binary_expression "*piVar3 != 2" (pointer_expression "*piVar3" * identifier) != number_literal) )) (goto_statement "goto LAB_0001a258;" goto statement_identifier ;)) (if_statement "if ((src_st.st_mode & 0xf000) != 0x4000) {\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }" if (parenthesized_expression "((src_st.st_mode & 0xf000) != 0x4000)" ( (binary_expression "(src_st.st_mode & 0xf000) != 0x4000" (parenthesized_expression "(src_st.st_mode & 0xf000)" ( (binary_expression "src_st.st_mode & 0xf000" (field_expression "src_st.st_mode" identifier . field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n                    iVar2 = -1;\n                    goto LAB_0001a258;\n                  }" { (expression_statement "iVar2 = -1;" (assignment_expression "iVar2 = -1" identifier = number_literal) ;) (goto_statement "goto LAB_0001a258;" goto statement_identifier ;) })) }))) }))) (expression_statement "iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);" (assignment_expression "iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst)" identifier = (call_expression "(*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst)" (parenthesized_expression "(*(code *)PTR_renameat_000322c8)" ( (pointer_expression "*(code *)PTR_renameat_000322c8" * (cast_expression "(code *)PTR_renameat_000322c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(fd1,src,fd2,dst)" ( identifier , identifier , identifier , identifier )))) ;) })) }) (else_clause "else {\n            iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);\n          }" else (compound_statement "{\n            iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);\n          }" { (expression_statement "iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);" (assignment_expression "iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst)" identifier = (call_expression "(*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst)" (parenthesized_expression "(*(code *)PTR_renameat_000322c8)" ( (pointer_expression "*(code *)PTR_renameat_000322c8" * (cast_expression "(code *)PTR_renameat_000322c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(fd1,src,fd2,dst)" ( identifier , identifier , identifier , identifier )))) ;) }))) (goto_statement "goto LAB_0001a258;" goto statement_identifier ;) })) })) (expression_statement "iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst);" (assignment_expression "iVar2 = (*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst)" identifier = (call_expression "(*(code *)PTR_renameat_000322c8)(fd1,src,fd2,dst)" (parenthesized_expression "(*(code *)PTR_renameat_000322c8)" ( (pointer_expression "*(code *)PTR_renameat_000322c8" * (cast_expression "(code *)PTR_renameat_000322c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(fd1,src,fd2,dst)" ( identifier , identifier , identifier , identifier )))) ;) })) })) (labeled_statement "LAB_0001a258:\n  if (fd != *(uint *)PTR___stack_chk_guard_000323c0) {\n    puVar8 = PTR___stack_chk_fail_000323a0;\n    (*(code *)PTR___stack_chk_fail_000323a0)();\n    uVar5 = fd;\n    if (fd < 3) {\n      uVar5 = dup_safer(fd);\n      puVar6 = (undefined4 *)(**(code **)(puVar8 + 0x17f98))();\n      uVar7 = *puVar6;\n      (**(code **)(puVar8 + 0x17f1c))(fd);\n      *puVar6 = uVar7;\n    }\n    return uVar5;\n  }" statement_identifier : (if_statement "if (fd != *(uint *)PTR___stack_chk_guard_000323c0) {\n    puVar8 = PTR___stack_chk_fail_000323a0;\n    (*(code *)PTR___stack_chk_fail_000323a0)();\n    uVar5 = fd;\n    if (fd < 3) {\n      uVar5 = dup_safer(fd);\n      puVar6 = (undefined4 *)(**(code **)(puVar8 + 0x17f98))();\n      uVar7 = *puVar6;\n      (**(code **)(puVar8 + 0x17f1c))(fd);\n      *puVar6 = uVar7;\n    }\n    return uVar5;\n  }" if (parenthesized_expression "(fd != *(uint *)PTR___stack_chk_guard_000323c0)" ( (binary_expression "fd != *(uint *)PTR___stack_chk_guard_000323c0" identifier != (pointer_expression "*(uint *)PTR___stack_chk_guard_000323c0" * (cast_expression "(uint *)PTR___stack_chk_guard_000323c0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    puVar8 = PTR___stack_chk_fail_000323a0;\n    (*(code *)PTR___stack_chk_fail_000323a0)();\n    uVar5 = fd;\n    if (fd < 3) {\n      uVar5 = dup_safer(fd);\n      puVar6 = (undefined4 *)(**(code **)(puVar8 + 0x17f98))();\n      uVar7 = *puVar6;\n      (**(code **)(puVar8 + 0x17f1c))(fd);\n      *puVar6 = uVar7;\n    }\n    return uVar5;\n  }" { (expression_statement "puVar8 = PTR___stack_chk_fail_000323a0;" (assignment_expression "puVar8 = PTR___stack_chk_fail_000323a0" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000323a0)();" (call_expression "(*(code *)PTR___stack_chk_fail_000323a0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000323a0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000323a0" * (cast_expression "(code *)PTR___stack_chk_fail_000323a0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "uVar5 = fd;" (assignment_expression "uVar5 = fd" identifier = identifier) ;) (if_statement "if (fd < 3) {\n      uVar5 = dup_safer(fd);\n      puVar6 = (undefined4 *)(**(code **)(puVar8 + 0x17f98))();\n      uVar7 = *puVar6;\n      (**(code **)(puVar8 + 0x17f1c))(fd);\n      *puVar6 = uVar7;\n    }" if (parenthesized_expression "(fd < 3)" ( (binary_expression "fd < 3" identifier < number_literal) )) (compound_statement "{\n      uVar5 = dup_safer(fd);\n      puVar6 = (undefined4 *)(**(code **)(puVar8 + 0x17f98))();\n      uVar7 = *puVar6;\n      (**(code **)(puVar8 + 0x17f1c))(fd);\n      *puVar6 = uVar7;\n    }" { (expression_statement "uVar5 = dup_safer(fd);" (assignment_expression "uVar5 = dup_safer(fd)" identifier = (call_expression "dup_safer(fd)" identifier (argument_list "(fd)" ( identifier )))) ;) (expression_statement "puVar6 = (undefined4 *)(**(code **)(puVar8 + 0x17f98))();" (assignment_expression "puVar6 = (undefined4 *)(**(code **)(puVar8 + 0x17f98))()" identifier = (cast_expression "(undefined4 *)(**(code **)(puVar8 + 0x17f98))()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar8 + 0x17f98))()" (parenthesized_expression "(**(code **)(puVar8 + 0x17f98))" ( (pointer_expression "**(code **)(puVar8 + 0x17f98)" * (pointer_expression "*(code **)(puVar8 + 0x17f98)" * (cast_expression "(code **)(puVar8 + 0x17f98)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x17f98)" ( (binary_expression "puVar8 + 0x17f98" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar7 = *puVar6;" (assignment_expression "uVar7 = *puVar6" identifier = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "(**(code **)(puVar8 + 0x17f1c))(fd);" (call_expression "(**(code **)(puVar8 + 0x17f1c))(fd)" (parenthesized_expression "(**(code **)(puVar8 + 0x17f1c))" ( (pointer_expression "**(code **)(puVar8 + 0x17f1c)" * (pointer_expression "*(code **)(puVar8 + 0x17f1c)" * (cast_expression "(code **)(puVar8 + 0x17f1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x17f1c)" ( (binary_expression "puVar8 + 0x17f1c" identifier + number_literal) ))))) )) (argument_list "(fd)" ( identifier ))) ;) (expression_statement "*puVar6 = uVar7;" (assignment_expression "*puVar6 = uVar7" (pointer_expression "*puVar6" * identifier) = identifier) ;) })) (return_statement "return uVar5;" return identifier ;) }))) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "uint renameatu(undefined4 param_1,int param_2,undefined4 param_3,int param_4,uint param_5)\n\n{\n  bool bVar1;\n  uint uVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  undefined4 *puVar7;\n  undefined4 uVar8;\n  undefined *puVar9;\n  undefined1 auStack_168 [24];\n  uint local_150;\n  undefined1 auStack_c8 [24];\n  uint local_b0;\n  uint local_24;\n  \n  local_24 = *(uint *)PTR___stack_chk_guard_000323c0;\n  uVar2 = (*(code *)PTR_renameat2_00032310)();\n  if ((int)uVar2 < 0) {\n    piVar3 = (int *)(*(code *)PTR___errno_location_00032318)();\n    iVar4 = *piVar3;\n    if (((iVar4 == 0x16) || (iVar4 == 0x59)) || (iVar4 == 0x7a)) {\n      if (param_5 == 0) {\n        bVar1 = false;\n      }\n      else {\n        if ((param_5 & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n        if ((iVar4 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        bVar1 = true;\n        if (*piVar3 != 2) {\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n      }\n      iVar4 = (*(code *)PTR_strlen_00032344)(param_2);\n      if (iVar4 != 0) {\n        iVar5 = (*(code *)PTR_strlen_00032344)(param_4);\n        if (iVar5 != 0) {\n          if ((*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/'))\n          {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);\n            uVar2 = 0xffffffff;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }\n          }\n          else {\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }\n          goto LAB_0001a258;\n        }\n      }\n      uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n    }\n  }\nLAB_0001a258:\n  if (local_24 != *(uint *)PTR___stack_chk_guard_000323c0) {\n    uVar2 = local_24;\n    puVar9 = PTR___stack_chk_fail_000323a0;\n    (*(code *)PTR___stack_chk_fail_000323a0)();\n    uVar6 = uVar2;\n    if (uVar2 < 3) {\n      uVar6 = dup_safer();\n      puVar7 = (undefined4 *)(**(code **)(puVar9 + 0x17f98))();\n      uVar8 = *puVar7;\n      (**(code **)(puVar9 + 0x17f1c))(uVar2);\n      *puVar7 = uVar8;\n    }\n    return uVar6;\n  }\n  return uVar2;\n}\n\n" (function_definition "uint renameatu(undefined4 param_1,int param_2,undefined4 param_3,int param_4,uint param_5)\n\n{\n  bool bVar1;\n  uint uVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  undefined4 *puVar7;\n  undefined4 uVar8;\n  undefined *puVar9;\n  undefined1 auStack_168 [24];\n  uint local_150;\n  undefined1 auStack_c8 [24];\n  uint local_b0;\n  uint local_24;\n  \n  local_24 = *(uint *)PTR___stack_chk_guard_000323c0;\n  uVar2 = (*(code *)PTR_renameat2_00032310)();\n  if ((int)uVar2 < 0) {\n    piVar3 = (int *)(*(code *)PTR___errno_location_00032318)();\n    iVar4 = *piVar3;\n    if (((iVar4 == 0x16) || (iVar4 == 0x59)) || (iVar4 == 0x7a)) {\n      if (param_5 == 0) {\n        bVar1 = false;\n      }\n      else {\n        if ((param_5 & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n        if ((iVar4 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        bVar1 = true;\n        if (*piVar3 != 2) {\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n      }\n      iVar4 = (*(code *)PTR_strlen_00032344)(param_2);\n      if (iVar4 != 0) {\n        iVar5 = (*(code *)PTR_strlen_00032344)(param_4);\n        if (iVar5 != 0) {\n          if ((*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/'))\n          {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);\n            uVar2 = 0xffffffff;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }\n          }\n          else {\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }\n          goto LAB_0001a258;\n        }\n      }\n      uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n    }\n  }\nLAB_0001a258:\n  if (local_24 != *(uint *)PTR___stack_chk_guard_000323c0) {\n    uVar2 = local_24;\n    puVar9 = PTR___stack_chk_fail_000323a0;\n    (*(code *)PTR___stack_chk_fail_000323a0)();\n    uVar6 = uVar2;\n    if (uVar2 < 3) {\n      uVar6 = dup_safer();\n      puVar7 = (undefined4 *)(**(code **)(puVar9 + 0x17f98))();\n      uVar8 = *puVar7;\n      (**(code **)(puVar9 + 0x17f1c))(uVar2);\n      *puVar7 = uVar8;\n    }\n    return uVar6;\n  }\n  return uVar2;\n}" type_identifier (function_declarator "renameatu(undefined4 param_1,int param_2,undefined4 param_3,int param_4,uint param_5)" identifier (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3,int param_4,uint param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "uint param_5" type_identifier identifier) ))) (compound_statement "{\n  bool bVar1;\n  uint uVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  undefined4 *puVar7;\n  undefined4 uVar8;\n  undefined *puVar9;\n  undefined1 auStack_168 [24];\n  uint local_150;\n  undefined1 auStack_c8 [24];\n  uint local_b0;\n  uint local_24;\n  \n  local_24 = *(uint *)PTR___stack_chk_guard_000323c0;\n  uVar2 = (*(code *)PTR_renameat2_00032310)();\n  if ((int)uVar2 < 0) {\n    piVar3 = (int *)(*(code *)PTR___errno_location_00032318)();\n    iVar4 = *piVar3;\n    if (((iVar4 == 0x16) || (iVar4 == 0x59)) || (iVar4 == 0x7a)) {\n      if (param_5 == 0) {\n        bVar1 = false;\n      }\n      else {\n        if ((param_5 & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n        if ((iVar4 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        bVar1 = true;\n        if (*piVar3 != 2) {\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n      }\n      iVar4 = (*(code *)PTR_strlen_00032344)(param_2);\n      if (iVar4 != 0) {\n        iVar5 = (*(code *)PTR_strlen_00032344)(param_4);\n        if (iVar5 != 0) {\n          if ((*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/'))\n          {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);\n            uVar2 = 0xffffffff;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }\n          }\n          else {\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }\n          goto LAB_0001a258;\n        }\n      }\n      uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n    }\n  }\nLAB_0001a258:\n  if (local_24 != *(uint *)PTR___stack_chk_guard_000323c0) {\n    uVar2 = local_24;\n    puVar9 = PTR___stack_chk_fail_000323a0;\n    (*(code *)PTR___stack_chk_fail_000323a0)();\n    uVar6 = uVar2;\n    if (uVar2 < 3) {\n      uVar6 = dup_safer();\n      puVar7 = (undefined4 *)(**(code **)(puVar9 + 0x17f98))();\n      uVar8 = *puVar7;\n      (**(code **)(puVar9 + 0x17f1c))(uVar2);\n      *puVar7 = uVar8;\n    }\n    return uVar6;\n  }\n  return uVar2;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "undefined *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "undefined1 auStack_168 [24];" type_identifier (array_declarator "auStack_168 [24]" identifier [ number_literal ]) ;) (declaration "uint local_150;" type_identifier identifier ;) (declaration "undefined1 auStack_c8 [24];" type_identifier (array_declarator "auStack_c8 [24]" identifier [ number_literal ]) ;) (declaration "uint local_b0;" type_identifier identifier ;) (declaration "uint local_24;" type_identifier identifier ;) (expression_statement "local_24 = *(uint *)PTR___stack_chk_guard_000323c0;" (assignment_expression "local_24 = *(uint *)PTR___stack_chk_guard_000323c0" identifier = (pointer_expression "*(uint *)PTR___stack_chk_guard_000323c0" * (cast_expression "(uint *)PTR___stack_chk_guard_000323c0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar2 = (*(code *)PTR_renameat2_00032310)();" (assignment_expression "uVar2 = (*(code *)PTR_renameat2_00032310)()" identifier = (call_expression "(*(code *)PTR_renameat2_00032310)()" (parenthesized_expression "(*(code *)PTR_renameat2_00032310)" ( (pointer_expression "*(code *)PTR_renameat2_00032310" * (cast_expression "(code *)PTR_renameat2_00032310" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if ((int)uVar2 < 0) {\n    piVar3 = (int *)(*(code *)PTR___errno_location_00032318)();\n    iVar4 = *piVar3;\n    if (((iVar4 == 0x16) || (iVar4 == 0x59)) || (iVar4 == 0x7a)) {\n      if (param_5 == 0) {\n        bVar1 = false;\n      }\n      else {\n        if ((param_5 & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n        if ((iVar4 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        bVar1 = true;\n        if (*piVar3 != 2) {\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n      }\n      iVar4 = (*(code *)PTR_strlen_00032344)(param_2);\n      if (iVar4 != 0) {\n        iVar5 = (*(code *)PTR_strlen_00032344)(param_4);\n        if (iVar5 != 0) {\n          if ((*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/'))\n          {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);\n            uVar2 = 0xffffffff;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }\n          }\n          else {\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }\n          goto LAB_0001a258;\n        }\n      }\n      uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n    }\n  }" if (parenthesized_expression "((int)uVar2 < 0)" ( (binary_expression "(int)uVar2 < 0" (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    piVar3 = (int *)(*(code *)PTR___errno_location_00032318)();\n    iVar4 = *piVar3;\n    if (((iVar4 == 0x16) || (iVar4 == 0x59)) || (iVar4 == 0x7a)) {\n      if (param_5 == 0) {\n        bVar1 = false;\n      }\n      else {\n        if ((param_5 & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n        if ((iVar4 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        bVar1 = true;\n        if (*piVar3 != 2) {\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n      }\n      iVar4 = (*(code *)PTR_strlen_00032344)(param_2);\n      if (iVar4 != 0) {\n        iVar5 = (*(code *)PTR_strlen_00032344)(param_4);\n        if (iVar5 != 0) {\n          if ((*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/'))\n          {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);\n            uVar2 = 0xffffffff;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }\n          }\n          else {\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }\n          goto LAB_0001a258;\n        }\n      }\n      uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n    }\n  }" { (expression_statement "piVar3 = (int *)(*(code *)PTR___errno_location_00032318)();" (assignment_expression "piVar3 = (int *)(*(code *)PTR___errno_location_00032318)()" identifier = (cast_expression "(int *)(*(code *)PTR___errno_location_00032318)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_00032318)()" (parenthesized_expression "(*(code *)PTR___errno_location_00032318)" ( (pointer_expression "*(code *)PTR___errno_location_00032318" * (cast_expression "(code *)PTR___errno_location_00032318" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "iVar4 = *piVar3;" (assignment_expression "iVar4 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (if_statement "if (((iVar4 == 0x16) || (iVar4 == 0x59)) || (iVar4 == 0x7a)) {\n      if (param_5 == 0) {\n        bVar1 = false;\n      }\n      else {\n        if ((param_5 & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n        if ((iVar4 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        bVar1 = true;\n        if (*piVar3 != 2) {\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n      }\n      iVar4 = (*(code *)PTR_strlen_00032344)(param_2);\n      if (iVar4 != 0) {\n        iVar5 = (*(code *)PTR_strlen_00032344)(param_4);\n        if (iVar5 != 0) {\n          if ((*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/'))\n          {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);\n            uVar2 = 0xffffffff;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }\n          }\n          else {\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }\n          goto LAB_0001a258;\n        }\n      }\n      uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n    }" if (parenthesized_expression "(((iVar4 == 0x16) || (iVar4 == 0x59)) || (iVar4 == 0x7a))" ( (binary_expression "((iVar4 == 0x16) || (iVar4 == 0x59)) || (iVar4 == 0x7a)" (parenthesized_expression "((iVar4 == 0x16) || (iVar4 == 0x59))" ( (binary_expression "(iVar4 == 0x16) || (iVar4 == 0x59)" (parenthesized_expression "(iVar4 == 0x16)" ( (binary_expression "iVar4 == 0x16" identifier == number_literal) )) || (parenthesized_expression "(iVar4 == 0x59)" ( (binary_expression "iVar4 == 0x59" identifier == number_literal) ))) )) || (parenthesized_expression "(iVar4 == 0x7a)" ( (binary_expression "iVar4 == 0x7a" identifier == number_literal) ))) )) (compound_statement "{\n      if (param_5 == 0) {\n        bVar1 = false;\n      }\n      else {\n        if ((param_5 & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n        if ((iVar4 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        bVar1 = true;\n        if (*piVar3 != 2) {\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n      }\n      iVar4 = (*(code *)PTR_strlen_00032344)(param_2);\n      if (iVar4 != 0) {\n        iVar5 = (*(code *)PTR_strlen_00032344)(param_4);\n        if (iVar5 != 0) {\n          if ((*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/'))\n          {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);\n            uVar2 = 0xffffffff;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }\n          }\n          else {\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }\n          goto LAB_0001a258;\n        }\n      }\n      uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n    }" { (if_statement "if (param_5 == 0) {\n        bVar1 = false;\n      }\n      else {\n        if ((param_5 & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n        if ((iVar4 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        bVar1 = true;\n        if (*piVar3 != 2) {\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n      }" if (parenthesized_expression "(param_5 == 0)" ( (binary_expression "param_5 == 0" identifier == number_literal) )) (compound_statement "{\n        bVar1 = false;\n      }" { (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) }) (else_clause "else {\n        if ((param_5 & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n        if ((iVar4 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        bVar1 = true;\n        if (*piVar3 != 2) {\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n      }" else (compound_statement "{\n        if ((param_5 & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n        if ((iVar4 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        bVar1 = true;\n        if (*piVar3 != 2) {\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n      }" { (if_statement "if ((param_5 & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }" if (parenthesized_expression "((param_5 & 0xfffffffe) != 0)" ( (binary_expression "(param_5 & 0xfffffffe) != 0" (parenthesized_expression "(param_5 & 0xfffffffe)" ( (binary_expression "param_5 & 0xfffffffe" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n          *piVar3 = 0x7a;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }" { (expression_statement "*piVar3 = 0x7a;" (assignment_expression "*piVar3 = 0x7a" (pointer_expression "*piVar3" * identifier) = number_literal) ;) (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" identifier = number_literal) ;) (goto_statement "goto LAB_0001a258;" goto statement_identifier ;) })) (expression_statement "iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);" (assignment_expression "iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100)" identifier = (call_expression "(*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100)" (parenthesized_expression "(*(code *)PTR___fxstatat64_00032390)" ( (pointer_expression "*(code *)PTR___fxstatat64_00032390" * (cast_expression "(code *)PTR___fxstatat64_00032390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,param_3,param_4,auStack_c8,0x100)" ( number_literal , identifier , identifier , identifier , number_literal )))) ;) (if_statement "if ((iVar4 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }" if (parenthesized_expression "((iVar4 == 0) || (*piVar3 == 0x4f))" ( (binary_expression "(iVar4 == 0) || (*piVar3 == 0x4f)" (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) || (parenthesized_expression "(*piVar3 == 0x4f)" ( (binary_expression "*piVar3 == 0x4f" (pointer_expression "*piVar3" * identifier) == number_literal) ))) )) (compound_statement "{\n          *piVar3 = 0x11;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }" { (expression_statement "*piVar3 = 0x11;" (assignment_expression "*piVar3 = 0x11" (pointer_expression "*piVar3" * identifier) = number_literal) ;) (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" identifier = number_literal) ;) (goto_statement "goto LAB_0001a258;" goto statement_identifier ;) })) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) (if_statement "if (*piVar3 != 2) {\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }" if (parenthesized_expression "(*piVar3 != 2)" ( (binary_expression "*piVar3 != 2" (pointer_expression "*piVar3" * identifier) != number_literal) )) (compound_statement "{\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }" { (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" identifier = number_literal) ;) (goto_statement "goto LAB_0001a258;" goto statement_identifier ;) })) }))) (expression_statement "iVar4 = (*(code *)PTR_strlen_00032344)(param_2);" (assignment_expression "iVar4 = (*(code *)PTR_strlen_00032344)(param_2)" identifier = (call_expression "(*(code *)PTR_strlen_00032344)(param_2)" (parenthesized_expression "(*(code *)PTR_strlen_00032344)" ( (pointer_expression "*(code *)PTR_strlen_00032344" * (cast_expression "(code *)PTR_strlen_00032344" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (iVar4 != 0) {\n        iVar5 = (*(code *)PTR_strlen_00032344)(param_4);\n        if (iVar5 != 0) {\n          if ((*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/'))\n          {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);\n            uVar2 = 0xffffffff;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }\n          }\n          else {\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }\n          goto LAB_0001a258;\n        }\n      }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar5 = (*(code *)PTR_strlen_00032344)(param_4);\n        if (iVar5 != 0) {\n          if ((*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/'))\n          {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);\n            uVar2 = 0xffffffff;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }\n          }\n          else {\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }\n          goto LAB_0001a258;\n        }\n      }" { (expression_statement "iVar5 = (*(code *)PTR_strlen_00032344)(param_4);" (assignment_expression "iVar5 = (*(code *)PTR_strlen_00032344)(param_4)" identifier = (call_expression "(*(code *)PTR_strlen_00032344)(param_4)" (parenthesized_expression "(*(code *)PTR_strlen_00032344)" ( (pointer_expression "*(code *)PTR_strlen_00032344" * (cast_expression "(code *)PTR_strlen_00032344" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_4)" ( identifier )))) ;) (if_statement "if (iVar5 != 0) {\n          if ((*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/'))\n          {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);\n            uVar2 = 0xffffffff;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }\n          }\n          else {\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }\n          goto LAB_0001a258;\n        }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n          if ((*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/'))\n          {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);\n            uVar2 = 0xffffffff;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }\n          }\n          else {\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }\n          goto LAB_0001a258;\n        }" { (if_statement "if ((*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/'))\n          {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);\n            uVar2 = 0xffffffff;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }\n          }\n          else {\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }" if (parenthesized_expression "((*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/'))" ( (binary_expression "(*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/')" (parenthesized_expression "(*(char *)(param_2 + iVar4 + -1) == '/')" ( (binary_expression "*(char *)(param_2 + iVar4 + -1) == '/'" (pointer_expression "*(char *)(param_2 + iVar4 + -1)" * (cast_expression "(char *)(param_2 + iVar4 + -1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar4 + -1)" ( (binary_expression "param_2 + iVar4 + -1" (binary_expression "param_2 + iVar4" identifier + identifier) + number_literal) )))) == (char_literal "'/'" ' character ')) )) || (parenthesized_expression "(*(char *)(param_4 + iVar5 + -1) == '/')" ( (binary_expression "*(char *)(param_4 + iVar5 + -1) == '/'" (pointer_expression "*(char *)(param_4 + iVar5 + -1)" * (cast_expression "(char *)(param_4 + iVar5 + -1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + iVar5 + -1)" ( (binary_expression "param_4 + iVar5 + -1" (binary_expression "param_4 + iVar5" identifier + identifier) + number_literal) )))) == (char_literal "'/'" ' character ')) ))) )) (compound_statement "{\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);\n            uVar2 = 0xffffffff;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }\n          }" { (expression_statement "iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);" (assignment_expression "iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100)" identifier = (call_expression "(*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100)" (parenthesized_expression "(*(code *)PTR___fxstatat64_00032390)" ( (pointer_expression "*(code *)PTR___fxstatat64_00032390" * (cast_expression "(code *)PTR___fxstatat64_00032390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,param_1,param_2,auStack_168,0x100)" ( number_literal , identifier , identifier , identifier , number_literal )))) ;) (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" identifier = number_literal) ;) (if_statement "if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }" { (if_statement "if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }" { (if_statement "if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }" if (parenthesized_expression "((local_150 & 0xf000) != 0x4000)" ( (binary_expression "(local_150 & 0xf000) != 0x4000" (parenthesized_expression "(local_150 & 0xf000)" ( (binary_expression "local_150 & 0xf000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }" { (expression_statement "*piVar3 = 2;" (assignment_expression "*piVar3 = 2" (pointer_expression "*piVar3" * identifier) = number_literal) ;) (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" identifier = number_literal) ;) (goto_statement "goto LAB_0001a258;" goto statement_identifier ;) })) }) (else_clause "else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }" else (compound_statement "{\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }" { (expression_statement "iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);" (assignment_expression "iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100)" identifier = (call_expression "(*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100)" (parenthesized_expression "(*(code *)PTR___fxstatat64_00032390)" ( (pointer_expression "*(code *)PTR___fxstatat64_00032390" * (cast_expression "(code *)PTR___fxstatat64_00032390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,param_3,param_4,auStack_c8,0x100)" ( number_literal , identifier , identifier , identifier , number_literal )))) ;) (if_statement "if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }" { (if_statement "if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }" if (parenthesized_expression "((local_b0 & 0xf000) != 0x4000)" ( (binary_expression "(local_b0 & 0xf000) != 0x4000" (parenthesized_expression "(local_b0 & 0xf000)" ( (binary_expression "local_b0 & 0xf000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }" { (expression_statement "*piVar3 = 0x14;" (assignment_expression "*piVar3 = 0x14" (pointer_expression "*piVar3" * identifier) = number_literal) ;) (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" identifier = number_literal) ;) (goto_statement "goto LAB_0001a258;" goto statement_identifier ;) })) (if_statement "if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }" if (parenthesized_expression "((local_150 & 0xf000) != 0x4000)" ( (binary_expression "(local_150 & 0xf000) != 0x4000" (parenthesized_expression "(local_150 & 0xf000)" ( (binary_expression "local_150 & 0xf000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }" { (expression_statement "*piVar3 = 0x15;" (assignment_expression "*piVar3 = 0x15" (pointer_expression "*piVar3" * identifier) = number_literal) ;) (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" identifier = number_literal) ;) (goto_statement "goto LAB_0001a258;" goto statement_identifier ;) })) }) (else_clause "else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }" else (compound_statement "{\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }" { (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" identifier = number_literal) ;) (if_statement "if (*piVar3 != 2) goto LAB_0001a258;" if (parenthesized_expression "(*piVar3 != 2)" ( (binary_expression "*piVar3 != 2" (pointer_expression "*piVar3" * identifier) != number_literal) )) (goto_statement "goto LAB_0001a258;" goto statement_identifier ;)) (if_statement "if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }" if (parenthesized_expression "((local_150 & 0xf000) != 0x4000)" ( (binary_expression "(local_150 & 0xf000) != 0x4000" (parenthesized_expression "(local_150 & 0xf000)" ( (binary_expression "local_150 & 0xf000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }" { (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" identifier = number_literal) ;) (goto_statement "goto LAB_0001a258;" goto statement_identifier ;) })) }))) }))) (expression_statement "uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);" (assignment_expression "uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4)" identifier = (call_expression "(*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4)" (parenthesized_expression "(*(code *)PTR_renameat_000322c8)" ( (pointer_expression "*(code *)PTR_renameat_000322c8" * (cast_expression "(code *)PTR_renameat_000322c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2,param_3,param_4)" ( identifier , identifier , identifier , identifier )))) ;) })) }) (else_clause "else {\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }" else (compound_statement "{\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }" { (expression_statement "uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);" (assignment_expression "uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4)" identifier = (call_expression "(*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4)" (parenthesized_expression "(*(code *)PTR_renameat_000322c8)" ( (pointer_expression "*(code *)PTR_renameat_000322c8" * (cast_expression "(code *)PTR_renameat_000322c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2,param_3,param_4)" ( identifier , identifier , identifier , identifier )))) ;) }))) (goto_statement "goto LAB_0001a258;" goto statement_identifier ;) })) })) (expression_statement "uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);" (assignment_expression "uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4)" identifier = (call_expression "(*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4)" (parenthesized_expression "(*(code *)PTR_renameat_000322c8)" ( (pointer_expression "*(code *)PTR_renameat_000322c8" * (cast_expression "(code *)PTR_renameat_000322c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2,param_3,param_4)" ( identifier , identifier , identifier , identifier )))) ;) })) })) (labeled_statement "LAB_0001a258:\n  if (local_24 != *(uint *)PTR___stack_chk_guard_000323c0) {\n    uVar2 = local_24;\n    puVar9 = PTR___stack_chk_fail_000323a0;\n    (*(code *)PTR___stack_chk_fail_000323a0)();\n    uVar6 = uVar2;\n    if (uVar2 < 3) {\n      uVar6 = dup_safer();\n      puVar7 = (undefined4 *)(**(code **)(puVar9 + 0x17f98))();\n      uVar8 = *puVar7;\n      (**(code **)(puVar9 + 0x17f1c))(uVar2);\n      *puVar7 = uVar8;\n    }\n    return uVar6;\n  }" statement_identifier : (if_statement "if (local_24 != *(uint *)PTR___stack_chk_guard_000323c0) {\n    uVar2 = local_24;\n    puVar9 = PTR___stack_chk_fail_000323a0;\n    (*(code *)PTR___stack_chk_fail_000323a0)();\n    uVar6 = uVar2;\n    if (uVar2 < 3) {\n      uVar6 = dup_safer();\n      puVar7 = (undefined4 *)(**(code **)(puVar9 + 0x17f98))();\n      uVar8 = *puVar7;\n      (**(code **)(puVar9 + 0x17f1c))(uVar2);\n      *puVar7 = uVar8;\n    }\n    return uVar6;\n  }" if (parenthesized_expression "(local_24 != *(uint *)PTR___stack_chk_guard_000323c0)" ( (binary_expression "local_24 != *(uint *)PTR___stack_chk_guard_000323c0" identifier != (pointer_expression "*(uint *)PTR___stack_chk_guard_000323c0" * (cast_expression "(uint *)PTR___stack_chk_guard_000323c0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    uVar2 = local_24;\n    puVar9 = PTR___stack_chk_fail_000323a0;\n    (*(code *)PTR___stack_chk_fail_000323a0)();\n    uVar6 = uVar2;\n    if (uVar2 < 3) {\n      uVar6 = dup_safer();\n      puVar7 = (undefined4 *)(**(code **)(puVar9 + 0x17f98))();\n      uVar8 = *puVar7;\n      (**(code **)(puVar9 + 0x17f1c))(uVar2);\n      *puVar7 = uVar8;\n    }\n    return uVar6;\n  }" { (expression_statement "uVar2 = local_24;" (assignment_expression "uVar2 = local_24" identifier = identifier) ;) (expression_statement "puVar9 = PTR___stack_chk_fail_000323a0;" (assignment_expression "puVar9 = PTR___stack_chk_fail_000323a0" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000323a0)();" (call_expression "(*(code *)PTR___stack_chk_fail_000323a0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000323a0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000323a0" * (cast_expression "(code *)PTR___stack_chk_fail_000323a0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "uVar6 = uVar2;" (assignment_expression "uVar6 = uVar2" identifier = identifier) ;) (if_statement "if (uVar2 < 3) {\n      uVar6 = dup_safer();\n      puVar7 = (undefined4 *)(**(code **)(puVar9 + 0x17f98))();\n      uVar8 = *puVar7;\n      (**(code **)(puVar9 + 0x17f1c))(uVar2);\n      *puVar7 = uVar8;\n    }" if (parenthesized_expression "(uVar2 < 3)" ( (binary_expression "uVar2 < 3" identifier < number_literal) )) (compound_statement "{\n      uVar6 = dup_safer();\n      puVar7 = (undefined4 *)(**(code **)(puVar9 + 0x17f98))();\n      uVar8 = *puVar7;\n      (**(code **)(puVar9 + 0x17f1c))(uVar2);\n      *puVar7 = uVar8;\n    }" { (expression_statement "uVar6 = dup_safer();" (assignment_expression "uVar6 = dup_safer()" identifier = (call_expression "dup_safer()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar7 = (undefined4 *)(**(code **)(puVar9 + 0x17f98))();" (assignment_expression "puVar7 = (undefined4 *)(**(code **)(puVar9 + 0x17f98))()" identifier = (cast_expression "(undefined4 *)(**(code **)(puVar9 + 0x17f98))()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar9 + 0x17f98))()" (parenthesized_expression "(**(code **)(puVar9 + 0x17f98))" ( (pointer_expression "**(code **)(puVar9 + 0x17f98)" * (pointer_expression "*(code **)(puVar9 + 0x17f98)" * (cast_expression "(code **)(puVar9 + 0x17f98)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x17f98)" ( (binary_expression "puVar9 + 0x17f98" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar8 = *puVar7;" (assignment_expression "uVar8 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "(**(code **)(puVar9 + 0x17f1c))(uVar2);" (call_expression "(**(code **)(puVar9 + 0x17f1c))(uVar2)" (parenthesized_expression "(**(code **)(puVar9 + 0x17f1c))" ( (pointer_expression "**(code **)(puVar9 + 0x17f1c)" * (pointer_expression "*(code **)(puVar9 + 0x17f1c)" * (cast_expression "(code **)(puVar9 + 0x17f1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x17f1c)" ( (binary_expression "puVar9 + 0x17f1c" identifier + number_literal) ))))) )) (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "*puVar7 = uVar8;" (assignment_expression "*puVar7 = uVar8" (pointer_expression "*puVar7" * identifier) = identifier) ;) })) (return_statement "return uVar6;" return identifier ;) }))) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE 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 ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , IDENT , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = BOOL) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) == (char_literal ' character ')) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) == (char_literal ' character ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , IDENT , IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , IDENT , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) }))) }))) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT , IDENT )))) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT , IDENT )))) ;) }))) (goto_statement goto statement_identifier ;) })) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT , IDENT )))) ;) })) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) (return_statement return IDENT ;) }))) (return_statement return IDENT ;) })))
(function_definition "uint renameatu(undefined4 param_1,int param_2,undefined4 param_3,int param_4,uint param_5)\n\n{\n  bool bVar1;\n  uint uVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  undefined4 *puVar7;\n  undefined4 uVar8;\n  undefined *puVar9;\n  undefined1 auStack_168 [24];\n  uint local_150;\n  undefined1 auStack_c8 [24];\n  uint local_b0;\n  uint local_24;\n  \n  local_24 = *(uint *)PTR___stack_chk_guard_000323c0;\n  uVar2 = (*(code *)PTR_renameat2_00032310)();\n  if ((int)uVar2 < 0) {\n    piVar3 = (int *)(*(code *)PTR___errno_location_00032318)();\n    iVar4 = *piVar3;\n    if (((iVar4 == 0x16) || (iVar4 == 0x59)) || (iVar4 == 0x7a)) {\n      if (param_5 == 0) {\n        bVar1 = false;\n      }\n      else {\n        if ((param_5 & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n        if ((iVar4 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        bVar1 = true;\n        if (*piVar3 != 2) {\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n      }\n      iVar4 = (*(code *)PTR_strlen_00032344)(param_2);\n      if (iVar4 != 0) {\n        iVar5 = (*(code *)PTR_strlen_00032344)(param_4);\n        if (iVar5 != 0) {\n          if ((*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/'))\n          {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);\n            uVar2 = 0xffffffff;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }\n          }\n          else {\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }\n          goto LAB_0001a258;\n        }\n      }\n      uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n    }\n  }\nLAB_0001a258:\n  if (local_24 != *(uint *)PTR___stack_chk_guard_000323c0) {\n    uVar2 = local_24;\n    puVar9 = PTR___stack_chk_fail_000323a0;\n    (*(code *)PTR___stack_chk_fail_000323a0)();\n    uVar6 = uVar2;\n    if (uVar2 < 3) {\n      uVar6 = dup_safer();\n      puVar7 = (undefined4 *)(**(code **)(puVar9 + 0x17f98))();\n      uVar8 = *puVar7;\n      (**(code **)(puVar9 + 0x17f1c))(uVar2);\n      *puVar7 = uVar8;\n    }\n    return uVar6;\n  }\n  return uVar2;\n}" (type_identifier "uint") (function_declarator "renameatu(undefined4 param_1,int param_2,undefined4 param_3,int param_4,uint param_5)" (identifier "renameatu") (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3,int param_4,uint param_5)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) (, ",") (parameter_declaration "uint param_5" (type_identifier "uint") (identifier "param_5")) () ")"))) (compound_statement "{\n  bool bVar1;\n  uint uVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  undefined4 *puVar7;\n  undefined4 uVar8;\n  undefined *puVar9;\n  undefined1 auStack_168 [24];\n  uint local_150;\n  undefined1 auStack_c8 [24];\n  uint local_b0;\n  uint local_24;\n  \n  local_24 = *(uint *)PTR___stack_chk_guard_000323c0;\n  uVar2 = (*(code *)PTR_renameat2_00032310)();\n  if ((int)uVar2 < 0) {\n    piVar3 = (int *)(*(code *)PTR___errno_location_00032318)();\n    iVar4 = *piVar3;\n    if (((iVar4 == 0x16) || (iVar4 == 0x59)) || (iVar4 == 0x7a)) {\n      if (param_5 == 0) {\n        bVar1 = false;\n      }\n      else {\n        if ((param_5 & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n        if ((iVar4 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        bVar1 = true;\n        if (*piVar3 != 2) {\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n      }\n      iVar4 = (*(code *)PTR_strlen_00032344)(param_2);\n      if (iVar4 != 0) {\n        iVar5 = (*(code *)PTR_strlen_00032344)(param_4);\n        if (iVar5 != 0) {\n          if ((*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/'))\n          {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);\n            uVar2 = 0xffffffff;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }\n          }\n          else {\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }\n          goto LAB_0001a258;\n        }\n      }\n      uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n    }\n  }\nLAB_0001a258:\n  if (local_24 != *(uint *)PTR___stack_chk_guard_000323c0) {\n    uVar2 = local_24;\n    puVar9 = PTR___stack_chk_fail_000323a0;\n    (*(code *)PTR___stack_chk_fail_000323a0)();\n    uVar6 = uVar2;\n    if (uVar2 < 3) {\n      uVar6 = dup_safer();\n      puVar7 = (undefined4 *)(**(code **)(puVar9 + 0x17f98))();\n      uVar8 = *puVar7;\n      (**(code **)(puVar9 + 0x17f1c))(uVar2);\n      *puVar7 = uVar8;\n    }\n    return uVar6;\n  }\n  return uVar2;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "undefined4 *puVar7;" (type_identifier "undefined4") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "undefined4 uVar8;" (type_identifier "undefined4") (identifier "uVar8") (; ";")) (declaration "undefined *puVar9;" (type_identifier "undefined") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "undefined1 auStack_168 [24];" (type_identifier "undefined1") (array_declarator "auStack_168 [24]" (identifier "auStack_168") ([ "[") (number_literal "24") (] "]")) (; ";")) (declaration "uint local_150;" (type_identifier "uint") (identifier "local_150") (; ";")) (declaration "undefined1 auStack_c8 [24];" (type_identifier "undefined1") (array_declarator "auStack_c8 [24]" (identifier "auStack_c8") ([ "[") (number_literal "24") (] "]")) (; ";")) (declaration "uint local_b0;" (type_identifier "uint") (identifier "local_b0") (; ";")) (declaration "uint local_24;" (type_identifier "uint") (identifier "local_24") (; ";")) (expression_statement "local_24 = *(uint *)PTR___stack_chk_guard_000323c0;" (assignment_expression "local_24 = *(uint *)PTR___stack_chk_guard_000323c0" (identifier "local_24") (= "=") (pointer_expression "*(uint *)PTR___stack_chk_guard_000323c0" (* "*") (cast_expression "(uint *)PTR___stack_chk_guard_000323c0" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_000323c0")))) (; ";")) (expression_statement "uVar2 = (*(code *)PTR_renameat2_00032310)();" (assignment_expression "uVar2 = (*(code *)PTR_renameat2_00032310)()" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_renameat2_00032310)()" (parenthesized_expression "(*(code *)PTR_renameat2_00032310)" (( "(") (pointer_expression "*(code *)PTR_renameat2_00032310" (* "*") (cast_expression "(code *)PTR_renameat2_00032310" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_renameat2_00032310"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if ((int)uVar2 < 0) {\n    piVar3 = (int *)(*(code *)PTR___errno_location_00032318)();\n    iVar4 = *piVar3;\n    if (((iVar4 == 0x16) || (iVar4 == 0x59)) || (iVar4 == 0x7a)) {\n      if (param_5 == 0) {\n        bVar1 = false;\n      }\n      else {\n        if ((param_5 & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n        if ((iVar4 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        bVar1 = true;\n        if (*piVar3 != 2) {\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n      }\n      iVar4 = (*(code *)PTR_strlen_00032344)(param_2);\n      if (iVar4 != 0) {\n        iVar5 = (*(code *)PTR_strlen_00032344)(param_4);\n        if (iVar5 != 0) {\n          if ((*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/'))\n          {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);\n            uVar2 = 0xffffffff;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }\n          }\n          else {\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }\n          goto LAB_0001a258;\n        }\n      }\n      uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n    }\n  }" (if "if") (parenthesized_expression "((int)uVar2 < 0)" (( "(") (binary_expression "(int)uVar2 < 0" (cast_expression "(int)uVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar2")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    piVar3 = (int *)(*(code *)PTR___errno_location_00032318)();\n    iVar4 = *piVar3;\n    if (((iVar4 == 0x16) || (iVar4 == 0x59)) || (iVar4 == 0x7a)) {\n      if (param_5 == 0) {\n        bVar1 = false;\n      }\n      else {\n        if ((param_5 & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n        if ((iVar4 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        bVar1 = true;\n        if (*piVar3 != 2) {\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n      }\n      iVar4 = (*(code *)PTR_strlen_00032344)(param_2);\n      if (iVar4 != 0) {\n        iVar5 = (*(code *)PTR_strlen_00032344)(param_4);\n        if (iVar5 != 0) {\n          if ((*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/'))\n          {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);\n            uVar2 = 0xffffffff;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }\n          }\n          else {\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }\n          goto LAB_0001a258;\n        }\n      }\n      uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n    }\n  }" ({ "{") (expression_statement "piVar3 = (int *)(*(code *)PTR___errno_location_00032318)();" (assignment_expression "piVar3 = (int *)(*(code *)PTR___errno_location_00032318)()" (identifier "piVar3") (= "=") (cast_expression "(int *)(*(code *)PTR___errno_location_00032318)()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___errno_location_00032318)()" (parenthesized_expression "(*(code *)PTR___errno_location_00032318)" (( "(") (pointer_expression "*(code *)PTR___errno_location_00032318" (* "*") (cast_expression "(code *)PTR___errno_location_00032318" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___errno_location_00032318"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "iVar4 = *piVar3;" (assignment_expression "iVar4 = *piVar3" (identifier "iVar4") (= "=") (pointer_expression "*piVar3" (* "*") (identifier "piVar3"))) (; ";")) (if_statement "if (((iVar4 == 0x16) || (iVar4 == 0x59)) || (iVar4 == 0x7a)) {\n      if (param_5 == 0) {\n        bVar1 = false;\n      }\n      else {\n        if ((param_5 & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n        if ((iVar4 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        bVar1 = true;\n        if (*piVar3 != 2) {\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n      }\n      iVar4 = (*(code *)PTR_strlen_00032344)(param_2);\n      if (iVar4 != 0) {\n        iVar5 = (*(code *)PTR_strlen_00032344)(param_4);\n        if (iVar5 != 0) {\n          if ((*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/'))\n          {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);\n            uVar2 = 0xffffffff;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }\n          }\n          else {\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }\n          goto LAB_0001a258;\n        }\n      }\n      uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n    }" (if "if") (parenthesized_expression "(((iVar4 == 0x16) || (iVar4 == 0x59)) || (iVar4 == 0x7a))" (( "(") (binary_expression "((iVar4 == 0x16) || (iVar4 == 0x59)) || (iVar4 == 0x7a)" (parenthesized_expression "((iVar4 == 0x16) || (iVar4 == 0x59))" (( "(") (binary_expression "(iVar4 == 0x16) || (iVar4 == 0x59)" (parenthesized_expression "(iVar4 == 0x16)" (( "(") (binary_expression "iVar4 == 0x16" (identifier "iVar4") (== "==") (number_literal "0x16")) () ")")) (|| "||") (parenthesized_expression "(iVar4 == 0x59)" (( "(") (binary_expression "iVar4 == 0x59" (identifier "iVar4") (== "==") (number_literal "0x59")) () ")"))) () ")")) (|| "||") (parenthesized_expression "(iVar4 == 0x7a)" (( "(") (binary_expression "iVar4 == 0x7a" (identifier "iVar4") (== "==") (number_literal "0x7a")) () ")"))) () ")")) (compound_statement "{\n      if (param_5 == 0) {\n        bVar1 = false;\n      }\n      else {\n        if ((param_5 & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n        if ((iVar4 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        bVar1 = true;\n        if (*piVar3 != 2) {\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n      }\n      iVar4 = (*(code *)PTR_strlen_00032344)(param_2);\n      if (iVar4 != 0) {\n        iVar5 = (*(code *)PTR_strlen_00032344)(param_4);\n        if (iVar5 != 0) {\n          if ((*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/'))\n          {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);\n            uVar2 = 0xffffffff;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }\n          }\n          else {\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }\n          goto LAB_0001a258;\n        }\n      }\n      uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n    }" ({ "{") (if_statement "if (param_5 == 0) {\n        bVar1 = false;\n      }\n      else {\n        if ((param_5 & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n        if ((iVar4 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        bVar1 = true;\n        if (*piVar3 != 2) {\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n      }" (if "if") (parenthesized_expression "(param_5 == 0)" (( "(") (binary_expression "param_5 == 0" (identifier "param_5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        bVar1 = false;\n      }" ({ "{") (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" (identifier "bVar1") (= "=") (false "false")) (; ";")) (} "}")) (else_clause "else {\n        if ((param_5 & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n        if ((iVar4 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        bVar1 = true;\n        if (*piVar3 != 2) {\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n      }" (else "else") (compound_statement "{\n        if ((param_5 & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n        if ((iVar4 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n        bVar1 = true;\n        if (*piVar3 != 2) {\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }\n      }" ({ "{") (if_statement "if ((param_5 & 0xfffffffe) != 0) {\n          *piVar3 = 0x7a;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }" (if "if") (parenthesized_expression "((param_5 & 0xfffffffe) != 0)" (( "(") (binary_expression "(param_5 & 0xfffffffe) != 0" (parenthesized_expression "(param_5 & 0xfffffffe)" (( "(") (binary_expression "param_5 & 0xfffffffe" (identifier "param_5") (& "&") (number_literal "0xfffffffe")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          *piVar3 = 0x7a;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }" ({ "{") (expression_statement "*piVar3 = 0x7a;" (assignment_expression "*piVar3 = 0x7a" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (= "=") (number_literal "0x7a")) (; ";")) (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" (identifier "uVar2") (= "=") (number_literal "0xffffffff")) (; ";")) (goto_statement "goto LAB_0001a258;" (goto "goto") (statement_identifier "LAB_0001a258") (; ";")) (} "}"))) (expression_statement "iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);" (assignment_expression "iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100)" (parenthesized_expression "(*(code *)PTR___fxstatat64_00032390)" (( "(") (pointer_expression "*(code *)PTR___fxstatat64_00032390" (* "*") (cast_expression "(code *)PTR___fxstatat64_00032390" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___fxstatat64_00032390"))) () ")")) (argument_list "(3,param_3,param_4,auStack_c8,0x100)" (( "(") (number_literal "3") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "auStack_c8") (, ",") (number_literal "0x100") () ")")))) (; ";")) (if_statement "if ((iVar4 == 0) || (*piVar3 == 0x4f)) {\n          *piVar3 = 0x11;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }" (if "if") (parenthesized_expression "((iVar4 == 0) || (*piVar3 == 0x4f))" (( "(") (binary_expression "(iVar4 == 0) || (*piVar3 == 0x4f)" (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(*piVar3 == 0x4f)" (( "(") (binary_expression "*piVar3 == 0x4f" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (== "==") (number_literal "0x4f")) () ")"))) () ")")) (compound_statement "{\n          *piVar3 = 0x11;\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }" ({ "{") (expression_statement "*piVar3 = 0x11;" (assignment_expression "*piVar3 = 0x11" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (= "=") (number_literal "0x11")) (; ";")) (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" (identifier "uVar2") (= "=") (number_literal "0xffffffff")) (; ";")) (goto_statement "goto LAB_0001a258;" (goto "goto") (statement_identifier "LAB_0001a258") (; ";")) (} "}"))) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" (identifier "bVar1") (= "=") (true "true")) (; ";")) (if_statement "if (*piVar3 != 2) {\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }" (if "if") (parenthesized_expression "(*piVar3 != 2)" (( "(") (binary_expression "*piVar3 != 2" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (!= "!=") (number_literal "2")) () ")")) (compound_statement "{\n          uVar2 = 0xffffffff;\n          goto LAB_0001a258;\n        }" ({ "{") (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" (identifier "uVar2") (= "=") (number_literal "0xffffffff")) (; ";")) (goto_statement "goto LAB_0001a258;" (goto "goto") (statement_identifier "LAB_0001a258") (; ";")) (} "}"))) (} "}")))) (expression_statement "iVar4 = (*(code *)PTR_strlen_00032344)(param_2);" (assignment_expression "iVar4 = (*(code *)PTR_strlen_00032344)(param_2)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR_strlen_00032344)(param_2)" (parenthesized_expression "(*(code *)PTR_strlen_00032344)" (( "(") (pointer_expression "*(code *)PTR_strlen_00032344" (* "*") (cast_expression "(code *)PTR_strlen_00032344" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00032344"))) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar4 != 0) {\n        iVar5 = (*(code *)PTR_strlen_00032344)(param_4);\n        if (iVar5 != 0) {\n          if ((*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/'))\n          {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);\n            uVar2 = 0xffffffff;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }\n          }\n          else {\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }\n          goto LAB_0001a258;\n        }\n      }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        iVar5 = (*(code *)PTR_strlen_00032344)(param_4);\n        if (iVar5 != 0) {\n          if ((*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/'))\n          {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);\n            uVar2 = 0xffffffff;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }\n          }\n          else {\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }\n          goto LAB_0001a258;\n        }\n      }" ({ "{") (expression_statement "iVar5 = (*(code *)PTR_strlen_00032344)(param_4);" (assignment_expression "iVar5 = (*(code *)PTR_strlen_00032344)(param_4)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_strlen_00032344)(param_4)" (parenthesized_expression "(*(code *)PTR_strlen_00032344)" (( "(") (pointer_expression "*(code *)PTR_strlen_00032344" (* "*") (cast_expression "(code *)PTR_strlen_00032344" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00032344"))) () ")")) (argument_list "(param_4)" (( "(") (identifier "param_4") () ")")))) (; ";")) (if_statement "if (iVar5 != 0) {\n          if ((*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/'))\n          {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);\n            uVar2 = 0xffffffff;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }\n          }\n          else {\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }\n          goto LAB_0001a258;\n        }" (if "if") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          if ((*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/'))\n          {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);\n            uVar2 = 0xffffffff;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }\n          }\n          else {\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }\n          goto LAB_0001a258;\n        }" ({ "{") (if_statement "if ((*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/'))\n          {\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);\n            uVar2 = 0xffffffff;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }\n          }\n          else {\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }" (if "if") (parenthesized_expression "((*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/'))" (( "(") (binary_expression "(*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/')" (parenthesized_expression "(*(char *)(param_2 + iVar4 + -1) == '/')" (( "(") (binary_expression "*(char *)(param_2 + iVar4 + -1) == '/'" (pointer_expression "*(char *)(param_2 + iVar4 + -1)" (* "*") (cast_expression "(char *)(param_2 + iVar4 + -1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + iVar4 + -1)" (( "(") (binary_expression "param_2 + iVar4 + -1" (binary_expression "param_2 + iVar4" (identifier "param_2") (+ "+") (identifier "iVar4")) (+ "+") (number_literal "-1")) () ")")))) (== "==") (char_literal "'/'" (' "'") (character "/") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(*(char *)(param_4 + iVar5 + -1) == '/')" (( "(") (binary_expression "*(char *)(param_4 + iVar5 + -1) == '/'" (pointer_expression "*(char *)(param_4 + iVar5 + -1)" (* "*") (cast_expression "(char *)(param_4 + iVar5 + -1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + iVar5 + -1)" (( "(") (binary_expression "param_4 + iVar5 + -1" (binary_expression "param_4 + iVar5" (identifier "param_4") (+ "+") (identifier "iVar5")) (+ "+") (number_literal "-1")) () ")")))) (== "==") (char_literal "'/'" (' "'") (character "/") (' "'"))) () ")"))) () ")")) (compound_statement "{\n            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);\n            uVar2 = 0xffffffff;\n            if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }\n          }" ({ "{") (expression_statement "iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);" (assignment_expression "iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100)" (parenthesized_expression "(*(code *)PTR___fxstatat64_00032390)" (( "(") (pointer_expression "*(code *)PTR___fxstatat64_00032390" (* "*") (cast_expression "(code *)PTR___fxstatat64_00032390" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___fxstatat64_00032390"))) () ")")) (argument_list "(3,param_1,param_2,auStack_168,0x100)" (( "(") (number_literal "3") (, ",") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "auStack_168") (, ",") (number_literal "0x100") () ")")))) (; ";")) (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" (identifier "uVar2") (= "=") (number_literal "0xffffffff")) (; ";")) (if_statement "if (iVar4 == 0) {\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }\n              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n            }" ({ "{") (if_statement "if (bVar1) {\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }\n              else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }" (if "if") (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (compound_statement "{\n                if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }\n              }" ({ "{") (if_statement "if ((local_150 & 0xf000) != 0x4000) {\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }" (if "if") (parenthesized_expression "((local_150 & 0xf000) != 0x4000)" (( "(") (binary_expression "(local_150 & 0xf000) != 0x4000" (parenthesized_expression "(local_150 & 0xf000)" (( "(") (binary_expression "local_150 & 0xf000" (identifier "local_150") (& "&") (number_literal "0xf000")) () ")")) (!= "!=") (number_literal "0x4000")) () ")")) (compound_statement "{\n                  *piVar3 = 2;\n                  uVar2 = 0xffffffff;\n                  goto LAB_0001a258;\n                }" ({ "{") (expression_statement "*piVar3 = 2;" (assignment_expression "*piVar3 = 2" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (= "=") (number_literal "2")) (; ";")) (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" (identifier "uVar2") (= "=") (number_literal "0xffffffff")) (; ";")) (goto_statement "goto LAB_0001a258;" (goto "goto") (statement_identifier "LAB_0001a258") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }" (else "else") (compound_statement "{\n                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);\n                if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n              }" ({ "{") (expression_statement "iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);" (assignment_expression "iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100)" (parenthesized_expression "(*(code *)PTR___fxstatat64_00032390)" (( "(") (pointer_expression "*(code *)PTR___fxstatat64_00032390" (* "*") (cast_expression "(code *)PTR___fxstatat64_00032390" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___fxstatat64_00032390"))) () ")")) (argument_list "(3,param_3,param_4,auStack_c8,0x100)" (( "(") (number_literal "3") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "auStack_c8") (, ",") (number_literal "0x100") () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }\n                else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                  if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }" ({ "{") (if_statement "if ((local_b0 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }" (if "if") (parenthesized_expression "((local_b0 & 0xf000) != 0x4000)" (( "(") (binary_expression "(local_b0 & 0xf000) != 0x4000" (parenthesized_expression "(local_b0 & 0xf000)" (( "(") (binary_expression "local_b0 & 0xf000" (identifier "local_b0") (& "&") (number_literal "0xf000")) () ")")) (!= "!=") (number_literal "0x4000")) () ")")) (compound_statement "{\n                    *piVar3 = 0x14;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }" ({ "{") (expression_statement "*piVar3 = 0x14;" (assignment_expression "*piVar3 = 0x14" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (= "=") (number_literal "0x14")) (; ";")) (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" (identifier "uVar2") (= "=") (number_literal "0xffffffff")) (; ";")) (goto_statement "goto LAB_0001a258;" (goto "goto") (statement_identifier "LAB_0001a258") (; ";")) (} "}"))) (if_statement "if ((local_150 & 0xf000) != 0x4000) {\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }" (if "if") (parenthesized_expression "((local_150 & 0xf000) != 0x4000)" (( "(") (binary_expression "(local_150 & 0xf000) != 0x4000" (parenthesized_expression "(local_150 & 0xf000)" (( "(") (binary_expression "local_150 & 0xf000" (identifier "local_150") (& "&") (number_literal "0xf000")) () ")")) (!= "!=") (number_literal "0x4000")) () ")")) (compound_statement "{\n                    *piVar3 = 0x15;\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }" ({ "{") (expression_statement "*piVar3 = 0x15;" (assignment_expression "*piVar3 = 0x15" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (= "=") (number_literal "0x15")) (; ";")) (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" (identifier "uVar2") (= "=") (number_literal "0xffffffff")) (; ";")) (goto_statement "goto LAB_0001a258;" (goto "goto") (statement_identifier "LAB_0001a258") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }" (else "else") (compound_statement "{\n                  uVar2 = 0xffffffff;\n                  if (*piVar3 != 2) goto LAB_0001a258;\n                  if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }\n                }" ({ "{") (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" (identifier "uVar2") (= "=") (number_literal "0xffffffff")) (; ";")) (if_statement "if (*piVar3 != 2) goto LAB_0001a258;" (if "if") (parenthesized_expression "(*piVar3 != 2)" (( "(") (binary_expression "*piVar3 != 2" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (!= "!=") (number_literal "2")) () ")")) (goto_statement "goto LAB_0001a258;" (goto "goto") (statement_identifier "LAB_0001a258") (; ";"))) (if_statement "if ((local_150 & 0xf000) != 0x4000) {\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }" (if "if") (parenthesized_expression "((local_150 & 0xf000) != 0x4000)" (( "(") (binary_expression "(local_150 & 0xf000) != 0x4000" (parenthesized_expression "(local_150 & 0xf000)" (( "(") (binary_expression "local_150 & 0xf000" (identifier "local_150") (& "&") (number_literal "0xf000")) () ")")) (!= "!=") (number_literal "0x4000")) () ")")) (compound_statement "{\n                    uVar2 = 0xffffffff;\n                    goto LAB_0001a258;\n                  }" ({ "{") (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" (identifier "uVar2") (= "=") (number_literal "0xffffffff")) (; ";")) (goto_statement "goto LAB_0001a258;" (goto "goto") (statement_identifier "LAB_0001a258") (; ";")) (} "}"))) (} "}")))) (} "}")))) (expression_statement "uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);" (assignment_expression "uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4)" (parenthesized_expression "(*(code *)PTR_renameat_000322c8)" (( "(") (pointer_expression "*(code *)PTR_renameat_000322c8" (* "*") (cast_expression "(code *)PTR_renameat_000322c8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_renameat_000322c8"))) () ")")) (argument_list "(param_1,param_2,param_3,param_4)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") () ")")))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }" (else "else") (compound_statement "{\n            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);\n          }" ({ "{") (expression_statement "uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);" (assignment_expression "uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4)" (parenthesized_expression "(*(code *)PTR_renameat_000322c8)" (( "(") (pointer_expression "*(code *)PTR_renameat_000322c8" (* "*") (cast_expression "(code *)PTR_renameat_000322c8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_renameat_000322c8"))) () ")")) (argument_list "(param_1,param_2,param_3,param_4)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") () ")")))) (; ";")) (} "}")))) (goto_statement "goto LAB_0001a258;" (goto "goto") (statement_identifier "LAB_0001a258") (; ";")) (} "}"))) (} "}"))) (expression_statement "uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);" (assignment_expression "uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4)" (parenthesized_expression "(*(code *)PTR_renameat_000322c8)" (( "(") (pointer_expression "*(code *)PTR_renameat_000322c8" (* "*") (cast_expression "(code *)PTR_renameat_000322c8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_renameat_000322c8"))) () ")")) (argument_list "(param_1,param_2,param_3,param_4)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") () ")")))) (; ";")) (} "}"))) (} "}"))) (labeled_statement "LAB_0001a258:\n  if (local_24 != *(uint *)PTR___stack_chk_guard_000323c0) {\n    uVar2 = local_24;\n    puVar9 = PTR___stack_chk_fail_000323a0;\n    (*(code *)PTR___stack_chk_fail_000323a0)();\n    uVar6 = uVar2;\n    if (uVar2 < 3) {\n      uVar6 = dup_safer();\n      puVar7 = (undefined4 *)(**(code **)(puVar9 + 0x17f98))();\n      uVar8 = *puVar7;\n      (**(code **)(puVar9 + 0x17f1c))(uVar2);\n      *puVar7 = uVar8;\n    }\n    return uVar6;\n  }" (statement_identifier "LAB_0001a258") (: ":") (if_statement "if (local_24 != *(uint *)PTR___stack_chk_guard_000323c0) {\n    uVar2 = local_24;\n    puVar9 = PTR___stack_chk_fail_000323a0;\n    (*(code *)PTR___stack_chk_fail_000323a0)();\n    uVar6 = uVar2;\n    if (uVar2 < 3) {\n      uVar6 = dup_safer();\n      puVar7 = (undefined4 *)(**(code **)(puVar9 + 0x17f98))();\n      uVar8 = *puVar7;\n      (**(code **)(puVar9 + 0x17f1c))(uVar2);\n      *puVar7 = uVar8;\n    }\n    return uVar6;\n  }" (if "if") (parenthesized_expression "(local_24 != *(uint *)PTR___stack_chk_guard_000323c0)" (( "(") (binary_expression "local_24 != *(uint *)PTR___stack_chk_guard_000323c0" (identifier "local_24") (!= "!=") (pointer_expression "*(uint *)PTR___stack_chk_guard_000323c0" (* "*") (cast_expression "(uint *)PTR___stack_chk_guard_000323c0" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_000323c0")))) () ")")) (compound_statement "{\n    uVar2 = local_24;\n    puVar9 = PTR___stack_chk_fail_000323a0;\n    (*(code *)PTR___stack_chk_fail_000323a0)();\n    uVar6 = uVar2;\n    if (uVar2 < 3) {\n      uVar6 = dup_safer();\n      puVar7 = (undefined4 *)(**(code **)(puVar9 + 0x17f98))();\n      uVar8 = *puVar7;\n      (**(code **)(puVar9 + 0x17f1c))(uVar2);\n      *puVar7 = uVar8;\n    }\n    return uVar6;\n  }" ({ "{") (expression_statement "uVar2 = local_24;" (assignment_expression "uVar2 = local_24" (identifier "uVar2") (= "=") (identifier "local_24")) (; ";")) (expression_statement "puVar9 = PTR___stack_chk_fail_000323a0;" (assignment_expression "puVar9 = PTR___stack_chk_fail_000323a0" (identifier "puVar9") (= "=") (identifier "PTR___stack_chk_fail_000323a0")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_000323a0)();" (call_expression "(*(code *)PTR___stack_chk_fail_000323a0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000323a0)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_000323a0" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_000323a0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_000323a0"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar6 = uVar2;" (assignment_expression "uVar6 = uVar2" (identifier "uVar6") (= "=") (identifier "uVar2")) (; ";")) (if_statement "if (uVar2 < 3) {\n      uVar6 = dup_safer();\n      puVar7 = (undefined4 *)(**(code **)(puVar9 + 0x17f98))();\n      uVar8 = *puVar7;\n      (**(code **)(puVar9 + 0x17f1c))(uVar2);\n      *puVar7 = uVar8;\n    }" (if "if") (parenthesized_expression "(uVar2 < 3)" (( "(") (binary_expression "uVar2 < 3" (identifier "uVar2") (< "<") (number_literal "3")) () ")")) (compound_statement "{\n      uVar6 = dup_safer();\n      puVar7 = (undefined4 *)(**(code **)(puVar9 + 0x17f98))();\n      uVar8 = *puVar7;\n      (**(code **)(puVar9 + 0x17f1c))(uVar2);\n      *puVar7 = uVar8;\n    }" ({ "{") (expression_statement "uVar6 = dup_safer();" (assignment_expression "uVar6 = dup_safer()" (identifier "uVar6") (= "=") (call_expression "dup_safer()" (identifier "dup_safer") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar7 = (undefined4 *)(**(code **)(puVar9 + 0x17f98))();" (assignment_expression "puVar7 = (undefined4 *)(**(code **)(puVar9 + 0x17f98))()" (identifier "puVar7") (= "=") (cast_expression "(undefined4 *)(**(code **)(puVar9 + 0x17f98))()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(puVar9 + 0x17f98))()" (parenthesized_expression "(**(code **)(puVar9 + 0x17f98))" (( "(") (pointer_expression "**(code **)(puVar9 + 0x17f98)" (* "*") (pointer_expression "*(code **)(puVar9 + 0x17f98)" (* "*") (cast_expression "(code **)(puVar9 + 0x17f98)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar9 + 0x17f98)" (( "(") (binary_expression "puVar9 + 0x17f98" (identifier "puVar9") (+ "+") (number_literal "0x17f98")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "uVar8 = *puVar7;" (assignment_expression "uVar8 = *puVar7" (identifier "uVar8") (= "=") (pointer_expression "*puVar7" (* "*") (identifier "puVar7"))) (; ";")) (expression_statement "(**(code **)(puVar9 + 0x17f1c))(uVar2);" (call_expression "(**(code **)(puVar9 + 0x17f1c))(uVar2)" (parenthesized_expression "(**(code **)(puVar9 + 0x17f1c))" (( "(") (pointer_expression "**(code **)(puVar9 + 0x17f1c)" (* "*") (pointer_expression "*(code **)(puVar9 + 0x17f1c)" (* "*") (cast_expression "(code **)(puVar9 + 0x17f1c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar9 + 0x17f1c)" (( "(") (binary_expression "puVar9 + 0x17f1c" (identifier "puVar9") (+ "+") (number_literal "0x17f1c")) () ")"))))) () ")")) (argument_list "(uVar2)" (( "(") (identifier "uVar2") () ")"))) (; ";")) (expression_statement "*puVar7 = uVar8;" (assignment_expression "*puVar7 = uVar8" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (identifier "uVar8")) (; ";")) (} "}"))) (return_statement "return uVar6;" (return "return") (identifier "uVar6") (; ";")) (} "}")))) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}")))

int function_1(int fd1,char *src,int fd2,char *dst,type_1 var_3)

{
  bool bVar1;
  size_t dst_len;
  type_1 var_4;
  int var_1;
  int *piVar3;
  int var_2;
  type_1 uVar5;
  type_2 *puVar6;
  type_2 uVar7;
  type_3 *var_6;
  type_4 src_st;
  type_4 dst_st;
  
  var_4 = *(type_1 *)PTR___stack_chk_guard_000323c0;
  var_1 = (*(type_5 *)PTR_renameat2_00032310)();
  if (var_1 < 0) {
    piVar3 = (int *)(*(type_5 *)PTR___errno_location_00032318)();
    var_2 = *piVar3;
    if (((var_2 == 0x16) || (var_2 == 0x59)) || (var_2 == 0x7a)) {
      if (var_3 == 0) {
        bVar1 = false;
      }
      else {
        if ((var_3 & 0xfffffffe) != 0) {
          *piVar3 = 0x7a;
          var_1 = -1;
          goto LAB_0001a258;
        }
        var_1 = (*(type_5 *)PTR___fxstatat64_00032390)(3,fd2,dst,&dst_st,0x100);
        if ((var_1 == 0) || (*piVar3 == 0x4f)) {
          *piVar3 = 0x11;
          var_1 = -1;
          goto LAB_0001a258;
        }
        bVar1 = true;
        if (*piVar3 != 2) {
          var_1 = -1;
          goto LAB_0001a258;
        }
      }
      var_1 = (*(type_5 *)PTR_strlen_00032344)(src);
      if (var_1 != 0) {
        var_2 = (*(type_5 *)PTR_strlen_00032344)(dst);
        if (var_2 != 0) {
          if ((src[var_1 + -1] == '/') || (dst[var_2 + -1] == '/')) {
            var_2 = (*(type_5 *)PTR___fxstatat64_00032390)(3,fd1,src,&src_st,0x100);
            var_1 = -1;
            if (var_2 == 0) {
              if (bVar1) {
                if ((src_st.st_mode & 0xf000) != 0x4000) {
                  *piVar3 = 2;
                  var_1 = -1;
                  goto LAB_0001a258;
                }
              }
              else {
                var_1 = (*(type_5 *)PTR___fxstatat64_00032390)(3,fd2,dst,&dst_st,0x100);
                if (var_1 == 0) {
                  if ((dst_st.st_mode & 0xf000) != 0x4000) {
                    *piVar3 = 0x14;
                    var_1 = -1;
                    goto LAB_0001a258;
                  }
                  if ((src_st.st_mode & 0xf000) != 0x4000) {
                    *piVar3 = 0x15;
                    var_1 = -1;
                    goto LAB_0001a258;
                  }
                }
                else {
                  var_1 = -1;
                  if (*piVar3 != 2) goto LAB_0001a258;
                  if ((src_st.st_mode & 0xf000) != 0x4000) {
                    var_1 = -1;
                    goto LAB_0001a258;
                  }
                }
              }
              var_1 = (*(type_5 *)PTR_renameat_000322c8)(fd1,src,fd2,dst);
            }
          }
          else {
            var_1 = (*(type_5 *)PTR_renameat_000322c8)(fd1,src,fd2,dst);
          }
          goto LAB_0001a258;
        }
      }
      var_1 = (*(type_5 *)PTR_renameat_000322c8)(fd1,src,fd2,dst);
    }
  }
LAB_0001a258:
  if (var_4 != *(type_1 *)PTR___stack_chk_guard_000323c0) {
    var_6 = PTR___stack_chk_fail_000323a0;
    (*(type_5 *)PTR___stack_chk_fail_000323a0)();
    uVar5 = var_4;
    if (var_4 < 3) {
      uVar5 = var_5(var_4);
      puVar6 = (type_2 *)(**(type_5 **)(var_6 + 0x17f98))();
      uVar7 = *puVar6;
      (**(type_5 **)(var_6 + 0x17f1c))(var_4);
      *puVar6 = uVar7;
    }
    return uVar5;
  }
  return var_1;
}


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

uint MASKED(undefined4 param_1,int param_2,undefined4 param_3,int param_4,uint param_5)

{
  bool bVar1;
  uint uVar2;
  int *piVar3;
  int iVar4;
  int iVar5;
  uint uVar6;
  undefined4 *puVar7;
  undefined4 uVar8;
  undefined *puVar9;
  undefined1 auStack_168 [24];
  uint local_150;
  undefined1 auStack_c8 [24];
  uint local_b0;
  uint local_24;
  
  local_24 = *(uint *)PTR___stack_chk_guard_000323c0;
  uVar2 = (*(code *)PTR_renameat2_00032310)();
  if ((int)uVar2 < 0) {
    piVar3 = (int *)(*(code *)PTR___errno_location_00032318)();
    iVar4 = *piVar3;
    if (((iVar4 == 0x16) || (iVar4 == 0x59)) || (iVar4 == 0x7a)) {
      if (param_5 == 0) {
        bVar1 = false;
      }
      else {
        if ((param_5 & 0xfffffffe) != 0) {
          *piVar3 = 0x7a;
          uVar2 = 0xffffffff;
          goto LAB_0001a258;
        }
        iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);
        if ((iVar4 == 0) || (*piVar3 == 0x4f)) {
          *piVar3 = 0x11;
          uVar2 = 0xffffffff;
          goto LAB_0001a258;
        }
        bVar1 = true;
        if (*piVar3 != 2) {
          uVar2 = 0xffffffff;
          goto LAB_0001a258;
        }
      }
      iVar4 = (*(code *)PTR_strlen_00032344)(param_2);
      if (iVar4 != 0) {
        iVar5 = (*(code *)PTR_strlen_00032344)(param_4);
        if (iVar5 != 0) {
          if ((*(char *)(param_2 + iVar4 + -1) == '/') || (*(char *)(param_4 + iVar5 + -1) == '/'))
          {
            iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_1,param_2,auStack_168,0x100);
            uVar2 = 0xffffffff;
            if (iVar4 == 0) {
              if (bVar1) {
                if ((local_150 & 0xf000) != 0x4000) {
                  *piVar3 = 2;
                  uVar2 = 0xffffffff;
                  goto LAB_0001a258;
                }
              }
              else {
                iVar4 = (*(code *)PTR___fxstatat64_00032390)(3,param_3,param_4,auStack_c8,0x100);
                if (iVar4 == 0) {
                  if ((local_b0 & 0xf000) != 0x4000) {
                    *piVar3 = 0x14;
                    uVar2 = 0xffffffff;
                    goto LAB_0001a258;
                  }
                  if ((local_150 & 0xf000) != 0x4000) {
                    *piVar3 = 0x15;
                    uVar2 = 0xffffffff;
                    goto LAB_0001a258;
                  }
                }
                else {
                  uVar2 = 0xffffffff;
                  if (*piVar3 != 2) goto LAB_0001a258;
                  if ((local_150 & 0xf000) != 0x4000) {
                    uVar2 = 0xffffffff;
                    goto LAB_0001a258;
                  }
                }
              }
              uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);
            }
          }
          else {
            uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);
          }
          goto LAB_0001a258;
        }
      }
      uVar2 = (*(code *)PTR_renameat_000322c8)(param_1,param_2,param_3,param_4);
    }
  }
LAB_0001a258:
  if (local_24 != *(uint *)PTR___stack_chk_guard_000323c0) {
    uVar2 = local_24;
    puVar9 = PTR___stack_chk_fail_000323a0;
    (*(code *)PTR___stack_chk_fail_000323a0)();
    uVar6 = uVar2;
    if (uVar2 < 3) {
      uVar6 = dup_safer();
      puVar7 = (undefined4 *)(**(code **)(puVar9 + 0x17f98))();
      uVar8 = *puVar7;
      (**(code **)(puVar9 + 0x17f1c))(uVar2);
      *puVar7 = uVar8;
    }
    return uVar6;
  }
  return uVar2;
}

