
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

char * sk_tcp_peer_info(Socket sock)

{
  undefined *puVar1;
  int iVar2;
  int iVar3;
  char *pcVar4;
  int *piVar5;
  int *piVar6;
  undefined4 uVar7;
  uint rwx;
  char *pcVar8;
  undefined *puVar9;
  code *pcVar10;
  socklen_t addrlen;
  int pid;
  int uid;
  int gid;
  sockaddr_union addr;
  char uidbuf [64];
  char buf [46];
  
  puVar9 = PTR___stack_chk_guard_000b60f8;
  addrlen = 0x80;
  iVar2 = *(int *)PTR___stack_chk_guard_000b60f8;
  iVar3 = (*(code *)PTR_getpeername_000b5c20)(sock[2],&addr,&addrlen);
  if (iVar3 < 0) {
LAB_00074f8c:
    pcVar4 = (char *)0x0;
  }
  else if (addr.storage.ss_family == 2) {
    uVar7 = (*(code *)PTR_inet_ntoa_000b5a80)(addr.sin6.sin6_flowinfo);
    pcVar4 = (char *)(*(code *)PTR_dupprintf_000b52c0)
                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar7,
                                addr.sin.sin_port);
  }
  else if (addr.storage.ss_family == 10) {
    uVar7 = (*(code *)PTR_inet_ntop_000b5c8c)(10,addr.storage.__ss_padding + 6,buf,0x2e);
    pcVar4 = (char *)(*(code *)PTR_dupprintf_000b52c0)
                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar7,
                                addr.sin.sin_port);
  }
  else {
    if ((addr.storage.ss_family != 1) ||
       (iVar3 = so_peercred((int)sock[2],&pid,&uid,&gid),
       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar3 == 0)) goto LAB_00074f8c;
    pcVar4 = uidbuf;
    (*(code *)PTR___sprintf_chk_000b5fe0)
              (pcVar4,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,uid);
    pcVar8 = buf;
    (*(code *)PTR___sprintf_chk_000b5fe0)(pcVar8,1,0x40,puVar1 + -0x7a40,gid);
    piVar5 = (int *)(*(code *)PTR_getpwuid_000b5be4)(uid);
    piVar6 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(gid);
    if (piVar5 != (int *)0x0) {
      pcVar4 = (char *)*piVar5;
    }
    if (piVar6 != (int *)0x0) {
      pcVar8 = (char *)*piVar6;
    }
    pcVar4 = (char *)(*(code *)PTR_dupprintf_000b52c0)
                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,pid,pcVar4,pcVar8);
  }
  if (iVar2 == *(int *)puVar9) {
    return pcVar4;
  }
  puVar9 = PTR___stack_chk_fail_000b5d9c;
  (*(code *)PTR___stack_chk_fail_000b5d9c)();
  pcVar4 = *(char **)(iVar2 + 0x44);
  if (pcVar4 != (char *)0x0) {
    rwx = 0;
    goto LAB_00075138;
  }
  if (*(int *)(iVar2 + 0x48) != 0) {
    uxsel_set(*(int *)(iVar2 + 8),1,(uxsel_callback_fn)(*(int *)(puVar9 + 0x4073c) + 0x6c30));
    return pcVar4;
  }
  if (*(int *)(iVar2 + 0x1c) == 0) {
    rwx = 2;
LAB_00075180:
    pcVar10 = *(code **)(puVar9 + 0x401f4);
  }
  else {
    pcVar10 = *(code **)(puVar9 + 0x401f4);
    rwx = 0;
    if (*(int *)(iVar2 + 0x24) == 0) {
      rwx = 5;
      if (*(int *)(iVar2 + 0x40) != 0) {
        rwx = 0;
      }
      goto LAB_00075180;
    }
  }
  pcVar4 = (char *)(*pcVar10)(iVar2 + 0x10);
  if (pcVar4 != (char *)0x0) {
    uxsel_set(*(int *)(iVar2 + 8),rwx | 2,(uxsel_callback_fn)(*(int *)(puVar9 + 0x4073c) + 0x6c30));
    return pcVar4;
  }
LAB_00075138:
  uxsel_set(*(int *)(iVar2 + 8),rwx,(uxsel_callback_fn)(*(int *)(puVar9 + 0x4073c) + 0x6c30));
  return pcVar4;
}



undefined4 FUN_00074ef0(int param_1)

{
  undefined *puVar1;
  int iVar2;
  undefined4 uVar3;
  int *piVar4;
  int *piVar5;
  uint uVar6;
  int iVar7;
  undefined1 *puVar8;
  undefined1 *puVar9;
  undefined *puVar10;
  code *pcVar11;
  undefined4 local_12c;
  undefined4 local_128;
  undefined4 local_124;
  undefined4 local_120;
  short local_11c;
  undefined2 local_11a;
  undefined4 local_118;
  undefined1 auStack_114 [120];
  undefined1 auStack_9c [64];
  undefined1 auStack_5c [64];
  int local_1c;
  
  puVar10 = PTR___stack_chk_guard_000b60f8;
  local_12c = 0x80;
  local_1c = *(int *)PTR___stack_chk_guard_000b60f8;
  iVar2 = (*(code *)PTR_getpeername_000b5c20)(*(undefined4 *)(param_1 + 8),&local_11c,&local_12c);
  if (iVar2 < 0) {
LAB_00074f8c:
    uVar3 = 0;
  }
  else if (local_11c == 2) {
    uVar3 = (*(code *)PTR_inet_ntoa_000b5a80)(local_118);
    uVar3 = (*(code *)PTR_dupprintf_000b52c0)
                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar3,local_11a);
  }
  else if (local_11c == 10) {
    uVar3 = (*(code *)PTR_inet_ntop_000b5c8c)(10,auStack_114,auStack_5c,0x2e);
    uVar3 = (*(code *)PTR_dupprintf_000b52c0)
                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar3,local_11a);
  }
  else {
    if ((local_11c != 1) ||
       (iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),
       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0)) goto LAB_00074f8c;
    puVar8 = auStack_9c;
    (*(code *)PTR___sprintf_chk_000b5fe0)
              (puVar8,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,local_124);
    puVar9 = auStack_5c;
    (*(code *)PTR___sprintf_chk_000b5fe0)(puVar9,1,0x40,puVar1 + -0x7a40,local_120);
    piVar4 = (int *)(*(code *)PTR_getpwuid_000b5be4)(local_124);
    piVar5 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(local_120);
    if (piVar4 != (int *)0x0) {
      puVar8 = (undefined1 *)*piVar4;
    }
    if (piVar5 != (int *)0x0) {
      puVar9 = (undefined1 *)*piVar5;
    }
    uVar3 = (*(code *)PTR_dupprintf_000b52c0)
                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9);
  }
  if (local_1c == *(int *)puVar10) {
    return uVar3;
  }
  iVar2 = local_1c;
  puVar10 = PTR___stack_chk_fail_000b5d9c;
  (*(code *)PTR___stack_chk_fail_000b5d9c)();
  if (*(int *)(iVar2 + 0x44) != 0) {
    uVar6 = 0;
    goto LAB_00075138;
  }
  if (*(int *)(iVar2 + 0x48) != 0) {
    uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),1,*(int *)(puVar10 + 0x4073c) + 0x6c30);
    return uVar3;
  }
  if (*(int *)(iVar2 + 0x1c) == 0) {
    uVar6 = 2;
LAB_00075180:
    pcVar11 = *(code **)(puVar10 + 0x401f4);
  }
  else {
    pcVar11 = *(code **)(puVar10 + 0x401f4);
    uVar6 = 0;
    if (*(int *)(iVar2 + 0x24) == 0) {
      uVar6 = 5;
      if (*(int *)(iVar2 + 0x40) != 0) {
        uVar6 = 0;
      }
      goto LAB_00075180;
    }
  }
  iVar7 = (*pcVar11)(iVar2 + 0x10);
  if (iVar7 != 0) {
    uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6 | 2,*(int *)(puVar10 + 0x4073c) + 0x6c30);
    return uVar3;
  }
LAB_00075138:
  uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6,*(int *)(puVar10 + 0x4073c) + 0x6c30);
  return uVar3;
}


