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

void close_all_connections(MHD_Daemon *daemon)

{
  undefined *puVar1;
  int iVar2;
  MHD_UpgradeResponseHandle *pMVar3;
  MHD_Connection *pMVar4;
  MHD_Connection *extraout_v1;
  MHD_Connection *pMVar5;
  undefined4 uVar6;
  MHD_Connection *pMVar7;
  MHD_Daemon *pMVar8;
  MHD_FLAG MVar9;
  MHD_mutex_ *pMVar10;
  char *format;
  
  MVar9 = daemon->options;
  pMVar10 = (MHD_mutex_ *)(MVar9 & MHD_ALLOW_UPGRADE);
  if ((MVar9 & 0x2000) != MHD_NO_FLAG) {
    daemon->resuming = true;
    resume_suspended_connections(daemon);
  }
  pMVar8 = (MHD_Daemon *)&daemon->cleanup_connection_mutex;
  iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(pMVar8);
  uVar6 = 0x1a2b;
  if (iVar2 != 0) goto LAB_00019098;
  if (pMVar10 == (MHD_mutex_ *)0x0) {
    uVar6 = 0x1a58;
    if (daemon->suspended_connections_head != (MHD_Connection *)0x0) goto LAB_000190c4;
  }
  else {
    pMVar7 = daemon->suspended_connections_tail;
    if (pMVar7 != (MHD_Connection *)0x0) {
      pMVar3 = pMVar7->urh;
      if (pMVar3 == (MHD_UpgradeResponseHandle *)0x0) goto LAB_000190c0;
      format = PTR_DAT_0003d02c + -0x4ca4;
      while( true ) {
        if (pMVar3->was_closed == false) {
          MHD_DLOG(daemon,format,uVar6);
          pMVar7->urh->was_closed = true;
          pMVar7->resuming = true;
          daemon->resuming = true;
          pMVar7 = pMVar7->prev;
        }
        else {
          pMVar7->urh->was_closed = true;
          pMVar7->resuming = true;
          daemon->resuming = true;
          pMVar7 = pMVar7->prev;
        }
        if (pMVar7 == (MHD_Connection *)0x0) break;
        pMVar3 = pMVar7->urh;
        uVar6 = 0x1a37;
        if (pMVar3 == (MHD_UpgradeResponseHandle *)0x0) goto LAB_000190c0;
      }
    }
  }
  pMVar7 = daemon->connections_tail;
  if (pMVar7 != (MHD_Connection *)0x0) {
    do {
      (*(code *)PTR_shutdown_0003d134)(pMVar7->socket_fd,2);
      pMVar7 = pMVar7->prev;
    } while (pMVar7 != (MHD_Connection *)0x0);
    pMVar7 = (MHD_Connection *)0x0;
    if ((MVar9 & MHD_USE_THREAD_PER_CONNECTION) != MHD_NO_FLAG) {
      pMVar7 = daemon->connections_tail;
      while (pMVar7 != (MHD_Connection *)0x0) {
        while (pMVar7->thread_joined != false) {
          pMVar7 = pMVar7->prev;
          if (pMVar7 == (MHD_Connection *)0x0) goto LAB_00018e1c;
        }
        iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(pMVar8);
        if (iVar2 != 0) {
          uVar6 = 0x1a6f;
          goto LAB_00018f34;
        }
        iVar2 = (*(code *)PTR_pthread_join_0003d160)((pMVar7->pid).handle,0);
        if (iVar2 != 0) {
          uVar6 = 0x1a71;
LAB_00019070:
          (**(code **)PTR_mhd_panic_0003d03c)
                    (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,
                     PTR_DAT_0003d02c + -0x4d40);
LAB_00019094:
          uVar6 = 0x1a72;
          goto LAB_00019098;
        }
        iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(pMVar8);
        if (iVar2 != 0) goto LAB_00019094;
        pMVar7->thread_joined = true;
        pMVar7 = daemon->connections_tail;
      }
    }
  }
LAB_00018e1c:
  iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(pMVar8);
  uVar6 = 0x1a7c;
  if (iVar2 != 0) goto LAB_00018f34;
  if (pMVar10 != (MHD_mutex_ *)0x0) {
    daemon->resuming = true;
    resume_suspended_connections(daemon);
  }
LAB_00018e38:
  pMVar7 = daemon->connections_tail;
  while( true ) {
    if (pMVar7 == (MHD_Connection *)0x0) {
      MHD_cleanup_connections(daemon);
      return;
    }
    if (((daemon->options & MHD_USE_THREAD_PER_CONNECTION) != MHD_NO_FLAG) &&
       (uVar6 = 0x1a91, pMVar7->thread_joined == false)) goto LAB_00019070;
    pMVar8 = pMVar7->daemon;
    if ((pMVar8->options & MHD_USE_THREAD_PER_CONNECTION) == MHD_NO_FLAG) break;
    MHD_connection_mark_closed_(pMVar7);
    pMVar7 = daemon->connections_tail;
  }
  pMVar10 = &pMVar8->cleanup_connection_mutex;
  MHD_connection_close_(pMVar7,MHD_REQUEST_TERMINATED_DAEMON_SHUTDOWN);
  iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(pMVar10);
  if (iVar2 != 0) {
    do {
      uVar6 = 0x1274;
LAB_00019098:
      (**(code **)PTR_mhd_panic_0003d03c)
                (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,
                 PTR_DAT_0003d02c + -0x62c0);
LAB_000190c0:
      uVar6 = 0x1a37;
LAB_000190c4:
      (**(code **)PTR_mhd_panic_0003d03c)
                (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,
                 PTR_DAT_0003d02c + -0x4ce4);
    } while( true );
  }
  pMVar4 = pMVar7->prevX;
  pMVar5 = pMVar7->nextX;
  if (pMVar7->connection_timeout == pMVar8->connection_timeout) {
    if (pMVar4 == (MHD_Connection *)0x0) {
      pMVar8->normal_timeout_head = pMVar5;
    }
    else {
      pMVar4->nextX = pMVar5;
    }
    pMVar5 = pMVar7->nextX;
    pMVar4 = pMVar7->prevX;
    if (pMVar5 == (MHD_Connection *)0x0) {
      pMVar8->normal_timeout_tail = pMVar4;
      goto LAB_00018ecc;
    }
  }
  else {
    if (pMVar4 == (MHD_Connection *)0x0) {
      pMVar8->manual_timeout_head = pMVar5;
    }
    else {
      pMVar4->nextX = pMVar5;
    }
    pMVar5 = pMVar7->nextX;
    pMVar4 = pMVar7->prevX;
    if (pMVar5 == (MHD_Connection *)0x0) goto LAB_00018f58;
  }
  pMVar5->prevX = pMVar4;
LAB_00018ecc:
  pMVar4 = pMVar7->prev;
  pMVar5 = pMVar7->next;
  pMVar7->nextX = (MHD_Connection *)0x0;
  pMVar7->prevX = (MHD_Connection *)0x0;
  if (pMVar4 == (MHD_Connection *)0x0) goto LAB_00018f70;
LAB_00018ee0:
  pMVar4->next = pMVar5;
  pMVar4 = pMVar7->next;
  pMVar5 = pMVar7->prev;
  if (pMVar4 == (MHD_Connection *)0x0) goto LAB_00018f80;
LAB_00018ef0:
  pMVar4->prev = pMVar5;
  pMVar7->next = (MHD_Connection *)0x0;
  pMVar7->prev = (MHD_Connection *)0x0;
  pMVar7->next = pMVar8->cleanup_head;
  if (pMVar8->cleanup_tail == (MHD_Connection *)0x0) goto LAB_00018fa0;
  do {
    pMVar8->cleanup_head->prev = pMVar7;
    while( true ) {
      puVar1 = PTR_pthread_mutex_unlock_0003d280;
      pMVar8->cleanup_head = pMVar7;
      iVar2 = (*(code *)puVar1)(pMVar10);
      if (iVar2 == 0) goto LAB_00018e38;
      uVar6 = 0x1287;
LAB_00018f34:
      (**(code **)PTR_mhd_panic_0003d03c)
                (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,
                 PTR_DAT_0003d02c + -0x6298);
      pMVar4 = extraout_v1;
LAB_00018f58:
      pMVar8->manual_timeout_tail = pMVar4;
      pMVar7->nextX = (MHD_Connection *)0x0;
      pMVar7->prevX = (MHD_Connection *)0x0;
      pMVar4 = pMVar7->prev;
      pMVar5 = pMVar7->next;
      if (pMVar4 != (MHD_Connection *)0x0) goto LAB_00018ee0;
LAB_00018f70:
      pMVar8->connections_head = pMVar5;
      pMVar4 = pMVar7->next;
      pMVar5 = pMVar7->prev;
      if (pMVar4 != (MHD_Connection *)0x0) goto LAB_00018ef0;
LAB_00018f80:
      pMVar8->connections_tail = pMVar5;
      pMVar7->next = (MHD_Connection *)0x0;
      pMVar7->prev = (MHD_Connection *)0x0;
      pMVar7->next = pMVar8->cleanup_head;
      if (pMVar8->cleanup_tail != (MHD_Connection *)0x0) break;
LAB_00018fa0:
      pMVar8->cleanup_tail = pMVar7;
    }
  } while( true );
}



void FUN_00018c7c(int param_1)

{
  int iVar1;
  int iVar2;
  undefined4 extraout_v1;
  undefined4 uVar3;
  int iVar4;
  uint uVar5;
  uint uVar6;
  undefined *puVar7;
  
  uVar5 = *(uint *)(param_1 + 0xf4);
  uVar6 = uVar5 & 0x8000;
  if ((uVar5 & 0x2000) != 0) {
    *(undefined1 *)(param_1 + 0xdf) = 1;
    FUN_00017778();
  }
  iVar4 = param_1 + 0xac;
  iVar1 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);
  uVar3 = 0x1a2b;
  if (iVar1 != 0) goto LAB_00019098;
  if (uVar6 == 0) {
    uVar3 = 0x1a58;
    if (*(int *)(param_1 + 0x10) != 0) goto LAB_000190c4;
  }
  else {
    iVar1 = *(int *)(param_1 + 0x14);
    if (iVar1 != 0) {
      iVar2 = *(int *)(iVar1 + 0xdc);
      if (iVar2 == 0) goto LAB_000190c0;
      puVar7 = PTR_DAT_0003d02c + -0x4ca4;
      while( true ) {
        if (*(char *)(iVar2 + 4) == '\0') {
          FUN_0001e5b0(param_1,puVar7,uVar3);
          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;
          *(undefined1 *)(iVar1 + 0xe8) = 1;
          *(undefined1 *)(param_1 + 0xdf) = 1;
          iVar1 = *(int *)(iVar1 + 0xc);
        }
        else {
          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;
          *(undefined1 *)(iVar1 + 0xe8) = 1;
          *(undefined1 *)(param_1 + 0xdf) = 1;
          iVar1 = *(int *)(iVar1 + 0xc);
        }
        if (iVar1 == 0) break;
        iVar2 = *(int *)(iVar1 + 0xdc);
        uVar3 = 0x1a37;
        if (iVar2 == 0) goto LAB_000190c0;
      }
    }
  }
  iVar1 = *(int *)(param_1 + 0xc);
  if (iVar1 != 0) {
    do {
      (*(code *)PTR_shutdown_0003d134)(*(undefined4 *)(iVar1 + 0xa4),2);
      iVar1 = *(int *)(iVar1 + 0xc);
    } while (iVar1 != 0);
    iVar1 = 0;
    if ((uVar5 & 4) != 0) {
      iVar1 = *(int *)(param_1 + 0xc);
      while (iVar1 != 0) {
        while (*(char *)(iVar1 + 0xab) != '\0') {
          iVar1 = *(int *)(iVar1 + 0xc);
          if (iVar1 == 0) goto LAB_00018e1c;
        }
        iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);
        if (iVar2 != 0) {
          uVar3 = 0x1a6f;
          goto LAB_00018f34;
        }
        iVar2 = (*(code *)PTR_pthread_join_0003d160)(*(undefined4 *)(iVar1 + 0x58),0);
        if (iVar2 != 0) {
          uVar3 = 0x1a71;
LAB_00019070:
          (**(code **)PTR_DAT_0003d03c)
                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,
                     PTR_DAT_0003d02c + -0x4d40);
LAB_00019094:
          uVar3 = 0x1a72;
          goto LAB_00019098;
        }
        iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);
        if (iVar2 != 0) goto LAB_00019094;
        *(undefined1 *)(iVar1 + 0xab) = 1;
        iVar1 = *(int *)(param_1 + 0xc);
      }
    }
  }
LAB_00018e1c:
  iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);
  uVar3 = 0x1a7c;
  if (iVar2 != 0) goto LAB_00018f34;
  if (uVar6 != 0) {
    *(undefined1 *)(param_1 + 0xdf) = 1;
    FUN_00017778(param_1);
  }
LAB_00018e38:
  iVar1 = *(int *)(param_1 + 0xc);
  while( true ) {
    if (iVar1 == 0) {
      FUN_000188d8(param_1);
      return;
    }
    if (((*(uint *)(param_1 + 0xf4) & 4) != 0) && (uVar3 = 0x1a91, *(char *)(iVar1 + 0xab) == '\0'))
    goto LAB_00019070;
    iVar4 = *(int *)(iVar1 + 0x18);
    if ((*(uint *)(iVar4 + 0xf4) & 4) == 0) break;
    FUN_00013f40(iVar1);
    iVar1 = *(int *)(param_1 + 0xc);
  }
  uVar6 = iVar4 + 0xac;
  FUN_00013f84(iVar1,3);
  iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(uVar6);
  if (iVar2 != 0) {
    do {
      uVar3 = 0x1274;
LAB_00019098:
      (**(code **)PTR_DAT_0003d03c)
                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,
                 PTR_DAT_0003d02c + -0x62c0);
LAB_000190c0:
      uVar3 = 0x1a37;
LAB_000190c4:
      (**(code **)PTR_DAT_0003d03c)
                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,
                 PTR_DAT_0003d02c + -0x4ce4);
    } while( true );
  }
  iVar2 = *(int *)(iVar1 + 0x14);
  uVar3 = *(undefined4 *)(iVar1 + 0x10);
  if (*(int *)(iVar1 + 0x98) == *(int *)(iVar4 + 0xec)) {
    if (iVar2 == 0) {
      *(undefined4 *)(iVar4 + 0x30) = uVar3;
    }
    else {
      *(undefined4 *)(iVar2 + 0x10) = uVar3;
    }
    iVar2 = *(int *)(iVar1 + 0x10);
    uVar3 = *(undefined4 *)(iVar1 + 0x14);
    if (iVar2 == 0) {
      *(undefined4 *)(iVar4 + 0x34) = uVar3;
      goto LAB_00018ecc;
    }
  }
  else {
    if (iVar2 == 0) {
      *(undefined4 *)(iVar4 + 0x38) = uVar3;
    }
    else {
      *(undefined4 *)(iVar2 + 0x10) = uVar3;
    }
    iVar2 = *(int *)(iVar1 + 0x10);
    uVar3 = *(undefined4 *)(iVar1 + 0x14);
    if (iVar2 == 0) goto LAB_00018f58;
  }
  *(undefined4 *)(iVar2 + 0x14) = uVar3;
LAB_00018ecc:
  iVar2 = *(int *)(iVar1 + 0xc);
  uVar3 = *(undefined4 *)(iVar1 + 8);
  *(undefined4 *)(iVar1 + 0x10) = 0;
  *(undefined4 *)(iVar1 + 0x14) = 0;
  if (iVar2 == 0) goto LAB_00018f70;
LAB_00018ee0:
  *(undefined4 *)(iVar2 + 8) = uVar3;
  iVar2 = *(int *)(iVar1 + 8);
  uVar3 = *(undefined4 *)(iVar1 + 0xc);
  if (iVar2 == 0) goto LAB_00018f80;
LAB_00018ef0:
  *(undefined4 *)(iVar2 + 0xc) = uVar3;
  *(undefined4 *)(iVar1 + 8) = 0;
  *(undefined4 *)(iVar1 + 0xc) = 0;
  *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18);
  if (*(int *)(iVar4 + 0x1c) == 0) goto LAB_00018fa0;
  do {
    *(int *)(*(int *)(iVar4 + 0x18) + 0xc) = iVar1;
    while( true ) {
      puVar7 = PTR_pthread_mutex_unlock_0003d280;
      *(int *)(iVar4 + 0x18) = iVar1;
      iVar2 = (*(code *)puVar7)(uVar6);
      if (iVar2 == 0) goto LAB_00018e38;
      uVar3 = 0x1287;
LAB_00018f34:
      (**(code **)PTR_DAT_0003d03c)
                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,
                 PTR_DAT_0003d02c + -0x6298);
      uVar3 = extraout_v1;
LAB_00018f58:
      *(undefined4 *)(iVar4 + 0x3c) = uVar3;
      *(undefined4 *)(iVar1 + 0x10) = 0;
      *(undefined4 *)(iVar1 + 0x14) = 0;
      iVar2 = *(int *)(iVar1 + 0xc);
      uVar3 = *(undefined4 *)(iVar1 + 8);
      if (iVar2 != 0) goto LAB_00018ee0;
LAB_00018f70:
      *(undefined4 *)(iVar4 + 8) = uVar3;
      iVar2 = *(int *)(iVar1 + 8);
      uVar3 = *(undefined4 *)(iVar1 + 0xc);
      if (iVar2 != 0) goto LAB_00018ef0;
LAB_00018f80:
      *(undefined4 *)(iVar4 + 0xc) = uVar3;
      *(undefined4 *)(iVar1 + 8) = 0;
      *(undefined4 *)(iVar1 + 0xc) = 0;
      *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18);
      if (*(int *)(iVar4 + 0x1c) != 0) break;
LAB_00018fa0:
      *(int *)(iVar4 + 0x1c) = iVar1;
    }
  } while( true );
}


lui gp,0x3
addiu gp,gp,-0x3c7c
addu gp,gp,t9
addiu sp,sp,-0x38
sw s5,0x2c(sp)
sw s2,0x20(sp)
or s2,a0,zero
sw gp,0x10(sp)
sw ra,0x34(sp)
sw s6,0x30(sp)
sw s4,0x28(sp)
sw s3,0x24(sp)
sw s1,0x1c(sp)
sw s0,0x18(sp)
lw s3,0xf4(a0)
andi v0,s3,0x2000
andi s5,s3,0x4
bne v0,zero,0x00019038
_andi s3,s3,0x8000
lw t9,-0x7df0(gp)
addiu s1,s2,0xac
jalr t9
_or a0,s1,zero
li a2,0x1a2b
bne v0,zero,0x00019098
_lw gp,0x10(sp)
beq s3,zero,0x00019024
_nop
lw s0,0x14(s2)
beq s0,zero,0x00018d74
_nop
lw v0,0xdc(s0)
beq v0,zero,0x000190bc
_lw s6,-0x7fd4(gp)
li s4,0x1
b 0x00018d38
_addiu s6,s6,-0x4ca4
lw v0,0xdc(s0)
sb s4,0x4(v0)
sb s4,0xe8(s0)
sb s4,0xdf(s2)
lw s0,0xc(s0)
beq s0,zero,0x00018d74
_nop
lw v0,0xdc(s0)
beq v0,zero,0x000190c0
_li a2,0x1a37
lbu v0,0x4(v0)
andi v0,v0,0xff
bne v0,zero,0x00018d10
_lw t9,-0x7fd0(gp)
or a1,s6,zero
bal 0x0001e5b0
_or a0,s2,zero
lw v0,0xdc(s0)
lw gp,0x10(sp)
sb s4,0x4(v0)
sb s4,0xe8(s0)
sb s4,0xdf(s2)
lw s0,0xc(s0)
bne s0,zero,0x00018d2c
_nop
lw s0,0xc(s2)
beq s0,zero,0x00018e1c
_lw t9,-0x7d80(gp)
lw t9,-0x7ecc(gp)
li a1,0x2
jalr t9
_lw a0,0xa4(s0)
lw s0,0xc(s0)
bne s0,zero,0x00018d80
_lw gp,0x10(sp)
beq s5,zero,0x00018e1c
_lw t9,-0x7d80(gp)
lw s0,0xc(s2)
beq s0,zero,0x00018e1c
_nop
b 0x00018dc4
_li s4,0x1
lw s0,0xc(s0)
beq s0,zero,0x00018e1c
_nop
lbu v0,0xab(s0)
bne v0,zero,0x00018db8
_lw t9,-0x7d80(gp)
jalr t9
_or a0,s1,zero
bne v0,zero,0x000190f4
_lw gp,0x10(sp)
lw t9,-0x7ea0(gp)
or a1,zero,zero
jalr t9
_lw a0,0x58(s0)
bne v0,zero,0x000190ec
_lw gp,0x10(sp)
lw t9,-0x7df0(gp)
jalr t9
_or a0,s1,zero
bne v0,zero,0x00019094
_lw gp,0x10(sp)
sb s4,0xab(s0)
lw s0,0xc(s2)
bne s0,zero,0x00018dc4
_lw t9,-0x7d80(gp)
jalr t9
_or a0,s1,zero
li a2,0x1a7c
bne v0,zero,0x00018f34
_lw gp,0x10(sp)
bne s3,zero,0x00019054
_lw t9,-0x7fd8(gp)
lw s0,0xc(s2)
beq s0,zero,0x00018fc4
_lw t9,-0x7fac(gp)
lw v0,0xf4(s2)
andi v0,v0,0x4
beq v0,zero,0x00018e60
_nop
lbu v0,0xab(s0)
beq v0,zero,0x00019070
_li a2,0x1a91
lw s1,0x18(s0)
lw v0,0xf4(s1)
andi v0,v0,0x4
bne v0,zero,0x00018fa8
_lw t9,-0x7fb4(gp)
li a1,0x3
or a0,s0,zero
bal 0x00013f84
_addiu s3,s1,0xac
lw gp,0x10(sp)
lw t9,-0x7df0(gp)
jalr t9
_or a0,s3,zero
bne v0,zero,0x000190e4
_lw gp,0x10(sp)
lw a0,0x98(s0)
lw v1,0xec(s1)
lw v0,0x14(s0)
beq a0,v1,0x00018ff4
_lw a1,0x10(s0)
beq v0,zero,0x00019014
_nop
sw a1,0x10(v0)
lw v0,0x10(s0)
beq v0,zero,0x00018f58
_lw v1,0x14(s0)
sw v1,0x14(v0)
lw v0,0xc(s0)
lw v1,0x8(s0)
sw zero,0x10(s0)
beq v0,zero,0x00018f70
_sw zero,0x14(s0)
sw v1,0x8(v0)
lw v0,0x8(s0)
beq v0,zero,0x00018f80
_lw v1,0xc(s0)
sw v1,0xc(v0)
sw zero,0x8(s0)
sw zero,0xc(s0)
lw v0,0x18(s1)
sw v0,0x8(s0)
lw v0,0x1c(s1)
beq v0,zero,0x00018fa0
_nop
lw v0,0x18(s1)
sw s0,0xc(v0)
lw t9,-0x7d80(gp)
or a0,s3,zero
jalr t9
_sw s0,0x18(s1)
beq v0,zero,0x00018e38
_lw gp,0x10(sp)
li a2,0x1287
lw v0,-0x7fc8(gp)
lw a3,-0x7fd4(gp)
lw a1,-0x7fd4(gp)
lw a0,0x0(v0)
addiu a3,a3,-0x6298
lw v0,-0x7fc4(gp)
lw t9,0x0(v0)
jalr t9
_addiu a1,a1,-0x51b0
sw v1,0x3c(s1)
sw zero,0x10(s0)
sw zero,0x14(s0)
lw v0,0xc(s0)
bne v0,zero,0x00018ee0
_lw v1,0x8(s0)
sw v1,0x8(s1)
lw v0,0x8(s0)
bne v0,zero,0x00018ef0
_lw v1,0xc(s0)
sw v1,0xc(s1)
sw zero,0x8(s0)
sw zero,0xc(s0)
lw v0,0x18(s1)
sw v0,0x8(s0)
lw v0,0x1c(s1)
bne v0,zero,0x00018f10
_nop
b 0x00018f18
_sw s0,0x1c(s1)
lw t9,-0x7fa4(gp)
bal 0x00013f40
_or a0,s0,zero
lw s0,0xc(s2)
bne s0,zero,0x00018e44
_lw gp,0x10(sp)
lw t9,-0x7fac(gp)
or a0,s2,zero
lw ra,0x34(sp)
lw s6,0x30(sp)
lw s5,0x2c(sp)
addiu t9,t9,-0x7728
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
b 0x000188d8
_addiu sp,sp,0x38
beq v0,zero,0x0001901c
_nop
sw a1,0x10(v0)
lw v0,0x10(s0)
bne v0,zero,0x00018ec8
_lw v1,0x14(s0)
b 0x00018ecc
_sw v1,0x34(s1)
b 0x00018ebc
_sw a1,0x38(s1)
b 0x00019000
_sw a1,0x30(s1)
lw v0,0x10(s2)
beq v0,zero,0x00018d74
_li a2,0x1a58
b 0x000190c4
_lw v0,-0x7fc8(gp)
lw t9,-0x7fd8(gp)
li v0,0x1
addiu t9,t9,0x7778
bal 0x00017778
_sb v0,0xdf(a0)
b 0x00018cc8
_lw gp,0x10(sp)
li v0,0x1
or a0,s2,zero
addiu t9,t9,0x7778
bal 0x00017778
_sb v0,0xdf(s2)
b 0x00018e38
_lw gp,0x10(sp)
lw v0,-0x7fc8(gp)
lw a3,-0x7fd4(gp)
lw a1,-0x7fd4(gp)
lw a0,0x0(v0)
addiu a3,a3,-0x4d40
lw v0,-0x7fc4(gp)
lw t9,0x0(v0)
jalr t9
_addiu a1,a1,-0x51b0
li a2,0x1a72
lw v0,-0x7fc8(gp)
lw a3,-0x7fd4(gp)
lw a1,-0x7fd4(gp)
lw a0,0x0(v0)
addiu a3,a3,-0x62c0
lw v0,-0x7fc4(gp)
lw t9,0x0(v0)
jalr t9
_addiu a1,a1,-0x51b0
li a2,0x1a37
lw v0,-0x7fc8(gp)
lw a3,-0x7fd4(gp)
lw a1,-0x7fd4(gp)
lw a0,0x0(v0)
addiu a3,a3,-0x4ce4
lw v0,-0x7fc4(gp)
lw t9,0x0(v0)
jalr t9
_addiu a1,a1,-0x51b0
b 0x00019098
_li a2,0x1274
b 0x00019070
_li a2,0x1a71
b 0x00018f34
_li a2,0x1a6f
(translation_unit "void FUN_00018c7c(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 extraout_v1;\n  undefined4 uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined *puVar7;\n  \n  uVar5 = *(uint *)(param_1 + 0xf4);\n  uVar6 = uVar5 & 0x8000;\n  if ((uVar5 & 0x2000) != 0) {\n    *(undefined1 *)(param_1 + 0xdf) = 1;\n    FUN_00017778();\n  }\n  iVar4 = param_1 + 0xac;\n  iVar1 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);\n  uVar3 = 0x1a2b;\n  if (iVar1 != 0) goto LAB_00019098;\n  if (uVar6 == 0) {\n    uVar3 = 0x1a58;\n    if (*(int *)(param_1 + 0x10) != 0) goto LAB_000190c4;\n  }\n  else {\n    iVar1 = *(int *)(param_1 + 0x14);\n    if (iVar1 != 0) {\n      iVar2 = *(int *)(iVar1 + 0xdc);\n      if (iVar2 == 0) goto LAB_000190c0;\n      puVar7 = PTR_DAT_0003d02c + -0x4ca4;\n      while( true ) {\n        if (*(char *)(iVar2 + 4) == '\0') {\n          FUN_0001e5b0(param_1,puVar7,uVar3);\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        else {\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        if (iVar1 == 0) break;\n        iVar2 = *(int *)(iVar1 + 0xdc);\n        uVar3 = 0x1a37;\n        if (iVar2 == 0) goto LAB_000190c0;\n      }\n    }\n  }\n  iVar1 = *(int *)(param_1 + 0xc);\n  if (iVar1 != 0) {\n    do {\n      (*(code *)PTR_shutdown_0003d134)(*(undefined4 *)(iVar1 + 0xa4),2);\n      iVar1 = *(int *)(iVar1 + 0xc);\n    } while (iVar1 != 0);\n    iVar1 = 0;\n    if ((uVar5 & 4) != 0) {\n      iVar1 = *(int *)(param_1 + 0xc);\n      while (iVar1 != 0) {\n        while (*(char *)(iVar1 + 0xab) != '\0') {\n          iVar1 = *(int *)(iVar1 + 0xc);\n          if (iVar1 == 0) goto LAB_00018e1c;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a6f;\n          goto LAB_00018f34;\n        }\n        iVar2 = (*(code *)PTR_pthread_join_0003d160)(*(undefined4 *)(iVar1 + 0x58),0);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar3 = 0x1a72;\n          goto LAB_00019098;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);\n        if (iVar2 != 0) goto LAB_00019094;\n        *(undefined1 *)(iVar1 + 0xab) = 1;\n        iVar1 = *(int *)(param_1 + 0xc);\n      }\n    }\n  }\nLAB_00018e1c:\n  iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);\n  uVar3 = 0x1a7c;\n  if (iVar2 != 0) goto LAB_00018f34;\n  if (uVar6 != 0) {\n    *(undefined1 *)(param_1 + 0xdf) = 1;\n    FUN_00017778(param_1);\n  }\nLAB_00018e38:\n  iVar1 = *(int *)(param_1 + 0xc);\n  while( true ) {\n    if (iVar1 == 0) {\n      FUN_000188d8(param_1);\n      return;\n    }\n    if (((*(uint *)(param_1 + 0xf4) & 4) != 0) && (uVar3 = 0x1a91, *(char *)(iVar1 + 0xab) == '\0'))\n    goto LAB_00019070;\n    iVar4 = *(int *)(iVar1 + 0x18);\n    if ((*(uint *)(iVar4 + 0xf4) & 4) == 0) break;\n    FUN_00013f40(iVar1);\n    iVar1 = *(int *)(param_1 + 0xc);\n  }\n  uVar6 = iVar4 + 0xac;\n  FUN_00013f84(iVar1,3);\n  iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(uVar6);\n  if (iVar2 != 0) {\n    do {\n      uVar3 = 0x1274;\nLAB_00019098:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x62c0);\nLAB_000190c0:\n      uVar3 = 0x1a37;\nLAB_000190c4:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x4ce4);\n    } while( true );\n  }\n  iVar2 = *(int *)(iVar1 + 0x14);\n  uVar3 = *(undefined4 *)(iVar1 + 0x10);\n  if (*(int *)(iVar1 + 0x98) == *(int *)(iVar4 + 0xec)) {\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x30) = uVar3;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }\n    iVar2 = *(int *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0x14);\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x34) = uVar3;\n      goto LAB_00018ecc;\n    }\n  }\n  else {\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x38) = uVar3;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }\n    iVar2 = *(int *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0x14);\n    if (iVar2 == 0) goto LAB_00018f58;\n  }\n  *(undefined4 *)(iVar2 + 0x14) = uVar3;\nLAB_00018ecc:\n  iVar2 = *(int *)(iVar1 + 0xc);\n  uVar3 = *(undefined4 *)(iVar1 + 8);\n  *(undefined4 *)(iVar1 + 0x10) = 0;\n  *(undefined4 *)(iVar1 + 0x14) = 0;\n  if (iVar2 == 0) goto LAB_00018f70;\nLAB_00018ee0:\n  *(undefined4 *)(iVar2 + 8) = uVar3;\n  iVar2 = *(int *)(iVar1 + 8);\n  uVar3 = *(undefined4 *)(iVar1 + 0xc);\n  if (iVar2 == 0) goto LAB_00018f80;\nLAB_00018ef0:\n  *(undefined4 *)(iVar2 + 0xc) = uVar3;\n  *(undefined4 *)(iVar1 + 8) = 0;\n  *(undefined4 *)(iVar1 + 0xc) = 0;\n  *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18);\n  if (*(int *)(iVar4 + 0x1c) == 0) goto LAB_00018fa0;\n  do {\n    *(int *)(*(int *)(iVar4 + 0x18) + 0xc) = iVar1;\n    while( true ) {\n      puVar7 = PTR_pthread_mutex_unlock_0003d280;\n      *(int *)(iVar4 + 0x18) = iVar1;\n      iVar2 = (*(code *)puVar7)(uVar6);\n      if (iVar2 == 0) goto LAB_00018e38;\n      uVar3 = 0x1287;\nLAB_00018f34:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x6298);\n      uVar3 = extraout_v1;\nLAB_00018f58:\n      *(undefined4 *)(iVar4 + 0x3c) = uVar3;\n      *(undefined4 *)(iVar1 + 0x10) = 0;\n      *(undefined4 *)(iVar1 + 0x14) = 0;\n      iVar2 = *(int *)(iVar1 + 0xc);\n      uVar3 = *(undefined4 *)(iVar1 + 8);\n      if (iVar2 != 0) goto LAB_00018ee0;\nLAB_00018f70:\n      *(undefined4 *)(iVar4 + 8) = uVar3;\n      iVar2 = *(int *)(iVar1 + 8);\n      uVar3 = *(undefined4 *)(iVar1 + 0xc);\n      if (iVar2 != 0) goto LAB_00018ef0;\nLAB_00018f80:\n      *(undefined4 *)(iVar4 + 0xc) = uVar3;\n      *(undefined4 *)(iVar1 + 8) = 0;\n      *(undefined4 *)(iVar1 + 0xc) = 0;\n      *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18);\n      if (*(int *)(iVar4 + 0x1c) != 0) break;\nLAB_00018fa0:\n      *(int *)(iVar4 + 0x1c) = iVar1;\n    }\n  } while( true );\n}\n\n" (function_definition "void FUN_00018c7c(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 extraout_v1;\n  undefined4 uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined *puVar7;\n  \n  uVar5 = *(uint *)(param_1 + 0xf4);\n  uVar6 = uVar5 & 0x8000;\n  if ((uVar5 & 0x2000) != 0) {\n    *(undefined1 *)(param_1 + 0xdf) = 1;\n    FUN_00017778();\n  }\n  iVar4 = param_1 + 0xac;\n  iVar1 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);\n  uVar3 = 0x1a2b;\n  if (iVar1 != 0) goto LAB_00019098;\n  if (uVar6 == 0) {\n    uVar3 = 0x1a58;\n    if (*(int *)(param_1 + 0x10) != 0) goto LAB_000190c4;\n  }\n  else {\n    iVar1 = *(int *)(param_1 + 0x14);\n    if (iVar1 != 0) {\n      iVar2 = *(int *)(iVar1 + 0xdc);\n      if (iVar2 == 0) goto LAB_000190c0;\n      puVar7 = PTR_DAT_0003d02c + -0x4ca4;\n      while( true ) {\n        if (*(char *)(iVar2 + 4) == '\0') {\n          FUN_0001e5b0(param_1,puVar7,uVar3);\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        else {\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        if (iVar1 == 0) break;\n        iVar2 = *(int *)(iVar1 + 0xdc);\n        uVar3 = 0x1a37;\n        if (iVar2 == 0) goto LAB_000190c0;\n      }\n    }\n  }\n  iVar1 = *(int *)(param_1 + 0xc);\n  if (iVar1 != 0) {\n    do {\n      (*(code *)PTR_shutdown_0003d134)(*(undefined4 *)(iVar1 + 0xa4),2);\n      iVar1 = *(int *)(iVar1 + 0xc);\n    } while (iVar1 != 0);\n    iVar1 = 0;\n    if ((uVar5 & 4) != 0) {\n      iVar1 = *(int *)(param_1 + 0xc);\n      while (iVar1 != 0) {\n        while (*(char *)(iVar1 + 0xab) != '\0') {\n          iVar1 = *(int *)(iVar1 + 0xc);\n          if (iVar1 == 0) goto LAB_00018e1c;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a6f;\n          goto LAB_00018f34;\n        }\n        iVar2 = (*(code *)PTR_pthread_join_0003d160)(*(undefined4 *)(iVar1 + 0x58),0);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar3 = 0x1a72;\n          goto LAB_00019098;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);\n        if (iVar2 != 0) goto LAB_00019094;\n        *(undefined1 *)(iVar1 + 0xab) = 1;\n        iVar1 = *(int *)(param_1 + 0xc);\n      }\n    }\n  }\nLAB_00018e1c:\n  iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);\n  uVar3 = 0x1a7c;\n  if (iVar2 != 0) goto LAB_00018f34;\n  if (uVar6 != 0) {\n    *(undefined1 *)(param_1 + 0xdf) = 1;\n    FUN_00017778(param_1);\n  }\nLAB_00018e38:\n  iVar1 = *(int *)(param_1 + 0xc);\n  while( true ) {\n    if (iVar1 == 0) {\n      FUN_000188d8(param_1);\n      return;\n    }\n    if (((*(uint *)(param_1 + 0xf4) & 4) != 0) && (uVar3 = 0x1a91, *(char *)(iVar1 + 0xab) == '\0'))\n    goto LAB_00019070;\n    iVar4 = *(int *)(iVar1 + 0x18);\n    if ((*(uint *)(iVar4 + 0xf4) & 4) == 0) break;\n    FUN_00013f40(iVar1);\n    iVar1 = *(int *)(param_1 + 0xc);\n  }\n  uVar6 = iVar4 + 0xac;\n  FUN_00013f84(iVar1,3);\n  iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(uVar6);\n  if (iVar2 != 0) {\n    do {\n      uVar3 = 0x1274;\nLAB_00019098:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x62c0);\nLAB_000190c0:\n      uVar3 = 0x1a37;\nLAB_000190c4:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x4ce4);\n    } while( true );\n  }\n  iVar2 = *(int *)(iVar1 + 0x14);\n  uVar3 = *(undefined4 *)(iVar1 + 0x10);\n  if (*(int *)(iVar1 + 0x98) == *(int *)(iVar4 + 0xec)) {\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x30) = uVar3;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }\n    iVar2 = *(int *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0x14);\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x34) = uVar3;\n      goto LAB_00018ecc;\n    }\n  }\n  else {\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x38) = uVar3;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }\n    iVar2 = *(int *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0x14);\n    if (iVar2 == 0) goto LAB_00018f58;\n  }\n  *(undefined4 *)(iVar2 + 0x14) = uVar3;\nLAB_00018ecc:\n  iVar2 = *(int *)(iVar1 + 0xc);\n  uVar3 = *(undefined4 *)(iVar1 + 8);\n  *(undefined4 *)(iVar1 + 0x10) = 0;\n  *(undefined4 *)(iVar1 + 0x14) = 0;\n  if (iVar2 == 0) goto LAB_00018f70;\nLAB_00018ee0:\n  *(undefined4 *)(iVar2 + 8) = uVar3;\n  iVar2 = *(int *)(iVar1 + 8);\n  uVar3 = *(undefined4 *)(iVar1 + 0xc);\n  if (iVar2 == 0) goto LAB_00018f80;\nLAB_00018ef0:\n  *(undefined4 *)(iVar2 + 0xc) = uVar3;\n  *(undefined4 *)(iVar1 + 8) = 0;\n  *(undefined4 *)(iVar1 + 0xc) = 0;\n  *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18);\n  if (*(int *)(iVar4 + 0x1c) == 0) goto LAB_00018fa0;\n  do {\n    *(int *)(*(int *)(iVar4 + 0x18) + 0xc) = iVar1;\n    while( true ) {\n      puVar7 = PTR_pthread_mutex_unlock_0003d280;\n      *(int *)(iVar4 + 0x18) = iVar1;\n      iVar2 = (*(code *)puVar7)(uVar6);\n      if (iVar2 == 0) goto LAB_00018e38;\n      uVar3 = 0x1287;\nLAB_00018f34:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x6298);\n      uVar3 = extraout_v1;\nLAB_00018f58:\n      *(undefined4 *)(iVar4 + 0x3c) = uVar3;\n      *(undefined4 *)(iVar1 + 0x10) = 0;\n      *(undefined4 *)(iVar1 + 0x14) = 0;\n      iVar2 = *(int *)(iVar1 + 0xc);\n      uVar3 = *(undefined4 *)(iVar1 + 8);\n      if (iVar2 != 0) goto LAB_00018ee0;\nLAB_00018f70:\n      *(undefined4 *)(iVar4 + 8) = uVar3;\n      iVar2 = *(int *)(iVar1 + 8);\n      uVar3 = *(undefined4 *)(iVar1 + 0xc);\n      if (iVar2 != 0) goto LAB_00018ef0;\nLAB_00018f80:\n      *(undefined4 *)(iVar4 + 0xc) = uVar3;\n      *(undefined4 *)(iVar1 + 8) = 0;\n      *(undefined4 *)(iVar1 + 0xc) = 0;\n      *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18);\n      if (*(int *)(iVar4 + 0x1c) != 0) break;\nLAB_00018fa0:\n      *(int *)(iVar4 + 0x1c) = iVar1;\n    }\n  } while( true );\n}" primitive_type (function_declarator "FUN_00018c7c(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined4 extraout_v1;\n  undefined4 uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined *puVar7;\n  \n  uVar5 = *(uint *)(param_1 + 0xf4);\n  uVar6 = uVar5 & 0x8000;\n  if ((uVar5 & 0x2000) != 0) {\n    *(undefined1 *)(param_1 + 0xdf) = 1;\n    FUN_00017778();\n  }\n  iVar4 = param_1 + 0xac;\n  iVar1 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);\n  uVar3 = 0x1a2b;\n  if (iVar1 != 0) goto LAB_00019098;\n  if (uVar6 == 0) {\n    uVar3 = 0x1a58;\n    if (*(int *)(param_1 + 0x10) != 0) goto LAB_000190c4;\n  }\n  else {\n    iVar1 = *(int *)(param_1 + 0x14);\n    if (iVar1 != 0) {\n      iVar2 = *(int *)(iVar1 + 0xdc);\n      if (iVar2 == 0) goto LAB_000190c0;\n      puVar7 = PTR_DAT_0003d02c + -0x4ca4;\n      while( true ) {\n        if (*(char *)(iVar2 + 4) == '\0') {\n          FUN_0001e5b0(param_1,puVar7,uVar3);\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        else {\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        if (iVar1 == 0) break;\n        iVar2 = *(int *)(iVar1 + 0xdc);\n        uVar3 = 0x1a37;\n        if (iVar2 == 0) goto LAB_000190c0;\n      }\n    }\n  }\n  iVar1 = *(int *)(param_1 + 0xc);\n  if (iVar1 != 0) {\n    do {\n      (*(code *)PTR_shutdown_0003d134)(*(undefined4 *)(iVar1 + 0xa4),2);\n      iVar1 = *(int *)(iVar1 + 0xc);\n    } while (iVar1 != 0);\n    iVar1 = 0;\n    if ((uVar5 & 4) != 0) {\n      iVar1 = *(int *)(param_1 + 0xc);\n      while (iVar1 != 0) {\n        while (*(char *)(iVar1 + 0xab) != '\0') {\n          iVar1 = *(int *)(iVar1 + 0xc);\n          if (iVar1 == 0) goto LAB_00018e1c;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a6f;\n          goto LAB_00018f34;\n        }\n        iVar2 = (*(code *)PTR_pthread_join_0003d160)(*(undefined4 *)(iVar1 + 0x58),0);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar3 = 0x1a72;\n          goto LAB_00019098;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);\n        if (iVar2 != 0) goto LAB_00019094;\n        *(undefined1 *)(iVar1 + 0xab) = 1;\n        iVar1 = *(int *)(param_1 + 0xc);\n      }\n    }\n  }\nLAB_00018e1c:\n  iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);\n  uVar3 = 0x1a7c;\n  if (iVar2 != 0) goto LAB_00018f34;\n  if (uVar6 != 0) {\n    *(undefined1 *)(param_1 + 0xdf) = 1;\n    FUN_00017778(param_1);\n  }\nLAB_00018e38:\n  iVar1 = *(int *)(param_1 + 0xc);\n  while( true ) {\n    if (iVar1 == 0) {\n      FUN_000188d8(param_1);\n      return;\n    }\n    if (((*(uint *)(param_1 + 0xf4) & 4) != 0) && (uVar3 = 0x1a91, *(char *)(iVar1 + 0xab) == '\0'))\n    goto LAB_00019070;\n    iVar4 = *(int *)(iVar1 + 0x18);\n    if ((*(uint *)(iVar4 + 0xf4) & 4) == 0) break;\n    FUN_00013f40(iVar1);\n    iVar1 = *(int *)(param_1 + 0xc);\n  }\n  uVar6 = iVar4 + 0xac;\n  FUN_00013f84(iVar1,3);\n  iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(uVar6);\n  if (iVar2 != 0) {\n    do {\n      uVar3 = 0x1274;\nLAB_00019098:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x62c0);\nLAB_000190c0:\n      uVar3 = 0x1a37;\nLAB_000190c4:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x4ce4);\n    } while( true );\n  }\n  iVar2 = *(int *)(iVar1 + 0x14);\n  uVar3 = *(undefined4 *)(iVar1 + 0x10);\n  if (*(int *)(iVar1 + 0x98) == *(int *)(iVar4 + 0xec)) {\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x30) = uVar3;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }\n    iVar2 = *(int *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0x14);\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x34) = uVar3;\n      goto LAB_00018ecc;\n    }\n  }\n  else {\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x38) = uVar3;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }\n    iVar2 = *(int *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0x14);\n    if (iVar2 == 0) goto LAB_00018f58;\n  }\n  *(undefined4 *)(iVar2 + 0x14) = uVar3;\nLAB_00018ecc:\n  iVar2 = *(int *)(iVar1 + 0xc);\n  uVar3 = *(undefined4 *)(iVar1 + 8);\n  *(undefined4 *)(iVar1 + 0x10) = 0;\n  *(undefined4 *)(iVar1 + 0x14) = 0;\n  if (iVar2 == 0) goto LAB_00018f70;\nLAB_00018ee0:\n  *(undefined4 *)(iVar2 + 8) = uVar3;\n  iVar2 = *(int *)(iVar1 + 8);\n  uVar3 = *(undefined4 *)(iVar1 + 0xc);\n  if (iVar2 == 0) goto LAB_00018f80;\nLAB_00018ef0:\n  *(undefined4 *)(iVar2 + 0xc) = uVar3;\n  *(undefined4 *)(iVar1 + 8) = 0;\n  *(undefined4 *)(iVar1 + 0xc) = 0;\n  *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18);\n  if (*(int *)(iVar4 + 0x1c) == 0) goto LAB_00018fa0;\n  do {\n    *(int *)(*(int *)(iVar4 + 0x18) + 0xc) = iVar1;\n    while( true ) {\n      puVar7 = PTR_pthread_mutex_unlock_0003d280;\n      *(int *)(iVar4 + 0x18) = iVar1;\n      iVar2 = (*(code *)puVar7)(uVar6);\n      if (iVar2 == 0) goto LAB_00018e38;\n      uVar3 = 0x1287;\nLAB_00018f34:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x6298);\n      uVar3 = extraout_v1;\nLAB_00018f58:\n      *(undefined4 *)(iVar4 + 0x3c) = uVar3;\n      *(undefined4 *)(iVar1 + 0x10) = 0;\n      *(undefined4 *)(iVar1 + 0x14) = 0;\n      iVar2 = *(int *)(iVar1 + 0xc);\n      uVar3 = *(undefined4 *)(iVar1 + 8);\n      if (iVar2 != 0) goto LAB_00018ee0;\nLAB_00018f70:\n      *(undefined4 *)(iVar4 + 8) = uVar3;\n      iVar2 = *(int *)(iVar1 + 8);\n      uVar3 = *(undefined4 *)(iVar1 + 0xc);\n      if (iVar2 != 0) goto LAB_00018ef0;\nLAB_00018f80:\n      *(undefined4 *)(iVar4 + 0xc) = uVar3;\n      *(undefined4 *)(iVar1 + 8) = 0;\n      *(undefined4 *)(iVar1 + 0xc) = 0;\n      *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18);\n      if (*(int *)(iVar4 + 0x1c) != 0) break;\nLAB_00018fa0:\n      *(int *)(iVar4 + 0x1c) = iVar1;\n    }\n  } while( true );\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 extraout_v1;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (expression_statement "uVar5 = *(uint *)(param_1 + 0xf4);" (assignment_expression "uVar5 = *(uint *)(param_1 + 0xf4)" identifier = (pointer_expression "*(uint *)(param_1 + 0xf4)" * (cast_expression "(uint *)(param_1 + 0xf4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xf4)" ( (binary_expression "param_1 + 0xf4" identifier + number_literal) ))))) ;) (expression_statement "uVar6 = uVar5 & 0x8000;" (assignment_expression "uVar6 = uVar5 & 0x8000" identifier = (binary_expression "uVar5 & 0x8000" identifier & number_literal)) ;) (if_statement "if ((uVar5 & 0x2000) != 0) {\n    *(undefined1 *)(param_1 + 0xdf) = 1;\n    FUN_00017778();\n  }" if (parenthesized_expression "((uVar5 & 0x2000) != 0)" ( (binary_expression "(uVar5 & 0x2000) != 0" (parenthesized_expression "(uVar5 & 0x2000)" ( (binary_expression "uVar5 & 0x2000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    *(undefined1 *)(param_1 + 0xdf) = 1;\n    FUN_00017778();\n  }" { (expression_statement "*(undefined1 *)(param_1 + 0xdf) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0xdf) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0xdf)" * (cast_expression "(undefined1 *)(param_1 + 0xdf)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xdf)" ( (binary_expression "param_1 + 0xdf" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00017778();" (call_expression "FUN_00017778()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar4 = param_1 + 0xac;" (assignment_expression "iVar4 = param_1 + 0xac" identifier = (binary_expression "param_1 + 0xac" identifier + number_literal)) ;) (expression_statement "iVar1 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);" (assignment_expression "iVar1 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4)" identifier = (call_expression "(*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4)" (parenthesized_expression "(*(code *)PTR_pthread_mutex_lock_0003d210)" ( (pointer_expression "*(code *)PTR_pthread_mutex_lock_0003d210" * (cast_expression "(code *)PTR_pthread_mutex_lock_0003d210" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4)" ( identifier )))) ;) (expression_statement "uVar3 = 0x1a2b;" (assignment_expression "uVar3 = 0x1a2b" identifier = number_literal) ;) (if_statement "if (iVar1 != 0) goto LAB_00019098;" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00019098;" goto statement_identifier ;)) (if_statement "if (uVar6 == 0) {\n    uVar3 = 0x1a58;\n    if (*(int *)(param_1 + 0x10) != 0) goto LAB_000190c4;\n  }\n  else {\n    iVar1 = *(int *)(param_1 + 0x14);\n    if (iVar1 != 0) {\n      iVar2 = *(int *)(iVar1 + 0xdc);\n      if (iVar2 == 0) goto LAB_000190c0;\n      puVar7 = PTR_DAT_0003d02c + -0x4ca4;\n      while( true ) {\n        if (*(char *)(iVar2 + 4) == '\0') {\n          FUN_0001e5b0(param_1,puVar7,uVar3);\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        else {\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        if (iVar1 == 0) break;\n        iVar2 = *(int *)(iVar1 + 0xdc);\n        uVar3 = 0x1a37;\n        if (iVar2 == 0) goto LAB_000190c0;\n      }\n    }\n  }" if (parenthesized_expression "(uVar6 == 0)" ( (binary_expression "uVar6 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar3 = 0x1a58;\n    if (*(int *)(param_1 + 0x10) != 0) goto LAB_000190c4;\n  }" { (expression_statement "uVar3 = 0x1a58;" (assignment_expression "uVar3 = 0x1a58" identifier = number_literal) ;) (if_statement "if (*(int *)(param_1 + 0x10) != 0) goto LAB_000190c4;" if (parenthesized_expression "(*(int *)(param_1 + 0x10) != 0)" ( (binary_expression "*(int *)(param_1 + 0x10) != 0" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) != number_literal) )) (goto_statement "goto LAB_000190c4;" goto statement_identifier ;)) }) (else_clause "else {\n    iVar1 = *(int *)(param_1 + 0x14);\n    if (iVar1 != 0) {\n      iVar2 = *(int *)(iVar1 + 0xdc);\n      if (iVar2 == 0) goto LAB_000190c0;\n      puVar7 = PTR_DAT_0003d02c + -0x4ca4;\n      while( true ) {\n        if (*(char *)(iVar2 + 4) == '\0') {\n          FUN_0001e5b0(param_1,puVar7,uVar3);\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        else {\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        if (iVar1 == 0) break;\n        iVar2 = *(int *)(iVar1 + 0xdc);\n        uVar3 = 0x1a37;\n        if (iVar2 == 0) goto LAB_000190c0;\n      }\n    }\n  }" else (compound_statement "{\n    iVar1 = *(int *)(param_1 + 0x14);\n    if (iVar1 != 0) {\n      iVar2 = *(int *)(iVar1 + 0xdc);\n      if (iVar2 == 0) goto LAB_000190c0;\n      puVar7 = PTR_DAT_0003d02c + -0x4ca4;\n      while( true ) {\n        if (*(char *)(iVar2 + 4) == '\0') {\n          FUN_0001e5b0(param_1,puVar7,uVar3);\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        else {\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        if (iVar1 == 0) break;\n        iVar2 = *(int *)(iVar1 + 0xdc);\n        uVar3 = 0x1a37;\n        if (iVar2 == 0) goto LAB_000190c0;\n      }\n    }\n  }" { (expression_statement "iVar1 = *(int *)(param_1 + 0x14);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x14)" identifier = (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 != 0) {\n      iVar2 = *(int *)(iVar1 + 0xdc);\n      if (iVar2 == 0) goto LAB_000190c0;\n      puVar7 = PTR_DAT_0003d02c + -0x4ca4;\n      while( true ) {\n        if (*(char *)(iVar2 + 4) == '\0') {\n          FUN_0001e5b0(param_1,puVar7,uVar3);\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        else {\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        if (iVar1 == 0) break;\n        iVar2 = *(int *)(iVar1 + 0xdc);\n        uVar3 = 0x1a37;\n        if (iVar2 == 0) goto LAB_000190c0;\n      }\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar2 = *(int *)(iVar1 + 0xdc);\n      if (iVar2 == 0) goto LAB_000190c0;\n      puVar7 = PTR_DAT_0003d02c + -0x4ca4;\n      while( true ) {\n        if (*(char *)(iVar2 + 4) == '\0') {\n          FUN_0001e5b0(param_1,puVar7,uVar3);\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        else {\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        if (iVar1 == 0) break;\n        iVar2 = *(int *)(iVar1 + 0xdc);\n        uVar3 = 0x1a37;\n        if (iVar2 == 0) goto LAB_000190c0;\n      }\n    }" { (expression_statement "iVar2 = *(int *)(iVar1 + 0xdc);" (assignment_expression "iVar2 = *(int *)(iVar1 + 0xdc)" identifier = (pointer_expression "*(int *)(iVar1 + 0xdc)" * (cast_expression "(int *)(iVar1 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xdc)" ( (binary_expression "iVar1 + 0xdc" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 == 0) goto LAB_000190c0;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000190c0;" goto statement_identifier ;)) (expression_statement "puVar7 = PTR_DAT_0003d02c + -0x4ca4;" (assignment_expression "puVar7 = PTR_DAT_0003d02c + -0x4ca4" identifier = (binary_expression "PTR_DAT_0003d02c + -0x4ca4" identifier + number_literal)) ;) (while_statement "while( true ) {\n        if (*(char *)(iVar2 + 4) == '\0') {\n          FUN_0001e5b0(param_1,puVar7,uVar3);\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        else {\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        if (iVar1 == 0) break;\n        iVar2 = *(int *)(iVar1 + 0xdc);\n        uVar3 = 0x1a37;\n        if (iVar2 == 0) goto LAB_000190c0;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        if (*(char *)(iVar2 + 4) == '\0') {\n          FUN_0001e5b0(param_1,puVar7,uVar3);\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        else {\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        if (iVar1 == 0) break;\n        iVar2 = *(int *)(iVar1 + 0xdc);\n        uVar3 = 0x1a37;\n        if (iVar2 == 0) goto LAB_000190c0;\n      }" { (if_statement "if (*(char *)(iVar2 + 4) == '\0') {\n          FUN_0001e5b0(param_1,puVar7,uVar3);\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        else {\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }" if (parenthesized_expression "(*(char *)(iVar2 + 4) == '\0')" ( (binary_expression "*(char *)(iVar2 + 4) == '\0'" (pointer_expression "*(char *)(iVar2 + 4)" * (cast_expression "(char *)(iVar2 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          FUN_0001e5b0(param_1,puVar7,uVar3);\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }" { (expression_statement "FUN_0001e5b0(param_1,puVar7,uVar3);" (call_expression "FUN_0001e5b0(param_1,puVar7,uVar3)" identifier (argument_list "(param_1,puVar7,uVar3)" ( identifier , identifier , identifier ))) ;) (expression_statement "*(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;" (assignment_expression "*(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1" (pointer_expression "*(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4)" * (cast_expression "(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0xdc) + 4)" ( (binary_expression "*(int *)(iVar1 + 0xdc) + 4" (pointer_expression "*(int *)(iVar1 + 0xdc)" * (cast_expression "(int *)(iVar1 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xdc)" ( (binary_expression "iVar1 + 0xdc" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(iVar1 + 0xe8) = 1;" (assignment_expression "*(undefined1 *)(iVar1 + 0xe8) = 1" (pointer_expression "*(undefined1 *)(iVar1 + 0xe8)" * (cast_expression "(undefined1 *)(iVar1 + 0xe8)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xe8)" ( (binary_expression "iVar1 + 0xe8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 0xdf) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0xdf) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0xdf)" * (cast_expression "(undefined1 *)(param_1 + 0xdf)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xdf)" ( (binary_expression "param_1 + 0xdf" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar1 = *(int *)(iVar1 + 0xc);" (assignment_expression "iVar1 = *(int *)(iVar1 + 0xc)" identifier = (pointer_expression "*(int *)(iVar1 + 0xc)" * (cast_expression "(int *)(iVar1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) ))))) ;) }) (else_clause "else {\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }" else (compound_statement "{\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }" { (expression_statement "*(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;" (assignment_expression "*(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1" (pointer_expression "*(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4)" * (cast_expression "(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0xdc) + 4)" ( (binary_expression "*(int *)(iVar1 + 0xdc) + 4" (pointer_expression "*(int *)(iVar1 + 0xdc)" * (cast_expression "(int *)(iVar1 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xdc)" ( (binary_expression "iVar1 + 0xdc" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(iVar1 + 0xe8) = 1;" (assignment_expression "*(undefined1 *)(iVar1 + 0xe8) = 1" (pointer_expression "*(undefined1 *)(iVar1 + 0xe8)" * (cast_expression "(undefined1 *)(iVar1 + 0xe8)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xe8)" ( (binary_expression "iVar1 + 0xe8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 0xdf) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0xdf) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0xdf)" * (cast_expression "(undefined1 *)(param_1 + 0xdf)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xdf)" ( (binary_expression "param_1 + 0xdf" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar1 = *(int *)(iVar1 + 0xc);" (assignment_expression "iVar1 = *(int *)(iVar1 + 0xc)" identifier = (pointer_expression "*(int *)(iVar1 + 0xc)" * (cast_expression "(int *)(iVar1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) ))))) ;) }))) (if_statement "if (iVar1 == 0) break;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar2 = *(int *)(iVar1 + 0xdc);" (assignment_expression "iVar2 = *(int *)(iVar1 + 0xdc)" identifier = (pointer_expression "*(int *)(iVar1 + 0xdc)" * (cast_expression "(int *)(iVar1 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xdc)" ( (binary_expression "iVar1 + 0xdc" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = 0x1a37;" (assignment_expression "uVar3 = 0x1a37" identifier = number_literal) ;) (if_statement "if (iVar2 == 0) goto LAB_000190c0;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000190c0;" goto statement_identifier ;)) })) })) }))) (expression_statement "iVar1 = *(int *)(param_1 + 0xc);" (assignment_expression "iVar1 = *(int *)(param_1 + 0xc)" identifier = (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 != 0) {\n    do {\n      (*(code *)PTR_shutdown_0003d134)(*(undefined4 *)(iVar1 + 0xa4),2);\n      iVar1 = *(int *)(iVar1 + 0xc);\n    } while (iVar1 != 0);\n    iVar1 = 0;\n    if ((uVar5 & 4) != 0) {\n      iVar1 = *(int *)(param_1 + 0xc);\n      while (iVar1 != 0) {\n        while (*(char *)(iVar1 + 0xab) != '\0') {\n          iVar1 = *(int *)(iVar1 + 0xc);\n          if (iVar1 == 0) goto LAB_00018e1c;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a6f;\n          goto LAB_00018f34;\n        }\n        iVar2 = (*(code *)PTR_pthread_join_0003d160)(*(undefined4 *)(iVar1 + 0x58),0);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar3 = 0x1a72;\n          goto LAB_00019098;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);\n        if (iVar2 != 0) goto LAB_00019094;\n        *(undefined1 *)(iVar1 + 0xab) = 1;\n        iVar1 = *(int *)(param_1 + 0xc);\n      }\n    }\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    do {\n      (*(code *)PTR_shutdown_0003d134)(*(undefined4 *)(iVar1 + 0xa4),2);\n      iVar1 = *(int *)(iVar1 + 0xc);\n    } while (iVar1 != 0);\n    iVar1 = 0;\n    if ((uVar5 & 4) != 0) {\n      iVar1 = *(int *)(param_1 + 0xc);\n      while (iVar1 != 0) {\n        while (*(char *)(iVar1 + 0xab) != '\0') {\n          iVar1 = *(int *)(iVar1 + 0xc);\n          if (iVar1 == 0) goto LAB_00018e1c;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a6f;\n          goto LAB_00018f34;\n        }\n        iVar2 = (*(code *)PTR_pthread_join_0003d160)(*(undefined4 *)(iVar1 + 0x58),0);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar3 = 0x1a72;\n          goto LAB_00019098;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);\n        if (iVar2 != 0) goto LAB_00019094;\n        *(undefined1 *)(iVar1 + 0xab) = 1;\n        iVar1 = *(int *)(param_1 + 0xc);\n      }\n    }\n  }" { (do_statement "do {\n      (*(code *)PTR_shutdown_0003d134)(*(undefined4 *)(iVar1 + 0xa4),2);\n      iVar1 = *(int *)(iVar1 + 0xc);\n    } while (iVar1 != 0);" do (compound_statement "{\n      (*(code *)PTR_shutdown_0003d134)(*(undefined4 *)(iVar1 + 0xa4),2);\n      iVar1 = *(int *)(iVar1 + 0xc);\n    }" { (expression_statement "(*(code *)PTR_shutdown_0003d134)(*(undefined4 *)(iVar1 + 0xa4),2);" (call_expression "(*(code *)PTR_shutdown_0003d134)(*(undefined4 *)(iVar1 + 0xa4),2)" (parenthesized_expression "(*(code *)PTR_shutdown_0003d134)" ( (pointer_expression "*(code *)PTR_shutdown_0003d134" * (cast_expression "(code *)PTR_shutdown_0003d134" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar1 + 0xa4),2)" ( (pointer_expression "*(undefined4 *)(iVar1 + 0xa4)" * (cast_expression "(undefined4 *)(iVar1 + 0xa4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xa4)" ( (binary_expression "iVar1 + 0xa4" identifier + number_literal) )))) , number_literal ))) ;) (expression_statement "iVar1 = *(int *)(iVar1 + 0xc);" (assignment_expression "iVar1 = *(int *)(iVar1 + 0xc)" identifier = (pointer_expression "*(int *)(iVar1 + 0xc)" * (cast_expression "(int *)(iVar1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (if_statement "if ((uVar5 & 4) != 0) {\n      iVar1 = *(int *)(param_1 + 0xc);\n      while (iVar1 != 0) {\n        while (*(char *)(iVar1 + 0xab) != '\0') {\n          iVar1 = *(int *)(iVar1 + 0xc);\n          if (iVar1 == 0) goto LAB_00018e1c;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a6f;\n          goto LAB_00018f34;\n        }\n        iVar2 = (*(code *)PTR_pthread_join_0003d160)(*(undefined4 *)(iVar1 + 0x58),0);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar3 = 0x1a72;\n          goto LAB_00019098;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);\n        if (iVar2 != 0) goto LAB_00019094;\n        *(undefined1 *)(iVar1 + 0xab) = 1;\n        iVar1 = *(int *)(param_1 + 0xc);\n      }\n    }" if (parenthesized_expression "((uVar5 & 4) != 0)" ( (binary_expression "(uVar5 & 4) != 0" (parenthesized_expression "(uVar5 & 4)" ( (binary_expression "uVar5 & 4" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      iVar1 = *(int *)(param_1 + 0xc);\n      while (iVar1 != 0) {\n        while (*(char *)(iVar1 + 0xab) != '\0') {\n          iVar1 = *(int *)(iVar1 + 0xc);\n          if (iVar1 == 0) goto LAB_00018e1c;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a6f;\n          goto LAB_00018f34;\n        }\n        iVar2 = (*(code *)PTR_pthread_join_0003d160)(*(undefined4 *)(iVar1 + 0x58),0);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar3 = 0x1a72;\n          goto LAB_00019098;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);\n        if (iVar2 != 0) goto LAB_00019094;\n        *(undefined1 *)(iVar1 + 0xab) = 1;\n        iVar1 = *(int *)(param_1 + 0xc);\n      }\n    }" { (expression_statement "iVar1 = *(int *)(param_1 + 0xc);" (assignment_expression "iVar1 = *(int *)(param_1 + 0xc)" identifier = (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (while_statement "while (iVar1 != 0) {\n        while (*(char *)(iVar1 + 0xab) != '\0') {\n          iVar1 = *(int *)(iVar1 + 0xc);\n          if (iVar1 == 0) goto LAB_00018e1c;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a6f;\n          goto LAB_00018f34;\n        }\n        iVar2 = (*(code *)PTR_pthread_join_0003d160)(*(undefined4 *)(iVar1 + 0x58),0);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar3 = 0x1a72;\n          goto LAB_00019098;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);\n        if (iVar2 != 0) goto LAB_00019094;\n        *(undefined1 *)(iVar1 + 0xab) = 1;\n        iVar1 = *(int *)(param_1 + 0xc);\n      }" while (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        while (*(char *)(iVar1 + 0xab) != '\0') {\n          iVar1 = *(int *)(iVar1 + 0xc);\n          if (iVar1 == 0) goto LAB_00018e1c;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a6f;\n          goto LAB_00018f34;\n        }\n        iVar2 = (*(code *)PTR_pthread_join_0003d160)(*(undefined4 *)(iVar1 + 0x58),0);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar3 = 0x1a72;\n          goto LAB_00019098;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);\n        if (iVar2 != 0) goto LAB_00019094;\n        *(undefined1 *)(iVar1 + 0xab) = 1;\n        iVar1 = *(int *)(param_1 + 0xc);\n      }" { (while_statement "while (*(char *)(iVar1 + 0xab) != '\0') {\n          iVar1 = *(int *)(iVar1 + 0xc);\n          if (iVar1 == 0) goto LAB_00018e1c;\n        }" while (parenthesized_expression "(*(char *)(iVar1 + 0xab) != '\0')" ( (binary_expression "*(char *)(iVar1 + 0xab) != '\0'" (pointer_expression "*(char *)(iVar1 + 0xab)" * (cast_expression "(char *)(iVar1 + 0xab)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xab)" ( (binary_expression "iVar1 + 0xab" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar1 = *(int *)(iVar1 + 0xc);\n          if (iVar1 == 0) goto LAB_00018e1c;\n        }" { (expression_statement "iVar1 = *(int *)(iVar1 + 0xc);" (assignment_expression "iVar1 = *(int *)(iVar1 + 0xc)" identifier = (pointer_expression "*(int *)(iVar1 + 0xc)" * (cast_expression "(int *)(iVar1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 == 0) goto LAB_00018e1c;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00018e1c;" goto statement_identifier ;)) })) (expression_statement "iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);" (assignment_expression "iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4)" identifier = (call_expression "(*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4)" (parenthesized_expression "(*(code *)PTR_pthread_mutex_unlock_0003d280)" ( (pointer_expression "*(code *)PTR_pthread_mutex_unlock_0003d280" * (cast_expression "(code *)PTR_pthread_mutex_unlock_0003d280" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4)" ( identifier )))) ;) (if_statement "if (iVar2 != 0) {\n          uVar3 = 0x1a6f;\n          goto LAB_00018f34;\n        }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n          uVar3 = 0x1a6f;\n          goto LAB_00018f34;\n        }" { (expression_statement "uVar3 = 0x1a6f;" (assignment_expression "uVar3 = 0x1a6f" identifier = number_literal) ;) (goto_statement "goto LAB_00018f34;" goto statement_identifier ;) })) (expression_statement "iVar2 = (*(code *)PTR_pthread_join_0003d160)(*(undefined4 *)(iVar1 + 0x58),0);" (assignment_expression "iVar2 = (*(code *)PTR_pthread_join_0003d160)(*(undefined4 *)(iVar1 + 0x58),0)" identifier = (call_expression "(*(code *)PTR_pthread_join_0003d160)(*(undefined4 *)(iVar1 + 0x58),0)" (parenthesized_expression "(*(code *)PTR_pthread_join_0003d160)" ( (pointer_expression "*(code *)PTR_pthread_join_0003d160" * (cast_expression "(code *)PTR_pthread_join_0003d160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar1 + 0x58),0)" ( (pointer_expression "*(undefined4 *)(iVar1 + 0x58)" * (cast_expression "(undefined4 *)(iVar1 + 0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x58)" ( (binary_expression "iVar1 + 0x58" identifier + number_literal) )))) , number_literal )))) ;) (if_statement "if (iVar2 != 0) {\n          uVar3 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar3 = 0x1a72;\n          goto LAB_00019098;\n        }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n          uVar3 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar3 = 0x1a72;\n          goto LAB_00019098;\n        }" { (expression_statement "uVar3 = 0x1a71;" (assignment_expression "uVar3 = 0x1a71" identifier = number_literal) ;) (labeled_statement "LAB_00019070:\n          (**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40);" statement_identifier : (expression_statement "(**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40);" (call_expression "(**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40)" (parenthesized_expression "(**(code **)PTR_DAT_0003d03c)" ( (pointer_expression "**(code **)PTR_DAT_0003d03c" * (pointer_expression "*(code **)PTR_DAT_0003d03c" * (cast_expression "(code **)PTR_DAT_0003d03c" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40)" ( (pointer_expression "*(undefined4 *)PTR_DAT_0003d038" * (cast_expression "(undefined4 *)PTR_DAT_0003d038" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "PTR_DAT_0003d02c + -0x51b0" identifier + number_literal) , identifier , (binary_expression "PTR_DAT_0003d02c + -0x4d40" identifier + number_literal) ))) ;)) (labeled_statement "LAB_00019094:\n          uVar3 = 0x1a72;" statement_identifier : (expression_statement "uVar3 = 0x1a72;" (assignment_expression "uVar3 = 0x1a72" identifier = number_literal) ;)) (goto_statement "goto LAB_00019098;" goto statement_identifier ;) })) (expression_statement "iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);" (assignment_expression "iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4)" identifier = (call_expression "(*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4)" (parenthesized_expression "(*(code *)PTR_pthread_mutex_lock_0003d210)" ( (pointer_expression "*(code *)PTR_pthread_mutex_lock_0003d210" * (cast_expression "(code *)PTR_pthread_mutex_lock_0003d210" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4)" ( identifier )))) ;) (if_statement "if (iVar2 != 0) goto LAB_00019094;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00019094;" goto statement_identifier ;)) (expression_statement "*(undefined1 *)(iVar1 + 0xab) = 1;" (assignment_expression "*(undefined1 *)(iVar1 + 0xab) = 1" (pointer_expression "*(undefined1 *)(iVar1 + 0xab)" * (cast_expression "(undefined1 *)(iVar1 + 0xab)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xab)" ( (binary_expression "iVar1 + 0xab" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0xc);" (assignment_expression "iVar1 = *(int *)(param_1 + 0xc)" identifier = (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) })) })) })) (labeled_statement "LAB_00018e1c:\n  iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);" statement_identifier : (expression_statement "iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);" (assignment_expression "iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4)" identifier = (call_expression "(*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4)" (parenthesized_expression "(*(code *)PTR_pthread_mutex_unlock_0003d280)" ( (pointer_expression "*(code *)PTR_pthread_mutex_unlock_0003d280" * (cast_expression "(code *)PTR_pthread_mutex_unlock_0003d280" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4)" ( identifier )))) ;)) (expression_statement "uVar3 = 0x1a7c;" (assignment_expression "uVar3 = 0x1a7c" identifier = number_literal) ;) (if_statement "if (iVar2 != 0) goto LAB_00018f34;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00018f34;" goto statement_identifier ;)) (if_statement "if (uVar6 != 0) {\n    *(undefined1 *)(param_1 + 0xdf) = 1;\n    FUN_00017778(param_1);\n  }" if (parenthesized_expression "(uVar6 != 0)" ( (binary_expression "uVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    *(undefined1 *)(param_1 + 0xdf) = 1;\n    FUN_00017778(param_1);\n  }" { (expression_statement "*(undefined1 *)(param_1 + 0xdf) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0xdf) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0xdf)" * (cast_expression "(undefined1 *)(param_1 + 0xdf)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xdf)" ( (binary_expression "param_1 + 0xdf" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00017778(param_1);" (call_expression "FUN_00017778(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) })) (labeled_statement "LAB_00018e38:\n  iVar1 = *(int *)(param_1 + 0xc);" statement_identifier : (expression_statement "iVar1 = *(int *)(param_1 + 0xc);" (assignment_expression "iVar1 = *(int *)(param_1 + 0xc)" identifier = (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;)) (while_statement "while( true ) {\n    if (iVar1 == 0) {\n      FUN_000188d8(param_1);\n      return;\n    }\n    if (((*(uint *)(param_1 + 0xf4) & 4) != 0) && (uVar3 = 0x1a91, *(char *)(iVar1 + 0xab) == '\0'))\n    goto LAB_00019070;\n    iVar4 = *(int *)(iVar1 + 0x18);\n    if ((*(uint *)(iVar4 + 0xf4) & 4) == 0) break;\n    FUN_00013f40(iVar1);\n    iVar1 = *(int *)(param_1 + 0xc);\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if (iVar1 == 0) {\n      FUN_000188d8(param_1);\n      return;\n    }\n    if (((*(uint *)(param_1 + 0xf4) & 4) != 0) && (uVar3 = 0x1a91, *(char *)(iVar1 + 0xab) == '\0'))\n    goto LAB_00019070;\n    iVar4 = *(int *)(iVar1 + 0x18);\n    if ((*(uint *)(iVar4 + 0xf4) & 4) == 0) break;\n    FUN_00013f40(iVar1);\n    iVar1 = *(int *)(param_1 + 0xc);\n  }" { (if_statement "if (iVar1 == 0) {\n      FUN_000188d8(param_1);\n      return;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      FUN_000188d8(param_1);\n      return;\n    }" { (expression_statement "FUN_000188d8(param_1);" (call_expression "FUN_000188d8(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })) (if_statement "if (((*(uint *)(param_1 + 0xf4) & 4) != 0) && (uVar3 = 0x1a91, *(char *)(iVar1 + 0xab) == '\0'))\n    goto LAB_00019070;" if (parenthesized_expression "(((*(uint *)(param_1 + 0xf4) & 4) != 0) && (uVar3 = 0x1a91, *(char *)(iVar1 + 0xab) == '\0'))" ( (binary_expression "((*(uint *)(param_1 + 0xf4) & 4) != 0) && (uVar3 = 0x1a91, *(char *)(iVar1 + 0xab) == '\0')" (parenthesized_expression "((*(uint *)(param_1 + 0xf4) & 4) != 0)" ( (binary_expression "(*(uint *)(param_1 + 0xf4) & 4) != 0" (parenthesized_expression "(*(uint *)(param_1 + 0xf4) & 4)" ( (binary_expression "*(uint *)(param_1 + 0xf4) & 4" (pointer_expression "*(uint *)(param_1 + 0xf4)" * (cast_expression "(uint *)(param_1 + 0xf4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xf4)" ( (binary_expression "param_1 + 0xf4" identifier + number_literal) )))) & number_literal) )) != number_literal) )) && (parenthesized_expression "(uVar3 = 0x1a91, *(char *)(iVar1 + 0xab) == '\0')" ( (comma_expression "uVar3 = 0x1a91, *(char *)(iVar1 + 0xab) == '\0'" (assignment_expression "uVar3 = 0x1a91" identifier = number_literal) , (binary_expression "*(char *)(iVar1 + 0xab) == '\0'" (pointer_expression "*(char *)(iVar1 + 0xab)" * (cast_expression "(char *)(iVar1 + 0xab)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xab)" ( (binary_expression "iVar1 + 0xab" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence '))) ))) )) (goto_statement "goto LAB_00019070;" goto statement_identifier ;)) (expression_statement "iVar4 = *(int *)(iVar1 + 0x18);" (assignment_expression "iVar4 = *(int *)(iVar1 + 0x18)" identifier = (pointer_expression "*(int *)(iVar1 + 0x18)" * (cast_expression "(int *)(iVar1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if ((*(uint *)(iVar4 + 0xf4) & 4) == 0) break;" if (parenthesized_expression "((*(uint *)(iVar4 + 0xf4) & 4) == 0)" ( (binary_expression "(*(uint *)(iVar4 + 0xf4) & 4) == 0" (parenthesized_expression "(*(uint *)(iVar4 + 0xf4) & 4)" ( (binary_expression "*(uint *)(iVar4 + 0xf4) & 4" (pointer_expression "*(uint *)(iVar4 + 0xf4)" * (cast_expression "(uint *)(iVar4 + 0xf4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xf4)" ( (binary_expression "iVar4 + 0xf4" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (break_statement "break;" break ;)) (expression_statement "FUN_00013f40(iVar1);" (call_expression "FUN_00013f40(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0xc);" (assignment_expression "iVar1 = *(int *)(param_1 + 0xc)" identifier = (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) })) (expression_statement "uVar6 = iVar4 + 0xac;" (assignment_expression "uVar6 = iVar4 + 0xac" identifier = (binary_expression "iVar4 + 0xac" identifier + number_literal)) ;) (expression_statement "FUN_00013f84(iVar1,3);" (call_expression "FUN_00013f84(iVar1,3)" identifier (argument_list "(iVar1,3)" ( identifier , number_literal ))) ;) (expression_statement "iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(uVar6);" (assignment_expression "iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(uVar6)" identifier = (call_expression "(*(code *)PTR_pthread_mutex_lock_0003d210)(uVar6)" (parenthesized_expression "(*(code *)PTR_pthread_mutex_lock_0003d210)" ( (pointer_expression "*(code *)PTR_pthread_mutex_lock_0003d210" * (cast_expression "(code *)PTR_pthread_mutex_lock_0003d210" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6)" ( identifier )))) ;) (if_statement "if (iVar2 != 0) {\n    do {\n      uVar3 = 0x1274;\nLAB_00019098:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x62c0);\nLAB_000190c0:\n      uVar3 = 0x1a37;\nLAB_000190c4:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x4ce4);\n    } while( true );\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    do {\n      uVar3 = 0x1274;\nLAB_00019098:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x62c0);\nLAB_000190c0:\n      uVar3 = 0x1a37;\nLAB_000190c4:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x4ce4);\n    } while( true );\n  }" { (do_statement "do {\n      uVar3 = 0x1274;\nLAB_00019098:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x62c0);\nLAB_000190c0:\n      uVar3 = 0x1a37;\nLAB_000190c4:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x4ce4);\n    } while( true );" do (compound_statement "{\n      uVar3 = 0x1274;\nLAB_00019098:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x62c0);\nLAB_000190c0:\n      uVar3 = 0x1a37;\nLAB_000190c4:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x4ce4);\n    }" { (expression_statement "uVar3 = 0x1274;" (assignment_expression "uVar3 = 0x1274" identifier = number_literal) ;) (labeled_statement "LAB_00019098:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x62c0);" statement_identifier : (expression_statement "(**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x62c0);" (call_expression "(**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x62c0)" (parenthesized_expression "(**(code **)PTR_DAT_0003d03c)" ( (pointer_expression "**(code **)PTR_DAT_0003d03c" * (pointer_expression "*(code **)PTR_DAT_0003d03c" * (cast_expression "(code **)PTR_DAT_0003d03c" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x62c0)" ( (pointer_expression "*(undefined4 *)PTR_DAT_0003d038" * (cast_expression "(undefined4 *)PTR_DAT_0003d038" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "PTR_DAT_0003d02c + -0x51b0" identifier + number_literal) , identifier , (binary_expression "PTR_DAT_0003d02c + -0x62c0" identifier + number_literal) ))) ;)) (labeled_statement "LAB_000190c0:\n      uVar3 = 0x1a37;" statement_identifier : (expression_statement "uVar3 = 0x1a37;" (assignment_expression "uVar3 = 0x1a37" identifier = number_literal) ;)) (labeled_statement "LAB_000190c4:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x4ce4);" statement_identifier : (expression_statement "(**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x4ce4);" (call_expression "(**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x4ce4)" (parenthesized_expression "(**(code **)PTR_DAT_0003d03c)" ( (pointer_expression "**(code **)PTR_DAT_0003d03c" * (pointer_expression "*(code **)PTR_DAT_0003d03c" * (cast_expression "(code **)PTR_DAT_0003d03c" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x4ce4)" ( (pointer_expression "*(undefined4 *)PTR_DAT_0003d038" * (cast_expression "(undefined4 *)PTR_DAT_0003d038" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "PTR_DAT_0003d02c + -0x51b0" identifier + number_literal) , identifier , (binary_expression "PTR_DAT_0003d02c + -0x4ce4" identifier + number_literal) ))) ;)) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "iVar2 = *(int *)(iVar1 + 0x14);" (assignment_expression "iVar2 = *(int *)(iVar1 + 0x14)" identifier = (pointer_expression "*(int *)(iVar1 + 0x14)" * (cast_expression "(int *)(iVar1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(undefined4 *)(iVar1 + 0x10);" (assignment_expression "uVar3 = *(undefined4 *)(iVar1 + 0x10)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" * (cast_expression "(undefined4 *)(iVar1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar1 + 0x98) == *(int *)(iVar4 + 0xec)) {\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x30) = uVar3;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }\n    iVar2 = *(int *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0x14);\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x34) = uVar3;\n      goto LAB_00018ecc;\n    }\n  }\n  else {\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x38) = uVar3;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }\n    iVar2 = *(int *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0x14);\n    if (iVar2 == 0) goto LAB_00018f58;\n  }" if (parenthesized_expression "(*(int *)(iVar1 + 0x98) == *(int *)(iVar4 + 0xec))" ( (binary_expression "*(int *)(iVar1 + 0x98) == *(int *)(iVar4 + 0xec)" (pointer_expression "*(int *)(iVar1 + 0x98)" * (cast_expression "(int *)(iVar1 + 0x98)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x98)" ( (binary_expression "iVar1 + 0x98" identifier + number_literal) )))) == (pointer_expression "*(int *)(iVar4 + 0xec)" * (cast_expression "(int *)(iVar4 + 0xec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xec)" ( (binary_expression "iVar4 + 0xec" identifier + number_literal) ))))) )) (compound_statement "{\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x30) = uVar3;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }\n    iVar2 = *(int *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0x14);\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x34) = uVar3;\n      goto LAB_00018ecc;\n    }\n  }" { (if_statement "if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x30) = uVar3;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      *(undefined4 *)(iVar4 + 0x30) = uVar3;\n    }" { (expression_statement "*(undefined4 *)(iVar4 + 0x30) = uVar3;" (assignment_expression "*(undefined4 *)(iVar4 + 0x30) = uVar3" (pointer_expression "*(undefined4 *)(iVar4 + 0x30)" * (cast_expression "(undefined4 *)(iVar4 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x30)" ( (binary_expression "iVar4 + 0x30" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }" else (compound_statement "{\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }" { (expression_statement "*(undefined4 *)(iVar2 + 0x10) = uVar3;" (assignment_expression "*(undefined4 *)(iVar2 + 0x10) = uVar3" (pointer_expression "*(undefined4 *)(iVar2 + 0x10)" * (cast_expression "(undefined4 *)(iVar2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) = identifier) ;) }))) (expression_statement "iVar2 = *(int *)(iVar1 + 0x10);" (assignment_expression "iVar2 = *(int *)(iVar1 + 0x10)" identifier = (pointer_expression "*(int *)(iVar1 + 0x10)" * (cast_expression "(int *)(iVar1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(undefined4 *)(iVar1 + 0x14);" (assignment_expression "uVar3 = *(undefined4 *)(iVar1 + 0x14)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 0x14)" * (cast_expression "(undefined4 *)(iVar1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x34) = uVar3;\n      goto LAB_00018ecc;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      *(undefined4 *)(iVar4 + 0x34) = uVar3;\n      goto LAB_00018ecc;\n    }" { (expression_statement "*(undefined4 *)(iVar4 + 0x34) = uVar3;" (assignment_expression "*(undefined4 *)(iVar4 + 0x34) = uVar3" (pointer_expression "*(undefined4 *)(iVar4 + 0x34)" * (cast_expression "(undefined4 *)(iVar4 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x34)" ( (binary_expression "iVar4 + 0x34" identifier + number_literal) )))) = identifier) ;) (goto_statement "goto LAB_00018ecc;" goto statement_identifier ;) })) }) (else_clause "else {\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x38) = uVar3;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }\n    iVar2 = *(int *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0x14);\n    if (iVar2 == 0) goto LAB_00018f58;\n  }" else (compound_statement "{\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x38) = uVar3;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }\n    iVar2 = *(int *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0x14);\n    if (iVar2 == 0) goto LAB_00018f58;\n  }" { (if_statement "if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x38) = uVar3;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      *(undefined4 *)(iVar4 + 0x38) = uVar3;\n    }" { (expression_statement "*(undefined4 *)(iVar4 + 0x38) = uVar3;" (assignment_expression "*(undefined4 *)(iVar4 + 0x38) = uVar3" (pointer_expression "*(undefined4 *)(iVar4 + 0x38)" * (cast_expression "(undefined4 *)(iVar4 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x38)" ( (binary_expression "iVar4 + 0x38" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }" else (compound_statement "{\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }" { (expression_statement "*(undefined4 *)(iVar2 + 0x10) = uVar3;" (assignment_expression "*(undefined4 *)(iVar2 + 0x10) = uVar3" (pointer_expression "*(undefined4 *)(iVar2 + 0x10)" * (cast_expression "(undefined4 *)(iVar2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) = identifier) ;) }))) (expression_statement "iVar2 = *(int *)(iVar1 + 0x10);" (assignment_expression "iVar2 = *(int *)(iVar1 + 0x10)" identifier = (pointer_expression "*(int *)(iVar1 + 0x10)" * (cast_expression "(int *)(iVar1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(undefined4 *)(iVar1 + 0x14);" (assignment_expression "uVar3 = *(undefined4 *)(iVar1 + 0x14)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 0x14)" * (cast_expression "(undefined4 *)(iVar1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 == 0) goto LAB_00018f58;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00018f58;" goto statement_identifier ;)) }))) (expression_statement "*(undefined4 *)(iVar2 + 0x14) = uVar3;" (assignment_expression "*(undefined4 *)(iVar2 + 0x14) = uVar3" (pointer_expression "*(undefined4 *)(iVar2 + 0x14)" * (cast_expression "(undefined4 *)(iVar2 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) )))) = identifier) ;) (labeled_statement "LAB_00018ecc:\n  iVar2 = *(int *)(iVar1 + 0xc);" statement_identifier : (expression_statement "iVar2 = *(int *)(iVar1 + 0xc);" (assignment_expression "iVar2 = *(int *)(iVar1 + 0xc)" identifier = (pointer_expression "*(int *)(iVar1 + 0xc)" * (cast_expression "(int *)(iVar1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) ))))) ;)) (expression_statement "uVar3 = *(undefined4 *)(iVar1 + 8);" (assignment_expression "uVar3 = *(undefined4 *)(iVar1 + 8)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 8)" * (cast_expression "(undefined4 *)(iVar1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x10) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" * (cast_expression "(undefined4 *)(iVar1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x14) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x14)" * (cast_expression "(undefined4 *)(iVar1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (iVar2 == 0) goto LAB_00018f70;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00018f70;" goto statement_identifier ;)) (labeled_statement "LAB_00018ee0:\n  *(undefined4 *)(iVar2 + 8) = uVar3;" statement_identifier : (expression_statement "*(undefined4 *)(iVar2 + 8) = uVar3;" (assignment_expression "*(undefined4 *)(iVar2 + 8) = uVar3" (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) ;)) (expression_statement "iVar2 = *(int *)(iVar1 + 8);" (assignment_expression "iVar2 = *(int *)(iVar1 + 8)" identifier = (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(undefined4 *)(iVar1 + 0xc);" (assignment_expression "uVar3 = *(undefined4 *)(iVar1 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" * (cast_expression "(undefined4 *)(iVar1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 == 0) goto LAB_00018f80;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00018f80;" goto statement_identifier ;)) (labeled_statement "LAB_00018ef0:\n  *(undefined4 *)(iVar2 + 0xc) = uVar3;" statement_identifier : (expression_statement "*(undefined4 *)(iVar2 + 0xc) = uVar3;" (assignment_expression "*(undefined4 *)(iVar2 + 0xc) = uVar3" (pointer_expression "*(undefined4 *)(iVar2 + 0xc)" * (cast_expression "(undefined4 *)(iVar2 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) )))) = identifier) ;)) (expression_statement "*(undefined4 *)(iVar1 + 8) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 8) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 8)" * (cast_expression "(undefined4 *)(iVar1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0xc) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0xc) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" * (cast_expression "(undefined4 *)(iVar1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18);" (assignment_expression "*(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18)" (pointer_expression "*(undefined4 *)(iVar1 + 8)" * (cast_expression "(undefined4 *)(iVar1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar4 + 0x18)" * (cast_expression "(undefined4 *)(iVar4 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar4 + 0x1c) == 0) goto LAB_00018fa0;" if (parenthesized_expression "(*(int *)(iVar4 + 0x1c) == 0)" ( (binary_expression "*(int *)(iVar4 + 0x1c) == 0" (pointer_expression "*(int *)(iVar4 + 0x1c)" * (cast_expression "(int *)(iVar4 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) )))) == number_literal) )) (goto_statement "goto LAB_00018fa0;" goto statement_identifier ;)) (do_statement "do {\n    *(int *)(*(int *)(iVar4 + 0x18) + 0xc) = iVar1;\n    while( true ) {\n      puVar7 = PTR_pthread_mutex_unlock_0003d280;\n      *(int *)(iVar4 + 0x18) = iVar1;\n      iVar2 = (*(code *)puVar7)(uVar6);\n      if (iVar2 == 0) goto LAB_00018e38;\n      uVar3 = 0x1287;\nLAB_00018f34:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x6298);\n      uVar3 = extraout_v1;\nLAB_00018f58:\n      *(undefined4 *)(iVar4 + 0x3c) = uVar3;\n      *(undefined4 *)(iVar1 + 0x10) = 0;\n      *(undefined4 *)(iVar1 + 0x14) = 0;\n      iVar2 = *(int *)(iVar1 + 0xc);\n      uVar3 = *(undefined4 *)(iVar1 + 8);\n      if (iVar2 != 0) goto LAB_00018ee0;\nLAB_00018f70:\n      *(undefined4 *)(iVar4 + 8) = uVar3;\n      iVar2 = *(int *)(iVar1 + 8);\n      uVar3 = *(undefined4 *)(iVar1 + 0xc);\n      if (iVar2 != 0) goto LAB_00018ef0;\nLAB_00018f80:\n      *(undefined4 *)(iVar4 + 0xc) = uVar3;\n      *(undefined4 *)(iVar1 + 8) = 0;\n      *(undefined4 *)(iVar1 + 0xc) = 0;\n      *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18);\n      if (*(int *)(iVar4 + 0x1c) != 0) break;\nLAB_00018fa0:\n      *(int *)(iVar4 + 0x1c) = iVar1;\n    }\n  } while( true );" do (compound_statement "{\n    *(int *)(*(int *)(iVar4 + 0x18) + 0xc) = iVar1;\n    while( true ) {\n      puVar7 = PTR_pthread_mutex_unlock_0003d280;\n      *(int *)(iVar4 + 0x18) = iVar1;\n      iVar2 = (*(code *)puVar7)(uVar6);\n      if (iVar2 == 0) goto LAB_00018e38;\n      uVar3 = 0x1287;\nLAB_00018f34:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x6298);\n      uVar3 = extraout_v1;\nLAB_00018f58:\n      *(undefined4 *)(iVar4 + 0x3c) = uVar3;\n      *(undefined4 *)(iVar1 + 0x10) = 0;\n      *(undefined4 *)(iVar1 + 0x14) = 0;\n      iVar2 = *(int *)(iVar1 + 0xc);\n      uVar3 = *(undefined4 *)(iVar1 + 8);\n      if (iVar2 != 0) goto LAB_00018ee0;\nLAB_00018f70:\n      *(undefined4 *)(iVar4 + 8) = uVar3;\n      iVar2 = *(int *)(iVar1 + 8);\n      uVar3 = *(undefined4 *)(iVar1 + 0xc);\n      if (iVar2 != 0) goto LAB_00018ef0;\nLAB_00018f80:\n      *(undefined4 *)(iVar4 + 0xc) = uVar3;\n      *(undefined4 *)(iVar1 + 8) = 0;\n      *(undefined4 *)(iVar1 + 0xc) = 0;\n      *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18);\n      if (*(int *)(iVar4 + 0x1c) != 0) break;\nLAB_00018fa0:\n      *(int *)(iVar4 + 0x1c) = iVar1;\n    }\n  }" { (expression_statement "*(int *)(*(int *)(iVar4 + 0x18) + 0xc) = iVar1;" (assignment_expression "*(int *)(*(int *)(iVar4 + 0x18) + 0xc) = iVar1" (pointer_expression "*(int *)(*(int *)(iVar4 + 0x18) + 0xc)" * (cast_expression "(int *)(*(int *)(iVar4 + 0x18) + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar4 + 0x18) + 0xc)" ( (binary_expression "*(int *)(iVar4 + 0x18) + 0xc" (pointer_expression "*(int *)(iVar4 + 0x18)" * (cast_expression "(int *)(iVar4 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) (while_statement "while( true ) {\n      puVar7 = PTR_pthread_mutex_unlock_0003d280;\n      *(int *)(iVar4 + 0x18) = iVar1;\n      iVar2 = (*(code *)puVar7)(uVar6);\n      if (iVar2 == 0) goto LAB_00018e38;\n      uVar3 = 0x1287;\nLAB_00018f34:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x6298);\n      uVar3 = extraout_v1;\nLAB_00018f58:\n      *(undefined4 *)(iVar4 + 0x3c) = uVar3;\n      *(undefined4 *)(iVar1 + 0x10) = 0;\n      *(undefined4 *)(iVar1 + 0x14) = 0;\n      iVar2 = *(int *)(iVar1 + 0xc);\n      uVar3 = *(undefined4 *)(iVar1 + 8);\n      if (iVar2 != 0) goto LAB_00018ee0;\nLAB_00018f70:\n      *(undefined4 *)(iVar4 + 8) = uVar3;\n      iVar2 = *(int *)(iVar1 + 8);\n      uVar3 = *(undefined4 *)(iVar1 + 0xc);\n      if (iVar2 != 0) goto LAB_00018ef0;\nLAB_00018f80:\n      *(undefined4 *)(iVar4 + 0xc) = uVar3;\n      *(undefined4 *)(iVar1 + 8) = 0;\n      *(undefined4 *)(iVar1 + 0xc) = 0;\n      *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18);\n      if (*(int *)(iVar4 + 0x1c) != 0) break;\nLAB_00018fa0:\n      *(int *)(iVar4 + 0x1c) = iVar1;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      puVar7 = PTR_pthread_mutex_unlock_0003d280;\n      *(int *)(iVar4 + 0x18) = iVar1;\n      iVar2 = (*(code *)puVar7)(uVar6);\n      if (iVar2 == 0) goto LAB_00018e38;\n      uVar3 = 0x1287;\nLAB_00018f34:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x6298);\n      uVar3 = extraout_v1;\nLAB_00018f58:\n      *(undefined4 *)(iVar4 + 0x3c) = uVar3;\n      *(undefined4 *)(iVar1 + 0x10) = 0;\n      *(undefined4 *)(iVar1 + 0x14) = 0;\n      iVar2 = *(int *)(iVar1 + 0xc);\n      uVar3 = *(undefined4 *)(iVar1 + 8);\n      if (iVar2 != 0) goto LAB_00018ee0;\nLAB_00018f70:\n      *(undefined4 *)(iVar4 + 8) = uVar3;\n      iVar2 = *(int *)(iVar1 + 8);\n      uVar3 = *(undefined4 *)(iVar1 + 0xc);\n      if (iVar2 != 0) goto LAB_00018ef0;\nLAB_00018f80:\n      *(undefined4 *)(iVar4 + 0xc) = uVar3;\n      *(undefined4 *)(iVar1 + 8) = 0;\n      *(undefined4 *)(iVar1 + 0xc) = 0;\n      *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18);\n      if (*(int *)(iVar4 + 0x1c) != 0) break;\nLAB_00018fa0:\n      *(int *)(iVar4 + 0x1c) = iVar1;\n    }" { (expression_statement "puVar7 = PTR_pthread_mutex_unlock_0003d280;" (assignment_expression "puVar7 = PTR_pthread_mutex_unlock_0003d280" identifier = identifier) ;) (expression_statement "*(int *)(iVar4 + 0x18) = iVar1;" (assignment_expression "*(int *)(iVar4 + 0x18) = iVar1" (pointer_expression "*(int *)(iVar4 + 0x18)" * (cast_expression "(int *)(iVar4 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar2 = (*(code *)puVar7)(uVar6);" (assignment_expression "iVar2 = (*(code *)puVar7)(uVar6)" identifier = (call_expression "(*(code *)puVar7)(uVar6)" (parenthesized_expression "(*(code *)puVar7)" ( (pointer_expression "*(code *)puVar7" * (cast_expression "(code *)puVar7" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6)" ( identifier )))) ;) (if_statement "if (iVar2 == 0) goto LAB_00018e38;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00018e38;" goto statement_identifier ;)) (expression_statement "uVar3 = 0x1287;" (assignment_expression "uVar3 = 0x1287" identifier = number_literal) ;) (labeled_statement "LAB_00018f34:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x6298);" statement_identifier : (expression_statement "(**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x6298);" (call_expression "(**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x6298)" (parenthesized_expression "(**(code **)PTR_DAT_0003d03c)" ( (pointer_expression "**(code **)PTR_DAT_0003d03c" * (pointer_expression "*(code **)PTR_DAT_0003d03c" * (cast_expression "(code **)PTR_DAT_0003d03c" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x6298)" ( (pointer_expression "*(undefined4 *)PTR_DAT_0003d038" * (cast_expression "(undefined4 *)PTR_DAT_0003d038" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "PTR_DAT_0003d02c + -0x51b0" identifier + number_literal) , identifier , (binary_expression "PTR_DAT_0003d02c + -0x6298" identifier + number_literal) ))) ;)) (expression_statement "uVar3 = extraout_v1;" (assignment_expression "uVar3 = extraout_v1" identifier = identifier) ;) (labeled_statement "LAB_00018f58:\n      *(undefined4 *)(iVar4 + 0x3c) = uVar3;" statement_identifier : (expression_statement "*(undefined4 *)(iVar4 + 0x3c) = uVar3;" (assignment_expression "*(undefined4 *)(iVar4 + 0x3c) = uVar3" (pointer_expression "*(undefined4 *)(iVar4 + 0x3c)" * (cast_expression "(undefined4 *)(iVar4 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x3c)" ( (binary_expression "iVar4 + 0x3c" identifier + number_literal) )))) = identifier) ;)) (expression_statement "*(undefined4 *)(iVar1 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x10) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" * (cast_expression "(undefined4 *)(iVar1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x14) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x14)" * (cast_expression "(undefined4 *)(iVar1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar2 = *(int *)(iVar1 + 0xc);" (assignment_expression "iVar2 = *(int *)(iVar1 + 0xc)" identifier = (pointer_expression "*(int *)(iVar1 + 0xc)" * (cast_expression "(int *)(iVar1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(undefined4 *)(iVar1 + 8);" (assignment_expression "uVar3 = *(undefined4 *)(iVar1 + 8)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 8)" * (cast_expression "(undefined4 *)(iVar1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 != 0) goto LAB_00018ee0;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00018ee0;" goto statement_identifier ;)) (labeled_statement "LAB_00018f70:\n      *(undefined4 *)(iVar4 + 8) = uVar3;" statement_identifier : (expression_statement "*(undefined4 *)(iVar4 + 8) = uVar3;" (assignment_expression "*(undefined4 *)(iVar4 + 8) = uVar3" (pointer_expression "*(undefined4 *)(iVar4 + 8)" * (cast_expression "(undefined4 *)(iVar4 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) = identifier) ;)) (expression_statement "iVar2 = *(int *)(iVar1 + 8);" (assignment_expression "iVar2 = *(int *)(iVar1 + 8)" identifier = (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(undefined4 *)(iVar1 + 0xc);" (assignment_expression "uVar3 = *(undefined4 *)(iVar1 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" * (cast_expression "(undefined4 *)(iVar1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 != 0) goto LAB_00018ef0;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00018ef0;" goto statement_identifier ;)) (labeled_statement "LAB_00018f80:\n      *(undefined4 *)(iVar4 + 0xc) = uVar3;" statement_identifier : (expression_statement "*(undefined4 *)(iVar4 + 0xc) = uVar3;" (assignment_expression "*(undefined4 *)(iVar4 + 0xc) = uVar3" (pointer_expression "*(undefined4 *)(iVar4 + 0xc)" * (cast_expression "(undefined4 *)(iVar4 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) )))) = identifier) ;)) (expression_statement "*(undefined4 *)(iVar1 + 8) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 8) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 8)" * (cast_expression "(undefined4 *)(iVar1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0xc) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0xc) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" * (cast_expression "(undefined4 *)(iVar1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18);" (assignment_expression "*(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18)" (pointer_expression "*(undefined4 *)(iVar1 + 8)" * (cast_expression "(undefined4 *)(iVar1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar4 + 0x18)" * (cast_expression "(undefined4 *)(iVar4 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar4 + 0x1c) != 0) break;" if (parenthesized_expression "(*(int *)(iVar4 + 0x1c) != 0)" ( (binary_expression "*(int *)(iVar4 + 0x1c) != 0" (pointer_expression "*(int *)(iVar4 + 0x1c)" * (cast_expression "(int *)(iVar4 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) )))) != number_literal) )) (break_statement "break;" break ;)) (labeled_statement "LAB_00018fa0:\n      *(int *)(iVar4 + 0x1c) = iVar1;" statement_identifier : (expression_statement "*(int *)(iVar4 + 0x1c) = iVar1;" (assignment_expression "*(int *)(iVar4 + 0x1c) = iVar1" (pointer_expression "*(int *)(iVar4 + 0x1c)" * (cast_expression "(int *)(iVar4 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) )))) = identifier) ;)) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "/* WARNING: Enum "MHD_FLAG": Some values do not have unique names */\n\nvoid close_all_connections(MHD_Daemon *daemon)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  MHD_UpgradeResponseHandle *pMVar3;\n  MHD_Connection *pMVar4;\n  MHD_Connection *extraout_v1;\n  MHD_Connection *pMVar5;\n  undefined4 uVar6;\n  MHD_Connection *pMVar7;\n  MHD_Daemon *pMVar8;\n  MHD_FLAG MVar9;\n  MHD_mutex_ *pMVar10;\n  char *format;\n  \n  MVar9 = daemon->options;\n  pMVar10 = (MHD_mutex_ *)(MVar9 & MHD_ALLOW_UPGRADE);\n  if ((MVar9 & 0x2000) != MHD_NO_FLAG) {\n    daemon->resuming = true;\n    resume_suspended_connections(daemon);\n  }\n  pMVar8 = (MHD_Daemon *)&daemon->cleanup_connection_mutex;\n  iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(pMVar8);\n  uVar6 = 0x1a2b;\n  if (iVar2 != 0) goto LAB_00019098;\n  if (pMVar10 == (MHD_mutex_ *)0x0) {\n    uVar6 = 0x1a58;\n    if (daemon->suspended_connections_head != (MHD_Connection *)0x0) goto LAB_000190c4;\n  }\n  else {\n    pMVar7 = daemon->suspended_connections_tail;\n    if (pMVar7 != (MHD_Connection *)0x0) {\n      pMVar3 = pMVar7->urh;\n      if (pMVar3 == (MHD_UpgradeResponseHandle *)0x0) goto LAB_000190c0;\n      format = PTR_DAT_0003d02c + -0x4ca4;\n      while( true ) {\n        if (pMVar3->was_closed == false) {\n          MHD_DLOG(daemon,format,uVar6);\n          pMVar7->urh->was_closed = true;\n          pMVar7->resuming = true;\n          daemon->resuming = true;\n          pMVar7 = pMVar7->prev;\n        }\n        else {\n          pMVar7->urh->was_closed = true;\n          pMVar7->resuming = true;\n          daemon->resuming = true;\n          pMVar7 = pMVar7->prev;\n        }\n        if (pMVar7 == (MHD_Connection *)0x0) break;\n        pMVar3 = pMVar7->urh;\n        uVar6 = 0x1a37;\n        if (pMVar3 == (MHD_UpgradeResponseHandle *)0x0) goto LAB_000190c0;\n      }\n    }\n  }\n  pMVar7 = daemon->connections_tail;\n  if (pMVar7 != (MHD_Connection *)0x0) {\n    do {\n      (*(code *)PTR_shutdown_0003d134)(pMVar7->socket_fd,2);\n      pMVar7 = pMVar7->prev;\n    } while (pMVar7 != (MHD_Connection *)0x0);\n    pMVar7 = (MHD_Connection *)0x0;\n    if ((MVar9 & MHD_USE_THREAD_PER_CONNECTION) != MHD_NO_FLAG) {\n      pMVar7 = daemon->connections_tail;\n      while (pMVar7 != (MHD_Connection *)0x0) {\n        while (pMVar7->thread_joined != false) {\n          pMVar7 = pMVar7->prev;\n          if (pMVar7 == (MHD_Connection *)0x0) goto LAB_00018e1c;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(pMVar8);\n        if (iVar2 != 0) {\n          uVar6 = 0x1a6f;\n          goto LAB_00018f34;\n        }\n        iVar2 = (*(code *)PTR_pthread_join_0003d160)((pMVar7->pid).handle,0);\n        if (iVar2 != 0) {\n          uVar6 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_mhd_panic_0003d03c)\n                    (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar6 = 0x1a72;\n          goto LAB_00019098;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(pMVar8);\n        if (iVar2 != 0) goto LAB_00019094;\n        pMVar7->thread_joined = true;\n        pMVar7 = daemon->connections_tail;\n      }\n    }\n  }\nLAB_00018e1c:\n  iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(pMVar8);\n  uVar6 = 0x1a7c;\n  if (iVar2 != 0) goto LAB_00018f34;\n  if (pMVar10 != (MHD_mutex_ *)0x0) {\n    daemon->resuming = true;\n    resume_suspended_connections(daemon);\n  }\nLAB_00018e38:\n  pMVar7 = daemon->connections_tail;\n  while( true ) {\n    if (pMVar7 == (MHD_Connection *)0x0) {\n      MHD_cleanup_connections(daemon);\n      return;\n    }\n    if (((daemon->options & MHD_USE_THREAD_PER_CONNECTION) != MHD_NO_FLAG) &&\n       (uVar6 = 0x1a91, pMVar7->thread_joined == false)) goto LAB_00019070;\n    pMVar8 = pMVar7->daemon;\n    if ((pMVar8->options & MHD_USE_THREAD_PER_CONNECTION) == MHD_NO_FLAG) break;\n    MHD_connection_mark_closed_(pMVar7);\n    pMVar7 = daemon->connections_tail;\n  }\n  pMVar10 = &pMVar8->cleanup_connection_mutex;\n  MHD_connection_close_(pMVar7,MHD_REQUEST_TERMINATED_DAEMON_SHUTDOWN);\n  iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(pMVar10);\n  if (iVar2 != 0) {\n    do {\n      uVar6 = 0x1274;\nLAB_00019098:\n      (**(code **)PTR_mhd_panic_0003d03c)\n                (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                 PTR_DAT_0003d02c + -0x62c0);\nLAB_000190c0:\n      uVar6 = 0x1a37;\nLAB_000190c4:\n      (**(code **)PTR_mhd_panic_0003d03c)\n                (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                 PTR_DAT_0003d02c + -0x4ce4);\n    } while( true );\n  }\n  pMVar4 = pMVar7->prevX;\n  pMVar5 = pMVar7->nextX;\n  if (pMVar7->connection_timeout == pMVar8->connection_timeout) {\n    if (pMVar4 == (MHD_Connection *)0x0) {\n      pMVar8->normal_timeout_head = pMVar5;\n    }\n    else {\n      pMVar4->nextX = pMVar5;\n    }\n    pMVar5 = pMVar7->nextX;\n    pMVar4 = pMVar7->prevX;\n    if (pMVar5 == (MHD_Connection *)0x0) {\n      pMVar8->normal_timeout_tail = pMVar4;\n      goto LAB_00018ecc;\n    }\n  }\n  else {\n    if (pMVar4 == (MHD_Connection *)0x0) {\n      pMVar8->manual_timeout_head = pMVar5;\n    }\n    else {\n      pMVar4->nextX = pMVar5;\n    }\n    pMVar5 = pMVar7->nextX;\n    pMVar4 = pMVar7->prevX;\n    if (pMVar5 == (MHD_Connection *)0x0) goto LAB_00018f58;\n  }\n  pMVar5->prevX = pMVar4;\nLAB_00018ecc:\n  pMVar4 = pMVar7->prev;\n  pMVar5 = pMVar7->next;\n  pMVar7->nextX = (MHD_Connection *)0x0;\n  pMVar7->prevX = (MHD_Connection *)0x0;\n  if (pMVar4 == (MHD_Connection *)0x0) goto LAB_00018f70;\nLAB_00018ee0:\n  pMVar4->next = pMVar5;\n  pMVar4 = pMVar7->next;\n  pMVar5 = pMVar7->prev;\n  if (pMVar4 == (MHD_Connection *)0x0) goto LAB_00018f80;\nLAB_00018ef0:\n  pMVar4->prev = pMVar5;\n  pMVar7->next = (MHD_Connection *)0x0;\n  pMVar7->prev = (MHD_Connection *)0x0;\n  pMVar7->next = pMVar8->cleanup_head;\n  if (pMVar8->cleanup_tail == (MHD_Connection *)0x0) goto LAB_00018fa0;\n  do {\n    pMVar8->cleanup_head->prev = pMVar7;\n    while( true ) {\n      puVar1 = PTR_pthread_mutex_unlock_0003d280;\n      pMVar8->cleanup_head = pMVar7;\n      iVar2 = (*(code *)puVar1)(pMVar10);\n      if (iVar2 == 0) goto LAB_00018e38;\n      uVar6 = 0x1287;\nLAB_00018f34:\n      (**(code **)PTR_mhd_panic_0003d03c)\n                (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                 PTR_DAT_0003d02c + -0x6298);\n      pMVar4 = extraout_v1;\nLAB_00018f58:\n      pMVar8->manual_timeout_tail = pMVar4;\n      pMVar7->nextX = (MHD_Connection *)0x0;\n      pMVar7->prevX = (MHD_Connection *)0x0;\n      pMVar4 = pMVar7->prev;\n      pMVar5 = pMVar7->next;\n      if (pMVar4 != (MHD_Connection *)0x0) goto LAB_00018ee0;\nLAB_00018f70:\n      pMVar8->connections_head = pMVar5;\n      pMVar4 = pMVar7->next;\n      pMVar5 = pMVar7->prev;\n      if (pMVar4 != (MHD_Connection *)0x0) goto LAB_00018ef0;\nLAB_00018f80:\n      pMVar8->connections_tail = pMVar5;\n      pMVar7->next = (MHD_Connection *)0x0;\n      pMVar7->prev = (MHD_Connection *)0x0;\n      pMVar7->next = pMVar8->cleanup_head;\n      if (pMVar8->cleanup_tail != (MHD_Connection *)0x0) break;\nLAB_00018fa0:\n      pMVar8->cleanup_tail = pMVar7;\n    }\n  } while( true );\n}\n\n" comment (function_definition "void close_all_connections(MHD_Daemon *daemon)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  MHD_UpgradeResponseHandle *pMVar3;\n  MHD_Connection *pMVar4;\n  MHD_Connection *extraout_v1;\n  MHD_Connection *pMVar5;\n  undefined4 uVar6;\n  MHD_Connection *pMVar7;\n  MHD_Daemon *pMVar8;\n  MHD_FLAG MVar9;\n  MHD_mutex_ *pMVar10;\n  char *format;\n  \n  MVar9 = daemon->options;\n  pMVar10 = (MHD_mutex_ *)(MVar9 & MHD_ALLOW_UPGRADE);\n  if ((MVar9 & 0x2000) != MHD_NO_FLAG) {\n    daemon->resuming = true;\n    resume_suspended_connections(daemon);\n  }\n  pMVar8 = (MHD_Daemon *)&daemon->cleanup_connection_mutex;\n  iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(pMVar8);\n  uVar6 = 0x1a2b;\n  if (iVar2 != 0) goto LAB_00019098;\n  if (pMVar10 == (MHD_mutex_ *)0x0) {\n    uVar6 = 0x1a58;\n    if (daemon->suspended_connections_head != (MHD_Connection *)0x0) goto LAB_000190c4;\n  }\n  else {\n    pMVar7 = daemon->suspended_connections_tail;\n    if (pMVar7 != (MHD_Connection *)0x0) {\n      pMVar3 = pMVar7->urh;\n      if (pMVar3 == (MHD_UpgradeResponseHandle *)0x0) goto LAB_000190c0;\n      format = PTR_DAT_0003d02c + -0x4ca4;\n      while( true ) {\n        if (pMVar3->was_closed == false) {\n          MHD_DLOG(daemon,format,uVar6);\n          pMVar7->urh->was_closed = true;\n          pMVar7->resuming = true;\n          daemon->resuming = true;\n          pMVar7 = pMVar7->prev;\n        }\n        else {\n          pMVar7->urh->was_closed = true;\n          pMVar7->resuming = true;\n          daemon->resuming = true;\n          pMVar7 = pMVar7->prev;\n        }\n        if (pMVar7 == (MHD_Connection *)0x0) break;\n        pMVar3 = pMVar7->urh;\n        uVar6 = 0x1a37;\n        if (pMVar3 == (MHD_UpgradeResponseHandle *)0x0) goto LAB_000190c0;\n      }\n    }\n  }\n  pMVar7 = daemon->connections_tail;\n  if (pMVar7 != (MHD_Connection *)0x0) {\n    do {\n      (*(code *)PTR_shutdown_0003d134)(pMVar7->socket_fd,2);\n      pMVar7 = pMVar7->prev;\n    } while (pMVar7 != (MHD_Connection *)0x0);\n    pMVar7 = (MHD_Connection *)0x0;\n    if ((MVar9 & MHD_USE_THREAD_PER_CONNECTION) != MHD_NO_FLAG) {\n      pMVar7 = daemon->connections_tail;\n      while (pMVar7 != (MHD_Connection *)0x0) {\n        while (pMVar7->thread_joined != false) {\n          pMVar7 = pMVar7->prev;\n          if (pMVar7 == (MHD_Connection *)0x0) goto LAB_00018e1c;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(pMVar8);\n        if (iVar2 != 0) {\n          uVar6 = 0x1a6f;\n          goto LAB_00018f34;\n        }\n        iVar2 = (*(code *)PTR_pthread_join_0003d160)((pMVar7->pid).handle,0);\n        if (iVar2 != 0) {\n          uVar6 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_mhd_panic_0003d03c)\n                    (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar6 = 0x1a72;\n          goto LAB_00019098;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(pMVar8);\n        if (iVar2 != 0) goto LAB_00019094;\n        pMVar7->thread_joined = true;\n        pMVar7 = daemon->connections_tail;\n      }\n    }\n  }\nLAB_00018e1c:\n  iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(pMVar8);\n  uVar6 = 0x1a7c;\n  if (iVar2 != 0) goto LAB_00018f34;\n  if (pMVar10 != (MHD_mutex_ *)0x0) {\n    daemon->resuming = true;\n    resume_suspended_connections(daemon);\n  }\nLAB_00018e38:\n  pMVar7 = daemon->connections_tail;\n  while( true ) {\n    if (pMVar7 == (MHD_Connection *)0x0) {\n      MHD_cleanup_connections(daemon);\n      return;\n    }\n    if (((daemon->options & MHD_USE_THREAD_PER_CONNECTION) != MHD_NO_FLAG) &&\n       (uVar6 = 0x1a91, pMVar7->thread_joined == false)) goto LAB_00019070;\n    pMVar8 = pMVar7->daemon;\n    if ((pMVar8->options & MHD_USE_THREAD_PER_CONNECTION) == MHD_NO_FLAG) break;\n    MHD_connection_mark_closed_(pMVar7);\n    pMVar7 = daemon->connections_tail;\n  }\n  pMVar10 = &pMVar8->cleanup_connection_mutex;\n  MHD_connection_close_(pMVar7,MHD_REQUEST_TERMINATED_DAEMON_SHUTDOWN);\n  iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(pMVar10);\n  if (iVar2 != 0) {\n    do {\n      uVar6 = 0x1274;\nLAB_00019098:\n      (**(code **)PTR_mhd_panic_0003d03c)\n                (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                 PTR_DAT_0003d02c + -0x62c0);\nLAB_000190c0:\n      uVar6 = 0x1a37;\nLAB_000190c4:\n      (**(code **)PTR_mhd_panic_0003d03c)\n                (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                 PTR_DAT_0003d02c + -0x4ce4);\n    } while( true );\n  }\n  pMVar4 = pMVar7->prevX;\n  pMVar5 = pMVar7->nextX;\n  if (pMVar7->connection_timeout == pMVar8->connection_timeout) {\n    if (pMVar4 == (MHD_Connection *)0x0) {\n      pMVar8->normal_timeout_head = pMVar5;\n    }\n    else {\n      pMVar4->nextX = pMVar5;\n    }\n    pMVar5 = pMVar7->nextX;\n    pMVar4 = pMVar7->prevX;\n    if (pMVar5 == (MHD_Connection *)0x0) {\n      pMVar8->normal_timeout_tail = pMVar4;\n      goto LAB_00018ecc;\n    }\n  }\n  else {\n    if (pMVar4 == (MHD_Connection *)0x0) {\n      pMVar8->manual_timeout_head = pMVar5;\n    }\n    else {\n      pMVar4->nextX = pMVar5;\n    }\n    pMVar5 = pMVar7->nextX;\n    pMVar4 = pMVar7->prevX;\n    if (pMVar5 == (MHD_Connection *)0x0) goto LAB_00018f58;\n  }\n  pMVar5->prevX = pMVar4;\nLAB_00018ecc:\n  pMVar4 = pMVar7->prev;\n  pMVar5 = pMVar7->next;\n  pMVar7->nextX = (MHD_Connection *)0x0;\n  pMVar7->prevX = (MHD_Connection *)0x0;\n  if (pMVar4 == (MHD_Connection *)0x0) goto LAB_00018f70;\nLAB_00018ee0:\n  pMVar4->next = pMVar5;\n  pMVar4 = pMVar7->next;\n  pMVar5 = pMVar7->prev;\n  if (pMVar4 == (MHD_Connection *)0x0) goto LAB_00018f80;\nLAB_00018ef0:\n  pMVar4->prev = pMVar5;\n  pMVar7->next = (MHD_Connection *)0x0;\n  pMVar7->prev = (MHD_Connection *)0x0;\n  pMVar7->next = pMVar8->cleanup_head;\n  if (pMVar8->cleanup_tail == (MHD_Connection *)0x0) goto LAB_00018fa0;\n  do {\n    pMVar8->cleanup_head->prev = pMVar7;\n    while( true ) {\n      puVar1 = PTR_pthread_mutex_unlock_0003d280;\n      pMVar8->cleanup_head = pMVar7;\n      iVar2 = (*(code *)puVar1)(pMVar10);\n      if (iVar2 == 0) goto LAB_00018e38;\n      uVar6 = 0x1287;\nLAB_00018f34:\n      (**(code **)PTR_mhd_panic_0003d03c)\n                (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                 PTR_DAT_0003d02c + -0x6298);\n      pMVar4 = extraout_v1;\nLAB_00018f58:\n      pMVar8->manual_timeout_tail = pMVar4;\n      pMVar7->nextX = (MHD_Connection *)0x0;\n      pMVar7->prevX = (MHD_Connection *)0x0;\n      pMVar4 = pMVar7->prev;\n      pMVar5 = pMVar7->next;\n      if (pMVar4 != (MHD_Connection *)0x0) goto LAB_00018ee0;\nLAB_00018f70:\n      pMVar8->connections_head = pMVar5;\n      pMVar4 = pMVar7->next;\n      pMVar5 = pMVar7->prev;\n      if (pMVar4 != (MHD_Connection *)0x0) goto LAB_00018ef0;\nLAB_00018f80:\n      pMVar8->connections_tail = pMVar5;\n      pMVar7->next = (MHD_Connection *)0x0;\n      pMVar7->prev = (MHD_Connection *)0x0;\n      pMVar7->next = pMVar8->cleanup_head;\n      if (pMVar8->cleanup_tail != (MHD_Connection *)0x0) break;\nLAB_00018fa0:\n      pMVar8->cleanup_tail = pMVar7;\n    }\n  } while( true );\n}" primitive_type (function_declarator "close_all_connections(MHD_Daemon *daemon)" identifier (parameter_list "(MHD_Daemon *daemon)" ( (parameter_declaration "MHD_Daemon *daemon" type_identifier (pointer_declarator "*daemon" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  MHD_UpgradeResponseHandle *pMVar3;\n  MHD_Connection *pMVar4;\n  MHD_Connection *extraout_v1;\n  MHD_Connection *pMVar5;\n  undefined4 uVar6;\n  MHD_Connection *pMVar7;\n  MHD_Daemon *pMVar8;\n  MHD_FLAG MVar9;\n  MHD_mutex_ *pMVar10;\n  char *format;\n  \n  MVar9 = daemon->options;\n  pMVar10 = (MHD_mutex_ *)(MVar9 & MHD_ALLOW_UPGRADE);\n  if ((MVar9 & 0x2000) != MHD_NO_FLAG) {\n    daemon->resuming = true;\n    resume_suspended_connections(daemon);\n  }\n  pMVar8 = (MHD_Daemon *)&daemon->cleanup_connection_mutex;\n  iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(pMVar8);\n  uVar6 = 0x1a2b;\n  if (iVar2 != 0) goto LAB_00019098;\n  if (pMVar10 == (MHD_mutex_ *)0x0) {\n    uVar6 = 0x1a58;\n    if (daemon->suspended_connections_head != (MHD_Connection *)0x0) goto LAB_000190c4;\n  }\n  else {\n    pMVar7 = daemon->suspended_connections_tail;\n    if (pMVar7 != (MHD_Connection *)0x0) {\n      pMVar3 = pMVar7->urh;\n      if (pMVar3 == (MHD_UpgradeResponseHandle *)0x0) goto LAB_000190c0;\n      format = PTR_DAT_0003d02c + -0x4ca4;\n      while( true ) {\n        if (pMVar3->was_closed == false) {\n          MHD_DLOG(daemon,format,uVar6);\n          pMVar7->urh->was_closed = true;\n          pMVar7->resuming = true;\n          daemon->resuming = true;\n          pMVar7 = pMVar7->prev;\n        }\n        else {\n          pMVar7->urh->was_closed = true;\n          pMVar7->resuming = true;\n          daemon->resuming = true;\n          pMVar7 = pMVar7->prev;\n        }\n        if (pMVar7 == (MHD_Connection *)0x0) break;\n        pMVar3 = pMVar7->urh;\n        uVar6 = 0x1a37;\n        if (pMVar3 == (MHD_UpgradeResponseHandle *)0x0) goto LAB_000190c0;\n      }\n    }\n  }\n  pMVar7 = daemon->connections_tail;\n  if (pMVar7 != (MHD_Connection *)0x0) {\n    do {\n      (*(code *)PTR_shutdown_0003d134)(pMVar7->socket_fd,2);\n      pMVar7 = pMVar7->prev;\n    } while (pMVar7 != (MHD_Connection *)0x0);\n    pMVar7 = (MHD_Connection *)0x0;\n    if ((MVar9 & MHD_USE_THREAD_PER_CONNECTION) != MHD_NO_FLAG) {\n      pMVar7 = daemon->connections_tail;\n      while (pMVar7 != (MHD_Connection *)0x0) {\n        while (pMVar7->thread_joined != false) {\n          pMVar7 = pMVar7->prev;\n          if (pMVar7 == (MHD_Connection *)0x0) goto LAB_00018e1c;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(pMVar8);\n        if (iVar2 != 0) {\n          uVar6 = 0x1a6f;\n          goto LAB_00018f34;\n        }\n        iVar2 = (*(code *)PTR_pthread_join_0003d160)((pMVar7->pid).handle,0);\n        if (iVar2 != 0) {\n          uVar6 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_mhd_panic_0003d03c)\n                    (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar6 = 0x1a72;\n          goto LAB_00019098;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(pMVar8);\n        if (iVar2 != 0) goto LAB_00019094;\n        pMVar7->thread_joined = true;\n        pMVar7 = daemon->connections_tail;\n      }\n    }\n  }\nLAB_00018e1c:\n  iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(pMVar8);\n  uVar6 = 0x1a7c;\n  if (iVar2 != 0) goto LAB_00018f34;\n  if (pMVar10 != (MHD_mutex_ *)0x0) {\n    daemon->resuming = true;\n    resume_suspended_connections(daemon);\n  }\nLAB_00018e38:\n  pMVar7 = daemon->connections_tail;\n  while( true ) {\n    if (pMVar7 == (MHD_Connection *)0x0) {\n      MHD_cleanup_connections(daemon);\n      return;\n    }\n    if (((daemon->options & MHD_USE_THREAD_PER_CONNECTION) != MHD_NO_FLAG) &&\n       (uVar6 = 0x1a91, pMVar7->thread_joined == false)) goto LAB_00019070;\n    pMVar8 = pMVar7->daemon;\n    if ((pMVar8->options & MHD_USE_THREAD_PER_CONNECTION) == MHD_NO_FLAG) break;\n    MHD_connection_mark_closed_(pMVar7);\n    pMVar7 = daemon->connections_tail;\n  }\n  pMVar10 = &pMVar8->cleanup_connection_mutex;\n  MHD_connection_close_(pMVar7,MHD_REQUEST_TERMINATED_DAEMON_SHUTDOWN);\n  iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(pMVar10);\n  if (iVar2 != 0) {\n    do {\n      uVar6 = 0x1274;\nLAB_00019098:\n      (**(code **)PTR_mhd_panic_0003d03c)\n                (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                 PTR_DAT_0003d02c + -0x62c0);\nLAB_000190c0:\n      uVar6 = 0x1a37;\nLAB_000190c4:\n      (**(code **)PTR_mhd_panic_0003d03c)\n                (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                 PTR_DAT_0003d02c + -0x4ce4);\n    } while( true );\n  }\n  pMVar4 = pMVar7->prevX;\n  pMVar5 = pMVar7->nextX;\n  if (pMVar7->connection_timeout == pMVar8->connection_timeout) {\n    if (pMVar4 == (MHD_Connection *)0x0) {\n      pMVar8->normal_timeout_head = pMVar5;\n    }\n    else {\n      pMVar4->nextX = pMVar5;\n    }\n    pMVar5 = pMVar7->nextX;\n    pMVar4 = pMVar7->prevX;\n    if (pMVar5 == (MHD_Connection *)0x0) {\n      pMVar8->normal_timeout_tail = pMVar4;\n      goto LAB_00018ecc;\n    }\n  }\n  else {\n    if (pMVar4 == (MHD_Connection *)0x0) {\n      pMVar8->manual_timeout_head = pMVar5;\n    }\n    else {\n      pMVar4->nextX = pMVar5;\n    }\n    pMVar5 = pMVar7->nextX;\n    pMVar4 = pMVar7->prevX;\n    if (pMVar5 == (MHD_Connection *)0x0) goto LAB_00018f58;\n  }\n  pMVar5->prevX = pMVar4;\nLAB_00018ecc:\n  pMVar4 = pMVar7->prev;\n  pMVar5 = pMVar7->next;\n  pMVar7->nextX = (MHD_Connection *)0x0;\n  pMVar7->prevX = (MHD_Connection *)0x0;\n  if (pMVar4 == (MHD_Connection *)0x0) goto LAB_00018f70;\nLAB_00018ee0:\n  pMVar4->next = pMVar5;\n  pMVar4 = pMVar7->next;\n  pMVar5 = pMVar7->prev;\n  if (pMVar4 == (MHD_Connection *)0x0) goto LAB_00018f80;\nLAB_00018ef0:\n  pMVar4->prev = pMVar5;\n  pMVar7->next = (MHD_Connection *)0x0;\n  pMVar7->prev = (MHD_Connection *)0x0;\n  pMVar7->next = pMVar8->cleanup_head;\n  if (pMVar8->cleanup_tail == (MHD_Connection *)0x0) goto LAB_00018fa0;\n  do {\n    pMVar8->cleanup_head->prev = pMVar7;\n    while( true ) {\n      puVar1 = PTR_pthread_mutex_unlock_0003d280;\n      pMVar8->cleanup_head = pMVar7;\n      iVar2 = (*(code *)puVar1)(pMVar10);\n      if (iVar2 == 0) goto LAB_00018e38;\n      uVar6 = 0x1287;\nLAB_00018f34:\n      (**(code **)PTR_mhd_panic_0003d03c)\n                (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                 PTR_DAT_0003d02c + -0x6298);\n      pMVar4 = extraout_v1;\nLAB_00018f58:\n      pMVar8->manual_timeout_tail = pMVar4;\n      pMVar7->nextX = (MHD_Connection *)0x0;\n      pMVar7->prevX = (MHD_Connection *)0x0;\n      pMVar4 = pMVar7->prev;\n      pMVar5 = pMVar7->next;\n      if (pMVar4 != (MHD_Connection *)0x0) goto LAB_00018ee0;\nLAB_00018f70:\n      pMVar8->connections_head = pMVar5;\n      pMVar4 = pMVar7->next;\n      pMVar5 = pMVar7->prev;\n      if (pMVar4 != (MHD_Connection *)0x0) goto LAB_00018ef0;\nLAB_00018f80:\n      pMVar8->connections_tail = pMVar5;\n      pMVar7->next = (MHD_Connection *)0x0;\n      pMVar7->prev = (MHD_Connection *)0x0;\n      pMVar7->next = pMVar8->cleanup_head;\n      if (pMVar8->cleanup_tail != (MHD_Connection *)0x0) break;\nLAB_00018fa0:\n      pMVar8->cleanup_tail = pMVar7;\n    }\n  } while( true );\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "MHD_UpgradeResponseHandle *pMVar3;" type_identifier (pointer_declarator "*pMVar3" * identifier) ;) (declaration "MHD_Connection *pMVar4;" type_identifier (pointer_declarator "*pMVar4" * identifier) ;) (declaration "MHD_Connection *extraout_v1;" type_identifier (pointer_declarator "*extraout_v1" * identifier) ;) (declaration "MHD_Connection *pMVar5;" type_identifier (pointer_declarator "*pMVar5" * identifier) ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "MHD_Connection *pMVar7;" type_identifier (pointer_declarator "*pMVar7" * identifier) ;) (declaration "MHD_Daemon *pMVar8;" type_identifier (pointer_declarator "*pMVar8" * identifier) ;) (declaration "MHD_FLAG MVar9;" type_identifier identifier ;) (declaration "MHD_mutex_ *pMVar10;" type_identifier (pointer_declarator "*pMVar10" * identifier) ;) (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (expression_statement "MVar9 = daemon->options;" (assignment_expression "MVar9 = daemon->options" identifier = (field_expression "daemon->options" identifier -> field_identifier)) ;) (expression_statement "pMVar10 = (MHD_mutex_ *)(MVar9 & MHD_ALLOW_UPGRADE);" (assignment_expression "pMVar10 = (MHD_mutex_ *)(MVar9 & MHD_ALLOW_UPGRADE)" identifier = (cast_expression "(MHD_mutex_ *)(MVar9 & MHD_ALLOW_UPGRADE)" ( (type_descriptor "MHD_mutex_ *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(MVar9 & MHD_ALLOW_UPGRADE)" ( (binary_expression "MVar9 & MHD_ALLOW_UPGRADE" identifier & identifier) )))) ;) (if_statement "if ((MVar9 & 0x2000) != MHD_NO_FLAG) {\n    daemon->resuming = true;\n    resume_suspended_connections(daemon);\n  }" if (parenthesized_expression "((MVar9 & 0x2000) != MHD_NO_FLAG)" ( (binary_expression "(MVar9 & 0x2000) != MHD_NO_FLAG" (parenthesized_expression "(MVar9 & 0x2000)" ( (binary_expression "MVar9 & 0x2000" identifier & number_literal) )) != identifier) )) (compound_statement "{\n    daemon->resuming = true;\n    resume_suspended_connections(daemon);\n  }" { (expression_statement "daemon->resuming = true;" (assignment_expression "daemon->resuming = true" (field_expression "daemon->resuming" identifier -> field_identifier) = true) ;) (expression_statement "resume_suspended_connections(daemon);" (call_expression "resume_suspended_connections(daemon)" identifier (argument_list "(daemon)" ( identifier ))) ;) })) (expression_statement "pMVar8 = (MHD_Daemon *)&daemon->cleanup_connection_mutex;" (assignment_expression "pMVar8 = (MHD_Daemon *)&daemon->cleanup_connection_mutex" identifier = (cast_expression "(MHD_Daemon *)&daemon->cleanup_connection_mutex" ( (type_descriptor "MHD_Daemon *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&daemon->cleanup_connection_mutex" & (field_expression "daemon->cleanup_connection_mutex" identifier -> field_identifier)))) ;) (expression_statement "iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(pMVar8);" (assignment_expression "iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(pMVar8)" identifier = (call_expression "(*(code *)PTR_pthread_mutex_lock_0003d210)(pMVar8)" (parenthesized_expression "(*(code *)PTR_pthread_mutex_lock_0003d210)" ( (pointer_expression "*(code *)PTR_pthread_mutex_lock_0003d210" * (cast_expression "(code *)PTR_pthread_mutex_lock_0003d210" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pMVar8)" ( identifier )))) ;) (expression_statement "uVar6 = 0x1a2b;" (assignment_expression "uVar6 = 0x1a2b" identifier = number_literal) ;) (if_statement "if (iVar2 != 0) goto LAB_00019098;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00019098;" goto statement_identifier ;)) (if_statement "if (pMVar10 == (MHD_mutex_ *)0x0) {\n    uVar6 = 0x1a58;\n    if (daemon->suspended_connections_head != (MHD_Connection *)0x0) goto LAB_000190c4;\n  }\n  else {\n    pMVar7 = daemon->suspended_connections_tail;\n    if (pMVar7 != (MHD_Connection *)0x0) {\n      pMVar3 = pMVar7->urh;\n      if (pMVar3 == (MHD_UpgradeResponseHandle *)0x0) goto LAB_000190c0;\n      format = PTR_DAT_0003d02c + -0x4ca4;\n      while( true ) {\n        if (pMVar3->was_closed == false) {\n          MHD_DLOG(daemon,format,uVar6);\n          pMVar7->urh->was_closed = true;\n          pMVar7->resuming = true;\n          daemon->resuming = true;\n          pMVar7 = pMVar7->prev;\n        }\n        else {\n          pMVar7->urh->was_closed = true;\n          pMVar7->resuming = true;\n          daemon->resuming = true;\n          pMVar7 = pMVar7->prev;\n        }\n        if (pMVar7 == (MHD_Connection *)0x0) break;\n        pMVar3 = pMVar7->urh;\n        uVar6 = 0x1a37;\n        if (pMVar3 == (MHD_UpgradeResponseHandle *)0x0) goto LAB_000190c0;\n      }\n    }\n  }" if (parenthesized_expression "(pMVar10 == (MHD_mutex_ *)0x0)" ( (binary_expression "pMVar10 == (MHD_mutex_ *)0x0" identifier == (cast_expression "(MHD_mutex_ *)0x0" ( (type_descriptor "MHD_mutex_ *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar6 = 0x1a58;\n    if (daemon->suspended_connections_head != (MHD_Connection *)0x0) goto LAB_000190c4;\n  }" { (expression_statement "uVar6 = 0x1a58;" (assignment_expression "uVar6 = 0x1a58" identifier = number_literal) ;) (if_statement "if (daemon->suspended_connections_head != (MHD_Connection *)0x0) goto LAB_000190c4;" if (parenthesized_expression "(daemon->suspended_connections_head != (MHD_Connection *)0x0)" ( (binary_expression "daemon->suspended_connections_head != (MHD_Connection *)0x0" (field_expression "daemon->suspended_connections_head" identifier -> field_identifier) != (cast_expression "(MHD_Connection *)0x0" ( (type_descriptor "MHD_Connection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000190c4;" goto statement_identifier ;)) }) (else_clause "else {\n    pMVar7 = daemon->suspended_connections_tail;\n    if (pMVar7 != (MHD_Connection *)0x0) {\n      pMVar3 = pMVar7->urh;\n      if (pMVar3 == (MHD_UpgradeResponseHandle *)0x0) goto LAB_000190c0;\n      format = PTR_DAT_0003d02c + -0x4ca4;\n      while( true ) {\n        if (pMVar3->was_closed == false) {\n          MHD_DLOG(daemon,format,uVar6);\n          pMVar7->urh->was_closed = true;\n          pMVar7->resuming = true;\n          daemon->resuming = true;\n          pMVar7 = pMVar7->prev;\n        }\n        else {\n          pMVar7->urh->was_closed = true;\n          pMVar7->resuming = true;\n          daemon->resuming = true;\n          pMVar7 = pMVar7->prev;\n        }\n        if (pMVar7 == (MHD_Connection *)0x0) break;\n        pMVar3 = pMVar7->urh;\n        uVar6 = 0x1a37;\n        if (pMVar3 == (MHD_UpgradeResponseHandle *)0x0) goto LAB_000190c0;\n      }\n    }\n  }" else (compound_statement "{\n    pMVar7 = daemon->suspended_connections_tail;\n    if (pMVar7 != (MHD_Connection *)0x0) {\n      pMVar3 = pMVar7->urh;\n      if (pMVar3 == (MHD_UpgradeResponseHandle *)0x0) goto LAB_000190c0;\n      format = PTR_DAT_0003d02c + -0x4ca4;\n      while( true ) {\n        if (pMVar3->was_closed == false) {\n          MHD_DLOG(daemon,format,uVar6);\n          pMVar7->urh->was_closed = true;\n          pMVar7->resuming = true;\n          daemon->resuming = true;\n          pMVar7 = pMVar7->prev;\n        }\n        else {\n          pMVar7->urh->was_closed = true;\n          pMVar7->resuming = true;\n          daemon->resuming = true;\n          pMVar7 = pMVar7->prev;\n        }\n        if (pMVar7 == (MHD_Connection *)0x0) break;\n        pMVar3 = pMVar7->urh;\n        uVar6 = 0x1a37;\n        if (pMVar3 == (MHD_UpgradeResponseHandle *)0x0) goto LAB_000190c0;\n      }\n    }\n  }" { (expression_statement "pMVar7 = daemon->suspended_connections_tail;" (assignment_expression "pMVar7 = daemon->suspended_connections_tail" identifier = (field_expression "daemon->suspended_connections_tail" identifier -> field_identifier)) ;) (if_statement "if (pMVar7 != (MHD_Connection *)0x0) {\n      pMVar3 = pMVar7->urh;\n      if (pMVar3 == (MHD_UpgradeResponseHandle *)0x0) goto LAB_000190c0;\n      format = PTR_DAT_0003d02c + -0x4ca4;\n      while( true ) {\n        if (pMVar3->was_closed == false) {\n          MHD_DLOG(daemon,format,uVar6);\n          pMVar7->urh->was_closed = true;\n          pMVar7->resuming = true;\n          daemon->resuming = true;\n          pMVar7 = pMVar7->prev;\n        }\n        else {\n          pMVar7->urh->was_closed = true;\n          pMVar7->resuming = true;\n          daemon->resuming = true;\n          pMVar7 = pMVar7->prev;\n        }\n        if (pMVar7 == (MHD_Connection *)0x0) break;\n        pMVar3 = pMVar7->urh;\n        uVar6 = 0x1a37;\n        if (pMVar3 == (MHD_UpgradeResponseHandle *)0x0) goto LAB_000190c0;\n      }\n    }" if (parenthesized_expression "(pMVar7 != (MHD_Connection *)0x0)" ( (binary_expression "pMVar7 != (MHD_Connection *)0x0" identifier != (cast_expression "(MHD_Connection *)0x0" ( (type_descriptor "MHD_Connection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pMVar3 = pMVar7->urh;\n      if (pMVar3 == (MHD_UpgradeResponseHandle *)0x0) goto LAB_000190c0;\n      format = PTR_DAT_0003d02c + -0x4ca4;\n      while( true ) {\n        if (pMVar3->was_closed == false) {\n          MHD_DLOG(daemon,format,uVar6);\n          pMVar7->urh->was_closed = true;\n          pMVar7->resuming = true;\n          daemon->resuming = true;\n          pMVar7 = pMVar7->prev;\n        }\n        else {\n          pMVar7->urh->was_closed = true;\n          pMVar7->resuming = true;\n          daemon->resuming = true;\n          pMVar7 = pMVar7->prev;\n        }\n        if (pMVar7 == (MHD_Connection *)0x0) break;\n        pMVar3 = pMVar7->urh;\n        uVar6 = 0x1a37;\n        if (pMVar3 == (MHD_UpgradeResponseHandle *)0x0) goto LAB_000190c0;\n      }\n    }" { (expression_statement "pMVar3 = pMVar7->urh;" (assignment_expression "pMVar3 = pMVar7->urh" identifier = (field_expression "pMVar7->urh" identifier -> field_identifier)) ;) (if_statement "if (pMVar3 == (MHD_UpgradeResponseHandle *)0x0) goto LAB_000190c0;" if (parenthesized_expression "(pMVar3 == (MHD_UpgradeResponseHandle *)0x0)" ( (binary_expression "pMVar3 == (MHD_UpgradeResponseHandle *)0x0" identifier == (cast_expression "(MHD_UpgradeResponseHandle *)0x0" ( (type_descriptor "MHD_UpgradeResponseHandle *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000190c0;" goto statement_identifier ;)) (expression_statement "format = PTR_DAT_0003d02c + -0x4ca4;" (assignment_expression "format = PTR_DAT_0003d02c + -0x4ca4" identifier = (binary_expression "PTR_DAT_0003d02c + -0x4ca4" identifier + number_literal)) ;) (while_statement "while( true ) {\n        if (pMVar3->was_closed == false) {\n          MHD_DLOG(daemon,format,uVar6);\n          pMVar7->urh->was_closed = true;\n          pMVar7->resuming = true;\n          daemon->resuming = true;\n          pMVar7 = pMVar7->prev;\n        }\n        else {\n          pMVar7->urh->was_closed = true;\n          pMVar7->resuming = true;\n          daemon->resuming = true;\n          pMVar7 = pMVar7->prev;\n        }\n        if (pMVar7 == (MHD_Connection *)0x0) break;\n        pMVar3 = pMVar7->urh;\n        uVar6 = 0x1a37;\n        if (pMVar3 == (MHD_UpgradeResponseHandle *)0x0) goto LAB_000190c0;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        if (pMVar3->was_closed == false) {\n          MHD_DLOG(daemon,format,uVar6);\n          pMVar7->urh->was_closed = true;\n          pMVar7->resuming = true;\n          daemon->resuming = true;\n          pMVar7 = pMVar7->prev;\n        }\n        else {\n          pMVar7->urh->was_closed = true;\n          pMVar7->resuming = true;\n          daemon->resuming = true;\n          pMVar7 = pMVar7->prev;\n        }\n        if (pMVar7 == (MHD_Connection *)0x0) break;\n        pMVar3 = pMVar7->urh;\n        uVar6 = 0x1a37;\n        if (pMVar3 == (MHD_UpgradeResponseHandle *)0x0) goto LAB_000190c0;\n      }" { (if_statement "if (pMVar3->was_closed == false) {\n          MHD_DLOG(daemon,format,uVar6);\n          pMVar7->urh->was_closed = true;\n          pMVar7->resuming = true;\n          daemon->resuming = true;\n          pMVar7 = pMVar7->prev;\n        }\n        else {\n          pMVar7->urh->was_closed = true;\n          pMVar7->resuming = true;\n          daemon->resuming = true;\n          pMVar7 = pMVar7->prev;\n        }" if (parenthesized_expression "(pMVar3->was_closed == false)" ( (binary_expression "pMVar3->was_closed == false" (field_expression "pMVar3->was_closed" identifier -> field_identifier) == false) )) (compound_statement "{\n          MHD_DLOG(daemon,format,uVar6);\n          pMVar7->urh->was_closed = true;\n          pMVar7->resuming = true;\n          daemon->resuming = true;\n          pMVar7 = pMVar7->prev;\n        }" { (expression_statement "MHD_DLOG(daemon,format,uVar6);" (call_expression "MHD_DLOG(daemon,format,uVar6)" identifier (argument_list "(daemon,format,uVar6)" ( identifier , identifier , identifier ))) ;) (expression_statement "pMVar7->urh->was_closed = true;" (assignment_expression "pMVar7->urh->was_closed = true" (field_expression "pMVar7->urh->was_closed" (field_expression "pMVar7->urh" identifier -> field_identifier) -> field_identifier) = true) ;) (expression_statement "pMVar7->resuming = true;" (assignment_expression "pMVar7->resuming = true" (field_expression "pMVar7->resuming" identifier -> field_identifier) = true) ;) (expression_statement "daemon->resuming = true;" (assignment_expression "daemon->resuming = true" (field_expression "daemon->resuming" identifier -> field_identifier) = true) ;) (expression_statement "pMVar7 = pMVar7->prev;" (assignment_expression "pMVar7 = pMVar7->prev" identifier = (field_expression "pMVar7->prev" identifier -> field_identifier)) ;) }) (else_clause "else {\n          pMVar7->urh->was_closed = true;\n          pMVar7->resuming = true;\n          daemon->resuming = true;\n          pMVar7 = pMVar7->prev;\n        }" else (compound_statement "{\n          pMVar7->urh->was_closed = true;\n          pMVar7->resuming = true;\n          daemon->resuming = true;\n          pMVar7 = pMVar7->prev;\n        }" { (expression_statement "pMVar7->urh->was_closed = true;" (assignment_expression "pMVar7->urh->was_closed = true" (field_expression "pMVar7->urh->was_closed" (field_expression "pMVar7->urh" identifier -> field_identifier) -> field_identifier) = true) ;) (expression_statement "pMVar7->resuming = true;" (assignment_expression "pMVar7->resuming = true" (field_expression "pMVar7->resuming" identifier -> field_identifier) = true) ;) (expression_statement "daemon->resuming = true;" (assignment_expression "daemon->resuming = true" (field_expression "daemon->resuming" identifier -> field_identifier) = true) ;) (expression_statement "pMVar7 = pMVar7->prev;" (assignment_expression "pMVar7 = pMVar7->prev" identifier = (field_expression "pMVar7->prev" identifier -> field_identifier)) ;) }))) (if_statement "if (pMVar7 == (MHD_Connection *)0x0) break;" if (parenthesized_expression "(pMVar7 == (MHD_Connection *)0x0)" ( (binary_expression "pMVar7 == (MHD_Connection *)0x0" identifier == (cast_expression "(MHD_Connection *)0x0" ( (type_descriptor "MHD_Connection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "pMVar3 = pMVar7->urh;" (assignment_expression "pMVar3 = pMVar7->urh" identifier = (field_expression "pMVar7->urh" identifier -> field_identifier)) ;) (expression_statement "uVar6 = 0x1a37;" (assignment_expression "uVar6 = 0x1a37" identifier = number_literal) ;) (if_statement "if (pMVar3 == (MHD_UpgradeResponseHandle *)0x0) goto LAB_000190c0;" if (parenthesized_expression "(pMVar3 == (MHD_UpgradeResponseHandle *)0x0)" ( (binary_expression "pMVar3 == (MHD_UpgradeResponseHandle *)0x0" identifier == (cast_expression "(MHD_UpgradeResponseHandle *)0x0" ( (type_descriptor "MHD_UpgradeResponseHandle *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000190c0;" goto statement_identifier ;)) })) })) }))) (expression_statement "pMVar7 = daemon->connections_tail;" (assignment_expression "pMVar7 = daemon->connections_tail" identifier = (field_expression "daemon->connections_tail" identifier -> field_identifier)) ;) (if_statement "if (pMVar7 != (MHD_Connection *)0x0) {\n    do {\n      (*(code *)PTR_shutdown_0003d134)(pMVar7->socket_fd,2);\n      pMVar7 = pMVar7->prev;\n    } while (pMVar7 != (MHD_Connection *)0x0);\n    pMVar7 = (MHD_Connection *)0x0;\n    if ((MVar9 & MHD_USE_THREAD_PER_CONNECTION) != MHD_NO_FLAG) {\n      pMVar7 = daemon->connections_tail;\n      while (pMVar7 != (MHD_Connection *)0x0) {\n        while (pMVar7->thread_joined != false) {\n          pMVar7 = pMVar7->prev;\n          if (pMVar7 == (MHD_Connection *)0x0) goto LAB_00018e1c;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(pMVar8);\n        if (iVar2 != 0) {\n          uVar6 = 0x1a6f;\n          goto LAB_00018f34;\n        }\n        iVar2 = (*(code *)PTR_pthread_join_0003d160)((pMVar7->pid).handle,0);\n        if (iVar2 != 0) {\n          uVar6 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_mhd_panic_0003d03c)\n                    (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar6 = 0x1a72;\n          goto LAB_00019098;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(pMVar8);\n        if (iVar2 != 0) goto LAB_00019094;\n        pMVar7->thread_joined = true;\n        pMVar7 = daemon->connections_tail;\n      }\n    }\n  }" if (parenthesized_expression "(pMVar7 != (MHD_Connection *)0x0)" ( (binary_expression "pMVar7 != (MHD_Connection *)0x0" identifier != (cast_expression "(MHD_Connection *)0x0" ( (type_descriptor "MHD_Connection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    do {\n      (*(code *)PTR_shutdown_0003d134)(pMVar7->socket_fd,2);\n      pMVar7 = pMVar7->prev;\n    } while (pMVar7 != (MHD_Connection *)0x0);\n    pMVar7 = (MHD_Connection *)0x0;\n    if ((MVar9 & MHD_USE_THREAD_PER_CONNECTION) != MHD_NO_FLAG) {\n      pMVar7 = daemon->connections_tail;\n      while (pMVar7 != (MHD_Connection *)0x0) {\n        while (pMVar7->thread_joined != false) {\n          pMVar7 = pMVar7->prev;\n          if (pMVar7 == (MHD_Connection *)0x0) goto LAB_00018e1c;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(pMVar8);\n        if (iVar2 != 0) {\n          uVar6 = 0x1a6f;\n          goto LAB_00018f34;\n        }\n        iVar2 = (*(code *)PTR_pthread_join_0003d160)((pMVar7->pid).handle,0);\n        if (iVar2 != 0) {\n          uVar6 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_mhd_panic_0003d03c)\n                    (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar6 = 0x1a72;\n          goto LAB_00019098;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(pMVar8);\n        if (iVar2 != 0) goto LAB_00019094;\n        pMVar7->thread_joined = true;\n        pMVar7 = daemon->connections_tail;\n      }\n    }\n  }" { (do_statement "do {\n      (*(code *)PTR_shutdown_0003d134)(pMVar7->socket_fd,2);\n      pMVar7 = pMVar7->prev;\n    } while (pMVar7 != (MHD_Connection *)0x0);" do (compound_statement "{\n      (*(code *)PTR_shutdown_0003d134)(pMVar7->socket_fd,2);\n      pMVar7 = pMVar7->prev;\n    }" { (expression_statement "(*(code *)PTR_shutdown_0003d134)(pMVar7->socket_fd,2);" (call_expression "(*(code *)PTR_shutdown_0003d134)(pMVar7->socket_fd,2)" (parenthesized_expression "(*(code *)PTR_shutdown_0003d134)" ( (pointer_expression "*(code *)PTR_shutdown_0003d134" * (cast_expression "(code *)PTR_shutdown_0003d134" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pMVar7->socket_fd,2)" ( (field_expression "pMVar7->socket_fd" identifier -> field_identifier) , number_literal ))) ;) (expression_statement "pMVar7 = pMVar7->prev;" (assignment_expression "pMVar7 = pMVar7->prev" identifier = (field_expression "pMVar7->prev" identifier -> field_identifier)) ;) }) while (parenthesized_expression "(pMVar7 != (MHD_Connection *)0x0)" ( (binary_expression "pMVar7 != (MHD_Connection *)0x0" identifier != (cast_expression "(MHD_Connection *)0x0" ( (type_descriptor "MHD_Connection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "pMVar7 = (MHD_Connection *)0x0;" (assignment_expression "pMVar7 = (MHD_Connection *)0x0" identifier = (cast_expression "(MHD_Connection *)0x0" ( (type_descriptor "MHD_Connection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if ((MVar9 & MHD_USE_THREAD_PER_CONNECTION) != MHD_NO_FLAG) {\n      pMVar7 = daemon->connections_tail;\n      while (pMVar7 != (MHD_Connection *)0x0) {\n        while (pMVar7->thread_joined != false) {\n          pMVar7 = pMVar7->prev;\n          if (pMVar7 == (MHD_Connection *)0x0) goto LAB_00018e1c;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(pMVar8);\n        if (iVar2 != 0) {\n          uVar6 = 0x1a6f;\n          goto LAB_00018f34;\n        }\n        iVar2 = (*(code *)PTR_pthread_join_0003d160)((pMVar7->pid).handle,0);\n        if (iVar2 != 0) {\n          uVar6 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_mhd_panic_0003d03c)\n                    (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar6 = 0x1a72;\n          goto LAB_00019098;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(pMVar8);\n        if (iVar2 != 0) goto LAB_00019094;\n        pMVar7->thread_joined = true;\n        pMVar7 = daemon->connections_tail;\n      }\n    }" if (parenthesized_expression "((MVar9 & MHD_USE_THREAD_PER_CONNECTION) != MHD_NO_FLAG)" ( (binary_expression "(MVar9 & MHD_USE_THREAD_PER_CONNECTION) != MHD_NO_FLAG" (parenthesized_expression "(MVar9 & MHD_USE_THREAD_PER_CONNECTION)" ( (binary_expression "MVar9 & MHD_USE_THREAD_PER_CONNECTION" identifier & identifier) )) != identifier) )) (compound_statement "{\n      pMVar7 = daemon->connections_tail;\n      while (pMVar7 != (MHD_Connection *)0x0) {\n        while (pMVar7->thread_joined != false) {\n          pMVar7 = pMVar7->prev;\n          if (pMVar7 == (MHD_Connection *)0x0) goto LAB_00018e1c;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(pMVar8);\n        if (iVar2 != 0) {\n          uVar6 = 0x1a6f;\n          goto LAB_00018f34;\n        }\n        iVar2 = (*(code *)PTR_pthread_join_0003d160)((pMVar7->pid).handle,0);\n        if (iVar2 != 0) {\n          uVar6 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_mhd_panic_0003d03c)\n                    (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar6 = 0x1a72;\n          goto LAB_00019098;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(pMVar8);\n        if (iVar2 != 0) goto LAB_00019094;\n        pMVar7->thread_joined = true;\n        pMVar7 = daemon->connections_tail;\n      }\n    }" { (expression_statement "pMVar7 = daemon->connections_tail;" (assignment_expression "pMVar7 = daemon->connections_tail" identifier = (field_expression "daemon->connections_tail" identifier -> field_identifier)) ;) (while_statement "while (pMVar7 != (MHD_Connection *)0x0) {\n        while (pMVar7->thread_joined != false) {\n          pMVar7 = pMVar7->prev;\n          if (pMVar7 == (MHD_Connection *)0x0) goto LAB_00018e1c;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(pMVar8);\n        if (iVar2 != 0) {\n          uVar6 = 0x1a6f;\n          goto LAB_00018f34;\n        }\n        iVar2 = (*(code *)PTR_pthread_join_0003d160)((pMVar7->pid).handle,0);\n        if (iVar2 != 0) {\n          uVar6 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_mhd_panic_0003d03c)\n                    (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar6 = 0x1a72;\n          goto LAB_00019098;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(pMVar8);\n        if (iVar2 != 0) goto LAB_00019094;\n        pMVar7->thread_joined = true;\n        pMVar7 = daemon->connections_tail;\n      }" while (parenthesized_expression "(pMVar7 != (MHD_Connection *)0x0)" ( (binary_expression "pMVar7 != (MHD_Connection *)0x0" identifier != (cast_expression "(MHD_Connection *)0x0" ( (type_descriptor "MHD_Connection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        while (pMVar7->thread_joined != false) {\n          pMVar7 = pMVar7->prev;\n          if (pMVar7 == (MHD_Connection *)0x0) goto LAB_00018e1c;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(pMVar8);\n        if (iVar2 != 0) {\n          uVar6 = 0x1a6f;\n          goto LAB_00018f34;\n        }\n        iVar2 = (*(code *)PTR_pthread_join_0003d160)((pMVar7->pid).handle,0);\n        if (iVar2 != 0) {\n          uVar6 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_mhd_panic_0003d03c)\n                    (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar6 = 0x1a72;\n          goto LAB_00019098;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(pMVar8);\n        if (iVar2 != 0) goto LAB_00019094;\n        pMVar7->thread_joined = true;\n        pMVar7 = daemon->connections_tail;\n      }" { (while_statement "while (pMVar7->thread_joined != false) {\n          pMVar7 = pMVar7->prev;\n          if (pMVar7 == (MHD_Connection *)0x0) goto LAB_00018e1c;\n        }" while (parenthesized_expression "(pMVar7->thread_joined != false)" ( (binary_expression "pMVar7->thread_joined != false" (field_expression "pMVar7->thread_joined" identifier -> field_identifier) != false) )) (compound_statement "{\n          pMVar7 = pMVar7->prev;\n          if (pMVar7 == (MHD_Connection *)0x0) goto LAB_00018e1c;\n        }" { (expression_statement "pMVar7 = pMVar7->prev;" (assignment_expression "pMVar7 = pMVar7->prev" identifier = (field_expression "pMVar7->prev" identifier -> field_identifier)) ;) (if_statement "if (pMVar7 == (MHD_Connection *)0x0) goto LAB_00018e1c;" if (parenthesized_expression "(pMVar7 == (MHD_Connection *)0x0)" ( (binary_expression "pMVar7 == (MHD_Connection *)0x0" identifier == (cast_expression "(MHD_Connection *)0x0" ( (type_descriptor "MHD_Connection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00018e1c;" goto statement_identifier ;)) })) (expression_statement "iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(pMVar8);" (assignment_expression "iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(pMVar8)" identifier = (call_expression "(*(code *)PTR_pthread_mutex_unlock_0003d280)(pMVar8)" (parenthesized_expression "(*(code *)PTR_pthread_mutex_unlock_0003d280)" ( (pointer_expression "*(code *)PTR_pthread_mutex_unlock_0003d280" * (cast_expression "(code *)PTR_pthread_mutex_unlock_0003d280" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pMVar8)" ( identifier )))) ;) (if_statement "if (iVar2 != 0) {\n          uVar6 = 0x1a6f;\n          goto LAB_00018f34;\n        }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n          uVar6 = 0x1a6f;\n          goto LAB_00018f34;\n        }" { (expression_statement "uVar6 = 0x1a6f;" (assignment_expression "uVar6 = 0x1a6f" identifier = number_literal) ;) (goto_statement "goto LAB_00018f34;" goto statement_identifier ;) })) (expression_statement "iVar2 = (*(code *)PTR_pthread_join_0003d160)((pMVar7->pid).handle,0);" (assignment_expression "iVar2 = (*(code *)PTR_pthread_join_0003d160)((pMVar7->pid).handle,0)" identifier = (call_expression "(*(code *)PTR_pthread_join_0003d160)((pMVar7->pid).handle,0)" (parenthesized_expression "(*(code *)PTR_pthread_join_0003d160)" ( (pointer_expression "*(code *)PTR_pthread_join_0003d160" * (cast_expression "(code *)PTR_pthread_join_0003d160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((pMVar7->pid).handle,0)" ( (field_expression "(pMVar7->pid).handle" (parenthesized_expression "(pMVar7->pid)" ( (field_expression "pMVar7->pid" identifier -> field_identifier) )) . field_identifier) , number_literal )))) ;) (if_statement "if (iVar2 != 0) {\n          uVar6 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_mhd_panic_0003d03c)\n                    (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar6 = 0x1a72;\n          goto LAB_00019098;\n        }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n          uVar6 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_mhd_panic_0003d03c)\n                    (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar6 = 0x1a72;\n          goto LAB_00019098;\n        }" { (expression_statement "uVar6 = 0x1a71;" (assignment_expression "uVar6 = 0x1a71" identifier = number_literal) ;) (labeled_statement "LAB_00019070:\n          (**(code **)PTR_mhd_panic_0003d03c)\n                    (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                     PTR_DAT_0003d02c + -0x4d40);" statement_identifier : (expression_statement "(**(code **)PTR_mhd_panic_0003d03c)\n                    (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                     PTR_DAT_0003d02c + -0x4d40);" (call_expression "(**(code **)PTR_mhd_panic_0003d03c)\n                    (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                     PTR_DAT_0003d02c + -0x4d40)" (parenthesized_expression "(**(code **)PTR_mhd_panic_0003d03c)" ( (pointer_expression "**(code **)PTR_mhd_panic_0003d03c" * (pointer_expression "*(code **)PTR_mhd_panic_0003d03c" * (cast_expression "(code **)PTR_mhd_panic_0003d03c" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                     PTR_DAT_0003d02c + -0x4d40)" ( (pointer_expression "*(undefined4 *)PTR_mhd_panic_cls_0003d038" * (cast_expression "(undefined4 *)PTR_mhd_panic_cls_0003d038" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "PTR_DAT_0003d02c + -0x51b0" identifier + number_literal) , identifier , (binary_expression "PTR_DAT_0003d02c + -0x4d40" identifier + number_literal) ))) ;)) (labeled_statement "LAB_00019094:\n          uVar6 = 0x1a72;" statement_identifier : (expression_statement "uVar6 = 0x1a72;" (assignment_expression "uVar6 = 0x1a72" identifier = number_literal) ;)) (goto_statement "goto LAB_00019098;" goto statement_identifier ;) })) (expression_statement "iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(pMVar8);" (assignment_expression "iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(pMVar8)" identifier = (call_expression "(*(code *)PTR_pthread_mutex_lock_0003d210)(pMVar8)" (parenthesized_expression "(*(code *)PTR_pthread_mutex_lock_0003d210)" ( (pointer_expression "*(code *)PTR_pthread_mutex_lock_0003d210" * (cast_expression "(code *)PTR_pthread_mutex_lock_0003d210" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pMVar8)" ( identifier )))) ;) (if_statement "if (iVar2 != 0) goto LAB_00019094;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00019094;" goto statement_identifier ;)) (expression_statement "pMVar7->thread_joined = true;" (assignment_expression "pMVar7->thread_joined = true" (field_expression "pMVar7->thread_joined" identifier -> field_identifier) = true) ;) (expression_statement "pMVar7 = daemon->connections_tail;" (assignment_expression "pMVar7 = daemon->connections_tail" identifier = (field_expression "daemon->connections_tail" identifier -> field_identifier)) ;) })) })) })) (labeled_statement "LAB_00018e1c:\n  iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(pMVar8);" statement_identifier : (expression_statement "iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(pMVar8);" (assignment_expression "iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(pMVar8)" identifier = (call_expression "(*(code *)PTR_pthread_mutex_unlock_0003d280)(pMVar8)" (parenthesized_expression "(*(code *)PTR_pthread_mutex_unlock_0003d280)" ( (pointer_expression "*(code *)PTR_pthread_mutex_unlock_0003d280" * (cast_expression "(code *)PTR_pthread_mutex_unlock_0003d280" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pMVar8)" ( identifier )))) ;)) (expression_statement "uVar6 = 0x1a7c;" (assignment_expression "uVar6 = 0x1a7c" identifier = number_literal) ;) (if_statement "if (iVar2 != 0) goto LAB_00018f34;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00018f34;" goto statement_identifier ;)) (if_statement "if (pMVar10 != (MHD_mutex_ *)0x0) {\n    daemon->resuming = true;\n    resume_suspended_connections(daemon);\n  }" if (parenthesized_expression "(pMVar10 != (MHD_mutex_ *)0x0)" ( (binary_expression "pMVar10 != (MHD_mutex_ *)0x0" identifier != (cast_expression "(MHD_mutex_ *)0x0" ( (type_descriptor "MHD_mutex_ *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    daemon->resuming = true;\n    resume_suspended_connections(daemon);\n  }" { (expression_statement "daemon->resuming = true;" (assignment_expression "daemon->resuming = true" (field_expression "daemon->resuming" identifier -> field_identifier) = true) ;) (expression_statement "resume_suspended_connections(daemon);" (call_expression "resume_suspended_connections(daemon)" identifier (argument_list "(daemon)" ( identifier ))) ;) })) (labeled_statement "LAB_00018e38:\n  pMVar7 = daemon->connections_tail;" statement_identifier : (expression_statement "pMVar7 = daemon->connections_tail;" (assignment_expression "pMVar7 = daemon->connections_tail" identifier = (field_expression "daemon->connections_tail" identifier -> field_identifier)) ;)) (while_statement "while( true ) {\n    if (pMVar7 == (MHD_Connection *)0x0) {\n      MHD_cleanup_connections(daemon);\n      return;\n    }\n    if (((daemon->options & MHD_USE_THREAD_PER_CONNECTION) != MHD_NO_FLAG) &&\n       (uVar6 = 0x1a91, pMVar7->thread_joined == false)) goto LAB_00019070;\n    pMVar8 = pMVar7->daemon;\n    if ((pMVar8->options & MHD_USE_THREAD_PER_CONNECTION) == MHD_NO_FLAG) break;\n    MHD_connection_mark_closed_(pMVar7);\n    pMVar7 = daemon->connections_tail;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if (pMVar7 == (MHD_Connection *)0x0) {\n      MHD_cleanup_connections(daemon);\n      return;\n    }\n    if (((daemon->options & MHD_USE_THREAD_PER_CONNECTION) != MHD_NO_FLAG) &&\n       (uVar6 = 0x1a91, pMVar7->thread_joined == false)) goto LAB_00019070;\n    pMVar8 = pMVar7->daemon;\n    if ((pMVar8->options & MHD_USE_THREAD_PER_CONNECTION) == MHD_NO_FLAG) break;\n    MHD_connection_mark_closed_(pMVar7);\n    pMVar7 = daemon->connections_tail;\n  }" { (if_statement "if (pMVar7 == (MHD_Connection *)0x0) {\n      MHD_cleanup_connections(daemon);\n      return;\n    }" if (parenthesized_expression "(pMVar7 == (MHD_Connection *)0x0)" ( (binary_expression "pMVar7 == (MHD_Connection *)0x0" identifier == (cast_expression "(MHD_Connection *)0x0" ( (type_descriptor "MHD_Connection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      MHD_cleanup_connections(daemon);\n      return;\n    }" { (expression_statement "MHD_cleanup_connections(daemon);" (call_expression "MHD_cleanup_connections(daemon)" identifier (argument_list "(daemon)" ( identifier ))) ;) (return_statement "return;" return ;) })) (if_statement "if (((daemon->options & MHD_USE_THREAD_PER_CONNECTION) != MHD_NO_FLAG) &&\n       (uVar6 = 0x1a91, pMVar7->thread_joined == false)) goto LAB_00019070;" if (parenthesized_expression "(((daemon->options & MHD_USE_THREAD_PER_CONNECTION) != MHD_NO_FLAG) &&\n       (uVar6 = 0x1a91, pMVar7->thread_joined == false))" ( (binary_expression "((daemon->options & MHD_USE_THREAD_PER_CONNECTION) != MHD_NO_FLAG) &&\n       (uVar6 = 0x1a91, pMVar7->thread_joined == false)" (parenthesized_expression "((daemon->options & MHD_USE_THREAD_PER_CONNECTION) != MHD_NO_FLAG)" ( (binary_expression "(daemon->options & MHD_USE_THREAD_PER_CONNECTION) != MHD_NO_FLAG" (parenthesized_expression "(daemon->options & MHD_USE_THREAD_PER_CONNECTION)" ( (binary_expression "daemon->options & MHD_USE_THREAD_PER_CONNECTION" (field_expression "daemon->options" identifier -> field_identifier) & identifier) )) != identifier) )) && (parenthesized_expression "(uVar6 = 0x1a91, pMVar7->thread_joined == false)" ( (comma_expression "uVar6 = 0x1a91, pMVar7->thread_joined == false" (assignment_expression "uVar6 = 0x1a91" identifier = number_literal) , (binary_expression "pMVar7->thread_joined == false" (field_expression "pMVar7->thread_joined" identifier -> field_identifier) == false)) ))) )) (goto_statement "goto LAB_00019070;" goto statement_identifier ;)) (expression_statement "pMVar8 = pMVar7->daemon;" (assignment_expression "pMVar8 = pMVar7->daemon" identifier = (field_expression "pMVar7->daemon" identifier -> field_identifier)) ;) (if_statement "if ((pMVar8->options & MHD_USE_THREAD_PER_CONNECTION) == MHD_NO_FLAG) break;" if (parenthesized_expression "((pMVar8->options & MHD_USE_THREAD_PER_CONNECTION) == MHD_NO_FLAG)" ( (binary_expression "(pMVar8->options & MHD_USE_THREAD_PER_CONNECTION) == MHD_NO_FLAG" (parenthesized_expression "(pMVar8->options & MHD_USE_THREAD_PER_CONNECTION)" ( (binary_expression "pMVar8->options & MHD_USE_THREAD_PER_CONNECTION" (field_expression "pMVar8->options" identifier -> field_identifier) & identifier) )) == identifier) )) (break_statement "break;" break ;)) (expression_statement "MHD_connection_mark_closed_(pMVar7);" (call_expression "MHD_connection_mark_closed_(pMVar7)" identifier (argument_list "(pMVar7)" ( identifier ))) ;) (expression_statement "pMVar7 = daemon->connections_tail;" (assignment_expression "pMVar7 = daemon->connections_tail" identifier = (field_expression "daemon->connections_tail" identifier -> field_identifier)) ;) })) (expression_statement "pMVar10 = &pMVar8->cleanup_connection_mutex;" (assignment_expression "pMVar10 = &pMVar8->cleanup_connection_mutex" identifier = (pointer_expression "&pMVar8->cleanup_connection_mutex" & (field_expression "pMVar8->cleanup_connection_mutex" identifier -> field_identifier))) ;) (expression_statement "MHD_connection_close_(pMVar7,MHD_REQUEST_TERMINATED_DAEMON_SHUTDOWN);" (call_expression "MHD_connection_close_(pMVar7,MHD_REQUEST_TERMINATED_DAEMON_SHUTDOWN)" identifier (argument_list "(pMVar7,MHD_REQUEST_TERMINATED_DAEMON_SHUTDOWN)" ( identifier , identifier ))) ;) (expression_statement "iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(pMVar10);" (assignment_expression "iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(pMVar10)" identifier = (call_expression "(*(code *)PTR_pthread_mutex_lock_0003d210)(pMVar10)" (parenthesized_expression "(*(code *)PTR_pthread_mutex_lock_0003d210)" ( (pointer_expression "*(code *)PTR_pthread_mutex_lock_0003d210" * (cast_expression "(code *)PTR_pthread_mutex_lock_0003d210" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pMVar10)" ( identifier )))) ;) (if_statement "if (iVar2 != 0) {\n    do {\n      uVar6 = 0x1274;\nLAB_00019098:\n      (**(code **)PTR_mhd_panic_0003d03c)\n                (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                 PTR_DAT_0003d02c + -0x62c0);\nLAB_000190c0:\n      uVar6 = 0x1a37;\nLAB_000190c4:\n      (**(code **)PTR_mhd_panic_0003d03c)\n                (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                 PTR_DAT_0003d02c + -0x4ce4);\n    } while( true );\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    do {\n      uVar6 = 0x1274;\nLAB_00019098:\n      (**(code **)PTR_mhd_panic_0003d03c)\n                (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                 PTR_DAT_0003d02c + -0x62c0);\nLAB_000190c0:\n      uVar6 = 0x1a37;\nLAB_000190c4:\n      (**(code **)PTR_mhd_panic_0003d03c)\n                (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                 PTR_DAT_0003d02c + -0x4ce4);\n    } while( true );\n  }" { (do_statement "do {\n      uVar6 = 0x1274;\nLAB_00019098:\n      (**(code **)PTR_mhd_panic_0003d03c)\n                (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                 PTR_DAT_0003d02c + -0x62c0);\nLAB_000190c0:\n      uVar6 = 0x1a37;\nLAB_000190c4:\n      (**(code **)PTR_mhd_panic_0003d03c)\n                (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                 PTR_DAT_0003d02c + -0x4ce4);\n    } while( true );" do (compound_statement "{\n      uVar6 = 0x1274;\nLAB_00019098:\n      (**(code **)PTR_mhd_panic_0003d03c)\n                (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                 PTR_DAT_0003d02c + -0x62c0);\nLAB_000190c0:\n      uVar6 = 0x1a37;\nLAB_000190c4:\n      (**(code **)PTR_mhd_panic_0003d03c)\n                (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                 PTR_DAT_0003d02c + -0x4ce4);\n    }" { (expression_statement "uVar6 = 0x1274;" (assignment_expression "uVar6 = 0x1274" identifier = number_literal) ;) (labeled_statement "LAB_00019098:\n      (**(code **)PTR_mhd_panic_0003d03c)\n                (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                 PTR_DAT_0003d02c + -0x62c0);" statement_identifier : (expression_statement "(**(code **)PTR_mhd_panic_0003d03c)\n                (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                 PTR_DAT_0003d02c + -0x62c0);" (call_expression "(**(code **)PTR_mhd_panic_0003d03c)\n                (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                 PTR_DAT_0003d02c + -0x62c0)" (parenthesized_expression "(**(code **)PTR_mhd_panic_0003d03c)" ( (pointer_expression "**(code **)PTR_mhd_panic_0003d03c" * (pointer_expression "*(code **)PTR_mhd_panic_0003d03c" * (cast_expression "(code **)PTR_mhd_panic_0003d03c" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                 PTR_DAT_0003d02c + -0x62c0)" ( (pointer_expression "*(undefined4 *)PTR_mhd_panic_cls_0003d038" * (cast_expression "(undefined4 *)PTR_mhd_panic_cls_0003d038" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "PTR_DAT_0003d02c + -0x51b0" identifier + number_literal) , identifier , (binary_expression "PTR_DAT_0003d02c + -0x62c0" identifier + number_literal) ))) ;)) (labeled_statement "LAB_000190c0:\n      uVar6 = 0x1a37;" statement_identifier : (expression_statement "uVar6 = 0x1a37;" (assignment_expression "uVar6 = 0x1a37" identifier = number_literal) ;)) (labeled_statement "LAB_000190c4:\n      (**(code **)PTR_mhd_panic_0003d03c)\n                (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                 PTR_DAT_0003d02c + -0x4ce4);" statement_identifier : (expression_statement "(**(code **)PTR_mhd_panic_0003d03c)\n                (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                 PTR_DAT_0003d02c + -0x4ce4);" (call_expression "(**(code **)PTR_mhd_panic_0003d03c)\n                (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                 PTR_DAT_0003d02c + -0x4ce4)" (parenthesized_expression "(**(code **)PTR_mhd_panic_0003d03c)" ( (pointer_expression "**(code **)PTR_mhd_panic_0003d03c" * (pointer_expression "*(code **)PTR_mhd_panic_0003d03c" * (cast_expression "(code **)PTR_mhd_panic_0003d03c" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                 PTR_DAT_0003d02c + -0x4ce4)" ( (pointer_expression "*(undefined4 *)PTR_mhd_panic_cls_0003d038" * (cast_expression "(undefined4 *)PTR_mhd_panic_cls_0003d038" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "PTR_DAT_0003d02c + -0x51b0" identifier + number_literal) , identifier , (binary_expression "PTR_DAT_0003d02c + -0x4ce4" identifier + number_literal) ))) ;)) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "pMVar4 = pMVar7->prevX;" (assignment_expression "pMVar4 = pMVar7->prevX" identifier = (field_expression "pMVar7->prevX" identifier -> field_identifier)) ;) (expression_statement "pMVar5 = pMVar7->nextX;" (assignment_expression "pMVar5 = pMVar7->nextX" identifier = (field_expression "pMVar7->nextX" identifier -> field_identifier)) ;) (if_statement "if (pMVar7->connection_timeout == pMVar8->connection_timeout) {\n    if (pMVar4 == (MHD_Connection *)0x0) {\n      pMVar8->normal_timeout_head = pMVar5;\n    }\n    else {\n      pMVar4->nextX = pMVar5;\n    }\n    pMVar5 = pMVar7->nextX;\n    pMVar4 = pMVar7->prevX;\n    if (pMVar5 == (MHD_Connection *)0x0) {\n      pMVar8->normal_timeout_tail = pMVar4;\n      goto LAB_00018ecc;\n    }\n  }\n  else {\n    if (pMVar4 == (MHD_Connection *)0x0) {\n      pMVar8->manual_timeout_head = pMVar5;\n    }\n    else {\n      pMVar4->nextX = pMVar5;\n    }\n    pMVar5 = pMVar7->nextX;\n    pMVar4 = pMVar7->prevX;\n    if (pMVar5 == (MHD_Connection *)0x0) goto LAB_00018f58;\n  }" if (parenthesized_expression "(pMVar7->connection_timeout == pMVar8->connection_timeout)" ( (binary_expression "pMVar7->connection_timeout == pMVar8->connection_timeout" (field_expression "pMVar7->connection_timeout" identifier -> field_identifier) == (field_expression "pMVar8->connection_timeout" identifier -> field_identifier)) )) (compound_statement "{\n    if (pMVar4 == (MHD_Connection *)0x0) {\n      pMVar8->normal_timeout_head = pMVar5;\n    }\n    else {\n      pMVar4->nextX = pMVar5;\n    }\n    pMVar5 = pMVar7->nextX;\n    pMVar4 = pMVar7->prevX;\n    if (pMVar5 == (MHD_Connection *)0x0) {\n      pMVar8->normal_timeout_tail = pMVar4;\n      goto LAB_00018ecc;\n    }\n  }" { (if_statement "if (pMVar4 == (MHD_Connection *)0x0) {\n      pMVar8->normal_timeout_head = pMVar5;\n    }\n    else {\n      pMVar4->nextX = pMVar5;\n    }" if (parenthesized_expression "(pMVar4 == (MHD_Connection *)0x0)" ( (binary_expression "pMVar4 == (MHD_Connection *)0x0" identifier == (cast_expression "(MHD_Connection *)0x0" ( (type_descriptor "MHD_Connection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pMVar8->normal_timeout_head = pMVar5;\n    }" { (expression_statement "pMVar8->normal_timeout_head = pMVar5;" (assignment_expression "pMVar8->normal_timeout_head = pMVar5" (field_expression "pMVar8->normal_timeout_head" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\n      pMVar4->nextX = pMVar5;\n    }" else (compound_statement "{\n      pMVar4->nextX = pMVar5;\n    }" { (expression_statement "pMVar4->nextX = pMVar5;" (assignment_expression "pMVar4->nextX = pMVar5" (field_expression "pMVar4->nextX" identifier -> field_identifier) = identifier) ;) }))) (expression_statement "pMVar5 = pMVar7->nextX;" (assignment_expression "pMVar5 = pMVar7->nextX" identifier = (field_expression "pMVar7->nextX" identifier -> field_identifier)) ;) (expression_statement "pMVar4 = pMVar7->prevX;" (assignment_expression "pMVar4 = pMVar7->prevX" identifier = (field_expression "pMVar7->prevX" identifier -> field_identifier)) ;) (if_statement "if (pMVar5 == (MHD_Connection *)0x0) {\n      pMVar8->normal_timeout_tail = pMVar4;\n      goto LAB_00018ecc;\n    }" if (parenthesized_expression "(pMVar5 == (MHD_Connection *)0x0)" ( (binary_expression "pMVar5 == (MHD_Connection *)0x0" identifier == (cast_expression "(MHD_Connection *)0x0" ( (type_descriptor "MHD_Connection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pMVar8->normal_timeout_tail = pMVar4;\n      goto LAB_00018ecc;\n    }" { (expression_statement "pMVar8->normal_timeout_tail = pMVar4;" (assignment_expression "pMVar8->normal_timeout_tail = pMVar4" (field_expression "pMVar8->normal_timeout_tail" identifier -> field_identifier) = identifier) ;) (goto_statement "goto LAB_00018ecc;" goto statement_identifier ;) })) }) (else_clause "else {\n    if (pMVar4 == (MHD_Connection *)0x0) {\n      pMVar8->manual_timeout_head = pMVar5;\n    }\n    else {\n      pMVar4->nextX = pMVar5;\n    }\n    pMVar5 = pMVar7->nextX;\n    pMVar4 = pMVar7->prevX;\n    if (pMVar5 == (MHD_Connection *)0x0) goto LAB_00018f58;\n  }" else (compound_statement "{\n    if (pMVar4 == (MHD_Connection *)0x0) {\n      pMVar8->manual_timeout_head = pMVar5;\n    }\n    else {\n      pMVar4->nextX = pMVar5;\n    }\n    pMVar5 = pMVar7->nextX;\n    pMVar4 = pMVar7->prevX;\n    if (pMVar5 == (MHD_Connection *)0x0) goto LAB_00018f58;\n  }" { (if_statement "if (pMVar4 == (MHD_Connection *)0x0) {\n      pMVar8->manual_timeout_head = pMVar5;\n    }\n    else {\n      pMVar4->nextX = pMVar5;\n    }" if (parenthesized_expression "(pMVar4 == (MHD_Connection *)0x0)" ( (binary_expression "pMVar4 == (MHD_Connection *)0x0" identifier == (cast_expression "(MHD_Connection *)0x0" ( (type_descriptor "MHD_Connection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pMVar8->manual_timeout_head = pMVar5;\n    }" { (expression_statement "pMVar8->manual_timeout_head = pMVar5;" (assignment_expression "pMVar8->manual_timeout_head = pMVar5" (field_expression "pMVar8->manual_timeout_head" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\n      pMVar4->nextX = pMVar5;\n    }" else (compound_statement "{\n      pMVar4->nextX = pMVar5;\n    }" { (expression_statement "pMVar4->nextX = pMVar5;" (assignment_expression "pMVar4->nextX = pMVar5" (field_expression "pMVar4->nextX" identifier -> field_identifier) = identifier) ;) }))) (expression_statement "pMVar5 = pMVar7->nextX;" (assignment_expression "pMVar5 = pMVar7->nextX" identifier = (field_expression "pMVar7->nextX" identifier -> field_identifier)) ;) (expression_statement "pMVar4 = pMVar7->prevX;" (assignment_expression "pMVar4 = pMVar7->prevX" identifier = (field_expression "pMVar7->prevX" identifier -> field_identifier)) ;) (if_statement "if (pMVar5 == (MHD_Connection *)0x0) goto LAB_00018f58;" if (parenthesized_expression "(pMVar5 == (MHD_Connection *)0x0)" ( (binary_expression "pMVar5 == (MHD_Connection *)0x0" identifier == (cast_expression "(MHD_Connection *)0x0" ( (type_descriptor "MHD_Connection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00018f58;" goto statement_identifier ;)) }))) (expression_statement "pMVar5->prevX = pMVar4;" (assignment_expression "pMVar5->prevX = pMVar4" (field_expression "pMVar5->prevX" identifier -> field_identifier) = identifier) ;) (labeled_statement "LAB_00018ecc:\n  pMVar4 = pMVar7->prev;" statement_identifier : (expression_statement "pMVar4 = pMVar7->prev;" (assignment_expression "pMVar4 = pMVar7->prev" identifier = (field_expression "pMVar7->prev" identifier -> field_identifier)) ;)) (expression_statement "pMVar5 = pMVar7->next;" (assignment_expression "pMVar5 = pMVar7->next" identifier = (field_expression "pMVar7->next" identifier -> field_identifier)) ;) (expression_statement "pMVar7->nextX = (MHD_Connection *)0x0;" (assignment_expression "pMVar7->nextX = (MHD_Connection *)0x0" (field_expression "pMVar7->nextX" identifier -> field_identifier) = (cast_expression "(MHD_Connection *)0x0" ( (type_descriptor "MHD_Connection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pMVar7->prevX = (MHD_Connection *)0x0;" (assignment_expression "pMVar7->prevX = (MHD_Connection *)0x0" (field_expression "pMVar7->prevX" identifier -> field_identifier) = (cast_expression "(MHD_Connection *)0x0" ( (type_descriptor "MHD_Connection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (pMVar4 == (MHD_Connection *)0x0) goto LAB_00018f70;" if (parenthesized_expression "(pMVar4 == (MHD_Connection *)0x0)" ( (binary_expression "pMVar4 == (MHD_Connection *)0x0" identifier == (cast_expression "(MHD_Connection *)0x0" ( (type_descriptor "MHD_Connection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00018f70;" goto statement_identifier ;)) (labeled_statement "LAB_00018ee0:\n  pMVar4->next = pMVar5;" statement_identifier : (expression_statement "pMVar4->next = pMVar5;" (assignment_expression "pMVar4->next = pMVar5" (field_expression "pMVar4->next" identifier -> field_identifier) = identifier) ;)) (expression_statement "pMVar4 = pMVar7->next;" (assignment_expression "pMVar4 = pMVar7->next" identifier = (field_expression "pMVar7->next" identifier -> field_identifier)) ;) (expression_statement "pMVar5 = pMVar7->prev;" (assignment_expression "pMVar5 = pMVar7->prev" identifier = (field_expression "pMVar7->prev" identifier -> field_identifier)) ;) (if_statement "if (pMVar4 == (MHD_Connection *)0x0) goto LAB_00018f80;" if (parenthesized_expression "(pMVar4 == (MHD_Connection *)0x0)" ( (binary_expression "pMVar4 == (MHD_Connection *)0x0" identifier == (cast_expression "(MHD_Connection *)0x0" ( (type_descriptor "MHD_Connection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00018f80;" goto statement_identifier ;)) (labeled_statement "LAB_00018ef0:\n  pMVar4->prev = pMVar5;" statement_identifier : (expression_statement "pMVar4->prev = pMVar5;" (assignment_expression "pMVar4->prev = pMVar5" (field_expression "pMVar4->prev" identifier -> field_identifier) = identifier) ;)) (expression_statement "pMVar7->next = (MHD_Connection *)0x0;" (assignment_expression "pMVar7->next = (MHD_Connection *)0x0" (field_expression "pMVar7->next" identifier -> field_identifier) = (cast_expression "(MHD_Connection *)0x0" ( (type_descriptor "MHD_Connection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pMVar7->prev = (MHD_Connection *)0x0;" (assignment_expression "pMVar7->prev = (MHD_Connection *)0x0" (field_expression "pMVar7->prev" identifier -> field_identifier) = (cast_expression "(MHD_Connection *)0x0" ( (type_descriptor "MHD_Connection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pMVar7->next = pMVar8->cleanup_head;" (assignment_expression "pMVar7->next = pMVar8->cleanup_head" (field_expression "pMVar7->next" identifier -> field_identifier) = (field_expression "pMVar8->cleanup_head" identifier -> field_identifier)) ;) (if_statement "if (pMVar8->cleanup_tail == (MHD_Connection *)0x0) goto LAB_00018fa0;" if (parenthesized_expression "(pMVar8->cleanup_tail == (MHD_Connection *)0x0)" ( (binary_expression "pMVar8->cleanup_tail == (MHD_Connection *)0x0" (field_expression "pMVar8->cleanup_tail" identifier -> field_identifier) == (cast_expression "(MHD_Connection *)0x0" ( (type_descriptor "MHD_Connection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00018fa0;" goto statement_identifier ;)) (do_statement "do {\n    pMVar8->cleanup_head->prev = pMVar7;\n    while( true ) {\n      puVar1 = PTR_pthread_mutex_unlock_0003d280;\n      pMVar8->cleanup_head = pMVar7;\n      iVar2 = (*(code *)puVar1)(pMVar10);\n      if (iVar2 == 0) goto LAB_00018e38;\n      uVar6 = 0x1287;\nLAB_00018f34:\n      (**(code **)PTR_mhd_panic_0003d03c)\n                (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                 PTR_DAT_0003d02c + -0x6298);\n      pMVar4 = extraout_v1;\nLAB_00018f58:\n      pMVar8->manual_timeout_tail = pMVar4;\n      pMVar7->nextX = (MHD_Connection *)0x0;\n      pMVar7->prevX = (MHD_Connection *)0x0;\n      pMVar4 = pMVar7->prev;\n      pMVar5 = pMVar7->next;\n      if (pMVar4 != (MHD_Connection *)0x0) goto LAB_00018ee0;\nLAB_00018f70:\n      pMVar8->connections_head = pMVar5;\n      pMVar4 = pMVar7->next;\n      pMVar5 = pMVar7->prev;\n      if (pMVar4 != (MHD_Connection *)0x0) goto LAB_00018ef0;\nLAB_00018f80:\n      pMVar8->connections_tail = pMVar5;\n      pMVar7->next = (MHD_Connection *)0x0;\n      pMVar7->prev = (MHD_Connection *)0x0;\n      pMVar7->next = pMVar8->cleanup_head;\n      if (pMVar8->cleanup_tail != (MHD_Connection *)0x0) break;\nLAB_00018fa0:\n      pMVar8->cleanup_tail = pMVar7;\n    }\n  } while( true );" do (compound_statement "{\n    pMVar8->cleanup_head->prev = pMVar7;\n    while( true ) {\n      puVar1 = PTR_pthread_mutex_unlock_0003d280;\n      pMVar8->cleanup_head = pMVar7;\n      iVar2 = (*(code *)puVar1)(pMVar10);\n      if (iVar2 == 0) goto LAB_00018e38;\n      uVar6 = 0x1287;\nLAB_00018f34:\n      (**(code **)PTR_mhd_panic_0003d03c)\n                (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                 PTR_DAT_0003d02c + -0x6298);\n      pMVar4 = extraout_v1;\nLAB_00018f58:\n      pMVar8->manual_timeout_tail = pMVar4;\n      pMVar7->nextX = (MHD_Connection *)0x0;\n      pMVar7->prevX = (MHD_Connection *)0x0;\n      pMVar4 = pMVar7->prev;\n      pMVar5 = pMVar7->next;\n      if (pMVar4 != (MHD_Connection *)0x0) goto LAB_00018ee0;\nLAB_00018f70:\n      pMVar8->connections_head = pMVar5;\n      pMVar4 = pMVar7->next;\n      pMVar5 = pMVar7->prev;\n      if (pMVar4 != (MHD_Connection *)0x0) goto LAB_00018ef0;\nLAB_00018f80:\n      pMVar8->connections_tail = pMVar5;\n      pMVar7->next = (MHD_Connection *)0x0;\n      pMVar7->prev = (MHD_Connection *)0x0;\n      pMVar7->next = pMVar8->cleanup_head;\n      if (pMVar8->cleanup_tail != (MHD_Connection *)0x0) break;\nLAB_00018fa0:\n      pMVar8->cleanup_tail = pMVar7;\n    }\n  }" { (expression_statement "pMVar8->cleanup_head->prev = pMVar7;" (assignment_expression "pMVar8->cleanup_head->prev = pMVar7" (field_expression "pMVar8->cleanup_head->prev" (field_expression "pMVar8->cleanup_head" identifier -> field_identifier) -> field_identifier) = identifier) ;) (while_statement "while( true ) {\n      puVar1 = PTR_pthread_mutex_unlock_0003d280;\n      pMVar8->cleanup_head = pMVar7;\n      iVar2 = (*(code *)puVar1)(pMVar10);\n      if (iVar2 == 0) goto LAB_00018e38;\n      uVar6 = 0x1287;\nLAB_00018f34:\n      (**(code **)PTR_mhd_panic_0003d03c)\n                (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                 PTR_DAT_0003d02c + -0x6298);\n      pMVar4 = extraout_v1;\nLAB_00018f58:\n      pMVar8->manual_timeout_tail = pMVar4;\n      pMVar7->nextX = (MHD_Connection *)0x0;\n      pMVar7->prevX = (MHD_Connection *)0x0;\n      pMVar4 = pMVar7->prev;\n      pMVar5 = pMVar7->next;\n      if (pMVar4 != (MHD_Connection *)0x0) goto LAB_00018ee0;\nLAB_00018f70:\n      pMVar8->connections_head = pMVar5;\n      pMVar4 = pMVar7->next;\n      pMVar5 = pMVar7->prev;\n      if (pMVar4 != (MHD_Connection *)0x0) goto LAB_00018ef0;\nLAB_00018f80:\n      pMVar8->connections_tail = pMVar5;\n      pMVar7->next = (MHD_Connection *)0x0;\n      pMVar7->prev = (MHD_Connection *)0x0;\n      pMVar7->next = pMVar8->cleanup_head;\n      if (pMVar8->cleanup_tail != (MHD_Connection *)0x0) break;\nLAB_00018fa0:\n      pMVar8->cleanup_tail = pMVar7;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      puVar1 = PTR_pthread_mutex_unlock_0003d280;\n      pMVar8->cleanup_head = pMVar7;\n      iVar2 = (*(code *)puVar1)(pMVar10);\n      if (iVar2 == 0) goto LAB_00018e38;\n      uVar6 = 0x1287;\nLAB_00018f34:\n      (**(code **)PTR_mhd_panic_0003d03c)\n                (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                 PTR_DAT_0003d02c + -0x6298);\n      pMVar4 = extraout_v1;\nLAB_00018f58:\n      pMVar8->manual_timeout_tail = pMVar4;\n      pMVar7->nextX = (MHD_Connection *)0x0;\n      pMVar7->prevX = (MHD_Connection *)0x0;\n      pMVar4 = pMVar7->prev;\n      pMVar5 = pMVar7->next;\n      if (pMVar4 != (MHD_Connection *)0x0) goto LAB_00018ee0;\nLAB_00018f70:\n      pMVar8->connections_head = pMVar5;\n      pMVar4 = pMVar7->next;\n      pMVar5 = pMVar7->prev;\n      if (pMVar4 != (MHD_Connection *)0x0) goto LAB_00018ef0;\nLAB_00018f80:\n      pMVar8->connections_tail = pMVar5;\n      pMVar7->next = (MHD_Connection *)0x0;\n      pMVar7->prev = (MHD_Connection *)0x0;\n      pMVar7->next = pMVar8->cleanup_head;\n      if (pMVar8->cleanup_tail != (MHD_Connection *)0x0) break;\nLAB_00018fa0:\n      pMVar8->cleanup_tail = pMVar7;\n    }" { (expression_statement "puVar1 = PTR_pthread_mutex_unlock_0003d280;" (assignment_expression "puVar1 = PTR_pthread_mutex_unlock_0003d280" identifier = identifier) ;) (expression_statement "pMVar8->cleanup_head = pMVar7;" (assignment_expression "pMVar8->cleanup_head = pMVar7" (field_expression "pMVar8->cleanup_head" identifier -> field_identifier) = identifier) ;) (expression_statement "iVar2 = (*(code *)puVar1)(pMVar10);" (assignment_expression "iVar2 = (*(code *)puVar1)(pMVar10)" identifier = (call_expression "(*(code *)puVar1)(pMVar10)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pMVar10)" ( identifier )))) ;) (if_statement "if (iVar2 == 0) goto LAB_00018e38;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00018e38;" goto statement_identifier ;)) (expression_statement "uVar6 = 0x1287;" (assignment_expression "uVar6 = 0x1287" identifier = number_literal) ;) (labeled_statement "LAB_00018f34:\n      (**(code **)PTR_mhd_panic_0003d03c)\n                (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                 PTR_DAT_0003d02c + -0x6298);" statement_identifier : (expression_statement "(**(code **)PTR_mhd_panic_0003d03c)\n                (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                 PTR_DAT_0003d02c + -0x6298);" (call_expression "(**(code **)PTR_mhd_panic_0003d03c)\n                (*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                 PTR_DAT_0003d02c + -0x6298)" (parenthesized_expression "(**(code **)PTR_mhd_panic_0003d03c)" ( (pointer_expression "**(code **)PTR_mhd_panic_0003d03c" * (pointer_expression "*(code **)PTR_mhd_panic_0003d03c" * (cast_expression "(code **)PTR_mhd_panic_0003d03c" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(*(undefined4 *)PTR_mhd_panic_cls_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar6,\n                 PTR_DAT_0003d02c + -0x6298)" ( (pointer_expression "*(undefined4 *)PTR_mhd_panic_cls_0003d038" * (cast_expression "(undefined4 *)PTR_mhd_panic_cls_0003d038" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "PTR_DAT_0003d02c + -0x51b0" identifier + number_literal) , identifier , (binary_expression "PTR_DAT_0003d02c + -0x6298" identifier + number_literal) ))) ;)) (expression_statement "pMVar4 = extraout_v1;" (assignment_expression "pMVar4 = extraout_v1" identifier = identifier) ;) (labeled_statement "LAB_00018f58:\n      pMVar8->manual_timeout_tail = pMVar4;" statement_identifier : (expression_statement "pMVar8->manual_timeout_tail = pMVar4;" (assignment_expression "pMVar8->manual_timeout_tail = pMVar4" (field_expression "pMVar8->manual_timeout_tail" identifier -> field_identifier) = identifier) ;)) (expression_statement "pMVar7->nextX = (MHD_Connection *)0x0;" (assignment_expression "pMVar7->nextX = (MHD_Connection *)0x0" (field_expression "pMVar7->nextX" identifier -> field_identifier) = (cast_expression "(MHD_Connection *)0x0" ( (type_descriptor "MHD_Connection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pMVar7->prevX = (MHD_Connection *)0x0;" (assignment_expression "pMVar7->prevX = (MHD_Connection *)0x0" (field_expression "pMVar7->prevX" identifier -> field_identifier) = (cast_expression "(MHD_Connection *)0x0" ( (type_descriptor "MHD_Connection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pMVar4 = pMVar7->prev;" (assignment_expression "pMVar4 = pMVar7->prev" identifier = (field_expression "pMVar7->prev" identifier -> field_identifier)) ;) (expression_statement "pMVar5 = pMVar7->next;" (assignment_expression "pMVar5 = pMVar7->next" identifier = (field_expression "pMVar7->next" identifier -> field_identifier)) ;) (if_statement "if (pMVar4 != (MHD_Connection *)0x0) goto LAB_00018ee0;" if (parenthesized_expression "(pMVar4 != (MHD_Connection *)0x0)" ( (binary_expression "pMVar4 != (MHD_Connection *)0x0" identifier != (cast_expression "(MHD_Connection *)0x0" ( (type_descriptor "MHD_Connection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00018ee0;" goto statement_identifier ;)) (labeled_statement "LAB_00018f70:\n      pMVar8->connections_head = pMVar5;" statement_identifier : (expression_statement "pMVar8->connections_head = pMVar5;" (assignment_expression "pMVar8->connections_head = pMVar5" (field_expression "pMVar8->connections_head" identifier -> field_identifier) = identifier) ;)) (expression_statement "pMVar4 = pMVar7->next;" (assignment_expression "pMVar4 = pMVar7->next" identifier = (field_expression "pMVar7->next" identifier -> field_identifier)) ;) (expression_statement "pMVar5 = pMVar7->prev;" (assignment_expression "pMVar5 = pMVar7->prev" identifier = (field_expression "pMVar7->prev" identifier -> field_identifier)) ;) (if_statement "if (pMVar4 != (MHD_Connection *)0x0) goto LAB_00018ef0;" if (parenthesized_expression "(pMVar4 != (MHD_Connection *)0x0)" ( (binary_expression "pMVar4 != (MHD_Connection *)0x0" identifier != (cast_expression "(MHD_Connection *)0x0" ( (type_descriptor "MHD_Connection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00018ef0;" goto statement_identifier ;)) (labeled_statement "LAB_00018f80:\n      pMVar8->connections_tail = pMVar5;" statement_identifier : (expression_statement "pMVar8->connections_tail = pMVar5;" (assignment_expression "pMVar8->connections_tail = pMVar5" (field_expression "pMVar8->connections_tail" identifier -> field_identifier) = identifier) ;)) (expression_statement "pMVar7->next = (MHD_Connection *)0x0;" (assignment_expression "pMVar7->next = (MHD_Connection *)0x0" (field_expression "pMVar7->next" identifier -> field_identifier) = (cast_expression "(MHD_Connection *)0x0" ( (type_descriptor "MHD_Connection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pMVar7->prev = (MHD_Connection *)0x0;" (assignment_expression "pMVar7->prev = (MHD_Connection *)0x0" (field_expression "pMVar7->prev" identifier -> field_identifier) = (cast_expression "(MHD_Connection *)0x0" ( (type_descriptor "MHD_Connection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pMVar7->next = pMVar8->cleanup_head;" (assignment_expression "pMVar7->next = pMVar8->cleanup_head" (field_expression "pMVar7->next" identifier -> field_identifier) = (field_expression "pMVar8->cleanup_head" identifier -> field_identifier)) ;) (if_statement "if (pMVar8->cleanup_tail != (MHD_Connection *)0x0) break;" if (parenthesized_expression "(pMVar8->cleanup_tail != (MHD_Connection *)0x0)" ( (binary_expression "pMVar8->cleanup_tail != (MHD_Connection *)0x0" (field_expression "pMVar8->cleanup_tail" identifier -> field_identifier) != (cast_expression "(MHD_Connection *)0x0" ( (type_descriptor "MHD_Connection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (labeled_statement "LAB_00018fa0:\n      pMVar8->cleanup_tail = pMVar7;" statement_identifier : (expression_statement "pMVar8->cleanup_tail = pMVar7;" (assignment_expression "pMVar8->cleanup_tail = pMVar7" (field_expression "pMVar8->cleanup_tail" identifier -> field_identifier) = identifier) ;)) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "void FUN_00018c7c(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 extraout_v1;\n  undefined4 uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined *puVar7;\n  \n  uVar5 = *(uint *)(param_1 + 0xf4);\n  uVar6 = uVar5 & 0x8000;\n  if ((uVar5 & 0x2000) != 0) {\n    *(undefined1 *)(param_1 + 0xdf) = 1;\n    FUN_00017778();\n  }\n  iVar4 = param_1 + 0xac;\n  iVar1 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);\n  uVar3 = 0x1a2b;\n  if (iVar1 != 0) goto LAB_00019098;\n  if (uVar6 == 0) {\n    uVar3 = 0x1a58;\n    if (*(int *)(param_1 + 0x10) != 0) goto LAB_000190c4;\n  }\n  else {\n    iVar1 = *(int *)(param_1 + 0x14);\n    if (iVar1 != 0) {\n      iVar2 = *(int *)(iVar1 + 0xdc);\n      if (iVar2 == 0) goto LAB_000190c0;\n      puVar7 = PTR_DAT_0003d02c + -0x4ca4;\n      while( true ) {\n        if (*(char *)(iVar2 + 4) == '\0') {\n          FUN_0001e5b0(param_1,puVar7,uVar3);\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        else {\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        if (iVar1 == 0) break;\n        iVar2 = *(int *)(iVar1 + 0xdc);\n        uVar3 = 0x1a37;\n        if (iVar2 == 0) goto LAB_000190c0;\n      }\n    }\n  }\n  iVar1 = *(int *)(param_1 + 0xc);\n  if (iVar1 != 0) {\n    do {\n      (*(code *)PTR_shutdown_0003d134)(*(undefined4 *)(iVar1 + 0xa4),2);\n      iVar1 = *(int *)(iVar1 + 0xc);\n    } while (iVar1 != 0);\n    iVar1 = 0;\n    if ((uVar5 & 4) != 0) {\n      iVar1 = *(int *)(param_1 + 0xc);\n      while (iVar1 != 0) {\n        while (*(char *)(iVar1 + 0xab) != '\0') {\n          iVar1 = *(int *)(iVar1 + 0xc);\n          if (iVar1 == 0) goto LAB_00018e1c;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a6f;\n          goto LAB_00018f34;\n        }\n        iVar2 = (*(code *)PTR_pthread_join_0003d160)(*(undefined4 *)(iVar1 + 0x58),0);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar3 = 0x1a72;\n          goto LAB_00019098;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);\n        if (iVar2 != 0) goto LAB_00019094;\n        *(undefined1 *)(iVar1 + 0xab) = 1;\n        iVar1 = *(int *)(param_1 + 0xc);\n      }\n    }\n  }\nLAB_00018e1c:\n  iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);\n  uVar3 = 0x1a7c;\n  if (iVar2 != 0) goto LAB_00018f34;\n  if (uVar6 != 0) {\n    *(undefined1 *)(param_1 + 0xdf) = 1;\n    FUN_00017778(param_1);\n  }\nLAB_00018e38:\n  iVar1 = *(int *)(param_1 + 0xc);\n  while( true ) {\n    if (iVar1 == 0) {\n      FUN_000188d8(param_1);\n      return;\n    }\n    if (((*(uint *)(param_1 + 0xf4) & 4) != 0) && (uVar3 = 0x1a91, *(char *)(iVar1 + 0xab) == '\0'))\n    goto LAB_00019070;\n    iVar4 = *(int *)(iVar1 + 0x18);\n    if ((*(uint *)(iVar4 + 0xf4) & 4) == 0) break;\n    FUN_00013f40(iVar1);\n    iVar1 = *(int *)(param_1 + 0xc);\n  }\n  uVar6 = iVar4 + 0xac;\n  FUN_00013f84(iVar1,3);\n  iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(uVar6);\n  if (iVar2 != 0) {\n    do {\n      uVar3 = 0x1274;\nLAB_00019098:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x62c0);\nLAB_000190c0:\n      uVar3 = 0x1a37;\nLAB_000190c4:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x4ce4);\n    } while( true );\n  }\n  iVar2 = *(int *)(iVar1 + 0x14);\n  uVar3 = *(undefined4 *)(iVar1 + 0x10);\n  if (*(int *)(iVar1 + 0x98) == *(int *)(iVar4 + 0xec)) {\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x30) = uVar3;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }\n    iVar2 = *(int *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0x14);\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x34) = uVar3;\n      goto LAB_00018ecc;\n    }\n  }\n  else {\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x38) = uVar3;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }\n    iVar2 = *(int *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0x14);\n    if (iVar2 == 0) goto LAB_00018f58;\n  }\n  *(undefined4 *)(iVar2 + 0x14) = uVar3;\nLAB_00018ecc:\n  iVar2 = *(int *)(iVar1 + 0xc);\n  uVar3 = *(undefined4 *)(iVar1 + 8);\n  *(undefined4 *)(iVar1 + 0x10) = 0;\n  *(undefined4 *)(iVar1 + 0x14) = 0;\n  if (iVar2 == 0) goto LAB_00018f70;\nLAB_00018ee0:\n  *(undefined4 *)(iVar2 + 8) = uVar3;\n  iVar2 = *(int *)(iVar1 + 8);\n  uVar3 = *(undefined4 *)(iVar1 + 0xc);\n  if (iVar2 == 0) goto LAB_00018f80;\nLAB_00018ef0:\n  *(undefined4 *)(iVar2 + 0xc) = uVar3;\n  *(undefined4 *)(iVar1 + 8) = 0;\n  *(undefined4 *)(iVar1 + 0xc) = 0;\n  *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18);\n  if (*(int *)(iVar4 + 0x1c) == 0) goto LAB_00018fa0;\n  do {\n    *(int *)(*(int *)(iVar4 + 0x18) + 0xc) = iVar1;\n    while( true ) {\n      puVar7 = PTR_pthread_mutex_unlock_0003d280;\n      *(int *)(iVar4 + 0x18) = iVar1;\n      iVar2 = (*(code *)puVar7)(uVar6);\n      if (iVar2 == 0) goto LAB_00018e38;\n      uVar3 = 0x1287;\nLAB_00018f34:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x6298);\n      uVar3 = extraout_v1;\nLAB_00018f58:\n      *(undefined4 *)(iVar4 + 0x3c) = uVar3;\n      *(undefined4 *)(iVar1 + 0x10) = 0;\n      *(undefined4 *)(iVar1 + 0x14) = 0;\n      iVar2 = *(int *)(iVar1 + 0xc);\n      uVar3 = *(undefined4 *)(iVar1 + 8);\n      if (iVar2 != 0) goto LAB_00018ee0;\nLAB_00018f70:\n      *(undefined4 *)(iVar4 + 8) = uVar3;\n      iVar2 = *(int *)(iVar1 + 8);\n      uVar3 = *(undefined4 *)(iVar1 + 0xc);\n      if (iVar2 != 0) goto LAB_00018ef0;\nLAB_00018f80:\n      *(undefined4 *)(iVar4 + 0xc) = uVar3;\n      *(undefined4 *)(iVar1 + 8) = 0;\n      *(undefined4 *)(iVar1 + 0xc) = 0;\n      *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18);\n      if (*(int *)(iVar4 + 0x1c) != 0) break;\nLAB_00018fa0:\n      *(int *)(iVar4 + 0x1c) = iVar1;\n    }\n  } while( true );\n}\n\n" (function_definition "void FUN_00018c7c(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 extraout_v1;\n  undefined4 uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined *puVar7;\n  \n  uVar5 = *(uint *)(param_1 + 0xf4);\n  uVar6 = uVar5 & 0x8000;\n  if ((uVar5 & 0x2000) != 0) {\n    *(undefined1 *)(param_1 + 0xdf) = 1;\n    FUN_00017778();\n  }\n  iVar4 = param_1 + 0xac;\n  iVar1 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);\n  uVar3 = 0x1a2b;\n  if (iVar1 != 0) goto LAB_00019098;\n  if (uVar6 == 0) {\n    uVar3 = 0x1a58;\n    if (*(int *)(param_1 + 0x10) != 0) goto LAB_000190c4;\n  }\n  else {\n    iVar1 = *(int *)(param_1 + 0x14);\n    if (iVar1 != 0) {\n      iVar2 = *(int *)(iVar1 + 0xdc);\n      if (iVar2 == 0) goto LAB_000190c0;\n      puVar7 = PTR_DAT_0003d02c + -0x4ca4;\n      while( true ) {\n        if (*(char *)(iVar2 + 4) == '\0') {\n          FUN_0001e5b0(param_1,puVar7,uVar3);\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        else {\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        if (iVar1 == 0) break;\n        iVar2 = *(int *)(iVar1 + 0xdc);\n        uVar3 = 0x1a37;\n        if (iVar2 == 0) goto LAB_000190c0;\n      }\n    }\n  }\n  iVar1 = *(int *)(param_1 + 0xc);\n  if (iVar1 != 0) {\n    do {\n      (*(code *)PTR_shutdown_0003d134)(*(undefined4 *)(iVar1 + 0xa4),2);\n      iVar1 = *(int *)(iVar1 + 0xc);\n    } while (iVar1 != 0);\n    iVar1 = 0;\n    if ((uVar5 & 4) != 0) {\n      iVar1 = *(int *)(param_1 + 0xc);\n      while (iVar1 != 0) {\n        while (*(char *)(iVar1 + 0xab) != '\0') {\n          iVar1 = *(int *)(iVar1 + 0xc);\n          if (iVar1 == 0) goto LAB_00018e1c;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a6f;\n          goto LAB_00018f34;\n        }\n        iVar2 = (*(code *)PTR_pthread_join_0003d160)(*(undefined4 *)(iVar1 + 0x58),0);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar3 = 0x1a72;\n          goto LAB_00019098;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);\n        if (iVar2 != 0) goto LAB_00019094;\n        *(undefined1 *)(iVar1 + 0xab) = 1;\n        iVar1 = *(int *)(param_1 + 0xc);\n      }\n    }\n  }\nLAB_00018e1c:\n  iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);\n  uVar3 = 0x1a7c;\n  if (iVar2 != 0) goto LAB_00018f34;\n  if (uVar6 != 0) {\n    *(undefined1 *)(param_1 + 0xdf) = 1;\n    FUN_00017778(param_1);\n  }\nLAB_00018e38:\n  iVar1 = *(int *)(param_1 + 0xc);\n  while( true ) {\n    if (iVar1 == 0) {\n      FUN_000188d8(param_1);\n      return;\n    }\n    if (((*(uint *)(param_1 + 0xf4) & 4) != 0) && (uVar3 = 0x1a91, *(char *)(iVar1 + 0xab) == '\0'))\n    goto LAB_00019070;\n    iVar4 = *(int *)(iVar1 + 0x18);\n    if ((*(uint *)(iVar4 + 0xf4) & 4) == 0) break;\n    FUN_00013f40(iVar1);\n    iVar1 = *(int *)(param_1 + 0xc);\n  }\n  uVar6 = iVar4 + 0xac;\n  FUN_00013f84(iVar1,3);\n  iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(uVar6);\n  if (iVar2 != 0) {\n    do {\n      uVar3 = 0x1274;\nLAB_00019098:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x62c0);\nLAB_000190c0:\n      uVar3 = 0x1a37;\nLAB_000190c4:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x4ce4);\n    } while( true );\n  }\n  iVar2 = *(int *)(iVar1 + 0x14);\n  uVar3 = *(undefined4 *)(iVar1 + 0x10);\n  if (*(int *)(iVar1 + 0x98) == *(int *)(iVar4 + 0xec)) {\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x30) = uVar3;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }\n    iVar2 = *(int *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0x14);\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x34) = uVar3;\n      goto LAB_00018ecc;\n    }\n  }\n  else {\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x38) = uVar3;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }\n    iVar2 = *(int *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0x14);\n    if (iVar2 == 0) goto LAB_00018f58;\n  }\n  *(undefined4 *)(iVar2 + 0x14) = uVar3;\nLAB_00018ecc:\n  iVar2 = *(int *)(iVar1 + 0xc);\n  uVar3 = *(undefined4 *)(iVar1 + 8);\n  *(undefined4 *)(iVar1 + 0x10) = 0;\n  *(undefined4 *)(iVar1 + 0x14) = 0;\n  if (iVar2 == 0) goto LAB_00018f70;\nLAB_00018ee0:\n  *(undefined4 *)(iVar2 + 8) = uVar3;\n  iVar2 = *(int *)(iVar1 + 8);\n  uVar3 = *(undefined4 *)(iVar1 + 0xc);\n  if (iVar2 == 0) goto LAB_00018f80;\nLAB_00018ef0:\n  *(undefined4 *)(iVar2 + 0xc) = uVar3;\n  *(undefined4 *)(iVar1 + 8) = 0;\n  *(undefined4 *)(iVar1 + 0xc) = 0;\n  *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18);\n  if (*(int *)(iVar4 + 0x1c) == 0) goto LAB_00018fa0;\n  do {\n    *(int *)(*(int *)(iVar4 + 0x18) + 0xc) = iVar1;\n    while( true ) {\n      puVar7 = PTR_pthread_mutex_unlock_0003d280;\n      *(int *)(iVar4 + 0x18) = iVar1;\n      iVar2 = (*(code *)puVar7)(uVar6);\n      if (iVar2 == 0) goto LAB_00018e38;\n      uVar3 = 0x1287;\nLAB_00018f34:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x6298);\n      uVar3 = extraout_v1;\nLAB_00018f58:\n      *(undefined4 *)(iVar4 + 0x3c) = uVar3;\n      *(undefined4 *)(iVar1 + 0x10) = 0;\n      *(undefined4 *)(iVar1 + 0x14) = 0;\n      iVar2 = *(int *)(iVar1 + 0xc);\n      uVar3 = *(undefined4 *)(iVar1 + 8);\n      if (iVar2 != 0) goto LAB_00018ee0;\nLAB_00018f70:\n      *(undefined4 *)(iVar4 + 8) = uVar3;\n      iVar2 = *(int *)(iVar1 + 8);\n      uVar3 = *(undefined4 *)(iVar1 + 0xc);\n      if (iVar2 != 0) goto LAB_00018ef0;\nLAB_00018f80:\n      *(undefined4 *)(iVar4 + 0xc) = uVar3;\n      *(undefined4 *)(iVar1 + 8) = 0;\n      *(undefined4 *)(iVar1 + 0xc) = 0;\n      *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18);\n      if (*(int *)(iVar4 + 0x1c) != 0) break;\nLAB_00018fa0:\n      *(int *)(iVar4 + 0x1c) = iVar1;\n    }\n  } while( true );\n}" primitive_type (function_declarator "FUN_00018c7c(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined4 extraout_v1;\n  undefined4 uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined *puVar7;\n  \n  uVar5 = *(uint *)(param_1 + 0xf4);\n  uVar6 = uVar5 & 0x8000;\n  if ((uVar5 & 0x2000) != 0) {\n    *(undefined1 *)(param_1 + 0xdf) = 1;\n    FUN_00017778();\n  }\n  iVar4 = param_1 + 0xac;\n  iVar1 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);\n  uVar3 = 0x1a2b;\n  if (iVar1 != 0) goto LAB_00019098;\n  if (uVar6 == 0) {\n    uVar3 = 0x1a58;\n    if (*(int *)(param_1 + 0x10) != 0) goto LAB_000190c4;\n  }\n  else {\n    iVar1 = *(int *)(param_1 + 0x14);\n    if (iVar1 != 0) {\n      iVar2 = *(int *)(iVar1 + 0xdc);\n      if (iVar2 == 0) goto LAB_000190c0;\n      puVar7 = PTR_DAT_0003d02c + -0x4ca4;\n      while( true ) {\n        if (*(char *)(iVar2 + 4) == '\0') {\n          FUN_0001e5b0(param_1,puVar7,uVar3);\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        else {\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        if (iVar1 == 0) break;\n        iVar2 = *(int *)(iVar1 + 0xdc);\n        uVar3 = 0x1a37;\n        if (iVar2 == 0) goto LAB_000190c0;\n      }\n    }\n  }\n  iVar1 = *(int *)(param_1 + 0xc);\n  if (iVar1 != 0) {\n    do {\n      (*(code *)PTR_shutdown_0003d134)(*(undefined4 *)(iVar1 + 0xa4),2);\n      iVar1 = *(int *)(iVar1 + 0xc);\n    } while (iVar1 != 0);\n    iVar1 = 0;\n    if ((uVar5 & 4) != 0) {\n      iVar1 = *(int *)(param_1 + 0xc);\n      while (iVar1 != 0) {\n        while (*(char *)(iVar1 + 0xab) != '\0') {\n          iVar1 = *(int *)(iVar1 + 0xc);\n          if (iVar1 == 0) goto LAB_00018e1c;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a6f;\n          goto LAB_00018f34;\n        }\n        iVar2 = (*(code *)PTR_pthread_join_0003d160)(*(undefined4 *)(iVar1 + 0x58),0);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar3 = 0x1a72;\n          goto LAB_00019098;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);\n        if (iVar2 != 0) goto LAB_00019094;\n        *(undefined1 *)(iVar1 + 0xab) = 1;\n        iVar1 = *(int *)(param_1 + 0xc);\n      }\n    }\n  }\nLAB_00018e1c:\n  iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);\n  uVar3 = 0x1a7c;\n  if (iVar2 != 0) goto LAB_00018f34;\n  if (uVar6 != 0) {\n    *(undefined1 *)(param_1 + 0xdf) = 1;\n    FUN_00017778(param_1);\n  }\nLAB_00018e38:\n  iVar1 = *(int *)(param_1 + 0xc);\n  while( true ) {\n    if (iVar1 == 0) {\n      FUN_000188d8(param_1);\n      return;\n    }\n    if (((*(uint *)(param_1 + 0xf4) & 4) != 0) && (uVar3 = 0x1a91, *(char *)(iVar1 + 0xab) == '\0'))\n    goto LAB_00019070;\n    iVar4 = *(int *)(iVar1 + 0x18);\n    if ((*(uint *)(iVar4 + 0xf4) & 4) == 0) break;\n    FUN_00013f40(iVar1);\n    iVar1 = *(int *)(param_1 + 0xc);\n  }\n  uVar6 = iVar4 + 0xac;\n  FUN_00013f84(iVar1,3);\n  iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(uVar6);\n  if (iVar2 != 0) {\n    do {\n      uVar3 = 0x1274;\nLAB_00019098:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x62c0);\nLAB_000190c0:\n      uVar3 = 0x1a37;\nLAB_000190c4:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x4ce4);\n    } while( true );\n  }\n  iVar2 = *(int *)(iVar1 + 0x14);\n  uVar3 = *(undefined4 *)(iVar1 + 0x10);\n  if (*(int *)(iVar1 + 0x98) == *(int *)(iVar4 + 0xec)) {\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x30) = uVar3;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }\n    iVar2 = *(int *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0x14);\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x34) = uVar3;\n      goto LAB_00018ecc;\n    }\n  }\n  else {\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x38) = uVar3;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }\n    iVar2 = *(int *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0x14);\n    if (iVar2 == 0) goto LAB_00018f58;\n  }\n  *(undefined4 *)(iVar2 + 0x14) = uVar3;\nLAB_00018ecc:\n  iVar2 = *(int *)(iVar1 + 0xc);\n  uVar3 = *(undefined4 *)(iVar1 + 8);\n  *(undefined4 *)(iVar1 + 0x10) = 0;\n  *(undefined4 *)(iVar1 + 0x14) = 0;\n  if (iVar2 == 0) goto LAB_00018f70;\nLAB_00018ee0:\n  *(undefined4 *)(iVar2 + 8) = uVar3;\n  iVar2 = *(int *)(iVar1 + 8);\n  uVar3 = *(undefined4 *)(iVar1 + 0xc);\n  if (iVar2 == 0) goto LAB_00018f80;\nLAB_00018ef0:\n  *(undefined4 *)(iVar2 + 0xc) = uVar3;\n  *(undefined4 *)(iVar1 + 8) = 0;\n  *(undefined4 *)(iVar1 + 0xc) = 0;\n  *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18);\n  if (*(int *)(iVar4 + 0x1c) == 0) goto LAB_00018fa0;\n  do {\n    *(int *)(*(int *)(iVar4 + 0x18) + 0xc) = iVar1;\n    while( true ) {\n      puVar7 = PTR_pthread_mutex_unlock_0003d280;\n      *(int *)(iVar4 + 0x18) = iVar1;\n      iVar2 = (*(code *)puVar7)(uVar6);\n      if (iVar2 == 0) goto LAB_00018e38;\n      uVar3 = 0x1287;\nLAB_00018f34:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x6298);\n      uVar3 = extraout_v1;\nLAB_00018f58:\n      *(undefined4 *)(iVar4 + 0x3c) = uVar3;\n      *(undefined4 *)(iVar1 + 0x10) = 0;\n      *(undefined4 *)(iVar1 + 0x14) = 0;\n      iVar2 = *(int *)(iVar1 + 0xc);\n      uVar3 = *(undefined4 *)(iVar1 + 8);\n      if (iVar2 != 0) goto LAB_00018ee0;\nLAB_00018f70:\n      *(undefined4 *)(iVar4 + 8) = uVar3;\n      iVar2 = *(int *)(iVar1 + 8);\n      uVar3 = *(undefined4 *)(iVar1 + 0xc);\n      if (iVar2 != 0) goto LAB_00018ef0;\nLAB_00018f80:\n      *(undefined4 *)(iVar4 + 0xc) = uVar3;\n      *(undefined4 *)(iVar1 + 8) = 0;\n      *(undefined4 *)(iVar1 + 0xc) = 0;\n      *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18);\n      if (*(int *)(iVar4 + 0x1c) != 0) break;\nLAB_00018fa0:\n      *(int *)(iVar4 + 0x1c) = iVar1;\n    }\n  } while( true );\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 extraout_v1;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (expression_statement "uVar5 = *(uint *)(param_1 + 0xf4);" (assignment_expression "uVar5 = *(uint *)(param_1 + 0xf4)" identifier = (pointer_expression "*(uint *)(param_1 + 0xf4)" * (cast_expression "(uint *)(param_1 + 0xf4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xf4)" ( (binary_expression "param_1 + 0xf4" identifier + number_literal) ))))) ;) (expression_statement "uVar6 = uVar5 & 0x8000;" (assignment_expression "uVar6 = uVar5 & 0x8000" identifier = (binary_expression "uVar5 & 0x8000" identifier & number_literal)) ;) (if_statement "if ((uVar5 & 0x2000) != 0) {\n    *(undefined1 *)(param_1 + 0xdf) = 1;\n    FUN_00017778();\n  }" if (parenthesized_expression "((uVar5 & 0x2000) != 0)" ( (binary_expression "(uVar5 & 0x2000) != 0" (parenthesized_expression "(uVar5 & 0x2000)" ( (binary_expression "uVar5 & 0x2000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    *(undefined1 *)(param_1 + 0xdf) = 1;\n    FUN_00017778();\n  }" { (expression_statement "*(undefined1 *)(param_1 + 0xdf) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0xdf) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0xdf)" * (cast_expression "(undefined1 *)(param_1 + 0xdf)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xdf)" ( (binary_expression "param_1 + 0xdf" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00017778();" (call_expression "FUN_00017778()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar4 = param_1 + 0xac;" (assignment_expression "iVar4 = param_1 + 0xac" identifier = (binary_expression "param_1 + 0xac" identifier + number_literal)) ;) (expression_statement "iVar1 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);" (assignment_expression "iVar1 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4)" identifier = (call_expression "(*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4)" (parenthesized_expression "(*(code *)PTR_pthread_mutex_lock_0003d210)" ( (pointer_expression "*(code *)PTR_pthread_mutex_lock_0003d210" * (cast_expression "(code *)PTR_pthread_mutex_lock_0003d210" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4)" ( identifier )))) ;) (expression_statement "uVar3 = 0x1a2b;" (assignment_expression "uVar3 = 0x1a2b" identifier = number_literal) ;) (if_statement "if (iVar1 != 0) goto LAB_00019098;" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00019098;" goto statement_identifier ;)) (if_statement "if (uVar6 == 0) {\n    uVar3 = 0x1a58;\n    if (*(int *)(param_1 + 0x10) != 0) goto LAB_000190c4;\n  }\n  else {\n    iVar1 = *(int *)(param_1 + 0x14);\n    if (iVar1 != 0) {\n      iVar2 = *(int *)(iVar1 + 0xdc);\n      if (iVar2 == 0) goto LAB_000190c0;\n      puVar7 = PTR_DAT_0003d02c + -0x4ca4;\n      while( true ) {\n        if (*(char *)(iVar2 + 4) == '\0') {\n          FUN_0001e5b0(param_1,puVar7,uVar3);\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        else {\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        if (iVar1 == 0) break;\n        iVar2 = *(int *)(iVar1 + 0xdc);\n        uVar3 = 0x1a37;\n        if (iVar2 == 0) goto LAB_000190c0;\n      }\n    }\n  }" if (parenthesized_expression "(uVar6 == 0)" ( (binary_expression "uVar6 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar3 = 0x1a58;\n    if (*(int *)(param_1 + 0x10) != 0) goto LAB_000190c4;\n  }" { (expression_statement "uVar3 = 0x1a58;" (assignment_expression "uVar3 = 0x1a58" identifier = number_literal) ;) (if_statement "if (*(int *)(param_1 + 0x10) != 0) goto LAB_000190c4;" if (parenthesized_expression "(*(int *)(param_1 + 0x10) != 0)" ( (binary_expression "*(int *)(param_1 + 0x10) != 0" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) != number_literal) )) (goto_statement "goto LAB_000190c4;" goto statement_identifier ;)) }) (else_clause "else {\n    iVar1 = *(int *)(param_1 + 0x14);\n    if (iVar1 != 0) {\n      iVar2 = *(int *)(iVar1 + 0xdc);\n      if (iVar2 == 0) goto LAB_000190c0;\n      puVar7 = PTR_DAT_0003d02c + -0x4ca4;\n      while( true ) {\n        if (*(char *)(iVar2 + 4) == '\0') {\n          FUN_0001e5b0(param_1,puVar7,uVar3);\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        else {\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        if (iVar1 == 0) break;\n        iVar2 = *(int *)(iVar1 + 0xdc);\n        uVar3 = 0x1a37;\n        if (iVar2 == 0) goto LAB_000190c0;\n      }\n    }\n  }" else (compound_statement "{\n    iVar1 = *(int *)(param_1 + 0x14);\n    if (iVar1 != 0) {\n      iVar2 = *(int *)(iVar1 + 0xdc);\n      if (iVar2 == 0) goto LAB_000190c0;\n      puVar7 = PTR_DAT_0003d02c + -0x4ca4;\n      while( true ) {\n        if (*(char *)(iVar2 + 4) == '\0') {\n          FUN_0001e5b0(param_1,puVar7,uVar3);\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        else {\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        if (iVar1 == 0) break;\n        iVar2 = *(int *)(iVar1 + 0xdc);\n        uVar3 = 0x1a37;\n        if (iVar2 == 0) goto LAB_000190c0;\n      }\n    }\n  }" { (expression_statement "iVar1 = *(int *)(param_1 + 0x14);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x14)" identifier = (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 != 0) {\n      iVar2 = *(int *)(iVar1 + 0xdc);\n      if (iVar2 == 0) goto LAB_000190c0;\n      puVar7 = PTR_DAT_0003d02c + -0x4ca4;\n      while( true ) {\n        if (*(char *)(iVar2 + 4) == '\0') {\n          FUN_0001e5b0(param_1,puVar7,uVar3);\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        else {\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        if (iVar1 == 0) break;\n        iVar2 = *(int *)(iVar1 + 0xdc);\n        uVar3 = 0x1a37;\n        if (iVar2 == 0) goto LAB_000190c0;\n      }\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar2 = *(int *)(iVar1 + 0xdc);\n      if (iVar2 == 0) goto LAB_000190c0;\n      puVar7 = PTR_DAT_0003d02c + -0x4ca4;\n      while( true ) {\n        if (*(char *)(iVar2 + 4) == '\0') {\n          FUN_0001e5b0(param_1,puVar7,uVar3);\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        else {\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        if (iVar1 == 0) break;\n        iVar2 = *(int *)(iVar1 + 0xdc);\n        uVar3 = 0x1a37;\n        if (iVar2 == 0) goto LAB_000190c0;\n      }\n    }" { (expression_statement "iVar2 = *(int *)(iVar1 + 0xdc);" (assignment_expression "iVar2 = *(int *)(iVar1 + 0xdc)" identifier = (pointer_expression "*(int *)(iVar1 + 0xdc)" * (cast_expression "(int *)(iVar1 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xdc)" ( (binary_expression "iVar1 + 0xdc" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 == 0) goto LAB_000190c0;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000190c0;" goto statement_identifier ;)) (expression_statement "puVar7 = PTR_DAT_0003d02c + -0x4ca4;" (assignment_expression "puVar7 = PTR_DAT_0003d02c + -0x4ca4" identifier = (binary_expression "PTR_DAT_0003d02c + -0x4ca4" identifier + number_literal)) ;) (while_statement "while( true ) {\n        if (*(char *)(iVar2 + 4) == '\0') {\n          FUN_0001e5b0(param_1,puVar7,uVar3);\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        else {\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        if (iVar1 == 0) break;\n        iVar2 = *(int *)(iVar1 + 0xdc);\n        uVar3 = 0x1a37;\n        if (iVar2 == 0) goto LAB_000190c0;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        if (*(char *)(iVar2 + 4) == '\0') {\n          FUN_0001e5b0(param_1,puVar7,uVar3);\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        else {\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        if (iVar1 == 0) break;\n        iVar2 = *(int *)(iVar1 + 0xdc);\n        uVar3 = 0x1a37;\n        if (iVar2 == 0) goto LAB_000190c0;\n      }" { (if_statement "if (*(char *)(iVar2 + 4) == '\0') {\n          FUN_0001e5b0(param_1,puVar7,uVar3);\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        else {\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }" if (parenthesized_expression "(*(char *)(iVar2 + 4) == '\0')" ( (binary_expression "*(char *)(iVar2 + 4) == '\0'" (pointer_expression "*(char *)(iVar2 + 4)" * (cast_expression "(char *)(iVar2 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          FUN_0001e5b0(param_1,puVar7,uVar3);\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }" { (expression_statement "FUN_0001e5b0(param_1,puVar7,uVar3);" (call_expression "FUN_0001e5b0(param_1,puVar7,uVar3)" identifier (argument_list "(param_1,puVar7,uVar3)" ( identifier , identifier , identifier ))) ;) (expression_statement "*(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;" (assignment_expression "*(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1" (pointer_expression "*(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4)" * (cast_expression "(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0xdc) + 4)" ( (binary_expression "*(int *)(iVar1 + 0xdc) + 4" (pointer_expression "*(int *)(iVar1 + 0xdc)" * (cast_expression "(int *)(iVar1 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xdc)" ( (binary_expression "iVar1 + 0xdc" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(iVar1 + 0xe8) = 1;" (assignment_expression "*(undefined1 *)(iVar1 + 0xe8) = 1" (pointer_expression "*(undefined1 *)(iVar1 + 0xe8)" * (cast_expression "(undefined1 *)(iVar1 + 0xe8)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xe8)" ( (binary_expression "iVar1 + 0xe8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 0xdf) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0xdf) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0xdf)" * (cast_expression "(undefined1 *)(param_1 + 0xdf)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xdf)" ( (binary_expression "param_1 + 0xdf" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar1 = *(int *)(iVar1 + 0xc);" (assignment_expression "iVar1 = *(int *)(iVar1 + 0xc)" identifier = (pointer_expression "*(int *)(iVar1 + 0xc)" * (cast_expression "(int *)(iVar1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) ))))) ;) }) (else_clause "else {\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }" else (compound_statement "{\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }" { (expression_statement "*(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;" (assignment_expression "*(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1" (pointer_expression "*(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4)" * (cast_expression "(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0xdc) + 4)" ( (binary_expression "*(int *)(iVar1 + 0xdc) + 4" (pointer_expression "*(int *)(iVar1 + 0xdc)" * (cast_expression "(int *)(iVar1 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xdc)" ( (binary_expression "iVar1 + 0xdc" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(iVar1 + 0xe8) = 1;" (assignment_expression "*(undefined1 *)(iVar1 + 0xe8) = 1" (pointer_expression "*(undefined1 *)(iVar1 + 0xe8)" * (cast_expression "(undefined1 *)(iVar1 + 0xe8)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xe8)" ( (binary_expression "iVar1 + 0xe8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 0xdf) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0xdf) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0xdf)" * (cast_expression "(undefined1 *)(param_1 + 0xdf)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xdf)" ( (binary_expression "param_1 + 0xdf" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar1 = *(int *)(iVar1 + 0xc);" (assignment_expression "iVar1 = *(int *)(iVar1 + 0xc)" identifier = (pointer_expression "*(int *)(iVar1 + 0xc)" * (cast_expression "(int *)(iVar1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) ))))) ;) }))) (if_statement "if (iVar1 == 0) break;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar2 = *(int *)(iVar1 + 0xdc);" (assignment_expression "iVar2 = *(int *)(iVar1 + 0xdc)" identifier = (pointer_expression "*(int *)(iVar1 + 0xdc)" * (cast_expression "(int *)(iVar1 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xdc)" ( (binary_expression "iVar1 + 0xdc" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = 0x1a37;" (assignment_expression "uVar3 = 0x1a37" identifier = number_literal) ;) (if_statement "if (iVar2 == 0) goto LAB_000190c0;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000190c0;" goto statement_identifier ;)) })) })) }))) (expression_statement "iVar1 = *(int *)(param_1 + 0xc);" (assignment_expression "iVar1 = *(int *)(param_1 + 0xc)" identifier = (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 != 0) {\n    do {\n      (*(code *)PTR_shutdown_0003d134)(*(undefined4 *)(iVar1 + 0xa4),2);\n      iVar1 = *(int *)(iVar1 + 0xc);\n    } while (iVar1 != 0);\n    iVar1 = 0;\n    if ((uVar5 & 4) != 0) {\n      iVar1 = *(int *)(param_1 + 0xc);\n      while (iVar1 != 0) {\n        while (*(char *)(iVar1 + 0xab) != '\0') {\n          iVar1 = *(int *)(iVar1 + 0xc);\n          if (iVar1 == 0) goto LAB_00018e1c;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a6f;\n          goto LAB_00018f34;\n        }\n        iVar2 = (*(code *)PTR_pthread_join_0003d160)(*(undefined4 *)(iVar1 + 0x58),0);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar3 = 0x1a72;\n          goto LAB_00019098;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);\n        if (iVar2 != 0) goto LAB_00019094;\n        *(undefined1 *)(iVar1 + 0xab) = 1;\n        iVar1 = *(int *)(param_1 + 0xc);\n      }\n    }\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    do {\n      (*(code *)PTR_shutdown_0003d134)(*(undefined4 *)(iVar1 + 0xa4),2);\n      iVar1 = *(int *)(iVar1 + 0xc);\n    } while (iVar1 != 0);\n    iVar1 = 0;\n    if ((uVar5 & 4) != 0) {\n      iVar1 = *(int *)(param_1 + 0xc);\n      while (iVar1 != 0) {\n        while (*(char *)(iVar1 + 0xab) != '\0') {\n          iVar1 = *(int *)(iVar1 + 0xc);\n          if (iVar1 == 0) goto LAB_00018e1c;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a6f;\n          goto LAB_00018f34;\n        }\n        iVar2 = (*(code *)PTR_pthread_join_0003d160)(*(undefined4 *)(iVar1 + 0x58),0);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar3 = 0x1a72;\n          goto LAB_00019098;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);\n        if (iVar2 != 0) goto LAB_00019094;\n        *(undefined1 *)(iVar1 + 0xab) = 1;\n        iVar1 = *(int *)(param_1 + 0xc);\n      }\n    }\n  }" { (do_statement "do {\n      (*(code *)PTR_shutdown_0003d134)(*(undefined4 *)(iVar1 + 0xa4),2);\n      iVar1 = *(int *)(iVar1 + 0xc);\n    } while (iVar1 != 0);" do (compound_statement "{\n      (*(code *)PTR_shutdown_0003d134)(*(undefined4 *)(iVar1 + 0xa4),2);\n      iVar1 = *(int *)(iVar1 + 0xc);\n    }" { (expression_statement "(*(code *)PTR_shutdown_0003d134)(*(undefined4 *)(iVar1 + 0xa4),2);" (call_expression "(*(code *)PTR_shutdown_0003d134)(*(undefined4 *)(iVar1 + 0xa4),2)" (parenthesized_expression "(*(code *)PTR_shutdown_0003d134)" ( (pointer_expression "*(code *)PTR_shutdown_0003d134" * (cast_expression "(code *)PTR_shutdown_0003d134" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar1 + 0xa4),2)" ( (pointer_expression "*(undefined4 *)(iVar1 + 0xa4)" * (cast_expression "(undefined4 *)(iVar1 + 0xa4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xa4)" ( (binary_expression "iVar1 + 0xa4" identifier + number_literal) )))) , number_literal ))) ;) (expression_statement "iVar1 = *(int *)(iVar1 + 0xc);" (assignment_expression "iVar1 = *(int *)(iVar1 + 0xc)" identifier = (pointer_expression "*(int *)(iVar1 + 0xc)" * (cast_expression "(int *)(iVar1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (if_statement "if ((uVar5 & 4) != 0) {\n      iVar1 = *(int *)(param_1 + 0xc);\n      while (iVar1 != 0) {\n        while (*(char *)(iVar1 + 0xab) != '\0') {\n          iVar1 = *(int *)(iVar1 + 0xc);\n          if (iVar1 == 0) goto LAB_00018e1c;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a6f;\n          goto LAB_00018f34;\n        }\n        iVar2 = (*(code *)PTR_pthread_join_0003d160)(*(undefined4 *)(iVar1 + 0x58),0);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar3 = 0x1a72;\n          goto LAB_00019098;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);\n        if (iVar2 != 0) goto LAB_00019094;\n        *(undefined1 *)(iVar1 + 0xab) = 1;\n        iVar1 = *(int *)(param_1 + 0xc);\n      }\n    }" if (parenthesized_expression "((uVar5 & 4) != 0)" ( (binary_expression "(uVar5 & 4) != 0" (parenthesized_expression "(uVar5 & 4)" ( (binary_expression "uVar5 & 4" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      iVar1 = *(int *)(param_1 + 0xc);\n      while (iVar1 != 0) {\n        while (*(char *)(iVar1 + 0xab) != '\0') {\n          iVar1 = *(int *)(iVar1 + 0xc);\n          if (iVar1 == 0) goto LAB_00018e1c;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a6f;\n          goto LAB_00018f34;\n        }\n        iVar2 = (*(code *)PTR_pthread_join_0003d160)(*(undefined4 *)(iVar1 + 0x58),0);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar3 = 0x1a72;\n          goto LAB_00019098;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);\n        if (iVar2 != 0) goto LAB_00019094;\n        *(undefined1 *)(iVar1 + 0xab) = 1;\n        iVar1 = *(int *)(param_1 + 0xc);\n      }\n    }" { (expression_statement "iVar1 = *(int *)(param_1 + 0xc);" (assignment_expression "iVar1 = *(int *)(param_1 + 0xc)" identifier = (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (while_statement "while (iVar1 != 0) {\n        while (*(char *)(iVar1 + 0xab) != '\0') {\n          iVar1 = *(int *)(iVar1 + 0xc);\n          if (iVar1 == 0) goto LAB_00018e1c;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a6f;\n          goto LAB_00018f34;\n        }\n        iVar2 = (*(code *)PTR_pthread_join_0003d160)(*(undefined4 *)(iVar1 + 0x58),0);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar3 = 0x1a72;\n          goto LAB_00019098;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);\n        if (iVar2 != 0) goto LAB_00019094;\n        *(undefined1 *)(iVar1 + 0xab) = 1;\n        iVar1 = *(int *)(param_1 + 0xc);\n      }" while (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        while (*(char *)(iVar1 + 0xab) != '\0') {\n          iVar1 = *(int *)(iVar1 + 0xc);\n          if (iVar1 == 0) goto LAB_00018e1c;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a6f;\n          goto LAB_00018f34;\n        }\n        iVar2 = (*(code *)PTR_pthread_join_0003d160)(*(undefined4 *)(iVar1 + 0x58),0);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar3 = 0x1a72;\n          goto LAB_00019098;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);\n        if (iVar2 != 0) goto LAB_00019094;\n        *(undefined1 *)(iVar1 + 0xab) = 1;\n        iVar1 = *(int *)(param_1 + 0xc);\n      }" { (while_statement "while (*(char *)(iVar1 + 0xab) != '\0') {\n          iVar1 = *(int *)(iVar1 + 0xc);\n          if (iVar1 == 0) goto LAB_00018e1c;\n        }" while (parenthesized_expression "(*(char *)(iVar1 + 0xab) != '\0')" ( (binary_expression "*(char *)(iVar1 + 0xab) != '\0'" (pointer_expression "*(char *)(iVar1 + 0xab)" * (cast_expression "(char *)(iVar1 + 0xab)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xab)" ( (binary_expression "iVar1 + 0xab" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar1 = *(int *)(iVar1 + 0xc);\n          if (iVar1 == 0) goto LAB_00018e1c;\n        }" { (expression_statement "iVar1 = *(int *)(iVar1 + 0xc);" (assignment_expression "iVar1 = *(int *)(iVar1 + 0xc)" identifier = (pointer_expression "*(int *)(iVar1 + 0xc)" * (cast_expression "(int *)(iVar1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 == 0) goto LAB_00018e1c;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00018e1c;" goto statement_identifier ;)) })) (expression_statement "iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);" (assignment_expression "iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4)" identifier = (call_expression "(*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4)" (parenthesized_expression "(*(code *)PTR_pthread_mutex_unlock_0003d280)" ( (pointer_expression "*(code *)PTR_pthread_mutex_unlock_0003d280" * (cast_expression "(code *)PTR_pthread_mutex_unlock_0003d280" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4)" ( identifier )))) ;) (if_statement "if (iVar2 != 0) {\n          uVar3 = 0x1a6f;\n          goto LAB_00018f34;\n        }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n          uVar3 = 0x1a6f;\n          goto LAB_00018f34;\n        }" { (expression_statement "uVar3 = 0x1a6f;" (assignment_expression "uVar3 = 0x1a6f" identifier = number_literal) ;) (goto_statement "goto LAB_00018f34;" goto statement_identifier ;) })) (expression_statement "iVar2 = (*(code *)PTR_pthread_join_0003d160)(*(undefined4 *)(iVar1 + 0x58),0);" (assignment_expression "iVar2 = (*(code *)PTR_pthread_join_0003d160)(*(undefined4 *)(iVar1 + 0x58),0)" identifier = (call_expression "(*(code *)PTR_pthread_join_0003d160)(*(undefined4 *)(iVar1 + 0x58),0)" (parenthesized_expression "(*(code *)PTR_pthread_join_0003d160)" ( (pointer_expression "*(code *)PTR_pthread_join_0003d160" * (cast_expression "(code *)PTR_pthread_join_0003d160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar1 + 0x58),0)" ( (pointer_expression "*(undefined4 *)(iVar1 + 0x58)" * (cast_expression "(undefined4 *)(iVar1 + 0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x58)" ( (binary_expression "iVar1 + 0x58" identifier + number_literal) )))) , number_literal )))) ;) (if_statement "if (iVar2 != 0) {\n          uVar3 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar3 = 0x1a72;\n          goto LAB_00019098;\n        }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n          uVar3 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar3 = 0x1a72;\n          goto LAB_00019098;\n        }" { (expression_statement "uVar3 = 0x1a71;" (assignment_expression "uVar3 = 0x1a71" identifier = number_literal) ;) (labeled_statement "LAB_00019070:\n          (**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40);" statement_identifier : (expression_statement "(**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40);" (call_expression "(**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40)" (parenthesized_expression "(**(code **)PTR_DAT_0003d03c)" ( (pointer_expression "**(code **)PTR_DAT_0003d03c" * (pointer_expression "*(code **)PTR_DAT_0003d03c" * (cast_expression "(code **)PTR_DAT_0003d03c" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40)" ( (pointer_expression "*(undefined4 *)PTR_DAT_0003d038" * (cast_expression "(undefined4 *)PTR_DAT_0003d038" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "PTR_DAT_0003d02c + -0x51b0" identifier + number_literal) , identifier , (binary_expression "PTR_DAT_0003d02c + -0x4d40" identifier + number_literal) ))) ;)) (labeled_statement "LAB_00019094:\n          uVar3 = 0x1a72;" statement_identifier : (expression_statement "uVar3 = 0x1a72;" (assignment_expression "uVar3 = 0x1a72" identifier = number_literal) ;)) (goto_statement "goto LAB_00019098;" goto statement_identifier ;) })) (expression_statement "iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);" (assignment_expression "iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4)" identifier = (call_expression "(*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4)" (parenthesized_expression "(*(code *)PTR_pthread_mutex_lock_0003d210)" ( (pointer_expression "*(code *)PTR_pthread_mutex_lock_0003d210" * (cast_expression "(code *)PTR_pthread_mutex_lock_0003d210" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4)" ( identifier )))) ;) (if_statement "if (iVar2 != 0) goto LAB_00019094;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00019094;" goto statement_identifier ;)) (expression_statement "*(undefined1 *)(iVar1 + 0xab) = 1;" (assignment_expression "*(undefined1 *)(iVar1 + 0xab) = 1" (pointer_expression "*(undefined1 *)(iVar1 + 0xab)" * (cast_expression "(undefined1 *)(iVar1 + 0xab)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xab)" ( (binary_expression "iVar1 + 0xab" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0xc);" (assignment_expression "iVar1 = *(int *)(param_1 + 0xc)" identifier = (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) })) })) })) (labeled_statement "LAB_00018e1c:\n  iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);" statement_identifier : (expression_statement "iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);" (assignment_expression "iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4)" identifier = (call_expression "(*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4)" (parenthesized_expression "(*(code *)PTR_pthread_mutex_unlock_0003d280)" ( (pointer_expression "*(code *)PTR_pthread_mutex_unlock_0003d280" * (cast_expression "(code *)PTR_pthread_mutex_unlock_0003d280" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4)" ( identifier )))) ;)) (expression_statement "uVar3 = 0x1a7c;" (assignment_expression "uVar3 = 0x1a7c" identifier = number_literal) ;) (if_statement "if (iVar2 != 0) goto LAB_00018f34;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00018f34;" goto statement_identifier ;)) (if_statement "if (uVar6 != 0) {\n    *(undefined1 *)(param_1 + 0xdf) = 1;\n    FUN_00017778(param_1);\n  }" if (parenthesized_expression "(uVar6 != 0)" ( (binary_expression "uVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    *(undefined1 *)(param_1 + 0xdf) = 1;\n    FUN_00017778(param_1);\n  }" { (expression_statement "*(undefined1 *)(param_1 + 0xdf) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0xdf) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0xdf)" * (cast_expression "(undefined1 *)(param_1 + 0xdf)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xdf)" ( (binary_expression "param_1 + 0xdf" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00017778(param_1);" (call_expression "FUN_00017778(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) })) (labeled_statement "LAB_00018e38:\n  iVar1 = *(int *)(param_1 + 0xc);" statement_identifier : (expression_statement "iVar1 = *(int *)(param_1 + 0xc);" (assignment_expression "iVar1 = *(int *)(param_1 + 0xc)" identifier = (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;)) (while_statement "while( true ) {\n    if (iVar1 == 0) {\n      FUN_000188d8(param_1);\n      return;\n    }\n    if (((*(uint *)(param_1 + 0xf4) & 4) != 0) && (uVar3 = 0x1a91, *(char *)(iVar1 + 0xab) == '\0'))\n    goto LAB_00019070;\n    iVar4 = *(int *)(iVar1 + 0x18);\n    if ((*(uint *)(iVar4 + 0xf4) & 4) == 0) break;\n    FUN_00013f40(iVar1);\n    iVar1 = *(int *)(param_1 + 0xc);\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if (iVar1 == 0) {\n      FUN_000188d8(param_1);\n      return;\n    }\n    if (((*(uint *)(param_1 + 0xf4) & 4) != 0) && (uVar3 = 0x1a91, *(char *)(iVar1 + 0xab) == '\0'))\n    goto LAB_00019070;\n    iVar4 = *(int *)(iVar1 + 0x18);\n    if ((*(uint *)(iVar4 + 0xf4) & 4) == 0) break;\n    FUN_00013f40(iVar1);\n    iVar1 = *(int *)(param_1 + 0xc);\n  }" { (if_statement "if (iVar1 == 0) {\n      FUN_000188d8(param_1);\n      return;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      FUN_000188d8(param_1);\n      return;\n    }" { (expression_statement "FUN_000188d8(param_1);" (call_expression "FUN_000188d8(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })) (if_statement "if (((*(uint *)(param_1 + 0xf4) & 4) != 0) && (uVar3 = 0x1a91, *(char *)(iVar1 + 0xab) == '\0'))\n    goto LAB_00019070;" if (parenthesized_expression "(((*(uint *)(param_1 + 0xf4) & 4) != 0) && (uVar3 = 0x1a91, *(char *)(iVar1 + 0xab) == '\0'))" ( (binary_expression "((*(uint *)(param_1 + 0xf4) & 4) != 0) && (uVar3 = 0x1a91, *(char *)(iVar1 + 0xab) == '\0')" (parenthesized_expression "((*(uint *)(param_1 + 0xf4) & 4) != 0)" ( (binary_expression "(*(uint *)(param_1 + 0xf4) & 4) != 0" (parenthesized_expression "(*(uint *)(param_1 + 0xf4) & 4)" ( (binary_expression "*(uint *)(param_1 + 0xf4) & 4" (pointer_expression "*(uint *)(param_1 + 0xf4)" * (cast_expression "(uint *)(param_1 + 0xf4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xf4)" ( (binary_expression "param_1 + 0xf4" identifier + number_literal) )))) & number_literal) )) != number_literal) )) && (parenthesized_expression "(uVar3 = 0x1a91, *(char *)(iVar1 + 0xab) == '\0')" ( (comma_expression "uVar3 = 0x1a91, *(char *)(iVar1 + 0xab) == '\0'" (assignment_expression "uVar3 = 0x1a91" identifier = number_literal) , (binary_expression "*(char *)(iVar1 + 0xab) == '\0'" (pointer_expression "*(char *)(iVar1 + 0xab)" * (cast_expression "(char *)(iVar1 + 0xab)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xab)" ( (binary_expression "iVar1 + 0xab" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence '))) ))) )) (goto_statement "goto LAB_00019070;" goto statement_identifier ;)) (expression_statement "iVar4 = *(int *)(iVar1 + 0x18);" (assignment_expression "iVar4 = *(int *)(iVar1 + 0x18)" identifier = (pointer_expression "*(int *)(iVar1 + 0x18)" * (cast_expression "(int *)(iVar1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if ((*(uint *)(iVar4 + 0xf4) & 4) == 0) break;" if (parenthesized_expression "((*(uint *)(iVar4 + 0xf4) & 4) == 0)" ( (binary_expression "(*(uint *)(iVar4 + 0xf4) & 4) == 0" (parenthesized_expression "(*(uint *)(iVar4 + 0xf4) & 4)" ( (binary_expression "*(uint *)(iVar4 + 0xf4) & 4" (pointer_expression "*(uint *)(iVar4 + 0xf4)" * (cast_expression "(uint *)(iVar4 + 0xf4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xf4)" ( (binary_expression "iVar4 + 0xf4" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (break_statement "break;" break ;)) (expression_statement "FUN_00013f40(iVar1);" (call_expression "FUN_00013f40(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0xc);" (assignment_expression "iVar1 = *(int *)(param_1 + 0xc)" identifier = (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) })) (expression_statement "uVar6 = iVar4 + 0xac;" (assignment_expression "uVar6 = iVar4 + 0xac" identifier = (binary_expression "iVar4 + 0xac" identifier + number_literal)) ;) (expression_statement "FUN_00013f84(iVar1,3);" (call_expression "FUN_00013f84(iVar1,3)" identifier (argument_list "(iVar1,3)" ( identifier , number_literal ))) ;) (expression_statement "iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(uVar6);" (assignment_expression "iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(uVar6)" identifier = (call_expression "(*(code *)PTR_pthread_mutex_lock_0003d210)(uVar6)" (parenthesized_expression "(*(code *)PTR_pthread_mutex_lock_0003d210)" ( (pointer_expression "*(code *)PTR_pthread_mutex_lock_0003d210" * (cast_expression "(code *)PTR_pthread_mutex_lock_0003d210" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6)" ( identifier )))) ;) (if_statement "if (iVar2 != 0) {\n    do {\n      uVar3 = 0x1274;\nLAB_00019098:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x62c0);\nLAB_000190c0:\n      uVar3 = 0x1a37;\nLAB_000190c4:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x4ce4);\n    } while( true );\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    do {\n      uVar3 = 0x1274;\nLAB_00019098:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x62c0);\nLAB_000190c0:\n      uVar3 = 0x1a37;\nLAB_000190c4:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x4ce4);\n    } while( true );\n  }" { (do_statement "do {\n      uVar3 = 0x1274;\nLAB_00019098:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x62c0);\nLAB_000190c0:\n      uVar3 = 0x1a37;\nLAB_000190c4:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x4ce4);\n    } while( true );" do (compound_statement "{\n      uVar3 = 0x1274;\nLAB_00019098:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x62c0);\nLAB_000190c0:\n      uVar3 = 0x1a37;\nLAB_000190c4:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x4ce4);\n    }" { (expression_statement "uVar3 = 0x1274;" (assignment_expression "uVar3 = 0x1274" identifier = number_literal) ;) (labeled_statement "LAB_00019098:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x62c0);" statement_identifier : (expression_statement "(**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x62c0);" (call_expression "(**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x62c0)" (parenthesized_expression "(**(code **)PTR_DAT_0003d03c)" ( (pointer_expression "**(code **)PTR_DAT_0003d03c" * (pointer_expression "*(code **)PTR_DAT_0003d03c" * (cast_expression "(code **)PTR_DAT_0003d03c" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x62c0)" ( (pointer_expression "*(undefined4 *)PTR_DAT_0003d038" * (cast_expression "(undefined4 *)PTR_DAT_0003d038" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "PTR_DAT_0003d02c + -0x51b0" identifier + number_literal) , identifier , (binary_expression "PTR_DAT_0003d02c + -0x62c0" identifier + number_literal) ))) ;)) (labeled_statement "LAB_000190c0:\n      uVar3 = 0x1a37;" statement_identifier : (expression_statement "uVar3 = 0x1a37;" (assignment_expression "uVar3 = 0x1a37" identifier = number_literal) ;)) (labeled_statement "LAB_000190c4:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x4ce4);" statement_identifier : (expression_statement "(**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x4ce4);" (call_expression "(**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x4ce4)" (parenthesized_expression "(**(code **)PTR_DAT_0003d03c)" ( (pointer_expression "**(code **)PTR_DAT_0003d03c" * (pointer_expression "*(code **)PTR_DAT_0003d03c" * (cast_expression "(code **)PTR_DAT_0003d03c" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x4ce4)" ( (pointer_expression "*(undefined4 *)PTR_DAT_0003d038" * (cast_expression "(undefined4 *)PTR_DAT_0003d038" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "PTR_DAT_0003d02c + -0x51b0" identifier + number_literal) , identifier , (binary_expression "PTR_DAT_0003d02c + -0x4ce4" identifier + number_literal) ))) ;)) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "iVar2 = *(int *)(iVar1 + 0x14);" (assignment_expression "iVar2 = *(int *)(iVar1 + 0x14)" identifier = (pointer_expression "*(int *)(iVar1 + 0x14)" * (cast_expression "(int *)(iVar1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(undefined4 *)(iVar1 + 0x10);" (assignment_expression "uVar3 = *(undefined4 *)(iVar1 + 0x10)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" * (cast_expression "(undefined4 *)(iVar1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar1 + 0x98) == *(int *)(iVar4 + 0xec)) {\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x30) = uVar3;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }\n    iVar2 = *(int *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0x14);\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x34) = uVar3;\n      goto LAB_00018ecc;\n    }\n  }\n  else {\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x38) = uVar3;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }\n    iVar2 = *(int *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0x14);\n    if (iVar2 == 0) goto LAB_00018f58;\n  }" if (parenthesized_expression "(*(int *)(iVar1 + 0x98) == *(int *)(iVar4 + 0xec))" ( (binary_expression "*(int *)(iVar1 + 0x98) == *(int *)(iVar4 + 0xec)" (pointer_expression "*(int *)(iVar1 + 0x98)" * (cast_expression "(int *)(iVar1 + 0x98)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x98)" ( (binary_expression "iVar1 + 0x98" identifier + number_literal) )))) == (pointer_expression "*(int *)(iVar4 + 0xec)" * (cast_expression "(int *)(iVar4 + 0xec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xec)" ( (binary_expression "iVar4 + 0xec" identifier + number_literal) ))))) )) (compound_statement "{\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x30) = uVar3;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }\n    iVar2 = *(int *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0x14);\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x34) = uVar3;\n      goto LAB_00018ecc;\n    }\n  }" { (if_statement "if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x30) = uVar3;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      *(undefined4 *)(iVar4 + 0x30) = uVar3;\n    }" { (expression_statement "*(undefined4 *)(iVar4 + 0x30) = uVar3;" (assignment_expression "*(undefined4 *)(iVar4 + 0x30) = uVar3" (pointer_expression "*(undefined4 *)(iVar4 + 0x30)" * (cast_expression "(undefined4 *)(iVar4 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x30)" ( (binary_expression "iVar4 + 0x30" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }" else (compound_statement "{\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }" { (expression_statement "*(undefined4 *)(iVar2 + 0x10) = uVar3;" (assignment_expression "*(undefined4 *)(iVar2 + 0x10) = uVar3" (pointer_expression "*(undefined4 *)(iVar2 + 0x10)" * (cast_expression "(undefined4 *)(iVar2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) = identifier) ;) }))) (expression_statement "iVar2 = *(int *)(iVar1 + 0x10);" (assignment_expression "iVar2 = *(int *)(iVar1 + 0x10)" identifier = (pointer_expression "*(int *)(iVar1 + 0x10)" * (cast_expression "(int *)(iVar1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(undefined4 *)(iVar1 + 0x14);" (assignment_expression "uVar3 = *(undefined4 *)(iVar1 + 0x14)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 0x14)" * (cast_expression "(undefined4 *)(iVar1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x34) = uVar3;\n      goto LAB_00018ecc;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      *(undefined4 *)(iVar4 + 0x34) = uVar3;\n      goto LAB_00018ecc;\n    }" { (expression_statement "*(undefined4 *)(iVar4 + 0x34) = uVar3;" (assignment_expression "*(undefined4 *)(iVar4 + 0x34) = uVar3" (pointer_expression "*(undefined4 *)(iVar4 + 0x34)" * (cast_expression "(undefined4 *)(iVar4 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x34)" ( (binary_expression "iVar4 + 0x34" identifier + number_literal) )))) = identifier) ;) (goto_statement "goto LAB_00018ecc;" goto statement_identifier ;) })) }) (else_clause "else {\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x38) = uVar3;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }\n    iVar2 = *(int *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0x14);\n    if (iVar2 == 0) goto LAB_00018f58;\n  }" else (compound_statement "{\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x38) = uVar3;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }\n    iVar2 = *(int *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0x14);\n    if (iVar2 == 0) goto LAB_00018f58;\n  }" { (if_statement "if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x38) = uVar3;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      *(undefined4 *)(iVar4 + 0x38) = uVar3;\n    }" { (expression_statement "*(undefined4 *)(iVar4 + 0x38) = uVar3;" (assignment_expression "*(undefined4 *)(iVar4 + 0x38) = uVar3" (pointer_expression "*(undefined4 *)(iVar4 + 0x38)" * (cast_expression "(undefined4 *)(iVar4 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x38)" ( (binary_expression "iVar4 + 0x38" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }" else (compound_statement "{\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }" { (expression_statement "*(undefined4 *)(iVar2 + 0x10) = uVar3;" (assignment_expression "*(undefined4 *)(iVar2 + 0x10) = uVar3" (pointer_expression "*(undefined4 *)(iVar2 + 0x10)" * (cast_expression "(undefined4 *)(iVar2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) = identifier) ;) }))) (expression_statement "iVar2 = *(int *)(iVar1 + 0x10);" (assignment_expression "iVar2 = *(int *)(iVar1 + 0x10)" identifier = (pointer_expression "*(int *)(iVar1 + 0x10)" * (cast_expression "(int *)(iVar1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(undefined4 *)(iVar1 + 0x14);" (assignment_expression "uVar3 = *(undefined4 *)(iVar1 + 0x14)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 0x14)" * (cast_expression "(undefined4 *)(iVar1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 == 0) goto LAB_00018f58;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00018f58;" goto statement_identifier ;)) }))) (expression_statement "*(undefined4 *)(iVar2 + 0x14) = uVar3;" (assignment_expression "*(undefined4 *)(iVar2 + 0x14) = uVar3" (pointer_expression "*(undefined4 *)(iVar2 + 0x14)" * (cast_expression "(undefined4 *)(iVar2 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) )))) = identifier) ;) (labeled_statement "LAB_00018ecc:\n  iVar2 = *(int *)(iVar1 + 0xc);" statement_identifier : (expression_statement "iVar2 = *(int *)(iVar1 + 0xc);" (assignment_expression "iVar2 = *(int *)(iVar1 + 0xc)" identifier = (pointer_expression "*(int *)(iVar1 + 0xc)" * (cast_expression "(int *)(iVar1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) ))))) ;)) (expression_statement "uVar3 = *(undefined4 *)(iVar1 + 8);" (assignment_expression "uVar3 = *(undefined4 *)(iVar1 + 8)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 8)" * (cast_expression "(undefined4 *)(iVar1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x10) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" * (cast_expression "(undefined4 *)(iVar1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x14) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x14)" * (cast_expression "(undefined4 *)(iVar1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (iVar2 == 0) goto LAB_00018f70;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00018f70;" goto statement_identifier ;)) (labeled_statement "LAB_00018ee0:\n  *(undefined4 *)(iVar2 + 8) = uVar3;" statement_identifier : (expression_statement "*(undefined4 *)(iVar2 + 8) = uVar3;" (assignment_expression "*(undefined4 *)(iVar2 + 8) = uVar3" (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) ;)) (expression_statement "iVar2 = *(int *)(iVar1 + 8);" (assignment_expression "iVar2 = *(int *)(iVar1 + 8)" identifier = (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(undefined4 *)(iVar1 + 0xc);" (assignment_expression "uVar3 = *(undefined4 *)(iVar1 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" * (cast_expression "(undefined4 *)(iVar1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 == 0) goto LAB_00018f80;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00018f80;" goto statement_identifier ;)) (labeled_statement "LAB_00018ef0:\n  *(undefined4 *)(iVar2 + 0xc) = uVar3;" statement_identifier : (expression_statement "*(undefined4 *)(iVar2 + 0xc) = uVar3;" (assignment_expression "*(undefined4 *)(iVar2 + 0xc) = uVar3" (pointer_expression "*(undefined4 *)(iVar2 + 0xc)" * (cast_expression "(undefined4 *)(iVar2 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) )))) = identifier) ;)) (expression_statement "*(undefined4 *)(iVar1 + 8) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 8) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 8)" * (cast_expression "(undefined4 *)(iVar1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0xc) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0xc) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" * (cast_expression "(undefined4 *)(iVar1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18);" (assignment_expression "*(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18)" (pointer_expression "*(undefined4 *)(iVar1 + 8)" * (cast_expression "(undefined4 *)(iVar1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar4 + 0x18)" * (cast_expression "(undefined4 *)(iVar4 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar4 + 0x1c) == 0) goto LAB_00018fa0;" if (parenthesized_expression "(*(int *)(iVar4 + 0x1c) == 0)" ( (binary_expression "*(int *)(iVar4 + 0x1c) == 0" (pointer_expression "*(int *)(iVar4 + 0x1c)" * (cast_expression "(int *)(iVar4 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) )))) == number_literal) )) (goto_statement "goto LAB_00018fa0;" goto statement_identifier ;)) (do_statement "do {\n    *(int *)(*(int *)(iVar4 + 0x18) + 0xc) = iVar1;\n    while( true ) {\n      puVar7 = PTR_pthread_mutex_unlock_0003d280;\n      *(int *)(iVar4 + 0x18) = iVar1;\n      iVar2 = (*(code *)puVar7)(uVar6);\n      if (iVar2 == 0) goto LAB_00018e38;\n      uVar3 = 0x1287;\nLAB_00018f34:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x6298);\n      uVar3 = extraout_v1;\nLAB_00018f58:\n      *(undefined4 *)(iVar4 + 0x3c) = uVar3;\n      *(undefined4 *)(iVar1 + 0x10) = 0;\n      *(undefined4 *)(iVar1 + 0x14) = 0;\n      iVar2 = *(int *)(iVar1 + 0xc);\n      uVar3 = *(undefined4 *)(iVar1 + 8);\n      if (iVar2 != 0) goto LAB_00018ee0;\nLAB_00018f70:\n      *(undefined4 *)(iVar4 + 8) = uVar3;\n      iVar2 = *(int *)(iVar1 + 8);\n      uVar3 = *(undefined4 *)(iVar1 + 0xc);\n      if (iVar2 != 0) goto LAB_00018ef0;\nLAB_00018f80:\n      *(undefined4 *)(iVar4 + 0xc) = uVar3;\n      *(undefined4 *)(iVar1 + 8) = 0;\n      *(undefined4 *)(iVar1 + 0xc) = 0;\n      *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18);\n      if (*(int *)(iVar4 + 0x1c) != 0) break;\nLAB_00018fa0:\n      *(int *)(iVar4 + 0x1c) = iVar1;\n    }\n  } while( true );" do (compound_statement "{\n    *(int *)(*(int *)(iVar4 + 0x18) + 0xc) = iVar1;\n    while( true ) {\n      puVar7 = PTR_pthread_mutex_unlock_0003d280;\n      *(int *)(iVar4 + 0x18) = iVar1;\n      iVar2 = (*(code *)puVar7)(uVar6);\n      if (iVar2 == 0) goto LAB_00018e38;\n      uVar3 = 0x1287;\nLAB_00018f34:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x6298);\n      uVar3 = extraout_v1;\nLAB_00018f58:\n      *(undefined4 *)(iVar4 + 0x3c) = uVar3;\n      *(undefined4 *)(iVar1 + 0x10) = 0;\n      *(undefined4 *)(iVar1 + 0x14) = 0;\n      iVar2 = *(int *)(iVar1 + 0xc);\n      uVar3 = *(undefined4 *)(iVar1 + 8);\n      if (iVar2 != 0) goto LAB_00018ee0;\nLAB_00018f70:\n      *(undefined4 *)(iVar4 + 8) = uVar3;\n      iVar2 = *(int *)(iVar1 + 8);\n      uVar3 = *(undefined4 *)(iVar1 + 0xc);\n      if (iVar2 != 0) goto LAB_00018ef0;\nLAB_00018f80:\n      *(undefined4 *)(iVar4 + 0xc) = uVar3;\n      *(undefined4 *)(iVar1 + 8) = 0;\n      *(undefined4 *)(iVar1 + 0xc) = 0;\n      *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18);\n      if (*(int *)(iVar4 + 0x1c) != 0) break;\nLAB_00018fa0:\n      *(int *)(iVar4 + 0x1c) = iVar1;\n    }\n  }" { (expression_statement "*(int *)(*(int *)(iVar4 + 0x18) + 0xc) = iVar1;" (assignment_expression "*(int *)(*(int *)(iVar4 + 0x18) + 0xc) = iVar1" (pointer_expression "*(int *)(*(int *)(iVar4 + 0x18) + 0xc)" * (cast_expression "(int *)(*(int *)(iVar4 + 0x18) + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar4 + 0x18) + 0xc)" ( (binary_expression "*(int *)(iVar4 + 0x18) + 0xc" (pointer_expression "*(int *)(iVar4 + 0x18)" * (cast_expression "(int *)(iVar4 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) (while_statement "while( true ) {\n      puVar7 = PTR_pthread_mutex_unlock_0003d280;\n      *(int *)(iVar4 + 0x18) = iVar1;\n      iVar2 = (*(code *)puVar7)(uVar6);\n      if (iVar2 == 0) goto LAB_00018e38;\n      uVar3 = 0x1287;\nLAB_00018f34:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x6298);\n      uVar3 = extraout_v1;\nLAB_00018f58:\n      *(undefined4 *)(iVar4 + 0x3c) = uVar3;\n      *(undefined4 *)(iVar1 + 0x10) = 0;\n      *(undefined4 *)(iVar1 + 0x14) = 0;\n      iVar2 = *(int *)(iVar1 + 0xc);\n      uVar3 = *(undefined4 *)(iVar1 + 8);\n      if (iVar2 != 0) goto LAB_00018ee0;\nLAB_00018f70:\n      *(undefined4 *)(iVar4 + 8) = uVar3;\n      iVar2 = *(int *)(iVar1 + 8);\n      uVar3 = *(undefined4 *)(iVar1 + 0xc);\n      if (iVar2 != 0) goto LAB_00018ef0;\nLAB_00018f80:\n      *(undefined4 *)(iVar4 + 0xc) = uVar3;\n      *(undefined4 *)(iVar1 + 8) = 0;\n      *(undefined4 *)(iVar1 + 0xc) = 0;\n      *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18);\n      if (*(int *)(iVar4 + 0x1c) != 0) break;\nLAB_00018fa0:\n      *(int *)(iVar4 + 0x1c) = iVar1;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      puVar7 = PTR_pthread_mutex_unlock_0003d280;\n      *(int *)(iVar4 + 0x18) = iVar1;\n      iVar2 = (*(code *)puVar7)(uVar6);\n      if (iVar2 == 0) goto LAB_00018e38;\n      uVar3 = 0x1287;\nLAB_00018f34:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x6298);\n      uVar3 = extraout_v1;\nLAB_00018f58:\n      *(undefined4 *)(iVar4 + 0x3c) = uVar3;\n      *(undefined4 *)(iVar1 + 0x10) = 0;\n      *(undefined4 *)(iVar1 + 0x14) = 0;\n      iVar2 = *(int *)(iVar1 + 0xc);\n      uVar3 = *(undefined4 *)(iVar1 + 8);\n      if (iVar2 != 0) goto LAB_00018ee0;\nLAB_00018f70:\n      *(undefined4 *)(iVar4 + 8) = uVar3;\n      iVar2 = *(int *)(iVar1 + 8);\n      uVar3 = *(undefined4 *)(iVar1 + 0xc);\n      if (iVar2 != 0) goto LAB_00018ef0;\nLAB_00018f80:\n      *(undefined4 *)(iVar4 + 0xc) = uVar3;\n      *(undefined4 *)(iVar1 + 8) = 0;\n      *(undefined4 *)(iVar1 + 0xc) = 0;\n      *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18);\n      if (*(int *)(iVar4 + 0x1c) != 0) break;\nLAB_00018fa0:\n      *(int *)(iVar4 + 0x1c) = iVar1;\n    }" { (expression_statement "puVar7 = PTR_pthread_mutex_unlock_0003d280;" (assignment_expression "puVar7 = PTR_pthread_mutex_unlock_0003d280" identifier = identifier) ;) (expression_statement "*(int *)(iVar4 + 0x18) = iVar1;" (assignment_expression "*(int *)(iVar4 + 0x18) = iVar1" (pointer_expression "*(int *)(iVar4 + 0x18)" * (cast_expression "(int *)(iVar4 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar2 = (*(code *)puVar7)(uVar6);" (assignment_expression "iVar2 = (*(code *)puVar7)(uVar6)" identifier = (call_expression "(*(code *)puVar7)(uVar6)" (parenthesized_expression "(*(code *)puVar7)" ( (pointer_expression "*(code *)puVar7" * (cast_expression "(code *)puVar7" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6)" ( identifier )))) ;) (if_statement "if (iVar2 == 0) goto LAB_00018e38;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00018e38;" goto statement_identifier ;)) (expression_statement "uVar3 = 0x1287;" (assignment_expression "uVar3 = 0x1287" identifier = number_literal) ;) (labeled_statement "LAB_00018f34:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x6298);" statement_identifier : (expression_statement "(**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x6298);" (call_expression "(**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x6298)" (parenthesized_expression "(**(code **)PTR_DAT_0003d03c)" ( (pointer_expression "**(code **)PTR_DAT_0003d03c" * (pointer_expression "*(code **)PTR_DAT_0003d03c" * (cast_expression "(code **)PTR_DAT_0003d03c" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x6298)" ( (pointer_expression "*(undefined4 *)PTR_DAT_0003d038" * (cast_expression "(undefined4 *)PTR_DAT_0003d038" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "PTR_DAT_0003d02c + -0x51b0" identifier + number_literal) , identifier , (binary_expression "PTR_DAT_0003d02c + -0x6298" identifier + number_literal) ))) ;)) (expression_statement "uVar3 = extraout_v1;" (assignment_expression "uVar3 = extraout_v1" identifier = identifier) ;) (labeled_statement "LAB_00018f58:\n      *(undefined4 *)(iVar4 + 0x3c) = uVar3;" statement_identifier : (expression_statement "*(undefined4 *)(iVar4 + 0x3c) = uVar3;" (assignment_expression "*(undefined4 *)(iVar4 + 0x3c) = uVar3" (pointer_expression "*(undefined4 *)(iVar4 + 0x3c)" * (cast_expression "(undefined4 *)(iVar4 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x3c)" ( (binary_expression "iVar4 + 0x3c" identifier + number_literal) )))) = identifier) ;)) (expression_statement "*(undefined4 *)(iVar1 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x10) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" * (cast_expression "(undefined4 *)(iVar1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x14) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x14)" * (cast_expression "(undefined4 *)(iVar1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar2 = *(int *)(iVar1 + 0xc);" (assignment_expression "iVar2 = *(int *)(iVar1 + 0xc)" identifier = (pointer_expression "*(int *)(iVar1 + 0xc)" * (cast_expression "(int *)(iVar1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(undefined4 *)(iVar1 + 8);" (assignment_expression "uVar3 = *(undefined4 *)(iVar1 + 8)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 8)" * (cast_expression "(undefined4 *)(iVar1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 != 0) goto LAB_00018ee0;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00018ee0;" goto statement_identifier ;)) (labeled_statement "LAB_00018f70:\n      *(undefined4 *)(iVar4 + 8) = uVar3;" statement_identifier : (expression_statement "*(undefined4 *)(iVar4 + 8) = uVar3;" (assignment_expression "*(undefined4 *)(iVar4 + 8) = uVar3" (pointer_expression "*(undefined4 *)(iVar4 + 8)" * (cast_expression "(undefined4 *)(iVar4 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) = identifier) ;)) (expression_statement "iVar2 = *(int *)(iVar1 + 8);" (assignment_expression "iVar2 = *(int *)(iVar1 + 8)" identifier = (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(undefined4 *)(iVar1 + 0xc);" (assignment_expression "uVar3 = *(undefined4 *)(iVar1 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" * (cast_expression "(undefined4 *)(iVar1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 != 0) goto LAB_00018ef0;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00018ef0;" goto statement_identifier ;)) (labeled_statement "LAB_00018f80:\n      *(undefined4 *)(iVar4 + 0xc) = uVar3;" statement_identifier : (expression_statement "*(undefined4 *)(iVar4 + 0xc) = uVar3;" (assignment_expression "*(undefined4 *)(iVar4 + 0xc) = uVar3" (pointer_expression "*(undefined4 *)(iVar4 + 0xc)" * (cast_expression "(undefined4 *)(iVar4 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) )))) = identifier) ;)) (expression_statement "*(undefined4 *)(iVar1 + 8) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 8) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 8)" * (cast_expression "(undefined4 *)(iVar1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0xc) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0xc) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" * (cast_expression "(undefined4 *)(iVar1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18);" (assignment_expression "*(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18)" (pointer_expression "*(undefined4 *)(iVar1 + 8)" * (cast_expression "(undefined4 *)(iVar1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar4 + 0x18)" * (cast_expression "(undefined4 *)(iVar4 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar4 + 0x1c) != 0) break;" if (parenthesized_expression "(*(int *)(iVar4 + 0x1c) != 0)" ( (binary_expression "*(int *)(iVar4 + 0x1c) != 0" (pointer_expression "*(int *)(iVar4 + 0x1c)" * (cast_expression "(int *)(iVar4 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) )))) != number_literal) )) (break_statement "break;" break ;)) (labeled_statement "LAB_00018fa0:\n      *(int *)(iVar4 + 0x1c) = iVar1;" statement_identifier : (expression_statement "*(int *)(iVar4 + 0x1c) = iVar1;" (assignment_expression "*(int *)(iVar4 + 0x1c) = iVar1" (pointer_expression "*(int *)(iVar4 + 0x1c)" * (cast_expression "(int *)(iVar4 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) )))) = identifier) ;)) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) })) })) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (while_statement while (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , (binary_expression IDENT + LIT) , IDENT , (binary_expression IDENT + LIT) ))) ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) })) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = LIT) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence '))) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (break_statement break ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , (binary_expression IDENT + LIT) , IDENT , (binary_expression IDENT + LIT) ))) ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , (binary_expression IDENT + LIT) , IDENT , (binary_expression IDENT + LIT) ))) ;)) }) while (parenthesized_expression ( BOOL )) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (goto_statement goto statement_identifier ;)) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = IDENT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , (binary_expression IDENT + LIT) , IDENT , (binary_expression IDENT + LIT) ))) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (break_statement break ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;)) })) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "void FUN_00018c7c(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 extraout_v1;\n  undefined4 uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined *puVar7;\n  \n  uVar5 = *(uint *)(param_1 + 0xf4);\n  uVar6 = uVar5 & 0x8000;\n  if ((uVar5 & 0x2000) != 0) {\n    *(undefined1 *)(param_1 + 0xdf) = 1;\n    FUN_00017778();\n  }\n  iVar4 = param_1 + 0xac;\n  iVar1 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);\n  uVar3 = 0x1a2b;\n  if (iVar1 != 0) goto LAB_00019098;\n  if (uVar6 == 0) {\n    uVar3 = 0x1a58;\n    if (*(int *)(param_1 + 0x10) != 0) goto LAB_000190c4;\n  }\n  else {\n    iVar1 = *(int *)(param_1 + 0x14);\n    if (iVar1 != 0) {\n      iVar2 = *(int *)(iVar1 + 0xdc);\n      if (iVar2 == 0) goto LAB_000190c0;\n      puVar7 = PTR_DAT_0003d02c + -0x4ca4;\n      while( true ) {\n        if (*(char *)(iVar2 + 4) == '\0') {\n          FUN_0001e5b0(param_1,puVar7,uVar3);\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        else {\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        if (iVar1 == 0) break;\n        iVar2 = *(int *)(iVar1 + 0xdc);\n        uVar3 = 0x1a37;\n        if (iVar2 == 0) goto LAB_000190c0;\n      }\n    }\n  }\n  iVar1 = *(int *)(param_1 + 0xc);\n  if (iVar1 != 0) {\n    do {\n      (*(code *)PTR_shutdown_0003d134)(*(undefined4 *)(iVar1 + 0xa4),2);\n      iVar1 = *(int *)(iVar1 + 0xc);\n    } while (iVar1 != 0);\n    iVar1 = 0;\n    if ((uVar5 & 4) != 0) {\n      iVar1 = *(int *)(param_1 + 0xc);\n      while (iVar1 != 0) {\n        while (*(char *)(iVar1 + 0xab) != '\0') {\n          iVar1 = *(int *)(iVar1 + 0xc);\n          if (iVar1 == 0) goto LAB_00018e1c;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a6f;\n          goto LAB_00018f34;\n        }\n        iVar2 = (*(code *)PTR_pthread_join_0003d160)(*(undefined4 *)(iVar1 + 0x58),0);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar3 = 0x1a72;\n          goto LAB_00019098;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);\n        if (iVar2 != 0) goto LAB_00019094;\n        *(undefined1 *)(iVar1 + 0xab) = 1;\n        iVar1 = *(int *)(param_1 + 0xc);\n      }\n    }\n  }\nLAB_00018e1c:\n  iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);\n  uVar3 = 0x1a7c;\n  if (iVar2 != 0) goto LAB_00018f34;\n  if (uVar6 != 0) {\n    *(undefined1 *)(param_1 + 0xdf) = 1;\n    FUN_00017778(param_1);\n  }\nLAB_00018e38:\n  iVar1 = *(int *)(param_1 + 0xc);\n  while( true ) {\n    if (iVar1 == 0) {\n      FUN_000188d8(param_1);\n      return;\n    }\n    if (((*(uint *)(param_1 + 0xf4) & 4) != 0) && (uVar3 = 0x1a91, *(char *)(iVar1 + 0xab) == '\0'))\n    goto LAB_00019070;\n    iVar4 = *(int *)(iVar1 + 0x18);\n    if ((*(uint *)(iVar4 + 0xf4) & 4) == 0) break;\n    FUN_00013f40(iVar1);\n    iVar1 = *(int *)(param_1 + 0xc);\n  }\n  uVar6 = iVar4 + 0xac;\n  FUN_00013f84(iVar1,3);\n  iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(uVar6);\n  if (iVar2 != 0) {\n    do {\n      uVar3 = 0x1274;\nLAB_00019098:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x62c0);\nLAB_000190c0:\n      uVar3 = 0x1a37;\nLAB_000190c4:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x4ce4);\n    } while( true );\n  }\n  iVar2 = *(int *)(iVar1 + 0x14);\n  uVar3 = *(undefined4 *)(iVar1 + 0x10);\n  if (*(int *)(iVar1 + 0x98) == *(int *)(iVar4 + 0xec)) {\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x30) = uVar3;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }\n    iVar2 = *(int *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0x14);\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x34) = uVar3;\n      goto LAB_00018ecc;\n    }\n  }\n  else {\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x38) = uVar3;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }\n    iVar2 = *(int *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0x14);\n    if (iVar2 == 0) goto LAB_00018f58;\n  }\n  *(undefined4 *)(iVar2 + 0x14) = uVar3;\nLAB_00018ecc:\n  iVar2 = *(int *)(iVar1 + 0xc);\n  uVar3 = *(undefined4 *)(iVar1 + 8);\n  *(undefined4 *)(iVar1 + 0x10) = 0;\n  *(undefined4 *)(iVar1 + 0x14) = 0;\n  if (iVar2 == 0) goto LAB_00018f70;\nLAB_00018ee0:\n  *(undefined4 *)(iVar2 + 8) = uVar3;\n  iVar2 = *(int *)(iVar1 + 8);\n  uVar3 = *(undefined4 *)(iVar1 + 0xc);\n  if (iVar2 == 0) goto LAB_00018f80;\nLAB_00018ef0:\n  *(undefined4 *)(iVar2 + 0xc) = uVar3;\n  *(undefined4 *)(iVar1 + 8) = 0;\n  *(undefined4 *)(iVar1 + 0xc) = 0;\n  *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18);\n  if (*(int *)(iVar4 + 0x1c) == 0) goto LAB_00018fa0;\n  do {\n    *(int *)(*(int *)(iVar4 + 0x18) + 0xc) = iVar1;\n    while( true ) {\n      puVar7 = PTR_pthread_mutex_unlock_0003d280;\n      *(int *)(iVar4 + 0x18) = iVar1;\n      iVar2 = (*(code *)puVar7)(uVar6);\n      if (iVar2 == 0) goto LAB_00018e38;\n      uVar3 = 0x1287;\nLAB_00018f34:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x6298);\n      uVar3 = extraout_v1;\nLAB_00018f58:\n      *(undefined4 *)(iVar4 + 0x3c) = uVar3;\n      *(undefined4 *)(iVar1 + 0x10) = 0;\n      *(undefined4 *)(iVar1 + 0x14) = 0;\n      iVar2 = *(int *)(iVar1 + 0xc);\n      uVar3 = *(undefined4 *)(iVar1 + 8);\n      if (iVar2 != 0) goto LAB_00018ee0;\nLAB_00018f70:\n      *(undefined4 *)(iVar4 + 8) = uVar3;\n      iVar2 = *(int *)(iVar1 + 8);\n      uVar3 = *(undefined4 *)(iVar1 + 0xc);\n      if (iVar2 != 0) goto LAB_00018ef0;\nLAB_00018f80:\n      *(undefined4 *)(iVar4 + 0xc) = uVar3;\n      *(undefined4 *)(iVar1 + 8) = 0;\n      *(undefined4 *)(iVar1 + 0xc) = 0;\n      *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18);\n      if (*(int *)(iVar4 + 0x1c) != 0) break;\nLAB_00018fa0:\n      *(int *)(iVar4 + 0x1c) = iVar1;\n    }\n  } while( true );\n}" (primitive_type "void") (function_declarator "FUN_00018c7c(int param_1)" (identifier "FUN_00018c7c") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined4 extraout_v1;\n  undefined4 uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined *puVar7;\n  \n  uVar5 = *(uint *)(param_1 + 0xf4);\n  uVar6 = uVar5 & 0x8000;\n  if ((uVar5 & 0x2000) != 0) {\n    *(undefined1 *)(param_1 + 0xdf) = 1;\n    FUN_00017778();\n  }\n  iVar4 = param_1 + 0xac;\n  iVar1 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);\n  uVar3 = 0x1a2b;\n  if (iVar1 != 0) goto LAB_00019098;\n  if (uVar6 == 0) {\n    uVar3 = 0x1a58;\n    if (*(int *)(param_1 + 0x10) != 0) goto LAB_000190c4;\n  }\n  else {\n    iVar1 = *(int *)(param_1 + 0x14);\n    if (iVar1 != 0) {\n      iVar2 = *(int *)(iVar1 + 0xdc);\n      if (iVar2 == 0) goto LAB_000190c0;\n      puVar7 = PTR_DAT_0003d02c + -0x4ca4;\n      while( true ) {\n        if (*(char *)(iVar2 + 4) == '\0') {\n          FUN_0001e5b0(param_1,puVar7,uVar3);\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        else {\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        if (iVar1 == 0) break;\n        iVar2 = *(int *)(iVar1 + 0xdc);\n        uVar3 = 0x1a37;\n        if (iVar2 == 0) goto LAB_000190c0;\n      }\n    }\n  }\n  iVar1 = *(int *)(param_1 + 0xc);\n  if (iVar1 != 0) {\n    do {\n      (*(code *)PTR_shutdown_0003d134)(*(undefined4 *)(iVar1 + 0xa4),2);\n      iVar1 = *(int *)(iVar1 + 0xc);\n    } while (iVar1 != 0);\n    iVar1 = 0;\n    if ((uVar5 & 4) != 0) {\n      iVar1 = *(int *)(param_1 + 0xc);\n      while (iVar1 != 0) {\n        while (*(char *)(iVar1 + 0xab) != '\0') {\n          iVar1 = *(int *)(iVar1 + 0xc);\n          if (iVar1 == 0) goto LAB_00018e1c;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a6f;\n          goto LAB_00018f34;\n        }\n        iVar2 = (*(code *)PTR_pthread_join_0003d160)(*(undefined4 *)(iVar1 + 0x58),0);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar3 = 0x1a72;\n          goto LAB_00019098;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);\n        if (iVar2 != 0) goto LAB_00019094;\n        *(undefined1 *)(iVar1 + 0xab) = 1;\n        iVar1 = *(int *)(param_1 + 0xc);\n      }\n    }\n  }\nLAB_00018e1c:\n  iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);\n  uVar3 = 0x1a7c;\n  if (iVar2 != 0) goto LAB_00018f34;\n  if (uVar6 != 0) {\n    *(undefined1 *)(param_1 + 0xdf) = 1;\n    FUN_00017778(param_1);\n  }\nLAB_00018e38:\n  iVar1 = *(int *)(param_1 + 0xc);\n  while( true ) {\n    if (iVar1 == 0) {\n      FUN_000188d8(param_1);\n      return;\n    }\n    if (((*(uint *)(param_1 + 0xf4) & 4) != 0) && (uVar3 = 0x1a91, *(char *)(iVar1 + 0xab) == '\0'))\n    goto LAB_00019070;\n    iVar4 = *(int *)(iVar1 + 0x18);\n    if ((*(uint *)(iVar4 + 0xf4) & 4) == 0) break;\n    FUN_00013f40(iVar1);\n    iVar1 = *(int *)(param_1 + 0xc);\n  }\n  uVar6 = iVar4 + 0xac;\n  FUN_00013f84(iVar1,3);\n  iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(uVar6);\n  if (iVar2 != 0) {\n    do {\n      uVar3 = 0x1274;\nLAB_00019098:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x62c0);\nLAB_000190c0:\n      uVar3 = 0x1a37;\nLAB_000190c4:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x4ce4);\n    } while( true );\n  }\n  iVar2 = *(int *)(iVar1 + 0x14);\n  uVar3 = *(undefined4 *)(iVar1 + 0x10);\n  if (*(int *)(iVar1 + 0x98) == *(int *)(iVar4 + 0xec)) {\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x30) = uVar3;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }\n    iVar2 = *(int *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0x14);\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x34) = uVar3;\n      goto LAB_00018ecc;\n    }\n  }\n  else {\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x38) = uVar3;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }\n    iVar2 = *(int *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0x14);\n    if (iVar2 == 0) goto LAB_00018f58;\n  }\n  *(undefined4 *)(iVar2 + 0x14) = uVar3;\nLAB_00018ecc:\n  iVar2 = *(int *)(iVar1 + 0xc);\n  uVar3 = *(undefined4 *)(iVar1 + 8);\n  *(undefined4 *)(iVar1 + 0x10) = 0;\n  *(undefined4 *)(iVar1 + 0x14) = 0;\n  if (iVar2 == 0) goto LAB_00018f70;\nLAB_00018ee0:\n  *(undefined4 *)(iVar2 + 8) = uVar3;\n  iVar2 = *(int *)(iVar1 + 8);\n  uVar3 = *(undefined4 *)(iVar1 + 0xc);\n  if (iVar2 == 0) goto LAB_00018f80;\nLAB_00018ef0:\n  *(undefined4 *)(iVar2 + 0xc) = uVar3;\n  *(undefined4 *)(iVar1 + 8) = 0;\n  *(undefined4 *)(iVar1 + 0xc) = 0;\n  *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18);\n  if (*(int *)(iVar4 + 0x1c) == 0) goto LAB_00018fa0;\n  do {\n    *(int *)(*(int *)(iVar4 + 0x18) + 0xc) = iVar1;\n    while( true ) {\n      puVar7 = PTR_pthread_mutex_unlock_0003d280;\n      *(int *)(iVar4 + 0x18) = iVar1;\n      iVar2 = (*(code *)puVar7)(uVar6);\n      if (iVar2 == 0) goto LAB_00018e38;\n      uVar3 = 0x1287;\nLAB_00018f34:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x6298);\n      uVar3 = extraout_v1;\nLAB_00018f58:\n      *(undefined4 *)(iVar4 + 0x3c) = uVar3;\n      *(undefined4 *)(iVar1 + 0x10) = 0;\n      *(undefined4 *)(iVar1 + 0x14) = 0;\n      iVar2 = *(int *)(iVar1 + 0xc);\n      uVar3 = *(undefined4 *)(iVar1 + 8);\n      if (iVar2 != 0) goto LAB_00018ee0;\nLAB_00018f70:\n      *(undefined4 *)(iVar4 + 8) = uVar3;\n      iVar2 = *(int *)(iVar1 + 8);\n      uVar3 = *(undefined4 *)(iVar1 + 0xc);\n      if (iVar2 != 0) goto LAB_00018ef0;\nLAB_00018f80:\n      *(undefined4 *)(iVar4 + 0xc) = uVar3;\n      *(undefined4 *)(iVar1 + 8) = 0;\n      *(undefined4 *)(iVar1 + 0xc) = 0;\n      *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18);\n      if (*(int *)(iVar4 + 0x1c) != 0) break;\nLAB_00018fa0:\n      *(int *)(iVar4 + 0x1c) = iVar1;\n    }\n  } while( true );\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 extraout_v1;" (type_identifier "undefined4") (identifier "extraout_v1") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "undefined *puVar7;" (type_identifier "undefined") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (expression_statement "uVar5 = *(uint *)(param_1 + 0xf4);" (assignment_expression "uVar5 = *(uint *)(param_1 + 0xf4)" (identifier "uVar5") (= "=") (pointer_expression "*(uint *)(param_1 + 0xf4)" (* "*") (cast_expression "(uint *)(param_1 + 0xf4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xf4)" (( "(") (binary_expression "param_1 + 0xf4" (identifier "param_1") (+ "+") (number_literal "0xf4")) () ")"))))) (; ";")) (expression_statement "uVar6 = uVar5 & 0x8000;" (assignment_expression "uVar6 = uVar5 & 0x8000" (identifier "uVar6") (= "=") (binary_expression "uVar5 & 0x8000" (identifier "uVar5") (& "&") (number_literal "0x8000"))) (; ";")) (if_statement "if ((uVar5 & 0x2000) != 0) {\n    *(undefined1 *)(param_1 + 0xdf) = 1;\n    FUN_00017778();\n  }" (if "if") (parenthesized_expression "((uVar5 & 0x2000) != 0)" (( "(") (binary_expression "(uVar5 & 0x2000) != 0" (parenthesized_expression "(uVar5 & 0x2000)" (( "(") (binary_expression "uVar5 & 0x2000" (identifier "uVar5") (& "&") (number_literal "0x2000")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *(undefined1 *)(param_1 + 0xdf) = 1;\n    FUN_00017778();\n  }" ({ "{") (expression_statement "*(undefined1 *)(param_1 + 0xdf) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0xdf) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0xdf)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0xdf)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xdf)" (( "(") (binary_expression "param_1 + 0xdf" (identifier "param_1") (+ "+") (number_literal "0xdf")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "FUN_00017778();" (call_expression "FUN_00017778()" (identifier "FUN_00017778") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar4 = param_1 + 0xac;" (assignment_expression "iVar4 = param_1 + 0xac" (identifier "iVar4") (= "=") (binary_expression "param_1 + 0xac" (identifier "param_1") (+ "+") (number_literal "0xac"))) (; ";")) (expression_statement "iVar1 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);" (assignment_expression "iVar1 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4)" (parenthesized_expression "(*(code *)PTR_pthread_mutex_lock_0003d210)" (( "(") (pointer_expression "*(code *)PTR_pthread_mutex_lock_0003d210" (* "*") (cast_expression "(code *)PTR_pthread_mutex_lock_0003d210" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pthread_mutex_lock_0003d210"))) () ")")) (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")")))) (; ";")) (expression_statement "uVar3 = 0x1a2b;" (assignment_expression "uVar3 = 0x1a2b" (identifier "uVar3") (= "=") (number_literal "0x1a2b")) (; ";")) (if_statement "if (iVar1 != 0) goto LAB_00019098;" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00019098;" (goto "goto") (statement_identifier "LAB_00019098") (; ";"))) (if_statement "if (uVar6 == 0) {\n    uVar3 = 0x1a58;\n    if (*(int *)(param_1 + 0x10) != 0) goto LAB_000190c4;\n  }\n  else {\n    iVar1 = *(int *)(param_1 + 0x14);\n    if (iVar1 != 0) {\n      iVar2 = *(int *)(iVar1 + 0xdc);\n      if (iVar2 == 0) goto LAB_000190c0;\n      puVar7 = PTR_DAT_0003d02c + -0x4ca4;\n      while( true ) {\n        if (*(char *)(iVar2 + 4) == '\0') {\n          FUN_0001e5b0(param_1,puVar7,uVar3);\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        else {\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        if (iVar1 == 0) break;\n        iVar2 = *(int *)(iVar1 + 0xdc);\n        uVar3 = 0x1a37;\n        if (iVar2 == 0) goto LAB_000190c0;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(uVar6 == 0)" (( "(") (binary_expression "uVar6 == 0" (identifier "uVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar3 = 0x1a58;\n    if (*(int *)(param_1 + 0x10) != 0) goto LAB_000190c4;\n  }" ({ "{") (expression_statement "uVar3 = 0x1a58;" (assignment_expression "uVar3 = 0x1a58" (identifier "uVar3") (= "=") (number_literal "0x1a58")) (; ";")) (if_statement "if (*(int *)(param_1 + 0x10) != 0) goto LAB_000190c4;" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x10) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x10) != 0" (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_000190c4;" (goto "goto") (statement_identifier "LAB_000190c4") (; ";"))) (} "}")) (else_clause "else {\n    iVar1 = *(int *)(param_1 + 0x14);\n    if (iVar1 != 0) {\n      iVar2 = *(int *)(iVar1 + 0xdc);\n      if (iVar2 == 0) goto LAB_000190c0;\n      puVar7 = PTR_DAT_0003d02c + -0x4ca4;\n      while( true ) {\n        if (*(char *)(iVar2 + 4) == '\0') {\n          FUN_0001e5b0(param_1,puVar7,uVar3);\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        else {\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        if (iVar1 == 0) break;\n        iVar2 = *(int *)(iVar1 + 0xdc);\n        uVar3 = 0x1a37;\n        if (iVar2 == 0) goto LAB_000190c0;\n      }\n    }\n  }" (else "else") (compound_statement "{\n    iVar1 = *(int *)(param_1 + 0x14);\n    if (iVar1 != 0) {\n      iVar2 = *(int *)(iVar1 + 0xdc);\n      if (iVar2 == 0) goto LAB_000190c0;\n      puVar7 = PTR_DAT_0003d02c + -0x4ca4;\n      while( true ) {\n        if (*(char *)(iVar2 + 4) == '\0') {\n          FUN_0001e5b0(param_1,puVar7,uVar3);\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        else {\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        if (iVar1 == 0) break;\n        iVar2 = *(int *)(iVar1 + 0xdc);\n        uVar3 = 0x1a37;\n        if (iVar2 == 0) goto LAB_000190c0;\n      }\n    }\n  }" ({ "{") (expression_statement "iVar1 = *(int *)(param_1 + 0x14);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x14)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0x14)" (* "*") (cast_expression "(int *)(param_1 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if (iVar1 != 0) {\n      iVar2 = *(int *)(iVar1 + 0xdc);\n      if (iVar2 == 0) goto LAB_000190c0;\n      puVar7 = PTR_DAT_0003d02c + -0x4ca4;\n      while( true ) {\n        if (*(char *)(iVar2 + 4) == '\0') {\n          FUN_0001e5b0(param_1,puVar7,uVar3);\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        else {\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        if (iVar1 == 0) break;\n        iVar2 = *(int *)(iVar1 + 0xdc);\n        uVar3 = 0x1a37;\n        if (iVar2 == 0) goto LAB_000190c0;\n      }\n    }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar2 = *(int *)(iVar1 + 0xdc);\n      if (iVar2 == 0) goto LAB_000190c0;\n      puVar7 = PTR_DAT_0003d02c + -0x4ca4;\n      while( true ) {\n        if (*(char *)(iVar2 + 4) == '\0') {\n          FUN_0001e5b0(param_1,puVar7,uVar3);\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        else {\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        if (iVar1 == 0) break;\n        iVar2 = *(int *)(iVar1 + 0xdc);\n        uVar3 = 0x1a37;\n        if (iVar2 == 0) goto LAB_000190c0;\n      }\n    }" ({ "{") (expression_statement "iVar2 = *(int *)(iVar1 + 0xdc);" (assignment_expression "iVar2 = *(int *)(iVar1 + 0xdc)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar1 + 0xdc)" (* "*") (cast_expression "(int *)(iVar1 + 0xdc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xdc)" (( "(") (binary_expression "iVar1 + 0xdc" (identifier "iVar1") (+ "+") (number_literal "0xdc")) () ")"))))) (; ";")) (if_statement "if (iVar2 == 0) goto LAB_000190c0;" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_000190c0;" (goto "goto") (statement_identifier "LAB_000190c0") (; ";"))) (expression_statement "puVar7 = PTR_DAT_0003d02c + -0x4ca4;" (assignment_expression "puVar7 = PTR_DAT_0003d02c + -0x4ca4" (identifier "puVar7") (= "=") (binary_expression "PTR_DAT_0003d02c + -0x4ca4" (identifier "PTR_DAT_0003d02c") (+ "+") (number_literal "-0x4ca4"))) (; ";")) (while_statement "while( true ) {\n        if (*(char *)(iVar2 + 4) == '\0') {\n          FUN_0001e5b0(param_1,puVar7,uVar3);\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        else {\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        if (iVar1 == 0) break;\n        iVar2 = *(int *)(iVar1 + 0xdc);\n        uVar3 = 0x1a37;\n        if (iVar2 == 0) goto LAB_000190c0;\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        if (*(char *)(iVar2 + 4) == '\0') {\n          FUN_0001e5b0(param_1,puVar7,uVar3);\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        else {\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        if (iVar1 == 0) break;\n        iVar2 = *(int *)(iVar1 + 0xdc);\n        uVar3 = 0x1a37;\n        if (iVar2 == 0) goto LAB_000190c0;\n      }" ({ "{") (if_statement "if (*(char *)(iVar2 + 4) == '\0') {\n          FUN_0001e5b0(param_1,puVar7,uVar3);\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }\n        else {\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }" (if "if") (parenthesized_expression "(*(char *)(iVar2 + 4) == '\0')" (( "(") (binary_expression "*(char *)(iVar2 + 4) == '\0'" (pointer_expression "*(char *)(iVar2 + 4)" (* "*") (cast_expression "(char *)(iVar2 + 4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 4)" (( "(") (binary_expression "iVar2 + 4" (identifier "iVar2") (+ "+") (number_literal "4")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          FUN_0001e5b0(param_1,puVar7,uVar3);\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }" ({ "{") (expression_statement "FUN_0001e5b0(param_1,puVar7,uVar3);" (call_expression "FUN_0001e5b0(param_1,puVar7,uVar3)" (identifier "FUN_0001e5b0") (argument_list "(param_1,puVar7,uVar3)" (( "(") (identifier "param_1") (, ",") (identifier "puVar7") (, ",") (identifier "uVar3") () ")"))) (; ";")) (expression_statement "*(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;" (assignment_expression "*(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1" (pointer_expression "*(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4)" (* "*") (cast_expression "(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar1 + 0xdc) + 4)" (( "(") (binary_expression "*(int *)(iVar1 + 0xdc) + 4" (pointer_expression "*(int *)(iVar1 + 0xdc)" (* "*") (cast_expression "(int *)(iVar1 + 0xdc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xdc)" (( "(") (binary_expression "iVar1 + 0xdc" (identifier "iVar1") (+ "+") (number_literal "0xdc")) () ")")))) (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(undefined1 *)(iVar1 + 0xe8) = 1;" (assignment_expression "*(undefined1 *)(iVar1 + 0xe8) = 1" (pointer_expression "*(undefined1 *)(iVar1 + 0xe8)" (* "*") (cast_expression "(undefined1 *)(iVar1 + 0xe8)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xe8)" (( "(") (binary_expression "iVar1 + 0xe8" (identifier "iVar1") (+ "+") (number_literal "0xe8")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 0xdf) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0xdf) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0xdf)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0xdf)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xdf)" (( "(") (binary_expression "param_1 + 0xdf" (identifier "param_1") (+ "+") (number_literal "0xdf")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "iVar1 = *(int *)(iVar1 + 0xc);" (assignment_expression "iVar1 = *(int *)(iVar1 + 0xc)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(iVar1 + 0xc)" (* "*") (cast_expression "(int *)(iVar1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xc)" (( "(") (binary_expression "iVar1 + 0xc" (identifier "iVar1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }" (else "else") (compound_statement "{\n          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;\n          *(undefined1 *)(iVar1 + 0xe8) = 1;\n          *(undefined1 *)(param_1 + 0xdf) = 1;\n          iVar1 = *(int *)(iVar1 + 0xc);\n        }" ({ "{") (expression_statement "*(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;" (assignment_expression "*(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1" (pointer_expression "*(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4)" (* "*") (cast_expression "(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar1 + 0xdc) + 4)" (( "(") (binary_expression "*(int *)(iVar1 + 0xdc) + 4" (pointer_expression "*(int *)(iVar1 + 0xdc)" (* "*") (cast_expression "(int *)(iVar1 + 0xdc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xdc)" (( "(") (binary_expression "iVar1 + 0xdc" (identifier "iVar1") (+ "+") (number_literal "0xdc")) () ")")))) (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(undefined1 *)(iVar1 + 0xe8) = 1;" (assignment_expression "*(undefined1 *)(iVar1 + 0xe8) = 1" (pointer_expression "*(undefined1 *)(iVar1 + 0xe8)" (* "*") (cast_expression "(undefined1 *)(iVar1 + 0xe8)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xe8)" (( "(") (binary_expression "iVar1 + 0xe8" (identifier "iVar1") (+ "+") (number_literal "0xe8")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 0xdf) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0xdf) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0xdf)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0xdf)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xdf)" (( "(") (binary_expression "param_1 + 0xdf" (identifier "param_1") (+ "+") (number_literal "0xdf")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "iVar1 = *(int *)(iVar1 + 0xc);" (assignment_expression "iVar1 = *(int *)(iVar1 + 0xc)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(iVar1 + 0xc)" (* "*") (cast_expression "(int *)(iVar1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xc)" (( "(") (binary_expression "iVar1 + 0xc" (identifier "iVar1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (} "}")))) (if_statement "if (iVar1 == 0) break;" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar2 = *(int *)(iVar1 + 0xdc);" (assignment_expression "iVar2 = *(int *)(iVar1 + 0xdc)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar1 + 0xdc)" (* "*") (cast_expression "(int *)(iVar1 + 0xdc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xdc)" (( "(") (binary_expression "iVar1 + 0xdc" (identifier "iVar1") (+ "+") (number_literal "0xdc")) () ")"))))) (; ";")) (expression_statement "uVar3 = 0x1a37;" (assignment_expression "uVar3 = 0x1a37" (identifier "uVar3") (= "=") (number_literal "0x1a37")) (; ";")) (if_statement "if (iVar2 == 0) goto LAB_000190c0;" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_000190c0;" (goto "goto") (statement_identifier "LAB_000190c0") (; ";"))) (} "}"))) (} "}"))) (} "}")))) (expression_statement "iVar1 = *(int *)(param_1 + 0xc);" (assignment_expression "iVar1 = *(int *)(param_1 + 0xc)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (if_statement "if (iVar1 != 0) {\n    do {\n      (*(code *)PTR_shutdown_0003d134)(*(undefined4 *)(iVar1 + 0xa4),2);\n      iVar1 = *(int *)(iVar1 + 0xc);\n    } while (iVar1 != 0);\n    iVar1 = 0;\n    if ((uVar5 & 4) != 0) {\n      iVar1 = *(int *)(param_1 + 0xc);\n      while (iVar1 != 0) {\n        while (*(char *)(iVar1 + 0xab) != '\0') {\n          iVar1 = *(int *)(iVar1 + 0xc);\n          if (iVar1 == 0) goto LAB_00018e1c;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a6f;\n          goto LAB_00018f34;\n        }\n        iVar2 = (*(code *)PTR_pthread_join_0003d160)(*(undefined4 *)(iVar1 + 0x58),0);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar3 = 0x1a72;\n          goto LAB_00019098;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);\n        if (iVar2 != 0) goto LAB_00019094;\n        *(undefined1 *)(iVar1 + 0xab) = 1;\n        iVar1 = *(int *)(param_1 + 0xc);\n      }\n    }\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    do {\n      (*(code *)PTR_shutdown_0003d134)(*(undefined4 *)(iVar1 + 0xa4),2);\n      iVar1 = *(int *)(iVar1 + 0xc);\n    } while (iVar1 != 0);\n    iVar1 = 0;\n    if ((uVar5 & 4) != 0) {\n      iVar1 = *(int *)(param_1 + 0xc);\n      while (iVar1 != 0) {\n        while (*(char *)(iVar1 + 0xab) != '\0') {\n          iVar1 = *(int *)(iVar1 + 0xc);\n          if (iVar1 == 0) goto LAB_00018e1c;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a6f;\n          goto LAB_00018f34;\n        }\n        iVar2 = (*(code *)PTR_pthread_join_0003d160)(*(undefined4 *)(iVar1 + 0x58),0);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar3 = 0x1a72;\n          goto LAB_00019098;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);\n        if (iVar2 != 0) goto LAB_00019094;\n        *(undefined1 *)(iVar1 + 0xab) = 1;\n        iVar1 = *(int *)(param_1 + 0xc);\n      }\n    }\n  }" ({ "{") (do_statement "do {\n      (*(code *)PTR_shutdown_0003d134)(*(undefined4 *)(iVar1 + 0xa4),2);\n      iVar1 = *(int *)(iVar1 + 0xc);\n    } while (iVar1 != 0);" (do "do") (compound_statement "{\n      (*(code *)PTR_shutdown_0003d134)(*(undefined4 *)(iVar1 + 0xa4),2);\n      iVar1 = *(int *)(iVar1 + 0xc);\n    }" ({ "{") (expression_statement "(*(code *)PTR_shutdown_0003d134)(*(undefined4 *)(iVar1 + 0xa4),2);" (call_expression "(*(code *)PTR_shutdown_0003d134)(*(undefined4 *)(iVar1 + 0xa4),2)" (parenthesized_expression "(*(code *)PTR_shutdown_0003d134)" (( "(") (pointer_expression "*(code *)PTR_shutdown_0003d134" (* "*") (cast_expression "(code *)PTR_shutdown_0003d134" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_shutdown_0003d134"))) () ")")) (argument_list "(*(undefined4 *)(iVar1 + 0xa4),2)" (( "(") (pointer_expression "*(undefined4 *)(iVar1 + 0xa4)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0xa4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xa4)" (( "(") (binary_expression "iVar1 + 0xa4" (identifier "iVar1") (+ "+") (number_literal "0xa4")) () ")")))) (, ",") (number_literal "2") () ")"))) (; ";")) (expression_statement "iVar1 = *(int *)(iVar1 + 0xc);" (assignment_expression "iVar1 = *(int *)(iVar1 + 0xc)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(iVar1 + 0xc)" (* "*") (cast_expression "(int *)(iVar1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xc)" (( "(") (binary_expression "iVar1 + 0xc" (identifier "iVar1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" (identifier "iVar1") (= "=") (number_literal "0")) (; ";")) (if_statement "if ((uVar5 & 4) != 0) {\n      iVar1 = *(int *)(param_1 + 0xc);\n      while (iVar1 != 0) {\n        while (*(char *)(iVar1 + 0xab) != '\0') {\n          iVar1 = *(int *)(iVar1 + 0xc);\n          if (iVar1 == 0) goto LAB_00018e1c;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a6f;\n          goto LAB_00018f34;\n        }\n        iVar2 = (*(code *)PTR_pthread_join_0003d160)(*(undefined4 *)(iVar1 + 0x58),0);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar3 = 0x1a72;\n          goto LAB_00019098;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);\n        if (iVar2 != 0) goto LAB_00019094;\n        *(undefined1 *)(iVar1 + 0xab) = 1;\n        iVar1 = *(int *)(param_1 + 0xc);\n      }\n    }" (if "if") (parenthesized_expression "((uVar5 & 4) != 0)" (( "(") (binary_expression "(uVar5 & 4) != 0" (parenthesized_expression "(uVar5 & 4)" (( "(") (binary_expression "uVar5 & 4" (identifier "uVar5") (& "&") (number_literal "4")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar1 = *(int *)(param_1 + 0xc);\n      while (iVar1 != 0) {\n        while (*(char *)(iVar1 + 0xab) != '\0') {\n          iVar1 = *(int *)(iVar1 + 0xc);\n          if (iVar1 == 0) goto LAB_00018e1c;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a6f;\n          goto LAB_00018f34;\n        }\n        iVar2 = (*(code *)PTR_pthread_join_0003d160)(*(undefined4 *)(iVar1 + 0x58),0);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar3 = 0x1a72;\n          goto LAB_00019098;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);\n        if (iVar2 != 0) goto LAB_00019094;\n        *(undefined1 *)(iVar1 + 0xab) = 1;\n        iVar1 = *(int *)(param_1 + 0xc);\n      }\n    }" ({ "{") (expression_statement "iVar1 = *(int *)(param_1 + 0xc);" (assignment_expression "iVar1 = *(int *)(param_1 + 0xc)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (while_statement "while (iVar1 != 0) {\n        while (*(char *)(iVar1 + 0xab) != '\0') {\n          iVar1 = *(int *)(iVar1 + 0xc);\n          if (iVar1 == 0) goto LAB_00018e1c;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a6f;\n          goto LAB_00018f34;\n        }\n        iVar2 = (*(code *)PTR_pthread_join_0003d160)(*(undefined4 *)(iVar1 + 0x58),0);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar3 = 0x1a72;\n          goto LAB_00019098;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);\n        if (iVar2 != 0) goto LAB_00019094;\n        *(undefined1 *)(iVar1 + 0xab) = 1;\n        iVar1 = *(int *)(param_1 + 0xc);\n      }" (while "while") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        while (*(char *)(iVar1 + 0xab) != '\0') {\n          iVar1 = *(int *)(iVar1 + 0xc);\n          if (iVar1 == 0) goto LAB_00018e1c;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a6f;\n          goto LAB_00018f34;\n        }\n        iVar2 = (*(code *)PTR_pthread_join_0003d160)(*(undefined4 *)(iVar1 + 0x58),0);\n        if (iVar2 != 0) {\n          uVar3 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar3 = 0x1a72;\n          goto LAB_00019098;\n        }\n        iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);\n        if (iVar2 != 0) goto LAB_00019094;\n        *(undefined1 *)(iVar1 + 0xab) = 1;\n        iVar1 = *(int *)(param_1 + 0xc);\n      }" ({ "{") (while_statement "while (*(char *)(iVar1 + 0xab) != '\0') {\n          iVar1 = *(int *)(iVar1 + 0xc);\n          if (iVar1 == 0) goto LAB_00018e1c;\n        }" (while "while") (parenthesized_expression "(*(char *)(iVar1 + 0xab) != '\0')" (( "(") (binary_expression "*(char *)(iVar1 + 0xab) != '\0'" (pointer_expression "*(char *)(iVar1 + 0xab)" (* "*") (cast_expression "(char *)(iVar1 + 0xab)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xab)" (( "(") (binary_expression "iVar1 + 0xab" (identifier "iVar1") (+ "+") (number_literal "0xab")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          iVar1 = *(int *)(iVar1 + 0xc);\n          if (iVar1 == 0) goto LAB_00018e1c;\n        }" ({ "{") (expression_statement "iVar1 = *(int *)(iVar1 + 0xc);" (assignment_expression "iVar1 = *(int *)(iVar1 + 0xc)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(iVar1 + 0xc)" (* "*") (cast_expression "(int *)(iVar1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xc)" (( "(") (binary_expression "iVar1 + 0xc" (identifier "iVar1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (if_statement "if (iVar1 == 0) goto LAB_00018e1c;" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00018e1c;" (goto "goto") (statement_identifier "LAB_00018e1c") (; ";"))) (} "}"))) (expression_statement "iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);" (assignment_expression "iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4)" (parenthesized_expression "(*(code *)PTR_pthread_mutex_unlock_0003d280)" (( "(") (pointer_expression "*(code *)PTR_pthread_mutex_unlock_0003d280" (* "*") (cast_expression "(code *)PTR_pthread_mutex_unlock_0003d280" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pthread_mutex_unlock_0003d280"))) () ")")) (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n          uVar3 = 0x1a6f;\n          goto LAB_00018f34;\n        }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          uVar3 = 0x1a6f;\n          goto LAB_00018f34;\n        }" ({ "{") (expression_statement "uVar3 = 0x1a6f;" (assignment_expression "uVar3 = 0x1a6f" (identifier "uVar3") (= "=") (number_literal "0x1a6f")) (; ";")) (goto_statement "goto LAB_00018f34;" (goto "goto") (statement_identifier "LAB_00018f34") (; ";")) (} "}"))) (expression_statement "iVar2 = (*(code *)PTR_pthread_join_0003d160)(*(undefined4 *)(iVar1 + 0x58),0);" (assignment_expression "iVar2 = (*(code *)PTR_pthread_join_0003d160)(*(undefined4 *)(iVar1 + 0x58),0)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_pthread_join_0003d160)(*(undefined4 *)(iVar1 + 0x58),0)" (parenthesized_expression "(*(code *)PTR_pthread_join_0003d160)" (( "(") (pointer_expression "*(code *)PTR_pthread_join_0003d160" (* "*") (cast_expression "(code *)PTR_pthread_join_0003d160" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pthread_join_0003d160"))) () ")")) (argument_list "(*(undefined4 *)(iVar1 + 0x58),0)" (( "(") (pointer_expression "*(undefined4 *)(iVar1 + 0x58)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x58)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x58)" (( "(") (binary_expression "iVar1 + 0x58" (identifier "iVar1") (+ "+") (number_literal "0x58")) () ")")))) (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n          uVar3 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar3 = 0x1a72;\n          goto LAB_00019098;\n        }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          uVar3 = 0x1a71;\nLAB_00019070:\n          (**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40);\nLAB_00019094:\n          uVar3 = 0x1a72;\n          goto LAB_00019098;\n        }" ({ "{") (expression_statement "uVar3 = 0x1a71;" (assignment_expression "uVar3 = 0x1a71" (identifier "uVar3") (= "=") (number_literal "0x1a71")) (; ";")) (labeled_statement "LAB_00019070:\n          (**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40);" (statement_identifier "LAB_00019070") (: ":") (expression_statement "(**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40);" (call_expression "(**(code **)PTR_DAT_0003d03c)\n                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40)" (parenthesized_expression "(**(code **)PTR_DAT_0003d03c)" (( "(") (pointer_expression "**(code **)PTR_DAT_0003d03c" (* "*") (pointer_expression "*(code **)PTR_DAT_0003d03c" (* "*") (cast_expression "(code **)PTR_DAT_0003d03c" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_DAT_0003d03c")))) () ")")) (argument_list "(*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                     PTR_DAT_0003d02c + -0x4d40)" (( "(") (pointer_expression "*(undefined4 *)PTR_DAT_0003d038" (* "*") (cast_expression "(undefined4 *)PTR_DAT_0003d038" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DAT_0003d038"))) (, ",") (binary_expression "PTR_DAT_0003d02c + -0x51b0" (identifier "PTR_DAT_0003d02c") (+ "+") (number_literal "-0x51b0")) (, ",") (identifier "uVar3") (, ",") (binary_expression "PTR_DAT_0003d02c + -0x4d40" (identifier "PTR_DAT_0003d02c") (+ "+") (number_literal "-0x4d40")) () ")"))) (; ";"))) (labeled_statement "LAB_00019094:\n          uVar3 = 0x1a72;" (statement_identifier "LAB_00019094") (: ":") (expression_statement "uVar3 = 0x1a72;" (assignment_expression "uVar3 = 0x1a72" (identifier "uVar3") (= "=") (number_literal "0x1a72")) (; ";"))) (goto_statement "goto LAB_00019098;" (goto "goto") (statement_identifier "LAB_00019098") (; ";")) (} "}"))) (expression_statement "iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);" (assignment_expression "iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4)" (parenthesized_expression "(*(code *)PTR_pthread_mutex_lock_0003d210)" (( "(") (pointer_expression "*(code *)PTR_pthread_mutex_lock_0003d210" (* "*") (cast_expression "(code *)PTR_pthread_mutex_lock_0003d210" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pthread_mutex_lock_0003d210"))) () ")")) (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")")))) (; ";")) (if_statement "if (iVar2 != 0) goto LAB_00019094;" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00019094;" (goto "goto") (statement_identifier "LAB_00019094") (; ";"))) (expression_statement "*(undefined1 *)(iVar1 + 0xab) = 1;" (assignment_expression "*(undefined1 *)(iVar1 + 0xab) = 1" (pointer_expression "*(undefined1 *)(iVar1 + 0xab)" (* "*") (cast_expression "(undefined1 *)(iVar1 + 0xab)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xab)" (( "(") (binary_expression "iVar1 + 0xab" (identifier "iVar1") (+ "+") (number_literal "0xab")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "iVar1 = *(int *)(param_1 + 0xc);" (assignment_expression "iVar1 = *(int *)(param_1 + 0xc)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (} "}"))) (} "}"))) (} "}"))) (labeled_statement "LAB_00018e1c:\n  iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);" (statement_identifier "LAB_00018e1c") (: ":") (expression_statement "iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);" (assignment_expression "iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4)" (parenthesized_expression "(*(code *)PTR_pthread_mutex_unlock_0003d280)" (( "(") (pointer_expression "*(code *)PTR_pthread_mutex_unlock_0003d280" (* "*") (cast_expression "(code *)PTR_pthread_mutex_unlock_0003d280" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pthread_mutex_unlock_0003d280"))) () ")")) (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")")))) (; ";"))) (expression_statement "uVar3 = 0x1a7c;" (assignment_expression "uVar3 = 0x1a7c" (identifier "uVar3") (= "=") (number_literal "0x1a7c")) (; ";")) (if_statement "if (iVar2 != 0) goto LAB_00018f34;" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00018f34;" (goto "goto") (statement_identifier "LAB_00018f34") (; ";"))) (if_statement "if (uVar6 != 0) {\n    *(undefined1 *)(param_1 + 0xdf) = 1;\n    FUN_00017778(param_1);\n  }" (if "if") (parenthesized_expression "(uVar6 != 0)" (( "(") (binary_expression "uVar6 != 0" (identifier "uVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *(undefined1 *)(param_1 + 0xdf) = 1;\n    FUN_00017778(param_1);\n  }" ({ "{") (expression_statement "*(undefined1 *)(param_1 + 0xdf) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0xdf) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0xdf)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0xdf)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xdf)" (( "(") (binary_expression "param_1 + 0xdf" (identifier "param_1") (+ "+") (number_literal "0xdf")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "FUN_00017778(param_1);" (call_expression "FUN_00017778(param_1)" (identifier "FUN_00017778") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (} "}"))) (labeled_statement "LAB_00018e38:\n  iVar1 = *(int *)(param_1 + 0xc);" (statement_identifier "LAB_00018e38") (: ":") (expression_statement "iVar1 = *(int *)(param_1 + 0xc);" (assignment_expression "iVar1 = *(int *)(param_1 + 0xc)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";"))) (while_statement "while( true ) {\n    if (iVar1 == 0) {\n      FUN_000188d8(param_1);\n      return;\n    }\n    if (((*(uint *)(param_1 + 0xf4) & 4) != 0) && (uVar3 = 0x1a91, *(char *)(iVar1 + 0xab) == '\0'))\n    goto LAB_00019070;\n    iVar4 = *(int *)(iVar1 + 0x18);\n    if ((*(uint *)(iVar4 + 0xf4) & 4) == 0) break;\n    FUN_00013f40(iVar1);\n    iVar1 = *(int *)(param_1 + 0xc);\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    if (iVar1 == 0) {\n      FUN_000188d8(param_1);\n      return;\n    }\n    if (((*(uint *)(param_1 + 0xf4) & 4) != 0) && (uVar3 = 0x1a91, *(char *)(iVar1 + 0xab) == '\0'))\n    goto LAB_00019070;\n    iVar4 = *(int *)(iVar1 + 0x18);\n    if ((*(uint *)(iVar4 + 0xf4) & 4) == 0) break;\n    FUN_00013f40(iVar1);\n    iVar1 = *(int *)(param_1 + 0xc);\n  }" ({ "{") (if_statement "if (iVar1 == 0) {\n      FUN_000188d8(param_1);\n      return;\n    }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_000188d8(param_1);\n      return;\n    }" ({ "{") (expression_statement "FUN_000188d8(param_1);" (call_expression "FUN_000188d8(param_1)" (identifier "FUN_000188d8") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (((*(uint *)(param_1 + 0xf4) & 4) != 0) && (uVar3 = 0x1a91, *(char *)(iVar1 + 0xab) == '\0'))\n    goto LAB_00019070;" (if "if") (parenthesized_expression "(((*(uint *)(param_1 + 0xf4) & 4) != 0) && (uVar3 = 0x1a91, *(char *)(iVar1 + 0xab) == '\0'))" (( "(") (binary_expression "((*(uint *)(param_1 + 0xf4) & 4) != 0) && (uVar3 = 0x1a91, *(char *)(iVar1 + 0xab) == '\0')" (parenthesized_expression "((*(uint *)(param_1 + 0xf4) & 4) != 0)" (( "(") (binary_expression "(*(uint *)(param_1 + 0xf4) & 4) != 0" (parenthesized_expression "(*(uint *)(param_1 + 0xf4) & 4)" (( "(") (binary_expression "*(uint *)(param_1 + 0xf4) & 4" (pointer_expression "*(uint *)(param_1 + 0xf4)" (* "*") (cast_expression "(uint *)(param_1 + 0xf4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xf4)" (( "(") (binary_expression "param_1 + 0xf4" (identifier "param_1") (+ "+") (number_literal "0xf4")) () ")")))) (& "&") (number_literal "4")) () ")")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(uVar3 = 0x1a91, *(char *)(iVar1 + 0xab) == '\0')" (( "(") (comma_expression "uVar3 = 0x1a91, *(char *)(iVar1 + 0xab) == '\0'" (assignment_expression "uVar3 = 0x1a91" (identifier "uVar3") (= "=") (number_literal "0x1a91")) (, ",") (binary_expression "*(char *)(iVar1 + 0xab) == '\0'" (pointer_expression "*(char *)(iVar1 + 0xab)" (* "*") (cast_expression "(char *)(iVar1 + 0xab)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xab)" (( "(") (binary_expression "iVar1 + 0xab" (identifier "iVar1") (+ "+") (number_literal "0xab")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")))) () ")"))) () ")")) (goto_statement "goto LAB_00019070;" (goto "goto") (statement_identifier "LAB_00019070") (; ";"))) (expression_statement "iVar4 = *(int *)(iVar1 + 0x18);" (assignment_expression "iVar4 = *(int *)(iVar1 + 0x18)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(iVar1 + 0x18)" (* "*") (cast_expression "(int *)(iVar1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x18)" (( "(") (binary_expression "iVar1 + 0x18" (identifier "iVar1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if ((*(uint *)(iVar4 + 0xf4) & 4) == 0) break;" (if "if") (parenthesized_expression "((*(uint *)(iVar4 + 0xf4) & 4) == 0)" (( "(") (binary_expression "(*(uint *)(iVar4 + 0xf4) & 4) == 0" (parenthesized_expression "(*(uint *)(iVar4 + 0xf4) & 4)" (( "(") (binary_expression "*(uint *)(iVar4 + 0xf4) & 4" (pointer_expression "*(uint *)(iVar4 + 0xf4)" (* "*") (cast_expression "(uint *)(iVar4 + 0xf4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0xf4)" (( "(") (binary_expression "iVar4 + 0xf4" (identifier "iVar4") (+ "+") (number_literal "0xf4")) () ")")))) (& "&") (number_literal "4")) () ")")) (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "FUN_00013f40(iVar1);" (call_expression "FUN_00013f40(iVar1)" (identifier "FUN_00013f40") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (expression_statement "iVar1 = *(int *)(param_1 + 0xc);" (assignment_expression "iVar1 = *(int *)(param_1 + 0xc)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (} "}"))) (expression_statement "uVar6 = iVar4 + 0xac;" (assignment_expression "uVar6 = iVar4 + 0xac" (identifier "uVar6") (= "=") (binary_expression "iVar4 + 0xac" (identifier "iVar4") (+ "+") (number_literal "0xac"))) (; ";")) (expression_statement "FUN_00013f84(iVar1,3);" (call_expression "FUN_00013f84(iVar1,3)" (identifier "FUN_00013f84") (argument_list "(iVar1,3)" (( "(") (identifier "iVar1") (, ",") (number_literal "3") () ")"))) (; ";")) (expression_statement "iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(uVar6);" (assignment_expression "iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(uVar6)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_pthread_mutex_lock_0003d210)(uVar6)" (parenthesized_expression "(*(code *)PTR_pthread_mutex_lock_0003d210)" (( "(") (pointer_expression "*(code *)PTR_pthread_mutex_lock_0003d210" (* "*") (cast_expression "(code *)PTR_pthread_mutex_lock_0003d210" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_pthread_mutex_lock_0003d210"))) () ")")) (argument_list "(uVar6)" (( "(") (identifier "uVar6") () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n    do {\n      uVar3 = 0x1274;\nLAB_00019098:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x62c0);\nLAB_000190c0:\n      uVar3 = 0x1a37;\nLAB_000190c4:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x4ce4);\n    } while( true );\n  }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    do {\n      uVar3 = 0x1274;\nLAB_00019098:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x62c0);\nLAB_000190c0:\n      uVar3 = 0x1a37;\nLAB_000190c4:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x4ce4);\n    } while( true );\n  }" ({ "{") (do_statement "do {\n      uVar3 = 0x1274;\nLAB_00019098:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x62c0);\nLAB_000190c0:\n      uVar3 = 0x1a37;\nLAB_000190c4:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x4ce4);\n    } while( true );" (do "do") (compound_statement "{\n      uVar3 = 0x1274;\nLAB_00019098:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x62c0);\nLAB_000190c0:\n      uVar3 = 0x1a37;\nLAB_000190c4:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x4ce4);\n    }" ({ "{") (expression_statement "uVar3 = 0x1274;" (assignment_expression "uVar3 = 0x1274" (identifier "uVar3") (= "=") (number_literal "0x1274")) (; ";")) (labeled_statement "LAB_00019098:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x62c0);" (statement_identifier "LAB_00019098") (: ":") (expression_statement "(**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x62c0);" (call_expression "(**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x62c0)" (parenthesized_expression "(**(code **)PTR_DAT_0003d03c)" (( "(") (pointer_expression "**(code **)PTR_DAT_0003d03c" (* "*") (pointer_expression "*(code **)PTR_DAT_0003d03c" (* "*") (cast_expression "(code **)PTR_DAT_0003d03c" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_DAT_0003d03c")))) () ")")) (argument_list "(*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x62c0)" (( "(") (pointer_expression "*(undefined4 *)PTR_DAT_0003d038" (* "*") (cast_expression "(undefined4 *)PTR_DAT_0003d038" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DAT_0003d038"))) (, ",") (binary_expression "PTR_DAT_0003d02c + -0x51b0" (identifier "PTR_DAT_0003d02c") (+ "+") (number_literal "-0x51b0")) (, ",") (identifier "uVar3") (, ",") (binary_expression "PTR_DAT_0003d02c + -0x62c0" (identifier "PTR_DAT_0003d02c") (+ "+") (number_literal "-0x62c0")) () ")"))) (; ";"))) (labeled_statement "LAB_000190c0:\n      uVar3 = 0x1a37;" (statement_identifier "LAB_000190c0") (: ":") (expression_statement "uVar3 = 0x1a37;" (assignment_expression "uVar3 = 0x1a37" (identifier "uVar3") (= "=") (number_literal "0x1a37")) (; ";"))) (labeled_statement "LAB_000190c4:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x4ce4);" (statement_identifier "LAB_000190c4") (: ":") (expression_statement "(**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x4ce4);" (call_expression "(**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x4ce4)" (parenthesized_expression "(**(code **)PTR_DAT_0003d03c)" (( "(") (pointer_expression "**(code **)PTR_DAT_0003d03c" (* "*") (pointer_expression "*(code **)PTR_DAT_0003d03c" (* "*") (cast_expression "(code **)PTR_DAT_0003d03c" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_DAT_0003d03c")))) () ")")) (argument_list "(*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x4ce4)" (( "(") (pointer_expression "*(undefined4 *)PTR_DAT_0003d038" (* "*") (cast_expression "(undefined4 *)PTR_DAT_0003d038" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DAT_0003d038"))) (, ",") (binary_expression "PTR_DAT_0003d02c + -0x51b0" (identifier "PTR_DAT_0003d02c") (+ "+") (number_literal "-0x51b0")) (, ",") (identifier "uVar3") (, ",") (binary_expression "PTR_DAT_0003d02c + -0x4ce4" (identifier "PTR_DAT_0003d02c") (+ "+") (number_literal "-0x4ce4")) () ")"))) (; ";"))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}"))) (expression_statement "iVar2 = *(int *)(iVar1 + 0x14);" (assignment_expression "iVar2 = *(int *)(iVar1 + 0x14)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar1 + 0x14)" (* "*") (cast_expression "(int *)(iVar1 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x14)" (( "(") (binary_expression "iVar1 + 0x14" (identifier "iVar1") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "uVar3 = *(undefined4 *)(iVar1 + 0x10);" (assignment_expression "uVar3 = *(undefined4 *)(iVar1 + 0x10)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x10)" (( "(") (binary_expression "iVar1 + 0x10" (identifier "iVar1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if (*(int *)(iVar1 + 0x98) == *(int *)(iVar4 + 0xec)) {\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x30) = uVar3;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }\n    iVar2 = *(int *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0x14);\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x34) = uVar3;\n      goto LAB_00018ecc;\n    }\n  }\n  else {\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x38) = uVar3;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }\n    iVar2 = *(int *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0x14);\n    if (iVar2 == 0) goto LAB_00018f58;\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar1 + 0x98) == *(int *)(iVar4 + 0xec))" (( "(") (binary_expression "*(int *)(iVar1 + 0x98) == *(int *)(iVar4 + 0xec)" (pointer_expression "*(int *)(iVar1 + 0x98)" (* "*") (cast_expression "(int *)(iVar1 + 0x98)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x98)" (( "(") (binary_expression "iVar1 + 0x98" (identifier "iVar1") (+ "+") (number_literal "0x98")) () ")")))) (== "==") (pointer_expression "*(int *)(iVar4 + 0xec)" (* "*") (cast_expression "(int *)(iVar4 + 0xec)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0xec)" (( "(") (binary_expression "iVar4 + 0xec" (identifier "iVar4") (+ "+") (number_literal "0xec")) () ")"))))) () ")")) (compound_statement "{\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x30) = uVar3;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }\n    iVar2 = *(int *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0x14);\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x34) = uVar3;\n      goto LAB_00018ecc;\n    }\n  }" ({ "{") (if_statement "if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x30) = uVar3;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      *(undefined4 *)(iVar4 + 0x30) = uVar3;\n    }" ({ "{") (expression_statement "*(undefined4 *)(iVar4 + 0x30) = uVar3;" (assignment_expression "*(undefined4 *)(iVar4 + 0x30) = uVar3" (pointer_expression "*(undefined4 *)(iVar4 + 0x30)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x30)" (( "(") (binary_expression "iVar4 + 0x30" (identifier "iVar4") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (} "}")) (else_clause "else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }" (else "else") (compound_statement "{\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }" ({ "{") (expression_statement "*(undefined4 *)(iVar2 + 0x10) = uVar3;" (assignment_expression "*(undefined4 *)(iVar2 + 0x10) = uVar3" (pointer_expression "*(undefined4 *)(iVar2 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x10)" (( "(") (binary_expression "iVar2 + 0x10" (identifier "iVar2") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (} "}")))) (expression_statement "iVar2 = *(int *)(iVar1 + 0x10);" (assignment_expression "iVar2 = *(int *)(iVar1 + 0x10)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar1 + 0x10)" (* "*") (cast_expression "(int *)(iVar1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x10)" (( "(") (binary_expression "iVar1 + 0x10" (identifier "iVar1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "uVar3 = *(undefined4 *)(iVar1 + 0x14);" (assignment_expression "uVar3 = *(undefined4 *)(iVar1 + 0x14)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)(iVar1 + 0x14)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x14)" (( "(") (binary_expression "iVar1 + 0x14" (identifier "iVar1") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x34) = uVar3;\n      goto LAB_00018ecc;\n    }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      *(undefined4 *)(iVar4 + 0x34) = uVar3;\n      goto LAB_00018ecc;\n    }" ({ "{") (expression_statement "*(undefined4 *)(iVar4 + 0x34) = uVar3;" (assignment_expression "*(undefined4 *)(iVar4 + 0x34) = uVar3" (pointer_expression "*(undefined4 *)(iVar4 + 0x34)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x34)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x34)" (( "(") (binary_expression "iVar4 + 0x34" (identifier "iVar4") (+ "+") (number_literal "0x34")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (goto_statement "goto LAB_00018ecc;" (goto "goto") (statement_identifier "LAB_00018ecc") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x38) = uVar3;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }\n    iVar2 = *(int *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0x14);\n    if (iVar2 == 0) goto LAB_00018f58;\n  }" (else "else") (compound_statement "{\n    if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x38) = uVar3;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }\n    iVar2 = *(int *)(iVar1 + 0x10);\n    uVar3 = *(undefined4 *)(iVar1 + 0x14);\n    if (iVar2 == 0) goto LAB_00018f58;\n  }" ({ "{") (if_statement "if (iVar2 == 0) {\n      *(undefined4 *)(iVar4 + 0x38) = uVar3;\n    }\n    else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      *(undefined4 *)(iVar4 + 0x38) = uVar3;\n    }" ({ "{") (expression_statement "*(undefined4 *)(iVar4 + 0x38) = uVar3;" (assignment_expression "*(undefined4 *)(iVar4 + 0x38) = uVar3" (pointer_expression "*(undefined4 *)(iVar4 + 0x38)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x38)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x38)" (( "(") (binary_expression "iVar4 + 0x38" (identifier "iVar4") (+ "+") (number_literal "0x38")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (} "}")) (else_clause "else {\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }" (else "else") (compound_statement "{\n      *(undefined4 *)(iVar2 + 0x10) = uVar3;\n    }" ({ "{") (expression_statement "*(undefined4 *)(iVar2 + 0x10) = uVar3;" (assignment_expression "*(undefined4 *)(iVar2 + 0x10) = uVar3" (pointer_expression "*(undefined4 *)(iVar2 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x10)" (( "(") (binary_expression "iVar2 + 0x10" (identifier "iVar2") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (} "}")))) (expression_statement "iVar2 = *(int *)(iVar1 + 0x10);" (assignment_expression "iVar2 = *(int *)(iVar1 + 0x10)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar1 + 0x10)" (* "*") (cast_expression "(int *)(iVar1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x10)" (( "(") (binary_expression "iVar1 + 0x10" (identifier "iVar1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "uVar3 = *(undefined4 *)(iVar1 + 0x14);" (assignment_expression "uVar3 = *(undefined4 *)(iVar1 + 0x14)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)(iVar1 + 0x14)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x14)" (( "(") (binary_expression "iVar1 + 0x14" (identifier "iVar1") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if (iVar2 == 0) goto LAB_00018f58;" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00018f58;" (goto "goto") (statement_identifier "LAB_00018f58") (; ";"))) (} "}")))) (expression_statement "*(undefined4 *)(iVar2 + 0x14) = uVar3;" (assignment_expression "*(undefined4 *)(iVar2 + 0x14) = uVar3" (pointer_expression "*(undefined4 *)(iVar2 + 0x14)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x14)" (( "(") (binary_expression "iVar2 + 0x14" (identifier "iVar2") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (labeled_statement "LAB_00018ecc:\n  iVar2 = *(int *)(iVar1 + 0xc);" (statement_identifier "LAB_00018ecc") (: ":") (expression_statement "iVar2 = *(int *)(iVar1 + 0xc);" (assignment_expression "iVar2 = *(int *)(iVar1 + 0xc)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar1 + 0xc)" (* "*") (cast_expression "(int *)(iVar1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xc)" (( "(") (binary_expression "iVar1 + 0xc" (identifier "iVar1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";"))) (expression_statement "uVar3 = *(undefined4 *)(iVar1 + 8);" (assignment_expression "uVar3 = *(undefined4 *)(iVar1 + 8)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)(iVar1 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x10) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x10)" (( "(") (binary_expression "iVar1 + 0x10" (identifier "iVar1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x14) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x14)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x14)" (( "(") (binary_expression "iVar1 + 0x14" (identifier "iVar1") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar2 == 0) goto LAB_00018f70;" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00018f70;" (goto "goto") (statement_identifier "LAB_00018f70") (; ";"))) (labeled_statement "LAB_00018ee0:\n  *(undefined4 *)(iVar2 + 8) = uVar3;" (statement_identifier "LAB_00018ee0") (: ":") (expression_statement "*(undefined4 *)(iVar2 + 8) = uVar3;" (assignment_expression "*(undefined4 *)(iVar2 + 8) = uVar3" (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 "uVar3")) (; ";"))) (expression_statement "iVar2 = *(int *)(iVar1 + 8);" (assignment_expression "iVar2 = *(int *)(iVar1 + 8)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar1 + 8)" (* "*") (cast_expression "(int *)(iVar1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "uVar3 = *(undefined4 *)(iVar1 + 0xc);" (assignment_expression "uVar3 = *(undefined4 *)(iVar1 + 0xc)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xc)" (( "(") (binary_expression "iVar1 + 0xc" (identifier "iVar1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (if_statement "if (iVar2 == 0) goto LAB_00018f80;" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00018f80;" (goto "goto") (statement_identifier "LAB_00018f80") (; ";"))) (labeled_statement "LAB_00018ef0:\n  *(undefined4 *)(iVar2 + 0xc) = uVar3;" (statement_identifier "LAB_00018ef0") (: ":") (expression_statement "*(undefined4 *)(iVar2 + 0xc) = uVar3;" (assignment_expression "*(undefined4 *)(iVar2 + 0xc) = uVar3" (pointer_expression "*(undefined4 *)(iVar2 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0xc)" (( "(") (binary_expression "iVar2 + 0xc" (identifier "iVar2") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "uVar3")) (; ";"))) (expression_statement "*(undefined4 *)(iVar1 + 8) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 8) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0xc) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0xc) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xc)" (( "(") (binary_expression "iVar1 + 0xc" (identifier "iVar1") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18);" (assignment_expression "*(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18)" (pointer_expression "*(undefined4 *)(iVar1 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(iVar4 + 0x18)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x18)" (( "(") (binary_expression "iVar4 + 0x18" (identifier "iVar4") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (*(int *)(iVar4 + 0x1c) == 0) goto LAB_00018fa0;" (if "if") (parenthesized_expression "(*(int *)(iVar4 + 0x1c) == 0)" (( "(") (binary_expression "*(int *)(iVar4 + 0x1c) == 0" (pointer_expression "*(int *)(iVar4 + 0x1c)" (* "*") (cast_expression "(int *)(iVar4 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x1c)" (( "(") (binary_expression "iVar4 + 0x1c" (identifier "iVar4") (+ "+") (number_literal "0x1c")) () ")")))) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00018fa0;" (goto "goto") (statement_identifier "LAB_00018fa0") (; ";"))) (do_statement "do {\n    *(int *)(*(int *)(iVar4 + 0x18) + 0xc) = iVar1;\n    while( true ) {\n      puVar7 = PTR_pthread_mutex_unlock_0003d280;\n      *(int *)(iVar4 + 0x18) = iVar1;\n      iVar2 = (*(code *)puVar7)(uVar6);\n      if (iVar2 == 0) goto LAB_00018e38;\n      uVar3 = 0x1287;\nLAB_00018f34:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x6298);\n      uVar3 = extraout_v1;\nLAB_00018f58:\n      *(undefined4 *)(iVar4 + 0x3c) = uVar3;\n      *(undefined4 *)(iVar1 + 0x10) = 0;\n      *(undefined4 *)(iVar1 + 0x14) = 0;\n      iVar2 = *(int *)(iVar1 + 0xc);\n      uVar3 = *(undefined4 *)(iVar1 + 8);\n      if (iVar2 != 0) goto LAB_00018ee0;\nLAB_00018f70:\n      *(undefined4 *)(iVar4 + 8) = uVar3;\n      iVar2 = *(int *)(iVar1 + 8);\n      uVar3 = *(undefined4 *)(iVar1 + 0xc);\n      if (iVar2 != 0) goto LAB_00018ef0;\nLAB_00018f80:\n      *(undefined4 *)(iVar4 + 0xc) = uVar3;\n      *(undefined4 *)(iVar1 + 8) = 0;\n      *(undefined4 *)(iVar1 + 0xc) = 0;\n      *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18);\n      if (*(int *)(iVar4 + 0x1c) != 0) break;\nLAB_00018fa0:\n      *(int *)(iVar4 + 0x1c) = iVar1;\n    }\n  } while( true );" (do "do") (compound_statement "{\n    *(int *)(*(int *)(iVar4 + 0x18) + 0xc) = iVar1;\n    while( true ) {\n      puVar7 = PTR_pthread_mutex_unlock_0003d280;\n      *(int *)(iVar4 + 0x18) = iVar1;\n      iVar2 = (*(code *)puVar7)(uVar6);\n      if (iVar2 == 0) goto LAB_00018e38;\n      uVar3 = 0x1287;\nLAB_00018f34:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x6298);\n      uVar3 = extraout_v1;\nLAB_00018f58:\n      *(undefined4 *)(iVar4 + 0x3c) = uVar3;\n      *(undefined4 *)(iVar1 + 0x10) = 0;\n      *(undefined4 *)(iVar1 + 0x14) = 0;\n      iVar2 = *(int *)(iVar1 + 0xc);\n      uVar3 = *(undefined4 *)(iVar1 + 8);\n      if (iVar2 != 0) goto LAB_00018ee0;\nLAB_00018f70:\n      *(undefined4 *)(iVar4 + 8) = uVar3;\n      iVar2 = *(int *)(iVar1 + 8);\n      uVar3 = *(undefined4 *)(iVar1 + 0xc);\n      if (iVar2 != 0) goto LAB_00018ef0;\nLAB_00018f80:\n      *(undefined4 *)(iVar4 + 0xc) = uVar3;\n      *(undefined4 *)(iVar1 + 8) = 0;\n      *(undefined4 *)(iVar1 + 0xc) = 0;\n      *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18);\n      if (*(int *)(iVar4 + 0x1c) != 0) break;\nLAB_00018fa0:\n      *(int *)(iVar4 + 0x1c) = iVar1;\n    }\n  }" ({ "{") (expression_statement "*(int *)(*(int *)(iVar4 + 0x18) + 0xc) = iVar1;" (assignment_expression "*(int *)(*(int *)(iVar4 + 0x18) + 0xc) = iVar1" (pointer_expression "*(int *)(*(int *)(iVar4 + 0x18) + 0xc)" (* "*") (cast_expression "(int *)(*(int *)(iVar4 + 0x18) + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar4 + 0x18) + 0xc)" (( "(") (binary_expression "*(int *)(iVar4 + 0x18) + 0xc" (pointer_expression "*(int *)(iVar4 + 0x18)" (* "*") (cast_expression "(int *)(iVar4 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x18)" (( "(") (binary_expression "iVar4 + 0x18" (identifier "iVar4") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "iVar1")) (; ";")) (while_statement "while( true ) {\n      puVar7 = PTR_pthread_mutex_unlock_0003d280;\n      *(int *)(iVar4 + 0x18) = iVar1;\n      iVar2 = (*(code *)puVar7)(uVar6);\n      if (iVar2 == 0) goto LAB_00018e38;\n      uVar3 = 0x1287;\nLAB_00018f34:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x6298);\n      uVar3 = extraout_v1;\nLAB_00018f58:\n      *(undefined4 *)(iVar4 + 0x3c) = uVar3;\n      *(undefined4 *)(iVar1 + 0x10) = 0;\n      *(undefined4 *)(iVar1 + 0x14) = 0;\n      iVar2 = *(int *)(iVar1 + 0xc);\n      uVar3 = *(undefined4 *)(iVar1 + 8);\n      if (iVar2 != 0) goto LAB_00018ee0;\nLAB_00018f70:\n      *(undefined4 *)(iVar4 + 8) = uVar3;\n      iVar2 = *(int *)(iVar1 + 8);\n      uVar3 = *(undefined4 *)(iVar1 + 0xc);\n      if (iVar2 != 0) goto LAB_00018ef0;\nLAB_00018f80:\n      *(undefined4 *)(iVar4 + 0xc) = uVar3;\n      *(undefined4 *)(iVar1 + 8) = 0;\n      *(undefined4 *)(iVar1 + 0xc) = 0;\n      *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18);\n      if (*(int *)(iVar4 + 0x1c) != 0) break;\nLAB_00018fa0:\n      *(int *)(iVar4 + 0x1c) = iVar1;\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      puVar7 = PTR_pthread_mutex_unlock_0003d280;\n      *(int *)(iVar4 + 0x18) = iVar1;\n      iVar2 = (*(code *)puVar7)(uVar6);\n      if (iVar2 == 0) goto LAB_00018e38;\n      uVar3 = 0x1287;\nLAB_00018f34:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x6298);\n      uVar3 = extraout_v1;\nLAB_00018f58:\n      *(undefined4 *)(iVar4 + 0x3c) = uVar3;\n      *(undefined4 *)(iVar1 + 0x10) = 0;\n      *(undefined4 *)(iVar1 + 0x14) = 0;\n      iVar2 = *(int *)(iVar1 + 0xc);\n      uVar3 = *(undefined4 *)(iVar1 + 8);\n      if (iVar2 != 0) goto LAB_00018ee0;\nLAB_00018f70:\n      *(undefined4 *)(iVar4 + 8) = uVar3;\n      iVar2 = *(int *)(iVar1 + 8);\n      uVar3 = *(undefined4 *)(iVar1 + 0xc);\n      if (iVar2 != 0) goto LAB_00018ef0;\nLAB_00018f80:\n      *(undefined4 *)(iVar4 + 0xc) = uVar3;\n      *(undefined4 *)(iVar1 + 8) = 0;\n      *(undefined4 *)(iVar1 + 0xc) = 0;\n      *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18);\n      if (*(int *)(iVar4 + 0x1c) != 0) break;\nLAB_00018fa0:\n      *(int *)(iVar4 + 0x1c) = iVar1;\n    }" ({ "{") (expression_statement "puVar7 = PTR_pthread_mutex_unlock_0003d280;" (assignment_expression "puVar7 = PTR_pthread_mutex_unlock_0003d280" (identifier "puVar7") (= "=") (identifier "PTR_pthread_mutex_unlock_0003d280")) (; ";")) (expression_statement "*(int *)(iVar4 + 0x18) = iVar1;" (assignment_expression "*(int *)(iVar4 + 0x18) = iVar1" (pointer_expression "*(int *)(iVar4 + 0x18)" (* "*") (cast_expression "(int *)(iVar4 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x18)" (( "(") (binary_expression "iVar4 + 0x18" (identifier "iVar4") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (identifier "iVar1")) (; ";")) (expression_statement "iVar2 = (*(code *)puVar7)(uVar6);" (assignment_expression "iVar2 = (*(code *)puVar7)(uVar6)" (identifier "iVar2") (= "=") (call_expression "(*(code *)puVar7)(uVar6)" (parenthesized_expression "(*(code *)puVar7)" (( "(") (pointer_expression "*(code *)puVar7" (* "*") (cast_expression "(code *)puVar7" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar7"))) () ")")) (argument_list "(uVar6)" (( "(") (identifier "uVar6") () ")")))) (; ";")) (if_statement "if (iVar2 == 0) goto LAB_00018e38;" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00018e38;" (goto "goto") (statement_identifier "LAB_00018e38") (; ";"))) (expression_statement "uVar3 = 0x1287;" (assignment_expression "uVar3 = 0x1287" (identifier "uVar3") (= "=") (number_literal "0x1287")) (; ";")) (labeled_statement "LAB_00018f34:\n      (**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x6298);" (statement_identifier "LAB_00018f34") (: ":") (expression_statement "(**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x6298);" (call_expression "(**(code **)PTR_DAT_0003d03c)\n                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x6298)" (parenthesized_expression "(**(code **)PTR_DAT_0003d03c)" (( "(") (pointer_expression "**(code **)PTR_DAT_0003d03c" (* "*") (pointer_expression "*(code **)PTR_DAT_0003d03c" (* "*") (cast_expression "(code **)PTR_DAT_0003d03c" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_DAT_0003d03c")))) () ")")) (argument_list "(*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,\n                 PTR_DAT_0003d02c + -0x6298)" (( "(") (pointer_expression "*(undefined4 *)PTR_DAT_0003d038" (* "*") (cast_expression "(undefined4 *)PTR_DAT_0003d038" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DAT_0003d038"))) (, ",") (binary_expression "PTR_DAT_0003d02c + -0x51b0" (identifier "PTR_DAT_0003d02c") (+ "+") (number_literal "-0x51b0")) (, ",") (identifier "uVar3") (, ",") (binary_expression "PTR_DAT_0003d02c + -0x6298" (identifier "PTR_DAT_0003d02c") (+ "+") (number_literal "-0x6298")) () ")"))) (; ";"))) (expression_statement "uVar3 = extraout_v1;" (assignment_expression "uVar3 = extraout_v1" (identifier "uVar3") (= "=") (identifier "extraout_v1")) (; ";")) (labeled_statement "LAB_00018f58:\n      *(undefined4 *)(iVar4 + 0x3c) = uVar3;" (statement_identifier "LAB_00018f58") (: ":") (expression_statement "*(undefined4 *)(iVar4 + 0x3c) = uVar3;" (assignment_expression "*(undefined4 *)(iVar4 + 0x3c) = uVar3" (pointer_expression "*(undefined4 *)(iVar4 + 0x3c)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x3c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x3c)" (( "(") (binary_expression "iVar4 + 0x3c" (identifier "iVar4") (+ "+") (number_literal "0x3c")) () ")")))) (= "=") (identifier "uVar3")) (; ";"))) (expression_statement "*(undefined4 *)(iVar1 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x10) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x10)" (( "(") (binary_expression "iVar1 + 0x10" (identifier "iVar1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x14) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x14)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x14)" (( "(") (binary_expression "iVar1 + 0x14" (identifier "iVar1") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar2 = *(int *)(iVar1 + 0xc);" (assignment_expression "iVar2 = *(int *)(iVar1 + 0xc)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar1 + 0xc)" (* "*") (cast_expression "(int *)(iVar1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xc)" (( "(") (binary_expression "iVar1 + 0xc" (identifier "iVar1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "uVar3 = *(undefined4 *)(iVar1 + 8);" (assignment_expression "uVar3 = *(undefined4 *)(iVar1 + 8)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)(iVar1 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (iVar2 != 0) goto LAB_00018ee0;" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00018ee0;" (goto "goto") (statement_identifier "LAB_00018ee0") (; ";"))) (labeled_statement "LAB_00018f70:\n      *(undefined4 *)(iVar4 + 8) = uVar3;" (statement_identifier "LAB_00018f70") (: ":") (expression_statement "*(undefined4 *)(iVar4 + 8) = uVar3;" (assignment_expression "*(undefined4 *)(iVar4 + 8) = uVar3" (pointer_expression "*(undefined4 *)(iVar4 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 8)" (( "(") (binary_expression "iVar4 + 8" (identifier "iVar4") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "uVar3")) (; ";"))) (expression_statement "iVar2 = *(int *)(iVar1 + 8);" (assignment_expression "iVar2 = *(int *)(iVar1 + 8)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar1 + 8)" (* "*") (cast_expression "(int *)(iVar1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "uVar3 = *(undefined4 *)(iVar1 + 0xc);" (assignment_expression "uVar3 = *(undefined4 *)(iVar1 + 0xc)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xc)" (( "(") (binary_expression "iVar1 + 0xc" (identifier "iVar1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (if_statement "if (iVar2 != 0) goto LAB_00018ef0;" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00018ef0;" (goto "goto") (statement_identifier "LAB_00018ef0") (; ";"))) (labeled_statement "LAB_00018f80:\n      *(undefined4 *)(iVar4 + 0xc) = uVar3;" (statement_identifier "LAB_00018f80") (: ":") (expression_statement "*(undefined4 *)(iVar4 + 0xc) = uVar3;" (assignment_expression "*(undefined4 *)(iVar4 + 0xc) = uVar3" (pointer_expression "*(undefined4 *)(iVar4 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0xc)" (( "(") (binary_expression "iVar4 + 0xc" (identifier "iVar4") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "uVar3")) (; ";"))) (expression_statement "*(undefined4 *)(iVar1 + 8) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 8) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0xc) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0xc) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xc)" (( "(") (binary_expression "iVar1 + 0xc" (identifier "iVar1") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18);" (assignment_expression "*(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18)" (pointer_expression "*(undefined4 *)(iVar1 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(iVar4 + 0x18)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x18)" (( "(") (binary_expression "iVar4 + 0x18" (identifier "iVar4") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (*(int *)(iVar4 + 0x1c) != 0) break;" (if "if") (parenthesized_expression "(*(int *)(iVar4 + 0x1c) != 0)" (( "(") (binary_expression "*(int *)(iVar4 + 0x1c) != 0" (pointer_expression "*(int *)(iVar4 + 0x1c)" (* "*") (cast_expression "(int *)(iVar4 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x1c)" (( "(") (binary_expression "iVar4 + 0x1c" (identifier "iVar4") (+ "+") (number_literal "0x1c")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (labeled_statement "LAB_00018fa0:\n      *(int *)(iVar4 + 0x1c) = iVar1;" (statement_identifier "LAB_00018fa0") (: ":") (expression_statement "*(int *)(iVar4 + 0x1c) = iVar1;" (assignment_expression "*(int *)(iVar4 + 0x1c) = iVar1" (pointer_expression "*(int *)(iVar4 + 0x1c)" (* "*") (cast_expression "(int *)(iVar4 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x1c)" (( "(") (binary_expression "iVar4 + 0x1c" (identifier "iVar4") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (identifier "iVar1")) (; ";"))) (} "}"))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (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: (goto_statement label: (statement_identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (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))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (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))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))))))))) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) condition: (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: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement (while_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: (char_literal (escape_sequence)))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (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))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) (binary_expression left: (identifier) right: (number_literal)) (identifier) (binary_expression left: (identifier) right: (number_literal)))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (char_literal (escape_sequence))))))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (number_literal))) consequence: (break_statement)) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (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 (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) (binary_expression left: (identifier) right: (number_literal)) (identifier) (binary_expression left: (identifier) right: (number_literal)))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) (binary_expression left: (identifier) right: (number_literal)) (identifier) (binary_expression left: (identifier) right: (number_literal))))))) condition: (parenthesized_expression (true))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (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: (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))))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (goto_statement label: (statement_identifier))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (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: (goto_statement label: (statement_identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (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))))) right: (identifier))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_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: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) (binary_expression left: (identifier) right: (number_literal)) (identifier) (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (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: (break_statement)) (labeled_statement label: (statement_identifier) (expression_statement (assignment_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: (identifier))))))) condition: (parenthesized_expression (true))))))

void MASKED(int param_1)

{
  int iVar1;
  int iVar2;
  undefined4 extraout_v1;
  undefined4 uVar3;
  int iVar4;
  uint uVar5;
  uint uVar6;
  undefined *puVar7;
  
  uVar5 = *(uint *)(param_1 + 0xf4);
  uVar6 = uVar5 & 0x8000;
  if ((uVar5 & 0x2000) != 0) {
    *(undefined1 *)(param_1 + 0xdf) = 1;
    FUN_00017778();
  }
  iVar4 = param_1 + 0xac;
  iVar1 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);
  uVar3 = 0x1a2b;
  if (iVar1 != 0) goto LAB_00019098;
  if (uVar6 == 0) {
    uVar3 = 0x1a58;
    if (*(int *)(param_1 + 0x10) != 0) goto LAB_000190c4;
  }
  else {
    iVar1 = *(int *)(param_1 + 0x14);
    if (iVar1 != 0) {
      iVar2 = *(int *)(iVar1 + 0xdc);
      if (iVar2 == 0) goto LAB_000190c0;
      puVar7 = PTR_DAT_0003d02c + -0x4ca4;
      while( true ) {
        if (*(char *)(iVar2 + 4) == '\0') {
          FUN_0001e5b0(param_1,puVar7,uVar3);
          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;
          *(undefined1 *)(iVar1 + 0xe8) = 1;
          *(undefined1 *)(param_1 + 0xdf) = 1;
          iVar1 = *(int *)(iVar1 + 0xc);
        }
        else {
          *(undefined1 *)(*(int *)(iVar1 + 0xdc) + 4) = 1;
          *(undefined1 *)(iVar1 + 0xe8) = 1;
          *(undefined1 *)(param_1 + 0xdf) = 1;
          iVar1 = *(int *)(iVar1 + 0xc);
        }
        if (iVar1 == 0) break;
        iVar2 = *(int *)(iVar1 + 0xdc);
        uVar3 = 0x1a37;
        if (iVar2 == 0) goto LAB_000190c0;
      }
    }
  }
  iVar1 = *(int *)(param_1 + 0xc);
  if (iVar1 != 0) {
    do {
      (*(code *)PTR_shutdown_0003d134)(*(undefined4 *)(iVar1 + 0xa4),2);
      iVar1 = *(int *)(iVar1 + 0xc);
    } while (iVar1 != 0);
    iVar1 = 0;
    if ((uVar5 & 4) != 0) {
      iVar1 = *(int *)(param_1 + 0xc);
      while (iVar1 != 0) {
        while (*(char *)(iVar1 + 0xab) != '\0') {
          iVar1 = *(int *)(iVar1 + 0xc);
          if (iVar1 == 0) goto LAB_00018e1c;
        }
        iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);
        if (iVar2 != 0) {
          uVar3 = 0x1a6f;
          goto LAB_00018f34;
        }
        iVar2 = (*(code *)PTR_pthread_join_0003d160)(*(undefined4 *)(iVar1 + 0x58),0);
        if (iVar2 != 0) {
          uVar3 = 0x1a71;
LAB_00019070:
          (**(code **)PTR_DAT_0003d03c)
                    (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,
                     PTR_DAT_0003d02c + -0x4d40);
LAB_00019094:
          uVar3 = 0x1a72;
          goto LAB_00019098;
        }
        iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(iVar4);
        if (iVar2 != 0) goto LAB_00019094;
        *(undefined1 *)(iVar1 + 0xab) = 1;
        iVar1 = *(int *)(param_1 + 0xc);
      }
    }
  }
LAB_00018e1c:
  iVar2 = (*(code *)PTR_pthread_mutex_unlock_0003d280)(iVar4);
  uVar3 = 0x1a7c;
  if (iVar2 != 0) goto LAB_00018f34;
  if (uVar6 != 0) {
    *(undefined1 *)(param_1 + 0xdf) = 1;
    FUN_00017778(param_1);
  }
LAB_00018e38:
  iVar1 = *(int *)(param_1 + 0xc);
  while( true ) {
    if (iVar1 == 0) {
      FUN_000188d8(param_1);
      return;
    }
    if (((*(uint *)(param_1 + 0xf4) & 4) != 0) && (uVar3 = 0x1a91, *(char *)(iVar1 + 0xab) == '\0'))
    goto LAB_00019070;
    iVar4 = *(int *)(iVar1 + 0x18);
    if ((*(uint *)(iVar4 + 0xf4) & 4) == 0) break;
    FUN_00013f40(iVar1);
    iVar1 = *(int *)(param_1 + 0xc);
  }
  uVar6 = iVar4 + 0xac;
  FUN_00013f84(iVar1,3);
  iVar2 = (*(code *)PTR_pthread_mutex_lock_0003d210)(uVar6);
  if (iVar2 != 0) {
    do {
      uVar3 = 0x1274;
LAB_00019098:
      (**(code **)PTR_DAT_0003d03c)
                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,
                 PTR_DAT_0003d02c + -0x62c0);
LAB_000190c0:
      uVar3 = 0x1a37;
LAB_000190c4:
      (**(code **)PTR_DAT_0003d03c)
                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,
                 PTR_DAT_0003d02c + -0x4ce4);
    } while( true );
  }
  iVar2 = *(int *)(iVar1 + 0x14);
  uVar3 = *(undefined4 *)(iVar1 + 0x10);
  if (*(int *)(iVar1 + 0x98) == *(int *)(iVar4 + 0xec)) {
    if (iVar2 == 0) {
      *(undefined4 *)(iVar4 + 0x30) = uVar3;
    }
    else {
      *(undefined4 *)(iVar2 + 0x10) = uVar3;
    }
    iVar2 = *(int *)(iVar1 + 0x10);
    uVar3 = *(undefined4 *)(iVar1 + 0x14);
    if (iVar2 == 0) {
      *(undefined4 *)(iVar4 + 0x34) = uVar3;
      goto LAB_00018ecc;
    }
  }
  else {
    if (iVar2 == 0) {
      *(undefined4 *)(iVar4 + 0x38) = uVar3;
    }
    else {
      *(undefined4 *)(iVar2 + 0x10) = uVar3;
    }
    iVar2 = *(int *)(iVar1 + 0x10);
    uVar3 = *(undefined4 *)(iVar1 + 0x14);
    if (iVar2 == 0) goto LAB_00018f58;
  }
  *(undefined4 *)(iVar2 + 0x14) = uVar3;
LAB_00018ecc:
  iVar2 = *(int *)(iVar1 + 0xc);
  uVar3 = *(undefined4 *)(iVar1 + 8);
  *(undefined4 *)(iVar1 + 0x10) = 0;
  *(undefined4 *)(iVar1 + 0x14) = 0;
  if (iVar2 == 0) goto LAB_00018f70;
LAB_00018ee0:
  *(undefined4 *)(iVar2 + 8) = uVar3;
  iVar2 = *(int *)(iVar1 + 8);
  uVar3 = *(undefined4 *)(iVar1 + 0xc);
  if (iVar2 == 0) goto LAB_00018f80;
LAB_00018ef0:
  *(undefined4 *)(iVar2 + 0xc) = uVar3;
  *(undefined4 *)(iVar1 + 8) = 0;
  *(undefined4 *)(iVar1 + 0xc) = 0;
  *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18);
  if (*(int *)(iVar4 + 0x1c) == 0) goto LAB_00018fa0;
  do {
    *(int *)(*(int *)(iVar4 + 0x18) + 0xc) = iVar1;
    while( true ) {
      puVar7 = PTR_pthread_mutex_unlock_0003d280;
      *(int *)(iVar4 + 0x18) = iVar1;
      iVar2 = (*(code *)puVar7)(uVar6);
      if (iVar2 == 0) goto LAB_00018e38;
      uVar3 = 0x1287;
LAB_00018f34:
      (**(code **)PTR_DAT_0003d03c)
                (*(undefined4 *)PTR_DAT_0003d038,PTR_DAT_0003d02c + -0x51b0,uVar3,
                 PTR_DAT_0003d02c + -0x6298);
      uVar3 = extraout_v1;
LAB_00018f58:
      *(undefined4 *)(iVar4 + 0x3c) = uVar3;
      *(undefined4 *)(iVar1 + 0x10) = 0;
      *(undefined4 *)(iVar1 + 0x14) = 0;
      iVar2 = *(int *)(iVar1 + 0xc);
      uVar3 = *(undefined4 *)(iVar1 + 8);
      if (iVar2 != 0) goto LAB_00018ee0;
LAB_00018f70:
      *(undefined4 *)(iVar4 + 8) = uVar3;
      iVar2 = *(int *)(iVar1 + 8);
      uVar3 = *(undefined4 *)(iVar1 + 0xc);
      if (iVar2 != 0) goto LAB_00018ef0;
LAB_00018f80:
      *(undefined4 *)(iVar4 + 0xc) = uVar3;
      *(undefined4 *)(iVar1 + 8) = 0;
      *(undefined4 *)(iVar1 + 0xc) = 0;
      *(undefined4 *)(iVar1 + 8) = *(undefined4 *)(iVar4 + 0x18);
      if (*(int *)(iVar4 + 0x1c) != 0) break;
LAB_00018fa0:
      *(int *)(iVar4 + 0x1c) = iVar1;
    }
  } while( true );
}