lui gp,0x5
addiu gp,gp,-0x7d20
addu gp,gp,t9
addiu sp,sp,-0x150
lw t9,-0x75b0(gp)
li v0,0x80
addiu a2,sp,0x24
sw s0,0x13c(sp)
addiu a1,sp,0x34
sw v0,0x24(sp)
lw s0,-0x70d8(gp)
sw s1,0x140(sp)
or s1,a0,zero
sw gp,0x18(sp)
sw ra,0x14c(sp)
sw s3,0x148(sp)
sw s2,0x144(sp)
lw v0,0x0(s0)
lw a0,0x8(a0)
sw v0,0x134(sp)
jalr t9
_nop
bltz v0,0x00074f8c
_lw gp,0x18(sp)
lhu v0,0x34(sp)
li v1,0x2
beq v0,v1,0x00075060
_li v1,0xa
beq v0,v1,0x00075090
_li v1,0x1
bne v0,v1,0x00074f8c
_lw t9,-0x7878(gp)
addiu a3,sp,0x30
lw a0,0x8(s1)
addiu a2,sp,0x2c
bal 0x00077b90
_addiu a1,sp,0x28
bne v0,zero,0x00074fb8
_lw gp,0x18(sp)
or v0,zero,zero
lw a0,0x134(sp)
lw v1,0x0(s0)
bne a0,v1,0x000750d4
_lw ra,0x14c(sp)
lw s3,0x148(sp)
lw s2,0x144(sp)
lw s1,0x140(sp)
lw s0,0x13c(sp)
jr ra
_addiu sp,sp,0x150
lw s3,-0x7fbc(gp)
addiu s1,sp,0xb4
lw v0,0x2c(sp)
li a2,0x40
lw t9,-0x71f0(gp)
li a1,0x1
addiu a3,s3,-0x7a40
or a0,s1,zero
jalr t9
_sw v0,0x10(sp)
addiu s2,sp,0xf4
lw gp,0x18(sp)
addiu a3,s3,-0x7a40
lw v0,0x30(sp)
li a1,0x1
li a2,0x40
or a0,s2,zero
lw t9,-0x71f0(gp)
jalr t9
_sw v0,0x10(sp)
lw gp,0x18(sp)
lw t9,-0x75ec(gp)
jalr t9
_lw a0,0x2c(sp)
lw gp,0x18(sp)
or s3,v0,zero
lw t9,-0x75d8(gp)
jalr t9
_lw a0,0x30(sp)
lw gp,0x18(sp)
beq s3,zero,0x000750cc
_lw a1,0x28(sp)
lw a2,0x0(s3)
beq v0,zero,0x00075048
_or a3,s2,zero
lw a3,0x0(v0)
lw a0,-0x7fbc(gp)
lw t9,-0x7f10(gp)
jalr t9
_addiu a0,a0,-0x1c00
b 0x00074f90
_lw gp,0x18(sp)
lw t9,-0x7750(gp)
jalr t9
_lw a0,0x38(sp)
lw gp,0x18(sp)
or a1,v0,zero
lhu a2,0x36(sp)
lw a0,-0x7fbc(gp)
lw t9,-0x7f10(gp)
jalr t9
_addiu a0,a0,-0x1c10
b 0x00074f90
_lw gp,0x18(sp)
lw t9,-0x7544(gp)
li a3,0x2e
addiu a2,sp,0xf4
addiu a1,sp,0x3c
jalr t9
_li a0,0xa
lw gp,0x18(sp)
or a1,v0,zero
lhu a2,0x36(sp)
lw a0,-0x7fbc(gp)
lw t9,-0x7f10(gp)
jalr t9
_addiu a0,a0,-0x1c08
b 0x00074f90
_lw gp,0x18(sp)
b 0x0007503c
_or a2,s1,zero
lw t9,-0x7434(gp)
jalr t9
_nop
(translation_unit "undefined4 FUN_00074ef0(int param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int *piVar4;\n  int *piVar5;\n  uint uVar6;\n  int iVar7;\n  undefined1 *puVar8;\n  undefined1 *puVar9;\n  undefined *puVar10;\n  code *pcVar11;\n  undefined4 local_12c;\n  undefined4 local_128;\n  undefined4 local_124;\n  undefined4 local_120;\n  short local_11c;\n  undefined2 local_11a;\n  undefined4 local_118;\n  undefined1 auStack_114 [120];\n  undefined1 auStack_9c [64];\n  undefined1 auStack_5c [64];\n  int local_1c;\n  \n  puVar10 = PTR___stack_chk_guard_000b60f8;\n  local_12c = 0x80;\n  local_1c = *(int *)PTR___stack_chk_guard_000b60f8;\n  iVar2 = (*(code *)PTR_getpeername_000b5c20)(*(undefined4 *)(param_1 + 8),&local_11c,&local_12c);\n  if (iVar2 < 0) {\nLAB_00074f8c:\n    uVar3 = 0;\n  }\n  else if (local_11c == 2) {\n    uVar3 = (*(code *)PTR_inet_ntoa_000b5a80)(local_118);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar3,local_11a);\n  }\n  else if (local_11c == 10) {\n    uVar3 = (*(code *)PTR_inet_ntop_000b5c8c)(10,auStack_114,auStack_5c,0x2e);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar3,local_11a);\n  }\n  else {\n    if ((local_11c != 1) ||\n       (iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0)) goto LAB_00074f8c;\n    puVar8 = auStack_9c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)\n              (puVar8,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,local_124);\n    puVar9 = auStack_5c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)(puVar9,1,0x40,puVar1 + -0x7a40,local_120);\n    piVar4 = (int *)(*(code *)PTR_getpwuid_000b5be4)(local_124);\n    piVar5 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(local_120);\n    if (piVar4 != (int *)0x0) {\n      puVar8 = (undefined1 *)*piVar4;\n    }\n    if (piVar5 != (int *)0x0) {\n      puVar9 = (undefined1 *)*piVar5;\n    }\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9);\n  }\n  if (local_1c == *(int *)puVar10) {\n    return uVar3;\n  }\n  iVar2 = local_1c;\n  puVar10 = PTR___stack_chk_fail_000b5d9c;\n  (*(code *)PTR___stack_chk_fail_000b5d9c)();\n  if (*(int *)(iVar2 + 0x44) != 0) {\n    uVar6 = 0;\n    goto LAB_00075138;\n  }\n  if (*(int *)(iVar2 + 0x48) != 0) {\n    uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),1,*(int *)(puVar10 + 0x4073c) + 0x6c30);\n    return uVar3;\n  }\n  if (*(int *)(iVar2 + 0x1c) == 0) {\n    uVar6 = 2;\nLAB_00075180:\n    pcVar11 = *(code **)(puVar10 + 0x401f4);\n  }\n  else {\n    pcVar11 = *(code **)(puVar10 + 0x401f4);\n    uVar6 = 0;\n    if (*(int *)(iVar2 + 0x24) == 0) {\n      uVar6 = 5;\n      if (*(int *)(iVar2 + 0x40) != 0) {\n        uVar6 = 0;\n      }\n      goto LAB_00075180;\n    }\n  }\n  iVar7 = (*pcVar11)(iVar2 + 0x10);\n  if (iVar7 != 0) {\n    uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6 | 2,*(int *)(puVar10 + 0x4073c) + 0x6c30);\n    return uVar3;\n  }\nLAB_00075138:\n  uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6,*(int *)(puVar10 + 0x4073c) + 0x6c30);\n  return uVar3;\n}\n\n" (function_definition "undefined4 FUN_00074ef0(int param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int *piVar4;\n  int *piVar5;\n  uint uVar6;\n  int iVar7;\n  undefined1 *puVar8;\n  undefined1 *puVar9;\n  undefined *puVar10;\n  code *pcVar11;\n  undefined4 local_12c;\n  undefined4 local_128;\n  undefined4 local_124;\n  undefined4 local_120;\n  short local_11c;\n  undefined2 local_11a;\n  undefined4 local_118;\n  undefined1 auStack_114 [120];\n  undefined1 auStack_9c [64];\n  undefined1 auStack_5c [64];\n  int local_1c;\n  \n  puVar10 = PTR___stack_chk_guard_000b60f8;\n  local_12c = 0x80;\n  local_1c = *(int *)PTR___stack_chk_guard_000b60f8;\n  iVar2 = (*(code *)PTR_getpeername_000b5c20)(*(undefined4 *)(param_1 + 8),&local_11c,&local_12c);\n  if (iVar2 < 0) {\nLAB_00074f8c:\n    uVar3 = 0;\n  }\n  else if (local_11c == 2) {\n    uVar3 = (*(code *)PTR_inet_ntoa_000b5a80)(local_118);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar3,local_11a);\n  }\n  else if (local_11c == 10) {\n    uVar3 = (*(code *)PTR_inet_ntop_000b5c8c)(10,auStack_114,auStack_5c,0x2e);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar3,local_11a);\n  }\n  else {\n    if ((local_11c != 1) ||\n       (iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0)) goto LAB_00074f8c;\n    puVar8 = auStack_9c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)\n              (puVar8,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,local_124);\n    puVar9 = auStack_5c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)(puVar9,1,0x40,puVar1 + -0x7a40,local_120);\n    piVar4 = (int *)(*(code *)PTR_getpwuid_000b5be4)(local_124);\n    piVar5 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(local_120);\n    if (piVar4 != (int *)0x0) {\n      puVar8 = (undefined1 *)*piVar4;\n    }\n    if (piVar5 != (int *)0x0) {\n      puVar9 = (undefined1 *)*piVar5;\n    }\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9);\n  }\n  if (local_1c == *(int *)puVar10) {\n    return uVar3;\n  }\n  iVar2 = local_1c;\n  puVar10 = PTR___stack_chk_fail_000b5d9c;\n  (*(code *)PTR___stack_chk_fail_000b5d9c)();\n  if (*(int *)(iVar2 + 0x44) != 0) {\n    uVar6 = 0;\n    goto LAB_00075138;\n  }\n  if (*(int *)(iVar2 + 0x48) != 0) {\n    uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),1,*(int *)(puVar10 + 0x4073c) + 0x6c30);\n    return uVar3;\n  }\n  if (*(int *)(iVar2 + 0x1c) == 0) {\n    uVar6 = 2;\nLAB_00075180:\n    pcVar11 = *(code **)(puVar10 + 0x401f4);\n  }\n  else {\n    pcVar11 = *(code **)(puVar10 + 0x401f4);\n    uVar6 = 0;\n    if (*(int *)(iVar2 + 0x24) == 0) {\n      uVar6 = 5;\n      if (*(int *)(iVar2 + 0x40) != 0) {\n        uVar6 = 0;\n      }\n      goto LAB_00075180;\n    }\n  }\n  iVar7 = (*pcVar11)(iVar2 + 0x10);\n  if (iVar7 != 0) {\n    uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6 | 2,*(int *)(puVar10 + 0x4073c) + 0x6c30);\n    return uVar3;\n  }\nLAB_00075138:\n  uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6,*(int *)(puVar10 + 0x4073c) + 0x6c30);\n  return uVar3;\n}" type_identifier (function_declarator "FUN_00074ef0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int *piVar4;\n  int *piVar5;\n  uint uVar6;\n  int iVar7;\n  undefined1 *puVar8;\n  undefined1 *puVar9;\n  undefined *puVar10;\n  code *pcVar11;\n  undefined4 local_12c;\n  undefined4 local_128;\n  undefined4 local_124;\n  undefined4 local_120;\n  short local_11c;\n  undefined2 local_11a;\n  undefined4 local_118;\n  undefined1 auStack_114 [120];\n  undefined1 auStack_9c [64];\n  undefined1 auStack_5c [64];\n  int local_1c;\n  \n  puVar10 = PTR___stack_chk_guard_000b60f8;\n  local_12c = 0x80;\n  local_1c = *(int *)PTR___stack_chk_guard_000b60f8;\n  iVar2 = (*(code *)PTR_getpeername_000b5c20)(*(undefined4 *)(param_1 + 8),&local_11c,&local_12c);\n  if (iVar2 < 0) {\nLAB_00074f8c:\n    uVar3 = 0;\n  }\n  else if (local_11c == 2) {\n    uVar3 = (*(code *)PTR_inet_ntoa_000b5a80)(local_118);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar3,local_11a);\n  }\n  else if (local_11c == 10) {\n    uVar3 = (*(code *)PTR_inet_ntop_000b5c8c)(10,auStack_114,auStack_5c,0x2e);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar3,local_11a);\n  }\n  else {\n    if ((local_11c != 1) ||\n       (iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0)) goto LAB_00074f8c;\n    puVar8 = auStack_9c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)\n              (puVar8,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,local_124);\n    puVar9 = auStack_5c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)(puVar9,1,0x40,puVar1 + -0x7a40,local_120);\n    piVar4 = (int *)(*(code *)PTR_getpwuid_000b5be4)(local_124);\n    piVar5 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(local_120);\n    if (piVar4 != (int *)0x0) {\n      puVar8 = (undefined1 *)*piVar4;\n    }\n    if (piVar5 != (int *)0x0) {\n      puVar9 = (undefined1 *)*piVar5;\n    }\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9);\n  }\n  if (local_1c == *(int *)puVar10) {\n    return uVar3;\n  }\n  iVar2 = local_1c;\n  puVar10 = PTR___stack_chk_fail_000b5d9c;\n  (*(code *)PTR___stack_chk_fail_000b5d9c)();\n  if (*(int *)(iVar2 + 0x44) != 0) {\n    uVar6 = 0;\n    goto LAB_00075138;\n  }\n  if (*(int *)(iVar2 + 0x48) != 0) {\n    uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),1,*(int *)(puVar10 + 0x4073c) + 0x6c30);\n    return uVar3;\n  }\n  if (*(int *)(iVar2 + 0x1c) == 0) {\n    uVar6 = 2;\nLAB_00075180:\n    pcVar11 = *(code **)(puVar10 + 0x401f4);\n  }\n  else {\n    pcVar11 = *(code **)(puVar10 + 0x401f4);\n    uVar6 = 0;\n    if (*(int *)(iVar2 + 0x24) == 0) {\n      uVar6 = 5;\n      if (*(int *)(iVar2 + 0x40) != 0) {\n        uVar6 = 0;\n      }\n      goto LAB_00075180;\n    }\n  }\n  iVar7 = (*pcVar11)(iVar2 + 0x10);\n  if (iVar7 != 0) {\n    uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6 | 2,*(int *)(puVar10 + 0x4073c) + 0x6c30);\n    return uVar3;\n  }\nLAB_00075138:\n  uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6,*(int *)(puVar10 + 0x4073c) + 0x6c30);\n  return uVar3;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined1 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "undefined *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "code *pcVar11;" type_identifier (pointer_declarator "*pcVar11" * identifier) ;) (declaration "undefined4 local_12c;" type_identifier identifier ;) (declaration "undefined4 local_128;" type_identifier identifier ;) (declaration "undefined4 local_124;" type_identifier identifier ;) (declaration "undefined4 local_120;" type_identifier identifier ;) (declaration "short local_11c;" (sized_type_specifier "short" short) identifier ;) (declaration "undefined2 local_11a;" type_identifier identifier ;) (declaration "undefined4 local_118;" type_identifier identifier ;) (declaration "undefined1 auStack_114 [120];" type_identifier (array_declarator "auStack_114 [120]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_9c [64];" type_identifier (array_declarator "auStack_9c [64]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_5c [64];" type_identifier (array_declarator "auStack_5c [64]" identifier [ number_literal ]) ;) (declaration "int local_1c;" primitive_type identifier ;) (expression_statement "puVar10 = PTR___stack_chk_guard_000b60f8;" (assignment_expression "puVar10 = PTR___stack_chk_guard_000b60f8" identifier = identifier) ;) (expression_statement "local_12c = 0x80;" (assignment_expression "local_12c = 0x80" identifier = number_literal) ;) (expression_statement "local_1c = *(int *)PTR___stack_chk_guard_000b60f8;" (assignment_expression "local_1c = *(int *)PTR___stack_chk_guard_000b60f8" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000b60f8" * (cast_expression "(int *)PTR___stack_chk_guard_000b60f8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar2 = (*(code *)PTR_getpeername_000b5c20)(*(undefined4 *)(param_1 + 8),&local_11c,&local_12c);" (assignment_expression "iVar2 = (*(code *)PTR_getpeername_000b5c20)(*(undefined4 *)(param_1 + 8),&local_11c,&local_12c)" identifier = (call_expression "(*(code *)PTR_getpeername_000b5c20)(*(undefined4 *)(param_1 + 8),&local_11c,&local_12c)" (parenthesized_expression "(*(code *)PTR_getpeername_000b5c20)" ( (pointer_expression "*(code *)PTR_getpeername_000b5c20" * (cast_expression "(code *)PTR_getpeername_000b5c20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 8),&local_11c,&local_12c)" ( (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , (pointer_expression "&local_11c" & identifier) , (pointer_expression "&local_12c" & identifier) )))) ;) (if_statement "if (iVar2 < 0) {\nLAB_00074f8c:\n    uVar3 = 0;\n  }\n  else if (local_11c == 2) {\n    uVar3 = (*(code *)PTR_inet_ntoa_000b5a80)(local_118);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar3,local_11a);\n  }\n  else if (local_11c == 10) {\n    uVar3 = (*(code *)PTR_inet_ntop_000b5c8c)(10,auStack_114,auStack_5c,0x2e);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar3,local_11a);\n  }\n  else {\n    if ((local_11c != 1) ||\n       (iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0)) goto LAB_00074f8c;\n    puVar8 = auStack_9c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)\n              (puVar8,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,local_124);\n    puVar9 = auStack_5c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)(puVar9,1,0x40,puVar1 + -0x7a40,local_120);\n    piVar4 = (int *)(*(code *)PTR_getpwuid_000b5be4)(local_124);\n    piVar5 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(local_120);\n    if (piVar4 != (int *)0x0) {\n      puVar8 = (undefined1 *)*piVar4;\n    }\n    if (piVar5 != (int *)0x0) {\n      puVar9 = (undefined1 *)*piVar5;\n    }\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9);\n  }" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (compound_statement "{\nLAB_00074f8c:\n    uVar3 = 0;\n  }" { (labeled_statement "LAB_00074f8c:\n    uVar3 = 0;" statement_identifier : (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;)) }) (else_clause "else if (local_11c == 2) {\n    uVar3 = (*(code *)PTR_inet_ntoa_000b5a80)(local_118);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar3,local_11a);\n  }\n  else if (local_11c == 10) {\n    uVar3 = (*(code *)PTR_inet_ntop_000b5c8c)(10,auStack_114,auStack_5c,0x2e);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar3,local_11a);\n  }\n  else {\n    if ((local_11c != 1) ||\n       (iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0)) goto LAB_00074f8c;\n    puVar8 = auStack_9c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)\n              (puVar8,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,local_124);\n    puVar9 = auStack_5c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)(puVar9,1,0x40,puVar1 + -0x7a40,local_120);\n    piVar4 = (int *)(*(code *)PTR_getpwuid_000b5be4)(local_124);\n    piVar5 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(local_120);\n    if (piVar4 != (int *)0x0) {\n      puVar8 = (undefined1 *)*piVar4;\n    }\n    if (piVar5 != (int *)0x0) {\n      puVar9 = (undefined1 *)*piVar5;\n    }\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9);\n  }" else (if_statement "if (local_11c == 2) {\n    uVar3 = (*(code *)PTR_inet_ntoa_000b5a80)(local_118);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar3,local_11a);\n  }\n  else if (local_11c == 10) {\n    uVar3 = (*(code *)PTR_inet_ntop_000b5c8c)(10,auStack_114,auStack_5c,0x2e);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar3,local_11a);\n  }\n  else {\n    if ((local_11c != 1) ||\n       (iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0)) goto LAB_00074f8c;\n    puVar8 = auStack_9c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)\n              (puVar8,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,local_124);\n    puVar9 = auStack_5c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)(puVar9,1,0x40,puVar1 + -0x7a40,local_120);\n    piVar4 = (int *)(*(code *)PTR_getpwuid_000b5be4)(local_124);\n    piVar5 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(local_120);\n    if (piVar4 != (int *)0x0) {\n      puVar8 = (undefined1 *)*piVar4;\n    }\n    if (piVar5 != (int *)0x0) {\n      puVar9 = (undefined1 *)*piVar5;\n    }\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9);\n  }" if (parenthesized_expression "(local_11c == 2)" ( (binary_expression "local_11c == 2" identifier == number_literal) )) (compound_statement "{\n    uVar3 = (*(code *)PTR_inet_ntoa_000b5a80)(local_118);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar3,local_11a);\n  }" { (expression_statement "uVar3 = (*(code *)PTR_inet_ntoa_000b5a80)(local_118);" (assignment_expression "uVar3 = (*(code *)PTR_inet_ntoa_000b5a80)(local_118)" identifier = (call_expression "(*(code *)PTR_inet_ntoa_000b5a80)(local_118)" (parenthesized_expression "(*(code *)PTR_inet_ntoa_000b5a80)" ( (pointer_expression "*(code *)PTR_inet_ntoa_000b5a80" * (cast_expression "(code *)PTR_inet_ntoa_000b5a80" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_118)" ( identifier )))) ;) (expression_statement "uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar3,local_11a);" (assignment_expression "uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar3,local_11a)" identifier = (call_expression "(*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar3,local_11a)" (parenthesized_expression "(*(code *)PTR_dupprintf_000b52c0)" ( (pointer_expression "*(code *)PTR_dupprintf_000b52c0" * (cast_expression "(code *)PTR_dupprintf_000b52c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar3,local_11a)" ( (binary_expression "PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10" identifier + number_literal) , identifier , identifier )))) ;) }) (else_clause "else if (local_11c == 10) {\n    uVar3 = (*(code *)PTR_inet_ntop_000b5c8c)(10,auStack_114,auStack_5c,0x2e);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar3,local_11a);\n  }\n  else {\n    if ((local_11c != 1) ||\n       (iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0)) goto LAB_00074f8c;\n    puVar8 = auStack_9c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)\n              (puVar8,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,local_124);\n    puVar9 = auStack_5c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)(puVar9,1,0x40,puVar1 + -0x7a40,local_120);\n    piVar4 = (int *)(*(code *)PTR_getpwuid_000b5be4)(local_124);\n    piVar5 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(local_120);\n    if (piVar4 != (int *)0x0) {\n      puVar8 = (undefined1 *)*piVar4;\n    }\n    if (piVar5 != (int *)0x0) {\n      puVar9 = (undefined1 *)*piVar5;\n    }\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9);\n  }" else (if_statement "if (local_11c == 10) {\n    uVar3 = (*(code *)PTR_inet_ntop_000b5c8c)(10,auStack_114,auStack_5c,0x2e);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar3,local_11a);\n  }\n  else {\n    if ((local_11c != 1) ||\n       (iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0)) goto LAB_00074f8c;\n    puVar8 = auStack_9c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)\n              (puVar8,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,local_124);\n    puVar9 = auStack_5c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)(puVar9,1,0x40,puVar1 + -0x7a40,local_120);\n    piVar4 = (int *)(*(code *)PTR_getpwuid_000b5be4)(local_124);\n    piVar5 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(local_120);\n    if (piVar4 != (int *)0x0) {\n      puVar8 = (undefined1 *)*piVar4;\n    }\n    if (piVar5 != (int *)0x0) {\n      puVar9 = (undefined1 *)*piVar5;\n    }\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9);\n  }" if (parenthesized_expression "(local_11c == 10)" ( (binary_expression "local_11c == 10" identifier == number_literal) )) (compound_statement "{\n    uVar3 = (*(code *)PTR_inet_ntop_000b5c8c)(10,auStack_114,auStack_5c,0x2e);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar3,local_11a);\n  }" { (expression_statement "uVar3 = (*(code *)PTR_inet_ntop_000b5c8c)(10,auStack_114,auStack_5c,0x2e);" (assignment_expression "uVar3 = (*(code *)PTR_inet_ntop_000b5c8c)(10,auStack_114,auStack_5c,0x2e)" identifier = (call_expression "(*(code *)PTR_inet_ntop_000b5c8c)(10,auStack_114,auStack_5c,0x2e)" (parenthesized_expression "(*(code *)PTR_inet_ntop_000b5c8c)" ( (pointer_expression "*(code *)PTR_inet_ntop_000b5c8c" * (cast_expression "(code *)PTR_inet_ntop_000b5c8c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10,auStack_114,auStack_5c,0x2e)" ( number_literal , identifier , identifier , number_literal )))) ;) (expression_statement "uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar3,local_11a);" (assignment_expression "uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar3,local_11a)" identifier = (call_expression "(*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar3,local_11a)" (parenthesized_expression "(*(code *)PTR_dupprintf_000b52c0)" ( (pointer_expression "*(code *)PTR_dupprintf_000b52c0" * (cast_expression "(code *)PTR_dupprintf_000b52c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar3,local_11a)" ( (binary_expression "PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08" identifier + number_literal) , identifier , identifier )))) ;) }) (else_clause "else {\n    if ((local_11c != 1) ||\n       (iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0)) goto LAB_00074f8c;\n    puVar8 = auStack_9c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)\n              (puVar8,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,local_124);\n    puVar9 = auStack_5c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)(puVar9,1,0x40,puVar1 + -0x7a40,local_120);\n    piVar4 = (int *)(*(code *)PTR_getpwuid_000b5be4)(local_124);\n    piVar5 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(local_120);\n    if (piVar4 != (int *)0x0) {\n      puVar8 = (undefined1 *)*piVar4;\n    }\n    if (piVar5 != (int *)0x0) {\n      puVar9 = (undefined1 *)*piVar5;\n    }\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9);\n  }" else (compound_statement "{\n    if ((local_11c != 1) ||\n       (iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0)) goto LAB_00074f8c;\n    puVar8 = auStack_9c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)\n              (puVar8,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,local_124);\n    puVar9 = auStack_5c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)(puVar9,1,0x40,puVar1 + -0x7a40,local_120);\n    piVar4 = (int *)(*(code *)PTR_getpwuid_000b5be4)(local_124);\n    piVar5 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(local_120);\n    if (piVar4 != (int *)0x0) {\n      puVar8 = (undefined1 *)*piVar4;\n    }\n    if (piVar5 != (int *)0x0) {\n      puVar9 = (undefined1 *)*piVar5;\n    }\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9);\n  }" { (if_statement "if ((local_11c != 1) ||\n       (iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0)) goto LAB_00074f8c;" if (parenthesized_expression "((local_11c != 1) ||\n       (iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0))" ( (binary_expression "(local_11c != 1) ||\n       (iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0)" (parenthesized_expression "(local_11c != 1)" ( (binary_expression "local_11c != 1" identifier != number_literal) )) || (parenthesized_expression "(iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0)" ( (comma_expression "iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0" (assignment_expression "iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120)" identifier = (call_expression "so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120)" identifier (argument_list "(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120)" ( (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , (pointer_expression "&local_128" & identifier) , (pointer_expression "&local_124" & identifier) , (pointer_expression "&local_120" & identifier) )))) , (comma_expression "puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0" (assignment_expression "puVar1 = PTR_s_XXXXXXXXXX___________000b5214" identifier = identifier) , (binary_expression "iVar2 == 0" identifier == number_literal))) ))) )) (goto_statement "goto LAB_00074f8c;" goto statement_identifier ;)) (expression_statement "puVar8 = auStack_9c;" (assignment_expression "puVar8 = auStack_9c" identifier = identifier) ;) (expression_statement "(*(code *)PTR___sprintf_chk_000b5fe0)\n              (puVar8,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,local_124);" (call_expression "(*(code *)PTR___sprintf_chk_000b5fe0)\n              (puVar8,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,local_124)" (parenthesized_expression "(*(code *)PTR___sprintf_chk_000b5fe0)" ( (pointer_expression "*(code *)PTR___sprintf_chk_000b5fe0" * (cast_expression "(code *)PTR___sprintf_chk_000b5fe0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar8,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,local_124)" ( identifier , number_literal , number_literal , (binary_expression "PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40" identifier + number_literal) , identifier ))) ;) (expression_statement "puVar9 = auStack_5c;" (assignment_expression "puVar9 = auStack_5c" identifier = identifier) ;) (expression_statement "(*(code *)PTR___sprintf_chk_000b5fe0)(puVar9,1,0x40,puVar1 + -0x7a40,local_120);" (call_expression "(*(code *)PTR___sprintf_chk_000b5fe0)(puVar9,1,0x40,puVar1 + -0x7a40,local_120)" (parenthesized_expression "(*(code *)PTR___sprintf_chk_000b5fe0)" ( (pointer_expression "*(code *)PTR___sprintf_chk_000b5fe0" * (cast_expression "(code *)PTR___sprintf_chk_000b5fe0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar9,1,0x40,puVar1 + -0x7a40,local_120)" ( identifier , number_literal , number_literal , (binary_expression "puVar1 + -0x7a40" identifier + number_literal) , identifier ))) ;) (expression_statement "piVar4 = (int *)(*(code *)PTR_getpwuid_000b5be4)(local_124);" (assignment_expression "piVar4 = (int *)(*(code *)PTR_getpwuid_000b5be4)(local_124)" identifier = (cast_expression "(int *)(*(code *)PTR_getpwuid_000b5be4)(local_124)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_getpwuid_000b5be4)(local_124)" (parenthesized_expression "(*(code *)PTR_getpwuid_000b5be4)" ( (pointer_expression "*(code *)PTR_getpwuid_000b5be4" * (cast_expression "(code *)PTR_getpwuid_000b5be4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_124)" ( identifier ))))) ;) (expression_statement "piVar5 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(local_120);" (assignment_expression "piVar5 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(local_120)" identifier = (cast_expression "(int *)(*(code *)PTR_getgrgid_000b5bf8)(local_120)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_getgrgid_000b5bf8)(local_120)" (parenthesized_expression "(*(code *)PTR_getgrgid_000b5bf8)" ( (pointer_expression "*(code *)PTR_getgrgid_000b5bf8" * (cast_expression "(code *)PTR_getgrgid_000b5bf8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_120)" ( identifier ))))) ;) (if_statement "if (piVar4 != (int *)0x0) {\n      puVar8 = (undefined1 *)*piVar4;\n    }" if (parenthesized_expression "(piVar4 != (int *)0x0)" ( (binary_expression "piVar4 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      puVar8 = (undefined1 *)*piVar4;\n    }" { (expression_statement "puVar8 = (undefined1 *)*piVar4;" (assignment_expression "puVar8 = (undefined1 *)*piVar4" identifier = (cast_expression "(undefined1 *)*piVar4" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar4" * identifier))) ;) })) (if_statement "if (piVar5 != (int *)0x0) {\n      puVar9 = (undefined1 *)*piVar5;\n    }" if (parenthesized_expression "(piVar5 != (int *)0x0)" ( (binary_expression "piVar5 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      puVar9 = (undefined1 *)*piVar5;\n    }" { (expression_statement "puVar9 = (undefined1 *)*piVar5;" (assignment_expression "puVar9 = (undefined1 *)*piVar5" identifier = (cast_expression "(undefined1 *)*piVar5" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar5" * identifier))) ;) })) (expression_statement "uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9);" (assignment_expression "uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9)" identifier = (call_expression "(*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9)" (parenthesized_expression "(*(code *)PTR_dupprintf_000b52c0)" ( (pointer_expression "*(code *)PTR_dupprintf_000b52c0" * (cast_expression "(code *)PTR_dupprintf_000b52c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9)" ( (binary_expression "PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00" identifier + number_literal) , identifier , identifier , identifier )))) ;) }))))))) (if_statement "if (local_1c == *(int *)puVar10) {\n    return uVar3;\n  }" if (parenthesized_expression "(local_1c == *(int *)puVar10)" ( (binary_expression "local_1c == *(int *)puVar10" identifier == (pointer_expression "*(int *)puVar10" * (cast_expression "(int *)puVar10" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return uVar3;\n  }" { (return_statement "return uVar3;" return identifier ;) })) (expression_statement "iVar2 = local_1c;" (assignment_expression "iVar2 = local_1c" identifier = identifier) ;) (expression_statement "puVar10 = PTR___stack_chk_fail_000b5d9c;" (assignment_expression "puVar10 = PTR___stack_chk_fail_000b5d9c" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000b5d9c)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b5d9c)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b5d9c)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000b5d9c" * (cast_expression "(code *)PTR___stack_chk_fail_000b5d9c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (*(int *)(iVar2 + 0x44) != 0) {\n    uVar6 = 0;\n    goto LAB_00075138;\n  }" if (parenthesized_expression "(*(int *)(iVar2 + 0x44) != 0)" ( (binary_expression "*(int *)(iVar2 + 0x44) != 0" (pointer_expression "*(int *)(iVar2 + 0x44)" * (cast_expression "(int *)(iVar2 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x44)" ( (binary_expression "iVar2 + 0x44" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    uVar6 = 0;\n    goto LAB_00075138;\n  }" { (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00075138;" goto statement_identifier ;) })) (if_statement "if (*(int *)(iVar2 + 0x48) != 0) {\n    uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),1,*(int *)(puVar10 + 0x4073c) + 0x6c30);\n    return uVar3;\n  }" if (parenthesized_expression "(*(int *)(iVar2 + 0x48) != 0)" ( (binary_expression "*(int *)(iVar2 + 0x48) != 0" (pointer_expression "*(int *)(iVar2 + 0x48)" * (cast_expression "(int *)(iVar2 + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x48)" ( (binary_expression "iVar2 + 0x48" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),1,*(int *)(puVar10 + 0x4073c) + 0x6c30);\n    return uVar3;\n  }" { (expression_statement "uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),1,*(int *)(puVar10 + 0x4073c) + 0x6c30);" (assignment_expression "uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),1,*(int *)(puVar10 + 0x4073c) + 0x6c30)" identifier = (call_expression "uxsel_set(*(undefined4 *)(iVar2 + 8),1,*(int *)(puVar10 + 0x4073c) + 0x6c30)" identifier (argument_list "(*(undefined4 *)(iVar2 + 8),1,*(int *)(puVar10 + 0x4073c) + 0x6c30)" ( (pointer_expression "*(undefined4 *)(iVar2 + 8)" * (cast_expression "(undefined4 *)(iVar2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) , number_literal , (binary_expression "*(int *)(puVar10 + 0x4073c) + 0x6c30" (pointer_expression "*(int *)(puVar10 + 0x4073c)" * (cast_expression "(int *)(puVar10 + 0x4073c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x4073c)" ( (binary_expression "puVar10 + 0x4073c" identifier + number_literal) )))) + number_literal) )))) ;) (return_statement "return uVar3;" return identifier ;) })) (if_statement "if (*(int *)(iVar2 + 0x1c) == 0) {\n    uVar6 = 2;\nLAB_00075180:\n    pcVar11 = *(code **)(puVar10 + 0x401f4);\n  }\n  else {\n    pcVar11 = *(code **)(puVar10 + 0x401f4);\n    uVar6 = 0;\n    if (*(int *)(iVar2 + 0x24) == 0) {\n      uVar6 = 5;\n      if (*(int *)(iVar2 + 0x40) != 0) {\n        uVar6 = 0;\n      }\n      goto LAB_00075180;\n    }\n  }" if (parenthesized_expression "(*(int *)(iVar2 + 0x1c) == 0)" ( (binary_expression "*(int *)(iVar2 + 0x1c) == 0" (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    uVar6 = 2;\nLAB_00075180:\n    pcVar11 = *(code **)(puVar10 + 0x401f4);\n  }" { (expression_statement "uVar6 = 2;" (assignment_expression "uVar6 = 2" identifier = number_literal) ;) (labeled_statement "LAB_00075180:\n    pcVar11 = *(code **)(puVar10 + 0x401f4);" statement_identifier : (expression_statement "pcVar11 = *(code **)(puVar10 + 0x401f4);" (assignment_expression "pcVar11 = *(code **)(puVar10 + 0x401f4)" identifier = (pointer_expression "*(code **)(puVar10 + 0x401f4)" * (cast_expression "(code **)(puVar10 + 0x401f4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x401f4)" ( (binary_expression "puVar10 + 0x401f4" identifier + number_literal) ))))) ;)) }) (else_clause "else {\n    pcVar11 = *(code **)(puVar10 + 0x401f4);\n    uVar6 = 0;\n    if (*(int *)(iVar2 + 0x24) == 0) {\n      uVar6 = 5;\n      if (*(int *)(iVar2 + 0x40) != 0) {\n        uVar6 = 0;\n      }\n      goto LAB_00075180;\n    }\n  }" else (compound_statement "{\n    pcVar11 = *(code **)(puVar10 + 0x401f4);\n    uVar6 = 0;\n    if (*(int *)(iVar2 + 0x24) == 0) {\n      uVar6 = 5;\n      if (*(int *)(iVar2 + 0x40) != 0) {\n        uVar6 = 0;\n      }\n      goto LAB_00075180;\n    }\n  }" { (expression_statement "pcVar11 = *(code **)(puVar10 + 0x401f4);" (assignment_expression "pcVar11 = *(code **)(puVar10 + 0x401f4)" identifier = (pointer_expression "*(code **)(puVar10 + 0x401f4)" * (cast_expression "(code **)(puVar10 + 0x401f4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x401f4)" ( (binary_expression "puVar10 + 0x401f4" identifier + number_literal) ))))) ;) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (if_statement "if (*(int *)(iVar2 + 0x24) == 0) {\n      uVar6 = 5;\n      if (*(int *)(iVar2 + 0x40) != 0) {\n        uVar6 = 0;\n      }\n      goto LAB_00075180;\n    }" if (parenthesized_expression "(*(int *)(iVar2 + 0x24) == 0)" ( (binary_expression "*(int *)(iVar2 + 0x24) == 0" (pointer_expression "*(int *)(iVar2 + 0x24)" * (cast_expression "(int *)(iVar2 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x24)" ( (binary_expression "iVar2 + 0x24" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      uVar6 = 5;\n      if (*(int *)(iVar2 + 0x40) != 0) {\n        uVar6 = 0;\n      }\n      goto LAB_00075180;\n    }" { (expression_statement "uVar6 = 5;" (assignment_expression "uVar6 = 5" identifier = number_literal) ;) (if_statement "if (*(int *)(iVar2 + 0x40) != 0) {\n        uVar6 = 0;\n      }" if (parenthesized_expression "(*(int *)(iVar2 + 0x40) != 0)" ( (binary_expression "*(int *)(iVar2 + 0x40) != 0" (pointer_expression "*(int *)(iVar2 + 0x40)" * (cast_expression "(int *)(iVar2 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x40)" ( (binary_expression "iVar2 + 0x40" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        uVar6 = 0;\n      }" { (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) })) (goto_statement "goto LAB_00075180;" goto statement_identifier ;) })) }))) (expression_statement "iVar7 = (*pcVar11)(iVar2 + 0x10);" (assignment_expression "iVar7 = (*pcVar11)(iVar2 + 0x10)" identifier = (call_expression "(*pcVar11)(iVar2 + 0x10)" (parenthesized_expression "(*pcVar11)" ( (pointer_expression "*pcVar11" * identifier) )) (argument_list "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) ;) (if_statement "if (iVar7 != 0) {\n    uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6 | 2,*(int *)(puVar10 + 0x4073c) + 0x6c30);\n    return uVar3;\n  }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6 | 2,*(int *)(puVar10 + 0x4073c) + 0x6c30);\n    return uVar3;\n  }" { (expression_statement "uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6 | 2,*(int *)(puVar10 + 0x4073c) + 0x6c30);" (assignment_expression "uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6 | 2,*(int *)(puVar10 + 0x4073c) + 0x6c30)" identifier = (call_expression "uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6 | 2,*(int *)(puVar10 + 0x4073c) + 0x6c30)" identifier (argument_list "(*(undefined4 *)(iVar2 + 8),uVar6 | 2,*(int *)(puVar10 + 0x4073c) + 0x6c30)" ( (pointer_expression "*(undefined4 *)(iVar2 + 8)" * (cast_expression "(undefined4 *)(iVar2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) , (binary_expression "uVar6 | 2" identifier | number_literal) , (binary_expression "*(int *)(puVar10 + 0x4073c) + 0x6c30" (pointer_expression "*(int *)(puVar10 + 0x4073c)" * (cast_expression "(int *)(puVar10 + 0x4073c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x4073c)" ( (binary_expression "puVar10 + 0x4073c" identifier + number_literal) )))) + number_literal) )))) ;) (return_statement "return uVar3;" return identifier ;) })) (labeled_statement "LAB_00075138:\n  uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6,*(int *)(puVar10 + 0x4073c) + 0x6c30);" statement_identifier : (expression_statement "uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6,*(int *)(puVar10 + 0x4073c) + 0x6c30);" (assignment_expression "uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6,*(int *)(puVar10 + 0x4073c) + 0x6c30)" identifier = (call_expression "uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6,*(int *)(puVar10 + 0x4073c) + 0x6c30)" identifier (argument_list "(*(undefined4 *)(iVar2 + 8),uVar6,*(int *)(puVar10 + 0x4073c) + 0x6c30)" ( (pointer_expression "*(undefined4 *)(iVar2 + 8)" * (cast_expression "(undefined4 *)(iVar2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) , identifier , (binary_expression "*(int *)(puVar10 + 0x4073c) + 0x6c30" (pointer_expression "*(int *)(puVar10 + 0x4073c)" * (cast_expression "(int *)(puVar10 + 0x4073c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x4073c)" ( (binary_expression "puVar10 + 0x4073c" identifier + number_literal) )))) + number_literal) )))) ;)) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nchar * sk_tcp_peer_info(Socket sock)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  char *pcVar4;\n  int *piVar5;\n  int *piVar6;\n  undefined4 uVar7;\n  uint rwx;\n  char *pcVar8;\n  undefined *puVar9;\n  code *pcVar10;\n  socklen_t addrlen;\n  int pid;\n  int uid;\n  int gid;\n  sockaddr_union addr;\n  char uidbuf [64];\n  char buf [46];\n  \n  puVar9 = PTR___stack_chk_guard_000b60f8;\n  addrlen = 0x80;\n  iVar2 = *(int *)PTR___stack_chk_guard_000b60f8;\n  iVar3 = (*(code *)PTR_getpeername_000b5c20)(sock[2],&addr,&addrlen);\n  if (iVar3 < 0) {\nLAB_00074f8c:\n    pcVar4 = (char *)0x0;\n  }\n  else if (addr.storage.ss_family == 2) {\n    uVar7 = (*(code *)PTR_inet_ntoa_000b5a80)(addr.sin6.sin6_flowinfo);\n    pcVar4 = (char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar7,\n                                addr.sin.sin_port);\n  }\n  else if (addr.storage.ss_family == 10) {\n    uVar7 = (*(code *)PTR_inet_ntop_000b5c8c)(10,addr.storage.__ss_padding + 6,buf,0x2e);\n    pcVar4 = (char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar7,\n                                addr.sin.sin_port);\n  }\n  else {\n    if ((addr.storage.ss_family != 1) ||\n       (iVar3 = so_peercred((int)sock[2],&pid,&uid,&gid),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar3 == 0)) goto LAB_00074f8c;\n    pcVar4 = uidbuf;\n    (*(code *)PTR___sprintf_chk_000b5fe0)\n              (pcVar4,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,uid);\n    pcVar8 = buf;\n    (*(code *)PTR___sprintf_chk_000b5fe0)(pcVar8,1,0x40,puVar1 + -0x7a40,gid);\n    piVar5 = (int *)(*(code *)PTR_getpwuid_000b5be4)(uid);\n    piVar6 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(gid);\n    if (piVar5 != (int *)0x0) {\n      pcVar4 = (char *)*piVar5;\n    }\n    if (piVar6 != (int *)0x0) {\n      pcVar8 = (char *)*piVar6;\n    }\n    pcVar4 = (char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,pid,pcVar4,pcVar8);\n  }\n  if (iVar2 == *(int *)puVar9) {\n    return pcVar4;\n  }\n  puVar9 = PTR___stack_chk_fail_000b5d9c;\n  (*(code *)PTR___stack_chk_fail_000b5d9c)();\n  pcVar4 = *(char **)(iVar2 + 0x44);\n  if (pcVar4 != (char *)0x0) {\n    rwx = 0;\n    goto LAB_00075138;\n  }\n  if (*(int *)(iVar2 + 0x48) != 0) {\n    uxsel_set(*(int *)(iVar2 + 8),1,(uxsel_callback_fn)(*(int *)(puVar9 + 0x4073c) + 0x6c30));\n    return pcVar4;\n  }\n  if (*(int *)(iVar2 + 0x1c) == 0) {\n    rwx = 2;\nLAB_00075180:\n    pcVar10 = *(code **)(puVar9 + 0x401f4);\n  }\n  else {\n    pcVar10 = *(code **)(puVar9 + 0x401f4);\n    rwx = 0;\n    if (*(int *)(iVar2 + 0x24) == 0) {\n      rwx = 5;\n      if (*(int *)(iVar2 + 0x40) != 0) {\n        rwx = 0;\n      }\n      goto LAB_00075180;\n    }\n  }\n  pcVar4 = (char *)(*pcVar10)(iVar2 + 0x10);\n  if (pcVar4 != (char *)0x0) {\n    uxsel_set(*(int *)(iVar2 + 8),rwx | 2,(uxsel_callback_fn)(*(int *)(puVar9 + 0x4073c) + 0x6c30));\n    return pcVar4;\n  }\nLAB_00075138:\n  uxsel_set(*(int *)(iVar2 + 8),rwx,(uxsel_callback_fn)(*(int *)(puVar9 + 0x4073c) + 0x6c30));\n  return pcVar4;\n}\n\n" comment (function_definition "char * sk_tcp_peer_info(Socket sock)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  char *pcVar4;\n  int *piVar5;\n  int *piVar6;\n  undefined4 uVar7;\n  uint rwx;\n  char *pcVar8;\n  undefined *puVar9;\n  code *pcVar10;\n  socklen_t addrlen;\n  int pid;\n  int uid;\n  int gid;\n  sockaddr_union addr;\n  char uidbuf [64];\n  char buf [46];\n  \n  puVar9 = PTR___stack_chk_guard_000b60f8;\n  addrlen = 0x80;\n  iVar2 = *(int *)PTR___stack_chk_guard_000b60f8;\n  iVar3 = (*(code *)PTR_getpeername_000b5c20)(sock[2],&addr,&addrlen);\n  if (iVar3 < 0) {\nLAB_00074f8c:\n    pcVar4 = (char *)0x0;\n  }\n  else if (addr.storage.ss_family == 2) {\n    uVar7 = (*(code *)PTR_inet_ntoa_000b5a80)(addr.sin6.sin6_flowinfo);\n    pcVar4 = (char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar7,\n                                addr.sin.sin_port);\n  }\n  else if (addr.storage.ss_family == 10) {\n    uVar7 = (*(code *)PTR_inet_ntop_000b5c8c)(10,addr.storage.__ss_padding + 6,buf,0x2e);\n    pcVar4 = (char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar7,\n                                addr.sin.sin_port);\n  }\n  else {\n    if ((addr.storage.ss_family != 1) ||\n       (iVar3 = so_peercred((int)sock[2],&pid,&uid,&gid),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar3 == 0)) goto LAB_00074f8c;\n    pcVar4 = uidbuf;\n    (*(code *)PTR___sprintf_chk_000b5fe0)\n              (pcVar4,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,uid);\n    pcVar8 = buf;\n    (*(code *)PTR___sprintf_chk_000b5fe0)(pcVar8,1,0x40,puVar1 + -0x7a40,gid);\n    piVar5 = (int *)(*(code *)PTR_getpwuid_000b5be4)(uid);\n    piVar6 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(gid);\n    if (piVar5 != (int *)0x0) {\n      pcVar4 = (char *)*piVar5;\n    }\n    if (piVar6 != (int *)0x0) {\n      pcVar8 = (char *)*piVar6;\n    }\n    pcVar4 = (char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,pid,pcVar4,pcVar8);\n  }\n  if (iVar2 == *(int *)puVar9) {\n    return pcVar4;\n  }\n  puVar9 = PTR___stack_chk_fail_000b5d9c;\n  (*(code *)PTR___stack_chk_fail_000b5d9c)();\n  pcVar4 = *(char **)(iVar2 + 0x44);\n  if (pcVar4 != (char *)0x0) {\n    rwx = 0;\n    goto LAB_00075138;\n  }\n  if (*(int *)(iVar2 + 0x48) != 0) {\n    uxsel_set(*(int *)(iVar2 + 8),1,(uxsel_callback_fn)(*(int *)(puVar9 + 0x4073c) + 0x6c30));\n    return pcVar4;\n  }\n  if (*(int *)(iVar2 + 0x1c) == 0) {\n    rwx = 2;\nLAB_00075180:\n    pcVar10 = *(code **)(puVar9 + 0x401f4);\n  }\n  else {\n    pcVar10 = *(code **)(puVar9 + 0x401f4);\n    rwx = 0;\n    if (*(int *)(iVar2 + 0x24) == 0) {\n      rwx = 5;\n      if (*(int *)(iVar2 + 0x40) != 0) {\n        rwx = 0;\n      }\n      goto LAB_00075180;\n    }\n  }\n  pcVar4 = (char *)(*pcVar10)(iVar2 + 0x10);\n  if (pcVar4 != (char *)0x0) {\n    uxsel_set(*(int *)(iVar2 + 8),rwx | 2,(uxsel_callback_fn)(*(int *)(puVar9 + 0x4073c) + 0x6c30));\n    return pcVar4;\n  }\nLAB_00075138:\n  uxsel_set(*(int *)(iVar2 + 8),rwx,(uxsel_callback_fn)(*(int *)(puVar9 + 0x4073c) + 0x6c30));\n  return pcVar4;\n}" primitive_type (pointer_declarator "* sk_tcp_peer_info(Socket sock)" * (function_declarator "sk_tcp_peer_info(Socket sock)" identifier (parameter_list "(Socket sock)" ( (parameter_declaration "Socket sock" type_identifier identifier) )))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  char *pcVar4;\n  int *piVar5;\n  int *piVar6;\n  undefined4 uVar7;\n  uint rwx;\n  char *pcVar8;\n  undefined *puVar9;\n  code *pcVar10;\n  socklen_t addrlen;\n  int pid;\n  int uid;\n  int gid;\n  sockaddr_union addr;\n  char uidbuf [64];\n  char buf [46];\n  \n  puVar9 = PTR___stack_chk_guard_000b60f8;\n  addrlen = 0x80;\n  iVar2 = *(int *)PTR___stack_chk_guard_000b60f8;\n  iVar3 = (*(code *)PTR_getpeername_000b5c20)(sock[2],&addr,&addrlen);\n  if (iVar3 < 0) {\nLAB_00074f8c:\n    pcVar4 = (char *)0x0;\n  }\n  else if (addr.storage.ss_family == 2) {\n    uVar7 = (*(code *)PTR_inet_ntoa_000b5a80)(addr.sin6.sin6_flowinfo);\n    pcVar4 = (char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar7,\n                                addr.sin.sin_port);\n  }\n  else if (addr.storage.ss_family == 10) {\n    uVar7 = (*(code *)PTR_inet_ntop_000b5c8c)(10,addr.storage.__ss_padding + 6,buf,0x2e);\n    pcVar4 = (char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar7,\n                                addr.sin.sin_port);\n  }\n  else {\n    if ((addr.storage.ss_family != 1) ||\n       (iVar3 = so_peercred((int)sock[2],&pid,&uid,&gid),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar3 == 0)) goto LAB_00074f8c;\n    pcVar4 = uidbuf;\n    (*(code *)PTR___sprintf_chk_000b5fe0)\n              (pcVar4,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,uid);\n    pcVar8 = buf;\n    (*(code *)PTR___sprintf_chk_000b5fe0)(pcVar8,1,0x40,puVar1 + -0x7a40,gid);\n    piVar5 = (int *)(*(code *)PTR_getpwuid_000b5be4)(uid);\n    piVar6 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(gid);\n    if (piVar5 != (int *)0x0) {\n      pcVar4 = (char *)*piVar5;\n    }\n    if (piVar6 != (int *)0x0) {\n      pcVar8 = (char *)*piVar6;\n    }\n    pcVar4 = (char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,pid,pcVar4,pcVar8);\n  }\n  if (iVar2 == *(int *)puVar9) {\n    return pcVar4;\n  }\n  puVar9 = PTR___stack_chk_fail_000b5d9c;\n  (*(code *)PTR___stack_chk_fail_000b5d9c)();\n  pcVar4 = *(char **)(iVar2 + 0x44);\n  if (pcVar4 != (char *)0x0) {\n    rwx = 0;\n    goto LAB_00075138;\n  }\n  if (*(int *)(iVar2 + 0x48) != 0) {\n    uxsel_set(*(int *)(iVar2 + 8),1,(uxsel_callback_fn)(*(int *)(puVar9 + 0x4073c) + 0x6c30));\n    return pcVar4;\n  }\n  if (*(int *)(iVar2 + 0x1c) == 0) {\n    rwx = 2;\nLAB_00075180:\n    pcVar10 = *(code **)(puVar9 + 0x401f4);\n  }\n  else {\n    pcVar10 = *(code **)(puVar9 + 0x401f4);\n    rwx = 0;\n    if (*(int *)(iVar2 + 0x24) == 0) {\n      rwx = 5;\n      if (*(int *)(iVar2 + 0x40) != 0) {\n        rwx = 0;\n      }\n      goto LAB_00075180;\n    }\n  }\n  pcVar4 = (char *)(*pcVar10)(iVar2 + 0x10);\n  if (pcVar4 != (char *)0x0) {\n    uxsel_set(*(int *)(iVar2 + 8),rwx | 2,(uxsel_callback_fn)(*(int *)(puVar9 + 0x4073c) + 0x6c30));\n    return pcVar4;\n  }\nLAB_00075138:\n  uxsel_set(*(int *)(iVar2 + 8),rwx,(uxsel_callback_fn)(*(int *)(puVar9 + 0x4073c) + 0x6c30));\n  return pcVar4;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "uint rwx;" type_identifier identifier ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "undefined *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "code *pcVar10;" type_identifier (pointer_declarator "*pcVar10" * identifier) ;) (declaration "socklen_t addrlen;" type_identifier identifier ;) (declaration "int pid;" primitive_type identifier ;) (declaration "int uid;" primitive_type identifier ;) (declaration "int gid;" primitive_type identifier ;) (declaration "sockaddr_union addr;" type_identifier identifier ;) (declaration "char uidbuf [64];" primitive_type (array_declarator "uidbuf [64]" identifier [ number_literal ]) ;) (declaration "char buf [46];" primitive_type (array_declarator "buf [46]" identifier [ number_literal ]) ;) (expression_statement "puVar9 = PTR___stack_chk_guard_000b60f8;" (assignment_expression "puVar9 = PTR___stack_chk_guard_000b60f8" identifier = identifier) ;) (expression_statement "addrlen = 0x80;" (assignment_expression "addrlen = 0x80" identifier = number_literal) ;) (expression_statement "iVar2 = *(int *)PTR___stack_chk_guard_000b60f8;" (assignment_expression "iVar2 = *(int *)PTR___stack_chk_guard_000b60f8" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000b60f8" * (cast_expression "(int *)PTR___stack_chk_guard_000b60f8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar3 = (*(code *)PTR_getpeername_000b5c20)(sock[2],&addr,&addrlen);" (assignment_expression "iVar3 = (*(code *)PTR_getpeername_000b5c20)(sock[2],&addr,&addrlen)" identifier = (call_expression "(*(code *)PTR_getpeername_000b5c20)(sock[2],&addr,&addrlen)" (parenthesized_expression "(*(code *)PTR_getpeername_000b5c20)" ( (pointer_expression "*(code *)PTR_getpeername_000b5c20" * (cast_expression "(code *)PTR_getpeername_000b5c20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(sock[2],&addr,&addrlen)" ( (subscript_expression "sock[2]" identifier [ number_literal ]) , (pointer_expression "&addr" & identifier) , (pointer_expression "&addrlen" & identifier) )))) ;) (if_statement "if (iVar3 < 0) {\nLAB_00074f8c:\n    pcVar4 = (char *)0x0;\n  }\n  else if (addr.storage.ss_family == 2) {\n    uVar7 = (*(code *)PTR_inet_ntoa_000b5a80)(addr.sin6.sin6_flowinfo);\n    pcVar4 = (char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar7,\n                                addr.sin.sin_port);\n  }\n  else if (addr.storage.ss_family == 10) {\n    uVar7 = (*(code *)PTR_inet_ntop_000b5c8c)(10,addr.storage.__ss_padding + 6,buf,0x2e);\n    pcVar4 = (char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar7,\n                                addr.sin.sin_port);\n  }\n  else {\n    if ((addr.storage.ss_family != 1) ||\n       (iVar3 = so_peercred((int)sock[2],&pid,&uid,&gid),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar3 == 0)) goto LAB_00074f8c;\n    pcVar4 = uidbuf;\n    (*(code *)PTR___sprintf_chk_000b5fe0)\n              (pcVar4,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,uid);\n    pcVar8 = buf;\n    (*(code *)PTR___sprintf_chk_000b5fe0)(pcVar8,1,0x40,puVar1 + -0x7a40,gid);\n    piVar5 = (int *)(*(code *)PTR_getpwuid_000b5be4)(uid);\n    piVar6 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(gid);\n    if (piVar5 != (int *)0x0) {\n      pcVar4 = (char *)*piVar5;\n    }\n    if (piVar6 != (int *)0x0) {\n      pcVar8 = (char *)*piVar6;\n    }\n    pcVar4 = (char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,pid,pcVar4,pcVar8);\n  }" if (parenthesized_expression "(iVar3 < 0)" ( (binary_expression "iVar3 < 0" identifier < number_literal) )) (compound_statement "{\nLAB_00074f8c:\n    pcVar4 = (char *)0x0;\n  }" { (labeled_statement "LAB_00074f8c:\n    pcVar4 = (char *)0x0;" statement_identifier : (expression_statement "pcVar4 = (char *)0x0;" (assignment_expression "pcVar4 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) }) (else_clause "else if (addr.storage.ss_family == 2) {\n    uVar7 = (*(code *)PTR_inet_ntoa_000b5a80)(addr.sin6.sin6_flowinfo);\n    pcVar4 = (char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar7,\n                                addr.sin.sin_port);\n  }\n  else if (addr.storage.ss_family == 10) {\n    uVar7 = (*(code *)PTR_inet_ntop_000b5c8c)(10,addr.storage.__ss_padding + 6,buf,0x2e);\n    pcVar4 = (char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar7,\n                                addr.sin.sin_port);\n  }\n  else {\n    if ((addr.storage.ss_family != 1) ||\n       (iVar3 = so_peercred((int)sock[2],&pid,&uid,&gid),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar3 == 0)) goto LAB_00074f8c;\n    pcVar4 = uidbuf;\n    (*(code *)PTR___sprintf_chk_000b5fe0)\n              (pcVar4,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,uid);\n    pcVar8 = buf;\n    (*(code *)PTR___sprintf_chk_000b5fe0)(pcVar8,1,0x40,puVar1 + -0x7a40,gid);\n    piVar5 = (int *)(*(code *)PTR_getpwuid_000b5be4)(uid);\n    piVar6 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(gid);\n    if (piVar5 != (int *)0x0) {\n      pcVar4 = (char *)*piVar5;\n    }\n    if (piVar6 != (int *)0x0) {\n      pcVar8 = (char *)*piVar6;\n    }\n    pcVar4 = (char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,pid,pcVar4,pcVar8);\n  }" else (if_statement "if (addr.storage.ss_family == 2) {\n    uVar7 = (*(code *)PTR_inet_ntoa_000b5a80)(addr.sin6.sin6_flowinfo);\n    pcVar4 = (char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar7,\n                                addr.sin.sin_port);\n  }\n  else if (addr.storage.ss_family == 10) {\n    uVar7 = (*(code *)PTR_inet_ntop_000b5c8c)(10,addr.storage.__ss_padding + 6,buf,0x2e);\n    pcVar4 = (char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar7,\n                                addr.sin.sin_port);\n  }\n  else {\n    if ((addr.storage.ss_family != 1) ||\n       (iVar3 = so_peercred((int)sock[2],&pid,&uid,&gid),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar3 == 0)) goto LAB_00074f8c;\n    pcVar4 = uidbuf;\n    (*(code *)PTR___sprintf_chk_000b5fe0)\n              (pcVar4,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,uid);\n    pcVar8 = buf;\n    (*(code *)PTR___sprintf_chk_000b5fe0)(pcVar8,1,0x40,puVar1 + -0x7a40,gid);\n    piVar5 = (int *)(*(code *)PTR_getpwuid_000b5be4)(uid);\n    piVar6 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(gid);\n    if (piVar5 != (int *)0x0) {\n      pcVar4 = (char *)*piVar5;\n    }\n    if (piVar6 != (int *)0x0) {\n      pcVar8 = (char *)*piVar6;\n    }\n    pcVar4 = (char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,pid,pcVar4,pcVar8);\n  }" if (parenthesized_expression "(addr.storage.ss_family == 2)" ( (binary_expression "addr.storage.ss_family == 2" (field_expression "addr.storage.ss_family" (field_expression "addr.storage" identifier . field_identifier) . field_identifier) == number_literal) )) (compound_statement "{\n    uVar7 = (*(code *)PTR_inet_ntoa_000b5a80)(addr.sin6.sin6_flowinfo);\n    pcVar4 = (char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar7,\n                                addr.sin.sin_port);\n  }" { (expression_statement "uVar7 = (*(code *)PTR_inet_ntoa_000b5a80)(addr.sin6.sin6_flowinfo);" (assignment_expression "uVar7 = (*(code *)PTR_inet_ntoa_000b5a80)(addr.sin6.sin6_flowinfo)" identifier = (call_expression "(*(code *)PTR_inet_ntoa_000b5a80)(addr.sin6.sin6_flowinfo)" (parenthesized_expression "(*(code *)PTR_inet_ntoa_000b5a80)" ( (pointer_expression "*(code *)PTR_inet_ntoa_000b5a80" * (cast_expression "(code *)PTR_inet_ntoa_000b5a80" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(addr.sin6.sin6_flowinfo)" ( (field_expression "addr.sin6.sin6_flowinfo" (field_expression "addr.sin6" identifier . field_identifier) . field_identifier) )))) ;) (expression_statement "pcVar4 = (char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar7,\n                                addr.sin.sin_port);" (assignment_expression "pcVar4 = (char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar7,\n                                addr.sin.sin_port)" identifier = (cast_expression "(char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar7,\n                                addr.sin.sin_port)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar7,\n                                addr.sin.sin_port)" (parenthesized_expression "(*(code *)PTR_dupprintf_000b52c0)" ( (pointer_expression "*(code *)PTR_dupprintf_000b52c0" * (cast_expression "(code *)PTR_dupprintf_000b52c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar7,\n                                addr.sin.sin_port)" ( (binary_expression "PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10" identifier + number_literal) , identifier , (field_expression "addr.sin.sin_port" (field_expression "addr.sin" identifier . field_identifier) . field_identifier) ))))) ;) }) (else_clause "else if (addr.storage.ss_family == 10) {\n    uVar7 = (*(code *)PTR_inet_ntop_000b5c8c)(10,addr.storage.__ss_padding + 6,buf,0x2e);\n    pcVar4 = (char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar7,\n                                addr.sin.sin_port);\n  }\n  else {\n    if ((addr.storage.ss_family != 1) ||\n       (iVar3 = so_peercred((int)sock[2],&pid,&uid,&gid),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar3 == 0)) goto LAB_00074f8c;\n    pcVar4 = uidbuf;\n    (*(code *)PTR___sprintf_chk_000b5fe0)\n              (pcVar4,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,uid);\n    pcVar8 = buf;\n    (*(code *)PTR___sprintf_chk_000b5fe0)(pcVar8,1,0x40,puVar1 + -0x7a40,gid);\n    piVar5 = (int *)(*(code *)PTR_getpwuid_000b5be4)(uid);\n    piVar6 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(gid);\n    if (piVar5 != (int *)0x0) {\n      pcVar4 = (char *)*piVar5;\n    }\n    if (piVar6 != (int *)0x0) {\n      pcVar8 = (char *)*piVar6;\n    }\n    pcVar4 = (char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,pid,pcVar4,pcVar8);\n  }" else (if_statement "if (addr.storage.ss_family == 10) {\n    uVar7 = (*(code *)PTR_inet_ntop_000b5c8c)(10,addr.storage.__ss_padding + 6,buf,0x2e);\n    pcVar4 = (char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar7,\n                                addr.sin.sin_port);\n  }\n  else {\n    if ((addr.storage.ss_family != 1) ||\n       (iVar3 = so_peercred((int)sock[2],&pid,&uid,&gid),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar3 == 0)) goto LAB_00074f8c;\n    pcVar4 = uidbuf;\n    (*(code *)PTR___sprintf_chk_000b5fe0)\n              (pcVar4,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,uid);\n    pcVar8 = buf;\n    (*(code *)PTR___sprintf_chk_000b5fe0)(pcVar8,1,0x40,puVar1 + -0x7a40,gid);\n    piVar5 = (int *)(*(code *)PTR_getpwuid_000b5be4)(uid);\n    piVar6 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(gid);\n    if (piVar5 != (int *)0x0) {\n      pcVar4 = (char *)*piVar5;\n    }\n    if (piVar6 != (int *)0x0) {\n      pcVar8 = (char *)*piVar6;\n    }\n    pcVar4 = (char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,pid,pcVar4,pcVar8);\n  }" if (parenthesized_expression "(addr.storage.ss_family == 10)" ( (binary_expression "addr.storage.ss_family == 10" (field_expression "addr.storage.ss_family" (field_expression "addr.storage" identifier . field_identifier) . field_identifier) == number_literal) )) (compound_statement "{\n    uVar7 = (*(code *)PTR_inet_ntop_000b5c8c)(10,addr.storage.__ss_padding + 6,buf,0x2e);\n    pcVar4 = (char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar7,\n                                addr.sin.sin_port);\n  }" { (expression_statement "uVar7 = (*(code *)PTR_inet_ntop_000b5c8c)(10,addr.storage.__ss_padding + 6,buf,0x2e);" (assignment_expression "uVar7 = (*(code *)PTR_inet_ntop_000b5c8c)(10,addr.storage.__ss_padding + 6,buf,0x2e)" identifier = (call_expression "(*(code *)PTR_inet_ntop_000b5c8c)(10,addr.storage.__ss_padding + 6,buf,0x2e)" (parenthesized_expression "(*(code *)PTR_inet_ntop_000b5c8c)" ( (pointer_expression "*(code *)PTR_inet_ntop_000b5c8c" * (cast_expression "(code *)PTR_inet_ntop_000b5c8c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10,addr.storage.__ss_padding + 6,buf,0x2e)" ( number_literal , (binary_expression "addr.storage.__ss_padding + 6" (field_expression "addr.storage.__ss_padding" (field_expression "addr.storage" identifier . field_identifier) . field_identifier) + number_literal) , identifier , number_literal )))) ;) (expression_statement "pcVar4 = (char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar7,\n                                addr.sin.sin_port);" (assignment_expression "pcVar4 = (char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar7,\n                                addr.sin.sin_port)" identifier = (cast_expression "(char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar7,\n                                addr.sin.sin_port)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar7,\n                                addr.sin.sin_port)" (parenthesized_expression "(*(code *)PTR_dupprintf_000b52c0)" ( (pointer_expression "*(code *)PTR_dupprintf_000b52c0" * (cast_expression "(code *)PTR_dupprintf_000b52c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar7,\n                                addr.sin.sin_port)" ( (binary_expression "PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08" identifier + number_literal) , identifier , (field_expression "addr.sin.sin_port" (field_expression "addr.sin" identifier . field_identifier) . field_identifier) ))))) ;) }) (else_clause "else {\n    if ((addr.storage.ss_family != 1) ||\n       (iVar3 = so_peercred((int)sock[2],&pid,&uid,&gid),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar3 == 0)) goto LAB_00074f8c;\n    pcVar4 = uidbuf;\n    (*(code *)PTR___sprintf_chk_000b5fe0)\n              (pcVar4,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,uid);\n    pcVar8 = buf;\n    (*(code *)PTR___sprintf_chk_000b5fe0)(pcVar8,1,0x40,puVar1 + -0x7a40,gid);\n    piVar5 = (int *)(*(code *)PTR_getpwuid_000b5be4)(uid);\n    piVar6 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(gid);\n    if (piVar5 != (int *)0x0) {\n      pcVar4 = (char *)*piVar5;\n    }\n    if (piVar6 != (int *)0x0) {\n      pcVar8 = (char *)*piVar6;\n    }\n    pcVar4 = (char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,pid,pcVar4,pcVar8);\n  }" else (compound_statement "{\n    if ((addr.storage.ss_family != 1) ||\n       (iVar3 = so_peercred((int)sock[2],&pid,&uid,&gid),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar3 == 0)) goto LAB_00074f8c;\n    pcVar4 = uidbuf;\n    (*(code *)PTR___sprintf_chk_000b5fe0)\n              (pcVar4,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,uid);\n    pcVar8 = buf;\n    (*(code *)PTR___sprintf_chk_000b5fe0)(pcVar8,1,0x40,puVar1 + -0x7a40,gid);\n    piVar5 = (int *)(*(code *)PTR_getpwuid_000b5be4)(uid);\n    piVar6 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(gid);\n    if (piVar5 != (int *)0x0) {\n      pcVar4 = (char *)*piVar5;\n    }\n    if (piVar6 != (int *)0x0) {\n      pcVar8 = (char *)*piVar6;\n    }\n    pcVar4 = (char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,pid,pcVar4,pcVar8);\n  }" { (if_statement "if ((addr.storage.ss_family != 1) ||\n       (iVar3 = so_peercred((int)sock[2],&pid,&uid,&gid),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar3 == 0)) goto LAB_00074f8c;" if (parenthesized_expression "((addr.storage.ss_family != 1) ||\n       (iVar3 = so_peercred((int)sock[2],&pid,&uid,&gid),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar3 == 0))" ( (binary_expression "(addr.storage.ss_family != 1) ||\n       (iVar3 = so_peercred((int)sock[2],&pid,&uid,&gid),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar3 == 0)" (parenthesized_expression "(addr.storage.ss_family != 1)" ( (binary_expression "addr.storage.ss_family != 1" (field_expression "addr.storage.ss_family" (field_expression "addr.storage" identifier . field_identifier) . field_identifier) != number_literal) )) || (parenthesized_expression "(iVar3 = so_peercred((int)sock[2],&pid,&uid,&gid),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar3 == 0)" ( (comma_expression "iVar3 = so_peercred((int)sock[2],&pid,&uid,&gid),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar3 == 0" (assignment_expression "iVar3 = so_peercred((int)sock[2],&pid,&uid,&gid)" identifier = (call_expression "so_peercred((int)sock[2],&pid,&uid,&gid)" identifier (argument_list "((int)sock[2],&pid,&uid,&gid)" ( (cast_expression "(int)sock[2]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "sock[2]" identifier [ number_literal ])) , (pointer_expression "&pid" & identifier) , (pointer_expression "&uid" & identifier) , (pointer_expression "&gid" & identifier) )))) , (comma_expression "puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar3 == 0" (assignment_expression "puVar1 = PTR_s_XXXXXXXXXX___________000b5214" identifier = identifier) , (binary_expression "iVar3 == 0" identifier == number_literal))) ))) )) (goto_statement "goto LAB_00074f8c;" goto statement_identifier ;)) (expression_statement "pcVar4 = uidbuf;" (assignment_expression "pcVar4 = uidbuf" identifier = identifier) ;) (expression_statement "(*(code *)PTR___sprintf_chk_000b5fe0)\n              (pcVar4,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,uid);" (call_expression "(*(code *)PTR___sprintf_chk_000b5fe0)\n              (pcVar4,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,uid)" (parenthesized_expression "(*(code *)PTR___sprintf_chk_000b5fe0)" ( (pointer_expression "*(code *)PTR___sprintf_chk_000b5fe0" * (cast_expression "(code *)PTR___sprintf_chk_000b5fe0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar4,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,uid)" ( identifier , number_literal , number_literal , (binary_expression "PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40" identifier + number_literal) , identifier ))) ;) (expression_statement "pcVar8 = buf;" (assignment_expression "pcVar8 = buf" identifier = identifier) ;) (expression_statement "(*(code *)PTR___sprintf_chk_000b5fe0)(pcVar8,1,0x40,puVar1 + -0x7a40,gid);" (call_expression "(*(code *)PTR___sprintf_chk_000b5fe0)(pcVar8,1,0x40,puVar1 + -0x7a40,gid)" (parenthesized_expression "(*(code *)PTR___sprintf_chk_000b5fe0)" ( (pointer_expression "*(code *)PTR___sprintf_chk_000b5fe0" * (cast_expression "(code *)PTR___sprintf_chk_000b5fe0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar8,1,0x40,puVar1 + -0x7a40,gid)" ( identifier , number_literal , number_literal , (binary_expression "puVar1 + -0x7a40" identifier + number_literal) , identifier ))) ;) (expression_statement "piVar5 = (int *)(*(code *)PTR_getpwuid_000b5be4)(uid);" (assignment_expression "piVar5 = (int *)(*(code *)PTR_getpwuid_000b5be4)(uid)" identifier = (cast_expression "(int *)(*(code *)PTR_getpwuid_000b5be4)(uid)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_getpwuid_000b5be4)(uid)" (parenthesized_expression "(*(code *)PTR_getpwuid_000b5be4)" ( (pointer_expression "*(code *)PTR_getpwuid_000b5be4" * (cast_expression "(code *)PTR_getpwuid_000b5be4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uid)" ( identifier ))))) ;) (expression_statement "piVar6 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(gid);" (assignment_expression "piVar6 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(gid)" identifier = (cast_expression "(int *)(*(code *)PTR_getgrgid_000b5bf8)(gid)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_getgrgid_000b5bf8)(gid)" (parenthesized_expression "(*(code *)PTR_getgrgid_000b5bf8)" ( (pointer_expression "*(code *)PTR_getgrgid_000b5bf8" * (cast_expression "(code *)PTR_getgrgid_000b5bf8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(gid)" ( identifier ))))) ;) (if_statement "if (piVar5 != (int *)0x0) {\n      pcVar4 = (char *)*piVar5;\n    }" if (parenthesized_expression "(piVar5 != (int *)0x0)" ( (binary_expression "piVar5 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pcVar4 = (char *)*piVar5;\n    }" { (expression_statement "pcVar4 = (char *)*piVar5;" (assignment_expression "pcVar4 = (char *)*piVar5" identifier = (cast_expression "(char *)*piVar5" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar5" * identifier))) ;) })) (if_statement "if (piVar6 != (int *)0x0) {\n      pcVar8 = (char *)*piVar6;\n    }" if (parenthesized_expression "(piVar6 != (int *)0x0)" ( (binary_expression "piVar6 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pcVar8 = (char *)*piVar6;\n    }" { (expression_statement "pcVar8 = (char *)*piVar6;" (assignment_expression "pcVar8 = (char *)*piVar6" identifier = (cast_expression "(char *)*piVar6" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) ;) })) (expression_statement "pcVar4 = (char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,pid,pcVar4,pcVar8);" (assignment_expression "pcVar4 = (char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,pid,pcVar4,pcVar8)" identifier = (cast_expression "(char *)(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,pid,pcVar4,pcVar8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dupprintf_000b52c0)\n                               (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,pid,pcVar4,pcVar8)" (parenthesized_expression "(*(code *)PTR_dupprintf_000b52c0)" ( (pointer_expression "*(code *)PTR_dupprintf_000b52c0" * (cast_expression "(code *)PTR_dupprintf_000b52c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,pid,pcVar4,pcVar8)" ( (binary_expression "PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00" identifier + number_literal) , identifier , identifier , identifier ))))) ;) }))))))) (if_statement "if (iVar2 == *(int *)puVar9) {\n    return pcVar4;\n  }" if (parenthesized_expression "(iVar2 == *(int *)puVar9)" ( (binary_expression "iVar2 == *(int *)puVar9" identifier == (pointer_expression "*(int *)puVar9" * (cast_expression "(int *)puVar9" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return pcVar4;\n  }" { (return_statement "return pcVar4;" return identifier ;) })) (expression_statement "puVar9 = PTR___stack_chk_fail_000b5d9c;" (assignment_expression "puVar9 = PTR___stack_chk_fail_000b5d9c" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000b5d9c)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b5d9c)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b5d9c)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000b5d9c" * (cast_expression "(code *)PTR___stack_chk_fail_000b5d9c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "pcVar4 = *(char **)(iVar2 + 0x44);" (assignment_expression "pcVar4 = *(char **)(iVar2 + 0x44)" identifier = (pointer_expression "*(char **)(iVar2 + 0x44)" * (cast_expression "(char **)(iVar2 + 0x44)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 0x44)" ( (binary_expression "iVar2 + 0x44" identifier + number_literal) ))))) ;) (if_statement "if (pcVar4 != (char *)0x0) {\n    rwx = 0;\n    goto LAB_00075138;\n  }" if (parenthesized_expression "(pcVar4 != (char *)0x0)" ( (binary_expression "pcVar4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    rwx = 0;\n    goto LAB_00075138;\n  }" { (expression_statement "rwx = 0;" (assignment_expression "rwx = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00075138;" goto statement_identifier ;) })) (if_statement "if (*(int *)(iVar2 + 0x48) != 0) {\n    uxsel_set(*(int *)(iVar2 + 8),1,(uxsel_callback_fn)(*(int *)(puVar9 + 0x4073c) + 0x6c30));\n    return pcVar4;\n  }" if (parenthesized_expression "(*(int *)(iVar2 + 0x48) != 0)" ( (binary_expression "*(int *)(iVar2 + 0x48) != 0" (pointer_expression "*(int *)(iVar2 + 0x48)" * (cast_expression "(int *)(iVar2 + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x48)" ( (binary_expression "iVar2 + 0x48" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    uxsel_set(*(int *)(iVar2 + 8),1,(uxsel_callback_fn)(*(int *)(puVar9 + 0x4073c) + 0x6c30));\n    return pcVar4;\n  }" { (expression_statement "uxsel_set(*(int *)(iVar2 + 8),1,(uxsel_callback_fn)(*(int *)(puVar9 + 0x4073c) + 0x6c30));" (call_expression "uxsel_set(*(int *)(iVar2 + 8),1,(uxsel_callback_fn)(*(int *)(puVar9 + 0x4073c) + 0x6c30))" identifier (argument_list "(*(int *)(iVar2 + 8),1,(uxsel_callback_fn)(*(int *)(puVar9 + 0x4073c) + 0x6c30))" ( (pointer_expression "*(int *)(iVar2 + 8)" * (cast_expression "(int *)(iVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) , number_literal , (call_expression "(uxsel_callback_fn)(*(int *)(puVar9 + 0x4073c) + 0x6c30)" (parenthesized_expression "(uxsel_callback_fn)" ( identifier )) (argument_list "(*(int *)(puVar9 + 0x4073c) + 0x6c30)" ( (binary_expression "*(int *)(puVar9 + 0x4073c) + 0x6c30" (pointer_expression "*(int *)(puVar9 + 0x4073c)" * (cast_expression "(int *)(puVar9 + 0x4073c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + 0x4073c)" ( (binary_expression "puVar9 + 0x4073c" identifier + number_literal) )))) + number_literal) ))) ))) ;) (return_statement "return pcVar4;" return identifier ;) })) (if_statement "if (*(int *)(iVar2 + 0x1c) == 0) {\n    rwx = 2;\nLAB_00075180:\n    pcVar10 = *(code **)(puVar9 + 0x401f4);\n  }\n  else {\n    pcVar10 = *(code **)(puVar9 + 0x401f4);\n    rwx = 0;\n    if (*(int *)(iVar2 + 0x24) == 0) {\n      rwx = 5;\n      if (*(int *)(iVar2 + 0x40) != 0) {\n        rwx = 0;\n      }\n      goto LAB_00075180;\n    }\n  }" if (parenthesized_expression "(*(int *)(iVar2 + 0x1c) == 0)" ( (binary_expression "*(int *)(iVar2 + 0x1c) == 0" (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    rwx = 2;\nLAB_00075180:\n    pcVar10 = *(code **)(puVar9 + 0x401f4);\n  }" { (expression_statement "rwx = 2;" (assignment_expression "rwx = 2" identifier = number_literal) ;) (labeled_statement "LAB_00075180:\n    pcVar10 = *(code **)(puVar9 + 0x401f4);" statement_identifier : (expression_statement "pcVar10 = *(code **)(puVar9 + 0x401f4);" (assignment_expression "pcVar10 = *(code **)(puVar9 + 0x401f4)" identifier = (pointer_expression "*(code **)(puVar9 + 0x401f4)" * (cast_expression "(code **)(puVar9 + 0x401f4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x401f4)" ( (binary_expression "puVar9 + 0x401f4" identifier + number_literal) ))))) ;)) }) (else_clause "else {\n    pcVar10 = *(code **)(puVar9 + 0x401f4);\n    rwx = 0;\n    if (*(int *)(iVar2 + 0x24) == 0) {\n      rwx = 5;\n      if (*(int *)(iVar2 + 0x40) != 0) {\n        rwx = 0;\n      }\n      goto LAB_00075180;\n    }\n  }" else (compound_statement "{\n    pcVar10 = *(code **)(puVar9 + 0x401f4);\n    rwx = 0;\n    if (*(int *)(iVar2 + 0x24) == 0) {\n      rwx = 5;\n      if (*(int *)(iVar2 + 0x40) != 0) {\n        rwx = 0;\n      }\n      goto LAB_00075180;\n    }\n  }" { (expression_statement "pcVar10 = *(code **)(puVar9 + 0x401f4);" (assignment_expression "pcVar10 = *(code **)(puVar9 + 0x401f4)" identifier = (pointer_expression "*(code **)(puVar9 + 0x401f4)" * (cast_expression "(code **)(puVar9 + 0x401f4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + 0x401f4)" ( (binary_expression "puVar9 + 0x401f4" identifier + number_literal) ))))) ;) (expression_statement "rwx = 0;" (assignment_expression "rwx = 0" identifier = number_literal) ;) (if_statement "if (*(int *)(iVar2 + 0x24) == 0) {\n      rwx = 5;\n      if (*(int *)(iVar2 + 0x40) != 0) {\n        rwx = 0;\n      }\n      goto LAB_00075180;\n    }" if (parenthesized_expression "(*(int *)(iVar2 + 0x24) == 0)" ( (binary_expression "*(int *)(iVar2 + 0x24) == 0" (pointer_expression "*(int *)(iVar2 + 0x24)" * (cast_expression "(int *)(iVar2 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x24)" ( (binary_expression "iVar2 + 0x24" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      rwx = 5;\n      if (*(int *)(iVar2 + 0x40) != 0) {\n        rwx = 0;\n      }\n      goto LAB_00075180;\n    }" { (expression_statement "rwx = 5;" (assignment_expression "rwx = 5" identifier = number_literal) ;) (if_statement "if (*(int *)(iVar2 + 0x40) != 0) {\n        rwx = 0;\n      }" if (parenthesized_expression "(*(int *)(iVar2 + 0x40) != 0)" ( (binary_expression "*(int *)(iVar2 + 0x40) != 0" (pointer_expression "*(int *)(iVar2 + 0x40)" * (cast_expression "(int *)(iVar2 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x40)" ( (binary_expression "iVar2 + 0x40" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        rwx = 0;\n      }" { (expression_statement "rwx = 0;" (assignment_expression "rwx = 0" identifier = number_literal) ;) })) (goto_statement "goto LAB_00075180;" goto statement_identifier ;) })) }))) (expression_statement "pcVar4 = (char *)(*pcVar10)(iVar2 + 0x10);" (assignment_expression "pcVar4 = (char *)(*pcVar10)(iVar2 + 0x10)" identifier = (cast_expression "(char *)(*pcVar10)(iVar2 + 0x10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcVar10)(iVar2 + 0x10)" (parenthesized_expression "(*pcVar10)" ( (pointer_expression "*pcVar10" * identifier) )) (argument_list "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (pcVar4 != (char *)0x0) {\n    uxsel_set(*(int *)(iVar2 + 8),rwx | 2,(uxsel_callback_fn)(*(int *)(puVar9 + 0x4073c) + 0x6c30));\n    return pcVar4;\n  }" if (parenthesized_expression "(pcVar4 != (char *)0x0)" ( (binary_expression "pcVar4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uxsel_set(*(int *)(iVar2 + 8),rwx | 2,(uxsel_callback_fn)(*(int *)(puVar9 + 0x4073c) + 0x6c30));\n    return pcVar4;\n  }" { (expression_statement "uxsel_set(*(int *)(iVar2 + 8),rwx | 2,(uxsel_callback_fn)(*(int *)(puVar9 + 0x4073c) + 0x6c30));" (call_expression "uxsel_set(*(int *)(iVar2 + 8),rwx | 2,(uxsel_callback_fn)(*(int *)(puVar9 + 0x4073c) + 0x6c30))" identifier (argument_list "(*(int *)(iVar2 + 8),rwx | 2,(uxsel_callback_fn)(*(int *)(puVar9 + 0x4073c) + 0x6c30))" ( (pointer_expression "*(int *)(iVar2 + 8)" * (cast_expression "(int *)(iVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) , (binary_expression "rwx | 2" identifier | number_literal) , (call_expression "(uxsel_callback_fn)(*(int *)(puVar9 + 0x4073c) + 0x6c30)" (parenthesized_expression "(uxsel_callback_fn)" ( identifier )) (argument_list "(*(int *)(puVar9 + 0x4073c) + 0x6c30)" ( (binary_expression "*(int *)(puVar9 + 0x4073c) + 0x6c30" (pointer_expression "*(int *)(puVar9 + 0x4073c)" * (cast_expression "(int *)(puVar9 + 0x4073c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + 0x4073c)" ( (binary_expression "puVar9 + 0x4073c" identifier + number_literal) )))) + number_literal) ))) ))) ;) (return_statement "return pcVar4;" return identifier ;) })) (labeled_statement "LAB_00075138:\n  uxsel_set(*(int *)(iVar2 + 8),rwx,(uxsel_callback_fn)(*(int *)(puVar9 + 0x4073c) + 0x6c30));" statement_identifier : (expression_statement "uxsel_set(*(int *)(iVar2 + 8),rwx,(uxsel_callback_fn)(*(int *)(puVar9 + 0x4073c) + 0x6c30));" (call_expression "uxsel_set(*(int *)(iVar2 + 8),rwx,(uxsel_callback_fn)(*(int *)(puVar9 + 0x4073c) + 0x6c30))" identifier (argument_list "(*(int *)(iVar2 + 8),rwx,(uxsel_callback_fn)(*(int *)(puVar9 + 0x4073c) + 0x6c30))" ( (pointer_expression "*(int *)(iVar2 + 8)" * (cast_expression "(int *)(iVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) , identifier , (call_expression "(uxsel_callback_fn)(*(int *)(puVar9 + 0x4073c) + 0x6c30)" (parenthesized_expression "(uxsel_callback_fn)" ( identifier )) (argument_list "(*(int *)(puVar9 + 0x4073c) + 0x6c30)" ( (binary_expression "*(int *)(puVar9 + 0x4073c) + 0x6c30" (pointer_expression "*(int *)(puVar9 + 0x4073c)" * (cast_expression "(int *)(puVar9 + 0x4073c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + 0x4073c)" ( (binary_expression "puVar9 + 0x4073c" identifier + number_literal) )))) + number_literal) ))) ))) ;)) (return_statement "return pcVar4;" return identifier ;) })))
(translation_unit "undefined4 FUN_00074ef0(int param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int *piVar4;\n  int *piVar5;\n  uint uVar6;\n  int iVar7;\n  undefined1 *puVar8;\n  undefined1 *puVar9;\n  undefined *puVar10;\n  code *pcVar11;\n  undefined4 local_12c;\n  undefined4 local_128;\n  undefined4 local_124;\n  undefined4 local_120;\n  short local_11c;\n  undefined2 local_11a;\n  undefined4 local_118;\n  undefined1 auStack_114 [120];\n  undefined1 auStack_9c [64];\n  undefined1 auStack_5c [64];\n  int local_1c;\n  \n  puVar10 = PTR___stack_chk_guard_000b60f8;\n  local_12c = 0x80;\n  local_1c = *(int *)PTR___stack_chk_guard_000b60f8;\n  iVar2 = (*(code *)PTR_getpeername_000b5c20)(*(undefined4 *)(param_1 + 8),&local_11c,&local_12c);\n  if (iVar2 < 0) {\nLAB_00074f8c:\n    uVar3 = 0;\n  }\n  else if (local_11c == 2) {\n    uVar3 = (*(code *)PTR_inet_ntoa_000b5a80)(local_118);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar3,local_11a);\n  }\n  else if (local_11c == 10) {\n    uVar3 = (*(code *)PTR_inet_ntop_000b5c8c)(10,auStack_114,auStack_5c,0x2e);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar3,local_11a);\n  }\n  else {\n    if ((local_11c != 1) ||\n       (iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0)) goto LAB_00074f8c;\n    puVar8 = auStack_9c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)\n              (puVar8,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,local_124);\n    puVar9 = auStack_5c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)(puVar9,1,0x40,puVar1 + -0x7a40,local_120);\n    piVar4 = (int *)(*(code *)PTR_getpwuid_000b5be4)(local_124);\n    piVar5 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(local_120);\n    if (piVar4 != (int *)0x0) {\n      puVar8 = (undefined1 *)*piVar4;\n    }\n    if (piVar5 != (int *)0x0) {\n      puVar9 = (undefined1 *)*piVar5;\n    }\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9);\n  }\n  if (local_1c == *(int *)puVar10) {\n    return uVar3;\n  }\n  iVar2 = local_1c;\n  puVar10 = PTR___stack_chk_fail_000b5d9c;\n  (*(code *)PTR___stack_chk_fail_000b5d9c)();\n  if (*(int *)(iVar2 + 0x44) != 0) {\n    uVar6 = 0;\n    goto LAB_00075138;\n  }\n  if (*(int *)(iVar2 + 0x48) != 0) {\n    uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),1,*(int *)(puVar10 + 0x4073c) + 0x6c30);\n    return uVar3;\n  }\n  if (*(int *)(iVar2 + 0x1c) == 0) {\n    uVar6 = 2;\nLAB_00075180:\n    pcVar11 = *(code **)(puVar10 + 0x401f4);\n  }\n  else {\n    pcVar11 = *(code **)(puVar10 + 0x401f4);\n    uVar6 = 0;\n    if (*(int *)(iVar2 + 0x24) == 0) {\n      uVar6 = 5;\n      if (*(int *)(iVar2 + 0x40) != 0) {\n        uVar6 = 0;\n      }\n      goto LAB_00075180;\n    }\n  }\n  iVar7 = (*pcVar11)(iVar2 + 0x10);\n  if (iVar7 != 0) {\n    uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6 | 2,*(int *)(puVar10 + 0x4073c) + 0x6c30);\n    return uVar3;\n  }\nLAB_00075138:\n  uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6,*(int *)(puVar10 + 0x4073c) + 0x6c30);\n  return uVar3;\n}\n\n" (function_definition "undefined4 FUN_00074ef0(int param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int *piVar4;\n  int *piVar5;\n  uint uVar6;\n  int iVar7;\n  undefined1 *puVar8;\n  undefined1 *puVar9;\n  undefined *puVar10;\n  code *pcVar11;\n  undefined4 local_12c;\n  undefined4 local_128;\n  undefined4 local_124;\n  undefined4 local_120;\n  short local_11c;\n  undefined2 local_11a;\n  undefined4 local_118;\n  undefined1 auStack_114 [120];\n  undefined1 auStack_9c [64];\n  undefined1 auStack_5c [64];\n  int local_1c;\n  \n  puVar10 = PTR___stack_chk_guard_000b60f8;\n  local_12c = 0x80;\n  local_1c = *(int *)PTR___stack_chk_guard_000b60f8;\n  iVar2 = (*(code *)PTR_getpeername_000b5c20)(*(undefined4 *)(param_1 + 8),&local_11c,&local_12c);\n  if (iVar2 < 0) {\nLAB_00074f8c:\n    uVar3 = 0;\n  }\n  else if (local_11c == 2) {\n    uVar3 = (*(code *)PTR_inet_ntoa_000b5a80)(local_118);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar3,local_11a);\n  }\n  else if (local_11c == 10) {\n    uVar3 = (*(code *)PTR_inet_ntop_000b5c8c)(10,auStack_114,auStack_5c,0x2e);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar3,local_11a);\n  }\n  else {\n    if ((local_11c != 1) ||\n       (iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0)) goto LAB_00074f8c;\n    puVar8 = auStack_9c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)\n              (puVar8,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,local_124);\n    puVar9 = auStack_5c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)(puVar9,1,0x40,puVar1 + -0x7a40,local_120);\n    piVar4 = (int *)(*(code *)PTR_getpwuid_000b5be4)(local_124);\n    piVar5 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(local_120);\n    if (piVar4 != (int *)0x0) {\n      puVar8 = (undefined1 *)*piVar4;\n    }\n    if (piVar5 != (int *)0x0) {\n      puVar9 = (undefined1 *)*piVar5;\n    }\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9);\n  }\n  if (local_1c == *(int *)puVar10) {\n    return uVar3;\n  }\n  iVar2 = local_1c;\n  puVar10 = PTR___stack_chk_fail_000b5d9c;\n  (*(code *)PTR___stack_chk_fail_000b5d9c)();\n  if (*(int *)(iVar2 + 0x44) != 0) {\n    uVar6 = 0;\n    goto LAB_00075138;\n  }\n  if (*(int *)(iVar2 + 0x48) != 0) {\n    uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),1,*(int *)(puVar10 + 0x4073c) + 0x6c30);\n    return uVar3;\n  }\n  if (*(int *)(iVar2 + 0x1c) == 0) {\n    uVar6 = 2;\nLAB_00075180:\n    pcVar11 = *(code **)(puVar10 + 0x401f4);\n  }\n  else {\n    pcVar11 = *(code **)(puVar10 + 0x401f4);\n    uVar6 = 0;\n    if (*(int *)(iVar2 + 0x24) == 0) {\n      uVar6 = 5;\n      if (*(int *)(iVar2 + 0x40) != 0) {\n        uVar6 = 0;\n      }\n      goto LAB_00075180;\n    }\n  }\n  iVar7 = (*pcVar11)(iVar2 + 0x10);\n  if (iVar7 != 0) {\n    uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6 | 2,*(int *)(puVar10 + 0x4073c) + 0x6c30);\n    return uVar3;\n  }\nLAB_00075138:\n  uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6,*(int *)(puVar10 + 0x4073c) + 0x6c30);\n  return uVar3;\n}" type_identifier (function_declarator "FUN_00074ef0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int *piVar4;\n  int *piVar5;\n  uint uVar6;\n  int iVar7;\n  undefined1 *puVar8;\n  undefined1 *puVar9;\n  undefined *puVar10;\n  code *pcVar11;\n  undefined4 local_12c;\n  undefined4 local_128;\n  undefined4 local_124;\n  undefined4 local_120;\n  short local_11c;\n  undefined2 local_11a;\n  undefined4 local_118;\n  undefined1 auStack_114 [120];\n  undefined1 auStack_9c [64];\n  undefined1 auStack_5c [64];\n  int local_1c;\n  \n  puVar10 = PTR___stack_chk_guard_000b60f8;\n  local_12c = 0x80;\n  local_1c = *(int *)PTR___stack_chk_guard_000b60f8;\n  iVar2 = (*(code *)PTR_getpeername_000b5c20)(*(undefined4 *)(param_1 + 8),&local_11c,&local_12c);\n  if (iVar2 < 0) {\nLAB_00074f8c:\n    uVar3 = 0;\n  }\n  else if (local_11c == 2) {\n    uVar3 = (*(code *)PTR_inet_ntoa_000b5a80)(local_118);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar3,local_11a);\n  }\n  else if (local_11c == 10) {\n    uVar3 = (*(code *)PTR_inet_ntop_000b5c8c)(10,auStack_114,auStack_5c,0x2e);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar3,local_11a);\n  }\n  else {\n    if ((local_11c != 1) ||\n       (iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0)) goto LAB_00074f8c;\n    puVar8 = auStack_9c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)\n              (puVar8,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,local_124);\n    puVar9 = auStack_5c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)(puVar9,1,0x40,puVar1 + -0x7a40,local_120);\n    piVar4 = (int *)(*(code *)PTR_getpwuid_000b5be4)(local_124);\n    piVar5 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(local_120);\n    if (piVar4 != (int *)0x0) {\n      puVar8 = (undefined1 *)*piVar4;\n    }\n    if (piVar5 != (int *)0x0) {\n      puVar9 = (undefined1 *)*piVar5;\n    }\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9);\n  }\n  if (local_1c == *(int *)puVar10) {\n    return uVar3;\n  }\n  iVar2 = local_1c;\n  puVar10 = PTR___stack_chk_fail_000b5d9c;\n  (*(code *)PTR___stack_chk_fail_000b5d9c)();\n  if (*(int *)(iVar2 + 0x44) != 0) {\n    uVar6 = 0;\n    goto LAB_00075138;\n  }\n  if (*(int *)(iVar2 + 0x48) != 0) {\n    uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),1,*(int *)(puVar10 + 0x4073c) + 0x6c30);\n    return uVar3;\n  }\n  if (*(int *)(iVar2 + 0x1c) == 0) {\n    uVar6 = 2;\nLAB_00075180:\n    pcVar11 = *(code **)(puVar10 + 0x401f4);\n  }\n  else {\n    pcVar11 = *(code **)(puVar10 + 0x401f4);\n    uVar6 = 0;\n    if (*(int *)(iVar2 + 0x24) == 0) {\n      uVar6 = 5;\n      if (*(int *)(iVar2 + 0x40) != 0) {\n        uVar6 = 0;\n      }\n      goto LAB_00075180;\n    }\n  }\n  iVar7 = (*pcVar11)(iVar2 + 0x10);\n  if (iVar7 != 0) {\n    uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6 | 2,*(int *)(puVar10 + 0x4073c) + 0x6c30);\n    return uVar3;\n  }\nLAB_00075138:\n  uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6,*(int *)(puVar10 + 0x4073c) + 0x6c30);\n  return uVar3;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined1 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "undefined *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "code *pcVar11;" type_identifier (pointer_declarator "*pcVar11" * identifier) ;) (declaration "undefined4 local_12c;" type_identifier identifier ;) (declaration "undefined4 local_128;" type_identifier identifier ;) (declaration "undefined4 local_124;" type_identifier identifier ;) (declaration "undefined4 local_120;" type_identifier identifier ;) (declaration "short local_11c;" (sized_type_specifier "short" short) identifier ;) (declaration "undefined2 local_11a;" type_identifier identifier ;) (declaration "undefined4 local_118;" type_identifier identifier ;) (declaration "undefined1 auStack_114 [120];" type_identifier (array_declarator "auStack_114 [120]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_9c [64];" type_identifier (array_declarator "auStack_9c [64]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_5c [64];" type_identifier (array_declarator "auStack_5c [64]" identifier [ number_literal ]) ;) (declaration "int local_1c;" primitive_type identifier ;) (expression_statement "puVar10 = PTR___stack_chk_guard_000b60f8;" (assignment_expression "puVar10 = PTR___stack_chk_guard_000b60f8" identifier = identifier) ;) (expression_statement "local_12c = 0x80;" (assignment_expression "local_12c = 0x80" identifier = number_literal) ;) (expression_statement "local_1c = *(int *)PTR___stack_chk_guard_000b60f8;" (assignment_expression "local_1c = *(int *)PTR___stack_chk_guard_000b60f8" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000b60f8" * (cast_expression "(int *)PTR___stack_chk_guard_000b60f8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar2 = (*(code *)PTR_getpeername_000b5c20)(*(undefined4 *)(param_1 + 8),&local_11c,&local_12c);" (assignment_expression "iVar2 = (*(code *)PTR_getpeername_000b5c20)(*(undefined4 *)(param_1 + 8),&local_11c,&local_12c)" identifier = (call_expression "(*(code *)PTR_getpeername_000b5c20)(*(undefined4 *)(param_1 + 8),&local_11c,&local_12c)" (parenthesized_expression "(*(code *)PTR_getpeername_000b5c20)" ( (pointer_expression "*(code *)PTR_getpeername_000b5c20" * (cast_expression "(code *)PTR_getpeername_000b5c20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 8),&local_11c,&local_12c)" ( (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , (pointer_expression "&local_11c" & identifier) , (pointer_expression "&local_12c" & identifier) )))) ;) (if_statement "if (iVar2 < 0) {\nLAB_00074f8c:\n    uVar3 = 0;\n  }\n  else if (local_11c == 2) {\n    uVar3 = (*(code *)PTR_inet_ntoa_000b5a80)(local_118);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar3,local_11a);\n  }\n  else if (local_11c == 10) {\n    uVar3 = (*(code *)PTR_inet_ntop_000b5c8c)(10,auStack_114,auStack_5c,0x2e);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar3,local_11a);\n  }\n  else {\n    if ((local_11c != 1) ||\n       (iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0)) goto LAB_00074f8c;\n    puVar8 = auStack_9c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)\n              (puVar8,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,local_124);\n    puVar9 = auStack_5c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)(puVar9,1,0x40,puVar1 + -0x7a40,local_120);\n    piVar4 = (int *)(*(code *)PTR_getpwuid_000b5be4)(local_124);\n    piVar5 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(local_120);\n    if (piVar4 != (int *)0x0) {\n      puVar8 = (undefined1 *)*piVar4;\n    }\n    if (piVar5 != (int *)0x0) {\n      puVar9 = (undefined1 *)*piVar5;\n    }\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9);\n  }" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (compound_statement "{\nLAB_00074f8c:\n    uVar3 = 0;\n  }" { (labeled_statement "LAB_00074f8c:\n    uVar3 = 0;" statement_identifier : (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;)) }) (else_clause "else if (local_11c == 2) {\n    uVar3 = (*(code *)PTR_inet_ntoa_000b5a80)(local_118);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar3,local_11a);\n  }\n  else if (local_11c == 10) {\n    uVar3 = (*(code *)PTR_inet_ntop_000b5c8c)(10,auStack_114,auStack_5c,0x2e);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar3,local_11a);\n  }\n  else {\n    if ((local_11c != 1) ||\n       (iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0)) goto LAB_00074f8c;\n    puVar8 = auStack_9c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)\n              (puVar8,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,local_124);\n    puVar9 = auStack_5c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)(puVar9,1,0x40,puVar1 + -0x7a40,local_120);\n    piVar4 = (int *)(*(code *)PTR_getpwuid_000b5be4)(local_124);\n    piVar5 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(local_120);\n    if (piVar4 != (int *)0x0) {\n      puVar8 = (undefined1 *)*piVar4;\n    }\n    if (piVar5 != (int *)0x0) {\n      puVar9 = (undefined1 *)*piVar5;\n    }\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9);\n  }" else (if_statement "if (local_11c == 2) {\n    uVar3 = (*(code *)PTR_inet_ntoa_000b5a80)(local_118);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar3,local_11a);\n  }\n  else if (local_11c == 10) {\n    uVar3 = (*(code *)PTR_inet_ntop_000b5c8c)(10,auStack_114,auStack_5c,0x2e);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar3,local_11a);\n  }\n  else {\n    if ((local_11c != 1) ||\n       (iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0)) goto LAB_00074f8c;\n    puVar8 = auStack_9c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)\n              (puVar8,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,local_124);\n    puVar9 = auStack_5c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)(puVar9,1,0x40,puVar1 + -0x7a40,local_120);\n    piVar4 = (int *)(*(code *)PTR_getpwuid_000b5be4)(local_124);\n    piVar5 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(local_120);\n    if (piVar4 != (int *)0x0) {\n      puVar8 = (undefined1 *)*piVar4;\n    }\n    if (piVar5 != (int *)0x0) {\n      puVar9 = (undefined1 *)*piVar5;\n    }\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9);\n  }" if (parenthesized_expression "(local_11c == 2)" ( (binary_expression "local_11c == 2" identifier == number_literal) )) (compound_statement "{\n    uVar3 = (*(code *)PTR_inet_ntoa_000b5a80)(local_118);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar3,local_11a);\n  }" { (expression_statement "uVar3 = (*(code *)PTR_inet_ntoa_000b5a80)(local_118);" (assignment_expression "uVar3 = (*(code *)PTR_inet_ntoa_000b5a80)(local_118)" identifier = (call_expression "(*(code *)PTR_inet_ntoa_000b5a80)(local_118)" (parenthesized_expression "(*(code *)PTR_inet_ntoa_000b5a80)" ( (pointer_expression "*(code *)PTR_inet_ntoa_000b5a80" * (cast_expression "(code *)PTR_inet_ntoa_000b5a80" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_118)" ( identifier )))) ;) (expression_statement "uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar3,local_11a);" (assignment_expression "uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar3,local_11a)" identifier = (call_expression "(*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar3,local_11a)" (parenthesized_expression "(*(code *)PTR_dupprintf_000b52c0)" ( (pointer_expression "*(code *)PTR_dupprintf_000b52c0" * (cast_expression "(code *)PTR_dupprintf_000b52c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar3,local_11a)" ( (binary_expression "PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10" identifier + number_literal) , identifier , identifier )))) ;) }) (else_clause "else if (local_11c == 10) {\n    uVar3 = (*(code *)PTR_inet_ntop_000b5c8c)(10,auStack_114,auStack_5c,0x2e);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar3,local_11a);\n  }\n  else {\n    if ((local_11c != 1) ||\n       (iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0)) goto LAB_00074f8c;\n    puVar8 = auStack_9c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)\n              (puVar8,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,local_124);\n    puVar9 = auStack_5c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)(puVar9,1,0x40,puVar1 + -0x7a40,local_120);\n    piVar4 = (int *)(*(code *)PTR_getpwuid_000b5be4)(local_124);\n    piVar5 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(local_120);\n    if (piVar4 != (int *)0x0) {\n      puVar8 = (undefined1 *)*piVar4;\n    }\n    if (piVar5 != (int *)0x0) {\n      puVar9 = (undefined1 *)*piVar5;\n    }\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9);\n  }" else (if_statement "if (local_11c == 10) {\n    uVar3 = (*(code *)PTR_inet_ntop_000b5c8c)(10,auStack_114,auStack_5c,0x2e);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar3,local_11a);\n  }\n  else {\n    if ((local_11c != 1) ||\n       (iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0)) goto LAB_00074f8c;\n    puVar8 = auStack_9c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)\n              (puVar8,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,local_124);\n    puVar9 = auStack_5c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)(puVar9,1,0x40,puVar1 + -0x7a40,local_120);\n    piVar4 = (int *)(*(code *)PTR_getpwuid_000b5be4)(local_124);\n    piVar5 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(local_120);\n    if (piVar4 != (int *)0x0) {\n      puVar8 = (undefined1 *)*piVar4;\n    }\n    if (piVar5 != (int *)0x0) {\n      puVar9 = (undefined1 *)*piVar5;\n    }\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9);\n  }" if (parenthesized_expression "(local_11c == 10)" ( (binary_expression "local_11c == 10" identifier == number_literal) )) (compound_statement "{\n    uVar3 = (*(code *)PTR_inet_ntop_000b5c8c)(10,auStack_114,auStack_5c,0x2e);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar3,local_11a);\n  }" { (expression_statement "uVar3 = (*(code *)PTR_inet_ntop_000b5c8c)(10,auStack_114,auStack_5c,0x2e);" (assignment_expression "uVar3 = (*(code *)PTR_inet_ntop_000b5c8c)(10,auStack_114,auStack_5c,0x2e)" identifier = (call_expression "(*(code *)PTR_inet_ntop_000b5c8c)(10,auStack_114,auStack_5c,0x2e)" (parenthesized_expression "(*(code *)PTR_inet_ntop_000b5c8c)" ( (pointer_expression "*(code *)PTR_inet_ntop_000b5c8c" * (cast_expression "(code *)PTR_inet_ntop_000b5c8c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10,auStack_114,auStack_5c,0x2e)" ( number_literal , identifier , identifier , number_literal )))) ;) (expression_statement "uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar3,local_11a);" (assignment_expression "uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar3,local_11a)" identifier = (call_expression "(*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar3,local_11a)" (parenthesized_expression "(*(code *)PTR_dupprintf_000b52c0)" ( (pointer_expression "*(code *)PTR_dupprintf_000b52c0" * (cast_expression "(code *)PTR_dupprintf_000b52c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar3,local_11a)" ( (binary_expression "PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08" identifier + number_literal) , identifier , identifier )))) ;) }) (else_clause "else {\n    if ((local_11c != 1) ||\n       (iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0)) goto LAB_00074f8c;\n    puVar8 = auStack_9c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)\n              (puVar8,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,local_124);\n    puVar9 = auStack_5c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)(puVar9,1,0x40,puVar1 + -0x7a40,local_120);\n    piVar4 = (int *)(*(code *)PTR_getpwuid_000b5be4)(local_124);\n    piVar5 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(local_120);\n    if (piVar4 != (int *)0x0) {\n      puVar8 = (undefined1 *)*piVar4;\n    }\n    if (piVar5 != (int *)0x0) {\n      puVar9 = (undefined1 *)*piVar5;\n    }\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9);\n  }" else (compound_statement "{\n    if ((local_11c != 1) ||\n       (iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0)) goto LAB_00074f8c;\n    puVar8 = auStack_9c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)\n              (puVar8,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,local_124);\n    puVar9 = auStack_5c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)(puVar9,1,0x40,puVar1 + -0x7a40,local_120);\n    piVar4 = (int *)(*(code *)PTR_getpwuid_000b5be4)(local_124);\n    piVar5 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(local_120);\n    if (piVar4 != (int *)0x0) {\n      puVar8 = (undefined1 *)*piVar4;\n    }\n    if (piVar5 != (int *)0x0) {\n      puVar9 = (undefined1 *)*piVar5;\n    }\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9);\n  }" { (if_statement "if ((local_11c != 1) ||\n       (iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0)) goto LAB_00074f8c;" if (parenthesized_expression "((local_11c != 1) ||\n       (iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0))" ( (binary_expression "(local_11c != 1) ||\n       (iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0)" (parenthesized_expression "(local_11c != 1)" ( (binary_expression "local_11c != 1" identifier != number_literal) )) || (parenthesized_expression "(iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0)" ( (comma_expression "iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0" (assignment_expression "iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120)" identifier = (call_expression "so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120)" identifier (argument_list "(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120)" ( (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , (pointer_expression "&local_128" & identifier) , (pointer_expression "&local_124" & identifier) , (pointer_expression "&local_120" & identifier) )))) , (comma_expression "puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0" (assignment_expression "puVar1 = PTR_s_XXXXXXXXXX___________000b5214" identifier = identifier) , (binary_expression "iVar2 == 0" identifier == number_literal))) ))) )) (goto_statement "goto LAB_00074f8c;" goto statement_identifier ;)) (expression_statement "puVar8 = auStack_9c;" (assignment_expression "puVar8 = auStack_9c" identifier = identifier) ;) (expression_statement "(*(code *)PTR___sprintf_chk_000b5fe0)\n              (puVar8,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,local_124);" (call_expression "(*(code *)PTR___sprintf_chk_000b5fe0)\n              (puVar8,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,local_124)" (parenthesized_expression "(*(code *)PTR___sprintf_chk_000b5fe0)" ( (pointer_expression "*(code *)PTR___sprintf_chk_000b5fe0" * (cast_expression "(code *)PTR___sprintf_chk_000b5fe0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar8,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,local_124)" ( identifier , number_literal , number_literal , (binary_expression "PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40" identifier + number_literal) , identifier ))) ;) (expression_statement "puVar9 = auStack_5c;" (assignment_expression "puVar9 = auStack_5c" identifier = identifier) ;) (expression_statement "(*(code *)PTR___sprintf_chk_000b5fe0)(puVar9,1,0x40,puVar1 + -0x7a40,local_120);" (call_expression "(*(code *)PTR___sprintf_chk_000b5fe0)(puVar9,1,0x40,puVar1 + -0x7a40,local_120)" (parenthesized_expression "(*(code *)PTR___sprintf_chk_000b5fe0)" ( (pointer_expression "*(code *)PTR___sprintf_chk_000b5fe0" * (cast_expression "(code *)PTR___sprintf_chk_000b5fe0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar9,1,0x40,puVar1 + -0x7a40,local_120)" ( identifier , number_literal , number_literal , (binary_expression "puVar1 + -0x7a40" identifier + number_literal) , identifier ))) ;) (expression_statement "piVar4 = (int *)(*(code *)PTR_getpwuid_000b5be4)(local_124);" (assignment_expression "piVar4 = (int *)(*(code *)PTR_getpwuid_000b5be4)(local_124)" identifier = (cast_expression "(int *)(*(code *)PTR_getpwuid_000b5be4)(local_124)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_getpwuid_000b5be4)(local_124)" (parenthesized_expression "(*(code *)PTR_getpwuid_000b5be4)" ( (pointer_expression "*(code *)PTR_getpwuid_000b5be4" * (cast_expression "(code *)PTR_getpwuid_000b5be4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_124)" ( identifier ))))) ;) (expression_statement "piVar5 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(local_120);" (assignment_expression "piVar5 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(local_120)" identifier = (cast_expression "(int *)(*(code *)PTR_getgrgid_000b5bf8)(local_120)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_getgrgid_000b5bf8)(local_120)" (parenthesized_expression "(*(code *)PTR_getgrgid_000b5bf8)" ( (pointer_expression "*(code *)PTR_getgrgid_000b5bf8" * (cast_expression "(code *)PTR_getgrgid_000b5bf8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_120)" ( identifier ))))) ;) (if_statement "if (piVar4 != (int *)0x0) {\n      puVar8 = (undefined1 *)*piVar4;\n    }" if (parenthesized_expression "(piVar4 != (int *)0x0)" ( (binary_expression "piVar4 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      puVar8 = (undefined1 *)*piVar4;\n    }" { (expression_statement "puVar8 = (undefined1 *)*piVar4;" (assignment_expression "puVar8 = (undefined1 *)*piVar4" identifier = (cast_expression "(undefined1 *)*piVar4" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar4" * identifier))) ;) })) (if_statement "if (piVar5 != (int *)0x0) {\n      puVar9 = (undefined1 *)*piVar5;\n    }" if (parenthesized_expression "(piVar5 != (int *)0x0)" ( (binary_expression "piVar5 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      puVar9 = (undefined1 *)*piVar5;\n    }" { (expression_statement "puVar9 = (undefined1 *)*piVar5;" (assignment_expression "puVar9 = (undefined1 *)*piVar5" identifier = (cast_expression "(undefined1 *)*piVar5" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar5" * identifier))) ;) })) (expression_statement "uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9);" (assignment_expression "uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9)" identifier = (call_expression "(*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9)" (parenthesized_expression "(*(code *)PTR_dupprintf_000b52c0)" ( (pointer_expression "*(code *)PTR_dupprintf_000b52c0" * (cast_expression "(code *)PTR_dupprintf_000b52c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9)" ( (binary_expression "PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00" identifier + number_literal) , identifier , identifier , identifier )))) ;) }))))))) (if_statement "if (local_1c == *(int *)puVar10) {\n    return uVar3;\n  }" if (parenthesized_expression "(local_1c == *(int *)puVar10)" ( (binary_expression "local_1c == *(int *)puVar10" identifier == (pointer_expression "*(int *)puVar10" * (cast_expression "(int *)puVar10" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return uVar3;\n  }" { (return_statement "return uVar3;" return identifier ;) })) (expression_statement "iVar2 = local_1c;" (assignment_expression "iVar2 = local_1c" identifier = identifier) ;) (expression_statement "puVar10 = PTR___stack_chk_fail_000b5d9c;" (assignment_expression "puVar10 = PTR___stack_chk_fail_000b5d9c" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000b5d9c)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b5d9c)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b5d9c)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000b5d9c" * (cast_expression "(code *)PTR___stack_chk_fail_000b5d9c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (*(int *)(iVar2 + 0x44) != 0) {\n    uVar6 = 0;\n    goto LAB_00075138;\n  }" if (parenthesized_expression "(*(int *)(iVar2 + 0x44) != 0)" ( (binary_expression "*(int *)(iVar2 + 0x44) != 0" (pointer_expression "*(int *)(iVar2 + 0x44)" * (cast_expression "(int *)(iVar2 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x44)" ( (binary_expression "iVar2 + 0x44" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    uVar6 = 0;\n    goto LAB_00075138;\n  }" { (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00075138;" goto statement_identifier ;) })) (if_statement "if (*(int *)(iVar2 + 0x48) != 0) {\n    uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),1,*(int *)(puVar10 + 0x4073c) + 0x6c30);\n    return uVar3;\n  }" if (parenthesized_expression "(*(int *)(iVar2 + 0x48) != 0)" ( (binary_expression "*(int *)(iVar2 + 0x48) != 0" (pointer_expression "*(int *)(iVar2 + 0x48)" * (cast_expression "(int *)(iVar2 + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x48)" ( (binary_expression "iVar2 + 0x48" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),1,*(int *)(puVar10 + 0x4073c) + 0x6c30);\n    return uVar3;\n  }" { (expression_statement "uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),1,*(int *)(puVar10 + 0x4073c) + 0x6c30);" (assignment_expression "uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),1,*(int *)(puVar10 + 0x4073c) + 0x6c30)" identifier = (call_expression "uxsel_set(*(undefined4 *)(iVar2 + 8),1,*(int *)(puVar10 + 0x4073c) + 0x6c30)" identifier (argument_list "(*(undefined4 *)(iVar2 + 8),1,*(int *)(puVar10 + 0x4073c) + 0x6c30)" ( (pointer_expression "*(undefined4 *)(iVar2 + 8)" * (cast_expression "(undefined4 *)(iVar2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) , number_literal , (binary_expression "*(int *)(puVar10 + 0x4073c) + 0x6c30" (pointer_expression "*(int *)(puVar10 + 0x4073c)" * (cast_expression "(int *)(puVar10 + 0x4073c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x4073c)" ( (binary_expression "puVar10 + 0x4073c" identifier + number_literal) )))) + number_literal) )))) ;) (return_statement "return uVar3;" return identifier ;) })) (if_statement "if (*(int *)(iVar2 + 0x1c) == 0) {\n    uVar6 = 2;\nLAB_00075180:\n    pcVar11 = *(code **)(puVar10 + 0x401f4);\n  }\n  else {\n    pcVar11 = *(code **)(puVar10 + 0x401f4);\n    uVar6 = 0;\n    if (*(int *)(iVar2 + 0x24) == 0) {\n      uVar6 = 5;\n      if (*(int *)(iVar2 + 0x40) != 0) {\n        uVar6 = 0;\n      }\n      goto LAB_00075180;\n    }\n  }" if (parenthesized_expression "(*(int *)(iVar2 + 0x1c) == 0)" ( (binary_expression "*(int *)(iVar2 + 0x1c) == 0" (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    uVar6 = 2;\nLAB_00075180:\n    pcVar11 = *(code **)(puVar10 + 0x401f4);\n  }" { (expression_statement "uVar6 = 2;" (assignment_expression "uVar6 = 2" identifier = number_literal) ;) (labeled_statement "LAB_00075180:\n    pcVar11 = *(code **)(puVar10 + 0x401f4);" statement_identifier : (expression_statement "pcVar11 = *(code **)(puVar10 + 0x401f4);" (assignment_expression "pcVar11 = *(code **)(puVar10 + 0x401f4)" identifier = (pointer_expression "*(code **)(puVar10 + 0x401f4)" * (cast_expression "(code **)(puVar10 + 0x401f4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x401f4)" ( (binary_expression "puVar10 + 0x401f4" identifier + number_literal) ))))) ;)) }) (else_clause "else {\n    pcVar11 = *(code **)(puVar10 + 0x401f4);\n    uVar6 = 0;\n    if (*(int *)(iVar2 + 0x24) == 0) {\n      uVar6 = 5;\n      if (*(int *)(iVar2 + 0x40) != 0) {\n        uVar6 = 0;\n      }\n      goto LAB_00075180;\n    }\n  }" else (compound_statement "{\n    pcVar11 = *(code **)(puVar10 + 0x401f4);\n    uVar6 = 0;\n    if (*(int *)(iVar2 + 0x24) == 0) {\n      uVar6 = 5;\n      if (*(int *)(iVar2 + 0x40) != 0) {\n        uVar6 = 0;\n      }\n      goto LAB_00075180;\n    }\n  }" { (expression_statement "pcVar11 = *(code **)(puVar10 + 0x401f4);" (assignment_expression "pcVar11 = *(code **)(puVar10 + 0x401f4)" identifier = (pointer_expression "*(code **)(puVar10 + 0x401f4)" * (cast_expression "(code **)(puVar10 + 0x401f4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar10 + 0x401f4)" ( (binary_expression "puVar10 + 0x401f4" identifier + number_literal) ))))) ;) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (if_statement "if (*(int *)(iVar2 + 0x24) == 0) {\n      uVar6 = 5;\n      if (*(int *)(iVar2 + 0x40) != 0) {\n        uVar6 = 0;\n      }\n      goto LAB_00075180;\n    }" if (parenthesized_expression "(*(int *)(iVar2 + 0x24) == 0)" ( (binary_expression "*(int *)(iVar2 + 0x24) == 0" (pointer_expression "*(int *)(iVar2 + 0x24)" * (cast_expression "(int *)(iVar2 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x24)" ( (binary_expression "iVar2 + 0x24" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      uVar6 = 5;\n      if (*(int *)(iVar2 + 0x40) != 0) {\n        uVar6 = 0;\n      }\n      goto LAB_00075180;\n    }" { (expression_statement "uVar6 = 5;" (assignment_expression "uVar6 = 5" identifier = number_literal) ;) (if_statement "if (*(int *)(iVar2 + 0x40) != 0) {\n        uVar6 = 0;\n      }" if (parenthesized_expression "(*(int *)(iVar2 + 0x40) != 0)" ( (binary_expression "*(int *)(iVar2 + 0x40) != 0" (pointer_expression "*(int *)(iVar2 + 0x40)" * (cast_expression "(int *)(iVar2 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x40)" ( (binary_expression "iVar2 + 0x40" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        uVar6 = 0;\n      }" { (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) })) (goto_statement "goto LAB_00075180;" goto statement_identifier ;) })) }))) (expression_statement "iVar7 = (*pcVar11)(iVar2 + 0x10);" (assignment_expression "iVar7 = (*pcVar11)(iVar2 + 0x10)" identifier = (call_expression "(*pcVar11)(iVar2 + 0x10)" (parenthesized_expression "(*pcVar11)" ( (pointer_expression "*pcVar11" * identifier) )) (argument_list "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) ;) (if_statement "if (iVar7 != 0) {\n    uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6 | 2,*(int *)(puVar10 + 0x4073c) + 0x6c30);\n    return uVar3;\n  }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6 | 2,*(int *)(puVar10 + 0x4073c) + 0x6c30);\n    return uVar3;\n  }" { (expression_statement "uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6 | 2,*(int *)(puVar10 + 0x4073c) + 0x6c30);" (assignment_expression "uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6 | 2,*(int *)(puVar10 + 0x4073c) + 0x6c30)" identifier = (call_expression "uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6 | 2,*(int *)(puVar10 + 0x4073c) + 0x6c30)" identifier (argument_list "(*(undefined4 *)(iVar2 + 8),uVar6 | 2,*(int *)(puVar10 + 0x4073c) + 0x6c30)" ( (pointer_expression "*(undefined4 *)(iVar2 + 8)" * (cast_expression "(undefined4 *)(iVar2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) , (binary_expression "uVar6 | 2" identifier | number_literal) , (binary_expression "*(int *)(puVar10 + 0x4073c) + 0x6c30" (pointer_expression "*(int *)(puVar10 + 0x4073c)" * (cast_expression "(int *)(puVar10 + 0x4073c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x4073c)" ( (binary_expression "puVar10 + 0x4073c" identifier + number_literal) )))) + number_literal) )))) ;) (return_statement "return uVar3;" return identifier ;) })) (labeled_statement "LAB_00075138:\n  uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6,*(int *)(puVar10 + 0x4073c) + 0x6c30);" statement_identifier : (expression_statement "uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6,*(int *)(puVar10 + 0x4073c) + 0x6c30);" (assignment_expression "uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6,*(int *)(puVar10 + 0x4073c) + 0x6c30)" identifier = (call_expression "uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6,*(int *)(puVar10 + 0x4073c) + 0x6c30)" identifier (argument_list "(*(undefined4 *)(iVar2 + 8),uVar6,*(int *)(puVar10 + 0x4073c) + 0x6c30)" ( (pointer_expression "*(undefined4 *)(iVar2 + 8)" * (cast_expression "(undefined4 *)(iVar2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) , identifier , (binary_expression "*(int *)(puVar10 + 0x4073c) + 0x6c30" (pointer_expression "*(int *)(puVar10 + 0x4073c)" * (cast_expression "(int *)(puVar10 + 0x4073c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x4073c)" ( (binary_expression "puVar10 + 0x4073c" identifier + number_literal) )))) + number_literal) )))) ;)) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier short) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression & IDENT) , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) }) (else_clause else (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 )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT )))) ;) }) (else_clause else (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 ( LIT , IDENT , IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT )))) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression & IDENT) , (pointer_expression & IDENT) , (pointer_expression & IDENT) )))) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT == LIT))) ))) )) (goto_statement goto statement_identifier ;)) (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 ( IDENT , LIT , LIT , (binary_expression IDENT + LIT) , 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 ( IDENT , LIT , LIT , (binary_expression IDENT + LIT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT , IDENT )))) ;) }))))))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return IDENT ;) })) (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 ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (binary_expression IDENT | LIT) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ;) (return_statement return IDENT ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ;)) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_00074ef0(int param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int *piVar4;\n  int *piVar5;\n  uint uVar6;\n  int iVar7;\n  undefined1 *puVar8;\n  undefined1 *puVar9;\n  undefined *puVar10;\n  code *pcVar11;\n  undefined4 local_12c;\n  undefined4 local_128;\n  undefined4 local_124;\n  undefined4 local_120;\n  short local_11c;\n  undefined2 local_11a;\n  undefined4 local_118;\n  undefined1 auStack_114 [120];\n  undefined1 auStack_9c [64];\n  undefined1 auStack_5c [64];\n  int local_1c;\n  \n  puVar10 = PTR___stack_chk_guard_000b60f8;\n  local_12c = 0x80;\n  local_1c = *(int *)PTR___stack_chk_guard_000b60f8;\n  iVar2 = (*(code *)PTR_getpeername_000b5c20)(*(undefined4 *)(param_1 + 8),&local_11c,&local_12c);\n  if (iVar2 < 0) {\nLAB_00074f8c:\n    uVar3 = 0;\n  }\n  else if (local_11c == 2) {\n    uVar3 = (*(code *)PTR_inet_ntoa_000b5a80)(local_118);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar3,local_11a);\n  }\n  else if (local_11c == 10) {\n    uVar3 = (*(code *)PTR_inet_ntop_000b5c8c)(10,auStack_114,auStack_5c,0x2e);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar3,local_11a);\n  }\n  else {\n    if ((local_11c != 1) ||\n       (iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0)) goto LAB_00074f8c;\n    puVar8 = auStack_9c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)\n              (puVar8,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,local_124);\n    puVar9 = auStack_5c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)(puVar9,1,0x40,puVar1 + -0x7a40,local_120);\n    piVar4 = (int *)(*(code *)PTR_getpwuid_000b5be4)(local_124);\n    piVar5 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(local_120);\n    if (piVar4 != (int *)0x0) {\n      puVar8 = (undefined1 *)*piVar4;\n    }\n    if (piVar5 != (int *)0x0) {\n      puVar9 = (undefined1 *)*piVar5;\n    }\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9);\n  }\n  if (local_1c == *(int *)puVar10) {\n    return uVar3;\n  }\n  iVar2 = local_1c;\n  puVar10 = PTR___stack_chk_fail_000b5d9c;\n  (*(code *)PTR___stack_chk_fail_000b5d9c)();\n  if (*(int *)(iVar2 + 0x44) != 0) {\n    uVar6 = 0;\n    goto LAB_00075138;\n  }\n  if (*(int *)(iVar2 + 0x48) != 0) {\n    uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),1,*(int *)(puVar10 + 0x4073c) + 0x6c30);\n    return uVar3;\n  }\n  if (*(int *)(iVar2 + 0x1c) == 0) {\n    uVar6 = 2;\nLAB_00075180:\n    pcVar11 = *(code **)(puVar10 + 0x401f4);\n  }\n  else {\n    pcVar11 = *(code **)(puVar10 + 0x401f4);\n    uVar6 = 0;\n    if (*(int *)(iVar2 + 0x24) == 0) {\n      uVar6 = 5;\n      if (*(int *)(iVar2 + 0x40) != 0) {\n        uVar6 = 0;\n      }\n      goto LAB_00075180;\n    }\n  }\n  iVar7 = (*pcVar11)(iVar2 + 0x10);\n  if (iVar7 != 0) {\n    uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6 | 2,*(int *)(puVar10 + 0x4073c) + 0x6c30);\n    return uVar3;\n  }\nLAB_00075138:\n  uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6,*(int *)(puVar10 + 0x4073c) + 0x6c30);\n  return uVar3;\n}" (type_identifier "undefined4") (function_declarator "FUN_00074ef0(int param_1)" (identifier "FUN_00074ef0") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int *piVar4;\n  int *piVar5;\n  uint uVar6;\n  int iVar7;\n  undefined1 *puVar8;\n  undefined1 *puVar9;\n  undefined *puVar10;\n  code *pcVar11;\n  undefined4 local_12c;\n  undefined4 local_128;\n  undefined4 local_124;\n  undefined4 local_120;\n  short local_11c;\n  undefined2 local_11a;\n  undefined4 local_118;\n  undefined1 auStack_114 [120];\n  undefined1 auStack_9c [64];\n  undefined1 auStack_5c [64];\n  int local_1c;\n  \n  puVar10 = PTR___stack_chk_guard_000b60f8;\n  local_12c = 0x80;\n  local_1c = *(int *)PTR___stack_chk_guard_000b60f8;\n  iVar2 = (*(code *)PTR_getpeername_000b5c20)(*(undefined4 *)(param_1 + 8),&local_11c,&local_12c);\n  if (iVar2 < 0) {\nLAB_00074f8c:\n    uVar3 = 0;\n  }\n  else if (local_11c == 2) {\n    uVar3 = (*(code *)PTR_inet_ntoa_000b5a80)(local_118);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar3,local_11a);\n  }\n  else if (local_11c == 10) {\n    uVar3 = (*(code *)PTR_inet_ntop_000b5c8c)(10,auStack_114,auStack_5c,0x2e);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar3,local_11a);\n  }\n  else {\n    if ((local_11c != 1) ||\n       (iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0)) goto LAB_00074f8c;\n    puVar8 = auStack_9c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)\n              (puVar8,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,local_124);\n    puVar9 = auStack_5c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)(puVar9,1,0x40,puVar1 + -0x7a40,local_120);\n    piVar4 = (int *)(*(code *)PTR_getpwuid_000b5be4)(local_124);\n    piVar5 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(local_120);\n    if (piVar4 != (int *)0x0) {\n      puVar8 = (undefined1 *)*piVar4;\n    }\n    if (piVar5 != (int *)0x0) {\n      puVar9 = (undefined1 *)*piVar5;\n    }\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9);\n  }\n  if (local_1c == *(int *)puVar10) {\n    return uVar3;\n  }\n  iVar2 = local_1c;\n  puVar10 = PTR___stack_chk_fail_000b5d9c;\n  (*(code *)PTR___stack_chk_fail_000b5d9c)();\n  if (*(int *)(iVar2 + 0x44) != 0) {\n    uVar6 = 0;\n    goto LAB_00075138;\n  }\n  if (*(int *)(iVar2 + 0x48) != 0) {\n    uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),1,*(int *)(puVar10 + 0x4073c) + 0x6c30);\n    return uVar3;\n  }\n  if (*(int *)(iVar2 + 0x1c) == 0) {\n    uVar6 = 2;\nLAB_00075180:\n    pcVar11 = *(code **)(puVar10 + 0x401f4);\n  }\n  else {\n    pcVar11 = *(code **)(puVar10 + 0x401f4);\n    uVar6 = 0;\n    if (*(int *)(iVar2 + 0x24) == 0) {\n      uVar6 = 5;\n      if (*(int *)(iVar2 + 0x40) != 0) {\n        uVar6 = 0;\n      }\n      goto LAB_00075180;\n    }\n  }\n  iVar7 = (*pcVar11)(iVar2 + 0x10);\n  if (iVar7 != 0) {\n    uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6 | 2,*(int *)(puVar10 + 0x4073c) + 0x6c30);\n    return uVar3;\n  }\nLAB_00075138:\n  uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6,*(int *)(puVar10 + 0x4073c) + 0x6c30);\n  return uVar3;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (declaration "int *piVar5;" (primitive_type "int") (pointer_declarator "*piVar5" (* "*") (identifier "piVar5")) (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "undefined1 *puVar8;" (type_identifier "undefined1") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "undefined1 *puVar9;" (type_identifier "undefined1") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "undefined *puVar10;" (type_identifier "undefined") (pointer_declarator "*puVar10" (* "*") (identifier "puVar10")) (; ";")) (declaration "code *pcVar11;" (type_identifier "code") (pointer_declarator "*pcVar11" (* "*") (identifier "pcVar11")) (; ";")) (declaration "undefined4 local_12c;" (type_identifier "undefined4") (identifier "local_12c") (; ";")) (declaration "undefined4 local_128;" (type_identifier "undefined4") (identifier "local_128") (; ";")) (declaration "undefined4 local_124;" (type_identifier "undefined4") (identifier "local_124") (; ";")) (declaration "undefined4 local_120;" (type_identifier "undefined4") (identifier "local_120") (; ";")) (declaration "short local_11c;" (sized_type_specifier "short" (short "short")) (identifier "local_11c") (; ";")) (declaration "undefined2 local_11a;" (type_identifier "undefined2") (identifier "local_11a") (; ";")) (declaration "undefined4 local_118;" (type_identifier "undefined4") (identifier "local_118") (; ";")) (declaration "undefined1 auStack_114 [120];" (type_identifier "undefined1") (array_declarator "auStack_114 [120]" (identifier "auStack_114") ([ "[") (number_literal "120") (] "]")) (; ";")) (declaration "undefined1 auStack_9c [64];" (type_identifier "undefined1") (array_declarator "auStack_9c [64]" (identifier "auStack_9c") ([ "[") (number_literal "64") (] "]")) (; ";")) (declaration "undefined1 auStack_5c [64];" (type_identifier "undefined1") (array_declarator "auStack_5c [64]" (identifier "auStack_5c") ([ "[") (number_literal "64") (] "]")) (; ";")) (declaration "int local_1c;" (primitive_type "int") (identifier "local_1c") (; ";")) (expression_statement "puVar10 = PTR___stack_chk_guard_000b60f8;" (assignment_expression "puVar10 = PTR___stack_chk_guard_000b60f8" (identifier "puVar10") (= "=") (identifier "PTR___stack_chk_guard_000b60f8")) (; ";")) (expression_statement "local_12c = 0x80;" (assignment_expression "local_12c = 0x80" (identifier "local_12c") (= "=") (number_literal "0x80")) (; ";")) (expression_statement "local_1c = *(int *)PTR___stack_chk_guard_000b60f8;" (assignment_expression "local_1c = *(int *)PTR___stack_chk_guard_000b60f8" (identifier "local_1c") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_000b60f8" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_000b60f8" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_000b60f8")))) (; ";")) (expression_statement "iVar2 = (*(code *)PTR_getpeername_000b5c20)(*(undefined4 *)(param_1 + 8),&local_11c,&local_12c);" (assignment_expression "iVar2 = (*(code *)PTR_getpeername_000b5c20)(*(undefined4 *)(param_1 + 8),&local_11c,&local_12c)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_getpeername_000b5c20)(*(undefined4 *)(param_1 + 8),&local_11c,&local_12c)" (parenthesized_expression "(*(code *)PTR_getpeername_000b5c20)" (( "(") (pointer_expression "*(code *)PTR_getpeername_000b5c20" (* "*") (cast_expression "(code *)PTR_getpeername_000b5c20" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_getpeername_000b5c20"))) () ")")) (argument_list "(*(undefined4 *)(param_1 + 8),&local_11c,&local_12c)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (, ",") (pointer_expression "&local_11c" (& "&") (identifier "local_11c")) (, ",") (pointer_expression "&local_12c" (& "&") (identifier "local_12c")) () ")")))) (; ";")) (if_statement "if (iVar2 < 0) {\nLAB_00074f8c:\n    uVar3 = 0;\n  }\n  else if (local_11c == 2) {\n    uVar3 = (*(code *)PTR_inet_ntoa_000b5a80)(local_118);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar3,local_11a);\n  }\n  else if (local_11c == 10) {\n    uVar3 = (*(code *)PTR_inet_ntop_000b5c8c)(10,auStack_114,auStack_5c,0x2e);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar3,local_11a);\n  }\n  else {\n    if ((local_11c != 1) ||\n       (iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0)) goto LAB_00074f8c;\n    puVar8 = auStack_9c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)\n              (puVar8,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,local_124);\n    puVar9 = auStack_5c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)(puVar9,1,0x40,puVar1 + -0x7a40,local_120);\n    piVar4 = (int *)(*(code *)PTR_getpwuid_000b5be4)(local_124);\n    piVar5 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(local_120);\n    if (piVar4 != (int *)0x0) {\n      puVar8 = (undefined1 *)*piVar4;\n    }\n    if (piVar5 != (int *)0x0) {\n      puVar9 = (undefined1 *)*piVar5;\n    }\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9);\n  }" (if "if") (parenthesized_expression "(iVar2 < 0)" (( "(") (binary_expression "iVar2 < 0" (identifier "iVar2") (< "<") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00074f8c:\n    uVar3 = 0;\n  }" ({ "{") (labeled_statement "LAB_00074f8c:\n    uVar3 = 0;" (statement_identifier "LAB_00074f8c") (: ":") (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";"))) (} "}")) (else_clause "else if (local_11c == 2) {\n    uVar3 = (*(code *)PTR_inet_ntoa_000b5a80)(local_118);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar3,local_11a);\n  }\n  else if (local_11c == 10) {\n    uVar3 = (*(code *)PTR_inet_ntop_000b5c8c)(10,auStack_114,auStack_5c,0x2e);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar3,local_11a);\n  }\n  else {\n    if ((local_11c != 1) ||\n       (iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0)) goto LAB_00074f8c;\n    puVar8 = auStack_9c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)\n              (puVar8,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,local_124);\n    puVar9 = auStack_5c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)(puVar9,1,0x40,puVar1 + -0x7a40,local_120);\n    piVar4 = (int *)(*(code *)PTR_getpwuid_000b5be4)(local_124);\n    piVar5 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(local_120);\n    if (piVar4 != (int *)0x0) {\n      puVar8 = (undefined1 *)*piVar4;\n    }\n    if (piVar5 != (int *)0x0) {\n      puVar9 = (undefined1 *)*piVar5;\n    }\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9);\n  }" (else "else") (if_statement "if (local_11c == 2) {\n    uVar3 = (*(code *)PTR_inet_ntoa_000b5a80)(local_118);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar3,local_11a);\n  }\n  else if (local_11c == 10) {\n    uVar3 = (*(code *)PTR_inet_ntop_000b5c8c)(10,auStack_114,auStack_5c,0x2e);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar3,local_11a);\n  }\n  else {\n    if ((local_11c != 1) ||\n       (iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0)) goto LAB_00074f8c;\n    puVar8 = auStack_9c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)\n              (puVar8,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,local_124);\n    puVar9 = auStack_5c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)(puVar9,1,0x40,puVar1 + -0x7a40,local_120);\n    piVar4 = (int *)(*(code *)PTR_getpwuid_000b5be4)(local_124);\n    piVar5 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(local_120);\n    if (piVar4 != (int *)0x0) {\n      puVar8 = (undefined1 *)*piVar4;\n    }\n    if (piVar5 != (int *)0x0) {\n      puVar9 = (undefined1 *)*piVar5;\n    }\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9);\n  }" (if "if") (parenthesized_expression "(local_11c == 2)" (( "(") (binary_expression "local_11c == 2" (identifier "local_11c") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n    uVar3 = (*(code *)PTR_inet_ntoa_000b5a80)(local_118);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar3,local_11a);\n  }" ({ "{") (expression_statement "uVar3 = (*(code *)PTR_inet_ntoa_000b5a80)(local_118);" (assignment_expression "uVar3 = (*(code *)PTR_inet_ntoa_000b5a80)(local_118)" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_inet_ntoa_000b5a80)(local_118)" (parenthesized_expression "(*(code *)PTR_inet_ntoa_000b5a80)" (( "(") (pointer_expression "*(code *)PTR_inet_ntoa_000b5a80" (* "*") (cast_expression "(code *)PTR_inet_ntoa_000b5a80" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_inet_ntoa_000b5a80"))) () ")")) (argument_list "(local_118)" (( "(") (identifier "local_118") () ")")))) (; ";")) (expression_statement "uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar3,local_11a);" (assignment_expression "uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar3,local_11a)" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar3,local_11a)" (parenthesized_expression "(*(code *)PTR_dupprintf_000b52c0)" (( "(") (pointer_expression "*(code *)PTR_dupprintf_000b52c0" (* "*") (cast_expression "(code *)PTR_dupprintf_000b52c0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dupprintf_000b52c0"))) () ")")) (argument_list "(PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar3,local_11a)" (( "(") (binary_expression "PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10" (identifier "PTR_s_XXXXXXXXXX___________000b5214") (+ "+") (number_literal "-0x1c10")) (, ",") (identifier "uVar3") (, ",") (identifier "local_11a") () ")")))) (; ";")) (} "}")) (else_clause "else if (local_11c == 10) {\n    uVar3 = (*(code *)PTR_inet_ntop_000b5c8c)(10,auStack_114,auStack_5c,0x2e);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar3,local_11a);\n  }\n  else {\n    if ((local_11c != 1) ||\n       (iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0)) goto LAB_00074f8c;\n    puVar8 = auStack_9c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)\n              (puVar8,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,local_124);\n    puVar9 = auStack_5c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)(puVar9,1,0x40,puVar1 + -0x7a40,local_120);\n    piVar4 = (int *)(*(code *)PTR_getpwuid_000b5be4)(local_124);\n    piVar5 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(local_120);\n    if (piVar4 != (int *)0x0) {\n      puVar8 = (undefined1 *)*piVar4;\n    }\n    if (piVar5 != (int *)0x0) {\n      puVar9 = (undefined1 *)*piVar5;\n    }\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9);\n  }" (else "else") (if_statement "if (local_11c == 10) {\n    uVar3 = (*(code *)PTR_inet_ntop_000b5c8c)(10,auStack_114,auStack_5c,0x2e);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar3,local_11a);\n  }\n  else {\n    if ((local_11c != 1) ||\n       (iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0)) goto LAB_00074f8c;\n    puVar8 = auStack_9c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)\n              (puVar8,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,local_124);\n    puVar9 = auStack_5c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)(puVar9,1,0x40,puVar1 + -0x7a40,local_120);\n    piVar4 = (int *)(*(code *)PTR_getpwuid_000b5be4)(local_124);\n    piVar5 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(local_120);\n    if (piVar4 != (int *)0x0) {\n      puVar8 = (undefined1 *)*piVar4;\n    }\n    if (piVar5 != (int *)0x0) {\n      puVar9 = (undefined1 *)*piVar5;\n    }\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9);\n  }" (if "if") (parenthesized_expression "(local_11c == 10)" (( "(") (binary_expression "local_11c == 10" (identifier "local_11c") (== "==") (number_literal "10")) () ")")) (compound_statement "{\n    uVar3 = (*(code *)PTR_inet_ntop_000b5c8c)(10,auStack_114,auStack_5c,0x2e);\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar3,local_11a);\n  }" ({ "{") (expression_statement "uVar3 = (*(code *)PTR_inet_ntop_000b5c8c)(10,auStack_114,auStack_5c,0x2e);" (assignment_expression "uVar3 = (*(code *)PTR_inet_ntop_000b5c8c)(10,auStack_114,auStack_5c,0x2e)" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_inet_ntop_000b5c8c)(10,auStack_114,auStack_5c,0x2e)" (parenthesized_expression "(*(code *)PTR_inet_ntop_000b5c8c)" (( "(") (pointer_expression "*(code *)PTR_inet_ntop_000b5c8c" (* "*") (cast_expression "(code *)PTR_inet_ntop_000b5c8c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_inet_ntop_000b5c8c"))) () ")")) (argument_list "(10,auStack_114,auStack_5c,0x2e)" (( "(") (number_literal "10") (, ",") (identifier "auStack_114") (, ",") (identifier "auStack_5c") (, ",") (number_literal "0x2e") () ")")))) (; ";")) (expression_statement "uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar3,local_11a);" (assignment_expression "uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar3,local_11a)" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar3,local_11a)" (parenthesized_expression "(*(code *)PTR_dupprintf_000b52c0)" (( "(") (pointer_expression "*(code *)PTR_dupprintf_000b52c0" (* "*") (cast_expression "(code *)PTR_dupprintf_000b52c0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dupprintf_000b52c0"))) () ")")) (argument_list "(PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar3,local_11a)" (( "(") (binary_expression "PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08" (identifier "PTR_s_XXXXXXXXXX___________000b5214") (+ "+") (number_literal "-0x1c08")) (, ",") (identifier "uVar3") (, ",") (identifier "local_11a") () ")")))) (; ";")) (} "}")) (else_clause "else {\n    if ((local_11c != 1) ||\n       (iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0)) goto LAB_00074f8c;\n    puVar8 = auStack_9c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)\n              (puVar8,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,local_124);\n    puVar9 = auStack_5c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)(puVar9,1,0x40,puVar1 + -0x7a40,local_120);\n    piVar4 = (int *)(*(code *)PTR_getpwuid_000b5be4)(local_124);\n    piVar5 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(local_120);\n    if (piVar4 != (int *)0x0) {\n      puVar8 = (undefined1 *)*piVar4;\n    }\n    if (piVar5 != (int *)0x0) {\n      puVar9 = (undefined1 *)*piVar5;\n    }\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9);\n  }" (else "else") (compound_statement "{\n    if ((local_11c != 1) ||\n       (iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0)) goto LAB_00074f8c;\n    puVar8 = auStack_9c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)\n              (puVar8,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,local_124);\n    puVar9 = auStack_5c;\n    (*(code *)PTR___sprintf_chk_000b5fe0)(puVar9,1,0x40,puVar1 + -0x7a40,local_120);\n    piVar4 = (int *)(*(code *)PTR_getpwuid_000b5be4)(local_124);\n    piVar5 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(local_120);\n    if (piVar4 != (int *)0x0) {\n      puVar8 = (undefined1 *)*piVar4;\n    }\n    if (piVar5 != (int *)0x0) {\n      puVar9 = (undefined1 *)*piVar5;\n    }\n    uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9);\n  }" ({ "{") (if_statement "if ((local_11c != 1) ||\n       (iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0)) goto LAB_00074f8c;" (if "if") (parenthesized_expression "((local_11c != 1) ||\n       (iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0))" (( "(") (binary_expression "(local_11c != 1) ||\n       (iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0)" (parenthesized_expression "(local_11c != 1)" (( "(") (binary_expression "local_11c != 1" (identifier "local_11c") (!= "!=") (number_literal "1")) () ")")) (|| "||") (parenthesized_expression "(iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0)" (( "(") (comma_expression "iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),\n       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0" (assignment_expression "iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120)" (identifier "iVar2") (= "=") (call_expression "so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120)" (identifier "so_peercred") (argument_list "(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (, ",") (pointer_expression "&local_128" (& "&") (identifier "local_128")) (, ",") (pointer_expression "&local_124" (& "&") (identifier "local_124")) (, ",") (pointer_expression "&local_120" (& "&") (identifier "local_120")) () ")")))) (, ",") (comma_expression "puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0" (assignment_expression "puVar1 = PTR_s_XXXXXXXXXX___________000b5214" (identifier "puVar1") (= "=") (identifier "PTR_s_XXXXXXXXXX___________000b5214")) (, ",") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")))) () ")"))) () ")")) (goto_statement "goto LAB_00074f8c;" (goto "goto") (statement_identifier "LAB_00074f8c") (; ";"))) (expression_statement "puVar8 = auStack_9c;" (assignment_expression "puVar8 = auStack_9c" (identifier "puVar8") (= "=") (identifier "auStack_9c")) (; ";")) (expression_statement "(*(code *)PTR___sprintf_chk_000b5fe0)\n              (puVar8,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,local_124);" (call_expression "(*(code *)PTR___sprintf_chk_000b5fe0)\n              (puVar8,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,local_124)" (parenthesized_expression "(*(code *)PTR___sprintf_chk_000b5fe0)" (( "(") (pointer_expression "*(code *)PTR___sprintf_chk_000b5fe0" (* "*") (cast_expression "(code *)PTR___sprintf_chk_000b5fe0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___sprintf_chk_000b5fe0"))) () ")")) (argument_list "(puVar8,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,local_124)" (( "(") (identifier "puVar8") (, ",") (number_literal "1") (, ",") (number_literal "0x40") (, ",") (binary_expression "PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40" (identifier "PTR_s_XXXXXXXXXX___________000b5214") (+ "+") (number_literal "-0x7a40")) (, ",") (identifier "local_124") () ")"))) (; ";")) (expression_statement "puVar9 = auStack_5c;" (assignment_expression "puVar9 = auStack_5c" (identifier "puVar9") (= "=") (identifier "auStack_5c")) (; ";")) (expression_statement "(*(code *)PTR___sprintf_chk_000b5fe0)(puVar9,1,0x40,puVar1 + -0x7a40,local_120);" (call_expression "(*(code *)PTR___sprintf_chk_000b5fe0)(puVar9,1,0x40,puVar1 + -0x7a40,local_120)" (parenthesized_expression "(*(code *)PTR___sprintf_chk_000b5fe0)" (( "(") (pointer_expression "*(code *)PTR___sprintf_chk_000b5fe0" (* "*") (cast_expression "(code *)PTR___sprintf_chk_000b5fe0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___sprintf_chk_000b5fe0"))) () ")")) (argument_list "(puVar9,1,0x40,puVar1 + -0x7a40,local_120)" (( "(") (identifier "puVar9") (, ",") (number_literal "1") (, ",") (number_literal "0x40") (, ",") (binary_expression "puVar1 + -0x7a40" (identifier "puVar1") (+ "+") (number_literal "-0x7a40")) (, ",") (identifier "local_120") () ")"))) (; ";")) (expression_statement "piVar4 = (int *)(*(code *)PTR_getpwuid_000b5be4)(local_124);" (assignment_expression "piVar4 = (int *)(*(code *)PTR_getpwuid_000b5be4)(local_124)" (identifier "piVar4") (= "=") (cast_expression "(int *)(*(code *)PTR_getpwuid_000b5be4)(local_124)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_getpwuid_000b5be4)(local_124)" (parenthesized_expression "(*(code *)PTR_getpwuid_000b5be4)" (( "(") (pointer_expression "*(code *)PTR_getpwuid_000b5be4" (* "*") (cast_expression "(code *)PTR_getpwuid_000b5be4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_getpwuid_000b5be4"))) () ")")) (argument_list "(local_124)" (( "(") (identifier "local_124") () ")"))))) (; ";")) (expression_statement "piVar5 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(local_120);" (assignment_expression "piVar5 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(local_120)" (identifier "piVar5") (= "=") (cast_expression "(int *)(*(code *)PTR_getgrgid_000b5bf8)(local_120)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_getgrgid_000b5bf8)(local_120)" (parenthesized_expression "(*(code *)PTR_getgrgid_000b5bf8)" (( "(") (pointer_expression "*(code *)PTR_getgrgid_000b5bf8" (* "*") (cast_expression "(code *)PTR_getgrgid_000b5bf8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_getgrgid_000b5bf8"))) () ")")) (argument_list "(local_120)" (( "(") (identifier "local_120") () ")"))))) (; ";")) (if_statement "if (piVar4 != (int *)0x0) {\n      puVar8 = (undefined1 *)*piVar4;\n    }" (if "if") (parenthesized_expression "(piVar4 != (int *)0x0)" (( "(") (binary_expression "piVar4 != (int *)0x0" (identifier "piVar4") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      puVar8 = (undefined1 *)*piVar4;\n    }" ({ "{") (expression_statement "puVar8 = (undefined1 *)*piVar4;" (assignment_expression "puVar8 = (undefined1 *)*piVar4" (identifier "puVar8") (= "=") (cast_expression "(undefined1 *)*piVar4" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar4" (* "*") (identifier "piVar4")))) (; ";")) (} "}"))) (if_statement "if (piVar5 != (int *)0x0) {\n      puVar9 = (undefined1 *)*piVar5;\n    }" (if "if") (parenthesized_expression "(piVar5 != (int *)0x0)" (( "(") (binary_expression "piVar5 != (int *)0x0" (identifier "piVar5") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      puVar9 = (undefined1 *)*piVar5;\n    }" ({ "{") (expression_statement "puVar9 = (undefined1 *)*piVar5;" (assignment_expression "puVar9 = (undefined1 *)*piVar5" (identifier "puVar9") (= "=") (cast_expression "(undefined1 *)*piVar5" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar5" (* "*") (identifier "piVar5")))) (; ";")) (} "}"))) (expression_statement "uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9);" (assignment_expression "uVar3 = (*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9)" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_dupprintf_000b52c0)\n                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9)" (parenthesized_expression "(*(code *)PTR_dupprintf_000b52c0)" (( "(") (pointer_expression "*(code *)PTR_dupprintf_000b52c0" (* "*") (cast_expression "(code *)PTR_dupprintf_000b52c0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dupprintf_000b52c0"))) () ")")) (argument_list "(PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9)" (( "(") (binary_expression "PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00" (identifier "PTR_s_XXXXXXXXXX___________000b5214") (+ "+") (number_literal "-0x1c00")) (, ",") (identifier "local_128") (, ",") (identifier "puVar8") (, ",") (identifier "puVar9") () ")")))) (; ";")) (} "}")))))))) (if_statement "if (local_1c == *(int *)puVar10) {\n    return uVar3;\n  }" (if "if") (parenthesized_expression "(local_1c == *(int *)puVar10)" (( "(") (binary_expression "local_1c == *(int *)puVar10" (identifier "local_1c") (== "==") (pointer_expression "*(int *)puVar10" (* "*") (cast_expression "(int *)puVar10" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar10")))) () ")")) (compound_statement "{\n    return uVar3;\n  }" ({ "{") (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}"))) (expression_statement "iVar2 = local_1c;" (assignment_expression "iVar2 = local_1c" (identifier "iVar2") (= "=") (identifier "local_1c")) (; ";")) (expression_statement "puVar10 = PTR___stack_chk_fail_000b5d9c;" (assignment_expression "puVar10 = PTR___stack_chk_fail_000b5d9c" (identifier "puVar10") (= "=") (identifier "PTR___stack_chk_fail_000b5d9c")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_000b5d9c)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b5d9c)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b5d9c)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_000b5d9c" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_000b5d9c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_000b5d9c"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (*(int *)(iVar2 + 0x44) != 0) {\n    uVar6 = 0;\n    goto LAB_00075138;\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar2 + 0x44) != 0)" (( "(") (binary_expression "*(int *)(iVar2 + 0x44) != 0" (pointer_expression "*(int *)(iVar2 + 0x44)" (* "*") (cast_expression "(int *)(iVar2 + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x44)" (( "(") (binary_expression "iVar2 + 0x44" (identifier "iVar2") (+ "+") (number_literal "0x44")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar6 = 0;\n    goto LAB_00075138;\n  }" ({ "{") (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" (identifier "uVar6") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_00075138;" (goto "goto") (statement_identifier "LAB_00075138") (; ";")) (} "}"))) (if_statement "if (*(int *)(iVar2 + 0x48) != 0) {\n    uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),1,*(int *)(puVar10 + 0x4073c) + 0x6c30);\n    return uVar3;\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar2 + 0x48) != 0)" (( "(") (binary_expression "*(int *)(iVar2 + 0x48) != 0" (pointer_expression "*(int *)(iVar2 + 0x48)" (* "*") (cast_expression "(int *)(iVar2 + 0x48)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x48)" (( "(") (binary_expression "iVar2 + 0x48" (identifier "iVar2") (+ "+") (number_literal "0x48")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),1,*(int *)(puVar10 + 0x4073c) + 0x6c30);\n    return uVar3;\n  }" ({ "{") (expression_statement "uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),1,*(int *)(puVar10 + 0x4073c) + 0x6c30);" (assignment_expression "uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),1,*(int *)(puVar10 + 0x4073c) + 0x6c30)" (identifier "uVar3") (= "=") (call_expression "uxsel_set(*(undefined4 *)(iVar2 + 8),1,*(int *)(puVar10 + 0x4073c) + 0x6c30)" (identifier "uxsel_set") (argument_list "(*(undefined4 *)(iVar2 + 8),1,*(int *)(puVar10 + 0x4073c) + 0x6c30)" (( "(") (pointer_expression "*(undefined4 *)(iVar2 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 8)" (( "(") (binary_expression "iVar2 + 8" (identifier "iVar2") (+ "+") (number_literal "8")) () ")")))) (, ",") (number_literal "1") (, ",") (binary_expression "*(int *)(puVar10 + 0x4073c) + 0x6c30" (pointer_expression "*(int *)(puVar10 + 0x4073c)" (* "*") (cast_expression "(int *)(puVar10 + 0x4073c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + 0x4073c)" (( "(") (binary_expression "puVar10 + 0x4073c" (identifier "puVar10") (+ "+") (number_literal "0x4073c")) () ")")))) (+ "+") (number_literal "0x6c30")) () ")")))) (; ";")) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}"))) (if_statement "if (*(int *)(iVar2 + 0x1c) == 0) {\n    uVar6 = 2;\nLAB_00075180:\n    pcVar11 = *(code **)(puVar10 + 0x401f4);\n  }\n  else {\n    pcVar11 = *(code **)(puVar10 + 0x401f4);\n    uVar6 = 0;\n    if (*(int *)(iVar2 + 0x24) == 0) {\n      uVar6 = 5;\n      if (*(int *)(iVar2 + 0x40) != 0) {\n        uVar6 = 0;\n      }\n      goto LAB_00075180;\n    }\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar2 + 0x1c) == 0)" (( "(") (binary_expression "*(int *)(iVar2 + 0x1c) == 0" (pointer_expression "*(int *)(iVar2 + 0x1c)" (* "*") (cast_expression "(int *)(iVar2 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x1c)" (( "(") (binary_expression "iVar2 + 0x1c" (identifier "iVar2") (+ "+") (number_literal "0x1c")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar6 = 2;\nLAB_00075180:\n    pcVar11 = *(code **)(puVar10 + 0x401f4);\n  }" ({ "{") (expression_statement "uVar6 = 2;" (assignment_expression "uVar6 = 2" (identifier "uVar6") (= "=") (number_literal "2")) (; ";")) (labeled_statement "LAB_00075180:\n    pcVar11 = *(code **)(puVar10 + 0x401f4);" (statement_identifier "LAB_00075180") (: ":") (expression_statement "pcVar11 = *(code **)(puVar10 + 0x401f4);" (assignment_expression "pcVar11 = *(code **)(puVar10 + 0x401f4)" (identifier "pcVar11") (= "=") (pointer_expression "*(code **)(puVar10 + 0x401f4)" (* "*") (cast_expression "(code **)(puVar10 + 0x401f4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar10 + 0x401f4)" (( "(") (binary_expression "puVar10 + 0x401f4" (identifier "puVar10") (+ "+") (number_literal "0x401f4")) () ")"))))) (; ";"))) (} "}")) (else_clause "else {\n    pcVar11 = *(code **)(puVar10 + 0x401f4);\n    uVar6 = 0;\n    if (*(int *)(iVar2 + 0x24) == 0) {\n      uVar6 = 5;\n      if (*(int *)(iVar2 + 0x40) != 0) {\n        uVar6 = 0;\n      }\n      goto LAB_00075180;\n    }\n  }" (else "else") (compound_statement "{\n    pcVar11 = *(code **)(puVar10 + 0x401f4);\n    uVar6 = 0;\n    if (*(int *)(iVar2 + 0x24) == 0) {\n      uVar6 = 5;\n      if (*(int *)(iVar2 + 0x40) != 0) {\n        uVar6 = 0;\n      }\n      goto LAB_00075180;\n    }\n  }" ({ "{") (expression_statement "pcVar11 = *(code **)(puVar10 + 0x401f4);" (assignment_expression "pcVar11 = *(code **)(puVar10 + 0x401f4)" (identifier "pcVar11") (= "=") (pointer_expression "*(code **)(puVar10 + 0x401f4)" (* "*") (cast_expression "(code **)(puVar10 + 0x401f4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar10 + 0x401f4)" (( "(") (binary_expression "puVar10 + 0x401f4" (identifier "puVar10") (+ "+") (number_literal "0x401f4")) () ")"))))) (; ";")) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" (identifier "uVar6") (= "=") (number_literal "0")) (; ";")) (if_statement "if (*(int *)(iVar2 + 0x24) == 0) {\n      uVar6 = 5;\n      if (*(int *)(iVar2 + 0x40) != 0) {\n        uVar6 = 0;\n      }\n      goto LAB_00075180;\n    }" (if "if") (parenthesized_expression "(*(int *)(iVar2 + 0x24) == 0)" (( "(") (binary_expression "*(int *)(iVar2 + 0x24) == 0" (pointer_expression "*(int *)(iVar2 + 0x24)" (* "*") (cast_expression "(int *)(iVar2 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x24)" (( "(") (binary_expression "iVar2 + 0x24" (identifier "iVar2") (+ "+") (number_literal "0x24")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar6 = 5;\n      if (*(int *)(iVar2 + 0x40) != 0) {\n        uVar6 = 0;\n      }\n      goto LAB_00075180;\n    }" ({ "{") (expression_statement "uVar6 = 5;" (assignment_expression "uVar6 = 5" (identifier "uVar6") (= "=") (number_literal "5")) (; ";")) (if_statement "if (*(int *)(iVar2 + 0x40) != 0) {\n        uVar6 = 0;\n      }" (if "if") (parenthesized_expression "(*(int *)(iVar2 + 0x40) != 0)" (( "(") (binary_expression "*(int *)(iVar2 + 0x40) != 0" (pointer_expression "*(int *)(iVar2 + 0x40)" (* "*") (cast_expression "(int *)(iVar2 + 0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x40)" (( "(") (binary_expression "iVar2 + 0x40" (identifier "iVar2") (+ "+") (number_literal "0x40")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        uVar6 = 0;\n      }" ({ "{") (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" (identifier "uVar6") (= "=") (number_literal "0")) (; ";")) (} "}"))) (goto_statement "goto LAB_00075180;" (goto "goto") (statement_identifier "LAB_00075180") (; ";")) (} "}"))) (} "}")))) (expression_statement "iVar7 = (*pcVar11)(iVar2 + 0x10);" (assignment_expression "iVar7 = (*pcVar11)(iVar2 + 0x10)" (identifier "iVar7") (= "=") (call_expression "(*pcVar11)(iVar2 + 0x10)" (parenthesized_expression "(*pcVar11)" (( "(") (pointer_expression "*pcVar11" (* "*") (identifier "pcVar11")) () ")")) (argument_list "(iVar2 + 0x10)" (( "(") (binary_expression "iVar2 + 0x10" (identifier "iVar2") (+ "+") (number_literal "0x10")) () ")")))) (; ";")) (if_statement "if (iVar7 != 0) {\n    uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6 | 2,*(int *)(puVar10 + 0x4073c) + 0x6c30);\n    return uVar3;\n  }" (if "if") (parenthesized_expression "(iVar7 != 0)" (( "(") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6 | 2,*(int *)(puVar10 + 0x4073c) + 0x6c30);\n    return uVar3;\n  }" ({ "{") (expression_statement "uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6 | 2,*(int *)(puVar10 + 0x4073c) + 0x6c30);" (assignment_expression "uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6 | 2,*(int *)(puVar10 + 0x4073c) + 0x6c30)" (identifier "uVar3") (= "=") (call_expression "uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6 | 2,*(int *)(puVar10 + 0x4073c) + 0x6c30)" (identifier "uxsel_set") (argument_list "(*(undefined4 *)(iVar2 + 8),uVar6 | 2,*(int *)(puVar10 + 0x4073c) + 0x6c30)" (( "(") (pointer_expression "*(undefined4 *)(iVar2 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 8)" (( "(") (binary_expression "iVar2 + 8" (identifier "iVar2") (+ "+") (number_literal "8")) () ")")))) (, ",") (binary_expression "uVar6 | 2" (identifier "uVar6") (| "|") (number_literal "2")) (, ",") (binary_expression "*(int *)(puVar10 + 0x4073c) + 0x6c30" (pointer_expression "*(int *)(puVar10 + 0x4073c)" (* "*") (cast_expression "(int *)(puVar10 + 0x4073c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + 0x4073c)" (( "(") (binary_expression "puVar10 + 0x4073c" (identifier "puVar10") (+ "+") (number_literal "0x4073c")) () ")")))) (+ "+") (number_literal "0x6c30")) () ")")))) (; ";")) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}"))) (labeled_statement "LAB_00075138:\n  uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6,*(int *)(puVar10 + 0x4073c) + 0x6c30);" (statement_identifier "LAB_00075138") (: ":") (expression_statement "uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6,*(int *)(puVar10 + 0x4073c) + 0x6c30);" (assignment_expression "uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6,*(int *)(puVar10 + 0x4073c) + 0x6c30)" (identifier "uVar3") (= "=") (call_expression "uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6,*(int *)(puVar10 + 0x4073c) + 0x6c30)" (identifier "uxsel_set") (argument_list "(*(undefined4 *)(iVar2 + 8),uVar6,*(int *)(puVar10 + 0x4073c) + 0x6c30)" (( "(") (pointer_expression "*(undefined4 *)(iVar2 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 8)" (( "(") (binary_expression "iVar2 + 8" (identifier "iVar2") (+ "+") (number_literal "8")) () ")")))) (, ",") (identifier "uVar6") (, ",") (binary_expression "*(int *)(puVar10 + 0x4073c) + 0x6c30" (pointer_expression "*(int *)(puVar10 + 0x4073c)" (* "*") (cast_expression "(int *)(puVar10 + 0x4073c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar10 + 0x4073c)" (( "(") (binary_expression "puVar10 + 0x4073c" (identifier "puVar10") (+ "+") (number_literal "0x4073c")) () ")")))) (+ "+") (number_literal "0x6c30")) () ")")))) (; ";"))) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier) (identifier)))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier) (identifier)))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier))))) right: (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (number_literal))))))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (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 (identifier) (number_literal) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier) (identifier) (identifier)))))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) consequence: (compound_statement (return_statement (identifier)))) (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))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (number_literal) (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (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: (identifier))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) (return_statement (identifier)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (identifier) (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))))) (return_statement (identifier)))))

undefined4 MASKED(int param_1)

{
  undefined *puVar1;
  int iVar2;
  undefined4 uVar3;
  int *piVar4;
  int *piVar5;
  uint uVar6;
  int iVar7;
  undefined1 *puVar8;
  undefined1 *puVar9;
  undefined *puVar10;
  code *pcVar11;
  undefined4 local_12c;
  undefined4 local_128;
  undefined4 local_124;
  undefined4 local_120;
  short local_11c;
  undefined2 local_11a;
  undefined4 local_118;
  undefined1 auStack_114 [120];
  undefined1 auStack_9c [64];
  undefined1 auStack_5c [64];
  int local_1c;
  
  puVar10 = PTR___stack_chk_guard_000b60f8;
  local_12c = 0x80;
  local_1c = *(int *)PTR___stack_chk_guard_000b60f8;
  iVar2 = (*(code *)PTR_getpeername_000b5c20)(*(undefined4 *)(param_1 + 8),&local_11c,&local_12c);
  if (iVar2 < 0) {
LAB_00074f8c:
    uVar3 = 0;
  }
  else if (local_11c == 2) {
    uVar3 = (*(code *)PTR_inet_ntoa_000b5a80)(local_118);
    uVar3 = (*(code *)PTR_dupprintf_000b52c0)
                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c10,uVar3,local_11a);
  }
  else if (local_11c == 10) {
    uVar3 = (*(code *)PTR_inet_ntop_000b5c8c)(10,auStack_114,auStack_5c,0x2e);
    uVar3 = (*(code *)PTR_dupprintf_000b52c0)
                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c08,uVar3,local_11a);
  }
  else {
    if ((local_11c != 1) ||
       (iVar2 = so_peercred(*(undefined4 *)(param_1 + 8),&local_128,&local_124,&local_120),
       puVar1 = PTR_s_XXXXXXXXXX___________000b5214, iVar2 == 0)) goto LAB_00074f8c;
    puVar8 = auStack_9c;
    (*(code *)PTR___sprintf_chk_000b5fe0)
              (puVar8,1,0x40,PTR_s_XXXXXXXXXX___________000b5214 + -0x7a40,local_124);
    puVar9 = auStack_5c;
    (*(code *)PTR___sprintf_chk_000b5fe0)(puVar9,1,0x40,puVar1 + -0x7a40,local_120);
    piVar4 = (int *)(*(code *)PTR_getpwuid_000b5be4)(local_124);
    piVar5 = (int *)(*(code *)PTR_getgrgid_000b5bf8)(local_120);
    if (piVar4 != (int *)0x0) {
      puVar8 = (undefined1 *)*piVar4;
    }
    if (piVar5 != (int *)0x0) {
      puVar9 = (undefined1 *)*piVar5;
    }
    uVar3 = (*(code *)PTR_dupprintf_000b52c0)
                      (PTR_s_XXXXXXXXXX___________000b5214 + -0x1c00,local_128,puVar8,puVar9);
  }
  if (local_1c == *(int *)puVar10) {
    return uVar3;
  }
  iVar2 = local_1c;
  puVar10 = PTR___stack_chk_fail_000b5d9c;
  (*(code *)PTR___stack_chk_fail_000b5d9c)();
  if (*(int *)(iVar2 + 0x44) != 0) {
    uVar6 = 0;
    goto LAB_00075138;
  }
  if (*(int *)(iVar2 + 0x48) != 0) {
    uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),1,*(int *)(puVar10 + 0x4073c) + 0x6c30);
    return uVar3;
  }
  if (*(int *)(iVar2 + 0x1c) == 0) {
    uVar6 = 2;
LAB_00075180:
    pcVar11 = *(code **)(puVar10 + 0x401f4);
  }
  else {
    pcVar11 = *(code **)(puVar10 + 0x401f4);
    uVar6 = 0;
    if (*(int *)(iVar2 + 0x24) == 0) {
      uVar6 = 5;
      if (*(int *)(iVar2 + 0x40) != 0) {
        uVar6 = 0;
      }
      goto LAB_00075180;
    }
  }
  iVar7 = (*pcVar11)(iVar2 + 0x10);
  if (iVar7 != 0) {
    uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6 | 2,*(int *)(puVar10 + 0x4073c) + 0x6c30);
    return uVar3;
  }
LAB_00075138:
  uVar3 = uxsel_set(*(undefined4 *)(iVar2 + 8),uVar6,*(int *)(puVar10 + 0x4073c) + 0x6c30);
  return uVar3;
}

