
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "MHD_FLAG": Some values do not have unique names */
/* WARNING: Enum "gnutls_pk_algorithm_t": Some values do not have unique names */
/* WARNING: Enum "gnutls_certificate_type_t": Some values do not have unique names */

int MHD_set_connection_option(MHD_Connection *connection,MHD_CONNECTION_OPTION option,...)

{
  MHD_mutex_ *__mutex;
  MHD_Daemon *pMVar1;
  int iVar2;
  undefined4 uVar3;
  int iVar4;
  MHD_Connection *pMVar5;
  time_t tVar6;
  pthread_t pVar7;
  uint uVar8;
  int iVar9;
  int iVar10;
  MHD_Connection *pMVar11;
  undefined1 *puVar12;
  int in_stack_0000000c;
  undefined1 auStack_1c [8];
  undefined4 uStack_14;
  
  uStack_14 = 0x16209;
  puVar12 = auStack_1c;
  if (option != MHD_CONNECTION_OPTION_TIMEOUT) {
    return 0;
  }
  pMVar1 = connection->daemon;
  if (connection->connection_timeout == 0) {
    tVar6 = MHD_monotonic_sec_counter();
    connection->last_activity = tVar6;
  }
  __mutex = &pMVar1->cleanup_connection_mutex;
  iVar4 = pthread_mutex_lock((pthread_mutex_t *)__mutex);
  if (iVar4 == 0) {
    if (((pMVar1->options & MHD_USE_THREAD_PER_CONNECTION) == MHD_NO_FLAG) &&
       (connection->suspended == false)) {
      pMVar5 = connection->prevX;
      pMVar11 = connection->nextX;
      if (connection->connection_timeout == pMVar1->connection_timeout) {
        if (pMVar5 == (MHD_Connection *)0x0) {
          pMVar1->normal_timeout_head = pMVar11;
        }
        else {
          pMVar5->nextX = pMVar11;
        }
        pMVar5 = connection->nextX;
        pMVar11 = connection->prevX;
        if (pMVar5 != (MHD_Connection *)0x0) goto LAB_00016290;
        pMVar1->normal_timeout_tail = pMVar11;
      }
      else {
        if (pMVar5 == (MHD_Connection *)0x0) {
          pMVar1->manual_timeout_head = pMVar11;
        }
        else {
          pMVar5->nextX = pMVar11;
        }
        pMVar5 = connection->nextX;
        pMVar11 = connection->prevX;
        if (pMVar5 == (MHD_Connection *)0x0) {
          pMVar1->manual_timeout_tail = pMVar11;
        }
        else {
LAB_00016290:
          pMVar5->prevX = pMVar11;
        }
      }
      connection->nextX = (MHD_Connection *)0x0;
      connection->prevX = (MHD_Connection *)0x0;
    }
    connection->connection_timeout = in_stack_0000000c;
    if (((pMVar1->options & MHD_USE_THREAD_PER_CONNECTION) == MHD_NO_FLAG) &&
       (connection->suspended == false)) {
      if (in_stack_0000000c == pMVar1->connection_timeout) {
        pMVar5 = pMVar1->normal_timeout_head;
        connection->prevX = (MHD_Connection *)0x0;
        connection->nextX = pMVar5;
        if (pMVar1->normal_timeout_tail == (MHD_Connection *)0x0) {
          pMVar1->normal_timeout_tail = connection;
        }
        else {
          pMVar1->normal_timeout_head->prevX = connection;
        }
        pMVar1->normal_timeout_head = connection;
      }
      else {
        pMVar5 = pMVar1->manual_timeout_head;
        connection->prevX = (MHD_Connection *)0x0;
        connection->nextX = pMVar5;
        if (pMVar1->manual_timeout_tail == (MHD_Connection *)0x0) {
          pMVar1->manual_timeout_tail = connection;
        }
        else {
          pMVar1->manual_timeout_head->prevX = connection;
        }
        pMVar1->manual_timeout_head = connection;
      }
    }
    iVar4 = pthread_mutex_unlock((pthread_mutex_t *)__mutex);
    if (iVar4 == 0) {
      return 1;
    }
    puVar12 = &stack0xffffffd4;
    (*mhd_panic)(mhd_panic_cls,"connection.c",0xfa7,"Failed to unlock mutex.\n");
  }
  *(char **)(puVar12 + -4) = "Failed to lock mutex.\n";
  *(undefined4 *)(puVar12 + -8) = 0xf88;
  *(char **)(puVar12 + -0xc) = "connection.c";
  *(void **)(puVar12 + -0x10) = mhd_panic_cls;
  *(undefined4 *)(puVar12 + -0x14) = 0x16403;
  (*mhd_panic)(*(void **)(puVar12 + -0x10),*(char **)(puVar12 + -0xc),*(uint *)(puVar12 + -8),
               *(char **)(puVar12 + -4));
  *(MHD_mutex_ **)(puVar12 + -0x14) = __mutex;
  *(MHD_Daemon **)(puVar12 + -0x18) = pMVar1;
  *(MHD_Connection **)(puVar12 + -0x1c) = connection;
  *(undefined ***)(puVar12 + -0x20) = &_GLOBAL_OFFSET_TABLE_;
  *(undefined4 *)(puVar12 + -0x24) = 0x1641b;
  iVar4 = *(int *)(puVar12 + -0x24);
  iVar2 = *(int *)(puVar12 + -0xc);
  iVar10 = *(int *)(puVar12 + -4);
  if (iVar2 == 0) {
    return 0;
  }
  if (iVar10 == 0) {
    return 0;
  }
  if (*(int *)(iVar2 + 0x24) != 0) {
    return 0;
  }
  if ((*(int *)(iVar2 + 0xb4) != 4) && (*(int *)(iVar2 + 0xb4) != 9)) {
    return 0;
  }
  iVar9 = *(int *)(iVar2 + 0x18);
  if (*(char *)(iVar9 + 0xe0) != '\0') {
    return 1;
  }
  if ((*(char *)(iVar2 + 0xf1) == '\0') && ((*(byte *)(iVar9 + 0xf8) & 8) != 0)) {
    *(undefined4 *)(puVar12 + -0x30) = 0x16481;
    pVar7 = pthread_self();
    if (pVar7 != *(pthread_t *)(iVar2 + 0x5c)) {
      iVar4 = iVar4 + 0x13069;
      goto LAB_00016490;
    }
  }
  if (*(int *)(iVar10 + 0x14) != 0) {
    if ((*(byte *)(iVar9 + 0xf9) & 0x80) == 0) {
      iVar4 = iVar4 + 0x13099;
LAB_00016490:
      *(int *)(puVar12 + -0x38) = iVar4;
      *(int *)(puVar12 + -0x3c) = iVar9;
      *(undefined4 *)(puVar12 + -0x40) = 0x16497;
      MHD_DLOG(*(MHD_Daemon **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38));
      return 0;
    }
    if (*(int *)(puVar12 + -8) != 0x65) {
      iVar4 = iVar4 + 0x130e5;
      goto LAB_00016490;
    }
  }
  *(int *)(puVar12 + -0x3c) = iVar10;
  *(undefined4 *)(puVar12 + -0x40) = 0x164c8;
  MHD_increment_response_rc(*(MHD_Response **)(puVar12 + -0x3c));
  uVar3 = *(undefined4 *)(puVar12 + -8);
  *(int *)(iVar2 + 0x24) = iVar10;
  *(undefined4 *)(iVar2 + 0xbc) = uVar3;
  uVar8 = 0;
  if (*(int *)(iVar10 + 0x58) != -1) {
    uVar8 = (*(uint *)(*(int *)(iVar2 + 0x18) + 0xf8) >> 1 ^ 1) & 1;
  }
  *(uint *)(iVar2 + 0x88) = uVar8;
  iVar9 = *(int *)(iVar2 + 0x34);
  if (iVar9 == 0) {
LAB_00016550:
    if ((*(uint *)(puVar12 + -8) < 200 || *(int *)(puVar12 + -8) == 0xcc) ||
       (*(int *)(puVar12 + -8) == 0x130)) goto LAB_00016515;
  }
  else {
    *(int *)(puVar12 + -0x38) = iVar4 + 0x12d3e;
    *(int *)(puVar12 + -0x3c) = iVar9;
    *(undefined4 *)(puVar12 + -0x40) = 0x1650e;
    iVar9 = MHD_str_equal_caseless_(*(char **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38));
    if (iVar9 == 0) goto LAB_00016550;
LAB_00016515:
    uVar3 = *(undefined4 *)(iVar10 + 0x38);
    *(undefined4 *)(iVar2 + 0x80) = *(undefined4 *)(iVar10 + 0x34);
    *(undefined4 *)(iVar2 + 0x84) = uVar3;
  }
  if ((*(int *)(iVar2 + 0xb4) == 4) && (iVar10 = *(int *)(iVar2 + 0x34), iVar10 != 0)) {
    *(int *)(puVar12 + -0x38) = iVar4 + 0x12d43;
    *(int *)(puVar12 + -0x3c) = iVar10;
    *(undefined4 *)(puVar12 + -0x40) = 0x165a7;
    iVar10 = MHD_str_equal_caseless_(*(char **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38));
    if (iVar10 == 0) {
      *(int *)(puVar12 + -0x38) = iVar4 + 0x12d48;
      *(undefined4 *)(puVar12 + -0x3c) = *(undefined4 *)(iVar2 + 0x34);
      *(undefined4 *)(puVar12 + -0x40) = 0x16600;
      iVar4 = MHD_str_equal_caseless_(*(char **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38));
      if (iVar4 == 0) goto LAB_00016530;
    }
    *(undefined1 *)(iVar2 + 0xa9) = 1;
    *(undefined4 *)(iVar2 + 0xb4) = 9;
  }
LAB_00016530:
  if (*(char *)(iVar2 + 0xab) == '\0') {
    *(int *)(puVar12 + -0x3c) = iVar2;
    *(undefined4 *)(puVar12 + -0x40) = 0x165d1;
    MHD_connection_handle_idle(*(MHD_Connection **)(puVar12 + -0x3c));
  }
  return 1;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 MHD_set_connection_option(int param_1,int param_2,int param_3)

{
  pthread_mutex_t *__mutex;
  int iVar1;
  undefined4 uVar2;
  pthread_t pVar3;
  uint uVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  undefined1 *puVar8;
  undefined1 auStack_1c [8];
  undefined4 uStack_14;
  
  uStack_14 = 0x16209;
  puVar8 = auStack_1c;
  if (param_2 != 0) {
    return 0;
  }
  iVar7 = *(int *)(param_1 + 0x18);
  if (*(int *)(param_1 + 0x98) == 0) {
    uVar2 = FUN_00021230();
    *(undefined4 *)(param_1 + 0x94) = uVar2;
  }
  __mutex = (pthread_mutex_t *)(iVar7 + 0xac);
  iVar1 = pthread_mutex_lock(__mutex);
  if (iVar1 == 0) {
    if (((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')) {
      iVar1 = *(int *)(param_1 + 0x14);
      uVar2 = *(undefined4 *)(param_1 + 0x10);
      if (*(int *)(param_1 + 0x98) == *(int *)(iVar7 + 0xf0)) {
        if (iVar1 == 0) {
          *(undefined4 *)(iVar7 + 0x30) = uVar2;
        }
        else {
          *(undefined4 *)(iVar1 + 0x10) = uVar2;
        }
        iVar1 = *(int *)(param_1 + 0x10);
        uVar2 = *(undefined4 *)(param_1 + 0x14);
        if (iVar1 != 0) goto LAB_00016290;
        *(undefined4 *)(iVar7 + 0x34) = uVar2;
      }
      else {
        if (iVar1 == 0) {
          *(undefined4 *)(iVar7 + 0x38) = uVar2;
        }
        else {
          *(undefined4 *)(iVar1 + 0x10) = uVar2;
        }
        iVar1 = *(int *)(param_1 + 0x10);
        uVar2 = *(undefined4 *)(param_1 + 0x14);
        if (iVar1 == 0) {
          *(undefined4 *)(iVar7 + 0x3c) = uVar2;
        }
        else {
LAB_00016290:
          *(undefined4 *)(iVar1 + 0x14) = uVar2;
        }
      }
      *(undefined4 *)(param_1 + 0x10) = 0;
      *(undefined4 *)(param_1 + 0x14) = 0;
    }
    *(int *)(param_1 + 0x98) = param_3;
    if (((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')) {
      if (param_3 == *(int *)(iVar7 + 0xf0)) {
        uVar2 = *(undefined4 *)(iVar7 + 0x30);
        *(undefined4 *)(param_1 + 0x14) = 0;
        *(undefined4 *)(param_1 + 0x10) = uVar2;
        if (*(int *)(iVar7 + 0x34) == 0) {
          *(int *)(iVar7 + 0x34) = param_1;
        }
        else {
          *(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1;
        }
        *(int *)(iVar7 + 0x30) = param_1;
      }
      else {
        uVar2 = *(undefined4 *)(iVar7 + 0x38);
        *(undefined4 *)(param_1 + 0x14) = 0;
        *(undefined4 *)(param_1 + 0x10) = uVar2;
        if (*(int *)(iVar7 + 0x3c) == 0) {
          *(int *)(iVar7 + 0x3c) = param_1;
        }
        else {
          *(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;
        }
        *(int *)(iVar7 + 0x38) = param_1;
      }
    }
    iVar1 = pthread_mutex_unlock(__mutex);
    if (iVar1 == 0) {
      return 1;
    }
    puVar8 = &stack0xffffffd4;
    (*DAT_0003406c)();
  }
  *(char **)(puVar8 + -4) = "Failed to lock mutex.\n";
  *(undefined4 *)(puVar8 + -8) = 0xf88;
  *(char **)(puVar8 + -0xc) = "connection.c";
  *(undefined4 *)(puVar8 + -0x10) = DAT_00034068;
  *(undefined4 *)(puVar8 + -0x14) = 0x16403;
  (*DAT_0003406c)();
  *(pthread_mutex_t **)(puVar8 + -0x14) = __mutex;
  *(int *)(puVar8 + -0x18) = iVar7;
  *(int *)(puVar8 + -0x1c) = param_1;
  *(undefined ***)(puVar8 + -0x20) = &__DT_PLTGOT;
  *(undefined4 *)(puVar8 + -0x24) = 0x1641b;
  iVar7 = *(int *)(puVar8 + -0x24);
  iVar1 = *(int *)(puVar8 + -0xc);
  iVar6 = *(int *)(puVar8 + -4);
  if (iVar1 == 0) {
    return 0;
  }
  if (iVar6 == 0) {
    return 0;
  }
  if (*(int *)(iVar1 + 0x24) != 0) {
    return 0;
  }
  if ((*(int *)(iVar1 + 0xb4) != 4) && (*(int *)(iVar1 + 0xb4) != 9)) {
    return 0;
  }
  iVar5 = *(int *)(iVar1 + 0x18);
  if (*(char *)(iVar5 + 0xe0) != '\0') {
    return 1;
  }
  if ((*(char *)(iVar1 + 0xf1) == '\0') && ((*(byte *)(iVar5 + 0xf8) & 8) != 0)) {
    *(undefined4 *)(puVar8 + -0x30) = 0x16481;
    pVar3 = pthread_self();
    if (pVar3 != *(pthread_t *)(iVar1 + 0x5c)) {
      iVar7 = iVar7 + 0x13069;
      goto LAB_00016490;
    }
  }
  if (*(int *)(iVar6 + 0x14) != 0) {
    if ((*(byte *)(iVar5 + 0xf9) & 0x80) == 0) {
      iVar7 = iVar7 + 0x13099;
LAB_00016490:
      *(int *)(puVar8 + -0x38) = iVar7;
      *(int *)(puVar8 + -0x3c) = iVar5;
      *(undefined4 *)(puVar8 + -0x40) = 0x16497;
      FUN_00020aa0();
      return 0;
    }
    if (*(int *)(puVar8 + -8) != 0x65) {
      iVar7 = iVar7 + 0x130e5;
      goto LAB_00016490;
    }
  }
  *(int *)(puVar8 + -0x3c) = iVar6;
  *(undefined4 *)(puVar8 + -0x40) = 0x164c8;
  FUN_00022c20();
  uVar2 = *(undefined4 *)(puVar8 + -8);
  *(int *)(iVar1 + 0x24) = iVar6;
  *(undefined4 *)(iVar1 + 0xbc) = uVar2;
  uVar4 = 0;
  if (*(int *)(iVar6 + 0x58) != -1) {
    uVar4 = (*(uint *)(*(int *)(iVar1 + 0x18) + 0xf8) >> 1 ^ 1) & 1;
  }
  *(uint *)(iVar1 + 0x88) = uVar4;
  iVar5 = *(int *)(iVar1 + 0x34);
  if (iVar5 == 0) {
LAB_00016550:
    if ((*(uint *)(puVar8 + -8) < 200 || *(int *)(puVar8 + -8) == 0xcc) ||
       (*(int *)(puVar8 + -8) == 0x130)) goto LAB_00016515;
  }
  else {
    *(int *)(puVar8 + -0x38) = iVar7 + 0x12d3e;
    *(int *)(puVar8 + -0x3c) = iVar5;
    *(undefined4 *)(puVar8 + -0x40) = 0x1650e;
    iVar5 = FUN_000212c0();
    if (iVar5 == 0) goto LAB_00016550;
LAB_00016515:
    uVar2 = *(undefined4 *)(iVar6 + 0x38);
    *(undefined4 *)(iVar1 + 0x80) = *(undefined4 *)(iVar6 + 0x34);
    *(undefined4 *)(iVar1 + 0x84) = uVar2;
  }
  if ((*(int *)(iVar1 + 0xb4) == 4) && (iVar6 = *(int *)(iVar1 + 0x34), iVar6 != 0)) {
    *(int *)(puVar8 + -0x38) = iVar7 + 0x12d43;
    *(int *)(puVar8 + -0x3c) = iVar6;
    *(undefined4 *)(puVar8 + -0x40) = 0x165a7;
    iVar6 = FUN_000212c0();
    if (iVar6 == 0) {
      *(int *)(puVar8 + -0x38) = iVar7 + 0x12d48;
      *(undefined4 *)(puVar8 + -0x3c) = *(undefined4 *)(iVar1 + 0x34);
      *(undefined4 *)(puVar8 + -0x40) = 0x16600;
      iVar7 = FUN_000212c0();
      if (iVar7 == 0) goto LAB_00016530;
    }
    *(undefined1 *)(iVar1 + 0xa9) = 1;
    *(undefined4 *)(iVar1 + 0xb4) = 9;
  }
LAB_00016530:
  if (*(char *)(iVar1 + 0xab) == '\0') {
    *(int *)(puVar8 + -0x3c) = iVar1;
    *(undefined4 *)(puVar8 + -0x40) = 0x165d1;
    FUN_00016a50();
  }
  return 1;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00013810
ADD EBX,0x1dbd7
SUB ESP,0xc
MOV EDI,dword ptr [ESP + 0x24]
MOV ESI,dword ptr [ESP + 0x20]
TEST EDI,EDI
JNZ 0x00016318
MOV ECX,dword ptr [ESI + 0x98]
MOV EDI,dword ptr [ESI + 0x18]
TEST ECX,ECX
JZ 0x00016328
SUB ESP,0xc
LEA EBP,[EDI + 0xac]
PUSH EBP
CALL 0x00013250
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x000163e0
TEST byte ptr [EDI + 0xf8],0x4
JNZ 0x000162a1
CMP byte ptr [ESI + 0xf1],0x0
JNZ 0x000162a1
MOV EAX,dword ptr [ESI + 0x14]
MOV EDX,dword ptr [ESI + 0x10]
MOV ECX,dword ptr [EDI + 0xf0]
CMP dword ptr [ESI + 0x98],ECX
JZ 0x00016340
TEST EAX,EAX
JZ 0x000163a0
MOV dword ptr [EAX + 0x10],EDX
MOV EAX,dword ptr [ESI + 0x10]
MOV EDX,dword ptr [ESI + 0x14]
TEST EAX,EAX
JZ 0x00016388
MOV dword ptr [EAX + 0x14],EDX
MOV dword ptr [ESI + 0x10],0x0
MOV dword ptr [ESI + 0x14],0x0
MOV EAX,dword ptr [ESP + 0x28]
MOV dword ptr [ESI + 0x98],EAX
TEST byte ptr [EDI + 0xf8],0x4
JNZ 0x000162f0
CMP byte ptr [ESI + 0xf1],0x0
JNZ 0x000162f0
CMP EAX,dword ptr [EDI + 0xf0]
JZ 0x00016360
MOV EAX,dword ptr [EDI + 0x38]
MOV dword ptr [ESI + 0x14],0x0
MOV dword ptr [ESI + 0x10],EAX
MOV EAX,dword ptr [EDI + 0x3c]
TEST EAX,EAX
JZ 0x00016390
MOV EAX,dword ptr [EDI + 0x38]
MOV dword ptr [EAX + 0x14],ESI
MOV dword ptr [EDI + 0x38],ESI
LEA ESI,[ESI]
SUB ESP,0xc
PUSH EBP
CALL 0x00013060
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x000163bd
ADD ESP,0xc
MOV EAX,0x1
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD ESP,0xc
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
CALL 0x00021230
MOV dword ptr [ESI + 0x94],EAX
JMP 0x00016233
TEST EAX,EAX
JZ 0x000163b0
MOV dword ptr [EAX + 0x10],EDX
MOV EAX,dword ptr [ESI + 0x10]
MOV EDX,dword ptr [ESI + 0x14]
TEST EAX,EAX
JNZ 0x00016290
MOV dword ptr [EDI + 0x34],EDX
JMP 0x00016293
MOV EAX,dword ptr [EDI + 0x30]
MOV dword ptr [ESI + 0x14],0x0
MOV dword ptr [ESI + 0x10],EAX
MOV EDX,dword ptr [EDI + 0x34]
TEST EDX,EDX
JZ 0x000163b8
MOV EAX,dword ptr [EDI + 0x30]
MOV dword ptr [EAX + 0x14],ESI
MOV dword ptr [EDI + 0x30],ESI
JMP 0x000162f0
MOV dword ptr [EDI + 0x3c],EDX
JMP 0x00016293
MOV dword ptr [EDI + 0x3c],ESI
JMP 0x000162e7
MOV dword ptr [EDI + 0x38],EDX
JMP 0x00016282
MOV dword ptr [EDI + 0x30],EDX
JMP 0x00016347
MOV dword ptr [EDI + 0x34],ESI
JMP 0x0001637a
LEA EAX,[EBX + 0xffff5244]
PUSH EAX
LEA EAX,[EBX + 0xffff5237]
PUSH 0xfa7
PUSH EAX
LEA EAX,[EBX + 0x288]
PUSH dword ptr [EAX]
LEA EAX,[EBX + 0x28c]
CALL dword ptr [EAX]
LEA EAX,[EBX + 0xffff5220]
PUSH EAX
LEA EAX,[EBX + 0xffff5237]
PUSH 0xf88
PUSH EAX
LEA EAX,[EBX + 0x288]
PUSH dword ptr [EAX]
LEA EAX,[EBX + 0x28c]
CALL dword ptr [EAX]
LEA ESI,[ESI]
LEA ESI,[ESI]
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 MHD_set_connection_option(int param_1,int param_2,int param_3)\n\n{\n  pthread_mutex_t *__mutex;\n  int iVar1;\n  undefined4 uVar2;\n  pthread_t pVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  undefined1 *puVar8;\n  undefined1 auStack_1c [8];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16209;\n  puVar8 = auStack_1c;\n  if (param_2 != 0) {\n    return 0;\n  }\n  iVar7 = *(int *)(param_1 + 0x18);\n  if (*(int *)(param_1 + 0x98) == 0) {\n    uVar2 = FUN_00021230();\n    *(undefined4 *)(param_1 + 0x94) = uVar2;\n  }\n  __mutex = (pthread_mutex_t *)(iVar7 + 0xac);\n  iVar1 = pthread_mutex_lock(__mutex);\n  if (iVar1 == 0) {\n    if (((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')) {\n      iVar1 = *(int *)(param_1 + 0x14);\n      uVar2 = *(undefined4 *)(param_1 + 0x10);\n      if (*(int *)(param_1 + 0x98) == *(int *)(iVar7 + 0xf0)) {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x30) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 != 0) goto LAB_00016290;\n        *(undefined4 *)(iVar7 + 0x34) = uVar2;\n      }\n      else {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x38) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x3c) = uVar2;\n        }\n        else {\nLAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;\n        }\n      }\n      *(undefined4 *)(param_1 + 0x10) = 0;\n      *(undefined4 *)(param_1 + 0x14) = 0;\n    }\n    *(int *)(param_1 + 0x98) = param_3;\n    if (((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')) {\n      if (param_3 == *(int *)(iVar7 + 0xf0)) {\n        uVar2 = *(undefined4 *)(iVar7 + 0x30);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x34) == 0) {\n          *(int *)(iVar7 + 0x34) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x30) = param_1;\n      }\n      else {\n        uVar2 = *(undefined4 *)(iVar7 + 0x38);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x3c) == 0) {\n          *(int *)(iVar7 + 0x3c) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x38) = param_1;\n      }\n    }\n    iVar1 = pthread_mutex_unlock(__mutex);\n    if (iVar1 == 0) {\n      return 1;\n    }\n    puVar8 = &stack0xffffffd4;\n    (*DAT_0003406c)();\n  }\n  *(char **)(puVar8 + -4) = "Failed to lock mutex.\n";\n  *(undefined4 *)(puVar8 + -8) = 0xf88;\n  *(char **)(puVar8 + -0xc) = "connection.c";\n  *(undefined4 *)(puVar8 + -0x10) = DAT_00034068;\n  *(undefined4 *)(puVar8 + -0x14) = 0x16403;\n  (*DAT_0003406c)();\n  *(pthread_mutex_t **)(puVar8 + -0x14) = __mutex;\n  *(int *)(puVar8 + -0x18) = iVar7;\n  *(int *)(puVar8 + -0x1c) = param_1;\n  *(undefined ***)(puVar8 + -0x20) = &__DT_PLTGOT;\n  *(undefined4 *)(puVar8 + -0x24) = 0x1641b;\n  iVar7 = *(int *)(puVar8 + -0x24);\n  iVar1 = *(int *)(puVar8 + -0xc);\n  iVar6 = *(int *)(puVar8 + -4);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  if (iVar6 == 0) {\n    return 0;\n  }\n  if (*(int *)(iVar1 + 0x24) != 0) {\n    return 0;\n  }\n  if ((*(int *)(iVar1 + 0xb4) != 4) && (*(int *)(iVar1 + 0xb4) != 9)) {\n    return 0;\n  }\n  iVar5 = *(int *)(iVar1 + 0x18);\n  if (*(char *)(iVar5 + 0xe0) != '\0') {\n    return 1;\n  }\n  if ((*(char *)(iVar1 + 0xf1) == '\0') && ((*(byte *)(iVar5 + 0xf8) & 8) != 0)) {\n    *(undefined4 *)(puVar8 + -0x30) = 0x16481;\n    pVar3 = pthread_self();\n    if (pVar3 != *(pthread_t *)(iVar1 + 0x5c)) {\n      iVar7 = iVar7 + 0x13069;\n      goto LAB_00016490;\n    }\n  }\n  if (*(int *)(iVar6 + 0x14) != 0) {\n    if ((*(byte *)(iVar5 + 0xf9) & 0x80) == 0) {\n      iVar7 = iVar7 + 0x13099;\nLAB_00016490:\n      *(int *)(puVar8 + -0x38) = iVar7;\n      *(int *)(puVar8 + -0x3c) = iVar5;\n      *(undefined4 *)(puVar8 + -0x40) = 0x16497;\n      FUN_00020aa0();\n      return 0;\n    }\n    if (*(int *)(puVar8 + -8) != 0x65) {\n      iVar7 = iVar7 + 0x130e5;\n      goto LAB_00016490;\n    }\n  }\n  *(int *)(puVar8 + -0x3c) = iVar6;\n  *(undefined4 *)(puVar8 + -0x40) = 0x164c8;\n  FUN_00022c20();\n  uVar2 = *(undefined4 *)(puVar8 + -8);\n  *(int *)(iVar1 + 0x24) = iVar6;\n  *(undefined4 *)(iVar1 + 0xbc) = uVar2;\n  uVar4 = 0;\n  if (*(int *)(iVar6 + 0x58) != -1) {\n    uVar4 = (*(uint *)(*(int *)(iVar1 + 0x18) + 0xf8) >> 1 ^ 1) & 1;\n  }\n  *(uint *)(iVar1 + 0x88) = uVar4;\n  iVar5 = *(int *)(iVar1 + 0x34);\n  if (iVar5 == 0) {\nLAB_00016550:\n    if ((*(uint *)(puVar8 + -8) < 200 || *(int *)(puVar8 + -8) == 0xcc) ||\n       (*(int *)(puVar8 + -8) == 0x130)) goto LAB_00016515;\n  }\n  else {\n    *(int *)(puVar8 + -0x38) = iVar7 + 0x12d3e;\n    *(int *)(puVar8 + -0x3c) = iVar5;\n    *(undefined4 *)(puVar8 + -0x40) = 0x1650e;\n    iVar5 = FUN_000212c0();\n    if (iVar5 == 0) goto LAB_00016550;\nLAB_00016515:\n    uVar2 = *(undefined4 *)(iVar6 + 0x38);\n    *(undefined4 *)(iVar1 + 0x80) = *(undefined4 *)(iVar6 + 0x34);\n    *(undefined4 *)(iVar1 + 0x84) = uVar2;\n  }\n  if ((*(int *)(iVar1 + 0xb4) == 4) && (iVar6 = *(int *)(iVar1 + 0x34), iVar6 != 0)) {\n    *(int *)(puVar8 + -0x38) = iVar7 + 0x12d43;\n    *(int *)(puVar8 + -0x3c) = iVar6;\n    *(undefined4 *)(puVar8 + -0x40) = 0x165a7;\n    iVar6 = FUN_000212c0();\n    if (iVar6 == 0) {\n      *(int *)(puVar8 + -0x38) = iVar7 + 0x12d48;\n      *(undefined4 *)(puVar8 + -0x3c) = *(undefined4 *)(iVar1 + 0x34);\n      *(undefined4 *)(puVar8 + -0x40) = 0x16600;\n      iVar7 = FUN_000212c0();\n      if (iVar7 == 0) goto LAB_00016530;\n    }\n    *(undefined1 *)(iVar1 + 0xa9) = 1;\n    *(undefined4 *)(iVar1 + 0xb4) = 9;\n  }\nLAB_00016530:\n  if (*(char *)(iVar1 + 0xab) == '\0') {\n    *(int *)(puVar8 + -0x3c) = iVar1;\n    *(undefined4 *)(puVar8 + -0x40) = 0x165d1;\n    FUN_00016a50();\n  }\n  return 1;\n}\n\n" comment (function_definition "undefined4 MHD_set_connection_option(int param_1,int param_2,int param_3)\n\n{\n  pthread_mutex_t *__mutex;\n  int iVar1;\n  undefined4 uVar2;\n  pthread_t pVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  undefined1 *puVar8;\n  undefined1 auStack_1c [8];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16209;\n  puVar8 = auStack_1c;\n  if (param_2 != 0) {\n    return 0;\n  }\n  iVar7 = *(int *)(param_1 + 0x18);\n  if (*(int *)(param_1 + 0x98) == 0) {\n    uVar2 = FUN_00021230();\n    *(undefined4 *)(param_1 + 0x94) = uVar2;\n  }\n  __mutex = (pthread_mutex_t *)(iVar7 + 0xac);\n  iVar1 = pthread_mutex_lock(__mutex);\n  if (iVar1 == 0) {\n    if (((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')) {\n      iVar1 = *(int *)(param_1 + 0x14);\n      uVar2 = *(undefined4 *)(param_1 + 0x10);\n      if (*(int *)(param_1 + 0x98) == *(int *)(iVar7 + 0xf0)) {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x30) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 != 0) goto LAB_00016290;\n        *(undefined4 *)(iVar7 + 0x34) = uVar2;\n      }\n      else {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x38) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x3c) = uVar2;\n        }\n        else {\nLAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;\n        }\n      }\n      *(undefined4 *)(param_1 + 0x10) = 0;\n      *(undefined4 *)(param_1 + 0x14) = 0;\n    }\n    *(int *)(param_1 + 0x98) = param_3;\n    if (((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')) {\n      if (param_3 == *(int *)(iVar7 + 0xf0)) {\n        uVar2 = *(undefined4 *)(iVar7 + 0x30);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x34) == 0) {\n          *(int *)(iVar7 + 0x34) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x30) = param_1;\n      }\n      else {\n        uVar2 = *(undefined4 *)(iVar7 + 0x38);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x3c) == 0) {\n          *(int *)(iVar7 + 0x3c) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x38) = param_1;\n      }\n    }\n    iVar1 = pthread_mutex_unlock(__mutex);\n    if (iVar1 == 0) {\n      return 1;\n    }\n    puVar8 = &stack0xffffffd4;\n    (*DAT_0003406c)();\n  }\n  *(char **)(puVar8 + -4) = "Failed to lock mutex.\n";\n  *(undefined4 *)(puVar8 + -8) = 0xf88;\n  *(char **)(puVar8 + -0xc) = "connection.c";\n  *(undefined4 *)(puVar8 + -0x10) = DAT_00034068;\n  *(undefined4 *)(puVar8 + -0x14) = 0x16403;\n  (*DAT_0003406c)();\n  *(pthread_mutex_t **)(puVar8 + -0x14) = __mutex;\n  *(int *)(puVar8 + -0x18) = iVar7;\n  *(int *)(puVar8 + -0x1c) = param_1;\n  *(undefined ***)(puVar8 + -0x20) = &__DT_PLTGOT;\n  *(undefined4 *)(puVar8 + -0x24) = 0x1641b;\n  iVar7 = *(int *)(puVar8 + -0x24);\n  iVar1 = *(int *)(puVar8 + -0xc);\n  iVar6 = *(int *)(puVar8 + -4);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  if (iVar6 == 0) {\n    return 0;\n  }\n  if (*(int *)(iVar1 + 0x24) != 0) {\n    return 0;\n  }\n  if ((*(int *)(iVar1 + 0xb4) != 4) && (*(int *)(iVar1 + 0xb4) != 9)) {\n    return 0;\n  }\n  iVar5 = *(int *)(iVar1 + 0x18);\n  if (*(char *)(iVar5 + 0xe0) != '\0') {\n    return 1;\n  }\n  if ((*(char *)(iVar1 + 0xf1) == '\0') && ((*(byte *)(iVar5 + 0xf8) & 8) != 0)) {\n    *(undefined4 *)(puVar8 + -0x30) = 0x16481;\n    pVar3 = pthread_self();\n    if (pVar3 != *(pthread_t *)(iVar1 + 0x5c)) {\n      iVar7 = iVar7 + 0x13069;\n      goto LAB_00016490;\n    }\n  }\n  if (*(int *)(iVar6 + 0x14) != 0) {\n    if ((*(byte *)(iVar5 + 0xf9) & 0x80) == 0) {\n      iVar7 = iVar7 + 0x13099;\nLAB_00016490:\n      *(int *)(puVar8 + -0x38) = iVar7;\n      *(int *)(puVar8 + -0x3c) = iVar5;\n      *(undefined4 *)(puVar8 + -0x40) = 0x16497;\n      FUN_00020aa0();\n      return 0;\n    }\n    if (*(int *)(puVar8 + -8) != 0x65) {\n      iVar7 = iVar7 + 0x130e5;\n      goto LAB_00016490;\n    }\n  }\n  *(int *)(puVar8 + -0x3c) = iVar6;\n  *(undefined4 *)(puVar8 + -0x40) = 0x164c8;\n  FUN_00022c20();\n  uVar2 = *(undefined4 *)(puVar8 + -8);\n  *(int *)(iVar1 + 0x24) = iVar6;\n  *(undefined4 *)(iVar1 + 0xbc) = uVar2;\n  uVar4 = 0;\n  if (*(int *)(iVar6 + 0x58) != -1) {\n    uVar4 = (*(uint *)(*(int *)(iVar1 + 0x18) + 0xf8) >> 1 ^ 1) & 1;\n  }\n  *(uint *)(iVar1 + 0x88) = uVar4;\n  iVar5 = *(int *)(iVar1 + 0x34);\n  if (iVar5 == 0) {\nLAB_00016550:\n    if ((*(uint *)(puVar8 + -8) < 200 || *(int *)(puVar8 + -8) == 0xcc) ||\n       (*(int *)(puVar8 + -8) == 0x130)) goto LAB_00016515;\n  }\n  else {\n    *(int *)(puVar8 + -0x38) = iVar7 + 0x12d3e;\n    *(int *)(puVar8 + -0x3c) = iVar5;\n    *(undefined4 *)(puVar8 + -0x40) = 0x1650e;\n    iVar5 = FUN_000212c0();\n    if (iVar5 == 0) goto LAB_00016550;\nLAB_00016515:\n    uVar2 = *(undefined4 *)(iVar6 + 0x38);\n    *(undefined4 *)(iVar1 + 0x80) = *(undefined4 *)(iVar6 + 0x34);\n    *(undefined4 *)(iVar1 + 0x84) = uVar2;\n  }\n  if ((*(int *)(iVar1 + 0xb4) == 4) && (iVar6 = *(int *)(iVar1 + 0x34), iVar6 != 0)) {\n    *(int *)(puVar8 + -0x38) = iVar7 + 0x12d43;\n    *(int *)(puVar8 + -0x3c) = iVar6;\n    *(undefined4 *)(puVar8 + -0x40) = 0x165a7;\n    iVar6 = FUN_000212c0();\n    if (iVar6 == 0) {\n      *(int *)(puVar8 + -0x38) = iVar7 + 0x12d48;\n      *(undefined4 *)(puVar8 + -0x3c) = *(undefined4 *)(iVar1 + 0x34);\n      *(undefined4 *)(puVar8 + -0x40) = 0x16600;\n      iVar7 = FUN_000212c0();\n      if (iVar7 == 0) goto LAB_00016530;\n    }\n    *(undefined1 *)(iVar1 + 0xa9) = 1;\n    *(undefined4 *)(iVar1 + 0xb4) = 9;\n  }\nLAB_00016530:\n  if (*(char *)(iVar1 + 0xab) == '\0') {\n    *(int *)(puVar8 + -0x3c) = iVar1;\n    *(undefined4 *)(puVar8 + -0x40) = 0x165d1;\n    FUN_00016a50();\n  }\n  return 1;\n}" type_identifier (function_declarator "MHD_set_connection_option(int param_1,int param_2,int param_3)" identifier (parameter_list "(int param_1,int param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  pthread_mutex_t *__mutex;\n  int iVar1;\n  undefined4 uVar2;\n  pthread_t pVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  undefined1 *puVar8;\n  undefined1 auStack_1c [8];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16209;\n  puVar8 = auStack_1c;\n  if (param_2 != 0) {\n    return 0;\n  }\n  iVar7 = *(int *)(param_1 + 0x18);\n  if (*(int *)(param_1 + 0x98) == 0) {\n    uVar2 = FUN_00021230();\n    *(undefined4 *)(param_1 + 0x94) = uVar2;\n  }\n  __mutex = (pthread_mutex_t *)(iVar7 + 0xac);\n  iVar1 = pthread_mutex_lock(__mutex);\n  if (iVar1 == 0) {\n    if (((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')) {\n      iVar1 = *(int *)(param_1 + 0x14);\n      uVar2 = *(undefined4 *)(param_1 + 0x10);\n      if (*(int *)(param_1 + 0x98) == *(int *)(iVar7 + 0xf0)) {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x30) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 != 0) goto LAB_00016290;\n        *(undefined4 *)(iVar7 + 0x34) = uVar2;\n      }\n      else {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x38) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x3c) = uVar2;\n        }\n        else {\nLAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;\n        }\n      }\n      *(undefined4 *)(param_1 + 0x10) = 0;\n      *(undefined4 *)(param_1 + 0x14) = 0;\n    }\n    *(int *)(param_1 + 0x98) = param_3;\n    if (((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')) {\n      if (param_3 == *(int *)(iVar7 + 0xf0)) {\n        uVar2 = *(undefined4 *)(iVar7 + 0x30);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x34) == 0) {\n          *(int *)(iVar7 + 0x34) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x30) = param_1;\n      }\n      else {\n        uVar2 = *(undefined4 *)(iVar7 + 0x38);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x3c) == 0) {\n          *(int *)(iVar7 + 0x3c) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x38) = param_1;\n      }\n    }\n    iVar1 = pthread_mutex_unlock(__mutex);\n    if (iVar1 == 0) {\n      return 1;\n    }\n    puVar8 = &stack0xffffffd4;\n    (*DAT_0003406c)();\n  }\n  *(char **)(puVar8 + -4) = "Failed to lock mutex.\n";\n  *(undefined4 *)(puVar8 + -8) = 0xf88;\n  *(char **)(puVar8 + -0xc) = "connection.c";\n  *(undefined4 *)(puVar8 + -0x10) = DAT_00034068;\n  *(undefined4 *)(puVar8 + -0x14) = 0x16403;\n  (*DAT_0003406c)();\n  *(pthread_mutex_t **)(puVar8 + -0x14) = __mutex;\n  *(int *)(puVar8 + -0x18) = iVar7;\n  *(int *)(puVar8 + -0x1c) = param_1;\n  *(undefined ***)(puVar8 + -0x20) = &__DT_PLTGOT;\n  *(undefined4 *)(puVar8 + -0x24) = 0x1641b;\n  iVar7 = *(int *)(puVar8 + -0x24);\n  iVar1 = *(int *)(puVar8 + -0xc);\n  iVar6 = *(int *)(puVar8 + -4);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  if (iVar6 == 0) {\n    return 0;\n  }\n  if (*(int *)(iVar1 + 0x24) != 0) {\n    return 0;\n  }\n  if ((*(int *)(iVar1 + 0xb4) != 4) && (*(int *)(iVar1 + 0xb4) != 9)) {\n    return 0;\n  }\n  iVar5 = *(int *)(iVar1 + 0x18);\n  if (*(char *)(iVar5 + 0xe0) != '\0') {\n    return 1;\n  }\n  if ((*(char *)(iVar1 + 0xf1) == '\0') && ((*(byte *)(iVar5 + 0xf8) & 8) != 0)) {\n    *(undefined4 *)(puVar8 + -0x30) = 0x16481;\n    pVar3 = pthread_self();\n    if (pVar3 != *(pthread_t *)(iVar1 + 0x5c)) {\n      iVar7 = iVar7 + 0x13069;\n      goto LAB_00016490;\n    }\n  }\n  if (*(int *)(iVar6 + 0x14) != 0) {\n    if ((*(byte *)(iVar5 + 0xf9) & 0x80) == 0) {\n      iVar7 = iVar7 + 0x13099;\nLAB_00016490:\n      *(int *)(puVar8 + -0x38) = iVar7;\n      *(int *)(puVar8 + -0x3c) = iVar5;\n      *(undefined4 *)(puVar8 + -0x40) = 0x16497;\n      FUN_00020aa0();\n      return 0;\n    }\n    if (*(int *)(puVar8 + -8) != 0x65) {\n      iVar7 = iVar7 + 0x130e5;\n      goto LAB_00016490;\n    }\n  }\n  *(int *)(puVar8 + -0x3c) = iVar6;\n  *(undefined4 *)(puVar8 + -0x40) = 0x164c8;\n  FUN_00022c20();\n  uVar2 = *(undefined4 *)(puVar8 + -8);\n  *(int *)(iVar1 + 0x24) = iVar6;\n  *(undefined4 *)(iVar1 + 0xbc) = uVar2;\n  uVar4 = 0;\n  if (*(int *)(iVar6 + 0x58) != -1) {\n    uVar4 = (*(uint *)(*(int *)(iVar1 + 0x18) + 0xf8) >> 1 ^ 1) & 1;\n  }\n  *(uint *)(iVar1 + 0x88) = uVar4;\n  iVar5 = *(int *)(iVar1 + 0x34);\n  if (iVar5 == 0) {\nLAB_00016550:\n    if ((*(uint *)(puVar8 + -8) < 200 || *(int *)(puVar8 + -8) == 0xcc) ||\n       (*(int *)(puVar8 + -8) == 0x130)) goto LAB_00016515;\n  }\n  else {\n    *(int *)(puVar8 + -0x38) = iVar7 + 0x12d3e;\n    *(int *)(puVar8 + -0x3c) = iVar5;\n    *(undefined4 *)(puVar8 + -0x40) = 0x1650e;\n    iVar5 = FUN_000212c0();\n    if (iVar5 == 0) goto LAB_00016550;\nLAB_00016515:\n    uVar2 = *(undefined4 *)(iVar6 + 0x38);\n    *(undefined4 *)(iVar1 + 0x80) = *(undefined4 *)(iVar6 + 0x34);\n    *(undefined4 *)(iVar1 + 0x84) = uVar2;\n  }\n  if ((*(int *)(iVar1 + 0xb4) == 4) && (iVar6 = *(int *)(iVar1 + 0x34), iVar6 != 0)) {\n    *(int *)(puVar8 + -0x38) = iVar7 + 0x12d43;\n    *(int *)(puVar8 + -0x3c) = iVar6;\n    *(undefined4 *)(puVar8 + -0x40) = 0x165a7;\n    iVar6 = FUN_000212c0();\n    if (iVar6 == 0) {\n      *(int *)(puVar8 + -0x38) = iVar7 + 0x12d48;\n      *(undefined4 *)(puVar8 + -0x3c) = *(undefined4 *)(iVar1 + 0x34);\n      *(undefined4 *)(puVar8 + -0x40) = 0x16600;\n      iVar7 = FUN_000212c0();\n      if (iVar7 == 0) goto LAB_00016530;\n    }\n    *(undefined1 *)(iVar1 + 0xa9) = 1;\n    *(undefined4 *)(iVar1 + 0xb4) = 9;\n  }\nLAB_00016530:\n  if (*(char *)(iVar1 + 0xab) == '\0') {\n    *(int *)(puVar8 + -0x3c) = iVar1;\n    *(undefined4 *)(puVar8 + -0x40) = 0x165d1;\n    FUN_00016a50();\n  }\n  return 1;\n}" { (declaration "pthread_mutex_t *__mutex;" type_identifier (pointer_declarator "*__mutex" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "pthread_t pVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined1 auStack_1c [8];" type_identifier (array_declarator "auStack_1c [8]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x16209;" (assignment_expression "uStack_14 = 0x16209" identifier = number_literal) ;) (expression_statement "puVar8 = auStack_1c;" (assignment_expression "puVar8 = auStack_1c" identifier = identifier) ;) (if_statement "if (param_2 != 0) {\n    return 0;\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar7 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar7 = *(int *)(param_1 + 0x18)" identifier = (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(param_1 + 0x98) == 0) {\n    uVar2 = FUN_00021230();\n    *(undefined4 *)(param_1 + 0x94) = uVar2;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x98) == 0)" ( (binary_expression "*(int *)(param_1 + 0x98) == 0" (pointer_expression "*(int *)(param_1 + 0x98)" * (cast_expression "(int *)(param_1 + 0x98)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x98)" ( (binary_expression "param_1 + 0x98" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    uVar2 = FUN_00021230();\n    *(undefined4 *)(param_1 + 0x94) = uVar2;\n  }" { (expression_statement "uVar2 = FUN_00021230();" (assignment_expression "uVar2 = FUN_00021230()" identifier = (call_expression "FUN_00021230()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x94) = uVar2;" (assignment_expression "*(undefined4 *)(param_1 + 0x94) = uVar2" (pointer_expression "*(undefined4 *)(param_1 + 0x94)" * (cast_expression "(undefined4 *)(param_1 + 0x94)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x94)" ( (binary_expression "param_1 + 0x94" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "__mutex = (pthread_mutex_t *)(iVar7 + 0xac);" (assignment_expression "__mutex = (pthread_mutex_t *)(iVar7 + 0xac)" identifier = (cast_expression "(pthread_mutex_t *)(iVar7 + 0xac)" ( (type_descriptor "pthread_mutex_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0xac)" ( (binary_expression "iVar7 + 0xac" identifier + number_literal) )))) ;) (expression_statement "iVar1 = pthread_mutex_lock(__mutex);" (assignment_expression "iVar1 = pthread_mutex_lock(__mutex)" identifier = (call_expression "pthread_mutex_lock(__mutex)" identifier (argument_list "(__mutex)" ( identifier )))) ;) (if_statement "if (iVar1 == 0) {\n    if (((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')) {\n      iVar1 = *(int *)(param_1 + 0x14);\n      uVar2 = *(undefined4 *)(param_1 + 0x10);\n      if (*(int *)(param_1 + 0x98) == *(int *)(iVar7 + 0xf0)) {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x30) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 != 0) goto LAB_00016290;\n        *(undefined4 *)(iVar7 + 0x34) = uVar2;\n      }\n      else {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x38) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x3c) = uVar2;\n        }\n        else {\nLAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;\n        }\n      }\n      *(undefined4 *)(param_1 + 0x10) = 0;\n      *(undefined4 *)(param_1 + 0x14) = 0;\n    }\n    *(int *)(param_1 + 0x98) = param_3;\n    if (((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')) {\n      if (param_3 == *(int *)(iVar7 + 0xf0)) {\n        uVar2 = *(undefined4 *)(iVar7 + 0x30);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x34) == 0) {\n          *(int *)(iVar7 + 0x34) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x30) = param_1;\n      }\n      else {\n        uVar2 = *(undefined4 *)(iVar7 + 0x38);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x3c) == 0) {\n          *(int *)(iVar7 + 0x3c) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x38) = param_1;\n      }\n    }\n    iVar1 = pthread_mutex_unlock(__mutex);\n    if (iVar1 == 0) {\n      return 1;\n    }\n    puVar8 = &stack0xffffffd4;\n    (*DAT_0003406c)();\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    if (((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')) {\n      iVar1 = *(int *)(param_1 + 0x14);\n      uVar2 = *(undefined4 *)(param_1 + 0x10);\n      if (*(int *)(param_1 + 0x98) == *(int *)(iVar7 + 0xf0)) {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x30) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 != 0) goto LAB_00016290;\n        *(undefined4 *)(iVar7 + 0x34) = uVar2;\n      }\n      else {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x38) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x3c) = uVar2;\n        }\n        else {\nLAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;\n        }\n      }\n      *(undefined4 *)(param_1 + 0x10) = 0;\n      *(undefined4 *)(param_1 + 0x14) = 0;\n    }\n    *(int *)(param_1 + 0x98) = param_3;\n    if (((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')) {\n      if (param_3 == *(int *)(iVar7 + 0xf0)) {\n        uVar2 = *(undefined4 *)(iVar7 + 0x30);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x34) == 0) {\n          *(int *)(iVar7 + 0x34) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x30) = param_1;\n      }\n      else {\n        uVar2 = *(undefined4 *)(iVar7 + 0x38);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x3c) == 0) {\n          *(int *)(iVar7 + 0x3c) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x38) = param_1;\n      }\n    }\n    iVar1 = pthread_mutex_unlock(__mutex);\n    if (iVar1 == 0) {\n      return 1;\n    }\n    puVar8 = &stack0xffffffd4;\n    (*DAT_0003406c)();\n  }" { (if_statement "if (((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')) {\n      iVar1 = *(int *)(param_1 + 0x14);\n      uVar2 = *(undefined4 *)(param_1 + 0x10);\n      if (*(int *)(param_1 + 0x98) == *(int *)(iVar7 + 0xf0)) {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x30) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 != 0) goto LAB_00016290;\n        *(undefined4 *)(iVar7 + 0x34) = uVar2;\n      }\n      else {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x38) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x3c) = uVar2;\n        }\n        else {\nLAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;\n        }\n      }\n      *(undefined4 *)(param_1 + 0x10) = 0;\n      *(undefined4 *)(param_1 + 0x14) = 0;\n    }" if (parenthesized_expression "(((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0'))" ( (binary_expression "((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')" (parenthesized_expression "((*(byte *)(iVar7 + 0xf8) & 4) == 0)" ( (binary_expression "(*(byte *)(iVar7 + 0xf8) & 4) == 0" (parenthesized_expression "(*(byte *)(iVar7 + 0xf8) & 4)" ( (binary_expression "*(byte *)(iVar7 + 0xf8) & 4" (pointer_expression "*(byte *)(iVar7 + 0xf8)" * (cast_expression "(byte *)(iVar7 + 0xf8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0xf8)" ( (binary_expression "iVar7 + 0xf8" identifier + number_literal) )))) & number_literal) )) == number_literal) )) && (parenthesized_expression "(*(char *)(param_1 + 0xf1) == '\0')" ( (binary_expression "*(char *)(param_1 + 0xf1) == '\0'" (pointer_expression "*(char *)(param_1 + 0xf1)" * (cast_expression "(char *)(param_1 + 0xf1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xf1)" ( (binary_expression "param_1 + 0xf1" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      iVar1 = *(int *)(param_1 + 0x14);\n      uVar2 = *(undefined4 *)(param_1 + 0x10);\n      if (*(int *)(param_1 + 0x98) == *(int *)(iVar7 + 0xf0)) {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x30) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 != 0) goto LAB_00016290;\n        *(undefined4 *)(iVar7 + 0x34) = uVar2;\n      }\n      else {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x38) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x3c) = uVar2;\n        }\n        else {\nLAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;\n        }\n      }\n      *(undefined4 *)(param_1 + 0x10) = 0;\n      *(undefined4 *)(param_1 + 0x14) = 0;\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) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x10);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x10)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(param_1 + 0x98) == *(int *)(iVar7 + 0xf0)) {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x30) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 != 0) goto LAB_00016290;\n        *(undefined4 *)(iVar7 + 0x34) = uVar2;\n      }\n      else {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x38) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x3c) = uVar2;\n        }\n        else {\nLAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;\n        }\n      }" if (parenthesized_expression "(*(int *)(param_1 + 0x98) == *(int *)(iVar7 + 0xf0))" ( (binary_expression "*(int *)(param_1 + 0x98) == *(int *)(iVar7 + 0xf0)" (pointer_expression "*(int *)(param_1 + 0x98)" * (cast_expression "(int *)(param_1 + 0x98)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x98)" ( (binary_expression "param_1 + 0x98" identifier + number_literal) )))) == (pointer_expression "*(int *)(iVar7 + 0xf0)" * (cast_expression "(int *)(iVar7 + 0xf0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0xf0)" ( (binary_expression "iVar7 + 0xf0" identifier + number_literal) ))))) )) (compound_statement "{\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x30) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 != 0) goto LAB_00016290;\n        *(undefined4 *)(iVar7 + 0x34) = uVar2;\n      }" { (if_statement "if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x30) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n          *(undefined4 *)(iVar7 + 0x30) = uVar2;\n        }" { (expression_statement "*(undefined4 *)(iVar7 + 0x30) = uVar2;" (assignment_expression "*(undefined4 *)(iVar7 + 0x30) = uVar2" (pointer_expression "*(undefined4 *)(iVar7 + 0x30)" * (cast_expression "(undefined4 *)(iVar7 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x30)" ( (binary_expression "iVar7 + 0x30" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }" else (compound_statement "{\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }" { (expression_statement "*(undefined4 *)(iVar1 + 0x10) = uVar2;" (assignment_expression "*(undefined4 *)(iVar1 + 0x10) = uVar2" (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) )))) = identifier) ;) }))) (expression_statement "iVar1 = *(int *)(param_1 + 0x10);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x10)" identifier = (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) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x14);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x14)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 != 0) goto LAB_00016290;" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00016290;" goto statement_identifier ;)) (expression_statement "*(undefined4 *)(iVar7 + 0x34) = uVar2;" (assignment_expression "*(undefined4 *)(iVar7 + 0x34) = uVar2" (pointer_expression "*(undefined4 *)(iVar7 + 0x34)" * (cast_expression "(undefined4 *)(iVar7 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x34)" ( (binary_expression "iVar7 + 0x34" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x38) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x3c) = uVar2;\n        }\n        else {\nLAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;\n        }\n      }" else (compound_statement "{\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x38) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x3c) = uVar2;\n        }\n        else {\nLAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;\n        }\n      }" { (if_statement "if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x38) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n          *(undefined4 *)(iVar7 + 0x38) = uVar2;\n        }" { (expression_statement "*(undefined4 *)(iVar7 + 0x38) = uVar2;" (assignment_expression "*(undefined4 *)(iVar7 + 0x38) = uVar2" (pointer_expression "*(undefined4 *)(iVar7 + 0x38)" * (cast_expression "(undefined4 *)(iVar7 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x38)" ( (binary_expression "iVar7 + 0x38" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }" else (compound_statement "{\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }" { (expression_statement "*(undefined4 *)(iVar1 + 0x10) = uVar2;" (assignment_expression "*(undefined4 *)(iVar1 + 0x10) = uVar2" (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) )))) = identifier) ;) }))) (expression_statement "iVar1 = *(int *)(param_1 + 0x10);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x10)" identifier = (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) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x14);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x14)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x3c) = uVar2;\n        }\n        else {\nLAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;\n        }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n          *(undefined4 *)(iVar7 + 0x3c) = uVar2;\n        }" { (expression_statement "*(undefined4 *)(iVar7 + 0x3c) = uVar2;" (assignment_expression "*(undefined4 *)(iVar7 + 0x3c) = uVar2" (pointer_expression "*(undefined4 *)(iVar7 + 0x3c)" * (cast_expression "(undefined4 *)(iVar7 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x3c)" ( (binary_expression "iVar7 + 0x3c" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\nLAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;\n        }" else (compound_statement "{\nLAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;\n        }" { (labeled_statement "LAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;" statement_identifier : (expression_statement "*(undefined4 *)(iVar1 + 0x14) = uVar2;" (assignment_expression "*(undefined4 *)(iVar1 + 0x14) = uVar2" (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) )))) = identifier) ;)) }))) }))) (expression_statement "*(undefined4 *)(param_1 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x10) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x14) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "*(int *)(param_1 + 0x98) = param_3;" (assignment_expression "*(int *)(param_1 + 0x98) = param_3" (pointer_expression "*(int *)(param_1 + 0x98)" * (cast_expression "(int *)(param_1 + 0x98)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x98)" ( (binary_expression "param_1 + 0x98" identifier + number_literal) )))) = identifier) ;) (if_statement "if (((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')) {\n      if (param_3 == *(int *)(iVar7 + 0xf0)) {\n        uVar2 = *(undefined4 *)(iVar7 + 0x30);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x34) == 0) {\n          *(int *)(iVar7 + 0x34) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x30) = param_1;\n      }\n      else {\n        uVar2 = *(undefined4 *)(iVar7 + 0x38);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x3c) == 0) {\n          *(int *)(iVar7 + 0x3c) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x38) = param_1;\n      }\n    }" if (parenthesized_expression "(((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0'))" ( (binary_expression "((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')" (parenthesized_expression "((*(byte *)(iVar7 + 0xf8) & 4) == 0)" ( (binary_expression "(*(byte *)(iVar7 + 0xf8) & 4) == 0" (parenthesized_expression "(*(byte *)(iVar7 + 0xf8) & 4)" ( (binary_expression "*(byte *)(iVar7 + 0xf8) & 4" (pointer_expression "*(byte *)(iVar7 + 0xf8)" * (cast_expression "(byte *)(iVar7 + 0xf8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0xf8)" ( (binary_expression "iVar7 + 0xf8" identifier + number_literal) )))) & number_literal) )) == number_literal) )) && (parenthesized_expression "(*(char *)(param_1 + 0xf1) == '\0')" ( (binary_expression "*(char *)(param_1 + 0xf1) == '\0'" (pointer_expression "*(char *)(param_1 + 0xf1)" * (cast_expression "(char *)(param_1 + 0xf1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xf1)" ( (binary_expression "param_1 + 0xf1" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      if (param_3 == *(int *)(iVar7 + 0xf0)) {\n        uVar2 = *(undefined4 *)(iVar7 + 0x30);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x34) == 0) {\n          *(int *)(iVar7 + 0x34) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x30) = param_1;\n      }\n      else {\n        uVar2 = *(undefined4 *)(iVar7 + 0x38);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x3c) == 0) {\n          *(int *)(iVar7 + 0x3c) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x38) = param_1;\n      }\n    }" { (if_statement "if (param_3 == *(int *)(iVar7 + 0xf0)) {\n        uVar2 = *(undefined4 *)(iVar7 + 0x30);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x34) == 0) {\n          *(int *)(iVar7 + 0x34) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x30) = param_1;\n      }\n      else {\n        uVar2 = *(undefined4 *)(iVar7 + 0x38);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x3c) == 0) {\n          *(int *)(iVar7 + 0x3c) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x38) = param_1;\n      }" if (parenthesized_expression "(param_3 == *(int *)(iVar7 + 0xf0))" ( (binary_expression "param_3 == *(int *)(iVar7 + 0xf0)" identifier == (pointer_expression "*(int *)(iVar7 + 0xf0)" * (cast_expression "(int *)(iVar7 + 0xf0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0xf0)" ( (binary_expression "iVar7 + 0xf0" identifier + number_literal) ))))) )) (compound_statement "{\n        uVar2 = *(undefined4 *)(iVar7 + 0x30);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x34) == 0) {\n          *(int *)(iVar7 + 0x34) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x30) = param_1;\n      }" { (expression_statement "uVar2 = *(undefined4 *)(iVar7 + 0x30);" (assignment_expression "uVar2 = *(undefined4 *)(iVar7 + 0x30)" identifier = (pointer_expression "*(undefined4 *)(iVar7 + 0x30)" * (cast_expression "(undefined4 *)(iVar7 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x30)" ( (binary_expression "iVar7 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x14) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x10) = uVar2;" (assignment_expression "*(undefined4 *)(param_1 + 0x10) = uVar2" (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = identifier) ;) (if_statement "if (*(int *)(iVar7 + 0x34) == 0) {\n          *(int *)(iVar7 + 0x34) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1;\n        }" if (parenthesized_expression "(*(int *)(iVar7 + 0x34) == 0)" ( (binary_expression "*(int *)(iVar7 + 0x34) == 0" (pointer_expression "*(int *)(iVar7 + 0x34)" * (cast_expression "(int *)(iVar7 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x34)" ( (binary_expression "iVar7 + 0x34" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n          *(int *)(iVar7 + 0x34) = param_1;\n        }" { (expression_statement "*(int *)(iVar7 + 0x34) = param_1;" (assignment_expression "*(int *)(iVar7 + 0x34) = param_1" (pointer_expression "*(int *)(iVar7 + 0x34)" * (cast_expression "(int *)(iVar7 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x34)" ( (binary_expression "iVar7 + 0x34" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n          *(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1;\n        }" else (compound_statement "{\n          *(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1;\n        }" { (expression_statement "*(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1;" (assignment_expression "*(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1" (pointer_expression "*(int *)(*(int *)(iVar7 + 0x30) + 0x14)" * (cast_expression "(int *)(*(int *)(iVar7 + 0x30) + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar7 + 0x30) + 0x14)" ( (binary_expression "*(int *)(iVar7 + 0x30) + 0x14" (pointer_expression "*(int *)(iVar7 + 0x30)" * (cast_expression "(int *)(iVar7 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x30)" ( (binary_expression "iVar7 + 0x30" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) }))) (expression_statement "*(int *)(iVar7 + 0x30) = param_1;" (assignment_expression "*(int *)(iVar7 + 0x30) = param_1" (pointer_expression "*(int *)(iVar7 + 0x30)" * (cast_expression "(int *)(iVar7 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x30)" ( (binary_expression "iVar7 + 0x30" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n        uVar2 = *(undefined4 *)(iVar7 + 0x38);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x3c) == 0) {\n          *(int *)(iVar7 + 0x3c) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x38) = param_1;\n      }" else (compound_statement "{\n        uVar2 = *(undefined4 *)(iVar7 + 0x38);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x3c) == 0) {\n          *(int *)(iVar7 + 0x3c) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x38) = param_1;\n      }" { (expression_statement "uVar2 = *(undefined4 *)(iVar7 + 0x38);" (assignment_expression "uVar2 = *(undefined4 *)(iVar7 + 0x38)" identifier = (pointer_expression "*(undefined4 *)(iVar7 + 0x38)" * (cast_expression "(undefined4 *)(iVar7 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x38)" ( (binary_expression "iVar7 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x14) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x10) = uVar2;" (assignment_expression "*(undefined4 *)(param_1 + 0x10) = uVar2" (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = identifier) ;) (if_statement "if (*(int *)(iVar7 + 0x3c) == 0) {\n          *(int *)(iVar7 + 0x3c) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;\n        }" if (parenthesized_expression "(*(int *)(iVar7 + 0x3c) == 0)" ( (binary_expression "*(int *)(iVar7 + 0x3c) == 0" (pointer_expression "*(int *)(iVar7 + 0x3c)" * (cast_expression "(int *)(iVar7 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x3c)" ( (binary_expression "iVar7 + 0x3c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n          *(int *)(iVar7 + 0x3c) = param_1;\n        }" { (expression_statement "*(int *)(iVar7 + 0x3c) = param_1;" (assignment_expression "*(int *)(iVar7 + 0x3c) = param_1" (pointer_expression "*(int *)(iVar7 + 0x3c)" * (cast_expression "(int *)(iVar7 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x3c)" ( (binary_expression "iVar7 + 0x3c" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n          *(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;\n        }" else (compound_statement "{\n          *(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;\n        }" { (expression_statement "*(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;" (assignment_expression "*(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1" (pointer_expression "*(int *)(*(int *)(iVar7 + 0x38) + 0x14)" * (cast_expression "(int *)(*(int *)(iVar7 + 0x38) + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar7 + 0x38) + 0x14)" ( (binary_expression "*(int *)(iVar7 + 0x38) + 0x14" (pointer_expression "*(int *)(iVar7 + 0x38)" * (cast_expression "(int *)(iVar7 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x38)" ( (binary_expression "iVar7 + 0x38" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) }))) (expression_statement "*(int *)(iVar7 + 0x38) = param_1;" (assignment_expression "*(int *)(iVar7 + 0x38) = param_1" (pointer_expression "*(int *)(iVar7 + 0x38)" * (cast_expression "(int *)(iVar7 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x38)" ( (binary_expression "iVar7 + 0x38" identifier + number_literal) )))) = identifier) ;) }))) })) (expression_statement "iVar1 = pthread_mutex_unlock(__mutex);" (assignment_expression "iVar1 = pthread_mutex_unlock(__mutex)" identifier = (call_expression "pthread_mutex_unlock(__mutex)" identifier (argument_list "(__mutex)" ( identifier )))) ;) (if_statement "if (iVar1 == 0) {\n      return 1;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "puVar8 = &stack0xffffffd4;" (assignment_expression "puVar8 = &stack0xffffffd4" identifier = (pointer_expression "&stack0xffffffd4" & identifier)) ;) (expression_statement "(*DAT_0003406c)();" (call_expression "(*DAT_0003406c)()" (parenthesized_expression "(*DAT_0003406c)" ( (pointer_expression "*DAT_0003406c" * identifier) )) (argument_list "()" ( ))) ;) })) (expression_statement "*(char **)(puVar8 + -4) = "Failed to lock mutex.\n";" (assignment_expression "*(char **)(puVar8 + -4) = "Failed to lock mutex.\n"" (pointer_expression "*(char **)(puVar8 + -4)" * (cast_expression "(char **)(puVar8 + -4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -4)" ( (binary_expression "puVar8 + -4" identifier + number_literal) )))) = (string_literal ""Failed to lock mutex.\n"" " string_content escape_sequence ")) ;) (expression_statement "*(undefined4 *)(puVar8 + -8) = 0xf88;" (assignment_expression "*(undefined4 *)(puVar8 + -8) = 0xf88" (pointer_expression "*(undefined4 *)(puVar8 + -8)" * (cast_expression "(undefined4 *)(puVar8 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -8)" ( (binary_expression "puVar8 + -8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(char **)(puVar8 + -0xc) = "connection.c";" (assignment_expression "*(char **)(puVar8 + -0xc) = "connection.c"" (pointer_expression "*(char **)(puVar8 + -0xc)" * (cast_expression "(char **)(puVar8 + -0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0xc)" ( (binary_expression "puVar8 + -0xc" identifier + number_literal) )))) = (string_literal ""connection.c"" " string_content ")) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x10) = DAT_00034068;" (assignment_expression "*(undefined4 *)(puVar8 + -0x10) = DAT_00034068" (pointer_expression "*(undefined4 *)(puVar8 + -0x10)" * (cast_expression "(undefined4 *)(puVar8 + -0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x10)" ( (binary_expression "puVar8 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = 0x16403;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = 0x16403" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" * (cast_expression "(undefined4 *)(puVar8 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x14)" ( (binary_expression "puVar8 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "(*DAT_0003406c)();" (call_expression "(*DAT_0003406c)()" (parenthesized_expression "(*DAT_0003406c)" ( (pointer_expression "*DAT_0003406c" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "*(pthread_mutex_t **)(puVar8 + -0x14) = __mutex;" (assignment_expression "*(pthread_mutex_t **)(puVar8 + -0x14) = __mutex" (pointer_expression "*(pthread_mutex_t **)(puVar8 + -0x14)" * (cast_expression "(pthread_mutex_t **)(puVar8 + -0x14)" ( (type_descriptor "pthread_mutex_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0x14)" ( (binary_expression "puVar8 + -0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar8 + -0x18) = iVar7;" (assignment_expression "*(int *)(puVar8 + -0x18) = iVar7" (pointer_expression "*(int *)(puVar8 + -0x18)" * (cast_expression "(int *)(puVar8 + -0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x18)" ( (binary_expression "puVar8 + -0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar8 + -0x1c) = param_1;" (assignment_expression "*(int *)(puVar8 + -0x1c) = param_1" (pointer_expression "*(int *)(puVar8 + -0x1c)" * (cast_expression "(int *)(puVar8 + -0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x1c)" ( (binary_expression "puVar8 + -0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined ***)(puVar8 + -0x20) = &__DT_PLTGOT;" (assignment_expression "*(undefined ***)(puVar8 + -0x20) = &__DT_PLTGOT" (pointer_expression "*(undefined ***)(puVar8 + -0x20)" * (cast_expression "(undefined ***)(puVar8 + -0x20)" ( (type_descriptor "undefined ***" type_identifier (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) (parenthesized_expression "(puVar8 + -0x20)" ( (binary_expression "puVar8 + -0x20" identifier + number_literal) )))) = (pointer_expression "&__DT_PLTGOT" & identifier)) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x24) = 0x1641b;" (assignment_expression "*(undefined4 *)(puVar8 + -0x24) = 0x1641b" (pointer_expression "*(undefined4 *)(puVar8 + -0x24)" * (cast_expression "(undefined4 *)(puVar8 + -0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x24)" ( (binary_expression "puVar8 + -0x24" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar7 = *(int *)(puVar8 + -0x24);" (assignment_expression "iVar7 = *(int *)(puVar8 + -0x24)" identifier = (pointer_expression "*(int *)(puVar8 + -0x24)" * (cast_expression "(int *)(puVar8 + -0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x24)" ( (binary_expression "puVar8 + -0x24" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = *(int *)(puVar8 + -0xc);" (assignment_expression "iVar1 = *(int *)(puVar8 + -0xc)" identifier = (pointer_expression "*(int *)(puVar8 + -0xc)" * (cast_expression "(int *)(puVar8 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0xc)" ( (binary_expression "puVar8 + -0xc" identifier + number_literal) ))))) ;) (expression_statement "iVar6 = *(int *)(puVar8 + -4);" (assignment_expression "iVar6 = *(int *)(puVar8 + -4)" identifier = (pointer_expression "*(int *)(puVar8 + -4)" * (cast_expression "(int *)(puVar8 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -4)" ( (binary_expression "puVar8 + -4" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (iVar6 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (*(int *)(iVar1 + 0x24) != 0) {\n    return 0;\n  }" if (parenthesized_expression "(*(int *)(iVar1 + 0x24) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x24) != 0" (pointer_expression "*(int *)(iVar1 + 0x24)" * (cast_expression "(int *)(iVar1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x24)" ( (binary_expression "iVar1 + 0x24" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((*(int *)(iVar1 + 0xb4) != 4) && (*(int *)(iVar1 + 0xb4) != 9)) {\n    return 0;\n  }" if (parenthesized_expression "((*(int *)(iVar1 + 0xb4) != 4) && (*(int *)(iVar1 + 0xb4) != 9))" ( (binary_expression "(*(int *)(iVar1 + 0xb4) != 4) && (*(int *)(iVar1 + 0xb4) != 9)" (parenthesized_expression "(*(int *)(iVar1 + 0xb4) != 4)" ( (binary_expression "*(int *)(iVar1 + 0xb4) != 4" (pointer_expression "*(int *)(iVar1 + 0xb4)" * (cast_expression "(int *)(iVar1 + 0xb4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xb4)" ( (binary_expression "iVar1 + 0xb4" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(*(int *)(iVar1 + 0xb4) != 9)" ( (binary_expression "*(int *)(iVar1 + 0xb4) != 9" (pointer_expression "*(int *)(iVar1 + 0xb4)" * (cast_expression "(int *)(iVar1 + 0xb4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xb4)" ( (binary_expression "iVar1 + 0xb4" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar5 = *(int *)(iVar1 + 0x18);" (assignment_expression "iVar5 = *(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 (*(char *)(iVar5 + 0xe0) != '\0') {\n    return 1;\n  }" if (parenthesized_expression "(*(char *)(iVar5 + 0xe0) != '\0')" ( (binary_expression "*(char *)(iVar5 + 0xe0) != '\0'" (pointer_expression "*(char *)(iVar5 + 0xe0)" * (cast_expression "(char *)(iVar5 + 0xe0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0xe0)" ( (binary_expression "iVar5 + 0xe0" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if ((*(char *)(iVar1 + 0xf1) == '\0') && ((*(byte *)(iVar5 + 0xf8) & 8) != 0)) {\n    *(undefined4 *)(puVar8 + -0x30) = 0x16481;\n    pVar3 = pthread_self();\n    if (pVar3 != *(pthread_t *)(iVar1 + 0x5c)) {\n      iVar7 = iVar7 + 0x13069;\n      goto LAB_00016490;\n    }\n  }" if (parenthesized_expression "((*(char *)(iVar1 + 0xf1) == '\0') && ((*(byte *)(iVar5 + 0xf8) & 8) != 0))" ( (binary_expression "(*(char *)(iVar1 + 0xf1) == '\0') && ((*(byte *)(iVar5 + 0xf8) & 8) != 0)" (parenthesized_expression "(*(char *)(iVar1 + 0xf1) == '\0')" ( (binary_expression "*(char *)(iVar1 + 0xf1) == '\0'" (pointer_expression "*(char *)(iVar1 + 0xf1)" * (cast_expression "(char *)(iVar1 + 0xf1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xf1)" ( (binary_expression "iVar1 + 0xf1" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "((*(byte *)(iVar5 + 0xf8) & 8) != 0)" ( (binary_expression "(*(byte *)(iVar5 + 0xf8) & 8) != 0" (parenthesized_expression "(*(byte *)(iVar5 + 0xf8) & 8)" ( (binary_expression "*(byte *)(iVar5 + 0xf8) & 8" (pointer_expression "*(byte *)(iVar5 + 0xf8)" * (cast_expression "(byte *)(iVar5 + 0xf8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0xf8)" ( (binary_expression "iVar5 + 0xf8" identifier + number_literal) )))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    *(undefined4 *)(puVar8 + -0x30) = 0x16481;\n    pVar3 = pthread_self();\n    if (pVar3 != *(pthread_t *)(iVar1 + 0x5c)) {\n      iVar7 = iVar7 + 0x13069;\n      goto LAB_00016490;\n    }\n  }" { (expression_statement "*(undefined4 *)(puVar8 + -0x30) = 0x16481;" (assignment_expression "*(undefined4 *)(puVar8 + -0x30) = 0x16481" (pointer_expression "*(undefined4 *)(puVar8 + -0x30)" * (cast_expression "(undefined4 *)(puVar8 + -0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x30)" ( (binary_expression "puVar8 + -0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "pVar3 = pthread_self();" (assignment_expression "pVar3 = pthread_self()" identifier = (call_expression "pthread_self()" identifier (argument_list "()" ( )))) ;) (if_statement "if (pVar3 != *(pthread_t *)(iVar1 + 0x5c)) {\n      iVar7 = iVar7 + 0x13069;\n      goto LAB_00016490;\n    }" if (parenthesized_expression "(pVar3 != *(pthread_t *)(iVar1 + 0x5c))" ( (binary_expression "pVar3 != *(pthread_t *)(iVar1 + 0x5c)" identifier != (pointer_expression "*(pthread_t *)(iVar1 + 0x5c)" * (cast_expression "(pthread_t *)(iVar1 + 0x5c)" ( (type_descriptor "pthread_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x5c)" ( (binary_expression "iVar1 + 0x5c" identifier + number_literal) ))))) )) (compound_statement "{\n      iVar7 = iVar7 + 0x13069;\n      goto LAB_00016490;\n    }" { (expression_statement "iVar7 = iVar7 + 0x13069;" (assignment_expression "iVar7 = iVar7 + 0x13069" identifier = (binary_expression "iVar7 + 0x13069" identifier + number_literal)) ;) (goto_statement "goto LAB_00016490;" goto statement_identifier ;) })) })) (if_statement "if (*(int *)(iVar6 + 0x14) != 0) {\n    if ((*(byte *)(iVar5 + 0xf9) & 0x80) == 0) {\n      iVar7 = iVar7 + 0x13099;\nLAB_00016490:\n      *(int *)(puVar8 + -0x38) = iVar7;\n      *(int *)(puVar8 + -0x3c) = iVar5;\n      *(undefined4 *)(puVar8 + -0x40) = 0x16497;\n      FUN_00020aa0();\n      return 0;\n    }\n    if (*(int *)(puVar8 + -8) != 0x65) {\n      iVar7 = iVar7 + 0x130e5;\n      goto LAB_00016490;\n    }\n  }" if (parenthesized_expression "(*(int *)(iVar6 + 0x14) != 0)" ( (binary_expression "*(int *)(iVar6 + 0x14) != 0" (pointer_expression "*(int *)(iVar6 + 0x14)" * (cast_expression "(int *)(iVar6 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x14)" ( (binary_expression "iVar6 + 0x14" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    if ((*(byte *)(iVar5 + 0xf9) & 0x80) == 0) {\n      iVar7 = iVar7 + 0x13099;\nLAB_00016490:\n      *(int *)(puVar8 + -0x38) = iVar7;\n      *(int *)(puVar8 + -0x3c) = iVar5;\n      *(undefined4 *)(puVar8 + -0x40) = 0x16497;\n      FUN_00020aa0();\n      return 0;\n    }\n    if (*(int *)(puVar8 + -8) != 0x65) {\n      iVar7 = iVar7 + 0x130e5;\n      goto LAB_00016490;\n    }\n  }" { (if_statement "if ((*(byte *)(iVar5 + 0xf9) & 0x80) == 0) {\n      iVar7 = iVar7 + 0x13099;\nLAB_00016490:\n      *(int *)(puVar8 + -0x38) = iVar7;\n      *(int *)(puVar8 + -0x3c) = iVar5;\n      *(undefined4 *)(puVar8 + -0x40) = 0x16497;\n      FUN_00020aa0();\n      return 0;\n    }" if (parenthesized_expression "((*(byte *)(iVar5 + 0xf9) & 0x80) == 0)" ( (binary_expression "(*(byte *)(iVar5 + 0xf9) & 0x80) == 0" (parenthesized_expression "(*(byte *)(iVar5 + 0xf9) & 0x80)" ( (binary_expression "*(byte *)(iVar5 + 0xf9) & 0x80" (pointer_expression "*(byte *)(iVar5 + 0xf9)" * (cast_expression "(byte *)(iVar5 + 0xf9)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0xf9)" ( (binary_expression "iVar5 + 0xf9" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n      iVar7 = iVar7 + 0x13099;\nLAB_00016490:\n      *(int *)(puVar8 + -0x38) = iVar7;\n      *(int *)(puVar8 + -0x3c) = iVar5;\n      *(undefined4 *)(puVar8 + -0x40) = 0x16497;\n      FUN_00020aa0();\n      return 0;\n    }" { (expression_statement "iVar7 = iVar7 + 0x13099;" (assignment_expression "iVar7 = iVar7 + 0x13099" identifier = (binary_expression "iVar7 + 0x13099" identifier + number_literal)) ;) (labeled_statement "LAB_00016490:\n      *(int *)(puVar8 + -0x38) = iVar7;" statement_identifier : (expression_statement "*(int *)(puVar8 + -0x38) = iVar7;" (assignment_expression "*(int *)(puVar8 + -0x38) = iVar7" (pointer_expression "*(int *)(puVar8 + -0x38)" * (cast_expression "(int *)(puVar8 + -0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x38)" ( (binary_expression "puVar8 + -0x38" identifier + number_literal) )))) = identifier) ;)) (expression_statement "*(int *)(puVar8 + -0x3c) = iVar5;" (assignment_expression "*(int *)(puVar8 + -0x3c) = iVar5" (pointer_expression "*(int *)(puVar8 + -0x3c)" * (cast_expression "(int *)(puVar8 + -0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x3c)" ( (binary_expression "puVar8 + -0x3c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x40) = 0x16497;" (assignment_expression "*(undefined4 *)(puVar8 + -0x40) = 0x16497" (pointer_expression "*(undefined4 *)(puVar8 + -0x40)" * (cast_expression "(undefined4 *)(puVar8 + -0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x40)" ( (binary_expression "puVar8 + -0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00020aa0();" (call_expression "FUN_00020aa0()" identifier (argument_list "()" ( ))) ;) (return_statement "return 0;" return number_literal ;) })) (if_statement "if (*(int *)(puVar8 + -8) != 0x65) {\n      iVar7 = iVar7 + 0x130e5;\n      goto LAB_00016490;\n    }" if (parenthesized_expression "(*(int *)(puVar8 + -8) != 0x65)" ( (binary_expression "*(int *)(puVar8 + -8) != 0x65" (pointer_expression "*(int *)(puVar8 + -8)" * (cast_expression "(int *)(puVar8 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -8)" ( (binary_expression "puVar8 + -8" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      iVar7 = iVar7 + 0x130e5;\n      goto LAB_00016490;\n    }" { (expression_statement "iVar7 = iVar7 + 0x130e5;" (assignment_expression "iVar7 = iVar7 + 0x130e5" identifier = (binary_expression "iVar7 + 0x130e5" identifier + number_literal)) ;) (goto_statement "goto LAB_00016490;" goto statement_identifier ;) })) })) (expression_statement "*(int *)(puVar8 + -0x3c) = iVar6;" (assignment_expression "*(int *)(puVar8 + -0x3c) = iVar6" (pointer_expression "*(int *)(puVar8 + -0x3c)" * (cast_expression "(int *)(puVar8 + -0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x3c)" ( (binary_expression "puVar8 + -0x3c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x40) = 0x164c8;" (assignment_expression "*(undefined4 *)(puVar8 + -0x40) = 0x164c8" (pointer_expression "*(undefined4 *)(puVar8 + -0x40)" * (cast_expression "(undefined4 *)(puVar8 + -0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x40)" ( (binary_expression "puVar8 + -0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00022c20();" (call_expression "FUN_00022c20()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar2 = *(undefined4 *)(puVar8 + -8);" (assignment_expression "uVar2 = *(undefined4 *)(puVar8 + -8)" identifier = (pointer_expression "*(undefined4 *)(puVar8 + -8)" * (cast_expression "(undefined4 *)(puVar8 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -8)" ( (binary_expression "puVar8 + -8" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(iVar1 + 0x24) = iVar6;" (assignment_expression "*(int *)(iVar1 + 0x24) = iVar6" (pointer_expression "*(int *)(iVar1 + 0x24)" * (cast_expression "(int *)(iVar1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x24)" ( (binary_expression "iVar1 + 0x24" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar1 + 0xbc) = uVar2;" (assignment_expression "*(undefined4 *)(iVar1 + 0xbc) = uVar2" (pointer_expression "*(undefined4 *)(iVar1 + 0xbc)" * (cast_expression "(undefined4 *)(iVar1 + 0xbc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xbc)" ( (binary_expression "iVar1 + 0xbc" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (if_statement "if (*(int *)(iVar6 + 0x58) != -1) {\n    uVar4 = (*(uint *)(*(int *)(iVar1 + 0x18) + 0xf8) >> 1 ^ 1) & 1;\n  }" if (parenthesized_expression "(*(int *)(iVar6 + 0x58) != -1)" ( (binary_expression "*(int *)(iVar6 + 0x58) != -1" (pointer_expression "*(int *)(iVar6 + 0x58)" * (cast_expression "(int *)(iVar6 + 0x58)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x58)" ( (binary_expression "iVar6 + 0x58" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    uVar4 = (*(uint *)(*(int *)(iVar1 + 0x18) + 0xf8) >> 1 ^ 1) & 1;\n  }" { (expression_statement "uVar4 = (*(uint *)(*(int *)(iVar1 + 0x18) + 0xf8) >> 1 ^ 1) & 1;" (assignment_expression "uVar4 = (*(uint *)(*(int *)(iVar1 + 0x18) + 0xf8) >> 1 ^ 1) & 1" identifier = (binary_expression "(*(uint *)(*(int *)(iVar1 + 0x18) + 0xf8) >> 1 ^ 1) & 1" (parenthesized_expression "(*(uint *)(*(int *)(iVar1 + 0x18) + 0xf8) >> 1 ^ 1)" ( (binary_expression "*(uint *)(*(int *)(iVar1 + 0x18) + 0xf8) >> 1 ^ 1" (binary_expression "*(uint *)(*(int *)(iVar1 + 0x18) + 0xf8) >> 1" (pointer_expression "*(uint *)(*(int *)(iVar1 + 0x18) + 0xf8)" * (cast_expression "(uint *)(*(int *)(iVar1 + 0x18) + 0xf8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x18) + 0xf8)" ( (binary_expression "*(int *)(iVar1 + 0x18) + 0xf8" (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) )))) + number_literal) )))) >> number_literal) ^ number_literal) )) & number_literal)) ;) })) (expression_statement "*(uint *)(iVar1 + 0x88) = uVar4;" (assignment_expression "*(uint *)(iVar1 + 0x88) = uVar4" (pointer_expression "*(uint *)(iVar1 + 0x88)" * (cast_expression "(uint *)(iVar1 + 0x88)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x88)" ( (binary_expression "iVar1 + 0x88" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar5 = *(int *)(iVar1 + 0x34);" (assignment_expression "iVar5 = *(int *)(iVar1 + 0x34)" identifier = (pointer_expression "*(int *)(iVar1 + 0x34)" * (cast_expression "(int *)(iVar1 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x34)" ( (binary_expression "iVar1 + 0x34" identifier + number_literal) ))))) ;) (if_statement "if (iVar5 == 0) {\nLAB_00016550:\n    if ((*(uint *)(puVar8 + -8) < 200 || *(int *)(puVar8 + -8) == 0xcc) ||\n       (*(int *)(puVar8 + -8) == 0x130)) goto LAB_00016515;\n  }\n  else {\n    *(int *)(puVar8 + -0x38) = iVar7 + 0x12d3e;\n    *(int *)(puVar8 + -0x3c) = iVar5;\n    *(undefined4 *)(puVar8 + -0x40) = 0x1650e;\n    iVar5 = FUN_000212c0();\n    if (iVar5 == 0) goto LAB_00016550;\nLAB_00016515:\n    uVar2 = *(undefined4 *)(iVar6 + 0x38);\n    *(undefined4 *)(iVar1 + 0x80) = *(undefined4 *)(iVar6 + 0x34);\n    *(undefined4 *)(iVar1 + 0x84) = uVar2;\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00016550:\n    if ((*(uint *)(puVar8 + -8) < 200 || *(int *)(puVar8 + -8) == 0xcc) ||\n       (*(int *)(puVar8 + -8) == 0x130)) goto LAB_00016515;\n  }" { (labeled_statement "LAB_00016550:\n    if ((*(uint *)(puVar8 + -8) < 200 || *(int *)(puVar8 + -8) == 0xcc) ||\n       (*(int *)(puVar8 + -8) == 0x130)) goto LAB_00016515;" statement_identifier : (if_statement "if ((*(uint *)(puVar8 + -8) < 200 || *(int *)(puVar8 + -8) == 0xcc) ||\n       (*(int *)(puVar8 + -8) == 0x130)) goto LAB_00016515;" if (parenthesized_expression "((*(uint *)(puVar8 + -8) < 200 || *(int *)(puVar8 + -8) == 0xcc) ||\n       (*(int *)(puVar8 + -8) == 0x130))" ( (binary_expression "(*(uint *)(puVar8 + -8) < 200 || *(int *)(puVar8 + -8) == 0xcc) ||\n       (*(int *)(puVar8 + -8) == 0x130)" (parenthesized_expression "(*(uint *)(puVar8 + -8) < 200 || *(int *)(puVar8 + -8) == 0xcc)" ( (binary_expression "*(uint *)(puVar8 + -8) < 200 || *(int *)(puVar8 + -8) == 0xcc" (binary_expression "*(uint *)(puVar8 + -8) < 200" (pointer_expression "*(uint *)(puVar8 + -8)" * (cast_expression "(uint *)(puVar8 + -8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -8)" ( (binary_expression "puVar8 + -8" identifier + number_literal) )))) < number_literal) || (binary_expression "*(int *)(puVar8 + -8) == 0xcc" (pointer_expression "*(int *)(puVar8 + -8)" * (cast_expression "(int *)(puVar8 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -8)" ( (binary_expression "puVar8 + -8" identifier + number_literal) )))) == number_literal)) )) || (parenthesized_expression "(*(int *)(puVar8 + -8) == 0x130)" ( (binary_expression "*(int *)(puVar8 + -8) == 0x130" (pointer_expression "*(int *)(puVar8 + -8)" * (cast_expression "(int *)(puVar8 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -8)" ( (binary_expression "puVar8 + -8" identifier + number_literal) )))) == number_literal) ))) )) (goto_statement "goto LAB_00016515;" goto statement_identifier ;))) }) (else_clause "else {\n    *(int *)(puVar8 + -0x38) = iVar7 + 0x12d3e;\n    *(int *)(puVar8 + -0x3c) = iVar5;\n    *(undefined4 *)(puVar8 + -0x40) = 0x1650e;\n    iVar5 = FUN_000212c0();\n    if (iVar5 == 0) goto LAB_00016550;\nLAB_00016515:\n    uVar2 = *(undefined4 *)(iVar6 + 0x38);\n    *(undefined4 *)(iVar1 + 0x80) = *(undefined4 *)(iVar6 + 0x34);\n    *(undefined4 *)(iVar1 + 0x84) = uVar2;\n  }" else (compound_statement "{\n    *(int *)(puVar8 + -0x38) = iVar7 + 0x12d3e;\n    *(int *)(puVar8 + -0x3c) = iVar5;\n    *(undefined4 *)(puVar8 + -0x40) = 0x1650e;\n    iVar5 = FUN_000212c0();\n    if (iVar5 == 0) goto LAB_00016550;\nLAB_00016515:\n    uVar2 = *(undefined4 *)(iVar6 + 0x38);\n    *(undefined4 *)(iVar1 + 0x80) = *(undefined4 *)(iVar6 + 0x34);\n    *(undefined4 *)(iVar1 + 0x84) = uVar2;\n  }" { (expression_statement "*(int *)(puVar8 + -0x38) = iVar7 + 0x12d3e;" (assignment_expression "*(int *)(puVar8 + -0x38) = iVar7 + 0x12d3e" (pointer_expression "*(int *)(puVar8 + -0x38)" * (cast_expression "(int *)(puVar8 + -0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x38)" ( (binary_expression "puVar8 + -0x38" identifier + number_literal) )))) = (binary_expression "iVar7 + 0x12d3e" identifier + number_literal)) ;) (expression_statement "*(int *)(puVar8 + -0x3c) = iVar5;" (assignment_expression "*(int *)(puVar8 + -0x3c) = iVar5" (pointer_expression "*(int *)(puVar8 + -0x3c)" * (cast_expression "(int *)(puVar8 + -0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x3c)" ( (binary_expression "puVar8 + -0x3c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x40) = 0x1650e;" (assignment_expression "*(undefined4 *)(puVar8 + -0x40) = 0x1650e" (pointer_expression "*(undefined4 *)(puVar8 + -0x40)" * (cast_expression "(undefined4 *)(puVar8 + -0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x40)" ( (binary_expression "puVar8 + -0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar5 = FUN_000212c0();" (assignment_expression "iVar5 = FUN_000212c0()" identifier = (call_expression "FUN_000212c0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar5 == 0) goto LAB_00016550;" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00016550;" goto statement_identifier ;)) (labeled_statement "LAB_00016515:\n    uVar2 = *(undefined4 *)(iVar6 + 0x38);" statement_identifier : (expression_statement "uVar2 = *(undefined4 *)(iVar6 + 0x38);" (assignment_expression "uVar2 = *(undefined4 *)(iVar6 + 0x38)" identifier = (pointer_expression "*(undefined4 *)(iVar6 + 0x38)" * (cast_expression "(undefined4 *)(iVar6 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38)" ( (binary_expression "iVar6 + 0x38" identifier + number_literal) ))))) ;)) (expression_statement "*(undefined4 *)(iVar1 + 0x80) = *(undefined4 *)(iVar6 + 0x34);" (assignment_expression "*(undefined4 *)(iVar1 + 0x80) = *(undefined4 *)(iVar6 + 0x34)" (pointer_expression "*(undefined4 *)(iVar1 + 0x80)" * (cast_expression "(undefined4 *)(iVar1 + 0x80)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x80)" ( (binary_expression "iVar1 + 0x80" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar6 + 0x34)" * (cast_expression "(undefined4 *)(iVar6 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x34)" ( (binary_expression "iVar6 + 0x34" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x84) = uVar2;" (assignment_expression "*(undefined4 *)(iVar1 + 0x84) = uVar2" (pointer_expression "*(undefined4 *)(iVar1 + 0x84)" * (cast_expression "(undefined4 *)(iVar1 + 0x84)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x84)" ( (binary_expression "iVar1 + 0x84" identifier + number_literal) )))) = identifier) ;) }))) (if_statement "if ((*(int *)(iVar1 + 0xb4) == 4) && (iVar6 = *(int *)(iVar1 + 0x34), iVar6 != 0)) {\n    *(int *)(puVar8 + -0x38) = iVar7 + 0x12d43;\n    *(int *)(puVar8 + -0x3c) = iVar6;\n    *(undefined4 *)(puVar8 + -0x40) = 0x165a7;\n    iVar6 = FUN_000212c0();\n    if (iVar6 == 0) {\n      *(int *)(puVar8 + -0x38) = iVar7 + 0x12d48;\n      *(undefined4 *)(puVar8 + -0x3c) = *(undefined4 *)(iVar1 + 0x34);\n      *(undefined4 *)(puVar8 + -0x40) = 0x16600;\n      iVar7 = FUN_000212c0();\n      if (iVar7 == 0) goto LAB_00016530;\n    }\n    *(undefined1 *)(iVar1 + 0xa9) = 1;\n    *(undefined4 *)(iVar1 + 0xb4) = 9;\n  }" if (parenthesized_expression "((*(int *)(iVar1 + 0xb4) == 4) && (iVar6 = *(int *)(iVar1 + 0x34), iVar6 != 0))" ( (binary_expression "(*(int *)(iVar1 + 0xb4) == 4) && (iVar6 = *(int *)(iVar1 + 0x34), iVar6 != 0)" (parenthesized_expression "(*(int *)(iVar1 + 0xb4) == 4)" ( (binary_expression "*(int *)(iVar1 + 0xb4) == 4" (pointer_expression "*(int *)(iVar1 + 0xb4)" * (cast_expression "(int *)(iVar1 + 0xb4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xb4)" ( (binary_expression "iVar1 + 0xb4" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(iVar6 = *(int *)(iVar1 + 0x34), iVar6 != 0)" ( (comma_expression "iVar6 = *(int *)(iVar1 + 0x34), iVar6 != 0" (assignment_expression "iVar6 = *(int *)(iVar1 + 0x34)" identifier = (pointer_expression "*(int *)(iVar1 + 0x34)" * (cast_expression "(int *)(iVar1 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x34)" ( (binary_expression "iVar1 + 0x34" identifier + number_literal) ))))) , (binary_expression "iVar6 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    *(int *)(puVar8 + -0x38) = iVar7 + 0x12d43;\n    *(int *)(puVar8 + -0x3c) = iVar6;\n    *(undefined4 *)(puVar8 + -0x40) = 0x165a7;\n    iVar6 = FUN_000212c0();\n    if (iVar6 == 0) {\n      *(int *)(puVar8 + -0x38) = iVar7 + 0x12d48;\n      *(undefined4 *)(puVar8 + -0x3c) = *(undefined4 *)(iVar1 + 0x34);\n      *(undefined4 *)(puVar8 + -0x40) = 0x16600;\n      iVar7 = FUN_000212c0();\n      if (iVar7 == 0) goto LAB_00016530;\n    }\n    *(undefined1 *)(iVar1 + 0xa9) = 1;\n    *(undefined4 *)(iVar1 + 0xb4) = 9;\n  }" { (expression_statement "*(int *)(puVar8 + -0x38) = iVar7 + 0x12d43;" (assignment_expression "*(int *)(puVar8 + -0x38) = iVar7 + 0x12d43" (pointer_expression "*(int *)(puVar8 + -0x38)" * (cast_expression "(int *)(puVar8 + -0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x38)" ( (binary_expression "puVar8 + -0x38" identifier + number_literal) )))) = (binary_expression "iVar7 + 0x12d43" identifier + number_literal)) ;) (expression_statement "*(int *)(puVar8 + -0x3c) = iVar6;" (assignment_expression "*(int *)(puVar8 + -0x3c) = iVar6" (pointer_expression "*(int *)(puVar8 + -0x3c)" * (cast_expression "(int *)(puVar8 + -0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x3c)" ( (binary_expression "puVar8 + -0x3c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x40) = 0x165a7;" (assignment_expression "*(undefined4 *)(puVar8 + -0x40) = 0x165a7" (pointer_expression "*(undefined4 *)(puVar8 + -0x40)" * (cast_expression "(undefined4 *)(puVar8 + -0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x40)" ( (binary_expression "puVar8 + -0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar6 = FUN_000212c0();" (assignment_expression "iVar6 = FUN_000212c0()" identifier = (call_expression "FUN_000212c0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar6 == 0) {\n      *(int *)(puVar8 + -0x38) = iVar7 + 0x12d48;\n      *(undefined4 *)(puVar8 + -0x3c) = *(undefined4 *)(iVar1 + 0x34);\n      *(undefined4 *)(puVar8 + -0x40) = 0x16600;\n      iVar7 = FUN_000212c0();\n      if (iVar7 == 0) goto LAB_00016530;\n    }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n      *(int *)(puVar8 + -0x38) = iVar7 + 0x12d48;\n      *(undefined4 *)(puVar8 + -0x3c) = *(undefined4 *)(iVar1 + 0x34);\n      *(undefined4 *)(puVar8 + -0x40) = 0x16600;\n      iVar7 = FUN_000212c0();\n      if (iVar7 == 0) goto LAB_00016530;\n    }" { (expression_statement "*(int *)(puVar8 + -0x38) = iVar7 + 0x12d48;" (assignment_expression "*(int *)(puVar8 + -0x38) = iVar7 + 0x12d48" (pointer_expression "*(int *)(puVar8 + -0x38)" * (cast_expression "(int *)(puVar8 + -0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x38)" ( (binary_expression "puVar8 + -0x38" identifier + number_literal) )))) = (binary_expression "iVar7 + 0x12d48" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x3c) = *(undefined4 *)(iVar1 + 0x34);" (assignment_expression "*(undefined4 *)(puVar8 + -0x3c) = *(undefined4 *)(iVar1 + 0x34)" (pointer_expression "*(undefined4 *)(puVar8 + -0x3c)" * (cast_expression "(undefined4 *)(puVar8 + -0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x3c)" ( (binary_expression "puVar8 + -0x3c" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar1 + 0x34)" * (cast_expression "(undefined4 *)(iVar1 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x34)" ( (binary_expression "iVar1 + 0x34" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x40) = 0x16600;" (assignment_expression "*(undefined4 *)(puVar8 + -0x40) = 0x16600" (pointer_expression "*(undefined4 *)(puVar8 + -0x40)" * (cast_expression "(undefined4 *)(puVar8 + -0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x40)" ( (binary_expression "puVar8 + -0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar7 = FUN_000212c0();" (assignment_expression "iVar7 = FUN_000212c0()" identifier = (call_expression "FUN_000212c0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar7 == 0) goto LAB_00016530;" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00016530;" goto statement_identifier ;)) })) (expression_statement "*(undefined1 *)(iVar1 + 0xa9) = 1;" (assignment_expression "*(undefined1 *)(iVar1 + 0xa9) = 1" (pointer_expression "*(undefined1 *)(iVar1 + 0xa9)" * (cast_expression "(undefined1 *)(iVar1 + 0xa9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xa9)" ( (binary_expression "iVar1 + 0xa9" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0xb4) = 9;" (assignment_expression "*(undefined4 *)(iVar1 + 0xb4) = 9" (pointer_expression "*(undefined4 *)(iVar1 + 0xb4)" * (cast_expression "(undefined4 *)(iVar1 + 0xb4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xb4)" ( (binary_expression "iVar1 + 0xb4" identifier + number_literal) )))) = number_literal) ;) })) (labeled_statement "LAB_00016530:\n  if (*(char *)(iVar1 + 0xab) == '\0') {\n    *(int *)(puVar8 + -0x3c) = iVar1;\n    *(undefined4 *)(puVar8 + -0x40) = 0x165d1;\n    FUN_00016a50();\n  }" statement_identifier : (if_statement "if (*(char *)(iVar1 + 0xab) == '\0') {\n    *(int *)(puVar8 + -0x3c) = iVar1;\n    *(undefined4 *)(puVar8 + -0x40) = 0x165d1;\n    FUN_00016a50();\n  }" if (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    *(int *)(puVar8 + -0x3c) = iVar1;\n    *(undefined4 *)(puVar8 + -0x40) = 0x165d1;\n    FUN_00016a50();\n  }" { (expression_statement "*(int *)(puVar8 + -0x3c) = iVar1;" (assignment_expression "*(int *)(puVar8 + -0x3c) = iVar1" (pointer_expression "*(int *)(puVar8 + -0x3c)" * (cast_expression "(int *)(puVar8 + -0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x3c)" ( (binary_expression "puVar8 + -0x3c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x40) = 0x165d1;" (assignment_expression "*(undefined4 *)(puVar8 + -0x40) = 0x165d1" (pointer_expression "*(undefined4 *)(puVar8 + -0x40)" * (cast_expression "(undefined4 *)(puVar8 + -0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x40)" ( (binary_expression "puVar8 + -0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00016a50();" (call_expression "FUN_00016a50()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "MHD_FLAG": Some values do not have unique names */\n/* WARNING: Enum "gnutls_pk_algorithm_t": Some values do not have unique names */\n/* WARNING: Enum "gnutls_certificate_type_t": Some values do not have unique names */\n\nint MHD_set_connection_option(MHD_Connection *connection,MHD_CONNECTION_OPTION option,...)\n\n{\n  MHD_mutex_ *__mutex;\n  MHD_Daemon *pMVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  MHD_Connection *pMVar5;\n  time_t tVar6;\n  pthread_t pVar7;\n  uint uVar8;\n  int iVar9;\n  int iVar10;\n  MHD_Connection *pMVar11;\n  undefined1 *puVar12;\n  int in_stack_0000000c;\n  undefined1 auStack_1c [8];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16209;\n  puVar12 = auStack_1c;\n  if (option != MHD_CONNECTION_OPTION_TIMEOUT) {\n    return 0;\n  }\n  pMVar1 = connection->daemon;\n  if (connection->connection_timeout == 0) {\n    tVar6 = MHD_monotonic_sec_counter();\n    connection->last_activity = tVar6;\n  }\n  __mutex = &pMVar1->cleanup_connection_mutex;\n  iVar4 = pthread_mutex_lock((pthread_mutex_t *)__mutex);\n  if (iVar4 == 0) {\n    if (((pMVar1->options & MHD_USE_THREAD_PER_CONNECTION) == MHD_NO_FLAG) &&\n       (connection->suspended == false)) {\n      pMVar5 = connection->prevX;\n      pMVar11 = connection->nextX;\n      if (connection->connection_timeout == pMVar1->connection_timeout) {\n        if (pMVar5 == (MHD_Connection *)0x0) {\n          pMVar1->normal_timeout_head = pMVar11;\n        }\n        else {\n          pMVar5->nextX = pMVar11;\n        }\n        pMVar5 = connection->nextX;\n        pMVar11 = connection->prevX;\n        if (pMVar5 != (MHD_Connection *)0x0) goto LAB_00016290;\n        pMVar1->normal_timeout_tail = pMVar11;\n      }\n      else {\n        if (pMVar5 == (MHD_Connection *)0x0) {\n          pMVar1->manual_timeout_head = pMVar11;\n        }\n        else {\n          pMVar5->nextX = pMVar11;\n        }\n        pMVar5 = connection->nextX;\n        pMVar11 = connection->prevX;\n        if (pMVar5 == (MHD_Connection *)0x0) {\n          pMVar1->manual_timeout_tail = pMVar11;\n        }\n        else {\nLAB_00016290:\n          pMVar5->prevX = pMVar11;\n        }\n      }\n      connection->nextX = (MHD_Connection *)0x0;\n      connection->prevX = (MHD_Connection *)0x0;\n    }\n    connection->connection_timeout = in_stack_0000000c;\n    if (((pMVar1->options & MHD_USE_THREAD_PER_CONNECTION) == MHD_NO_FLAG) &&\n       (connection->suspended == false)) {\n      if (in_stack_0000000c == pMVar1->connection_timeout) {\n        pMVar5 = pMVar1->normal_timeout_head;\n        connection->prevX = (MHD_Connection *)0x0;\n        connection->nextX = pMVar5;\n        if (pMVar1->normal_timeout_tail == (MHD_Connection *)0x0) {\n          pMVar1->normal_timeout_tail = connection;\n        }\n        else {\n          pMVar1->normal_timeout_head->prevX = connection;\n        }\n        pMVar1->normal_timeout_head = connection;\n      }\n      else {\n        pMVar5 = pMVar1->manual_timeout_head;\n        connection->prevX = (MHD_Connection *)0x0;\n        connection->nextX = pMVar5;\n        if (pMVar1->manual_timeout_tail == (MHD_Connection *)0x0) {\n          pMVar1->manual_timeout_tail = connection;\n        }\n        else {\n          pMVar1->manual_timeout_head->prevX = connection;\n        }\n        pMVar1->manual_timeout_head = connection;\n      }\n    }\n    iVar4 = pthread_mutex_unlock((pthread_mutex_t *)__mutex);\n    if (iVar4 == 0) {\n      return 1;\n    }\n    puVar12 = &stack0xffffffd4;\n    (*mhd_panic)(mhd_panic_cls,"connection.c",0xfa7,"Failed to unlock mutex.\n");\n  }\n  *(char **)(puVar12 + -4) = "Failed to lock mutex.\n";\n  *(undefined4 *)(puVar12 + -8) = 0xf88;\n  *(char **)(puVar12 + -0xc) = "connection.c";\n  *(void **)(puVar12 + -0x10) = mhd_panic_cls;\n  *(undefined4 *)(puVar12 + -0x14) = 0x16403;\n  (*mhd_panic)(*(void **)(puVar12 + -0x10),*(char **)(puVar12 + -0xc),*(uint *)(puVar12 + -8),\n               *(char **)(puVar12 + -4));\n  *(MHD_mutex_ **)(puVar12 + -0x14) = __mutex;\n  *(MHD_Daemon **)(puVar12 + -0x18) = pMVar1;\n  *(MHD_Connection **)(puVar12 + -0x1c) = connection;\n  *(undefined ***)(puVar12 + -0x20) = &_GLOBAL_OFFSET_TABLE_;\n  *(undefined4 *)(puVar12 + -0x24) = 0x1641b;\n  iVar4 = *(int *)(puVar12 + -0x24);\n  iVar2 = *(int *)(puVar12 + -0xc);\n  iVar10 = *(int *)(puVar12 + -4);\n  if (iVar2 == 0) {\n    return 0;\n  }\n  if (iVar10 == 0) {\n    return 0;\n  }\n  if (*(int *)(iVar2 + 0x24) != 0) {\n    return 0;\n  }\n  if ((*(int *)(iVar2 + 0xb4) != 4) && (*(int *)(iVar2 + 0xb4) != 9)) {\n    return 0;\n  }\n  iVar9 = *(int *)(iVar2 + 0x18);\n  if (*(char *)(iVar9 + 0xe0) != '\0') {\n    return 1;\n  }\n  if ((*(char *)(iVar2 + 0xf1) == '\0') && ((*(byte *)(iVar9 + 0xf8) & 8) != 0)) {\n    *(undefined4 *)(puVar12 + -0x30) = 0x16481;\n    pVar7 = pthread_self();\n    if (pVar7 != *(pthread_t *)(iVar2 + 0x5c)) {\n      iVar4 = iVar4 + 0x13069;\n      goto LAB_00016490;\n    }\n  }\n  if (*(int *)(iVar10 + 0x14) != 0) {\n    if ((*(byte *)(iVar9 + 0xf9) & 0x80) == 0) {\n      iVar4 = iVar4 + 0x13099;\nLAB_00016490:\n      *(int *)(puVar12 + -0x38) = iVar4;\n      *(int *)(puVar12 + -0x3c) = iVar9;\n      *(undefined4 *)(puVar12 + -0x40) = 0x16497;\n      MHD_DLOG(*(MHD_Daemon **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38));\n      return 0;\n    }\n    if (*(int *)(puVar12 + -8) != 0x65) {\n      iVar4 = iVar4 + 0x130e5;\n      goto LAB_00016490;\n    }\n  }\n  *(int *)(puVar12 + -0x3c) = iVar10;\n  *(undefined4 *)(puVar12 + -0x40) = 0x164c8;\n  MHD_increment_response_rc(*(MHD_Response **)(puVar12 + -0x3c));\n  uVar3 = *(undefined4 *)(puVar12 + -8);\n  *(int *)(iVar2 + 0x24) = iVar10;\n  *(undefined4 *)(iVar2 + 0xbc) = uVar3;\n  uVar8 = 0;\n  if (*(int *)(iVar10 + 0x58) != -1) {\n    uVar8 = (*(uint *)(*(int *)(iVar2 + 0x18) + 0xf8) >> 1 ^ 1) & 1;\n  }\n  *(uint *)(iVar2 + 0x88) = uVar8;\n  iVar9 = *(int *)(iVar2 + 0x34);\n  if (iVar9 == 0) {\nLAB_00016550:\n    if ((*(uint *)(puVar12 + -8) < 200 || *(int *)(puVar12 + -8) == 0xcc) ||\n       (*(int *)(puVar12 + -8) == 0x130)) goto LAB_00016515;\n  }\n  else {\n    *(int *)(puVar12 + -0x38) = iVar4 + 0x12d3e;\n    *(int *)(puVar12 + -0x3c) = iVar9;\n    *(undefined4 *)(puVar12 + -0x40) = 0x1650e;\n    iVar9 = MHD_str_equal_caseless_(*(char **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38));\n    if (iVar9 == 0) goto LAB_00016550;\nLAB_00016515:\n    uVar3 = *(undefined4 *)(iVar10 + 0x38);\n    *(undefined4 *)(iVar2 + 0x80) = *(undefined4 *)(iVar10 + 0x34);\n    *(undefined4 *)(iVar2 + 0x84) = uVar3;\n  }\n  if ((*(int *)(iVar2 + 0xb4) == 4) && (iVar10 = *(int *)(iVar2 + 0x34), iVar10 != 0)) {\n    *(int *)(puVar12 + -0x38) = iVar4 + 0x12d43;\n    *(int *)(puVar12 + -0x3c) = iVar10;\n    *(undefined4 *)(puVar12 + -0x40) = 0x165a7;\n    iVar10 = MHD_str_equal_caseless_(*(char **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38));\n    if (iVar10 == 0) {\n      *(int *)(puVar12 + -0x38) = iVar4 + 0x12d48;\n      *(undefined4 *)(puVar12 + -0x3c) = *(undefined4 *)(iVar2 + 0x34);\n      *(undefined4 *)(puVar12 + -0x40) = 0x16600;\n      iVar4 = MHD_str_equal_caseless_(*(char **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38));\n      if (iVar4 == 0) goto LAB_00016530;\n    }\n    *(undefined1 *)(iVar2 + 0xa9) = 1;\n    *(undefined4 *)(iVar2 + 0xb4) = 9;\n  }\nLAB_00016530:\n  if (*(char *)(iVar2 + 0xab) == '\0') {\n    *(int *)(puVar12 + -0x3c) = iVar2;\n    *(undefined4 *)(puVar12 + -0x40) = 0x165d1;\n    MHD_connection_handle_idle(*(MHD_Connection **)(puVar12 + -0x3c));\n  }\n  return 1;\n}\n\n" comment comment comment comment (function_definition "int MHD_set_connection_option(MHD_Connection *connection,MHD_CONNECTION_OPTION option,...)\n\n{\n  MHD_mutex_ *__mutex;\n  MHD_Daemon *pMVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  MHD_Connection *pMVar5;\n  time_t tVar6;\n  pthread_t pVar7;\n  uint uVar8;\n  int iVar9;\n  int iVar10;\n  MHD_Connection *pMVar11;\n  undefined1 *puVar12;\n  int in_stack_0000000c;\n  undefined1 auStack_1c [8];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16209;\n  puVar12 = auStack_1c;\n  if (option != MHD_CONNECTION_OPTION_TIMEOUT) {\n    return 0;\n  }\n  pMVar1 = connection->daemon;\n  if (connection->connection_timeout == 0) {\n    tVar6 = MHD_monotonic_sec_counter();\n    connection->last_activity = tVar6;\n  }\n  __mutex = &pMVar1->cleanup_connection_mutex;\n  iVar4 = pthread_mutex_lock((pthread_mutex_t *)__mutex);\n  if (iVar4 == 0) {\n    if (((pMVar1->options & MHD_USE_THREAD_PER_CONNECTION) == MHD_NO_FLAG) &&\n       (connection->suspended == false)) {\n      pMVar5 = connection->prevX;\n      pMVar11 = connection->nextX;\n      if (connection->connection_timeout == pMVar1->connection_timeout) {\n        if (pMVar5 == (MHD_Connection *)0x0) {\n          pMVar1->normal_timeout_head = pMVar11;\n        }\n        else {\n          pMVar5->nextX = pMVar11;\n        }\n        pMVar5 = connection->nextX;\n        pMVar11 = connection->prevX;\n        if (pMVar5 != (MHD_Connection *)0x0) goto LAB_00016290;\n        pMVar1->normal_timeout_tail = pMVar11;\n      }\n      else {\n        if (pMVar5 == (MHD_Connection *)0x0) {\n          pMVar1->manual_timeout_head = pMVar11;\n        }\n        else {\n          pMVar5->nextX = pMVar11;\n        }\n        pMVar5 = connection->nextX;\n        pMVar11 = connection->prevX;\n        if (pMVar5 == (MHD_Connection *)0x0) {\n          pMVar1->manual_timeout_tail = pMVar11;\n        }\n        else {\nLAB_00016290:\n          pMVar5->prevX = pMVar11;\n        }\n      }\n      connection->nextX = (MHD_Connection *)0x0;\n      connection->prevX = (MHD_Connection *)0x0;\n    }\n    connection->connection_timeout = in_stack_0000000c;\n    if (((pMVar1->options & MHD_USE_THREAD_PER_CONNECTION) == MHD_NO_FLAG) &&\n       (connection->suspended == false)) {\n      if (in_stack_0000000c == pMVar1->connection_timeout) {\n        pMVar5 = pMVar1->normal_timeout_head;\n        connection->prevX = (MHD_Connection *)0x0;\n        connection->nextX = pMVar5;\n        if (pMVar1->normal_timeout_tail == (MHD_Connection *)0x0) {\n          pMVar1->normal_timeout_tail = connection;\n        }\n        else {\n          pMVar1->normal_timeout_head->prevX = connection;\n        }\n        pMVar1->normal_timeout_head = connection;\n      }\n      else {\n        pMVar5 = pMVar1->manual_timeout_head;\n        connection->prevX = (MHD_Connection *)0x0;\n        connection->nextX = pMVar5;\n        if (pMVar1->manual_timeout_tail == (MHD_Connection *)0x0) {\n          pMVar1->manual_timeout_tail = connection;\n        }\n        else {\n          pMVar1->manual_timeout_head->prevX = connection;\n        }\n        pMVar1->manual_timeout_head = connection;\n      }\n    }\n    iVar4 = pthread_mutex_unlock((pthread_mutex_t *)__mutex);\n    if (iVar4 == 0) {\n      return 1;\n    }\n    puVar12 = &stack0xffffffd4;\n    (*mhd_panic)(mhd_panic_cls,"connection.c",0xfa7,"Failed to unlock mutex.\n");\n  }\n  *(char **)(puVar12 + -4) = "Failed to lock mutex.\n";\n  *(undefined4 *)(puVar12 + -8) = 0xf88;\n  *(char **)(puVar12 + -0xc) = "connection.c";\n  *(void **)(puVar12 + -0x10) = mhd_panic_cls;\n  *(undefined4 *)(puVar12 + -0x14) = 0x16403;\n  (*mhd_panic)(*(void **)(puVar12 + -0x10),*(char **)(puVar12 + -0xc),*(uint *)(puVar12 + -8),\n               *(char **)(puVar12 + -4));\n  *(MHD_mutex_ **)(puVar12 + -0x14) = __mutex;\n  *(MHD_Daemon **)(puVar12 + -0x18) = pMVar1;\n  *(MHD_Connection **)(puVar12 + -0x1c) = connection;\n  *(undefined ***)(puVar12 + -0x20) = &_GLOBAL_OFFSET_TABLE_;\n  *(undefined4 *)(puVar12 + -0x24) = 0x1641b;\n  iVar4 = *(int *)(puVar12 + -0x24);\n  iVar2 = *(int *)(puVar12 + -0xc);\n  iVar10 = *(int *)(puVar12 + -4);\n  if (iVar2 == 0) {\n    return 0;\n  }\n  if (iVar10 == 0) {\n    return 0;\n  }\n  if (*(int *)(iVar2 + 0x24) != 0) {\n    return 0;\n  }\n  if ((*(int *)(iVar2 + 0xb4) != 4) && (*(int *)(iVar2 + 0xb4) != 9)) {\n    return 0;\n  }\n  iVar9 = *(int *)(iVar2 + 0x18);\n  if (*(char *)(iVar9 + 0xe0) != '\0') {\n    return 1;\n  }\n  if ((*(char *)(iVar2 + 0xf1) == '\0') && ((*(byte *)(iVar9 + 0xf8) & 8) != 0)) {\n    *(undefined4 *)(puVar12 + -0x30) = 0x16481;\n    pVar7 = pthread_self();\n    if (pVar7 != *(pthread_t *)(iVar2 + 0x5c)) {\n      iVar4 = iVar4 + 0x13069;\n      goto LAB_00016490;\n    }\n  }\n  if (*(int *)(iVar10 + 0x14) != 0) {\n    if ((*(byte *)(iVar9 + 0xf9) & 0x80) == 0) {\n      iVar4 = iVar4 + 0x13099;\nLAB_00016490:\n      *(int *)(puVar12 + -0x38) = iVar4;\n      *(int *)(puVar12 + -0x3c) = iVar9;\n      *(undefined4 *)(puVar12 + -0x40) = 0x16497;\n      MHD_DLOG(*(MHD_Daemon **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38));\n      return 0;\n    }\n    if (*(int *)(puVar12 + -8) != 0x65) {\n      iVar4 = iVar4 + 0x130e5;\n      goto LAB_00016490;\n    }\n  }\n  *(int *)(puVar12 + -0x3c) = iVar10;\n  *(undefined4 *)(puVar12 + -0x40) = 0x164c8;\n  MHD_increment_response_rc(*(MHD_Response **)(puVar12 + -0x3c));\n  uVar3 = *(undefined4 *)(puVar12 + -8);\n  *(int *)(iVar2 + 0x24) = iVar10;\n  *(undefined4 *)(iVar2 + 0xbc) = uVar3;\n  uVar8 = 0;\n  if (*(int *)(iVar10 + 0x58) != -1) {\n    uVar8 = (*(uint *)(*(int *)(iVar2 + 0x18) + 0xf8) >> 1 ^ 1) & 1;\n  }\n  *(uint *)(iVar2 + 0x88) = uVar8;\n  iVar9 = *(int *)(iVar2 + 0x34);\n  if (iVar9 == 0) {\nLAB_00016550:\n    if ((*(uint *)(puVar12 + -8) < 200 || *(int *)(puVar12 + -8) == 0xcc) ||\n       (*(int *)(puVar12 + -8) == 0x130)) goto LAB_00016515;\n  }\n  else {\n    *(int *)(puVar12 + -0x38) = iVar4 + 0x12d3e;\n    *(int *)(puVar12 + -0x3c) = iVar9;\n    *(undefined4 *)(puVar12 + -0x40) = 0x1650e;\n    iVar9 = MHD_str_equal_caseless_(*(char **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38));\n    if (iVar9 == 0) goto LAB_00016550;\nLAB_00016515:\n    uVar3 = *(undefined4 *)(iVar10 + 0x38);\n    *(undefined4 *)(iVar2 + 0x80) = *(undefined4 *)(iVar10 + 0x34);\n    *(undefined4 *)(iVar2 + 0x84) = uVar3;\n  }\n  if ((*(int *)(iVar2 + 0xb4) == 4) && (iVar10 = *(int *)(iVar2 + 0x34), iVar10 != 0)) {\n    *(int *)(puVar12 + -0x38) = iVar4 + 0x12d43;\n    *(int *)(puVar12 + -0x3c) = iVar10;\n    *(undefined4 *)(puVar12 + -0x40) = 0x165a7;\n    iVar10 = MHD_str_equal_caseless_(*(char **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38));\n    if (iVar10 == 0) {\n      *(int *)(puVar12 + -0x38) = iVar4 + 0x12d48;\n      *(undefined4 *)(puVar12 + -0x3c) = *(undefined4 *)(iVar2 + 0x34);\n      *(undefined4 *)(puVar12 + -0x40) = 0x16600;\n      iVar4 = MHD_str_equal_caseless_(*(char **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38));\n      if (iVar4 == 0) goto LAB_00016530;\n    }\n    *(undefined1 *)(iVar2 + 0xa9) = 1;\n    *(undefined4 *)(iVar2 + 0xb4) = 9;\n  }\nLAB_00016530:\n  if (*(char *)(iVar2 + 0xab) == '\0') {\n    *(int *)(puVar12 + -0x3c) = iVar2;\n    *(undefined4 *)(puVar12 + -0x40) = 0x165d1;\n    MHD_connection_handle_idle(*(MHD_Connection **)(puVar12 + -0x3c));\n  }\n  return 1;\n}" primitive_type (function_declarator "MHD_set_connection_option(MHD_Connection *connection,MHD_CONNECTION_OPTION option,...)" identifier (parameter_list "(MHD_Connection *connection,MHD_CONNECTION_OPTION option,...)" ( (parameter_declaration "MHD_Connection *connection" type_identifier (pointer_declarator "*connection" * identifier)) , (parameter_declaration "MHD_CONNECTION_OPTION option" type_identifier identifier) , (variadic_parameter "..." ...) ))) (compound_statement "{\n  MHD_mutex_ *__mutex;\n  MHD_Daemon *pMVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  MHD_Connection *pMVar5;\n  time_t tVar6;\n  pthread_t pVar7;\n  uint uVar8;\n  int iVar9;\n  int iVar10;\n  MHD_Connection *pMVar11;\n  undefined1 *puVar12;\n  int in_stack_0000000c;\n  undefined1 auStack_1c [8];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16209;\n  puVar12 = auStack_1c;\n  if (option != MHD_CONNECTION_OPTION_TIMEOUT) {\n    return 0;\n  }\n  pMVar1 = connection->daemon;\n  if (connection->connection_timeout == 0) {\n    tVar6 = MHD_monotonic_sec_counter();\n    connection->last_activity = tVar6;\n  }\n  __mutex = &pMVar1->cleanup_connection_mutex;\n  iVar4 = pthread_mutex_lock((pthread_mutex_t *)__mutex);\n  if (iVar4 == 0) {\n    if (((pMVar1->options & MHD_USE_THREAD_PER_CONNECTION) == MHD_NO_FLAG) &&\n       (connection->suspended == false)) {\n      pMVar5 = connection->prevX;\n      pMVar11 = connection->nextX;\n      if (connection->connection_timeout == pMVar1->connection_timeout) {\n        if (pMVar5 == (MHD_Connection *)0x0) {\n          pMVar1->normal_timeout_head = pMVar11;\n        }\n        else {\n          pMVar5->nextX = pMVar11;\n        }\n        pMVar5 = connection->nextX;\n        pMVar11 = connection->prevX;\n        if (pMVar5 != (MHD_Connection *)0x0) goto LAB_00016290;\n        pMVar1->normal_timeout_tail = pMVar11;\n      }\n      else {\n        if (pMVar5 == (MHD_Connection *)0x0) {\n          pMVar1->manual_timeout_head = pMVar11;\n        }\n        else {\n          pMVar5->nextX = pMVar11;\n        }\n        pMVar5 = connection->nextX;\n        pMVar11 = connection->prevX;\n        if (pMVar5 == (MHD_Connection *)0x0) {\n          pMVar1->manual_timeout_tail = pMVar11;\n        }\n        else {\nLAB_00016290:\n          pMVar5->prevX = pMVar11;\n        }\n      }\n      connection->nextX = (MHD_Connection *)0x0;\n      connection->prevX = (MHD_Connection *)0x0;\n    }\n    connection->connection_timeout = in_stack_0000000c;\n    if (((pMVar1->options & MHD_USE_THREAD_PER_CONNECTION) == MHD_NO_FLAG) &&\n       (connection->suspended == false)) {\n      if (in_stack_0000000c == pMVar1->connection_timeout) {\n        pMVar5 = pMVar1->normal_timeout_head;\n        connection->prevX = (MHD_Connection *)0x0;\n        connection->nextX = pMVar5;\n        if (pMVar1->normal_timeout_tail == (MHD_Connection *)0x0) {\n          pMVar1->normal_timeout_tail = connection;\n        }\n        else {\n          pMVar1->normal_timeout_head->prevX = connection;\n        }\n        pMVar1->normal_timeout_head = connection;\n      }\n      else {\n        pMVar5 = pMVar1->manual_timeout_head;\n        connection->prevX = (MHD_Connection *)0x0;\n        connection->nextX = pMVar5;\n        if (pMVar1->manual_timeout_tail == (MHD_Connection *)0x0) {\n          pMVar1->manual_timeout_tail = connection;\n        }\n        else {\n          pMVar1->manual_timeout_head->prevX = connection;\n        }\n        pMVar1->manual_timeout_head = connection;\n      }\n    }\n    iVar4 = pthread_mutex_unlock((pthread_mutex_t *)__mutex);\n    if (iVar4 == 0) {\n      return 1;\n    }\n    puVar12 = &stack0xffffffd4;\n    (*mhd_panic)(mhd_panic_cls,"connection.c",0xfa7,"Failed to unlock mutex.\n");\n  }\n  *(char **)(puVar12 + -4) = "Failed to lock mutex.\n";\n  *(undefined4 *)(puVar12 + -8) = 0xf88;\n  *(char **)(puVar12 + -0xc) = "connection.c";\n  *(void **)(puVar12 + -0x10) = mhd_panic_cls;\n  *(undefined4 *)(puVar12 + -0x14) = 0x16403;\n  (*mhd_panic)(*(void **)(puVar12 + -0x10),*(char **)(puVar12 + -0xc),*(uint *)(puVar12 + -8),\n               *(char **)(puVar12 + -4));\n  *(MHD_mutex_ **)(puVar12 + -0x14) = __mutex;\n  *(MHD_Daemon **)(puVar12 + -0x18) = pMVar1;\n  *(MHD_Connection **)(puVar12 + -0x1c) = connection;\n  *(undefined ***)(puVar12 + -0x20) = &_GLOBAL_OFFSET_TABLE_;\n  *(undefined4 *)(puVar12 + -0x24) = 0x1641b;\n  iVar4 = *(int *)(puVar12 + -0x24);\n  iVar2 = *(int *)(puVar12 + -0xc);\n  iVar10 = *(int *)(puVar12 + -4);\n  if (iVar2 == 0) {\n    return 0;\n  }\n  if (iVar10 == 0) {\n    return 0;\n  }\n  if (*(int *)(iVar2 + 0x24) != 0) {\n    return 0;\n  }\n  if ((*(int *)(iVar2 + 0xb4) != 4) && (*(int *)(iVar2 + 0xb4) != 9)) {\n    return 0;\n  }\n  iVar9 = *(int *)(iVar2 + 0x18);\n  if (*(char *)(iVar9 + 0xe0) != '\0') {\n    return 1;\n  }\n  if ((*(char *)(iVar2 + 0xf1) == '\0') && ((*(byte *)(iVar9 + 0xf8) & 8) != 0)) {\n    *(undefined4 *)(puVar12 + -0x30) = 0x16481;\n    pVar7 = pthread_self();\n    if (pVar7 != *(pthread_t *)(iVar2 + 0x5c)) {\n      iVar4 = iVar4 + 0x13069;\n      goto LAB_00016490;\n    }\n  }\n  if (*(int *)(iVar10 + 0x14) != 0) {\n    if ((*(byte *)(iVar9 + 0xf9) & 0x80) == 0) {\n      iVar4 = iVar4 + 0x13099;\nLAB_00016490:\n      *(int *)(puVar12 + -0x38) = iVar4;\n      *(int *)(puVar12 + -0x3c) = iVar9;\n      *(undefined4 *)(puVar12 + -0x40) = 0x16497;\n      MHD_DLOG(*(MHD_Daemon **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38));\n      return 0;\n    }\n    if (*(int *)(puVar12 + -8) != 0x65) {\n      iVar4 = iVar4 + 0x130e5;\n      goto LAB_00016490;\n    }\n  }\n  *(int *)(puVar12 + -0x3c) = iVar10;\n  *(undefined4 *)(puVar12 + -0x40) = 0x164c8;\n  MHD_increment_response_rc(*(MHD_Response **)(puVar12 + -0x3c));\n  uVar3 = *(undefined4 *)(puVar12 + -8);\n  *(int *)(iVar2 + 0x24) = iVar10;\n  *(undefined4 *)(iVar2 + 0xbc) = uVar3;\n  uVar8 = 0;\n  if (*(int *)(iVar10 + 0x58) != -1) {\n    uVar8 = (*(uint *)(*(int *)(iVar2 + 0x18) + 0xf8) >> 1 ^ 1) & 1;\n  }\n  *(uint *)(iVar2 + 0x88) = uVar8;\n  iVar9 = *(int *)(iVar2 + 0x34);\n  if (iVar9 == 0) {\nLAB_00016550:\n    if ((*(uint *)(puVar12 + -8) < 200 || *(int *)(puVar12 + -8) == 0xcc) ||\n       (*(int *)(puVar12 + -8) == 0x130)) goto LAB_00016515;\n  }\n  else {\n    *(int *)(puVar12 + -0x38) = iVar4 + 0x12d3e;\n    *(int *)(puVar12 + -0x3c) = iVar9;\n    *(undefined4 *)(puVar12 + -0x40) = 0x1650e;\n    iVar9 = MHD_str_equal_caseless_(*(char **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38));\n    if (iVar9 == 0) goto LAB_00016550;\nLAB_00016515:\n    uVar3 = *(undefined4 *)(iVar10 + 0x38);\n    *(undefined4 *)(iVar2 + 0x80) = *(undefined4 *)(iVar10 + 0x34);\n    *(undefined4 *)(iVar2 + 0x84) = uVar3;\n  }\n  if ((*(int *)(iVar2 + 0xb4) == 4) && (iVar10 = *(int *)(iVar2 + 0x34), iVar10 != 0)) {\n    *(int *)(puVar12 + -0x38) = iVar4 + 0x12d43;\n    *(int *)(puVar12 + -0x3c) = iVar10;\n    *(undefined4 *)(puVar12 + -0x40) = 0x165a7;\n    iVar10 = MHD_str_equal_caseless_(*(char **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38));\n    if (iVar10 == 0) {\n      *(int *)(puVar12 + -0x38) = iVar4 + 0x12d48;\n      *(undefined4 *)(puVar12 + -0x3c) = *(undefined4 *)(iVar2 + 0x34);\n      *(undefined4 *)(puVar12 + -0x40) = 0x16600;\n      iVar4 = MHD_str_equal_caseless_(*(char **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38));\n      if (iVar4 == 0) goto LAB_00016530;\n    }\n    *(undefined1 *)(iVar2 + 0xa9) = 1;\n    *(undefined4 *)(iVar2 + 0xb4) = 9;\n  }\nLAB_00016530:\n  if (*(char *)(iVar2 + 0xab) == '\0') {\n    *(int *)(puVar12 + -0x3c) = iVar2;\n    *(undefined4 *)(puVar12 + -0x40) = 0x165d1;\n    MHD_connection_handle_idle(*(MHD_Connection **)(puVar12 + -0x3c));\n  }\n  return 1;\n}" { (declaration "MHD_mutex_ *__mutex;" type_identifier (pointer_declarator "*__mutex" * identifier) ;) (declaration "MHD_Daemon *pMVar1;" type_identifier (pointer_declarator "*pMVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "MHD_Connection *pMVar5;" type_identifier (pointer_declarator "*pMVar5" * identifier) ;) (declaration "time_t tVar6;" type_identifier identifier ;) (declaration "pthread_t pVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "MHD_Connection *pMVar11;" type_identifier (pointer_declarator "*pMVar11" * identifier) ;) (declaration "undefined1 *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "int in_stack_0000000c;" primitive_type identifier ;) (declaration "undefined1 auStack_1c [8];" type_identifier (array_declarator "auStack_1c [8]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x16209;" (assignment_expression "uStack_14 = 0x16209" identifier = number_literal) ;) (expression_statement "puVar12 = auStack_1c;" (assignment_expression "puVar12 = auStack_1c" identifier = identifier) ;) (if_statement "if (option != MHD_CONNECTION_OPTION_TIMEOUT) {\n    return 0;\n  }" if (parenthesized_expression "(option != MHD_CONNECTION_OPTION_TIMEOUT)" ( (binary_expression "option != MHD_CONNECTION_OPTION_TIMEOUT" identifier != identifier) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "pMVar1 = connection->daemon;" (assignment_expression "pMVar1 = connection->daemon" identifier = (field_expression "connection->daemon" identifier -> field_identifier)) ;) (if_statement "if (connection->connection_timeout == 0) {\n    tVar6 = MHD_monotonic_sec_counter();\n    connection->last_activity = tVar6;\n  }" if (parenthesized_expression "(connection->connection_timeout == 0)" ( (binary_expression "connection->connection_timeout == 0" (field_expression "connection->connection_timeout" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n    tVar6 = MHD_monotonic_sec_counter();\n    connection->last_activity = tVar6;\n  }" { (expression_statement "tVar6 = MHD_monotonic_sec_counter();" (assignment_expression "tVar6 = MHD_monotonic_sec_counter()" identifier = (call_expression "MHD_monotonic_sec_counter()" identifier (argument_list "()" ( )))) ;) (expression_statement "connection->last_activity = tVar6;" (assignment_expression "connection->last_activity = tVar6" (field_expression "connection->last_activity" identifier -> field_identifier) = identifier) ;) })) (expression_statement "__mutex = &pMVar1->cleanup_connection_mutex;" (assignment_expression "__mutex = &pMVar1->cleanup_connection_mutex" identifier = (pointer_expression "&pMVar1->cleanup_connection_mutex" & (field_expression "pMVar1->cleanup_connection_mutex" identifier -> field_identifier))) ;) (expression_statement "iVar4 = pthread_mutex_lock((pthread_mutex_t *)__mutex);" (assignment_expression "iVar4 = pthread_mutex_lock((pthread_mutex_t *)__mutex)" identifier = (call_expression "pthread_mutex_lock((pthread_mutex_t *)__mutex)" identifier (argument_list "((pthread_mutex_t *)__mutex)" ( (cast_expression "(pthread_mutex_t *)__mutex" ( (type_descriptor "pthread_mutex_t *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (if_statement "if (iVar4 == 0) {\n    if (((pMVar1->options & MHD_USE_THREAD_PER_CONNECTION) == MHD_NO_FLAG) &&\n       (connection->suspended == false)) {\n      pMVar5 = connection->prevX;\n      pMVar11 = connection->nextX;\n      if (connection->connection_timeout == pMVar1->connection_timeout) {\n        if (pMVar5 == (MHD_Connection *)0x0) {\n          pMVar1->normal_timeout_head = pMVar11;\n        }\n        else {\n          pMVar5->nextX = pMVar11;\n        }\n        pMVar5 = connection->nextX;\n        pMVar11 = connection->prevX;\n        if (pMVar5 != (MHD_Connection *)0x0) goto LAB_00016290;\n        pMVar1->normal_timeout_tail = pMVar11;\n      }\n      else {\n        if (pMVar5 == (MHD_Connection *)0x0) {\n          pMVar1->manual_timeout_head = pMVar11;\n        }\n        else {\n          pMVar5->nextX = pMVar11;\n        }\n        pMVar5 = connection->nextX;\n        pMVar11 = connection->prevX;\n        if (pMVar5 == (MHD_Connection *)0x0) {\n          pMVar1->manual_timeout_tail = pMVar11;\n        }\n        else {\nLAB_00016290:\n          pMVar5->prevX = pMVar11;\n        }\n      }\n      connection->nextX = (MHD_Connection *)0x0;\n      connection->prevX = (MHD_Connection *)0x0;\n    }\n    connection->connection_timeout = in_stack_0000000c;\n    if (((pMVar1->options & MHD_USE_THREAD_PER_CONNECTION) == MHD_NO_FLAG) &&\n       (connection->suspended == false)) {\n      if (in_stack_0000000c == pMVar1->connection_timeout) {\n        pMVar5 = pMVar1->normal_timeout_head;\n        connection->prevX = (MHD_Connection *)0x0;\n        connection->nextX = pMVar5;\n        if (pMVar1->normal_timeout_tail == (MHD_Connection *)0x0) {\n          pMVar1->normal_timeout_tail = connection;\n        }\n        else {\n          pMVar1->normal_timeout_head->prevX = connection;\n        }\n        pMVar1->normal_timeout_head = connection;\n      }\n      else {\n        pMVar5 = pMVar1->manual_timeout_head;\n        connection->prevX = (MHD_Connection *)0x0;\n        connection->nextX = pMVar5;\n        if (pMVar1->manual_timeout_tail == (MHD_Connection *)0x0) {\n          pMVar1->manual_timeout_tail = connection;\n        }\n        else {\n          pMVar1->manual_timeout_head->prevX = connection;\n        }\n        pMVar1->manual_timeout_head = connection;\n      }\n    }\n    iVar4 = pthread_mutex_unlock((pthread_mutex_t *)__mutex);\n    if (iVar4 == 0) {\n      return 1;\n    }\n    puVar12 = &stack0xffffffd4;\n    (*mhd_panic)(mhd_panic_cls,"connection.c",0xfa7,"Failed to unlock mutex.\n");\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    if (((pMVar1->options & MHD_USE_THREAD_PER_CONNECTION) == MHD_NO_FLAG) &&\n       (connection->suspended == false)) {\n      pMVar5 = connection->prevX;\n      pMVar11 = connection->nextX;\n      if (connection->connection_timeout == pMVar1->connection_timeout) {\n        if (pMVar5 == (MHD_Connection *)0x0) {\n          pMVar1->normal_timeout_head = pMVar11;\n        }\n        else {\n          pMVar5->nextX = pMVar11;\n        }\n        pMVar5 = connection->nextX;\n        pMVar11 = connection->prevX;\n        if (pMVar5 != (MHD_Connection *)0x0) goto LAB_00016290;\n        pMVar1->normal_timeout_tail = pMVar11;\n      }\n      else {\n        if (pMVar5 == (MHD_Connection *)0x0) {\n          pMVar1->manual_timeout_head = pMVar11;\n        }\n        else {\n          pMVar5->nextX = pMVar11;\n        }\n        pMVar5 = connection->nextX;\n        pMVar11 = connection->prevX;\n        if (pMVar5 == (MHD_Connection *)0x0) {\n          pMVar1->manual_timeout_tail = pMVar11;\n        }\n        else {\nLAB_00016290:\n          pMVar5->prevX = pMVar11;\n        }\n      }\n      connection->nextX = (MHD_Connection *)0x0;\n      connection->prevX = (MHD_Connection *)0x0;\n    }\n    connection->connection_timeout = in_stack_0000000c;\n    if (((pMVar1->options & MHD_USE_THREAD_PER_CONNECTION) == MHD_NO_FLAG) &&\n       (connection->suspended == false)) {\n      if (in_stack_0000000c == pMVar1->connection_timeout) {\n        pMVar5 = pMVar1->normal_timeout_head;\n        connection->prevX = (MHD_Connection *)0x0;\n        connection->nextX = pMVar5;\n        if (pMVar1->normal_timeout_tail == (MHD_Connection *)0x0) {\n          pMVar1->normal_timeout_tail = connection;\n        }\n        else {\n          pMVar1->normal_timeout_head->prevX = connection;\n        }\n        pMVar1->normal_timeout_head = connection;\n      }\n      else {\n        pMVar5 = pMVar1->manual_timeout_head;\n        connection->prevX = (MHD_Connection *)0x0;\n        connection->nextX = pMVar5;\n        if (pMVar1->manual_timeout_tail == (MHD_Connection *)0x0) {\n          pMVar1->manual_timeout_tail = connection;\n        }\n        else {\n          pMVar1->manual_timeout_head->prevX = connection;\n        }\n        pMVar1->manual_timeout_head = connection;\n      }\n    }\n    iVar4 = pthread_mutex_unlock((pthread_mutex_t *)__mutex);\n    if (iVar4 == 0) {\n      return 1;\n    }\n    puVar12 = &stack0xffffffd4;\n    (*mhd_panic)(mhd_panic_cls,"connection.c",0xfa7,"Failed to unlock mutex.\n");\n  }" { (if_statement "if (((pMVar1->options & MHD_USE_THREAD_PER_CONNECTION) == MHD_NO_FLAG) &&\n       (connection->suspended == false)) {\n      pMVar5 = connection->prevX;\n      pMVar11 = connection->nextX;\n      if (connection->connection_timeout == pMVar1->connection_timeout) {\n        if (pMVar5 == (MHD_Connection *)0x0) {\n          pMVar1->normal_timeout_head = pMVar11;\n        }\n        else {\n          pMVar5->nextX = pMVar11;\n        }\n        pMVar5 = connection->nextX;\n        pMVar11 = connection->prevX;\n        if (pMVar5 != (MHD_Connection *)0x0) goto LAB_00016290;\n        pMVar1->normal_timeout_tail = pMVar11;\n      }\n      else {\n        if (pMVar5 == (MHD_Connection *)0x0) {\n          pMVar1->manual_timeout_head = pMVar11;\n        }\n        else {\n          pMVar5->nextX = pMVar11;\n        }\n        pMVar5 = connection->nextX;\n        pMVar11 = connection->prevX;\n        if (pMVar5 == (MHD_Connection *)0x0) {\n          pMVar1->manual_timeout_tail = pMVar11;\n        }\n        else {\nLAB_00016290:\n          pMVar5->prevX = pMVar11;\n        }\n      }\n      connection->nextX = (MHD_Connection *)0x0;\n      connection->prevX = (MHD_Connection *)0x0;\n    }" if (parenthesized_expression "(((pMVar1->options & MHD_USE_THREAD_PER_CONNECTION) == MHD_NO_FLAG) &&\n       (connection->suspended == false))" ( (binary_expression "((pMVar1->options & MHD_USE_THREAD_PER_CONNECTION) == MHD_NO_FLAG) &&\n       (connection->suspended == false)" (parenthesized_expression "((pMVar1->options & MHD_USE_THREAD_PER_CONNECTION) == MHD_NO_FLAG)" ( (binary_expression "(pMVar1->options & MHD_USE_THREAD_PER_CONNECTION) == MHD_NO_FLAG" (parenthesized_expression "(pMVar1->options & MHD_USE_THREAD_PER_CONNECTION)" ( (binary_expression "pMVar1->options & MHD_USE_THREAD_PER_CONNECTION" (field_expression "pMVar1->options" identifier -> field_identifier) & identifier) )) == identifier) )) && (parenthesized_expression "(connection->suspended == false)" ( (binary_expression "connection->suspended == false" (field_expression "connection->suspended" identifier -> field_identifier) == false) ))) )) (compound_statement "{\n      pMVar5 = connection->prevX;\n      pMVar11 = connection->nextX;\n      if (connection->connection_timeout == pMVar1->connection_timeout) {\n        if (pMVar5 == (MHD_Connection *)0x0) {\n          pMVar1->normal_timeout_head = pMVar11;\n        }\n        else {\n          pMVar5->nextX = pMVar11;\n        }\n        pMVar5 = connection->nextX;\n        pMVar11 = connection->prevX;\n        if (pMVar5 != (MHD_Connection *)0x0) goto LAB_00016290;\n        pMVar1->normal_timeout_tail = pMVar11;\n      }\n      else {\n        if (pMVar5 == (MHD_Connection *)0x0) {\n          pMVar1->manual_timeout_head = pMVar11;\n        }\n        else {\n          pMVar5->nextX = pMVar11;\n        }\n        pMVar5 = connection->nextX;\n        pMVar11 = connection->prevX;\n        if (pMVar5 == (MHD_Connection *)0x0) {\n          pMVar1->manual_timeout_tail = pMVar11;\n        }\n        else {\nLAB_00016290:\n          pMVar5->prevX = pMVar11;\n        }\n      }\n      connection->nextX = (MHD_Connection *)0x0;\n      connection->prevX = (MHD_Connection *)0x0;\n    }" { (expression_statement "pMVar5 = connection->prevX;" (assignment_expression "pMVar5 = connection->prevX" identifier = (field_expression "connection->prevX" identifier -> field_identifier)) ;) (expression_statement "pMVar11 = connection->nextX;" (assignment_expression "pMVar11 = connection->nextX" identifier = (field_expression "connection->nextX" identifier -> field_identifier)) ;) (if_statement "if (connection->connection_timeout == pMVar1->connection_timeout) {\n        if (pMVar5 == (MHD_Connection *)0x0) {\n          pMVar1->normal_timeout_head = pMVar11;\n        }\n        else {\n          pMVar5->nextX = pMVar11;\n        }\n        pMVar5 = connection->nextX;\n        pMVar11 = connection->prevX;\n        if (pMVar5 != (MHD_Connection *)0x0) goto LAB_00016290;\n        pMVar1->normal_timeout_tail = pMVar11;\n      }\n      else {\n        if (pMVar5 == (MHD_Connection *)0x0) {\n          pMVar1->manual_timeout_head = pMVar11;\n        }\n        else {\n          pMVar5->nextX = pMVar11;\n        }\n        pMVar5 = connection->nextX;\n        pMVar11 = connection->prevX;\n        if (pMVar5 == (MHD_Connection *)0x0) {\n          pMVar1->manual_timeout_tail = pMVar11;\n        }\n        else {\nLAB_00016290:\n          pMVar5->prevX = pMVar11;\n        }\n      }" if (parenthesized_expression "(connection->connection_timeout == pMVar1->connection_timeout)" ( (binary_expression "connection->connection_timeout == pMVar1->connection_timeout" (field_expression "connection->connection_timeout" identifier -> field_identifier) == (field_expression "pMVar1->connection_timeout" identifier -> field_identifier)) )) (compound_statement "{\n        if (pMVar5 == (MHD_Connection *)0x0) {\n          pMVar1->normal_timeout_head = pMVar11;\n        }\n        else {\n          pMVar5->nextX = pMVar11;\n        }\n        pMVar5 = connection->nextX;\n        pMVar11 = connection->prevX;\n        if (pMVar5 != (MHD_Connection *)0x0) goto LAB_00016290;\n        pMVar1->normal_timeout_tail = pMVar11;\n      }" { (if_statement "if (pMVar5 == (MHD_Connection *)0x0) {\n          pMVar1->normal_timeout_head = pMVar11;\n        }\n        else {\n          pMVar5->nextX = pMVar11;\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          pMVar1->normal_timeout_head = pMVar11;\n        }" { (expression_statement "pMVar1->normal_timeout_head = pMVar11;" (assignment_expression "pMVar1->normal_timeout_head = pMVar11" (field_expression "pMVar1->normal_timeout_head" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\n          pMVar5->nextX = pMVar11;\n        }" else (compound_statement "{\n          pMVar5->nextX = pMVar11;\n        }" { (expression_statement "pMVar5->nextX = pMVar11;" (assignment_expression "pMVar5->nextX = pMVar11" (field_expression "pMVar5->nextX" identifier -> field_identifier) = identifier) ;) }))) (expression_statement "pMVar5 = connection->nextX;" (assignment_expression "pMVar5 = connection->nextX" identifier = (field_expression "connection->nextX" identifier -> field_identifier)) ;) (expression_statement "pMVar11 = connection->prevX;" (assignment_expression "pMVar11 = connection->prevX" identifier = (field_expression "connection->prevX" identifier -> field_identifier)) ;) (if_statement "if (pMVar5 != (MHD_Connection *)0x0) goto LAB_00016290;" 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_00016290;" goto statement_identifier ;)) (expression_statement "pMVar1->normal_timeout_tail = pMVar11;" (assignment_expression "pMVar1->normal_timeout_tail = pMVar11" (field_expression "pMVar1->normal_timeout_tail" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\n        if (pMVar5 == (MHD_Connection *)0x0) {\n          pMVar1->manual_timeout_head = pMVar11;\n        }\n        else {\n          pMVar5->nextX = pMVar11;\n        }\n        pMVar5 = connection->nextX;\n        pMVar11 = connection->prevX;\n        if (pMVar5 == (MHD_Connection *)0x0) {\n          pMVar1->manual_timeout_tail = pMVar11;\n        }\n        else {\nLAB_00016290:\n          pMVar5->prevX = pMVar11;\n        }\n      }" else (compound_statement "{\n        if (pMVar5 == (MHD_Connection *)0x0) {\n          pMVar1->manual_timeout_head = pMVar11;\n        }\n        else {\n          pMVar5->nextX = pMVar11;\n        }\n        pMVar5 = connection->nextX;\n        pMVar11 = connection->prevX;\n        if (pMVar5 == (MHD_Connection *)0x0) {\n          pMVar1->manual_timeout_tail = pMVar11;\n        }\n        else {\nLAB_00016290:\n          pMVar5->prevX = pMVar11;\n        }\n      }" { (if_statement "if (pMVar5 == (MHD_Connection *)0x0) {\n          pMVar1->manual_timeout_head = pMVar11;\n        }\n        else {\n          pMVar5->nextX = pMVar11;\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          pMVar1->manual_timeout_head = pMVar11;\n        }" { (expression_statement "pMVar1->manual_timeout_head = pMVar11;" (assignment_expression "pMVar1->manual_timeout_head = pMVar11" (field_expression "pMVar1->manual_timeout_head" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\n          pMVar5->nextX = pMVar11;\n        }" else (compound_statement "{\n          pMVar5->nextX = pMVar11;\n        }" { (expression_statement "pMVar5->nextX = pMVar11;" (assignment_expression "pMVar5->nextX = pMVar11" (field_expression "pMVar5->nextX" identifier -> field_identifier) = identifier) ;) }))) (expression_statement "pMVar5 = connection->nextX;" (assignment_expression "pMVar5 = connection->nextX" identifier = (field_expression "connection->nextX" identifier -> field_identifier)) ;) (expression_statement "pMVar11 = connection->prevX;" (assignment_expression "pMVar11 = connection->prevX" identifier = (field_expression "connection->prevX" identifier -> field_identifier)) ;) (if_statement "if (pMVar5 == (MHD_Connection *)0x0) {\n          pMVar1->manual_timeout_tail = pMVar11;\n        }\n        else {\nLAB_00016290:\n          pMVar5->prevX = pMVar11;\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          pMVar1->manual_timeout_tail = pMVar11;\n        }" { (expression_statement "pMVar1->manual_timeout_tail = pMVar11;" (assignment_expression "pMVar1->manual_timeout_tail = pMVar11" (field_expression "pMVar1->manual_timeout_tail" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\nLAB_00016290:\n          pMVar5->prevX = pMVar11;\n        }" else (compound_statement "{\nLAB_00016290:\n          pMVar5->prevX = pMVar11;\n        }" { (labeled_statement "LAB_00016290:\n          pMVar5->prevX = pMVar11;" statement_identifier : (expression_statement "pMVar5->prevX = pMVar11;" (assignment_expression "pMVar5->prevX = pMVar11" (field_expression "pMVar5->prevX" identifier -> field_identifier) = identifier) ;)) }))) }))) (expression_statement "connection->nextX = (MHD_Connection *)0x0;" (assignment_expression "connection->nextX = (MHD_Connection *)0x0" (field_expression "connection->nextX" identifier -> field_identifier) = (cast_expression "(MHD_Connection *)0x0" ( (type_descriptor "MHD_Connection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "connection->prevX = (MHD_Connection *)0x0;" (assignment_expression "connection->prevX = (MHD_Connection *)0x0" (field_expression "connection->prevX" identifier -> field_identifier) = (cast_expression "(MHD_Connection *)0x0" ( (type_descriptor "MHD_Connection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (expression_statement "connection->connection_timeout = in_stack_0000000c;" (assignment_expression "connection->connection_timeout = in_stack_0000000c" (field_expression "connection->connection_timeout" identifier -> field_identifier) = identifier) ;) (if_statement "if (((pMVar1->options & MHD_USE_THREAD_PER_CONNECTION) == MHD_NO_FLAG) &&\n       (connection->suspended == false)) {\n      if (in_stack_0000000c == pMVar1->connection_timeout) {\n        pMVar5 = pMVar1->normal_timeout_head;\n        connection->prevX = (MHD_Connection *)0x0;\n        connection->nextX = pMVar5;\n        if (pMVar1->normal_timeout_tail == (MHD_Connection *)0x0) {\n          pMVar1->normal_timeout_tail = connection;\n        }\n        else {\n          pMVar1->normal_timeout_head->prevX = connection;\n        }\n        pMVar1->normal_timeout_head = connection;\n      }\n      else {\n        pMVar5 = pMVar1->manual_timeout_head;\n        connection->prevX = (MHD_Connection *)0x0;\n        connection->nextX = pMVar5;\n        if (pMVar1->manual_timeout_tail == (MHD_Connection *)0x0) {\n          pMVar1->manual_timeout_tail = connection;\n        }\n        else {\n          pMVar1->manual_timeout_head->prevX = connection;\n        }\n        pMVar1->manual_timeout_head = connection;\n      }\n    }" if (parenthesized_expression "(((pMVar1->options & MHD_USE_THREAD_PER_CONNECTION) == MHD_NO_FLAG) &&\n       (connection->suspended == false))" ( (binary_expression "((pMVar1->options & MHD_USE_THREAD_PER_CONNECTION) == MHD_NO_FLAG) &&\n       (connection->suspended == false)" (parenthesized_expression "((pMVar1->options & MHD_USE_THREAD_PER_CONNECTION) == MHD_NO_FLAG)" ( (binary_expression "(pMVar1->options & MHD_USE_THREAD_PER_CONNECTION) == MHD_NO_FLAG" (parenthesized_expression "(pMVar1->options & MHD_USE_THREAD_PER_CONNECTION)" ( (binary_expression "pMVar1->options & MHD_USE_THREAD_PER_CONNECTION" (field_expression "pMVar1->options" identifier -> field_identifier) & identifier) )) == identifier) )) && (parenthesized_expression "(connection->suspended == false)" ( (binary_expression "connection->suspended == false" (field_expression "connection->suspended" identifier -> field_identifier) == false) ))) )) (compound_statement "{\n      if (in_stack_0000000c == pMVar1->connection_timeout) {\n        pMVar5 = pMVar1->normal_timeout_head;\n        connection->prevX = (MHD_Connection *)0x0;\n        connection->nextX = pMVar5;\n        if (pMVar1->normal_timeout_tail == (MHD_Connection *)0x0) {\n          pMVar1->normal_timeout_tail = connection;\n        }\n        else {\n          pMVar1->normal_timeout_head->prevX = connection;\n        }\n        pMVar1->normal_timeout_head = connection;\n      }\n      else {\n        pMVar5 = pMVar1->manual_timeout_head;\n        connection->prevX = (MHD_Connection *)0x0;\n        connection->nextX = pMVar5;\n        if (pMVar1->manual_timeout_tail == (MHD_Connection *)0x0) {\n          pMVar1->manual_timeout_tail = connection;\n        }\n        else {\n          pMVar1->manual_timeout_head->prevX = connection;\n        }\n        pMVar1->manual_timeout_head = connection;\n      }\n    }" { (if_statement "if (in_stack_0000000c == pMVar1->connection_timeout) {\n        pMVar5 = pMVar1->normal_timeout_head;\n        connection->prevX = (MHD_Connection *)0x0;\n        connection->nextX = pMVar5;\n        if (pMVar1->normal_timeout_tail == (MHD_Connection *)0x0) {\n          pMVar1->normal_timeout_tail = connection;\n        }\n        else {\n          pMVar1->normal_timeout_head->prevX = connection;\n        }\n        pMVar1->normal_timeout_head = connection;\n      }\n      else {\n        pMVar5 = pMVar1->manual_timeout_head;\n        connection->prevX = (MHD_Connection *)0x0;\n        connection->nextX = pMVar5;\n        if (pMVar1->manual_timeout_tail == (MHD_Connection *)0x0) {\n          pMVar1->manual_timeout_tail = connection;\n        }\n        else {\n          pMVar1->manual_timeout_head->prevX = connection;\n        }\n        pMVar1->manual_timeout_head = connection;\n      }" if (parenthesized_expression "(in_stack_0000000c == pMVar1->connection_timeout)" ( (binary_expression "in_stack_0000000c == pMVar1->connection_timeout" identifier == (field_expression "pMVar1->connection_timeout" identifier -> field_identifier)) )) (compound_statement "{\n        pMVar5 = pMVar1->normal_timeout_head;\n        connection->prevX = (MHD_Connection *)0x0;\n        connection->nextX = pMVar5;\n        if (pMVar1->normal_timeout_tail == (MHD_Connection *)0x0) {\n          pMVar1->normal_timeout_tail = connection;\n        }\n        else {\n          pMVar1->normal_timeout_head->prevX = connection;\n        }\n        pMVar1->normal_timeout_head = connection;\n      }" { (expression_statement "pMVar5 = pMVar1->normal_timeout_head;" (assignment_expression "pMVar5 = pMVar1->normal_timeout_head" identifier = (field_expression "pMVar1->normal_timeout_head" identifier -> field_identifier)) ;) (expression_statement "connection->prevX = (MHD_Connection *)0x0;" (assignment_expression "connection->prevX = (MHD_Connection *)0x0" (field_expression "connection->prevX" identifier -> field_identifier) = (cast_expression "(MHD_Connection *)0x0" ( (type_descriptor "MHD_Connection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "connection->nextX = pMVar5;" (assignment_expression "connection->nextX = pMVar5" (field_expression "connection->nextX" identifier -> field_identifier) = identifier) ;) (if_statement "if (pMVar1->normal_timeout_tail == (MHD_Connection *)0x0) {\n          pMVar1->normal_timeout_tail = connection;\n        }\n        else {\n          pMVar1->normal_timeout_head->prevX = connection;\n        }" if (parenthesized_expression "(pMVar1->normal_timeout_tail == (MHD_Connection *)0x0)" ( (binary_expression "pMVar1->normal_timeout_tail == (MHD_Connection *)0x0" (field_expression "pMVar1->normal_timeout_tail" identifier -> field_identifier) == (cast_expression "(MHD_Connection *)0x0" ( (type_descriptor "MHD_Connection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          pMVar1->normal_timeout_tail = connection;\n        }" { (expression_statement "pMVar1->normal_timeout_tail = connection;" (assignment_expression "pMVar1->normal_timeout_tail = connection" (field_expression "pMVar1->normal_timeout_tail" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\n          pMVar1->normal_timeout_head->prevX = connection;\n        }" else (compound_statement "{\n          pMVar1->normal_timeout_head->prevX = connection;\n        }" { (expression_statement "pMVar1->normal_timeout_head->prevX = connection;" (assignment_expression "pMVar1->normal_timeout_head->prevX = connection" (field_expression "pMVar1->normal_timeout_head->prevX" (field_expression "pMVar1->normal_timeout_head" identifier -> field_identifier) -> field_identifier) = identifier) ;) }))) (expression_statement "pMVar1->normal_timeout_head = connection;" (assignment_expression "pMVar1->normal_timeout_head = connection" (field_expression "pMVar1->normal_timeout_head" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\n        pMVar5 = pMVar1->manual_timeout_head;\n        connection->prevX = (MHD_Connection *)0x0;\n        connection->nextX = pMVar5;\n        if (pMVar1->manual_timeout_tail == (MHD_Connection *)0x0) {\n          pMVar1->manual_timeout_tail = connection;\n        }\n        else {\n          pMVar1->manual_timeout_head->prevX = connection;\n        }\n        pMVar1->manual_timeout_head = connection;\n      }" else (compound_statement "{\n        pMVar5 = pMVar1->manual_timeout_head;\n        connection->prevX = (MHD_Connection *)0x0;\n        connection->nextX = pMVar5;\n        if (pMVar1->manual_timeout_tail == (MHD_Connection *)0x0) {\n          pMVar1->manual_timeout_tail = connection;\n        }\n        else {\n          pMVar1->manual_timeout_head->prevX = connection;\n        }\n        pMVar1->manual_timeout_head = connection;\n      }" { (expression_statement "pMVar5 = pMVar1->manual_timeout_head;" (assignment_expression "pMVar5 = pMVar1->manual_timeout_head" identifier = (field_expression "pMVar1->manual_timeout_head" identifier -> field_identifier)) ;) (expression_statement "connection->prevX = (MHD_Connection *)0x0;" (assignment_expression "connection->prevX = (MHD_Connection *)0x0" (field_expression "connection->prevX" identifier -> field_identifier) = (cast_expression "(MHD_Connection *)0x0" ( (type_descriptor "MHD_Connection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "connection->nextX = pMVar5;" (assignment_expression "connection->nextX = pMVar5" (field_expression "connection->nextX" identifier -> field_identifier) = identifier) ;) (if_statement "if (pMVar1->manual_timeout_tail == (MHD_Connection *)0x0) {\n          pMVar1->manual_timeout_tail = connection;\n        }\n        else {\n          pMVar1->manual_timeout_head->prevX = connection;\n        }" if (parenthesized_expression "(pMVar1->manual_timeout_tail == (MHD_Connection *)0x0)" ( (binary_expression "pMVar1->manual_timeout_tail == (MHD_Connection *)0x0" (field_expression "pMVar1->manual_timeout_tail" identifier -> field_identifier) == (cast_expression "(MHD_Connection *)0x0" ( (type_descriptor "MHD_Connection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          pMVar1->manual_timeout_tail = connection;\n        }" { (expression_statement "pMVar1->manual_timeout_tail = connection;" (assignment_expression "pMVar1->manual_timeout_tail = connection" (field_expression "pMVar1->manual_timeout_tail" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\n          pMVar1->manual_timeout_head->prevX = connection;\n        }" else (compound_statement "{\n          pMVar1->manual_timeout_head->prevX = connection;\n        }" { (expression_statement "pMVar1->manual_timeout_head->prevX = connection;" (assignment_expression "pMVar1->manual_timeout_head->prevX = connection" (field_expression "pMVar1->manual_timeout_head->prevX" (field_expression "pMVar1->manual_timeout_head" identifier -> field_identifier) -> field_identifier) = identifier) ;) }))) (expression_statement "pMVar1->manual_timeout_head = connection;" (assignment_expression "pMVar1->manual_timeout_head = connection" (field_expression "pMVar1->manual_timeout_head" identifier -> field_identifier) = identifier) ;) }))) })) (expression_statement "iVar4 = pthread_mutex_unlock((pthread_mutex_t *)__mutex);" (assignment_expression "iVar4 = pthread_mutex_unlock((pthread_mutex_t *)__mutex)" identifier = (call_expression "pthread_mutex_unlock((pthread_mutex_t *)__mutex)" identifier (argument_list "((pthread_mutex_t *)__mutex)" ( (cast_expression "(pthread_mutex_t *)__mutex" ( (type_descriptor "pthread_mutex_t *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (if_statement "if (iVar4 == 0) {\n      return 1;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "puVar12 = &stack0xffffffd4;" (assignment_expression "puVar12 = &stack0xffffffd4" identifier = (pointer_expression "&stack0xffffffd4" & identifier)) ;) (expression_statement "(*mhd_panic)(mhd_panic_cls,"connection.c",0xfa7,"Failed to unlock mutex.\n");" (call_expression "(*mhd_panic)(mhd_panic_cls,"connection.c",0xfa7,"Failed to unlock mutex.\n")" (parenthesized_expression "(*mhd_panic)" ( (pointer_expression "*mhd_panic" * identifier) )) (argument_list "(mhd_panic_cls,"connection.c",0xfa7,"Failed to unlock mutex.\n")" ( identifier , (string_literal ""connection.c"" " string_content ") , number_literal , (string_literal ""Failed to unlock mutex.\n"" " string_content escape_sequence ") ))) ;) })) (expression_statement "*(char **)(puVar12 + -4) = "Failed to lock mutex.\n";" (assignment_expression "*(char **)(puVar12 + -4) = "Failed to lock mutex.\n"" (pointer_expression "*(char **)(puVar12 + -4)" * (cast_expression "(char **)(puVar12 + -4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + -4)" ( (binary_expression "puVar12 + -4" identifier + number_literal) )))) = (string_literal ""Failed to lock mutex.\n"" " string_content escape_sequence ")) ;) (expression_statement "*(undefined4 *)(puVar12 + -8) = 0xf88;" (assignment_expression "*(undefined4 *)(puVar12 + -8) = 0xf88" (pointer_expression "*(undefined4 *)(puVar12 + -8)" * (cast_expression "(undefined4 *)(puVar12 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -8)" ( (binary_expression "puVar12 + -8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(char **)(puVar12 + -0xc) = "connection.c";" (assignment_expression "*(char **)(puVar12 + -0xc) = "connection.c"" (pointer_expression "*(char **)(puVar12 + -0xc)" * (cast_expression "(char **)(puVar12 + -0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + -0xc)" ( (binary_expression "puVar12 + -0xc" identifier + number_literal) )))) = (string_literal ""connection.c"" " string_content ")) ;) (expression_statement "*(void **)(puVar12 + -0x10) = mhd_panic_cls;" (assignment_expression "*(void **)(puVar12 + -0x10) = mhd_panic_cls" (pointer_expression "*(void **)(puVar12 + -0x10)" * (cast_expression "(void **)(puVar12 + -0x10)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + -0x10)" ( (binary_expression "puVar12 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar12 + -0x14) = 0x16403;" (assignment_expression "*(undefined4 *)(puVar12 + -0x14) = 0x16403" (pointer_expression "*(undefined4 *)(puVar12 + -0x14)" * (cast_expression "(undefined4 *)(puVar12 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -0x14)" ( (binary_expression "puVar12 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "(*mhd_panic)(*(void **)(puVar12 + -0x10),*(char **)(puVar12 + -0xc),*(uint *)(puVar12 + -8),\n               *(char **)(puVar12 + -4));" (call_expression "(*mhd_panic)(*(void **)(puVar12 + -0x10),*(char **)(puVar12 + -0xc),*(uint *)(puVar12 + -8),\n               *(char **)(puVar12 + -4))" (parenthesized_expression "(*mhd_panic)" ( (pointer_expression "*mhd_panic" * identifier) )) (argument_list "(*(void **)(puVar12 + -0x10),*(char **)(puVar12 + -0xc),*(uint *)(puVar12 + -8),\n               *(char **)(puVar12 + -4))" ( (pointer_expression "*(void **)(puVar12 + -0x10)" * (cast_expression "(void **)(puVar12 + -0x10)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + -0x10)" ( (binary_expression "puVar12 + -0x10" identifier + number_literal) )))) , (pointer_expression "*(char **)(puVar12 + -0xc)" * (cast_expression "(char **)(puVar12 + -0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + -0xc)" ( (binary_expression "puVar12 + -0xc" identifier + number_literal) )))) , (pointer_expression "*(uint *)(puVar12 + -8)" * (cast_expression "(uint *)(puVar12 + -8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -8)" ( (binary_expression "puVar12 + -8" identifier + number_literal) )))) , (pointer_expression "*(char **)(puVar12 + -4)" * (cast_expression "(char **)(puVar12 + -4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + -4)" ( (binary_expression "puVar12 + -4" identifier + number_literal) )))) ))) ;) (expression_statement "*(MHD_mutex_ **)(puVar12 + -0x14) = __mutex;" (assignment_expression "*(MHD_mutex_ **)(puVar12 + -0x14) = __mutex" (pointer_expression "*(MHD_mutex_ **)(puVar12 + -0x14)" * (cast_expression "(MHD_mutex_ **)(puVar12 + -0x14)" ( (type_descriptor "MHD_mutex_ **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + -0x14)" ( (binary_expression "puVar12 + -0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(MHD_Daemon **)(puVar12 + -0x18) = pMVar1;" (assignment_expression "*(MHD_Daemon **)(puVar12 + -0x18) = pMVar1" (pointer_expression "*(MHD_Daemon **)(puVar12 + -0x18)" * (cast_expression "(MHD_Daemon **)(puVar12 + -0x18)" ( (type_descriptor "MHD_Daemon **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + -0x18)" ( (binary_expression "puVar12 + -0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(MHD_Connection **)(puVar12 + -0x1c) = connection;" (assignment_expression "*(MHD_Connection **)(puVar12 + -0x1c) = connection" (pointer_expression "*(MHD_Connection **)(puVar12 + -0x1c)" * (cast_expression "(MHD_Connection **)(puVar12 + -0x1c)" ( (type_descriptor "MHD_Connection **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + -0x1c)" ( (binary_expression "puVar12 + -0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined ***)(puVar12 + -0x20) = &_GLOBAL_OFFSET_TABLE_;" (assignment_expression "*(undefined ***)(puVar12 + -0x20) = &_GLOBAL_OFFSET_TABLE_" (pointer_expression "*(undefined ***)(puVar12 + -0x20)" * (cast_expression "(undefined ***)(puVar12 + -0x20)" ( (type_descriptor "undefined ***" type_identifier (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) (parenthesized_expression "(puVar12 + -0x20)" ( (binary_expression "puVar12 + -0x20" identifier + number_literal) )))) = (pointer_expression "&_GLOBAL_OFFSET_TABLE_" & identifier)) ;) (expression_statement "*(undefined4 *)(puVar12 + -0x24) = 0x1641b;" (assignment_expression "*(undefined4 *)(puVar12 + -0x24) = 0x1641b" (pointer_expression "*(undefined4 *)(puVar12 + -0x24)" * (cast_expression "(undefined4 *)(puVar12 + -0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -0x24)" ( (binary_expression "puVar12 + -0x24" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar4 = *(int *)(puVar12 + -0x24);" (assignment_expression "iVar4 = *(int *)(puVar12 + -0x24)" identifier = (pointer_expression "*(int *)(puVar12 + -0x24)" * (cast_expression "(int *)(puVar12 + -0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -0x24)" ( (binary_expression "puVar12 + -0x24" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)(puVar12 + -0xc);" (assignment_expression "iVar2 = *(int *)(puVar12 + -0xc)" identifier = (pointer_expression "*(int *)(puVar12 + -0xc)" * (cast_expression "(int *)(puVar12 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -0xc)" ( (binary_expression "puVar12 + -0xc" identifier + number_literal) ))))) ;) (expression_statement "iVar10 = *(int *)(puVar12 + -4);" (assignment_expression "iVar10 = *(int *)(puVar12 + -4)" identifier = (pointer_expression "*(int *)(puVar12 + -4)" * (cast_expression "(int *)(puVar12 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -4)" ( (binary_expression "puVar12 + -4" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (iVar10 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (*(int *)(iVar2 + 0x24) != 0) {\n    return 0;\n  }" if (parenthesized_expression "(*(int *)(iVar2 + 0x24) != 0)" ( (binary_expression "*(int *)(iVar2 + 0x24) != 0" (pointer_expression "*(int *)(iVar2 + 0x24)" * (cast_expression "(int *)(iVar2 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x24)" ( (binary_expression "iVar2 + 0x24" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((*(int *)(iVar2 + 0xb4) != 4) && (*(int *)(iVar2 + 0xb4) != 9)) {\n    return 0;\n  }" if (parenthesized_expression "((*(int *)(iVar2 + 0xb4) != 4) && (*(int *)(iVar2 + 0xb4) != 9))" ( (binary_expression "(*(int *)(iVar2 + 0xb4) != 4) && (*(int *)(iVar2 + 0xb4) != 9)" (parenthesized_expression "(*(int *)(iVar2 + 0xb4) != 4)" ( (binary_expression "*(int *)(iVar2 + 0xb4) != 4" (pointer_expression "*(int *)(iVar2 + 0xb4)" * (cast_expression "(int *)(iVar2 + 0xb4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xb4)" ( (binary_expression "iVar2 + 0xb4" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(*(int *)(iVar2 + 0xb4) != 9)" ( (binary_expression "*(int *)(iVar2 + 0xb4) != 9" (pointer_expression "*(int *)(iVar2 + 0xb4)" * (cast_expression "(int *)(iVar2 + 0xb4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xb4)" ( (binary_expression "iVar2 + 0xb4" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar9 = *(int *)(iVar2 + 0x18);" (assignment_expression "iVar9 = *(int *)(iVar2 + 0x18)" identifier = (pointer_expression "*(int *)(iVar2 + 0x18)" * (cast_expression "(int *)(iVar2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (*(char *)(iVar9 + 0xe0) != '\0') {\n    return 1;\n  }" if (parenthesized_expression "(*(char *)(iVar9 + 0xe0) != '\0')" ( (binary_expression "*(char *)(iVar9 + 0xe0) != '\0'" (pointer_expression "*(char *)(iVar9 + 0xe0)" * (cast_expression "(char *)(iVar9 + 0xe0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0xe0)" ( (binary_expression "iVar9 + 0xe0" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if ((*(char *)(iVar2 + 0xf1) == '\0') && ((*(byte *)(iVar9 + 0xf8) & 8) != 0)) {\n    *(undefined4 *)(puVar12 + -0x30) = 0x16481;\n    pVar7 = pthread_self();\n    if (pVar7 != *(pthread_t *)(iVar2 + 0x5c)) {\n      iVar4 = iVar4 + 0x13069;\n      goto LAB_00016490;\n    }\n  }" if (parenthesized_expression "((*(char *)(iVar2 + 0xf1) == '\0') && ((*(byte *)(iVar9 + 0xf8) & 8) != 0))" ( (binary_expression "(*(char *)(iVar2 + 0xf1) == '\0') && ((*(byte *)(iVar9 + 0xf8) & 8) != 0)" (parenthesized_expression "(*(char *)(iVar2 + 0xf1) == '\0')" ( (binary_expression "*(char *)(iVar2 + 0xf1) == '\0'" (pointer_expression "*(char *)(iVar2 + 0xf1)" * (cast_expression "(char *)(iVar2 + 0xf1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xf1)" ( (binary_expression "iVar2 + 0xf1" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "((*(byte *)(iVar9 + 0xf8) & 8) != 0)" ( (binary_expression "(*(byte *)(iVar9 + 0xf8) & 8) != 0" (parenthesized_expression "(*(byte *)(iVar9 + 0xf8) & 8)" ( (binary_expression "*(byte *)(iVar9 + 0xf8) & 8" (pointer_expression "*(byte *)(iVar9 + 0xf8)" * (cast_expression "(byte *)(iVar9 + 0xf8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0xf8)" ( (binary_expression "iVar9 + 0xf8" identifier + number_literal) )))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    *(undefined4 *)(puVar12 + -0x30) = 0x16481;\n    pVar7 = pthread_self();\n    if (pVar7 != *(pthread_t *)(iVar2 + 0x5c)) {\n      iVar4 = iVar4 + 0x13069;\n      goto LAB_00016490;\n    }\n  }" { (expression_statement "*(undefined4 *)(puVar12 + -0x30) = 0x16481;" (assignment_expression "*(undefined4 *)(puVar12 + -0x30) = 0x16481" (pointer_expression "*(undefined4 *)(puVar12 + -0x30)" * (cast_expression "(undefined4 *)(puVar12 + -0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -0x30)" ( (binary_expression "puVar12 + -0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "pVar7 = pthread_self();" (assignment_expression "pVar7 = pthread_self()" identifier = (call_expression "pthread_self()" identifier (argument_list "()" ( )))) ;) (if_statement "if (pVar7 != *(pthread_t *)(iVar2 + 0x5c)) {\n      iVar4 = iVar4 + 0x13069;\n      goto LAB_00016490;\n    }" if (parenthesized_expression "(pVar7 != *(pthread_t *)(iVar2 + 0x5c))" ( (binary_expression "pVar7 != *(pthread_t *)(iVar2 + 0x5c)" identifier != (pointer_expression "*(pthread_t *)(iVar2 + 0x5c)" * (cast_expression "(pthread_t *)(iVar2 + 0x5c)" ( (type_descriptor "pthread_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x5c)" ( (binary_expression "iVar2 + 0x5c" identifier + number_literal) ))))) )) (compound_statement "{\n      iVar4 = iVar4 + 0x13069;\n      goto LAB_00016490;\n    }" { (expression_statement "iVar4 = iVar4 + 0x13069;" (assignment_expression "iVar4 = iVar4 + 0x13069" identifier = (binary_expression "iVar4 + 0x13069" identifier + number_literal)) ;) (goto_statement "goto LAB_00016490;" goto statement_identifier ;) })) })) (if_statement "if (*(int *)(iVar10 + 0x14) != 0) {\n    if ((*(byte *)(iVar9 + 0xf9) & 0x80) == 0) {\n      iVar4 = iVar4 + 0x13099;\nLAB_00016490:\n      *(int *)(puVar12 + -0x38) = iVar4;\n      *(int *)(puVar12 + -0x3c) = iVar9;\n      *(undefined4 *)(puVar12 + -0x40) = 0x16497;\n      MHD_DLOG(*(MHD_Daemon **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38));\n      return 0;\n    }\n    if (*(int *)(puVar12 + -8) != 0x65) {\n      iVar4 = iVar4 + 0x130e5;\n      goto LAB_00016490;\n    }\n  }" if (parenthesized_expression "(*(int *)(iVar10 + 0x14) != 0)" ( (binary_expression "*(int *)(iVar10 + 0x14) != 0" (pointer_expression "*(int *)(iVar10 + 0x14)" * (cast_expression "(int *)(iVar10 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x14)" ( (binary_expression "iVar10 + 0x14" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    if ((*(byte *)(iVar9 + 0xf9) & 0x80) == 0) {\n      iVar4 = iVar4 + 0x13099;\nLAB_00016490:\n      *(int *)(puVar12 + -0x38) = iVar4;\n      *(int *)(puVar12 + -0x3c) = iVar9;\n      *(undefined4 *)(puVar12 + -0x40) = 0x16497;\n      MHD_DLOG(*(MHD_Daemon **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38));\n      return 0;\n    }\n    if (*(int *)(puVar12 + -8) != 0x65) {\n      iVar4 = iVar4 + 0x130e5;\n      goto LAB_00016490;\n    }\n  }" { (if_statement "if ((*(byte *)(iVar9 + 0xf9) & 0x80) == 0) {\n      iVar4 = iVar4 + 0x13099;\nLAB_00016490:\n      *(int *)(puVar12 + -0x38) = iVar4;\n      *(int *)(puVar12 + -0x3c) = iVar9;\n      *(undefined4 *)(puVar12 + -0x40) = 0x16497;\n      MHD_DLOG(*(MHD_Daemon **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38));\n      return 0;\n    }" if (parenthesized_expression "((*(byte *)(iVar9 + 0xf9) & 0x80) == 0)" ( (binary_expression "(*(byte *)(iVar9 + 0xf9) & 0x80) == 0" (parenthesized_expression "(*(byte *)(iVar9 + 0xf9) & 0x80)" ( (binary_expression "*(byte *)(iVar9 + 0xf9) & 0x80" (pointer_expression "*(byte *)(iVar9 + 0xf9)" * (cast_expression "(byte *)(iVar9 + 0xf9)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0xf9)" ( (binary_expression "iVar9 + 0xf9" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n      iVar4 = iVar4 + 0x13099;\nLAB_00016490:\n      *(int *)(puVar12 + -0x38) = iVar4;\n      *(int *)(puVar12 + -0x3c) = iVar9;\n      *(undefined4 *)(puVar12 + -0x40) = 0x16497;\n      MHD_DLOG(*(MHD_Daemon **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38));\n      return 0;\n    }" { (expression_statement "iVar4 = iVar4 + 0x13099;" (assignment_expression "iVar4 = iVar4 + 0x13099" identifier = (binary_expression "iVar4 + 0x13099" identifier + number_literal)) ;) (labeled_statement "LAB_00016490:\n      *(int *)(puVar12 + -0x38) = iVar4;" statement_identifier : (expression_statement "*(int *)(puVar12 + -0x38) = iVar4;" (assignment_expression "*(int *)(puVar12 + -0x38) = iVar4" (pointer_expression "*(int *)(puVar12 + -0x38)" * (cast_expression "(int *)(puVar12 + -0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -0x38)" ( (binary_expression "puVar12 + -0x38" identifier + number_literal) )))) = identifier) ;)) (expression_statement "*(int *)(puVar12 + -0x3c) = iVar9;" (assignment_expression "*(int *)(puVar12 + -0x3c) = iVar9" (pointer_expression "*(int *)(puVar12 + -0x3c)" * (cast_expression "(int *)(puVar12 + -0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -0x3c)" ( (binary_expression "puVar12 + -0x3c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar12 + -0x40) = 0x16497;" (assignment_expression "*(undefined4 *)(puVar12 + -0x40) = 0x16497" (pointer_expression "*(undefined4 *)(puVar12 + -0x40)" * (cast_expression "(undefined4 *)(puVar12 + -0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -0x40)" ( (binary_expression "puVar12 + -0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "MHD_DLOG(*(MHD_Daemon **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38));" (call_expression "MHD_DLOG(*(MHD_Daemon **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38))" identifier (argument_list "(*(MHD_Daemon **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38))" ( (pointer_expression "*(MHD_Daemon **)(puVar12 + -0x3c)" * (cast_expression "(MHD_Daemon **)(puVar12 + -0x3c)" ( (type_descriptor "MHD_Daemon **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + -0x3c)" ( (binary_expression "puVar12 + -0x3c" identifier + number_literal) )))) , (pointer_expression "*(char **)(puVar12 + -0x38)" * (cast_expression "(char **)(puVar12 + -0x38)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + -0x38)" ( (binary_expression "puVar12 + -0x38" identifier + number_literal) )))) ))) ;) (return_statement "return 0;" return number_literal ;) })) (if_statement "if (*(int *)(puVar12 + -8) != 0x65) {\n      iVar4 = iVar4 + 0x130e5;\n      goto LAB_00016490;\n    }" if (parenthesized_expression "(*(int *)(puVar12 + -8) != 0x65)" ( (binary_expression "*(int *)(puVar12 + -8) != 0x65" (pointer_expression "*(int *)(puVar12 + -8)" * (cast_expression "(int *)(puVar12 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -8)" ( (binary_expression "puVar12 + -8" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      iVar4 = iVar4 + 0x130e5;\n      goto LAB_00016490;\n    }" { (expression_statement "iVar4 = iVar4 + 0x130e5;" (assignment_expression "iVar4 = iVar4 + 0x130e5" identifier = (binary_expression "iVar4 + 0x130e5" identifier + number_literal)) ;) (goto_statement "goto LAB_00016490;" goto statement_identifier ;) })) })) (expression_statement "*(int *)(puVar12 + -0x3c) = iVar10;" (assignment_expression "*(int *)(puVar12 + -0x3c) = iVar10" (pointer_expression "*(int *)(puVar12 + -0x3c)" * (cast_expression "(int *)(puVar12 + -0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -0x3c)" ( (binary_expression "puVar12 + -0x3c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar12 + -0x40) = 0x164c8;" (assignment_expression "*(undefined4 *)(puVar12 + -0x40) = 0x164c8" (pointer_expression "*(undefined4 *)(puVar12 + -0x40)" * (cast_expression "(undefined4 *)(puVar12 + -0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -0x40)" ( (binary_expression "puVar12 + -0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "MHD_increment_response_rc(*(MHD_Response **)(puVar12 + -0x3c));" (call_expression "MHD_increment_response_rc(*(MHD_Response **)(puVar12 + -0x3c))" identifier (argument_list "(*(MHD_Response **)(puVar12 + -0x3c))" ( (pointer_expression "*(MHD_Response **)(puVar12 + -0x3c)" * (cast_expression "(MHD_Response **)(puVar12 + -0x3c)" ( (type_descriptor "MHD_Response **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + -0x3c)" ( (binary_expression "puVar12 + -0x3c" identifier + number_literal) )))) ))) ;) (expression_statement "uVar3 = *(undefined4 *)(puVar12 + -8);" (assignment_expression "uVar3 = *(undefined4 *)(puVar12 + -8)" identifier = (pointer_expression "*(undefined4 *)(puVar12 + -8)" * (cast_expression "(undefined4 *)(puVar12 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -8)" ( (binary_expression "puVar12 + -8" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(iVar2 + 0x24) = iVar10;" (assignment_expression "*(int *)(iVar2 + 0x24) = iVar10" (pointer_expression "*(int *)(iVar2 + 0x24)" * (cast_expression "(int *)(iVar2 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x24)" ( (binary_expression "iVar2 + 0x24" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar2 + 0xbc) = uVar3;" (assignment_expression "*(undefined4 *)(iVar2 + 0xbc) = uVar3" (pointer_expression "*(undefined4 *)(iVar2 + 0xbc)" * (cast_expression "(undefined4 *)(iVar2 + 0xbc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xbc)" ( (binary_expression "iVar2 + 0xbc" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (if_statement "if (*(int *)(iVar10 + 0x58) != -1) {\n    uVar8 = (*(uint *)(*(int *)(iVar2 + 0x18) + 0xf8) >> 1 ^ 1) & 1;\n  }" if (parenthesized_expression "(*(int *)(iVar10 + 0x58) != -1)" ( (binary_expression "*(int *)(iVar10 + 0x58) != -1" (pointer_expression "*(int *)(iVar10 + 0x58)" * (cast_expression "(int *)(iVar10 + 0x58)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x58)" ( (binary_expression "iVar10 + 0x58" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    uVar8 = (*(uint *)(*(int *)(iVar2 + 0x18) + 0xf8) >> 1 ^ 1) & 1;\n  }" { (expression_statement "uVar8 = (*(uint *)(*(int *)(iVar2 + 0x18) + 0xf8) >> 1 ^ 1) & 1;" (assignment_expression "uVar8 = (*(uint *)(*(int *)(iVar2 + 0x18) + 0xf8) >> 1 ^ 1) & 1" identifier = (binary_expression "(*(uint *)(*(int *)(iVar2 + 0x18) + 0xf8) >> 1 ^ 1) & 1" (parenthesized_expression "(*(uint *)(*(int *)(iVar2 + 0x18) + 0xf8) >> 1 ^ 1)" ( (binary_expression "*(uint *)(*(int *)(iVar2 + 0x18) + 0xf8) >> 1 ^ 1" (binary_expression "*(uint *)(*(int *)(iVar2 + 0x18) + 0xf8) >> 1" (pointer_expression "*(uint *)(*(int *)(iVar2 + 0x18) + 0xf8)" * (cast_expression "(uint *)(*(int *)(iVar2 + 0x18) + 0xf8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar2 + 0x18) + 0xf8)" ( (binary_expression "*(int *)(iVar2 + 0x18) + 0xf8" (pointer_expression "*(int *)(iVar2 + 0x18)" * (cast_expression "(int *)(iVar2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) )))) + number_literal) )))) >> number_literal) ^ number_literal) )) & number_literal)) ;) })) (expression_statement "*(uint *)(iVar2 + 0x88) = uVar8;" (assignment_expression "*(uint *)(iVar2 + 0x88) = uVar8" (pointer_expression "*(uint *)(iVar2 + 0x88)" * (cast_expression "(uint *)(iVar2 + 0x88)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x88)" ( (binary_expression "iVar2 + 0x88" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar9 = *(int *)(iVar2 + 0x34);" (assignment_expression "iVar9 = *(int *)(iVar2 + 0x34)" identifier = (pointer_expression "*(int *)(iVar2 + 0x34)" * (cast_expression "(int *)(iVar2 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x34)" ( (binary_expression "iVar2 + 0x34" identifier + number_literal) ))))) ;) (if_statement "if (iVar9 == 0) {\nLAB_00016550:\n    if ((*(uint *)(puVar12 + -8) < 200 || *(int *)(puVar12 + -8) == 0xcc) ||\n       (*(int *)(puVar12 + -8) == 0x130)) goto LAB_00016515;\n  }\n  else {\n    *(int *)(puVar12 + -0x38) = iVar4 + 0x12d3e;\n    *(int *)(puVar12 + -0x3c) = iVar9;\n    *(undefined4 *)(puVar12 + -0x40) = 0x1650e;\n    iVar9 = MHD_str_equal_caseless_(*(char **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38));\n    if (iVar9 == 0) goto LAB_00016550;\nLAB_00016515:\n    uVar3 = *(undefined4 *)(iVar10 + 0x38);\n    *(undefined4 *)(iVar2 + 0x80) = *(undefined4 *)(iVar10 + 0x34);\n    *(undefined4 *)(iVar2 + 0x84) = uVar3;\n  }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00016550:\n    if ((*(uint *)(puVar12 + -8) < 200 || *(int *)(puVar12 + -8) == 0xcc) ||\n       (*(int *)(puVar12 + -8) == 0x130)) goto LAB_00016515;\n  }" { (labeled_statement "LAB_00016550:\n    if ((*(uint *)(puVar12 + -8) < 200 || *(int *)(puVar12 + -8) == 0xcc) ||\n       (*(int *)(puVar12 + -8) == 0x130)) goto LAB_00016515;" statement_identifier : (if_statement "if ((*(uint *)(puVar12 + -8) < 200 || *(int *)(puVar12 + -8) == 0xcc) ||\n       (*(int *)(puVar12 + -8) == 0x130)) goto LAB_00016515;" if (parenthesized_expression "((*(uint *)(puVar12 + -8) < 200 || *(int *)(puVar12 + -8) == 0xcc) ||\n       (*(int *)(puVar12 + -8) == 0x130))" ( (binary_expression "(*(uint *)(puVar12 + -8) < 200 || *(int *)(puVar12 + -8) == 0xcc) ||\n       (*(int *)(puVar12 + -8) == 0x130)" (parenthesized_expression "(*(uint *)(puVar12 + -8) < 200 || *(int *)(puVar12 + -8) == 0xcc)" ( (binary_expression "*(uint *)(puVar12 + -8) < 200 || *(int *)(puVar12 + -8) == 0xcc" (binary_expression "*(uint *)(puVar12 + -8) < 200" (pointer_expression "*(uint *)(puVar12 + -8)" * (cast_expression "(uint *)(puVar12 + -8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -8)" ( (binary_expression "puVar12 + -8" identifier + number_literal) )))) < number_literal) || (binary_expression "*(int *)(puVar12 + -8) == 0xcc" (pointer_expression "*(int *)(puVar12 + -8)" * (cast_expression "(int *)(puVar12 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -8)" ( (binary_expression "puVar12 + -8" identifier + number_literal) )))) == number_literal)) )) || (parenthesized_expression "(*(int *)(puVar12 + -8) == 0x130)" ( (binary_expression "*(int *)(puVar12 + -8) == 0x130" (pointer_expression "*(int *)(puVar12 + -8)" * (cast_expression "(int *)(puVar12 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -8)" ( (binary_expression "puVar12 + -8" identifier + number_literal) )))) == number_literal) ))) )) (goto_statement "goto LAB_00016515;" goto statement_identifier ;))) }) (else_clause "else {\n    *(int *)(puVar12 + -0x38) = iVar4 + 0x12d3e;\n    *(int *)(puVar12 + -0x3c) = iVar9;\n    *(undefined4 *)(puVar12 + -0x40) = 0x1650e;\n    iVar9 = MHD_str_equal_caseless_(*(char **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38));\n    if (iVar9 == 0) goto LAB_00016550;\nLAB_00016515:\n    uVar3 = *(undefined4 *)(iVar10 + 0x38);\n    *(undefined4 *)(iVar2 + 0x80) = *(undefined4 *)(iVar10 + 0x34);\n    *(undefined4 *)(iVar2 + 0x84) = uVar3;\n  }" else (compound_statement "{\n    *(int *)(puVar12 + -0x38) = iVar4 + 0x12d3e;\n    *(int *)(puVar12 + -0x3c) = iVar9;\n    *(undefined4 *)(puVar12 + -0x40) = 0x1650e;\n    iVar9 = MHD_str_equal_caseless_(*(char **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38));\n    if (iVar9 == 0) goto LAB_00016550;\nLAB_00016515:\n    uVar3 = *(undefined4 *)(iVar10 + 0x38);\n    *(undefined4 *)(iVar2 + 0x80) = *(undefined4 *)(iVar10 + 0x34);\n    *(undefined4 *)(iVar2 + 0x84) = uVar3;\n  }" { (expression_statement "*(int *)(puVar12 + -0x38) = iVar4 + 0x12d3e;" (assignment_expression "*(int *)(puVar12 + -0x38) = iVar4 + 0x12d3e" (pointer_expression "*(int *)(puVar12 + -0x38)" * (cast_expression "(int *)(puVar12 + -0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -0x38)" ( (binary_expression "puVar12 + -0x38" identifier + number_literal) )))) = (binary_expression "iVar4 + 0x12d3e" identifier + number_literal)) ;) (expression_statement "*(int *)(puVar12 + -0x3c) = iVar9;" (assignment_expression "*(int *)(puVar12 + -0x3c) = iVar9" (pointer_expression "*(int *)(puVar12 + -0x3c)" * (cast_expression "(int *)(puVar12 + -0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -0x3c)" ( (binary_expression "puVar12 + -0x3c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar12 + -0x40) = 0x1650e;" (assignment_expression "*(undefined4 *)(puVar12 + -0x40) = 0x1650e" (pointer_expression "*(undefined4 *)(puVar12 + -0x40)" * (cast_expression "(undefined4 *)(puVar12 + -0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -0x40)" ( (binary_expression "puVar12 + -0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar9 = MHD_str_equal_caseless_(*(char **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38));" (assignment_expression "iVar9 = MHD_str_equal_caseless_(*(char **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38))" identifier = (call_expression "MHD_str_equal_caseless_(*(char **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38))" identifier (argument_list "(*(char **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38))" ( (pointer_expression "*(char **)(puVar12 + -0x3c)" * (cast_expression "(char **)(puVar12 + -0x3c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + -0x3c)" ( (binary_expression "puVar12 + -0x3c" identifier + number_literal) )))) , (pointer_expression "*(char **)(puVar12 + -0x38)" * (cast_expression "(char **)(puVar12 + -0x38)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + -0x38)" ( (binary_expression "puVar12 + -0x38" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar9 == 0) goto LAB_00016550;" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00016550;" goto statement_identifier ;)) (labeled_statement "LAB_00016515:\n    uVar3 = *(undefined4 *)(iVar10 + 0x38);" statement_identifier : (expression_statement "uVar3 = *(undefined4 *)(iVar10 + 0x38);" (assignment_expression "uVar3 = *(undefined4 *)(iVar10 + 0x38)" identifier = (pointer_expression "*(undefined4 *)(iVar10 + 0x38)" * (cast_expression "(undefined4 *)(iVar10 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x38)" ( (binary_expression "iVar10 + 0x38" identifier + number_literal) ))))) ;)) (expression_statement "*(undefined4 *)(iVar2 + 0x80) = *(undefined4 *)(iVar10 + 0x34);" (assignment_expression "*(undefined4 *)(iVar2 + 0x80) = *(undefined4 *)(iVar10 + 0x34)" (pointer_expression "*(undefined4 *)(iVar2 + 0x80)" * (cast_expression "(undefined4 *)(iVar2 + 0x80)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x80)" ( (binary_expression "iVar2 + 0x80" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar10 + 0x34)" * (cast_expression "(undefined4 *)(iVar10 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x34)" ( (binary_expression "iVar10 + 0x34" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar2 + 0x84) = uVar3;" (assignment_expression "*(undefined4 *)(iVar2 + 0x84) = uVar3" (pointer_expression "*(undefined4 *)(iVar2 + 0x84)" * (cast_expression "(undefined4 *)(iVar2 + 0x84)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x84)" ( (binary_expression "iVar2 + 0x84" identifier + number_literal) )))) = identifier) ;) }))) (if_statement "if ((*(int *)(iVar2 + 0xb4) == 4) && (iVar10 = *(int *)(iVar2 + 0x34), iVar10 != 0)) {\n    *(int *)(puVar12 + -0x38) = iVar4 + 0x12d43;\n    *(int *)(puVar12 + -0x3c) = iVar10;\n    *(undefined4 *)(puVar12 + -0x40) = 0x165a7;\n    iVar10 = MHD_str_equal_caseless_(*(char **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38));\n    if (iVar10 == 0) {\n      *(int *)(puVar12 + -0x38) = iVar4 + 0x12d48;\n      *(undefined4 *)(puVar12 + -0x3c) = *(undefined4 *)(iVar2 + 0x34);\n      *(undefined4 *)(puVar12 + -0x40) = 0x16600;\n      iVar4 = MHD_str_equal_caseless_(*(char **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38));\n      if (iVar4 == 0) goto LAB_00016530;\n    }\n    *(undefined1 *)(iVar2 + 0xa9) = 1;\n    *(undefined4 *)(iVar2 + 0xb4) = 9;\n  }" if (parenthesized_expression "((*(int *)(iVar2 + 0xb4) == 4) && (iVar10 = *(int *)(iVar2 + 0x34), iVar10 != 0))" ( (binary_expression "(*(int *)(iVar2 + 0xb4) == 4) && (iVar10 = *(int *)(iVar2 + 0x34), iVar10 != 0)" (parenthesized_expression "(*(int *)(iVar2 + 0xb4) == 4)" ( (binary_expression "*(int *)(iVar2 + 0xb4) == 4" (pointer_expression "*(int *)(iVar2 + 0xb4)" * (cast_expression "(int *)(iVar2 + 0xb4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xb4)" ( (binary_expression "iVar2 + 0xb4" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(iVar10 = *(int *)(iVar2 + 0x34), iVar10 != 0)" ( (comma_expression "iVar10 = *(int *)(iVar2 + 0x34), iVar10 != 0" (assignment_expression "iVar10 = *(int *)(iVar2 + 0x34)" identifier = (pointer_expression "*(int *)(iVar2 + 0x34)" * (cast_expression "(int *)(iVar2 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x34)" ( (binary_expression "iVar2 + 0x34" identifier + number_literal) ))))) , (binary_expression "iVar10 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    *(int *)(puVar12 + -0x38) = iVar4 + 0x12d43;\n    *(int *)(puVar12 + -0x3c) = iVar10;\n    *(undefined4 *)(puVar12 + -0x40) = 0x165a7;\n    iVar10 = MHD_str_equal_caseless_(*(char **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38));\n    if (iVar10 == 0) {\n      *(int *)(puVar12 + -0x38) = iVar4 + 0x12d48;\n      *(undefined4 *)(puVar12 + -0x3c) = *(undefined4 *)(iVar2 + 0x34);\n      *(undefined4 *)(puVar12 + -0x40) = 0x16600;\n      iVar4 = MHD_str_equal_caseless_(*(char **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38));\n      if (iVar4 == 0) goto LAB_00016530;\n    }\n    *(undefined1 *)(iVar2 + 0xa9) = 1;\n    *(undefined4 *)(iVar2 + 0xb4) = 9;\n  }" { (expression_statement "*(int *)(puVar12 + -0x38) = iVar4 + 0x12d43;" (assignment_expression "*(int *)(puVar12 + -0x38) = iVar4 + 0x12d43" (pointer_expression "*(int *)(puVar12 + -0x38)" * (cast_expression "(int *)(puVar12 + -0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -0x38)" ( (binary_expression "puVar12 + -0x38" identifier + number_literal) )))) = (binary_expression "iVar4 + 0x12d43" identifier + number_literal)) ;) (expression_statement "*(int *)(puVar12 + -0x3c) = iVar10;" (assignment_expression "*(int *)(puVar12 + -0x3c) = iVar10" (pointer_expression "*(int *)(puVar12 + -0x3c)" * (cast_expression "(int *)(puVar12 + -0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -0x3c)" ( (binary_expression "puVar12 + -0x3c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar12 + -0x40) = 0x165a7;" (assignment_expression "*(undefined4 *)(puVar12 + -0x40) = 0x165a7" (pointer_expression "*(undefined4 *)(puVar12 + -0x40)" * (cast_expression "(undefined4 *)(puVar12 + -0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -0x40)" ( (binary_expression "puVar12 + -0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar10 = MHD_str_equal_caseless_(*(char **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38));" (assignment_expression "iVar10 = MHD_str_equal_caseless_(*(char **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38))" identifier = (call_expression "MHD_str_equal_caseless_(*(char **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38))" identifier (argument_list "(*(char **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38))" ( (pointer_expression "*(char **)(puVar12 + -0x3c)" * (cast_expression "(char **)(puVar12 + -0x3c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + -0x3c)" ( (binary_expression "puVar12 + -0x3c" identifier + number_literal) )))) , (pointer_expression "*(char **)(puVar12 + -0x38)" * (cast_expression "(char **)(puVar12 + -0x38)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + -0x38)" ( (binary_expression "puVar12 + -0x38" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar10 == 0) {\n      *(int *)(puVar12 + -0x38) = iVar4 + 0x12d48;\n      *(undefined4 *)(puVar12 + -0x3c) = *(undefined4 *)(iVar2 + 0x34);\n      *(undefined4 *)(puVar12 + -0x40) = 0x16600;\n      iVar4 = MHD_str_equal_caseless_(*(char **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38));\n      if (iVar4 == 0) goto LAB_00016530;\n    }" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (compound_statement "{\n      *(int *)(puVar12 + -0x38) = iVar4 + 0x12d48;\n      *(undefined4 *)(puVar12 + -0x3c) = *(undefined4 *)(iVar2 + 0x34);\n      *(undefined4 *)(puVar12 + -0x40) = 0x16600;\n      iVar4 = MHD_str_equal_caseless_(*(char **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38));\n      if (iVar4 == 0) goto LAB_00016530;\n    }" { (expression_statement "*(int *)(puVar12 + -0x38) = iVar4 + 0x12d48;" (assignment_expression "*(int *)(puVar12 + -0x38) = iVar4 + 0x12d48" (pointer_expression "*(int *)(puVar12 + -0x38)" * (cast_expression "(int *)(puVar12 + -0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -0x38)" ( (binary_expression "puVar12 + -0x38" identifier + number_literal) )))) = (binary_expression "iVar4 + 0x12d48" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(puVar12 + -0x3c) = *(undefined4 *)(iVar2 + 0x34);" (assignment_expression "*(undefined4 *)(puVar12 + -0x3c) = *(undefined4 *)(iVar2 + 0x34)" (pointer_expression "*(undefined4 *)(puVar12 + -0x3c)" * (cast_expression "(undefined4 *)(puVar12 + -0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -0x3c)" ( (binary_expression "puVar12 + -0x3c" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar2 + 0x34)" * (cast_expression "(undefined4 *)(iVar2 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x34)" ( (binary_expression "iVar2 + 0x34" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar12 + -0x40) = 0x16600;" (assignment_expression "*(undefined4 *)(puVar12 + -0x40) = 0x16600" (pointer_expression "*(undefined4 *)(puVar12 + -0x40)" * (cast_expression "(undefined4 *)(puVar12 + -0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -0x40)" ( (binary_expression "puVar12 + -0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar4 = MHD_str_equal_caseless_(*(char **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38));" (assignment_expression "iVar4 = MHD_str_equal_caseless_(*(char **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38))" identifier = (call_expression "MHD_str_equal_caseless_(*(char **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38))" identifier (argument_list "(*(char **)(puVar12 + -0x3c),*(char **)(puVar12 + -0x38))" ( (pointer_expression "*(char **)(puVar12 + -0x3c)" * (cast_expression "(char **)(puVar12 + -0x3c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + -0x3c)" ( (binary_expression "puVar12 + -0x3c" identifier + number_literal) )))) , (pointer_expression "*(char **)(puVar12 + -0x38)" * (cast_expression "(char **)(puVar12 + -0x38)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + -0x38)" ( (binary_expression "puVar12 + -0x38" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar4 == 0) goto LAB_00016530;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00016530;" goto statement_identifier ;)) })) (expression_statement "*(undefined1 *)(iVar2 + 0xa9) = 1;" (assignment_expression "*(undefined1 *)(iVar2 + 0xa9) = 1" (pointer_expression "*(undefined1 *)(iVar2 + 0xa9)" * (cast_expression "(undefined1 *)(iVar2 + 0xa9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xa9)" ( (binary_expression "iVar2 + 0xa9" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar2 + 0xb4) = 9;" (assignment_expression "*(undefined4 *)(iVar2 + 0xb4) = 9" (pointer_expression "*(undefined4 *)(iVar2 + 0xb4)" * (cast_expression "(undefined4 *)(iVar2 + 0xb4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xb4)" ( (binary_expression "iVar2 + 0xb4" identifier + number_literal) )))) = number_literal) ;) })) (labeled_statement "LAB_00016530:\n  if (*(char *)(iVar2 + 0xab) == '\0') {\n    *(int *)(puVar12 + -0x3c) = iVar2;\n    *(undefined4 *)(puVar12 + -0x40) = 0x165d1;\n    MHD_connection_handle_idle(*(MHD_Connection **)(puVar12 + -0x3c));\n  }" statement_identifier : (if_statement "if (*(char *)(iVar2 + 0xab) == '\0') {\n    *(int *)(puVar12 + -0x3c) = iVar2;\n    *(undefined4 *)(puVar12 + -0x40) = 0x165d1;\n    MHD_connection_handle_idle(*(MHD_Connection **)(puVar12 + -0x3c));\n  }" if (parenthesized_expression "(*(char *)(iVar2 + 0xab) == '\0')" ( (binary_expression "*(char *)(iVar2 + 0xab) == '\0'" (pointer_expression "*(char *)(iVar2 + 0xab)" * (cast_expression "(char *)(iVar2 + 0xab)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xab)" ( (binary_expression "iVar2 + 0xab" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    *(int *)(puVar12 + -0x3c) = iVar2;\n    *(undefined4 *)(puVar12 + -0x40) = 0x165d1;\n    MHD_connection_handle_idle(*(MHD_Connection **)(puVar12 + -0x3c));\n  }" { (expression_statement "*(int *)(puVar12 + -0x3c) = iVar2;" (assignment_expression "*(int *)(puVar12 + -0x3c) = iVar2" (pointer_expression "*(int *)(puVar12 + -0x3c)" * (cast_expression "(int *)(puVar12 + -0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -0x3c)" ( (binary_expression "puVar12 + -0x3c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar12 + -0x40) = 0x165d1;" (assignment_expression "*(undefined4 *)(puVar12 + -0x40) = 0x165d1" (pointer_expression "*(undefined4 *)(puVar12 + -0x40)" * (cast_expression "(undefined4 *)(puVar12 + -0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -0x40)" ( (binary_expression "puVar12 + -0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "MHD_connection_handle_idle(*(MHD_Connection **)(puVar12 + -0x3c));" (call_expression "MHD_connection_handle_idle(*(MHD_Connection **)(puVar12 + -0x3c))" identifier (argument_list "(*(MHD_Connection **)(puVar12 + -0x3c))" ( (pointer_expression "*(MHD_Connection **)(puVar12 + -0x3c)" * (cast_expression "(MHD_Connection **)(puVar12 + -0x3c)" ( (type_descriptor "MHD_Connection **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + -0x3c)" ( (binary_expression "puVar12 + -0x3c" identifier + number_literal) )))) ))) ;) }))) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "undefined4 MHD_set_connection_option(int param_1,int param_2,int param_3)\n\n{\n  pthread_mutex_t *__mutex;\n  int iVar1;\n  undefined4 uVar2;\n  pthread_t pVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  undefined1 *puVar8;\n  undefined1 auStack_1c [8];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16209;\n  puVar8 = auStack_1c;\n  if (param_2 != 0) {\n    return 0;\n  }\n  iVar7 = *(int *)(param_1 + 0x18);\n  if (*(int *)(param_1 + 0x98) == 0) {\n    uVar2 = FUN_00021230();\n    *(undefined4 *)(param_1 + 0x94) = uVar2;\n  }\n  __mutex = (pthread_mutex_t *)(iVar7 + 0xac);\n  iVar1 = pthread_mutex_lock(__mutex);\n  if (iVar1 == 0) {\n    if (((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')) {\n      iVar1 = *(int *)(param_1 + 0x14);\n      uVar2 = *(undefined4 *)(param_1 + 0x10);\n      if (*(int *)(param_1 + 0x98) == *(int *)(iVar7 + 0xf0)) {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x30) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 != 0) goto LAB_00016290;\n        *(undefined4 *)(iVar7 + 0x34) = uVar2;\n      }\n      else {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x38) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x3c) = uVar2;\n        }\n        else {\nLAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;\n        }\n      }\n      *(undefined4 *)(param_1 + 0x10) = 0;\n      *(undefined4 *)(param_1 + 0x14) = 0;\n    }\n    *(int *)(param_1 + 0x98) = param_3;\n    if (((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')) {\n      if (param_3 == *(int *)(iVar7 + 0xf0)) {\n        uVar2 = *(undefined4 *)(iVar7 + 0x30);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x34) == 0) {\n          *(int *)(iVar7 + 0x34) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x30) = param_1;\n      }\n      else {\n        uVar2 = *(undefined4 *)(iVar7 + 0x38);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x3c) == 0) {\n          *(int *)(iVar7 + 0x3c) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x38) = param_1;\n      }\n    }\n    iVar1 = pthread_mutex_unlock(__mutex);\n    if (iVar1 == 0) {\n      return 1;\n    }\n    puVar8 = &stack0xffffffd4;\n    (*DAT_0003406c)();\n  }\n  *(char **)(puVar8 + -4) = "Failed to lock mutex.\n";\n  *(undefined4 *)(puVar8 + -8) = 0xf88;\n  *(char **)(puVar8 + -0xc) = "connection.c";\n  *(undefined4 *)(puVar8 + -0x10) = DAT_00034068;\n  *(undefined4 *)(puVar8 + -0x14) = 0x16403;\n  (*DAT_0003406c)();\n  *(pthread_mutex_t **)(puVar8 + -0x14) = __mutex;\n  *(int *)(puVar8 + -0x18) = iVar7;\n  *(int *)(puVar8 + -0x1c) = param_1;\n  *(undefined ***)(puVar8 + -0x20) = &__DT_PLTGOT;\n  *(undefined4 *)(puVar8 + -0x24) = 0x1641b;\n  iVar7 = *(int *)(puVar8 + -0x24);\n  iVar1 = *(int *)(puVar8 + -0xc);\n  iVar6 = *(int *)(puVar8 + -4);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  if (iVar6 == 0) {\n    return 0;\n  }\n  if (*(int *)(iVar1 + 0x24) != 0) {\n    return 0;\n  }\n  if ((*(int *)(iVar1 + 0xb4) != 4) && (*(int *)(iVar1 + 0xb4) != 9)) {\n    return 0;\n  }\n  iVar5 = *(int *)(iVar1 + 0x18);\n  if (*(char *)(iVar5 + 0xe0) != '\0') {\n    return 1;\n  }\n  if ((*(char *)(iVar1 + 0xf1) == '\0') && ((*(byte *)(iVar5 + 0xf8) & 8) != 0)) {\n    *(undefined4 *)(puVar8 + -0x30) = 0x16481;\n    pVar3 = pthread_self();\n    if (pVar3 != *(pthread_t *)(iVar1 + 0x5c)) {\n      iVar7 = iVar7 + 0x13069;\n      goto LAB_00016490;\n    }\n  }\n  if (*(int *)(iVar6 + 0x14) != 0) {\n    if ((*(byte *)(iVar5 + 0xf9) & 0x80) == 0) {\n      iVar7 = iVar7 + 0x13099;\nLAB_00016490:\n      *(int *)(puVar8 + -0x38) = iVar7;\n      *(int *)(puVar8 + -0x3c) = iVar5;\n      *(undefined4 *)(puVar8 + -0x40) = 0x16497;\n      FUN_00020aa0();\n      return 0;\n    }\n    if (*(int *)(puVar8 + -8) != 0x65) {\n      iVar7 = iVar7 + 0x130e5;\n      goto LAB_00016490;\n    }\n  }\n  *(int *)(puVar8 + -0x3c) = iVar6;\n  *(undefined4 *)(puVar8 + -0x40) = 0x164c8;\n  FUN_00022c20();\n  uVar2 = *(undefined4 *)(puVar8 + -8);\n  *(int *)(iVar1 + 0x24) = iVar6;\n  *(undefined4 *)(iVar1 + 0xbc) = uVar2;\n  uVar4 = 0;\n  if (*(int *)(iVar6 + 0x58) != -1) {\n    uVar4 = (*(uint *)(*(int *)(iVar1 + 0x18) + 0xf8) >> 1 ^ 1) & 1;\n  }\n  *(uint *)(iVar1 + 0x88) = uVar4;\n  iVar5 = *(int *)(iVar1 + 0x34);\n  if (iVar5 == 0) {\nLAB_00016550:\n    if ((*(uint *)(puVar8 + -8) < 200 || *(int *)(puVar8 + -8) == 0xcc) ||\n       (*(int *)(puVar8 + -8) == 0x130)) goto LAB_00016515;\n  }\n  else {\n    *(int *)(puVar8 + -0x38) = iVar7 + 0x12d3e;\n    *(int *)(puVar8 + -0x3c) = iVar5;\n    *(undefined4 *)(puVar8 + -0x40) = 0x1650e;\n    iVar5 = FUN_000212c0();\n    if (iVar5 == 0) goto LAB_00016550;\nLAB_00016515:\n    uVar2 = *(undefined4 *)(iVar6 + 0x38);\n    *(undefined4 *)(iVar1 + 0x80) = *(undefined4 *)(iVar6 + 0x34);\n    *(undefined4 *)(iVar1 + 0x84) = uVar2;\n  }\n  if ((*(int *)(iVar1 + 0xb4) == 4) && (iVar6 = *(int *)(iVar1 + 0x34), iVar6 != 0)) {\n    *(int *)(puVar8 + -0x38) = iVar7 + 0x12d43;\n    *(int *)(puVar8 + -0x3c) = iVar6;\n    *(undefined4 *)(puVar8 + -0x40) = 0x165a7;\n    iVar6 = FUN_000212c0();\n    if (iVar6 == 0) {\n      *(int *)(puVar8 + -0x38) = iVar7 + 0x12d48;\n      *(undefined4 *)(puVar8 + -0x3c) = *(undefined4 *)(iVar1 + 0x34);\n      *(undefined4 *)(puVar8 + -0x40) = 0x16600;\n      iVar7 = FUN_000212c0();\n      if (iVar7 == 0) goto LAB_00016530;\n    }\n    *(undefined1 *)(iVar1 + 0xa9) = 1;\n    *(undefined4 *)(iVar1 + 0xb4) = 9;\n  }\nLAB_00016530:\n  if (*(char *)(iVar1 + 0xab) == '\0') {\n    *(int *)(puVar8 + -0x3c) = iVar1;\n    *(undefined4 *)(puVar8 + -0x40) = 0x165d1;\n    FUN_00016a50();\n  }\n  return 1;\n}\n\n" (function_definition "undefined4 MHD_set_connection_option(int param_1,int param_2,int param_3)\n\n{\n  pthread_mutex_t *__mutex;\n  int iVar1;\n  undefined4 uVar2;\n  pthread_t pVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  undefined1 *puVar8;\n  undefined1 auStack_1c [8];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16209;\n  puVar8 = auStack_1c;\n  if (param_2 != 0) {\n    return 0;\n  }\n  iVar7 = *(int *)(param_1 + 0x18);\n  if (*(int *)(param_1 + 0x98) == 0) {\n    uVar2 = FUN_00021230();\n    *(undefined4 *)(param_1 + 0x94) = uVar2;\n  }\n  __mutex = (pthread_mutex_t *)(iVar7 + 0xac);\n  iVar1 = pthread_mutex_lock(__mutex);\n  if (iVar1 == 0) {\n    if (((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')) {\n      iVar1 = *(int *)(param_1 + 0x14);\n      uVar2 = *(undefined4 *)(param_1 + 0x10);\n      if (*(int *)(param_1 + 0x98) == *(int *)(iVar7 + 0xf0)) {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x30) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 != 0) goto LAB_00016290;\n        *(undefined4 *)(iVar7 + 0x34) = uVar2;\n      }\n      else {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x38) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x3c) = uVar2;\n        }\n        else {\nLAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;\n        }\n      }\n      *(undefined4 *)(param_1 + 0x10) = 0;\n      *(undefined4 *)(param_1 + 0x14) = 0;\n    }\n    *(int *)(param_1 + 0x98) = param_3;\n    if (((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')) {\n      if (param_3 == *(int *)(iVar7 + 0xf0)) {\n        uVar2 = *(undefined4 *)(iVar7 + 0x30);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x34) == 0) {\n          *(int *)(iVar7 + 0x34) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x30) = param_1;\n      }\n      else {\n        uVar2 = *(undefined4 *)(iVar7 + 0x38);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x3c) == 0) {\n          *(int *)(iVar7 + 0x3c) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x38) = param_1;\n      }\n    }\n    iVar1 = pthread_mutex_unlock(__mutex);\n    if (iVar1 == 0) {\n      return 1;\n    }\n    puVar8 = &stack0xffffffd4;\n    (*DAT_0003406c)();\n  }\n  *(char **)(puVar8 + -4) = "Failed to lock mutex.\n";\n  *(undefined4 *)(puVar8 + -8) = 0xf88;\n  *(char **)(puVar8 + -0xc) = "connection.c";\n  *(undefined4 *)(puVar8 + -0x10) = DAT_00034068;\n  *(undefined4 *)(puVar8 + -0x14) = 0x16403;\n  (*DAT_0003406c)();\n  *(pthread_mutex_t **)(puVar8 + -0x14) = __mutex;\n  *(int *)(puVar8 + -0x18) = iVar7;\n  *(int *)(puVar8 + -0x1c) = param_1;\n  *(undefined ***)(puVar8 + -0x20) = &__DT_PLTGOT;\n  *(undefined4 *)(puVar8 + -0x24) = 0x1641b;\n  iVar7 = *(int *)(puVar8 + -0x24);\n  iVar1 = *(int *)(puVar8 + -0xc);\n  iVar6 = *(int *)(puVar8 + -4);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  if (iVar6 == 0) {\n    return 0;\n  }\n  if (*(int *)(iVar1 + 0x24) != 0) {\n    return 0;\n  }\n  if ((*(int *)(iVar1 + 0xb4) != 4) && (*(int *)(iVar1 + 0xb4) != 9)) {\n    return 0;\n  }\n  iVar5 = *(int *)(iVar1 + 0x18);\n  if (*(char *)(iVar5 + 0xe0) != '\0') {\n    return 1;\n  }\n  if ((*(char *)(iVar1 + 0xf1) == '\0') && ((*(byte *)(iVar5 + 0xf8) & 8) != 0)) {\n    *(undefined4 *)(puVar8 + -0x30) = 0x16481;\n    pVar3 = pthread_self();\n    if (pVar3 != *(pthread_t *)(iVar1 + 0x5c)) {\n      iVar7 = iVar7 + 0x13069;\n      goto LAB_00016490;\n    }\n  }\n  if (*(int *)(iVar6 + 0x14) != 0) {\n    if ((*(byte *)(iVar5 + 0xf9) & 0x80) == 0) {\n      iVar7 = iVar7 + 0x13099;\nLAB_00016490:\n      *(int *)(puVar8 + -0x38) = iVar7;\n      *(int *)(puVar8 + -0x3c) = iVar5;\n      *(undefined4 *)(puVar8 + -0x40) = 0x16497;\n      FUN_00020aa0();\n      return 0;\n    }\n    if (*(int *)(puVar8 + -8) != 0x65) {\n      iVar7 = iVar7 + 0x130e5;\n      goto LAB_00016490;\n    }\n  }\n  *(int *)(puVar8 + -0x3c) = iVar6;\n  *(undefined4 *)(puVar8 + -0x40) = 0x164c8;\n  FUN_00022c20();\n  uVar2 = *(undefined4 *)(puVar8 + -8);\n  *(int *)(iVar1 + 0x24) = iVar6;\n  *(undefined4 *)(iVar1 + 0xbc) = uVar2;\n  uVar4 = 0;\n  if (*(int *)(iVar6 + 0x58) != -1) {\n    uVar4 = (*(uint *)(*(int *)(iVar1 + 0x18) + 0xf8) >> 1 ^ 1) & 1;\n  }\n  *(uint *)(iVar1 + 0x88) = uVar4;\n  iVar5 = *(int *)(iVar1 + 0x34);\n  if (iVar5 == 0) {\nLAB_00016550:\n    if ((*(uint *)(puVar8 + -8) < 200 || *(int *)(puVar8 + -8) == 0xcc) ||\n       (*(int *)(puVar8 + -8) == 0x130)) goto LAB_00016515;\n  }\n  else {\n    *(int *)(puVar8 + -0x38) = iVar7 + 0x12d3e;\n    *(int *)(puVar8 + -0x3c) = iVar5;\n    *(undefined4 *)(puVar8 + -0x40) = 0x1650e;\n    iVar5 = FUN_000212c0();\n    if (iVar5 == 0) goto LAB_00016550;\nLAB_00016515:\n    uVar2 = *(undefined4 *)(iVar6 + 0x38);\n    *(undefined4 *)(iVar1 + 0x80) = *(undefined4 *)(iVar6 + 0x34);\n    *(undefined4 *)(iVar1 + 0x84) = uVar2;\n  }\n  if ((*(int *)(iVar1 + 0xb4) == 4) && (iVar6 = *(int *)(iVar1 + 0x34), iVar6 != 0)) {\n    *(int *)(puVar8 + -0x38) = iVar7 + 0x12d43;\n    *(int *)(puVar8 + -0x3c) = iVar6;\n    *(undefined4 *)(puVar8 + -0x40) = 0x165a7;\n    iVar6 = FUN_000212c0();\n    if (iVar6 == 0) {\n      *(int *)(puVar8 + -0x38) = iVar7 + 0x12d48;\n      *(undefined4 *)(puVar8 + -0x3c) = *(undefined4 *)(iVar1 + 0x34);\n      *(undefined4 *)(puVar8 + -0x40) = 0x16600;\n      iVar7 = FUN_000212c0();\n      if (iVar7 == 0) goto LAB_00016530;\n    }\n    *(undefined1 *)(iVar1 + 0xa9) = 1;\n    *(undefined4 *)(iVar1 + 0xb4) = 9;\n  }\nLAB_00016530:\n  if (*(char *)(iVar1 + 0xab) == '\0') {\n    *(int *)(puVar8 + -0x3c) = iVar1;\n    *(undefined4 *)(puVar8 + -0x40) = 0x165d1;\n    FUN_00016a50();\n  }\n  return 1;\n}" type_identifier (function_declarator "MHD_set_connection_option(int param_1,int param_2,int param_3)" identifier (parameter_list "(int param_1,int param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  pthread_mutex_t *__mutex;\n  int iVar1;\n  undefined4 uVar2;\n  pthread_t pVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  undefined1 *puVar8;\n  undefined1 auStack_1c [8];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16209;\n  puVar8 = auStack_1c;\n  if (param_2 != 0) {\n    return 0;\n  }\n  iVar7 = *(int *)(param_1 + 0x18);\n  if (*(int *)(param_1 + 0x98) == 0) {\n    uVar2 = FUN_00021230();\n    *(undefined4 *)(param_1 + 0x94) = uVar2;\n  }\n  __mutex = (pthread_mutex_t *)(iVar7 + 0xac);\n  iVar1 = pthread_mutex_lock(__mutex);\n  if (iVar1 == 0) {\n    if (((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')) {\n      iVar1 = *(int *)(param_1 + 0x14);\n      uVar2 = *(undefined4 *)(param_1 + 0x10);\n      if (*(int *)(param_1 + 0x98) == *(int *)(iVar7 + 0xf0)) {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x30) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 != 0) goto LAB_00016290;\n        *(undefined4 *)(iVar7 + 0x34) = uVar2;\n      }\n      else {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x38) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x3c) = uVar2;\n        }\n        else {\nLAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;\n        }\n      }\n      *(undefined4 *)(param_1 + 0x10) = 0;\n      *(undefined4 *)(param_1 + 0x14) = 0;\n    }\n    *(int *)(param_1 + 0x98) = param_3;\n    if (((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')) {\n      if (param_3 == *(int *)(iVar7 + 0xf0)) {\n        uVar2 = *(undefined4 *)(iVar7 + 0x30);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x34) == 0) {\n          *(int *)(iVar7 + 0x34) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x30) = param_1;\n      }\n      else {\n        uVar2 = *(undefined4 *)(iVar7 + 0x38);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x3c) == 0) {\n          *(int *)(iVar7 + 0x3c) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x38) = param_1;\n      }\n    }\n    iVar1 = pthread_mutex_unlock(__mutex);\n    if (iVar1 == 0) {\n      return 1;\n    }\n    puVar8 = &stack0xffffffd4;\n    (*DAT_0003406c)();\n  }\n  *(char **)(puVar8 + -4) = "Failed to lock mutex.\n";\n  *(undefined4 *)(puVar8 + -8) = 0xf88;\n  *(char **)(puVar8 + -0xc) = "connection.c";\n  *(undefined4 *)(puVar8 + -0x10) = DAT_00034068;\n  *(undefined4 *)(puVar8 + -0x14) = 0x16403;\n  (*DAT_0003406c)();\n  *(pthread_mutex_t **)(puVar8 + -0x14) = __mutex;\n  *(int *)(puVar8 + -0x18) = iVar7;\n  *(int *)(puVar8 + -0x1c) = param_1;\n  *(undefined ***)(puVar8 + -0x20) = &__DT_PLTGOT;\n  *(undefined4 *)(puVar8 + -0x24) = 0x1641b;\n  iVar7 = *(int *)(puVar8 + -0x24);\n  iVar1 = *(int *)(puVar8 + -0xc);\n  iVar6 = *(int *)(puVar8 + -4);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  if (iVar6 == 0) {\n    return 0;\n  }\n  if (*(int *)(iVar1 + 0x24) != 0) {\n    return 0;\n  }\n  if ((*(int *)(iVar1 + 0xb4) != 4) && (*(int *)(iVar1 + 0xb4) != 9)) {\n    return 0;\n  }\n  iVar5 = *(int *)(iVar1 + 0x18);\n  if (*(char *)(iVar5 + 0xe0) != '\0') {\n    return 1;\n  }\n  if ((*(char *)(iVar1 + 0xf1) == '\0') && ((*(byte *)(iVar5 + 0xf8) & 8) != 0)) {\n    *(undefined4 *)(puVar8 + -0x30) = 0x16481;\n    pVar3 = pthread_self();\n    if (pVar3 != *(pthread_t *)(iVar1 + 0x5c)) {\n      iVar7 = iVar7 + 0x13069;\n      goto LAB_00016490;\n    }\n  }\n  if (*(int *)(iVar6 + 0x14) != 0) {\n    if ((*(byte *)(iVar5 + 0xf9) & 0x80) == 0) {\n      iVar7 = iVar7 + 0x13099;\nLAB_00016490:\n      *(int *)(puVar8 + -0x38) = iVar7;\n      *(int *)(puVar8 + -0x3c) = iVar5;\n      *(undefined4 *)(puVar8 + -0x40) = 0x16497;\n      FUN_00020aa0();\n      return 0;\n    }\n    if (*(int *)(puVar8 + -8) != 0x65) {\n      iVar7 = iVar7 + 0x130e5;\n      goto LAB_00016490;\n    }\n  }\n  *(int *)(puVar8 + -0x3c) = iVar6;\n  *(undefined4 *)(puVar8 + -0x40) = 0x164c8;\n  FUN_00022c20();\n  uVar2 = *(undefined4 *)(puVar8 + -8);\n  *(int *)(iVar1 + 0x24) = iVar6;\n  *(undefined4 *)(iVar1 + 0xbc) = uVar2;\n  uVar4 = 0;\n  if (*(int *)(iVar6 + 0x58) != -1) {\n    uVar4 = (*(uint *)(*(int *)(iVar1 + 0x18) + 0xf8) >> 1 ^ 1) & 1;\n  }\n  *(uint *)(iVar1 + 0x88) = uVar4;\n  iVar5 = *(int *)(iVar1 + 0x34);\n  if (iVar5 == 0) {\nLAB_00016550:\n    if ((*(uint *)(puVar8 + -8) < 200 || *(int *)(puVar8 + -8) == 0xcc) ||\n       (*(int *)(puVar8 + -8) == 0x130)) goto LAB_00016515;\n  }\n  else {\n    *(int *)(puVar8 + -0x38) = iVar7 + 0x12d3e;\n    *(int *)(puVar8 + -0x3c) = iVar5;\n    *(undefined4 *)(puVar8 + -0x40) = 0x1650e;\n    iVar5 = FUN_000212c0();\n    if (iVar5 == 0) goto LAB_00016550;\nLAB_00016515:\n    uVar2 = *(undefined4 *)(iVar6 + 0x38);\n    *(undefined4 *)(iVar1 + 0x80) = *(undefined4 *)(iVar6 + 0x34);\n    *(undefined4 *)(iVar1 + 0x84) = uVar2;\n  }\n  if ((*(int *)(iVar1 + 0xb4) == 4) && (iVar6 = *(int *)(iVar1 + 0x34), iVar6 != 0)) {\n    *(int *)(puVar8 + -0x38) = iVar7 + 0x12d43;\n    *(int *)(puVar8 + -0x3c) = iVar6;\n    *(undefined4 *)(puVar8 + -0x40) = 0x165a7;\n    iVar6 = FUN_000212c0();\n    if (iVar6 == 0) {\n      *(int *)(puVar8 + -0x38) = iVar7 + 0x12d48;\n      *(undefined4 *)(puVar8 + -0x3c) = *(undefined4 *)(iVar1 + 0x34);\n      *(undefined4 *)(puVar8 + -0x40) = 0x16600;\n      iVar7 = FUN_000212c0();\n      if (iVar7 == 0) goto LAB_00016530;\n    }\n    *(undefined1 *)(iVar1 + 0xa9) = 1;\n    *(undefined4 *)(iVar1 + 0xb4) = 9;\n  }\nLAB_00016530:\n  if (*(char *)(iVar1 + 0xab) == '\0') {\n    *(int *)(puVar8 + -0x3c) = iVar1;\n    *(undefined4 *)(puVar8 + -0x40) = 0x165d1;\n    FUN_00016a50();\n  }\n  return 1;\n}" { (declaration "pthread_mutex_t *__mutex;" type_identifier (pointer_declarator "*__mutex" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "pthread_t pVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined1 auStack_1c [8];" type_identifier (array_declarator "auStack_1c [8]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x16209;" (assignment_expression "uStack_14 = 0x16209" identifier = number_literal) ;) (expression_statement "puVar8 = auStack_1c;" (assignment_expression "puVar8 = auStack_1c" identifier = identifier) ;) (if_statement "if (param_2 != 0) {\n    return 0;\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar7 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar7 = *(int *)(param_1 + 0x18)" identifier = (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(param_1 + 0x98) == 0) {\n    uVar2 = FUN_00021230();\n    *(undefined4 *)(param_1 + 0x94) = uVar2;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x98) == 0)" ( (binary_expression "*(int *)(param_1 + 0x98) == 0" (pointer_expression "*(int *)(param_1 + 0x98)" * (cast_expression "(int *)(param_1 + 0x98)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x98)" ( (binary_expression "param_1 + 0x98" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    uVar2 = FUN_00021230();\n    *(undefined4 *)(param_1 + 0x94) = uVar2;\n  }" { (expression_statement "uVar2 = FUN_00021230();" (assignment_expression "uVar2 = FUN_00021230()" identifier = (call_expression "FUN_00021230()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x94) = uVar2;" (assignment_expression "*(undefined4 *)(param_1 + 0x94) = uVar2" (pointer_expression "*(undefined4 *)(param_1 + 0x94)" * (cast_expression "(undefined4 *)(param_1 + 0x94)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x94)" ( (binary_expression "param_1 + 0x94" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "__mutex = (pthread_mutex_t *)(iVar7 + 0xac);" (assignment_expression "__mutex = (pthread_mutex_t *)(iVar7 + 0xac)" identifier = (cast_expression "(pthread_mutex_t *)(iVar7 + 0xac)" ( (type_descriptor "pthread_mutex_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0xac)" ( (binary_expression "iVar7 + 0xac" identifier + number_literal) )))) ;) (expression_statement "iVar1 = pthread_mutex_lock(__mutex);" (assignment_expression "iVar1 = pthread_mutex_lock(__mutex)" identifier = (call_expression "pthread_mutex_lock(__mutex)" identifier (argument_list "(__mutex)" ( identifier )))) ;) (if_statement "if (iVar1 == 0) {\n    if (((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')) {\n      iVar1 = *(int *)(param_1 + 0x14);\n      uVar2 = *(undefined4 *)(param_1 + 0x10);\n      if (*(int *)(param_1 + 0x98) == *(int *)(iVar7 + 0xf0)) {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x30) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 != 0) goto LAB_00016290;\n        *(undefined4 *)(iVar7 + 0x34) = uVar2;\n      }\n      else {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x38) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x3c) = uVar2;\n        }\n        else {\nLAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;\n        }\n      }\n      *(undefined4 *)(param_1 + 0x10) = 0;\n      *(undefined4 *)(param_1 + 0x14) = 0;\n    }\n    *(int *)(param_1 + 0x98) = param_3;\n    if (((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')) {\n      if (param_3 == *(int *)(iVar7 + 0xf0)) {\n        uVar2 = *(undefined4 *)(iVar7 + 0x30);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x34) == 0) {\n          *(int *)(iVar7 + 0x34) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x30) = param_1;\n      }\n      else {\n        uVar2 = *(undefined4 *)(iVar7 + 0x38);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x3c) == 0) {\n          *(int *)(iVar7 + 0x3c) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x38) = param_1;\n      }\n    }\n    iVar1 = pthread_mutex_unlock(__mutex);\n    if (iVar1 == 0) {\n      return 1;\n    }\n    puVar8 = &stack0xffffffd4;\n    (*DAT_0003406c)();\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    if (((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')) {\n      iVar1 = *(int *)(param_1 + 0x14);\n      uVar2 = *(undefined4 *)(param_1 + 0x10);\n      if (*(int *)(param_1 + 0x98) == *(int *)(iVar7 + 0xf0)) {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x30) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 != 0) goto LAB_00016290;\n        *(undefined4 *)(iVar7 + 0x34) = uVar2;\n      }\n      else {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x38) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x3c) = uVar2;\n        }\n        else {\nLAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;\n        }\n      }\n      *(undefined4 *)(param_1 + 0x10) = 0;\n      *(undefined4 *)(param_1 + 0x14) = 0;\n    }\n    *(int *)(param_1 + 0x98) = param_3;\n    if (((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')) {\n      if (param_3 == *(int *)(iVar7 + 0xf0)) {\n        uVar2 = *(undefined4 *)(iVar7 + 0x30);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x34) == 0) {\n          *(int *)(iVar7 + 0x34) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x30) = param_1;\n      }\n      else {\n        uVar2 = *(undefined4 *)(iVar7 + 0x38);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x3c) == 0) {\n          *(int *)(iVar7 + 0x3c) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x38) = param_1;\n      }\n    }\n    iVar1 = pthread_mutex_unlock(__mutex);\n    if (iVar1 == 0) {\n      return 1;\n    }\n    puVar8 = &stack0xffffffd4;\n    (*DAT_0003406c)();\n  }" { (if_statement "if (((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')) {\n      iVar1 = *(int *)(param_1 + 0x14);\n      uVar2 = *(undefined4 *)(param_1 + 0x10);\n      if (*(int *)(param_1 + 0x98) == *(int *)(iVar7 + 0xf0)) {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x30) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 != 0) goto LAB_00016290;\n        *(undefined4 *)(iVar7 + 0x34) = uVar2;\n      }\n      else {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x38) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x3c) = uVar2;\n        }\n        else {\nLAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;\n        }\n      }\n      *(undefined4 *)(param_1 + 0x10) = 0;\n      *(undefined4 *)(param_1 + 0x14) = 0;\n    }" if (parenthesized_expression "(((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0'))" ( (binary_expression "((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')" (parenthesized_expression "((*(byte *)(iVar7 + 0xf8) & 4) == 0)" ( (binary_expression "(*(byte *)(iVar7 + 0xf8) & 4) == 0" (parenthesized_expression "(*(byte *)(iVar7 + 0xf8) & 4)" ( (binary_expression "*(byte *)(iVar7 + 0xf8) & 4" (pointer_expression "*(byte *)(iVar7 + 0xf8)" * (cast_expression "(byte *)(iVar7 + 0xf8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0xf8)" ( (binary_expression "iVar7 + 0xf8" identifier + number_literal) )))) & number_literal) )) == number_literal) )) && (parenthesized_expression "(*(char *)(param_1 + 0xf1) == '\0')" ( (binary_expression "*(char *)(param_1 + 0xf1) == '\0'" (pointer_expression "*(char *)(param_1 + 0xf1)" * (cast_expression "(char *)(param_1 + 0xf1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xf1)" ( (binary_expression "param_1 + 0xf1" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      iVar1 = *(int *)(param_1 + 0x14);\n      uVar2 = *(undefined4 *)(param_1 + 0x10);\n      if (*(int *)(param_1 + 0x98) == *(int *)(iVar7 + 0xf0)) {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x30) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 != 0) goto LAB_00016290;\n        *(undefined4 *)(iVar7 + 0x34) = uVar2;\n      }\n      else {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x38) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x3c) = uVar2;\n        }\n        else {\nLAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;\n        }\n      }\n      *(undefined4 *)(param_1 + 0x10) = 0;\n      *(undefined4 *)(param_1 + 0x14) = 0;\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) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x10);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x10)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(param_1 + 0x98) == *(int *)(iVar7 + 0xf0)) {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x30) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 != 0) goto LAB_00016290;\n        *(undefined4 *)(iVar7 + 0x34) = uVar2;\n      }\n      else {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x38) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x3c) = uVar2;\n        }\n        else {\nLAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;\n        }\n      }" if (parenthesized_expression "(*(int *)(param_1 + 0x98) == *(int *)(iVar7 + 0xf0))" ( (binary_expression "*(int *)(param_1 + 0x98) == *(int *)(iVar7 + 0xf0)" (pointer_expression "*(int *)(param_1 + 0x98)" * (cast_expression "(int *)(param_1 + 0x98)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x98)" ( (binary_expression "param_1 + 0x98" identifier + number_literal) )))) == (pointer_expression "*(int *)(iVar7 + 0xf0)" * (cast_expression "(int *)(iVar7 + 0xf0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0xf0)" ( (binary_expression "iVar7 + 0xf0" identifier + number_literal) ))))) )) (compound_statement "{\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x30) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 != 0) goto LAB_00016290;\n        *(undefined4 *)(iVar7 + 0x34) = uVar2;\n      }" { (if_statement "if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x30) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n          *(undefined4 *)(iVar7 + 0x30) = uVar2;\n        }" { (expression_statement "*(undefined4 *)(iVar7 + 0x30) = uVar2;" (assignment_expression "*(undefined4 *)(iVar7 + 0x30) = uVar2" (pointer_expression "*(undefined4 *)(iVar7 + 0x30)" * (cast_expression "(undefined4 *)(iVar7 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x30)" ( (binary_expression "iVar7 + 0x30" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }" else (compound_statement "{\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }" { (expression_statement "*(undefined4 *)(iVar1 + 0x10) = uVar2;" (assignment_expression "*(undefined4 *)(iVar1 + 0x10) = uVar2" (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) )))) = identifier) ;) }))) (expression_statement "iVar1 = *(int *)(param_1 + 0x10);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x10)" identifier = (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) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x14);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x14)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 != 0) goto LAB_00016290;" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00016290;" goto statement_identifier ;)) (expression_statement "*(undefined4 *)(iVar7 + 0x34) = uVar2;" (assignment_expression "*(undefined4 *)(iVar7 + 0x34) = uVar2" (pointer_expression "*(undefined4 *)(iVar7 + 0x34)" * (cast_expression "(undefined4 *)(iVar7 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x34)" ( (binary_expression "iVar7 + 0x34" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x38) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x3c) = uVar2;\n        }\n        else {\nLAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;\n        }\n      }" else (compound_statement "{\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x38) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x3c) = uVar2;\n        }\n        else {\nLAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;\n        }\n      }" { (if_statement "if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x38) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n          *(undefined4 *)(iVar7 + 0x38) = uVar2;\n        }" { (expression_statement "*(undefined4 *)(iVar7 + 0x38) = uVar2;" (assignment_expression "*(undefined4 *)(iVar7 + 0x38) = uVar2" (pointer_expression "*(undefined4 *)(iVar7 + 0x38)" * (cast_expression "(undefined4 *)(iVar7 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x38)" ( (binary_expression "iVar7 + 0x38" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }" else (compound_statement "{\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }" { (expression_statement "*(undefined4 *)(iVar1 + 0x10) = uVar2;" (assignment_expression "*(undefined4 *)(iVar1 + 0x10) = uVar2" (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) )))) = identifier) ;) }))) (expression_statement "iVar1 = *(int *)(param_1 + 0x10);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x10)" identifier = (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) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x14);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x14)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x3c) = uVar2;\n        }\n        else {\nLAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;\n        }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n          *(undefined4 *)(iVar7 + 0x3c) = uVar2;\n        }" { (expression_statement "*(undefined4 *)(iVar7 + 0x3c) = uVar2;" (assignment_expression "*(undefined4 *)(iVar7 + 0x3c) = uVar2" (pointer_expression "*(undefined4 *)(iVar7 + 0x3c)" * (cast_expression "(undefined4 *)(iVar7 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x3c)" ( (binary_expression "iVar7 + 0x3c" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\nLAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;\n        }" else (compound_statement "{\nLAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;\n        }" { (labeled_statement "LAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;" statement_identifier : (expression_statement "*(undefined4 *)(iVar1 + 0x14) = uVar2;" (assignment_expression "*(undefined4 *)(iVar1 + 0x14) = uVar2" (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) )))) = identifier) ;)) }))) }))) (expression_statement "*(undefined4 *)(param_1 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x10) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x14) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "*(int *)(param_1 + 0x98) = param_3;" (assignment_expression "*(int *)(param_1 + 0x98) = param_3" (pointer_expression "*(int *)(param_1 + 0x98)" * (cast_expression "(int *)(param_1 + 0x98)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x98)" ( (binary_expression "param_1 + 0x98" identifier + number_literal) )))) = identifier) ;) (if_statement "if (((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')) {\n      if (param_3 == *(int *)(iVar7 + 0xf0)) {\n        uVar2 = *(undefined4 *)(iVar7 + 0x30);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x34) == 0) {\n          *(int *)(iVar7 + 0x34) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x30) = param_1;\n      }\n      else {\n        uVar2 = *(undefined4 *)(iVar7 + 0x38);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x3c) == 0) {\n          *(int *)(iVar7 + 0x3c) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x38) = param_1;\n      }\n    }" if (parenthesized_expression "(((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0'))" ( (binary_expression "((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')" (parenthesized_expression "((*(byte *)(iVar7 + 0xf8) & 4) == 0)" ( (binary_expression "(*(byte *)(iVar7 + 0xf8) & 4) == 0" (parenthesized_expression "(*(byte *)(iVar7 + 0xf8) & 4)" ( (binary_expression "*(byte *)(iVar7 + 0xf8) & 4" (pointer_expression "*(byte *)(iVar7 + 0xf8)" * (cast_expression "(byte *)(iVar7 + 0xf8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0xf8)" ( (binary_expression "iVar7 + 0xf8" identifier + number_literal) )))) & number_literal) )) == number_literal) )) && (parenthesized_expression "(*(char *)(param_1 + 0xf1) == '\0')" ( (binary_expression "*(char *)(param_1 + 0xf1) == '\0'" (pointer_expression "*(char *)(param_1 + 0xf1)" * (cast_expression "(char *)(param_1 + 0xf1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xf1)" ( (binary_expression "param_1 + 0xf1" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      if (param_3 == *(int *)(iVar7 + 0xf0)) {\n        uVar2 = *(undefined4 *)(iVar7 + 0x30);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x34) == 0) {\n          *(int *)(iVar7 + 0x34) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x30) = param_1;\n      }\n      else {\n        uVar2 = *(undefined4 *)(iVar7 + 0x38);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x3c) == 0) {\n          *(int *)(iVar7 + 0x3c) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x38) = param_1;\n      }\n    }" { (if_statement "if (param_3 == *(int *)(iVar7 + 0xf0)) {\n        uVar2 = *(undefined4 *)(iVar7 + 0x30);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x34) == 0) {\n          *(int *)(iVar7 + 0x34) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x30) = param_1;\n      }\n      else {\n        uVar2 = *(undefined4 *)(iVar7 + 0x38);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x3c) == 0) {\n          *(int *)(iVar7 + 0x3c) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x38) = param_1;\n      }" if (parenthesized_expression "(param_3 == *(int *)(iVar7 + 0xf0))" ( (binary_expression "param_3 == *(int *)(iVar7 + 0xf0)" identifier == (pointer_expression "*(int *)(iVar7 + 0xf0)" * (cast_expression "(int *)(iVar7 + 0xf0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0xf0)" ( (binary_expression "iVar7 + 0xf0" identifier + number_literal) ))))) )) (compound_statement "{\n        uVar2 = *(undefined4 *)(iVar7 + 0x30);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x34) == 0) {\n          *(int *)(iVar7 + 0x34) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x30) = param_1;\n      }" { (expression_statement "uVar2 = *(undefined4 *)(iVar7 + 0x30);" (assignment_expression "uVar2 = *(undefined4 *)(iVar7 + 0x30)" identifier = (pointer_expression "*(undefined4 *)(iVar7 + 0x30)" * (cast_expression "(undefined4 *)(iVar7 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x30)" ( (binary_expression "iVar7 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x14) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x10) = uVar2;" (assignment_expression "*(undefined4 *)(param_1 + 0x10) = uVar2" (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = identifier) ;) (if_statement "if (*(int *)(iVar7 + 0x34) == 0) {\n          *(int *)(iVar7 + 0x34) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1;\n        }" if (parenthesized_expression "(*(int *)(iVar7 + 0x34) == 0)" ( (binary_expression "*(int *)(iVar7 + 0x34) == 0" (pointer_expression "*(int *)(iVar7 + 0x34)" * (cast_expression "(int *)(iVar7 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x34)" ( (binary_expression "iVar7 + 0x34" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n          *(int *)(iVar7 + 0x34) = param_1;\n        }" { (expression_statement "*(int *)(iVar7 + 0x34) = param_1;" (assignment_expression "*(int *)(iVar7 + 0x34) = param_1" (pointer_expression "*(int *)(iVar7 + 0x34)" * (cast_expression "(int *)(iVar7 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x34)" ( (binary_expression "iVar7 + 0x34" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n          *(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1;\n        }" else (compound_statement "{\n          *(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1;\n        }" { (expression_statement "*(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1;" (assignment_expression "*(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1" (pointer_expression "*(int *)(*(int *)(iVar7 + 0x30) + 0x14)" * (cast_expression "(int *)(*(int *)(iVar7 + 0x30) + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar7 + 0x30) + 0x14)" ( (binary_expression "*(int *)(iVar7 + 0x30) + 0x14" (pointer_expression "*(int *)(iVar7 + 0x30)" * (cast_expression "(int *)(iVar7 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x30)" ( (binary_expression "iVar7 + 0x30" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) }))) (expression_statement "*(int *)(iVar7 + 0x30) = param_1;" (assignment_expression "*(int *)(iVar7 + 0x30) = param_1" (pointer_expression "*(int *)(iVar7 + 0x30)" * (cast_expression "(int *)(iVar7 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x30)" ( (binary_expression "iVar7 + 0x30" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n        uVar2 = *(undefined4 *)(iVar7 + 0x38);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x3c) == 0) {\n          *(int *)(iVar7 + 0x3c) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x38) = param_1;\n      }" else (compound_statement "{\n        uVar2 = *(undefined4 *)(iVar7 + 0x38);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x3c) == 0) {\n          *(int *)(iVar7 + 0x3c) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x38) = param_1;\n      }" { (expression_statement "uVar2 = *(undefined4 *)(iVar7 + 0x38);" (assignment_expression "uVar2 = *(undefined4 *)(iVar7 + 0x38)" identifier = (pointer_expression "*(undefined4 *)(iVar7 + 0x38)" * (cast_expression "(undefined4 *)(iVar7 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x38)" ( (binary_expression "iVar7 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x14) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x10) = uVar2;" (assignment_expression "*(undefined4 *)(param_1 + 0x10) = uVar2" (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = identifier) ;) (if_statement "if (*(int *)(iVar7 + 0x3c) == 0) {\n          *(int *)(iVar7 + 0x3c) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;\n        }" if (parenthesized_expression "(*(int *)(iVar7 + 0x3c) == 0)" ( (binary_expression "*(int *)(iVar7 + 0x3c) == 0" (pointer_expression "*(int *)(iVar7 + 0x3c)" * (cast_expression "(int *)(iVar7 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x3c)" ( (binary_expression "iVar7 + 0x3c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n          *(int *)(iVar7 + 0x3c) = param_1;\n        }" { (expression_statement "*(int *)(iVar7 + 0x3c) = param_1;" (assignment_expression "*(int *)(iVar7 + 0x3c) = param_1" (pointer_expression "*(int *)(iVar7 + 0x3c)" * (cast_expression "(int *)(iVar7 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x3c)" ( (binary_expression "iVar7 + 0x3c" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n          *(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;\n        }" else (compound_statement "{\n          *(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;\n        }" { (expression_statement "*(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;" (assignment_expression "*(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1" (pointer_expression "*(int *)(*(int *)(iVar7 + 0x38) + 0x14)" * (cast_expression "(int *)(*(int *)(iVar7 + 0x38) + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar7 + 0x38) + 0x14)" ( (binary_expression "*(int *)(iVar7 + 0x38) + 0x14" (pointer_expression "*(int *)(iVar7 + 0x38)" * (cast_expression "(int *)(iVar7 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x38)" ( (binary_expression "iVar7 + 0x38" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) }))) (expression_statement "*(int *)(iVar7 + 0x38) = param_1;" (assignment_expression "*(int *)(iVar7 + 0x38) = param_1" (pointer_expression "*(int *)(iVar7 + 0x38)" * (cast_expression "(int *)(iVar7 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x38)" ( (binary_expression "iVar7 + 0x38" identifier + number_literal) )))) = identifier) ;) }))) })) (expression_statement "iVar1 = pthread_mutex_unlock(__mutex);" (assignment_expression "iVar1 = pthread_mutex_unlock(__mutex)" identifier = (call_expression "pthread_mutex_unlock(__mutex)" identifier (argument_list "(__mutex)" ( identifier )))) ;) (if_statement "if (iVar1 == 0) {\n      return 1;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "puVar8 = &stack0xffffffd4;" (assignment_expression "puVar8 = &stack0xffffffd4" identifier = (pointer_expression "&stack0xffffffd4" & identifier)) ;) (expression_statement "(*DAT_0003406c)();" (call_expression "(*DAT_0003406c)()" (parenthesized_expression "(*DAT_0003406c)" ( (pointer_expression "*DAT_0003406c" * identifier) )) (argument_list "()" ( ))) ;) })) (expression_statement "*(char **)(puVar8 + -4) = "Failed to lock mutex.\n";" (assignment_expression "*(char **)(puVar8 + -4) = "Failed to lock mutex.\n"" (pointer_expression "*(char **)(puVar8 + -4)" * (cast_expression "(char **)(puVar8 + -4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -4)" ( (binary_expression "puVar8 + -4" identifier + number_literal) )))) = (string_literal ""Failed to lock mutex.\n"" " string_content escape_sequence ")) ;) (expression_statement "*(undefined4 *)(puVar8 + -8) = 0xf88;" (assignment_expression "*(undefined4 *)(puVar8 + -8) = 0xf88" (pointer_expression "*(undefined4 *)(puVar8 + -8)" * (cast_expression "(undefined4 *)(puVar8 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -8)" ( (binary_expression "puVar8 + -8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(char **)(puVar8 + -0xc) = "connection.c";" (assignment_expression "*(char **)(puVar8 + -0xc) = "connection.c"" (pointer_expression "*(char **)(puVar8 + -0xc)" * (cast_expression "(char **)(puVar8 + -0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0xc)" ( (binary_expression "puVar8 + -0xc" identifier + number_literal) )))) = (string_literal ""connection.c"" " string_content ")) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x10) = DAT_00034068;" (assignment_expression "*(undefined4 *)(puVar8 + -0x10) = DAT_00034068" (pointer_expression "*(undefined4 *)(puVar8 + -0x10)" * (cast_expression "(undefined4 *)(puVar8 + -0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x10)" ( (binary_expression "puVar8 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = 0x16403;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = 0x16403" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" * (cast_expression "(undefined4 *)(puVar8 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x14)" ( (binary_expression "puVar8 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "(*DAT_0003406c)();" (call_expression "(*DAT_0003406c)()" (parenthesized_expression "(*DAT_0003406c)" ( (pointer_expression "*DAT_0003406c" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "*(pthread_mutex_t **)(puVar8 + -0x14) = __mutex;" (assignment_expression "*(pthread_mutex_t **)(puVar8 + -0x14) = __mutex" (pointer_expression "*(pthread_mutex_t **)(puVar8 + -0x14)" * (cast_expression "(pthread_mutex_t **)(puVar8 + -0x14)" ( (type_descriptor "pthread_mutex_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0x14)" ( (binary_expression "puVar8 + -0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar8 + -0x18) = iVar7;" (assignment_expression "*(int *)(puVar8 + -0x18) = iVar7" (pointer_expression "*(int *)(puVar8 + -0x18)" * (cast_expression "(int *)(puVar8 + -0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x18)" ( (binary_expression "puVar8 + -0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar8 + -0x1c) = param_1;" (assignment_expression "*(int *)(puVar8 + -0x1c) = param_1" (pointer_expression "*(int *)(puVar8 + -0x1c)" * (cast_expression "(int *)(puVar8 + -0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x1c)" ( (binary_expression "puVar8 + -0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined ***)(puVar8 + -0x20) = &__DT_PLTGOT;" (assignment_expression "*(undefined ***)(puVar8 + -0x20) = &__DT_PLTGOT" (pointer_expression "*(undefined ***)(puVar8 + -0x20)" * (cast_expression "(undefined ***)(puVar8 + -0x20)" ( (type_descriptor "undefined ***" type_identifier (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) (parenthesized_expression "(puVar8 + -0x20)" ( (binary_expression "puVar8 + -0x20" identifier + number_literal) )))) = (pointer_expression "&__DT_PLTGOT" & identifier)) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x24) = 0x1641b;" (assignment_expression "*(undefined4 *)(puVar8 + -0x24) = 0x1641b" (pointer_expression "*(undefined4 *)(puVar8 + -0x24)" * (cast_expression "(undefined4 *)(puVar8 + -0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x24)" ( (binary_expression "puVar8 + -0x24" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar7 = *(int *)(puVar8 + -0x24);" (assignment_expression "iVar7 = *(int *)(puVar8 + -0x24)" identifier = (pointer_expression "*(int *)(puVar8 + -0x24)" * (cast_expression "(int *)(puVar8 + -0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x24)" ( (binary_expression "puVar8 + -0x24" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = *(int *)(puVar8 + -0xc);" (assignment_expression "iVar1 = *(int *)(puVar8 + -0xc)" identifier = (pointer_expression "*(int *)(puVar8 + -0xc)" * (cast_expression "(int *)(puVar8 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0xc)" ( (binary_expression "puVar8 + -0xc" identifier + number_literal) ))))) ;) (expression_statement "iVar6 = *(int *)(puVar8 + -4);" (assignment_expression "iVar6 = *(int *)(puVar8 + -4)" identifier = (pointer_expression "*(int *)(puVar8 + -4)" * (cast_expression "(int *)(puVar8 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -4)" ( (binary_expression "puVar8 + -4" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (iVar6 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (*(int *)(iVar1 + 0x24) != 0) {\n    return 0;\n  }" if (parenthesized_expression "(*(int *)(iVar1 + 0x24) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x24) != 0" (pointer_expression "*(int *)(iVar1 + 0x24)" * (cast_expression "(int *)(iVar1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x24)" ( (binary_expression "iVar1 + 0x24" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((*(int *)(iVar1 + 0xb4) != 4) && (*(int *)(iVar1 + 0xb4) != 9)) {\n    return 0;\n  }" if (parenthesized_expression "((*(int *)(iVar1 + 0xb4) != 4) && (*(int *)(iVar1 + 0xb4) != 9))" ( (binary_expression "(*(int *)(iVar1 + 0xb4) != 4) && (*(int *)(iVar1 + 0xb4) != 9)" (parenthesized_expression "(*(int *)(iVar1 + 0xb4) != 4)" ( (binary_expression "*(int *)(iVar1 + 0xb4) != 4" (pointer_expression "*(int *)(iVar1 + 0xb4)" * (cast_expression "(int *)(iVar1 + 0xb4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xb4)" ( (binary_expression "iVar1 + 0xb4" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(*(int *)(iVar1 + 0xb4) != 9)" ( (binary_expression "*(int *)(iVar1 + 0xb4) != 9" (pointer_expression "*(int *)(iVar1 + 0xb4)" * (cast_expression "(int *)(iVar1 + 0xb4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xb4)" ( (binary_expression "iVar1 + 0xb4" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar5 = *(int *)(iVar1 + 0x18);" (assignment_expression "iVar5 = *(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 (*(char *)(iVar5 + 0xe0) != '\0') {\n    return 1;\n  }" if (parenthesized_expression "(*(char *)(iVar5 + 0xe0) != '\0')" ( (binary_expression "*(char *)(iVar5 + 0xe0) != '\0'" (pointer_expression "*(char *)(iVar5 + 0xe0)" * (cast_expression "(char *)(iVar5 + 0xe0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0xe0)" ( (binary_expression "iVar5 + 0xe0" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if ((*(char *)(iVar1 + 0xf1) == '\0') && ((*(byte *)(iVar5 + 0xf8) & 8) != 0)) {\n    *(undefined4 *)(puVar8 + -0x30) = 0x16481;\n    pVar3 = pthread_self();\n    if (pVar3 != *(pthread_t *)(iVar1 + 0x5c)) {\n      iVar7 = iVar7 + 0x13069;\n      goto LAB_00016490;\n    }\n  }" if (parenthesized_expression "((*(char *)(iVar1 + 0xf1) == '\0') && ((*(byte *)(iVar5 + 0xf8) & 8) != 0))" ( (binary_expression "(*(char *)(iVar1 + 0xf1) == '\0') && ((*(byte *)(iVar5 + 0xf8) & 8) != 0)" (parenthesized_expression "(*(char *)(iVar1 + 0xf1) == '\0')" ( (binary_expression "*(char *)(iVar1 + 0xf1) == '\0'" (pointer_expression "*(char *)(iVar1 + 0xf1)" * (cast_expression "(char *)(iVar1 + 0xf1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xf1)" ( (binary_expression "iVar1 + 0xf1" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "((*(byte *)(iVar5 + 0xf8) & 8) != 0)" ( (binary_expression "(*(byte *)(iVar5 + 0xf8) & 8) != 0" (parenthesized_expression "(*(byte *)(iVar5 + 0xf8) & 8)" ( (binary_expression "*(byte *)(iVar5 + 0xf8) & 8" (pointer_expression "*(byte *)(iVar5 + 0xf8)" * (cast_expression "(byte *)(iVar5 + 0xf8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0xf8)" ( (binary_expression "iVar5 + 0xf8" identifier + number_literal) )))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    *(undefined4 *)(puVar8 + -0x30) = 0x16481;\n    pVar3 = pthread_self();\n    if (pVar3 != *(pthread_t *)(iVar1 + 0x5c)) {\n      iVar7 = iVar7 + 0x13069;\n      goto LAB_00016490;\n    }\n  }" { (expression_statement "*(undefined4 *)(puVar8 + -0x30) = 0x16481;" (assignment_expression "*(undefined4 *)(puVar8 + -0x30) = 0x16481" (pointer_expression "*(undefined4 *)(puVar8 + -0x30)" * (cast_expression "(undefined4 *)(puVar8 + -0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x30)" ( (binary_expression "puVar8 + -0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "pVar3 = pthread_self();" (assignment_expression "pVar3 = pthread_self()" identifier = (call_expression "pthread_self()" identifier (argument_list "()" ( )))) ;) (if_statement "if (pVar3 != *(pthread_t *)(iVar1 + 0x5c)) {\n      iVar7 = iVar7 + 0x13069;\n      goto LAB_00016490;\n    }" if (parenthesized_expression "(pVar3 != *(pthread_t *)(iVar1 + 0x5c))" ( (binary_expression "pVar3 != *(pthread_t *)(iVar1 + 0x5c)" identifier != (pointer_expression "*(pthread_t *)(iVar1 + 0x5c)" * (cast_expression "(pthread_t *)(iVar1 + 0x5c)" ( (type_descriptor "pthread_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x5c)" ( (binary_expression "iVar1 + 0x5c" identifier + number_literal) ))))) )) (compound_statement "{\n      iVar7 = iVar7 + 0x13069;\n      goto LAB_00016490;\n    }" { (expression_statement "iVar7 = iVar7 + 0x13069;" (assignment_expression "iVar7 = iVar7 + 0x13069" identifier = (binary_expression "iVar7 + 0x13069" identifier + number_literal)) ;) (goto_statement "goto LAB_00016490;" goto statement_identifier ;) })) })) (if_statement "if (*(int *)(iVar6 + 0x14) != 0) {\n    if ((*(byte *)(iVar5 + 0xf9) & 0x80) == 0) {\n      iVar7 = iVar7 + 0x13099;\nLAB_00016490:\n      *(int *)(puVar8 + -0x38) = iVar7;\n      *(int *)(puVar8 + -0x3c) = iVar5;\n      *(undefined4 *)(puVar8 + -0x40) = 0x16497;\n      FUN_00020aa0();\n      return 0;\n    }\n    if (*(int *)(puVar8 + -8) != 0x65) {\n      iVar7 = iVar7 + 0x130e5;\n      goto LAB_00016490;\n    }\n  }" if (parenthesized_expression "(*(int *)(iVar6 + 0x14) != 0)" ( (binary_expression "*(int *)(iVar6 + 0x14) != 0" (pointer_expression "*(int *)(iVar6 + 0x14)" * (cast_expression "(int *)(iVar6 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x14)" ( (binary_expression "iVar6 + 0x14" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    if ((*(byte *)(iVar5 + 0xf9) & 0x80) == 0) {\n      iVar7 = iVar7 + 0x13099;\nLAB_00016490:\n      *(int *)(puVar8 + -0x38) = iVar7;\n      *(int *)(puVar8 + -0x3c) = iVar5;\n      *(undefined4 *)(puVar8 + -0x40) = 0x16497;\n      FUN_00020aa0();\n      return 0;\n    }\n    if (*(int *)(puVar8 + -8) != 0x65) {\n      iVar7 = iVar7 + 0x130e5;\n      goto LAB_00016490;\n    }\n  }" { (if_statement "if ((*(byte *)(iVar5 + 0xf9) & 0x80) == 0) {\n      iVar7 = iVar7 + 0x13099;\nLAB_00016490:\n      *(int *)(puVar8 + -0x38) = iVar7;\n      *(int *)(puVar8 + -0x3c) = iVar5;\n      *(undefined4 *)(puVar8 + -0x40) = 0x16497;\n      FUN_00020aa0();\n      return 0;\n    }" if (parenthesized_expression "((*(byte *)(iVar5 + 0xf9) & 0x80) == 0)" ( (binary_expression "(*(byte *)(iVar5 + 0xf9) & 0x80) == 0" (parenthesized_expression "(*(byte *)(iVar5 + 0xf9) & 0x80)" ( (binary_expression "*(byte *)(iVar5 + 0xf9) & 0x80" (pointer_expression "*(byte *)(iVar5 + 0xf9)" * (cast_expression "(byte *)(iVar5 + 0xf9)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0xf9)" ( (binary_expression "iVar5 + 0xf9" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n      iVar7 = iVar7 + 0x13099;\nLAB_00016490:\n      *(int *)(puVar8 + -0x38) = iVar7;\n      *(int *)(puVar8 + -0x3c) = iVar5;\n      *(undefined4 *)(puVar8 + -0x40) = 0x16497;\n      FUN_00020aa0();\n      return 0;\n    }" { (expression_statement "iVar7 = iVar7 + 0x13099;" (assignment_expression "iVar7 = iVar7 + 0x13099" identifier = (binary_expression "iVar7 + 0x13099" identifier + number_literal)) ;) (labeled_statement "LAB_00016490:\n      *(int *)(puVar8 + -0x38) = iVar7;" statement_identifier : (expression_statement "*(int *)(puVar8 + -0x38) = iVar7;" (assignment_expression "*(int *)(puVar8 + -0x38) = iVar7" (pointer_expression "*(int *)(puVar8 + -0x38)" * (cast_expression "(int *)(puVar8 + -0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x38)" ( (binary_expression "puVar8 + -0x38" identifier + number_literal) )))) = identifier) ;)) (expression_statement "*(int *)(puVar8 + -0x3c) = iVar5;" (assignment_expression "*(int *)(puVar8 + -0x3c) = iVar5" (pointer_expression "*(int *)(puVar8 + -0x3c)" * (cast_expression "(int *)(puVar8 + -0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x3c)" ( (binary_expression "puVar8 + -0x3c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x40) = 0x16497;" (assignment_expression "*(undefined4 *)(puVar8 + -0x40) = 0x16497" (pointer_expression "*(undefined4 *)(puVar8 + -0x40)" * (cast_expression "(undefined4 *)(puVar8 + -0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x40)" ( (binary_expression "puVar8 + -0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00020aa0();" (call_expression "FUN_00020aa0()" identifier (argument_list "()" ( ))) ;) (return_statement "return 0;" return number_literal ;) })) (if_statement "if (*(int *)(puVar8 + -8) != 0x65) {\n      iVar7 = iVar7 + 0x130e5;\n      goto LAB_00016490;\n    }" if (parenthesized_expression "(*(int *)(puVar8 + -8) != 0x65)" ( (binary_expression "*(int *)(puVar8 + -8) != 0x65" (pointer_expression "*(int *)(puVar8 + -8)" * (cast_expression "(int *)(puVar8 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -8)" ( (binary_expression "puVar8 + -8" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      iVar7 = iVar7 + 0x130e5;\n      goto LAB_00016490;\n    }" { (expression_statement "iVar7 = iVar7 + 0x130e5;" (assignment_expression "iVar7 = iVar7 + 0x130e5" identifier = (binary_expression "iVar7 + 0x130e5" identifier + number_literal)) ;) (goto_statement "goto LAB_00016490;" goto statement_identifier ;) })) })) (expression_statement "*(int *)(puVar8 + -0x3c) = iVar6;" (assignment_expression "*(int *)(puVar8 + -0x3c) = iVar6" (pointer_expression "*(int *)(puVar8 + -0x3c)" * (cast_expression "(int *)(puVar8 + -0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x3c)" ( (binary_expression "puVar8 + -0x3c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x40) = 0x164c8;" (assignment_expression "*(undefined4 *)(puVar8 + -0x40) = 0x164c8" (pointer_expression "*(undefined4 *)(puVar8 + -0x40)" * (cast_expression "(undefined4 *)(puVar8 + -0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x40)" ( (binary_expression "puVar8 + -0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00022c20();" (call_expression "FUN_00022c20()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar2 = *(undefined4 *)(puVar8 + -8);" (assignment_expression "uVar2 = *(undefined4 *)(puVar8 + -8)" identifier = (pointer_expression "*(undefined4 *)(puVar8 + -8)" * (cast_expression "(undefined4 *)(puVar8 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -8)" ( (binary_expression "puVar8 + -8" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(iVar1 + 0x24) = iVar6;" (assignment_expression "*(int *)(iVar1 + 0x24) = iVar6" (pointer_expression "*(int *)(iVar1 + 0x24)" * (cast_expression "(int *)(iVar1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x24)" ( (binary_expression "iVar1 + 0x24" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar1 + 0xbc) = uVar2;" (assignment_expression "*(undefined4 *)(iVar1 + 0xbc) = uVar2" (pointer_expression "*(undefined4 *)(iVar1 + 0xbc)" * (cast_expression "(undefined4 *)(iVar1 + 0xbc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xbc)" ( (binary_expression "iVar1 + 0xbc" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (if_statement "if (*(int *)(iVar6 + 0x58) != -1) {\n    uVar4 = (*(uint *)(*(int *)(iVar1 + 0x18) + 0xf8) >> 1 ^ 1) & 1;\n  }" if (parenthesized_expression "(*(int *)(iVar6 + 0x58) != -1)" ( (binary_expression "*(int *)(iVar6 + 0x58) != -1" (pointer_expression "*(int *)(iVar6 + 0x58)" * (cast_expression "(int *)(iVar6 + 0x58)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x58)" ( (binary_expression "iVar6 + 0x58" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    uVar4 = (*(uint *)(*(int *)(iVar1 + 0x18) + 0xf8) >> 1 ^ 1) & 1;\n  }" { (expression_statement "uVar4 = (*(uint *)(*(int *)(iVar1 + 0x18) + 0xf8) >> 1 ^ 1) & 1;" (assignment_expression "uVar4 = (*(uint *)(*(int *)(iVar1 + 0x18) + 0xf8) >> 1 ^ 1) & 1" identifier = (binary_expression "(*(uint *)(*(int *)(iVar1 + 0x18) + 0xf8) >> 1 ^ 1) & 1" (parenthesized_expression "(*(uint *)(*(int *)(iVar1 + 0x18) + 0xf8) >> 1 ^ 1)" ( (binary_expression "*(uint *)(*(int *)(iVar1 + 0x18) + 0xf8) >> 1 ^ 1" (binary_expression "*(uint *)(*(int *)(iVar1 + 0x18) + 0xf8) >> 1" (pointer_expression "*(uint *)(*(int *)(iVar1 + 0x18) + 0xf8)" * (cast_expression "(uint *)(*(int *)(iVar1 + 0x18) + 0xf8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x18) + 0xf8)" ( (binary_expression "*(int *)(iVar1 + 0x18) + 0xf8" (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) )))) + number_literal) )))) >> number_literal) ^ number_literal) )) & number_literal)) ;) })) (expression_statement "*(uint *)(iVar1 + 0x88) = uVar4;" (assignment_expression "*(uint *)(iVar1 + 0x88) = uVar4" (pointer_expression "*(uint *)(iVar1 + 0x88)" * (cast_expression "(uint *)(iVar1 + 0x88)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x88)" ( (binary_expression "iVar1 + 0x88" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar5 = *(int *)(iVar1 + 0x34);" (assignment_expression "iVar5 = *(int *)(iVar1 + 0x34)" identifier = (pointer_expression "*(int *)(iVar1 + 0x34)" * (cast_expression "(int *)(iVar1 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x34)" ( (binary_expression "iVar1 + 0x34" identifier + number_literal) ))))) ;) (if_statement "if (iVar5 == 0) {\nLAB_00016550:\n    if ((*(uint *)(puVar8 + -8) < 200 || *(int *)(puVar8 + -8) == 0xcc) ||\n       (*(int *)(puVar8 + -8) == 0x130)) goto LAB_00016515;\n  }\n  else {\n    *(int *)(puVar8 + -0x38) = iVar7 + 0x12d3e;\n    *(int *)(puVar8 + -0x3c) = iVar5;\n    *(undefined4 *)(puVar8 + -0x40) = 0x1650e;\n    iVar5 = FUN_000212c0();\n    if (iVar5 == 0) goto LAB_00016550;\nLAB_00016515:\n    uVar2 = *(undefined4 *)(iVar6 + 0x38);\n    *(undefined4 *)(iVar1 + 0x80) = *(undefined4 *)(iVar6 + 0x34);\n    *(undefined4 *)(iVar1 + 0x84) = uVar2;\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00016550:\n    if ((*(uint *)(puVar8 + -8) < 200 || *(int *)(puVar8 + -8) == 0xcc) ||\n       (*(int *)(puVar8 + -8) == 0x130)) goto LAB_00016515;\n  }" { (labeled_statement "LAB_00016550:\n    if ((*(uint *)(puVar8 + -8) < 200 || *(int *)(puVar8 + -8) == 0xcc) ||\n       (*(int *)(puVar8 + -8) == 0x130)) goto LAB_00016515;" statement_identifier : (if_statement "if ((*(uint *)(puVar8 + -8) < 200 || *(int *)(puVar8 + -8) == 0xcc) ||\n       (*(int *)(puVar8 + -8) == 0x130)) goto LAB_00016515;" if (parenthesized_expression "((*(uint *)(puVar8 + -8) < 200 || *(int *)(puVar8 + -8) == 0xcc) ||\n       (*(int *)(puVar8 + -8) == 0x130))" ( (binary_expression "(*(uint *)(puVar8 + -8) < 200 || *(int *)(puVar8 + -8) == 0xcc) ||\n       (*(int *)(puVar8 + -8) == 0x130)" (parenthesized_expression "(*(uint *)(puVar8 + -8) < 200 || *(int *)(puVar8 + -8) == 0xcc)" ( (binary_expression "*(uint *)(puVar8 + -8) < 200 || *(int *)(puVar8 + -8) == 0xcc" (binary_expression "*(uint *)(puVar8 + -8) < 200" (pointer_expression "*(uint *)(puVar8 + -8)" * (cast_expression "(uint *)(puVar8 + -8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -8)" ( (binary_expression "puVar8 + -8" identifier + number_literal) )))) < number_literal) || (binary_expression "*(int *)(puVar8 + -8) == 0xcc" (pointer_expression "*(int *)(puVar8 + -8)" * (cast_expression "(int *)(puVar8 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -8)" ( (binary_expression "puVar8 + -8" identifier + number_literal) )))) == number_literal)) )) || (parenthesized_expression "(*(int *)(puVar8 + -8) == 0x130)" ( (binary_expression "*(int *)(puVar8 + -8) == 0x130" (pointer_expression "*(int *)(puVar8 + -8)" * (cast_expression "(int *)(puVar8 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -8)" ( (binary_expression "puVar8 + -8" identifier + number_literal) )))) == number_literal) ))) )) (goto_statement "goto LAB_00016515;" goto statement_identifier ;))) }) (else_clause "else {\n    *(int *)(puVar8 + -0x38) = iVar7 + 0x12d3e;\n    *(int *)(puVar8 + -0x3c) = iVar5;\n    *(undefined4 *)(puVar8 + -0x40) = 0x1650e;\n    iVar5 = FUN_000212c0();\n    if (iVar5 == 0) goto LAB_00016550;\nLAB_00016515:\n    uVar2 = *(undefined4 *)(iVar6 + 0x38);\n    *(undefined4 *)(iVar1 + 0x80) = *(undefined4 *)(iVar6 + 0x34);\n    *(undefined4 *)(iVar1 + 0x84) = uVar2;\n  }" else (compound_statement "{\n    *(int *)(puVar8 + -0x38) = iVar7 + 0x12d3e;\n    *(int *)(puVar8 + -0x3c) = iVar5;\n    *(undefined4 *)(puVar8 + -0x40) = 0x1650e;\n    iVar5 = FUN_000212c0();\n    if (iVar5 == 0) goto LAB_00016550;\nLAB_00016515:\n    uVar2 = *(undefined4 *)(iVar6 + 0x38);\n    *(undefined4 *)(iVar1 + 0x80) = *(undefined4 *)(iVar6 + 0x34);\n    *(undefined4 *)(iVar1 + 0x84) = uVar2;\n  }" { (expression_statement "*(int *)(puVar8 + -0x38) = iVar7 + 0x12d3e;" (assignment_expression "*(int *)(puVar8 + -0x38) = iVar7 + 0x12d3e" (pointer_expression "*(int *)(puVar8 + -0x38)" * (cast_expression "(int *)(puVar8 + -0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x38)" ( (binary_expression "puVar8 + -0x38" identifier + number_literal) )))) = (binary_expression "iVar7 + 0x12d3e" identifier + number_literal)) ;) (expression_statement "*(int *)(puVar8 + -0x3c) = iVar5;" (assignment_expression "*(int *)(puVar8 + -0x3c) = iVar5" (pointer_expression "*(int *)(puVar8 + -0x3c)" * (cast_expression "(int *)(puVar8 + -0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x3c)" ( (binary_expression "puVar8 + -0x3c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x40) = 0x1650e;" (assignment_expression "*(undefined4 *)(puVar8 + -0x40) = 0x1650e" (pointer_expression "*(undefined4 *)(puVar8 + -0x40)" * (cast_expression "(undefined4 *)(puVar8 + -0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x40)" ( (binary_expression "puVar8 + -0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar5 = FUN_000212c0();" (assignment_expression "iVar5 = FUN_000212c0()" identifier = (call_expression "FUN_000212c0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar5 == 0) goto LAB_00016550;" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00016550;" goto statement_identifier ;)) (labeled_statement "LAB_00016515:\n    uVar2 = *(undefined4 *)(iVar6 + 0x38);" statement_identifier : (expression_statement "uVar2 = *(undefined4 *)(iVar6 + 0x38);" (assignment_expression "uVar2 = *(undefined4 *)(iVar6 + 0x38)" identifier = (pointer_expression "*(undefined4 *)(iVar6 + 0x38)" * (cast_expression "(undefined4 *)(iVar6 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38)" ( (binary_expression "iVar6 + 0x38" identifier + number_literal) ))))) ;)) (expression_statement "*(undefined4 *)(iVar1 + 0x80) = *(undefined4 *)(iVar6 + 0x34);" (assignment_expression "*(undefined4 *)(iVar1 + 0x80) = *(undefined4 *)(iVar6 + 0x34)" (pointer_expression "*(undefined4 *)(iVar1 + 0x80)" * (cast_expression "(undefined4 *)(iVar1 + 0x80)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x80)" ( (binary_expression "iVar1 + 0x80" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar6 + 0x34)" * (cast_expression "(undefined4 *)(iVar6 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x34)" ( (binary_expression "iVar6 + 0x34" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x84) = uVar2;" (assignment_expression "*(undefined4 *)(iVar1 + 0x84) = uVar2" (pointer_expression "*(undefined4 *)(iVar1 + 0x84)" * (cast_expression "(undefined4 *)(iVar1 + 0x84)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x84)" ( (binary_expression "iVar1 + 0x84" identifier + number_literal) )))) = identifier) ;) }))) (if_statement "if ((*(int *)(iVar1 + 0xb4) == 4) && (iVar6 = *(int *)(iVar1 + 0x34), iVar6 != 0)) {\n    *(int *)(puVar8 + -0x38) = iVar7 + 0x12d43;\n    *(int *)(puVar8 + -0x3c) = iVar6;\n    *(undefined4 *)(puVar8 + -0x40) = 0x165a7;\n    iVar6 = FUN_000212c0();\n    if (iVar6 == 0) {\n      *(int *)(puVar8 + -0x38) = iVar7 + 0x12d48;\n      *(undefined4 *)(puVar8 + -0x3c) = *(undefined4 *)(iVar1 + 0x34);\n      *(undefined4 *)(puVar8 + -0x40) = 0x16600;\n      iVar7 = FUN_000212c0();\n      if (iVar7 == 0) goto LAB_00016530;\n    }\n    *(undefined1 *)(iVar1 + 0xa9) = 1;\n    *(undefined4 *)(iVar1 + 0xb4) = 9;\n  }" if (parenthesized_expression "((*(int *)(iVar1 + 0xb4) == 4) && (iVar6 = *(int *)(iVar1 + 0x34), iVar6 != 0))" ( (binary_expression "(*(int *)(iVar1 + 0xb4) == 4) && (iVar6 = *(int *)(iVar1 + 0x34), iVar6 != 0)" (parenthesized_expression "(*(int *)(iVar1 + 0xb4) == 4)" ( (binary_expression "*(int *)(iVar1 + 0xb4) == 4" (pointer_expression "*(int *)(iVar1 + 0xb4)" * (cast_expression "(int *)(iVar1 + 0xb4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xb4)" ( (binary_expression "iVar1 + 0xb4" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(iVar6 = *(int *)(iVar1 + 0x34), iVar6 != 0)" ( (comma_expression "iVar6 = *(int *)(iVar1 + 0x34), iVar6 != 0" (assignment_expression "iVar6 = *(int *)(iVar1 + 0x34)" identifier = (pointer_expression "*(int *)(iVar1 + 0x34)" * (cast_expression "(int *)(iVar1 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x34)" ( (binary_expression "iVar1 + 0x34" identifier + number_literal) ))))) , (binary_expression "iVar6 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    *(int *)(puVar8 + -0x38) = iVar7 + 0x12d43;\n    *(int *)(puVar8 + -0x3c) = iVar6;\n    *(undefined4 *)(puVar8 + -0x40) = 0x165a7;\n    iVar6 = FUN_000212c0();\n    if (iVar6 == 0) {\n      *(int *)(puVar8 + -0x38) = iVar7 + 0x12d48;\n      *(undefined4 *)(puVar8 + -0x3c) = *(undefined4 *)(iVar1 + 0x34);\n      *(undefined4 *)(puVar8 + -0x40) = 0x16600;\n      iVar7 = FUN_000212c0();\n      if (iVar7 == 0) goto LAB_00016530;\n    }\n    *(undefined1 *)(iVar1 + 0xa9) = 1;\n    *(undefined4 *)(iVar1 + 0xb4) = 9;\n  }" { (expression_statement "*(int *)(puVar8 + -0x38) = iVar7 + 0x12d43;" (assignment_expression "*(int *)(puVar8 + -0x38) = iVar7 + 0x12d43" (pointer_expression "*(int *)(puVar8 + -0x38)" * (cast_expression "(int *)(puVar8 + -0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x38)" ( (binary_expression "puVar8 + -0x38" identifier + number_literal) )))) = (binary_expression "iVar7 + 0x12d43" identifier + number_literal)) ;) (expression_statement "*(int *)(puVar8 + -0x3c) = iVar6;" (assignment_expression "*(int *)(puVar8 + -0x3c) = iVar6" (pointer_expression "*(int *)(puVar8 + -0x3c)" * (cast_expression "(int *)(puVar8 + -0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x3c)" ( (binary_expression "puVar8 + -0x3c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x40) = 0x165a7;" (assignment_expression "*(undefined4 *)(puVar8 + -0x40) = 0x165a7" (pointer_expression "*(undefined4 *)(puVar8 + -0x40)" * (cast_expression "(undefined4 *)(puVar8 + -0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x40)" ( (binary_expression "puVar8 + -0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar6 = FUN_000212c0();" (assignment_expression "iVar6 = FUN_000212c0()" identifier = (call_expression "FUN_000212c0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar6 == 0) {\n      *(int *)(puVar8 + -0x38) = iVar7 + 0x12d48;\n      *(undefined4 *)(puVar8 + -0x3c) = *(undefined4 *)(iVar1 + 0x34);\n      *(undefined4 *)(puVar8 + -0x40) = 0x16600;\n      iVar7 = FUN_000212c0();\n      if (iVar7 == 0) goto LAB_00016530;\n    }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n      *(int *)(puVar8 + -0x38) = iVar7 + 0x12d48;\n      *(undefined4 *)(puVar8 + -0x3c) = *(undefined4 *)(iVar1 + 0x34);\n      *(undefined4 *)(puVar8 + -0x40) = 0x16600;\n      iVar7 = FUN_000212c0();\n      if (iVar7 == 0) goto LAB_00016530;\n    }" { (expression_statement "*(int *)(puVar8 + -0x38) = iVar7 + 0x12d48;" (assignment_expression "*(int *)(puVar8 + -0x38) = iVar7 + 0x12d48" (pointer_expression "*(int *)(puVar8 + -0x38)" * (cast_expression "(int *)(puVar8 + -0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x38)" ( (binary_expression "puVar8 + -0x38" identifier + number_literal) )))) = (binary_expression "iVar7 + 0x12d48" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x3c) = *(undefined4 *)(iVar1 + 0x34);" (assignment_expression "*(undefined4 *)(puVar8 + -0x3c) = *(undefined4 *)(iVar1 + 0x34)" (pointer_expression "*(undefined4 *)(puVar8 + -0x3c)" * (cast_expression "(undefined4 *)(puVar8 + -0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x3c)" ( (binary_expression "puVar8 + -0x3c" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar1 + 0x34)" * (cast_expression "(undefined4 *)(iVar1 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x34)" ( (binary_expression "iVar1 + 0x34" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x40) = 0x16600;" (assignment_expression "*(undefined4 *)(puVar8 + -0x40) = 0x16600" (pointer_expression "*(undefined4 *)(puVar8 + -0x40)" * (cast_expression "(undefined4 *)(puVar8 + -0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x40)" ( (binary_expression "puVar8 + -0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar7 = FUN_000212c0();" (assignment_expression "iVar7 = FUN_000212c0()" identifier = (call_expression "FUN_000212c0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar7 == 0) goto LAB_00016530;" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00016530;" goto statement_identifier ;)) })) (expression_statement "*(undefined1 *)(iVar1 + 0xa9) = 1;" (assignment_expression "*(undefined1 *)(iVar1 + 0xa9) = 1" (pointer_expression "*(undefined1 *)(iVar1 + 0xa9)" * (cast_expression "(undefined1 *)(iVar1 + 0xa9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xa9)" ( (binary_expression "iVar1 + 0xa9" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0xb4) = 9;" (assignment_expression "*(undefined4 *)(iVar1 + 0xb4) = 9" (pointer_expression "*(undefined4 *)(iVar1 + 0xb4)" * (cast_expression "(undefined4 *)(iVar1 + 0xb4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xb4)" ( (binary_expression "iVar1 + 0xb4" identifier + number_literal) )))) = number_literal) ;) })) (labeled_statement "LAB_00016530:\n  if (*(char *)(iVar1 + 0xab) == '\0') {\n    *(int *)(puVar8 + -0x3c) = iVar1;\n    *(undefined4 *)(puVar8 + -0x40) = 0x165d1;\n    FUN_00016a50();\n  }" statement_identifier : (if_statement "if (*(char *)(iVar1 + 0xab) == '\0') {\n    *(int *)(puVar8 + -0x3c) = iVar1;\n    *(undefined4 *)(puVar8 + -0x40) = 0x165d1;\n    FUN_00016a50();\n  }" if (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    *(int *)(puVar8 + -0x3c) = iVar1;\n    *(undefined4 *)(puVar8 + -0x40) = 0x165d1;\n    FUN_00016a50();\n  }" { (expression_statement "*(int *)(puVar8 + -0x3c) = iVar1;" (assignment_expression "*(int *)(puVar8 + -0x3c) = iVar1" (pointer_expression "*(int *)(puVar8 + -0x3c)" * (cast_expression "(int *)(puVar8 + -0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x3c)" ( (binary_expression "puVar8 + -0x3c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x40) = 0x165d1;" (assignment_expression "*(undefined4 *)(puVar8 + -0x40) = 0x165d1" (pointer_expression "*(undefined4 *)(puVar8 + -0x40)" * (cast_expression "(undefined4 *)(puVar8 + -0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x40)" ( (binary_expression "puVar8 + -0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00016a50();" (call_expression "FUN_00016a50()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return 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) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) && (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) ))))) ;) (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) )) (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) ;) }) (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) )) (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 { (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) )))) = IDENT) ;) (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 ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (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) ))))) ;) (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) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = IDENT) ;) }))) (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 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) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = 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 IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (string_literal " string_content escape_sequence ")) ;) (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 * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (string_literal " string_content ")) ;) (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 (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (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) )))) = 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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator *)))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression & 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 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 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 { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (return_statement return 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) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) (compound_statement { (return_statement return 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) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return 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) )))) == (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (goto_statement goto statement_identifier ;) })) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (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) )))) = IDENT) ;) (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 ( ))) ;) (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (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) ;) (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 = (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) )))) = 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 = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (binary_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) ^ LIT) )) & LIT)) ;) })) (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) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < LIT) || (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT)) )) || (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (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 IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (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 (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) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (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) )))) = (binary_expression IDENT + LIT)) ;) (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 IDENT = (call_expression IDENT (argument_list ( )))) ;) (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) )))) = (binary_expression IDENT + 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) ))))) ;) (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 = (call_expression IDENT (argument_list ( )))) ;) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (return_statement return LIT ;) })))
(function_definition "undefined4 MHD_set_connection_option(int param_1,int param_2,int param_3)\n\n{\n  pthread_mutex_t *__mutex;\n  int iVar1;\n  undefined4 uVar2;\n  pthread_t pVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  undefined1 *puVar8;\n  undefined1 auStack_1c [8];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16209;\n  puVar8 = auStack_1c;\n  if (param_2 != 0) {\n    return 0;\n  }\n  iVar7 = *(int *)(param_1 + 0x18);\n  if (*(int *)(param_1 + 0x98) == 0) {\n    uVar2 = FUN_00021230();\n    *(undefined4 *)(param_1 + 0x94) = uVar2;\n  }\n  __mutex = (pthread_mutex_t *)(iVar7 + 0xac);\n  iVar1 = pthread_mutex_lock(__mutex);\n  if (iVar1 == 0) {\n    if (((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')) {\n      iVar1 = *(int *)(param_1 + 0x14);\n      uVar2 = *(undefined4 *)(param_1 + 0x10);\n      if (*(int *)(param_1 + 0x98) == *(int *)(iVar7 + 0xf0)) {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x30) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 != 0) goto LAB_00016290;\n        *(undefined4 *)(iVar7 + 0x34) = uVar2;\n      }\n      else {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x38) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x3c) = uVar2;\n        }\n        else {\nLAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;\n        }\n      }\n      *(undefined4 *)(param_1 + 0x10) = 0;\n      *(undefined4 *)(param_1 + 0x14) = 0;\n    }\n    *(int *)(param_1 + 0x98) = param_3;\n    if (((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')) {\n      if (param_3 == *(int *)(iVar7 + 0xf0)) {\n        uVar2 = *(undefined4 *)(iVar7 + 0x30);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x34) == 0) {\n          *(int *)(iVar7 + 0x34) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x30) = param_1;\n      }\n      else {\n        uVar2 = *(undefined4 *)(iVar7 + 0x38);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x3c) == 0) {\n          *(int *)(iVar7 + 0x3c) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x38) = param_1;\n      }\n    }\n    iVar1 = pthread_mutex_unlock(__mutex);\n    if (iVar1 == 0) {\n      return 1;\n    }\n    puVar8 = &stack0xffffffd4;\n    (*DAT_0003406c)();\n  }\n  *(char **)(puVar8 + -4) = "Failed to lock mutex.\n";\n  *(undefined4 *)(puVar8 + -8) = 0xf88;\n  *(char **)(puVar8 + -0xc) = "connection.c";\n  *(undefined4 *)(puVar8 + -0x10) = DAT_00034068;\n  *(undefined4 *)(puVar8 + -0x14) = 0x16403;\n  (*DAT_0003406c)();\n  *(pthread_mutex_t **)(puVar8 + -0x14) = __mutex;\n  *(int *)(puVar8 + -0x18) = iVar7;\n  *(int *)(puVar8 + -0x1c) = param_1;\n  *(undefined ***)(puVar8 + -0x20) = &__DT_PLTGOT;\n  *(undefined4 *)(puVar8 + -0x24) = 0x1641b;\n  iVar7 = *(int *)(puVar8 + -0x24);\n  iVar1 = *(int *)(puVar8 + -0xc);\n  iVar6 = *(int *)(puVar8 + -4);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  if (iVar6 == 0) {\n    return 0;\n  }\n  if (*(int *)(iVar1 + 0x24) != 0) {\n    return 0;\n  }\n  if ((*(int *)(iVar1 + 0xb4) != 4) && (*(int *)(iVar1 + 0xb4) != 9)) {\n    return 0;\n  }\n  iVar5 = *(int *)(iVar1 + 0x18);\n  if (*(char *)(iVar5 + 0xe0) != '\0') {\n    return 1;\n  }\n  if ((*(char *)(iVar1 + 0xf1) == '\0') && ((*(byte *)(iVar5 + 0xf8) & 8) != 0)) {\n    *(undefined4 *)(puVar8 + -0x30) = 0x16481;\n    pVar3 = pthread_self();\n    if (pVar3 != *(pthread_t *)(iVar1 + 0x5c)) {\n      iVar7 = iVar7 + 0x13069;\n      goto LAB_00016490;\n    }\n  }\n  if (*(int *)(iVar6 + 0x14) != 0) {\n    if ((*(byte *)(iVar5 + 0xf9) & 0x80) == 0) {\n      iVar7 = iVar7 + 0x13099;\nLAB_00016490:\n      *(int *)(puVar8 + -0x38) = iVar7;\n      *(int *)(puVar8 + -0x3c) = iVar5;\n      *(undefined4 *)(puVar8 + -0x40) = 0x16497;\n      FUN_00020aa0();\n      return 0;\n    }\n    if (*(int *)(puVar8 + -8) != 0x65) {\n      iVar7 = iVar7 + 0x130e5;\n      goto LAB_00016490;\n    }\n  }\n  *(int *)(puVar8 + -0x3c) = iVar6;\n  *(undefined4 *)(puVar8 + -0x40) = 0x164c8;\n  FUN_00022c20();\n  uVar2 = *(undefined4 *)(puVar8 + -8);\n  *(int *)(iVar1 + 0x24) = iVar6;\n  *(undefined4 *)(iVar1 + 0xbc) = uVar2;\n  uVar4 = 0;\n  if (*(int *)(iVar6 + 0x58) != -1) {\n    uVar4 = (*(uint *)(*(int *)(iVar1 + 0x18) + 0xf8) >> 1 ^ 1) & 1;\n  }\n  *(uint *)(iVar1 + 0x88) = uVar4;\n  iVar5 = *(int *)(iVar1 + 0x34);\n  if (iVar5 == 0) {\nLAB_00016550:\n    if ((*(uint *)(puVar8 + -8) < 200 || *(int *)(puVar8 + -8) == 0xcc) ||\n       (*(int *)(puVar8 + -8) == 0x130)) goto LAB_00016515;\n  }\n  else {\n    *(int *)(puVar8 + -0x38) = iVar7 + 0x12d3e;\n    *(int *)(puVar8 + -0x3c) = iVar5;\n    *(undefined4 *)(puVar8 + -0x40) = 0x1650e;\n    iVar5 = FUN_000212c0();\n    if (iVar5 == 0) goto LAB_00016550;\nLAB_00016515:\n    uVar2 = *(undefined4 *)(iVar6 + 0x38);\n    *(undefined4 *)(iVar1 + 0x80) = *(undefined4 *)(iVar6 + 0x34);\n    *(undefined4 *)(iVar1 + 0x84) = uVar2;\n  }\n  if ((*(int *)(iVar1 + 0xb4) == 4) && (iVar6 = *(int *)(iVar1 + 0x34), iVar6 != 0)) {\n    *(int *)(puVar8 + -0x38) = iVar7 + 0x12d43;\n    *(int *)(puVar8 + -0x3c) = iVar6;\n    *(undefined4 *)(puVar8 + -0x40) = 0x165a7;\n    iVar6 = FUN_000212c0();\n    if (iVar6 == 0) {\n      *(int *)(puVar8 + -0x38) = iVar7 + 0x12d48;\n      *(undefined4 *)(puVar8 + -0x3c) = *(undefined4 *)(iVar1 + 0x34);\n      *(undefined4 *)(puVar8 + -0x40) = 0x16600;\n      iVar7 = FUN_000212c0();\n      if (iVar7 == 0) goto LAB_00016530;\n    }\n    *(undefined1 *)(iVar1 + 0xa9) = 1;\n    *(undefined4 *)(iVar1 + 0xb4) = 9;\n  }\nLAB_00016530:\n  if (*(char *)(iVar1 + 0xab) == '\0') {\n    *(int *)(puVar8 + -0x3c) = iVar1;\n    *(undefined4 *)(puVar8 + -0x40) = 0x165d1;\n    FUN_00016a50();\n  }\n  return 1;\n}" (type_identifier "undefined4") (function_declarator "MHD_set_connection_option(int param_1,int param_2,int param_3)" (identifier "MHD_set_connection_option") (parameter_list "(int param_1,int param_2,int param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  pthread_mutex_t *__mutex;\n  int iVar1;\n  undefined4 uVar2;\n  pthread_t pVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  undefined1 *puVar8;\n  undefined1 auStack_1c [8];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16209;\n  puVar8 = auStack_1c;\n  if (param_2 != 0) {\n    return 0;\n  }\n  iVar7 = *(int *)(param_1 + 0x18);\n  if (*(int *)(param_1 + 0x98) == 0) {\n    uVar2 = FUN_00021230();\n    *(undefined4 *)(param_1 + 0x94) = uVar2;\n  }\n  __mutex = (pthread_mutex_t *)(iVar7 + 0xac);\n  iVar1 = pthread_mutex_lock(__mutex);\n  if (iVar1 == 0) {\n    if (((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')) {\n      iVar1 = *(int *)(param_1 + 0x14);\n      uVar2 = *(undefined4 *)(param_1 + 0x10);\n      if (*(int *)(param_1 + 0x98) == *(int *)(iVar7 + 0xf0)) {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x30) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 != 0) goto LAB_00016290;\n        *(undefined4 *)(iVar7 + 0x34) = uVar2;\n      }\n      else {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x38) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x3c) = uVar2;\n        }\n        else {\nLAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;\n        }\n      }\n      *(undefined4 *)(param_1 + 0x10) = 0;\n      *(undefined4 *)(param_1 + 0x14) = 0;\n    }\n    *(int *)(param_1 + 0x98) = param_3;\n    if (((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')) {\n      if (param_3 == *(int *)(iVar7 + 0xf0)) {\n        uVar2 = *(undefined4 *)(iVar7 + 0x30);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x34) == 0) {\n          *(int *)(iVar7 + 0x34) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x30) = param_1;\n      }\n      else {\n        uVar2 = *(undefined4 *)(iVar7 + 0x38);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x3c) == 0) {\n          *(int *)(iVar7 + 0x3c) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x38) = param_1;\n      }\n    }\n    iVar1 = pthread_mutex_unlock(__mutex);\n    if (iVar1 == 0) {\n      return 1;\n    }\n    puVar8 = &stack0xffffffd4;\n    (*DAT_0003406c)();\n  }\n  *(char **)(puVar8 + -4) = "Failed to lock mutex.\n";\n  *(undefined4 *)(puVar8 + -8) = 0xf88;\n  *(char **)(puVar8 + -0xc) = "connection.c";\n  *(undefined4 *)(puVar8 + -0x10) = DAT_00034068;\n  *(undefined4 *)(puVar8 + -0x14) = 0x16403;\n  (*DAT_0003406c)();\n  *(pthread_mutex_t **)(puVar8 + -0x14) = __mutex;\n  *(int *)(puVar8 + -0x18) = iVar7;\n  *(int *)(puVar8 + -0x1c) = param_1;\n  *(undefined ***)(puVar8 + -0x20) = &__DT_PLTGOT;\n  *(undefined4 *)(puVar8 + -0x24) = 0x1641b;\n  iVar7 = *(int *)(puVar8 + -0x24);\n  iVar1 = *(int *)(puVar8 + -0xc);\n  iVar6 = *(int *)(puVar8 + -4);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  if (iVar6 == 0) {\n    return 0;\n  }\n  if (*(int *)(iVar1 + 0x24) != 0) {\n    return 0;\n  }\n  if ((*(int *)(iVar1 + 0xb4) != 4) && (*(int *)(iVar1 + 0xb4) != 9)) {\n    return 0;\n  }\n  iVar5 = *(int *)(iVar1 + 0x18);\n  if (*(char *)(iVar5 + 0xe0) != '\0') {\n    return 1;\n  }\n  if ((*(char *)(iVar1 + 0xf1) == '\0') && ((*(byte *)(iVar5 + 0xf8) & 8) != 0)) {\n    *(undefined4 *)(puVar8 + -0x30) = 0x16481;\n    pVar3 = pthread_self();\n    if (pVar3 != *(pthread_t *)(iVar1 + 0x5c)) {\n      iVar7 = iVar7 + 0x13069;\n      goto LAB_00016490;\n    }\n  }\n  if (*(int *)(iVar6 + 0x14) != 0) {\n    if ((*(byte *)(iVar5 + 0xf9) & 0x80) == 0) {\n      iVar7 = iVar7 + 0x13099;\nLAB_00016490:\n      *(int *)(puVar8 + -0x38) = iVar7;\n      *(int *)(puVar8 + -0x3c) = iVar5;\n      *(undefined4 *)(puVar8 + -0x40) = 0x16497;\n      FUN_00020aa0();\n      return 0;\n    }\n    if (*(int *)(puVar8 + -8) != 0x65) {\n      iVar7 = iVar7 + 0x130e5;\n      goto LAB_00016490;\n    }\n  }\n  *(int *)(puVar8 + -0x3c) = iVar6;\n  *(undefined4 *)(puVar8 + -0x40) = 0x164c8;\n  FUN_00022c20();\n  uVar2 = *(undefined4 *)(puVar8 + -8);\n  *(int *)(iVar1 + 0x24) = iVar6;\n  *(undefined4 *)(iVar1 + 0xbc) = uVar2;\n  uVar4 = 0;\n  if (*(int *)(iVar6 + 0x58) != -1) {\n    uVar4 = (*(uint *)(*(int *)(iVar1 + 0x18) + 0xf8) >> 1 ^ 1) & 1;\n  }\n  *(uint *)(iVar1 + 0x88) = uVar4;\n  iVar5 = *(int *)(iVar1 + 0x34);\n  if (iVar5 == 0) {\nLAB_00016550:\n    if ((*(uint *)(puVar8 + -8) < 200 || *(int *)(puVar8 + -8) == 0xcc) ||\n       (*(int *)(puVar8 + -8) == 0x130)) goto LAB_00016515;\n  }\n  else {\n    *(int *)(puVar8 + -0x38) = iVar7 + 0x12d3e;\n    *(int *)(puVar8 + -0x3c) = iVar5;\n    *(undefined4 *)(puVar8 + -0x40) = 0x1650e;\n    iVar5 = FUN_000212c0();\n    if (iVar5 == 0) goto LAB_00016550;\nLAB_00016515:\n    uVar2 = *(undefined4 *)(iVar6 + 0x38);\n    *(undefined4 *)(iVar1 + 0x80) = *(undefined4 *)(iVar6 + 0x34);\n    *(undefined4 *)(iVar1 + 0x84) = uVar2;\n  }\n  if ((*(int *)(iVar1 + 0xb4) == 4) && (iVar6 = *(int *)(iVar1 + 0x34), iVar6 != 0)) {\n    *(int *)(puVar8 + -0x38) = iVar7 + 0x12d43;\n    *(int *)(puVar8 + -0x3c) = iVar6;\n    *(undefined4 *)(puVar8 + -0x40) = 0x165a7;\n    iVar6 = FUN_000212c0();\n    if (iVar6 == 0) {\n      *(int *)(puVar8 + -0x38) = iVar7 + 0x12d48;\n      *(undefined4 *)(puVar8 + -0x3c) = *(undefined4 *)(iVar1 + 0x34);\n      *(undefined4 *)(puVar8 + -0x40) = 0x16600;\n      iVar7 = FUN_000212c0();\n      if (iVar7 == 0) goto LAB_00016530;\n    }\n    *(undefined1 *)(iVar1 + 0xa9) = 1;\n    *(undefined4 *)(iVar1 + 0xb4) = 9;\n  }\nLAB_00016530:\n  if (*(char *)(iVar1 + 0xab) == '\0') {\n    *(int *)(puVar8 + -0x3c) = iVar1;\n    *(undefined4 *)(puVar8 + -0x40) = 0x165d1;\n    FUN_00016a50();\n  }\n  return 1;\n}" ({ "{") (declaration "pthread_mutex_t *__mutex;" (type_identifier "pthread_mutex_t") (pointer_declarator "*__mutex" (* "*") (identifier "__mutex")) (; ";")) (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "pthread_t pVar3;" (type_identifier "pthread_t") (identifier "pVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "undefined1 *puVar8;" (type_identifier "undefined1") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "undefined1 auStack_1c [8];" (type_identifier "undefined1") (array_declarator "auStack_1c [8]" (identifier "auStack_1c") ([ "[") (number_literal "8") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x16209;" (assignment_expression "uStack_14 = 0x16209" (identifier "uStack_14") (= "=") (number_literal "0x16209")) (; ";")) (expression_statement "puVar8 = auStack_1c;" (assignment_expression "puVar8 = auStack_1c" (identifier "puVar8") (= "=") (identifier "auStack_1c")) (; ";")) (if_statement "if (param_2 != 0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar7 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar7 = *(int *)(param_1 + 0x18)" (identifier "iVar7") (= "=") (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (*(int *)(param_1 + 0x98) == 0) {\n    uVar2 = FUN_00021230();\n    *(undefined4 *)(param_1 + 0x94) = uVar2;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x98) == 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x98) == 0" (pointer_expression "*(int *)(param_1 + 0x98)" (* "*") (cast_expression "(int *)(param_1 + 0x98)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x98)" (( "(") (binary_expression "param_1 + 0x98" (identifier "param_1") (+ "+") (number_literal "0x98")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar2 = FUN_00021230();\n    *(undefined4 *)(param_1 + 0x94) = uVar2;\n  }" ({ "{") (expression_statement "uVar2 = FUN_00021230();" (assignment_expression "uVar2 = FUN_00021230()" (identifier "uVar2") (= "=") (call_expression "FUN_00021230()" (identifier "FUN_00021230") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x94) = uVar2;" (assignment_expression "*(undefined4 *)(param_1 + 0x94) = uVar2" (pointer_expression "*(undefined4 *)(param_1 + 0x94)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x94)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x94)" (( "(") (binary_expression "param_1 + 0x94" (identifier "param_1") (+ "+") (number_literal "0x94")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (} "}"))) (expression_statement "__mutex = (pthread_mutex_t *)(iVar7 + 0xac);" (assignment_expression "__mutex = (pthread_mutex_t *)(iVar7 + 0xac)" (identifier "__mutex") (= "=") (cast_expression "(pthread_mutex_t *)(iVar7 + 0xac)" (( "(") (type_descriptor "pthread_mutex_t *" (type_identifier "pthread_mutex_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0xac)" (( "(") (binary_expression "iVar7 + 0xac" (identifier "iVar7") (+ "+") (number_literal "0xac")) () ")")))) (; ";")) (expression_statement "iVar1 = pthread_mutex_lock(__mutex);" (assignment_expression "iVar1 = pthread_mutex_lock(__mutex)" (identifier "iVar1") (= "=") (call_expression "pthread_mutex_lock(__mutex)" (identifier "pthread_mutex_lock") (argument_list "(__mutex)" (( "(") (identifier "__mutex") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n    if (((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')) {\n      iVar1 = *(int *)(param_1 + 0x14);\n      uVar2 = *(undefined4 *)(param_1 + 0x10);\n      if (*(int *)(param_1 + 0x98) == *(int *)(iVar7 + 0xf0)) {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x30) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 != 0) goto LAB_00016290;\n        *(undefined4 *)(iVar7 + 0x34) = uVar2;\n      }\n      else {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x38) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x3c) = uVar2;\n        }\n        else {\nLAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;\n        }\n      }\n      *(undefined4 *)(param_1 + 0x10) = 0;\n      *(undefined4 *)(param_1 + 0x14) = 0;\n    }\n    *(int *)(param_1 + 0x98) = param_3;\n    if (((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')) {\n      if (param_3 == *(int *)(iVar7 + 0xf0)) {\n        uVar2 = *(undefined4 *)(iVar7 + 0x30);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x34) == 0) {\n          *(int *)(iVar7 + 0x34) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x30) = param_1;\n      }\n      else {\n        uVar2 = *(undefined4 *)(iVar7 + 0x38);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x3c) == 0) {\n          *(int *)(iVar7 + 0x3c) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x38) = param_1;\n      }\n    }\n    iVar1 = pthread_mutex_unlock(__mutex);\n    if (iVar1 == 0) {\n      return 1;\n    }\n    puVar8 = &stack0xffffffd4;\n    (*DAT_0003406c)();\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')) {\n      iVar1 = *(int *)(param_1 + 0x14);\n      uVar2 = *(undefined4 *)(param_1 + 0x10);\n      if (*(int *)(param_1 + 0x98) == *(int *)(iVar7 + 0xf0)) {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x30) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 != 0) goto LAB_00016290;\n        *(undefined4 *)(iVar7 + 0x34) = uVar2;\n      }\n      else {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x38) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x3c) = uVar2;\n        }\n        else {\nLAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;\n        }\n      }\n      *(undefined4 *)(param_1 + 0x10) = 0;\n      *(undefined4 *)(param_1 + 0x14) = 0;\n    }\n    *(int *)(param_1 + 0x98) = param_3;\n    if (((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')) {\n      if (param_3 == *(int *)(iVar7 + 0xf0)) {\n        uVar2 = *(undefined4 *)(iVar7 + 0x30);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x34) == 0) {\n          *(int *)(iVar7 + 0x34) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x30) = param_1;\n      }\n      else {\n        uVar2 = *(undefined4 *)(iVar7 + 0x38);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x3c) == 0) {\n          *(int *)(iVar7 + 0x3c) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x38) = param_1;\n      }\n    }\n    iVar1 = pthread_mutex_unlock(__mutex);\n    if (iVar1 == 0) {\n      return 1;\n    }\n    puVar8 = &stack0xffffffd4;\n    (*DAT_0003406c)();\n  }" ({ "{") (if_statement "if (((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')) {\n      iVar1 = *(int *)(param_1 + 0x14);\n      uVar2 = *(undefined4 *)(param_1 + 0x10);\n      if (*(int *)(param_1 + 0x98) == *(int *)(iVar7 + 0xf0)) {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x30) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 != 0) goto LAB_00016290;\n        *(undefined4 *)(iVar7 + 0x34) = uVar2;\n      }\n      else {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x38) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x3c) = uVar2;\n        }\n        else {\nLAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;\n        }\n      }\n      *(undefined4 *)(param_1 + 0x10) = 0;\n      *(undefined4 *)(param_1 + 0x14) = 0;\n    }" (if "if") (parenthesized_expression "(((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0'))" (( "(") (binary_expression "((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')" (parenthesized_expression "((*(byte *)(iVar7 + 0xf8) & 4) == 0)" (( "(") (binary_expression "(*(byte *)(iVar7 + 0xf8) & 4) == 0" (parenthesized_expression "(*(byte *)(iVar7 + 0xf8) & 4)" (( "(") (binary_expression "*(byte *)(iVar7 + 0xf8) & 4" (pointer_expression "*(byte *)(iVar7 + 0xf8)" (* "*") (cast_expression "(byte *)(iVar7 + 0xf8)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0xf8)" (( "(") (binary_expression "iVar7 + 0xf8" (identifier "iVar7") (+ "+") (number_literal "0xf8")) () ")")))) (& "&") (number_literal "4")) () ")")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(char *)(param_1 + 0xf1) == '\0')" (( "(") (binary_expression "*(char *)(param_1 + 0xf1) == '\0'" (pointer_expression "*(char *)(param_1 + 0xf1)" (* "*") (cast_expression "(char *)(param_1 + 0xf1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xf1)" (( "(") (binary_expression "param_1 + 0xf1" (identifier "param_1") (+ "+") (number_literal "0xf1")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n      iVar1 = *(int *)(param_1 + 0x14);\n      uVar2 = *(undefined4 *)(param_1 + 0x10);\n      if (*(int *)(param_1 + 0x98) == *(int *)(iVar7 + 0xf0)) {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x30) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 != 0) goto LAB_00016290;\n        *(undefined4 *)(iVar7 + 0x34) = uVar2;\n      }\n      else {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x38) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x3c) = uVar2;\n        }\n        else {\nLAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;\n        }\n      }\n      *(undefined4 *)(param_1 + 0x10) = 0;\n      *(undefined4 *)(param_1 + 0x14) = 0;\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")) () ")"))))) (; ";")) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x10);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x10)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if (*(int *)(param_1 + 0x98) == *(int *)(iVar7 + 0xf0)) {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x30) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 != 0) goto LAB_00016290;\n        *(undefined4 *)(iVar7 + 0x34) = uVar2;\n      }\n      else {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x38) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x3c) = uVar2;\n        }\n        else {\nLAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;\n        }\n      }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x98) == *(int *)(iVar7 + 0xf0))" (( "(") (binary_expression "*(int *)(param_1 + 0x98) == *(int *)(iVar7 + 0xf0)" (pointer_expression "*(int *)(param_1 + 0x98)" (* "*") (cast_expression "(int *)(param_1 + 0x98)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x98)" (( "(") (binary_expression "param_1 + 0x98" (identifier "param_1") (+ "+") (number_literal "0x98")) () ")")))) (== "==") (pointer_expression "*(int *)(iVar7 + 0xf0)" (* "*") (cast_expression "(int *)(iVar7 + 0xf0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0xf0)" (( "(") (binary_expression "iVar7 + 0xf0" (identifier "iVar7") (+ "+") (number_literal "0xf0")) () ")"))))) () ")")) (compound_statement "{\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x30) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 != 0) goto LAB_00016290;\n        *(undefined4 *)(iVar7 + 0x34) = uVar2;\n      }" ({ "{") (if_statement "if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x30) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          *(undefined4 *)(iVar7 + 0x30) = uVar2;\n        }" ({ "{") (expression_statement "*(undefined4 *)(iVar7 + 0x30) = uVar2;" (assignment_expression "*(undefined4 *)(iVar7 + 0x30) = uVar2" (pointer_expression "*(undefined4 *)(iVar7 + 0x30)" (* "*") (cast_expression "(undefined4 *)(iVar7 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x30)" (( "(") (binary_expression "iVar7 + 0x30" (identifier "iVar7") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (} "}")) (else_clause "else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }" (else "else") (compound_statement "{\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }" ({ "{") (expression_statement "*(undefined4 *)(iVar1 + 0x10) = uVar2;" (assignment_expression "*(undefined4 *)(iVar1 + 0x10) = uVar2" (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")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (} "}")))) (expression_statement "iVar1 = *(int *)(param_1 + 0x10);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x10)" (identifier "iVar1") (= "=") (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")) () ")"))))) (; ";")) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x14);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x14)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x14)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if (iVar1 != 0) goto LAB_00016290;" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00016290;" (goto "goto") (statement_identifier "LAB_00016290") (; ";"))) (expression_statement "*(undefined4 *)(iVar7 + 0x34) = uVar2;" (assignment_expression "*(undefined4 *)(iVar7 + 0x34) = uVar2" (pointer_expression "*(undefined4 *)(iVar7 + 0x34)" (* "*") (cast_expression "(undefined4 *)(iVar7 + 0x34)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x34)" (( "(") (binary_expression "iVar7 + 0x34" (identifier "iVar7") (+ "+") (number_literal "0x34")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (} "}")) (else_clause "else {\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x38) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x3c) = uVar2;\n        }\n        else {\nLAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;\n        }\n      }" (else "else") (compound_statement "{\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x38) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }\n        iVar1 = *(int *)(param_1 + 0x10);\n        uVar2 = *(undefined4 *)(param_1 + 0x14);\n        if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x3c) = uVar2;\n        }\n        else {\nLAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;\n        }\n      }" ({ "{") (if_statement "if (iVar1 == 0) {\n          *(undefined4 *)(iVar7 + 0x38) = uVar2;\n        }\n        else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          *(undefined4 *)(iVar7 + 0x38) = uVar2;\n        }" ({ "{") (expression_statement "*(undefined4 *)(iVar7 + 0x38) = uVar2;" (assignment_expression "*(undefined4 *)(iVar7 + 0x38) = uVar2" (pointer_expression "*(undefined4 *)(iVar7 + 0x38)" (* "*") (cast_expression "(undefined4 *)(iVar7 + 0x38)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x38)" (( "(") (binary_expression "iVar7 + 0x38" (identifier "iVar7") (+ "+") (number_literal "0x38")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (} "}")) (else_clause "else {\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }" (else "else") (compound_statement "{\n          *(undefined4 *)(iVar1 + 0x10) = uVar2;\n        }" ({ "{") (expression_statement "*(undefined4 *)(iVar1 + 0x10) = uVar2;" (assignment_expression "*(undefined4 *)(iVar1 + 0x10) = uVar2" (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")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (} "}")))) (expression_statement "iVar1 = *(int *)(param_1 + 0x10);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x10)" (identifier "iVar1") (= "=") (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")) () ")"))))) (; ";")) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x14);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x14)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x14)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (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          *(undefined4 *)(iVar7 + 0x3c) = uVar2;\n        }\n        else {\nLAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;\n        }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          *(undefined4 *)(iVar7 + 0x3c) = uVar2;\n        }" ({ "{") (expression_statement "*(undefined4 *)(iVar7 + 0x3c) = uVar2;" (assignment_expression "*(undefined4 *)(iVar7 + 0x3c) = uVar2" (pointer_expression "*(undefined4 *)(iVar7 + 0x3c)" (* "*") (cast_expression "(undefined4 *)(iVar7 + 0x3c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x3c)" (( "(") (binary_expression "iVar7 + 0x3c" (identifier "iVar7") (+ "+") (number_literal "0x3c")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (} "}")) (else_clause "else {\nLAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;\n        }" (else "else") (compound_statement "{\nLAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;\n        }" ({ "{") (labeled_statement "LAB_00016290:\n          *(undefined4 *)(iVar1 + 0x14) = uVar2;" (statement_identifier "LAB_00016290") (: ":") (expression_statement "*(undefined4 *)(iVar1 + 0x14) = uVar2;" (assignment_expression "*(undefined4 *)(iVar1 + 0x14) = uVar2" (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")) () ")")))) (= "=") (identifier "uVar2")) (; ";"))) (} "}")))) (} "}")))) (expression_statement "*(undefined4 *)(param_1 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x10) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x14) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x14)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "*(int *)(param_1 + 0x98) = param_3;" (assignment_expression "*(int *)(param_1 + 0x98) = param_3" (pointer_expression "*(int *)(param_1 + 0x98)" (* "*") (cast_expression "(int *)(param_1 + 0x98)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x98)" (( "(") (binary_expression "param_1 + 0x98" (identifier "param_1") (+ "+") (number_literal "0x98")) () ")")))) (= "=") (identifier "param_3")) (; ";")) (if_statement "if (((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')) {\n      if (param_3 == *(int *)(iVar7 + 0xf0)) {\n        uVar2 = *(undefined4 *)(iVar7 + 0x30);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x34) == 0) {\n          *(int *)(iVar7 + 0x34) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x30) = param_1;\n      }\n      else {\n        uVar2 = *(undefined4 *)(iVar7 + 0x38);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x3c) == 0) {\n          *(int *)(iVar7 + 0x3c) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x38) = param_1;\n      }\n    }" (if "if") (parenthesized_expression "(((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0'))" (( "(") (binary_expression "((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')" (parenthesized_expression "((*(byte *)(iVar7 + 0xf8) & 4) == 0)" (( "(") (binary_expression "(*(byte *)(iVar7 + 0xf8) & 4) == 0" (parenthesized_expression "(*(byte *)(iVar7 + 0xf8) & 4)" (( "(") (binary_expression "*(byte *)(iVar7 + 0xf8) & 4" (pointer_expression "*(byte *)(iVar7 + 0xf8)" (* "*") (cast_expression "(byte *)(iVar7 + 0xf8)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0xf8)" (( "(") (binary_expression "iVar7 + 0xf8" (identifier "iVar7") (+ "+") (number_literal "0xf8")) () ")")))) (& "&") (number_literal "4")) () ")")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(char *)(param_1 + 0xf1) == '\0')" (( "(") (binary_expression "*(char *)(param_1 + 0xf1) == '\0'" (pointer_expression "*(char *)(param_1 + 0xf1)" (* "*") (cast_expression "(char *)(param_1 + 0xf1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xf1)" (( "(") (binary_expression "param_1 + 0xf1" (identifier "param_1") (+ "+") (number_literal "0xf1")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n      if (param_3 == *(int *)(iVar7 + 0xf0)) {\n        uVar2 = *(undefined4 *)(iVar7 + 0x30);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x34) == 0) {\n          *(int *)(iVar7 + 0x34) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x30) = param_1;\n      }\n      else {\n        uVar2 = *(undefined4 *)(iVar7 + 0x38);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x3c) == 0) {\n          *(int *)(iVar7 + 0x3c) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x38) = param_1;\n      }\n    }" ({ "{") (if_statement "if (param_3 == *(int *)(iVar7 + 0xf0)) {\n        uVar2 = *(undefined4 *)(iVar7 + 0x30);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x34) == 0) {\n          *(int *)(iVar7 + 0x34) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x30) = param_1;\n      }\n      else {\n        uVar2 = *(undefined4 *)(iVar7 + 0x38);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x3c) == 0) {\n          *(int *)(iVar7 + 0x3c) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x38) = param_1;\n      }" (if "if") (parenthesized_expression "(param_3 == *(int *)(iVar7 + 0xf0))" (( "(") (binary_expression "param_3 == *(int *)(iVar7 + 0xf0)" (identifier "param_3") (== "==") (pointer_expression "*(int *)(iVar7 + 0xf0)" (* "*") (cast_expression "(int *)(iVar7 + 0xf0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0xf0)" (( "(") (binary_expression "iVar7 + 0xf0" (identifier "iVar7") (+ "+") (number_literal "0xf0")) () ")"))))) () ")")) (compound_statement "{\n        uVar2 = *(undefined4 *)(iVar7 + 0x30);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x34) == 0) {\n          *(int *)(iVar7 + 0x34) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x30) = param_1;\n      }" ({ "{") (expression_statement "uVar2 = *(undefined4 *)(iVar7 + 0x30);" (assignment_expression "uVar2 = *(undefined4 *)(iVar7 + 0x30)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(iVar7 + 0x30)" (* "*") (cast_expression "(undefined4 *)(iVar7 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x30)" (( "(") (binary_expression "iVar7 + 0x30" (identifier "iVar7") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x14) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x14)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x10) = uVar2;" (assignment_expression "*(undefined4 *)(param_1 + 0x10) = uVar2" (pointer_expression "*(undefined4 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (if_statement "if (*(int *)(iVar7 + 0x34) == 0) {\n          *(int *)(iVar7 + 0x34) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1;\n        }" (if "if") (parenthesized_expression "(*(int *)(iVar7 + 0x34) == 0)" (( "(") (binary_expression "*(int *)(iVar7 + 0x34) == 0" (pointer_expression "*(int *)(iVar7 + 0x34)" (* "*") (cast_expression "(int *)(iVar7 + 0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x34)" (( "(") (binary_expression "iVar7 + 0x34" (identifier "iVar7") (+ "+") (number_literal "0x34")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          *(int *)(iVar7 + 0x34) = param_1;\n        }" ({ "{") (expression_statement "*(int *)(iVar7 + 0x34) = param_1;" (assignment_expression "*(int *)(iVar7 + 0x34) = param_1" (pointer_expression "*(int *)(iVar7 + 0x34)" (* "*") (cast_expression "(int *)(iVar7 + 0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x34)" (( "(") (binary_expression "iVar7 + 0x34" (identifier "iVar7") (+ "+") (number_literal "0x34")) () ")")))) (= "=") (identifier "param_1")) (; ";")) (} "}")) (else_clause "else {\n          *(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1;\n        }" (else "else") (compound_statement "{\n          *(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1;\n        }" ({ "{") (expression_statement "*(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1;" (assignment_expression "*(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1" (pointer_expression "*(int *)(*(int *)(iVar7 + 0x30) + 0x14)" (* "*") (cast_expression "(int *)(*(int *)(iVar7 + 0x30) + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar7 + 0x30) + 0x14)" (( "(") (binary_expression "*(int *)(iVar7 + 0x30) + 0x14" (pointer_expression "*(int *)(iVar7 + 0x30)" (* "*") (cast_expression "(int *)(iVar7 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x30)" (( "(") (binary_expression "iVar7 + 0x30" (identifier "iVar7") (+ "+") (number_literal "0x30")) () ")")))) (+ "+") (number_literal "0x14")) () ")")))) (= "=") (identifier "param_1")) (; ";")) (} "}")))) (expression_statement "*(int *)(iVar7 + 0x30) = param_1;" (assignment_expression "*(int *)(iVar7 + 0x30) = param_1" (pointer_expression "*(int *)(iVar7 + 0x30)" (* "*") (cast_expression "(int *)(iVar7 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x30)" (( "(") (binary_expression "iVar7 + 0x30" (identifier "iVar7") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (identifier "param_1")) (; ";")) (} "}")) (else_clause "else {\n        uVar2 = *(undefined4 *)(iVar7 + 0x38);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x3c) == 0) {\n          *(int *)(iVar7 + 0x3c) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x38) = param_1;\n      }" (else "else") (compound_statement "{\n        uVar2 = *(undefined4 *)(iVar7 + 0x38);\n        *(undefined4 *)(param_1 + 0x14) = 0;\n        *(undefined4 *)(param_1 + 0x10) = uVar2;\n        if (*(int *)(iVar7 + 0x3c) == 0) {\n          *(int *)(iVar7 + 0x3c) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;\n        }\n        *(int *)(iVar7 + 0x38) = param_1;\n      }" ({ "{") (expression_statement "uVar2 = *(undefined4 *)(iVar7 + 0x38);" (assignment_expression "uVar2 = *(undefined4 *)(iVar7 + 0x38)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(iVar7 + 0x38)" (* "*") (cast_expression "(undefined4 *)(iVar7 + 0x38)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x38)" (( "(") (binary_expression "iVar7 + 0x38" (identifier "iVar7") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x14) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x14)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x10) = uVar2;" (assignment_expression "*(undefined4 *)(param_1 + 0x10) = uVar2" (pointer_expression "*(undefined4 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (if_statement "if (*(int *)(iVar7 + 0x3c) == 0) {\n          *(int *)(iVar7 + 0x3c) = param_1;\n        }\n        else {\n          *(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;\n        }" (if "if") (parenthesized_expression "(*(int *)(iVar7 + 0x3c) == 0)" (( "(") (binary_expression "*(int *)(iVar7 + 0x3c) == 0" (pointer_expression "*(int *)(iVar7 + 0x3c)" (* "*") (cast_expression "(int *)(iVar7 + 0x3c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x3c)" (( "(") (binary_expression "iVar7 + 0x3c" (identifier "iVar7") (+ "+") (number_literal "0x3c")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          *(int *)(iVar7 + 0x3c) = param_1;\n        }" ({ "{") (expression_statement "*(int *)(iVar7 + 0x3c) = param_1;" (assignment_expression "*(int *)(iVar7 + 0x3c) = param_1" (pointer_expression "*(int *)(iVar7 + 0x3c)" (* "*") (cast_expression "(int *)(iVar7 + 0x3c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x3c)" (( "(") (binary_expression "iVar7 + 0x3c" (identifier "iVar7") (+ "+") (number_literal "0x3c")) () ")")))) (= "=") (identifier "param_1")) (; ";")) (} "}")) (else_clause "else {\n          *(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;\n        }" (else "else") (compound_statement "{\n          *(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;\n        }" ({ "{") (expression_statement "*(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;" (assignment_expression "*(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1" (pointer_expression "*(int *)(*(int *)(iVar7 + 0x38) + 0x14)" (* "*") (cast_expression "(int *)(*(int *)(iVar7 + 0x38) + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar7 + 0x38) + 0x14)" (( "(") (binary_expression "*(int *)(iVar7 + 0x38) + 0x14" (pointer_expression "*(int *)(iVar7 + 0x38)" (* "*") (cast_expression "(int *)(iVar7 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x38)" (( "(") (binary_expression "iVar7 + 0x38" (identifier "iVar7") (+ "+") (number_literal "0x38")) () ")")))) (+ "+") (number_literal "0x14")) () ")")))) (= "=") (identifier "param_1")) (; ";")) (} "}")))) (expression_statement "*(int *)(iVar7 + 0x38) = param_1;" (assignment_expression "*(int *)(iVar7 + 0x38) = param_1" (pointer_expression "*(int *)(iVar7 + 0x38)" (* "*") (cast_expression "(int *)(iVar7 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x38)" (( "(") (binary_expression "iVar7 + 0x38" (identifier "iVar7") (+ "+") (number_literal "0x38")) () ")")))) (= "=") (identifier "param_1")) (; ";")) (} "}")))) (} "}"))) (expression_statement "iVar1 = pthread_mutex_unlock(__mutex);" (assignment_expression "iVar1 = pthread_mutex_unlock(__mutex)" (identifier "iVar1") (= "=") (call_expression "pthread_mutex_unlock(__mutex)" (identifier "pthread_mutex_unlock") (argument_list "(__mutex)" (( "(") (identifier "__mutex") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n      return 1;\n    }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return 1;\n    }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "puVar8 = &stack0xffffffd4;" (assignment_expression "puVar8 = &stack0xffffffd4" (identifier "puVar8") (= "=") (pointer_expression "&stack0xffffffd4" (& "&") (identifier "stack0xffffffd4"))) (; ";")) (expression_statement "(*DAT_0003406c)();" (call_expression "(*DAT_0003406c)()" (parenthesized_expression "(*DAT_0003406c)" (( "(") (pointer_expression "*DAT_0003406c" (* "*") (identifier "DAT_0003406c")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "*(char **)(puVar8 + -4) = "Failed to lock mutex.\n";" (assignment_expression "*(char **)(puVar8 + -4) = "Failed to lock mutex.\n"" (pointer_expression "*(char **)(puVar8 + -4)" (* "*") (cast_expression "(char **)(puVar8 + -4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + -4)" (( "(") (binary_expression "puVar8 + -4" (identifier "puVar8") (+ "+") (number_literal "-4")) () ")")))) (= "=") (string_literal ""Failed to lock mutex.\n"" (" """) (string_content "Failed to lock mutex.") (escape_sequence "\n") (" """))) (; ";")) (expression_statement "*(undefined4 *)(puVar8 + -8) = 0xf88;" (assignment_expression "*(undefined4 *)(puVar8 + -8) = 0xf88" (pointer_expression "*(undefined4 *)(puVar8 + -8)" (* "*") (cast_expression "(undefined4 *)(puVar8 + -8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -8)" (( "(") (binary_expression "puVar8 + -8" (identifier "puVar8") (+ "+") (number_literal "-8")) () ")")))) (= "=") (number_literal "0xf88")) (; ";")) (expression_statement "*(char **)(puVar8 + -0xc) = "connection.c";" (assignment_expression "*(char **)(puVar8 + -0xc) = "connection.c"" (pointer_expression "*(char **)(puVar8 + -0xc)" (* "*") (cast_expression "(char **)(puVar8 + -0xc)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + -0xc)" (( "(") (binary_expression "puVar8 + -0xc" (identifier "puVar8") (+ "+") (number_literal "-0xc")) () ")")))) (= "=") (string_literal ""connection.c"" (" """) (string_content "connection.c") (" """))) (; ";")) (expression_statement "*(undefined4 *)(puVar8 + -0x10) = DAT_00034068;" (assignment_expression "*(undefined4 *)(puVar8 + -0x10) = DAT_00034068" (pointer_expression "*(undefined4 *)(puVar8 + -0x10)" (* "*") (cast_expression "(undefined4 *)(puVar8 + -0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x10)" (( "(") (binary_expression "puVar8 + -0x10" (identifier "puVar8") (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (identifier "DAT_00034068")) (; ";")) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = 0x16403;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = 0x16403" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" (* "*") (cast_expression "(undefined4 *)(puVar8 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x14)" (( "(") (binary_expression "puVar8 + -0x14" (identifier "puVar8") (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0x16403")) (; ";")) (expression_statement "(*DAT_0003406c)();" (call_expression "(*DAT_0003406c)()" (parenthesized_expression "(*DAT_0003406c)" (( "(") (pointer_expression "*DAT_0003406c" (* "*") (identifier "DAT_0003406c")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "*(pthread_mutex_t **)(puVar8 + -0x14) = __mutex;" (assignment_expression "*(pthread_mutex_t **)(puVar8 + -0x14) = __mutex" (pointer_expression "*(pthread_mutex_t **)(puVar8 + -0x14)" (* "*") (cast_expression "(pthread_mutex_t **)(puVar8 + -0x14)" (( "(") (type_descriptor "pthread_mutex_t **" (type_identifier "pthread_mutex_t") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + -0x14)" (( "(") (binary_expression "puVar8 + -0x14" (identifier "puVar8") (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (identifier "__mutex")) (; ";")) (expression_statement "*(int *)(puVar8 + -0x18) = iVar7;" (assignment_expression "*(int *)(puVar8 + -0x18) = iVar7" (pointer_expression "*(int *)(puVar8 + -0x18)" (* "*") (cast_expression "(int *)(puVar8 + -0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x18)" (( "(") (binary_expression "puVar8 + -0x18" (identifier "puVar8") (+ "+") (number_literal "-0x18")) () ")")))) (= "=") (identifier "iVar7")) (; ";")) (expression_statement "*(int *)(puVar8 + -0x1c) = param_1;" (assignment_expression "*(int *)(puVar8 + -0x1c) = param_1" (pointer_expression "*(int *)(puVar8 + -0x1c)" (* "*") (cast_expression "(int *)(puVar8 + -0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x1c)" (( "(") (binary_expression "puVar8 + -0x1c" (identifier "puVar8") (+ "+") (number_literal "-0x1c")) () ")")))) (= "=") (identifier "param_1")) (; ";")) (expression_statement "*(undefined ***)(puVar8 + -0x20) = &__DT_PLTGOT;" (assignment_expression "*(undefined ***)(puVar8 + -0x20) = &__DT_PLTGOT" (pointer_expression "*(undefined ***)(puVar8 + -0x20)" (* "*") (cast_expression "(undefined ***)(puVar8 + -0x20)" (( "(") (type_descriptor "undefined ***" (type_identifier "undefined") (abstract_pointer_declarator "***" (* "*") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*"))))) () ")") (parenthesized_expression "(puVar8 + -0x20)" (( "(") (binary_expression "puVar8 + -0x20" (identifier "puVar8") (+ "+") (number_literal "-0x20")) () ")")))) (= "=") (pointer_expression "&__DT_PLTGOT" (& "&") (identifier "__DT_PLTGOT"))) (; ";")) (expression_statement "*(undefined4 *)(puVar8 + -0x24) = 0x1641b;" (assignment_expression "*(undefined4 *)(puVar8 + -0x24) = 0x1641b" (pointer_expression "*(undefined4 *)(puVar8 + -0x24)" (* "*") (cast_expression "(undefined4 *)(puVar8 + -0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x24)" (( "(") (binary_expression "puVar8 + -0x24" (identifier "puVar8") (+ "+") (number_literal "-0x24")) () ")")))) (= "=") (number_literal "0x1641b")) (; ";")) (expression_statement "iVar7 = *(int *)(puVar8 + -0x24);" (assignment_expression "iVar7 = *(int *)(puVar8 + -0x24)" (identifier "iVar7") (= "=") (pointer_expression "*(int *)(puVar8 + -0x24)" (* "*") (cast_expression "(int *)(puVar8 + -0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x24)" (( "(") (binary_expression "puVar8 + -0x24" (identifier "puVar8") (+ "+") (number_literal "-0x24")) () ")"))))) (; ";")) (expression_statement "iVar1 = *(int *)(puVar8 + -0xc);" (assignment_expression "iVar1 = *(int *)(puVar8 + -0xc)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(puVar8 + -0xc)" (* "*") (cast_expression "(int *)(puVar8 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0xc)" (( "(") (binary_expression "puVar8 + -0xc" (identifier "puVar8") (+ "+") (number_literal "-0xc")) () ")"))))) (; ";")) (expression_statement "iVar6 = *(int *)(puVar8 + -4);" (assignment_expression "iVar6 = *(int *)(puVar8 + -4)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(puVar8 + -4)" (* "*") (cast_expression "(int *)(puVar8 + -4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -4)" (( "(") (binary_expression "puVar8 + -4" (identifier "puVar8") (+ "+") (number_literal "-4")) () ")"))))) (; ";")) (if_statement "if (iVar1 == 0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (iVar6 == 0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (*(int *)(iVar1 + 0x24) != 0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar1 + 0x24) != 0)" (( "(") (binary_expression "*(int *)(iVar1 + 0x24) != 0" (pointer_expression "*(int *)(iVar1 + 0x24)" (* "*") (cast_expression "(int *)(iVar1 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x24)" (( "(") (binary_expression "iVar1 + 0x24" (identifier "iVar1") (+ "+") (number_literal "0x24")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if ((*(int *)(iVar1 + 0xb4) != 4) && (*(int *)(iVar1 + 0xb4) != 9)) {\n    return 0;\n  }" (if "if") (parenthesized_expression "((*(int *)(iVar1 + 0xb4) != 4) && (*(int *)(iVar1 + 0xb4) != 9))" (( "(") (binary_expression "(*(int *)(iVar1 + 0xb4) != 4) && (*(int *)(iVar1 + 0xb4) != 9)" (parenthesized_expression "(*(int *)(iVar1 + 0xb4) != 4)" (( "(") (binary_expression "*(int *)(iVar1 + 0xb4) != 4" (pointer_expression "*(int *)(iVar1 + 0xb4)" (* "*") (cast_expression "(int *)(iVar1 + 0xb4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xb4)" (( "(") (binary_expression "iVar1 + 0xb4" (identifier "iVar1") (+ "+") (number_literal "0xb4")) () ")")))) (!= "!=") (number_literal "4")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(iVar1 + 0xb4) != 9)" (( "(") (binary_expression "*(int *)(iVar1 + 0xb4) != 9" (pointer_expression "*(int *)(iVar1 + 0xb4)" (* "*") (cast_expression "(int *)(iVar1 + 0xb4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xb4)" (( "(") (binary_expression "iVar1 + 0xb4" (identifier "iVar1") (+ "+") (number_literal "0xb4")) () ")")))) (!= "!=") (number_literal "9")) () ")"))) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar5 = *(int *)(iVar1 + 0x18);" (assignment_expression "iVar5 = *(int *)(iVar1 + 0x18)" (identifier "iVar5") (= "=") (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 (*(char *)(iVar5 + 0xe0) != '\0') {\n    return 1;\n  }" (if "if") (parenthesized_expression "(*(char *)(iVar5 + 0xe0) != '\0')" (( "(") (binary_expression "*(char *)(iVar5 + 0xe0) != '\0'" (pointer_expression "*(char *)(iVar5 + 0xe0)" (* "*") (cast_expression "(char *)(iVar5 + 0xe0)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0xe0)" (( "(") (binary_expression "iVar5 + 0xe0" (identifier "iVar5") (+ "+") (number_literal "0xe0")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    return 1;\n  }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (if_statement "if ((*(char *)(iVar1 + 0xf1) == '\0') && ((*(byte *)(iVar5 + 0xf8) & 8) != 0)) {\n    *(undefined4 *)(puVar8 + -0x30) = 0x16481;\n    pVar3 = pthread_self();\n    if (pVar3 != *(pthread_t *)(iVar1 + 0x5c)) {\n      iVar7 = iVar7 + 0x13069;\n      goto LAB_00016490;\n    }\n  }" (if "if") (parenthesized_expression "((*(char *)(iVar1 + 0xf1) == '\0') && ((*(byte *)(iVar5 + 0xf8) & 8) != 0))" (( "(") (binary_expression "(*(char *)(iVar1 + 0xf1) == '\0') && ((*(byte *)(iVar5 + 0xf8) & 8) != 0)" (parenthesized_expression "(*(char *)(iVar1 + 0xf1) == '\0')" (( "(") (binary_expression "*(char *)(iVar1 + 0xf1) == '\0'" (pointer_expression "*(char *)(iVar1 + 0xf1)" (* "*") (cast_expression "(char *)(iVar1 + 0xf1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xf1)" (( "(") (binary_expression "iVar1 + 0xf1" (identifier "iVar1") (+ "+") (number_literal "0xf1")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "((*(byte *)(iVar5 + 0xf8) & 8) != 0)" (( "(") (binary_expression "(*(byte *)(iVar5 + 0xf8) & 8) != 0" (parenthesized_expression "(*(byte *)(iVar5 + 0xf8) & 8)" (( "(") (binary_expression "*(byte *)(iVar5 + 0xf8) & 8" (pointer_expression "*(byte *)(iVar5 + 0xf8)" (* "*") (cast_expression "(byte *)(iVar5 + 0xf8)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0xf8)" (( "(") (binary_expression "iVar5 + 0xf8" (identifier "iVar5") (+ "+") (number_literal "0xf8")) () ")")))) (& "&") (number_literal "8")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    *(undefined4 *)(puVar8 + -0x30) = 0x16481;\n    pVar3 = pthread_self();\n    if (pVar3 != *(pthread_t *)(iVar1 + 0x5c)) {\n      iVar7 = iVar7 + 0x13069;\n      goto LAB_00016490;\n    }\n  }" ({ "{") (expression_statement "*(undefined4 *)(puVar8 + -0x30) = 0x16481;" (assignment_expression "*(undefined4 *)(puVar8 + -0x30) = 0x16481" (pointer_expression "*(undefined4 *)(puVar8 + -0x30)" (* "*") (cast_expression "(undefined4 *)(puVar8 + -0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x30)" (( "(") (binary_expression "puVar8 + -0x30" (identifier "puVar8") (+ "+") (number_literal "-0x30")) () ")")))) (= "=") (number_literal "0x16481")) (; ";")) (expression_statement "pVar3 = pthread_self();" (assignment_expression "pVar3 = pthread_self()" (identifier "pVar3") (= "=") (call_expression "pthread_self()" (identifier "pthread_self") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (pVar3 != *(pthread_t *)(iVar1 + 0x5c)) {\n      iVar7 = iVar7 + 0x13069;\n      goto LAB_00016490;\n    }" (if "if") (parenthesized_expression "(pVar3 != *(pthread_t *)(iVar1 + 0x5c))" (( "(") (binary_expression "pVar3 != *(pthread_t *)(iVar1 + 0x5c)" (identifier "pVar3") (!= "!=") (pointer_expression "*(pthread_t *)(iVar1 + 0x5c)" (* "*") (cast_expression "(pthread_t *)(iVar1 + 0x5c)" (( "(") (type_descriptor "pthread_t *" (type_identifier "pthread_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x5c)" (( "(") (binary_expression "iVar1 + 0x5c" (identifier "iVar1") (+ "+") (number_literal "0x5c")) () ")"))))) () ")")) (compound_statement "{\n      iVar7 = iVar7 + 0x13069;\n      goto LAB_00016490;\n    }" ({ "{") (expression_statement "iVar7 = iVar7 + 0x13069;" (assignment_expression "iVar7 = iVar7 + 0x13069" (identifier "iVar7") (= "=") (binary_expression "iVar7 + 0x13069" (identifier "iVar7") (+ "+") (number_literal "0x13069"))) (; ";")) (goto_statement "goto LAB_00016490;" (goto "goto") (statement_identifier "LAB_00016490") (; ";")) (} "}"))) (} "}"))) (if_statement "if (*(int *)(iVar6 + 0x14) != 0) {\n    if ((*(byte *)(iVar5 + 0xf9) & 0x80) == 0) {\n      iVar7 = iVar7 + 0x13099;\nLAB_00016490:\n      *(int *)(puVar8 + -0x38) = iVar7;\n      *(int *)(puVar8 + -0x3c) = iVar5;\n      *(undefined4 *)(puVar8 + -0x40) = 0x16497;\n      FUN_00020aa0();\n      return 0;\n    }\n    if (*(int *)(puVar8 + -8) != 0x65) {\n      iVar7 = iVar7 + 0x130e5;\n      goto LAB_00016490;\n    }\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar6 + 0x14) != 0)" (( "(") (binary_expression "*(int *)(iVar6 + 0x14) != 0" (pointer_expression "*(int *)(iVar6 + 0x14)" (* "*") (cast_expression "(int *)(iVar6 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x14)" (( "(") (binary_expression "iVar6 + 0x14" (identifier "iVar6") (+ "+") (number_literal "0x14")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if ((*(byte *)(iVar5 + 0xf9) & 0x80) == 0) {\n      iVar7 = iVar7 + 0x13099;\nLAB_00016490:\n      *(int *)(puVar8 + -0x38) = iVar7;\n      *(int *)(puVar8 + -0x3c) = iVar5;\n      *(undefined4 *)(puVar8 + -0x40) = 0x16497;\n      FUN_00020aa0();\n      return 0;\n    }\n    if (*(int *)(puVar8 + -8) != 0x65) {\n      iVar7 = iVar7 + 0x130e5;\n      goto LAB_00016490;\n    }\n  }" ({ "{") (if_statement "if ((*(byte *)(iVar5 + 0xf9) & 0x80) == 0) {\n      iVar7 = iVar7 + 0x13099;\nLAB_00016490:\n      *(int *)(puVar8 + -0x38) = iVar7;\n      *(int *)(puVar8 + -0x3c) = iVar5;\n      *(undefined4 *)(puVar8 + -0x40) = 0x16497;\n      FUN_00020aa0();\n      return 0;\n    }" (if "if") (parenthesized_expression "((*(byte *)(iVar5 + 0xf9) & 0x80) == 0)" (( "(") (binary_expression "(*(byte *)(iVar5 + 0xf9) & 0x80) == 0" (parenthesized_expression "(*(byte *)(iVar5 + 0xf9) & 0x80)" (( "(") (binary_expression "*(byte *)(iVar5 + 0xf9) & 0x80" (pointer_expression "*(byte *)(iVar5 + 0xf9)" (* "*") (cast_expression "(byte *)(iVar5 + 0xf9)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0xf9)" (( "(") (binary_expression "iVar5 + 0xf9" (identifier "iVar5") (+ "+") (number_literal "0xf9")) () ")")))) (& "&") (number_literal "0x80")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar7 = iVar7 + 0x13099;\nLAB_00016490:\n      *(int *)(puVar8 + -0x38) = iVar7;\n      *(int *)(puVar8 + -0x3c) = iVar5;\n      *(undefined4 *)(puVar8 + -0x40) = 0x16497;\n      FUN_00020aa0();\n      return 0;\n    }" ({ "{") (expression_statement "iVar7 = iVar7 + 0x13099;" (assignment_expression "iVar7 = iVar7 + 0x13099" (identifier "iVar7") (= "=") (binary_expression "iVar7 + 0x13099" (identifier "iVar7") (+ "+") (number_literal "0x13099"))) (; ";")) (labeled_statement "LAB_00016490:\n      *(int *)(puVar8 + -0x38) = iVar7;" (statement_identifier "LAB_00016490") (: ":") (expression_statement "*(int *)(puVar8 + -0x38) = iVar7;" (assignment_expression "*(int *)(puVar8 + -0x38) = iVar7" (pointer_expression "*(int *)(puVar8 + -0x38)" (* "*") (cast_expression "(int *)(puVar8 + -0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x38)" (( "(") (binary_expression "puVar8 + -0x38" (identifier "puVar8") (+ "+") (number_literal "-0x38")) () ")")))) (= "=") (identifier "iVar7")) (; ";"))) (expression_statement "*(int *)(puVar8 + -0x3c) = iVar5;" (assignment_expression "*(int *)(puVar8 + -0x3c) = iVar5" (pointer_expression "*(int *)(puVar8 + -0x3c)" (* "*") (cast_expression "(int *)(puVar8 + -0x3c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x3c)" (( "(") (binary_expression "puVar8 + -0x3c" (identifier "puVar8") (+ "+") (number_literal "-0x3c")) () ")")))) (= "=") (identifier "iVar5")) (; ";")) (expression_statement "*(undefined4 *)(puVar8 + -0x40) = 0x16497;" (assignment_expression "*(undefined4 *)(puVar8 + -0x40) = 0x16497" (pointer_expression "*(undefined4 *)(puVar8 + -0x40)" (* "*") (cast_expression "(undefined4 *)(puVar8 + -0x40)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x40)" (( "(") (binary_expression "puVar8 + -0x40" (identifier "puVar8") (+ "+") (number_literal "-0x40")) () ")")))) (= "=") (number_literal "0x16497")) (; ";")) (expression_statement "FUN_00020aa0();" (call_expression "FUN_00020aa0()" (identifier "FUN_00020aa0") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (*(int *)(puVar8 + -8) != 0x65) {\n      iVar7 = iVar7 + 0x130e5;\n      goto LAB_00016490;\n    }" (if "if") (parenthesized_expression "(*(int *)(puVar8 + -8) != 0x65)" (( "(") (binary_expression "*(int *)(puVar8 + -8) != 0x65" (pointer_expression "*(int *)(puVar8 + -8)" (* "*") (cast_expression "(int *)(puVar8 + -8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -8)" (( "(") (binary_expression "puVar8 + -8" (identifier "puVar8") (+ "+") (number_literal "-8")) () ")")))) (!= "!=") (number_literal "0x65")) () ")")) (compound_statement "{\n      iVar7 = iVar7 + 0x130e5;\n      goto LAB_00016490;\n    }" ({ "{") (expression_statement "iVar7 = iVar7 + 0x130e5;" (assignment_expression "iVar7 = iVar7 + 0x130e5" (identifier "iVar7") (= "=") (binary_expression "iVar7 + 0x130e5" (identifier "iVar7") (+ "+") (number_literal "0x130e5"))) (; ";")) (goto_statement "goto LAB_00016490;" (goto "goto") (statement_identifier "LAB_00016490") (; ";")) (} "}"))) (} "}"))) (expression_statement "*(int *)(puVar8 + -0x3c) = iVar6;" (assignment_expression "*(int *)(puVar8 + -0x3c) = iVar6" (pointer_expression "*(int *)(puVar8 + -0x3c)" (* "*") (cast_expression "(int *)(puVar8 + -0x3c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x3c)" (( "(") (binary_expression "puVar8 + -0x3c" (identifier "puVar8") (+ "+") (number_literal "-0x3c")) () ")")))) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "*(undefined4 *)(puVar8 + -0x40) = 0x164c8;" (assignment_expression "*(undefined4 *)(puVar8 + -0x40) = 0x164c8" (pointer_expression "*(undefined4 *)(puVar8 + -0x40)" (* "*") (cast_expression "(undefined4 *)(puVar8 + -0x40)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x40)" (( "(") (binary_expression "puVar8 + -0x40" (identifier "puVar8") (+ "+") (number_literal "-0x40")) () ")")))) (= "=") (number_literal "0x164c8")) (; ";")) (expression_statement "FUN_00022c20();" (call_expression "FUN_00022c20()" (identifier "FUN_00022c20") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar2 = *(undefined4 *)(puVar8 + -8);" (assignment_expression "uVar2 = *(undefined4 *)(puVar8 + -8)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(puVar8 + -8)" (* "*") (cast_expression "(undefined4 *)(puVar8 + -8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -8)" (( "(") (binary_expression "puVar8 + -8" (identifier "puVar8") (+ "+") (number_literal "-8")) () ")"))))) (; ";")) (expression_statement "*(int *)(iVar1 + 0x24) = iVar6;" (assignment_expression "*(int *)(iVar1 + 0x24) = iVar6" (pointer_expression "*(int *)(iVar1 + 0x24)" (* "*") (cast_expression "(int *)(iVar1 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x24)" (( "(") (binary_expression "iVar1 + 0x24" (identifier "iVar1") (+ "+") (number_literal "0x24")) () ")")))) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0xbc) = uVar2;" (assignment_expression "*(undefined4 *)(iVar1 + 0xbc) = uVar2" (pointer_expression "*(undefined4 *)(iVar1 + 0xbc)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0xbc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xbc)" (( "(") (binary_expression "iVar1 + 0xbc" (identifier "iVar1") (+ "+") (number_literal "0xbc")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (if_statement "if (*(int *)(iVar6 + 0x58) != -1) {\n    uVar4 = (*(uint *)(*(int *)(iVar1 + 0x18) + 0xf8) >> 1 ^ 1) & 1;\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar6 + 0x58) != -1)" (( "(") (binary_expression "*(int *)(iVar6 + 0x58) != -1" (pointer_expression "*(int *)(iVar6 + 0x58)" (* "*") (cast_expression "(int *)(iVar6 + 0x58)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x58)" (( "(") (binary_expression "iVar6 + 0x58" (identifier "iVar6") (+ "+") (number_literal "0x58")) () ")")))) (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n    uVar4 = (*(uint *)(*(int *)(iVar1 + 0x18) + 0xf8) >> 1 ^ 1) & 1;\n  }" ({ "{") (expression_statement "uVar4 = (*(uint *)(*(int *)(iVar1 + 0x18) + 0xf8) >> 1 ^ 1) & 1;" (assignment_expression "uVar4 = (*(uint *)(*(int *)(iVar1 + 0x18) + 0xf8) >> 1 ^ 1) & 1" (identifier "uVar4") (= "=") (binary_expression "(*(uint *)(*(int *)(iVar1 + 0x18) + 0xf8) >> 1 ^ 1) & 1" (parenthesized_expression "(*(uint *)(*(int *)(iVar1 + 0x18) + 0xf8) >> 1 ^ 1)" (( "(") (binary_expression "*(uint *)(*(int *)(iVar1 + 0x18) + 0xf8) >> 1 ^ 1" (binary_expression "*(uint *)(*(int *)(iVar1 + 0x18) + 0xf8) >> 1" (pointer_expression "*(uint *)(*(int *)(iVar1 + 0x18) + 0xf8)" (* "*") (cast_expression "(uint *)(*(int *)(iVar1 + 0x18) + 0xf8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar1 + 0x18) + 0xf8)" (( "(") (binary_expression "*(int *)(iVar1 + 0x18) + 0xf8" (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")) () ")")))) (+ "+") (number_literal "0xf8")) () ")")))) (>> ">>") (number_literal "1")) (^ "^") (number_literal "1")) () ")")) (& "&") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "*(uint *)(iVar1 + 0x88) = uVar4;" (assignment_expression "*(uint *)(iVar1 + 0x88) = uVar4" (pointer_expression "*(uint *)(iVar1 + 0x88)" (* "*") (cast_expression "(uint *)(iVar1 + 0x88)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x88)" (( "(") (binary_expression "iVar1 + 0x88" (identifier "iVar1") (+ "+") (number_literal "0x88")) () ")")))) (= "=") (identifier "uVar4")) (; ";")) (expression_statement "iVar5 = *(int *)(iVar1 + 0x34);" (assignment_expression "iVar5 = *(int *)(iVar1 + 0x34)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(iVar1 + 0x34)" (* "*") (cast_expression "(int *)(iVar1 + 0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x34)" (( "(") (binary_expression "iVar1 + 0x34" (identifier "iVar1") (+ "+") (number_literal "0x34")) () ")"))))) (; ";")) (if_statement "if (iVar5 == 0) {\nLAB_00016550:\n    if ((*(uint *)(puVar8 + -8) < 200 || *(int *)(puVar8 + -8) == 0xcc) ||\n       (*(int *)(puVar8 + -8) == 0x130)) goto LAB_00016515;\n  }\n  else {\n    *(int *)(puVar8 + -0x38) = iVar7 + 0x12d3e;\n    *(int *)(puVar8 + -0x3c) = iVar5;\n    *(undefined4 *)(puVar8 + -0x40) = 0x1650e;\n    iVar5 = FUN_000212c0();\n    if (iVar5 == 0) goto LAB_00016550;\nLAB_00016515:\n    uVar2 = *(undefined4 *)(iVar6 + 0x38);\n    *(undefined4 *)(iVar1 + 0x80) = *(undefined4 *)(iVar6 + 0x34);\n    *(undefined4 *)(iVar1 + 0x84) = uVar2;\n  }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00016550:\n    if ((*(uint *)(puVar8 + -8) < 200 || *(int *)(puVar8 + -8) == 0xcc) ||\n       (*(int *)(puVar8 + -8) == 0x130)) goto LAB_00016515;\n  }" ({ "{") (labeled_statement "LAB_00016550:\n    if ((*(uint *)(puVar8 + -8) < 200 || *(int *)(puVar8 + -8) == 0xcc) ||\n       (*(int *)(puVar8 + -8) == 0x130)) goto LAB_00016515;" (statement_identifier "LAB_00016550") (: ":") (if_statement "if ((*(uint *)(puVar8 + -8) < 200 || *(int *)(puVar8 + -8) == 0xcc) ||\n       (*(int *)(puVar8 + -8) == 0x130)) goto LAB_00016515;" (if "if") (parenthesized_expression "((*(uint *)(puVar8 + -8) < 200 || *(int *)(puVar8 + -8) == 0xcc) ||\n       (*(int *)(puVar8 + -8) == 0x130))" (( "(") (binary_expression "(*(uint *)(puVar8 + -8) < 200 || *(int *)(puVar8 + -8) == 0xcc) ||\n       (*(int *)(puVar8 + -8) == 0x130)" (parenthesized_expression "(*(uint *)(puVar8 + -8) < 200 || *(int *)(puVar8 + -8) == 0xcc)" (( "(") (binary_expression "*(uint *)(puVar8 + -8) < 200 || *(int *)(puVar8 + -8) == 0xcc" (binary_expression "*(uint *)(puVar8 + -8) < 200" (pointer_expression "*(uint *)(puVar8 + -8)" (* "*") (cast_expression "(uint *)(puVar8 + -8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -8)" (( "(") (binary_expression "puVar8 + -8" (identifier "puVar8") (+ "+") (number_literal "-8")) () ")")))) (< "<") (number_literal "200")) (|| "||") (binary_expression "*(int *)(puVar8 + -8) == 0xcc" (pointer_expression "*(int *)(puVar8 + -8)" (* "*") (cast_expression "(int *)(puVar8 + -8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -8)" (( "(") (binary_expression "puVar8 + -8" (identifier "puVar8") (+ "+") (number_literal "-8")) () ")")))) (== "==") (number_literal "0xcc"))) () ")")) (|| "||") (parenthesized_expression "(*(int *)(puVar8 + -8) == 0x130)" (( "(") (binary_expression "*(int *)(puVar8 + -8) == 0x130" (pointer_expression "*(int *)(puVar8 + -8)" (* "*") (cast_expression "(int *)(puVar8 + -8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -8)" (( "(") (binary_expression "puVar8 + -8" (identifier "puVar8") (+ "+") (number_literal "-8")) () ")")))) (== "==") (number_literal "0x130")) () ")"))) () ")")) (goto_statement "goto LAB_00016515;" (goto "goto") (statement_identifier "LAB_00016515") (; ";")))) (} "}")) (else_clause "else {\n    *(int *)(puVar8 + -0x38) = iVar7 + 0x12d3e;\n    *(int *)(puVar8 + -0x3c) = iVar5;\n    *(undefined4 *)(puVar8 + -0x40) = 0x1650e;\n    iVar5 = FUN_000212c0();\n    if (iVar5 == 0) goto LAB_00016550;\nLAB_00016515:\n    uVar2 = *(undefined4 *)(iVar6 + 0x38);\n    *(undefined4 *)(iVar1 + 0x80) = *(undefined4 *)(iVar6 + 0x34);\n    *(undefined4 *)(iVar1 + 0x84) = uVar2;\n  }" (else "else") (compound_statement "{\n    *(int *)(puVar8 + -0x38) = iVar7 + 0x12d3e;\n    *(int *)(puVar8 + -0x3c) = iVar5;\n    *(undefined4 *)(puVar8 + -0x40) = 0x1650e;\n    iVar5 = FUN_000212c0();\n    if (iVar5 == 0) goto LAB_00016550;\nLAB_00016515:\n    uVar2 = *(undefined4 *)(iVar6 + 0x38);\n    *(undefined4 *)(iVar1 + 0x80) = *(undefined4 *)(iVar6 + 0x34);\n    *(undefined4 *)(iVar1 + 0x84) = uVar2;\n  }" ({ "{") (expression_statement "*(int *)(puVar8 + -0x38) = iVar7 + 0x12d3e;" (assignment_expression "*(int *)(puVar8 + -0x38) = iVar7 + 0x12d3e" (pointer_expression "*(int *)(puVar8 + -0x38)" (* "*") (cast_expression "(int *)(puVar8 + -0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x38)" (( "(") (binary_expression "puVar8 + -0x38" (identifier "puVar8") (+ "+") (number_literal "-0x38")) () ")")))) (= "=") (binary_expression "iVar7 + 0x12d3e" (identifier "iVar7") (+ "+") (number_literal "0x12d3e"))) (; ";")) (expression_statement "*(int *)(puVar8 + -0x3c) = iVar5;" (assignment_expression "*(int *)(puVar8 + -0x3c) = iVar5" (pointer_expression "*(int *)(puVar8 + -0x3c)" (* "*") (cast_expression "(int *)(puVar8 + -0x3c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x3c)" (( "(") (binary_expression "puVar8 + -0x3c" (identifier "puVar8") (+ "+") (number_literal "-0x3c")) () ")")))) (= "=") (identifier "iVar5")) (; ";")) (expression_statement "*(undefined4 *)(puVar8 + -0x40) = 0x1650e;" (assignment_expression "*(undefined4 *)(puVar8 + -0x40) = 0x1650e" (pointer_expression "*(undefined4 *)(puVar8 + -0x40)" (* "*") (cast_expression "(undefined4 *)(puVar8 + -0x40)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x40)" (( "(") (binary_expression "puVar8 + -0x40" (identifier "puVar8") (+ "+") (number_literal "-0x40")) () ")")))) (= "=") (number_literal "0x1650e")) (; ";")) (expression_statement "iVar5 = FUN_000212c0();" (assignment_expression "iVar5 = FUN_000212c0()" (identifier "iVar5") (= "=") (call_expression "FUN_000212c0()" (identifier "FUN_000212c0") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar5 == 0) goto LAB_00016550;" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00016550;" (goto "goto") (statement_identifier "LAB_00016550") (; ";"))) (labeled_statement "LAB_00016515:\n    uVar2 = *(undefined4 *)(iVar6 + 0x38);" (statement_identifier "LAB_00016515") (: ":") (expression_statement "uVar2 = *(undefined4 *)(iVar6 + 0x38);" (assignment_expression "uVar2 = *(undefined4 *)(iVar6 + 0x38)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(iVar6 + 0x38)" (* "*") (cast_expression "(undefined4 *)(iVar6 + 0x38)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x38)" (( "(") (binary_expression "iVar6 + 0x38" (identifier "iVar6") (+ "+") (number_literal "0x38")) () ")"))))) (; ";"))) (expression_statement "*(undefined4 *)(iVar1 + 0x80) = *(undefined4 *)(iVar6 + 0x34);" (assignment_expression "*(undefined4 *)(iVar1 + 0x80) = *(undefined4 *)(iVar6 + 0x34)" (pointer_expression "*(undefined4 *)(iVar1 + 0x80)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x80)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x80)" (( "(") (binary_expression "iVar1 + 0x80" (identifier "iVar1") (+ "+") (number_literal "0x80")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(iVar6 + 0x34)" (* "*") (cast_expression "(undefined4 *)(iVar6 + 0x34)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x34)" (( "(") (binary_expression "iVar6 + 0x34" (identifier "iVar6") (+ "+") (number_literal "0x34")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0x84) = uVar2;" (assignment_expression "*(undefined4 *)(iVar1 + 0x84) = uVar2" (pointer_expression "*(undefined4 *)(iVar1 + 0x84)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x84)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x84)" (( "(") (binary_expression "iVar1 + 0x84" (identifier "iVar1") (+ "+") (number_literal "0x84")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (} "}")))) (if_statement "if ((*(int *)(iVar1 + 0xb4) == 4) && (iVar6 = *(int *)(iVar1 + 0x34), iVar6 != 0)) {\n    *(int *)(puVar8 + -0x38) = iVar7 + 0x12d43;\n    *(int *)(puVar8 + -0x3c) = iVar6;\n    *(undefined4 *)(puVar8 + -0x40) = 0x165a7;\n    iVar6 = FUN_000212c0();\n    if (iVar6 == 0) {\n      *(int *)(puVar8 + -0x38) = iVar7 + 0x12d48;\n      *(undefined4 *)(puVar8 + -0x3c) = *(undefined4 *)(iVar1 + 0x34);\n      *(undefined4 *)(puVar8 + -0x40) = 0x16600;\n      iVar7 = FUN_000212c0();\n      if (iVar7 == 0) goto LAB_00016530;\n    }\n    *(undefined1 *)(iVar1 + 0xa9) = 1;\n    *(undefined4 *)(iVar1 + 0xb4) = 9;\n  }" (if "if") (parenthesized_expression "((*(int *)(iVar1 + 0xb4) == 4) && (iVar6 = *(int *)(iVar1 + 0x34), iVar6 != 0))" (( "(") (binary_expression "(*(int *)(iVar1 + 0xb4) == 4) && (iVar6 = *(int *)(iVar1 + 0x34), iVar6 != 0)" (parenthesized_expression "(*(int *)(iVar1 + 0xb4) == 4)" (( "(") (binary_expression "*(int *)(iVar1 + 0xb4) == 4" (pointer_expression "*(int *)(iVar1 + 0xb4)" (* "*") (cast_expression "(int *)(iVar1 + 0xb4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xb4)" (( "(") (binary_expression "iVar1 + 0xb4" (identifier "iVar1") (+ "+") (number_literal "0xb4")) () ")")))) (== "==") (number_literal "4")) () ")")) (&& "&&") (parenthesized_expression "(iVar6 = *(int *)(iVar1 + 0x34), iVar6 != 0)" (( "(") (comma_expression "iVar6 = *(int *)(iVar1 + 0x34), iVar6 != 0" (assignment_expression "iVar6 = *(int *)(iVar1 + 0x34)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(iVar1 + 0x34)" (* "*") (cast_expression "(int *)(iVar1 + 0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x34)" (( "(") (binary_expression "iVar1 + 0x34" (identifier "iVar1") (+ "+") (number_literal "0x34")) () ")"))))) (, ",") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    *(int *)(puVar8 + -0x38) = iVar7 + 0x12d43;\n    *(int *)(puVar8 + -0x3c) = iVar6;\n    *(undefined4 *)(puVar8 + -0x40) = 0x165a7;\n    iVar6 = FUN_000212c0();\n    if (iVar6 == 0) {\n      *(int *)(puVar8 + -0x38) = iVar7 + 0x12d48;\n      *(undefined4 *)(puVar8 + -0x3c) = *(undefined4 *)(iVar1 + 0x34);\n      *(undefined4 *)(puVar8 + -0x40) = 0x16600;\n      iVar7 = FUN_000212c0();\n      if (iVar7 == 0) goto LAB_00016530;\n    }\n    *(undefined1 *)(iVar1 + 0xa9) = 1;\n    *(undefined4 *)(iVar1 + 0xb4) = 9;\n  }" ({ "{") (expression_statement "*(int *)(puVar8 + -0x38) = iVar7 + 0x12d43;" (assignment_expression "*(int *)(puVar8 + -0x38) = iVar7 + 0x12d43" (pointer_expression "*(int *)(puVar8 + -0x38)" (* "*") (cast_expression "(int *)(puVar8 + -0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x38)" (( "(") (binary_expression "puVar8 + -0x38" (identifier "puVar8") (+ "+") (number_literal "-0x38")) () ")")))) (= "=") (binary_expression "iVar7 + 0x12d43" (identifier "iVar7") (+ "+") (number_literal "0x12d43"))) (; ";")) (expression_statement "*(int *)(puVar8 + -0x3c) = iVar6;" (assignment_expression "*(int *)(puVar8 + -0x3c) = iVar6" (pointer_expression "*(int *)(puVar8 + -0x3c)" (* "*") (cast_expression "(int *)(puVar8 + -0x3c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x3c)" (( "(") (binary_expression "puVar8 + -0x3c" (identifier "puVar8") (+ "+") (number_literal "-0x3c")) () ")")))) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "*(undefined4 *)(puVar8 + -0x40) = 0x165a7;" (assignment_expression "*(undefined4 *)(puVar8 + -0x40) = 0x165a7" (pointer_expression "*(undefined4 *)(puVar8 + -0x40)" (* "*") (cast_expression "(undefined4 *)(puVar8 + -0x40)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x40)" (( "(") (binary_expression "puVar8 + -0x40" (identifier "puVar8") (+ "+") (number_literal "-0x40")) () ")")))) (= "=") (number_literal "0x165a7")) (; ";")) (expression_statement "iVar6 = FUN_000212c0();" (assignment_expression "iVar6 = FUN_000212c0()" (identifier "iVar6") (= "=") (call_expression "FUN_000212c0()" (identifier "FUN_000212c0") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar6 == 0) {\n      *(int *)(puVar8 + -0x38) = iVar7 + 0x12d48;\n      *(undefined4 *)(puVar8 + -0x3c) = *(undefined4 *)(iVar1 + 0x34);\n      *(undefined4 *)(puVar8 + -0x40) = 0x16600;\n      iVar7 = FUN_000212c0();\n      if (iVar7 == 0) goto LAB_00016530;\n    }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      *(int *)(puVar8 + -0x38) = iVar7 + 0x12d48;\n      *(undefined4 *)(puVar8 + -0x3c) = *(undefined4 *)(iVar1 + 0x34);\n      *(undefined4 *)(puVar8 + -0x40) = 0x16600;\n      iVar7 = FUN_000212c0();\n      if (iVar7 == 0) goto LAB_00016530;\n    }" ({ "{") (expression_statement "*(int *)(puVar8 + -0x38) = iVar7 + 0x12d48;" (assignment_expression "*(int *)(puVar8 + -0x38) = iVar7 + 0x12d48" (pointer_expression "*(int *)(puVar8 + -0x38)" (* "*") (cast_expression "(int *)(puVar8 + -0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x38)" (( "(") (binary_expression "puVar8 + -0x38" (identifier "puVar8") (+ "+") (number_literal "-0x38")) () ")")))) (= "=") (binary_expression "iVar7 + 0x12d48" (identifier "iVar7") (+ "+") (number_literal "0x12d48"))) (; ";")) (expression_statement "*(undefined4 *)(puVar8 + -0x3c) = *(undefined4 *)(iVar1 + 0x34);" (assignment_expression "*(undefined4 *)(puVar8 + -0x3c) = *(undefined4 *)(iVar1 + 0x34)" (pointer_expression "*(undefined4 *)(puVar8 + -0x3c)" (* "*") (cast_expression "(undefined4 *)(puVar8 + -0x3c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x3c)" (( "(") (binary_expression "puVar8 + -0x3c" (identifier "puVar8") (+ "+") (number_literal "-0x3c")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(iVar1 + 0x34)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x34)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x34)" (( "(") (binary_expression "iVar1 + 0x34" (identifier "iVar1") (+ "+") (number_literal "0x34")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(puVar8 + -0x40) = 0x16600;" (assignment_expression "*(undefined4 *)(puVar8 + -0x40) = 0x16600" (pointer_expression "*(undefined4 *)(puVar8 + -0x40)" (* "*") (cast_expression "(undefined4 *)(puVar8 + -0x40)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x40)" (( "(") (binary_expression "puVar8 + -0x40" (identifier "puVar8") (+ "+") (number_literal "-0x40")) () ")")))) (= "=") (number_literal "0x16600")) (; ";")) (expression_statement "iVar7 = FUN_000212c0();" (assignment_expression "iVar7 = FUN_000212c0()" (identifier "iVar7") (= "=") (call_expression "FUN_000212c0()" (identifier "FUN_000212c0") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar7 == 0) goto LAB_00016530;" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00016530;" (goto "goto") (statement_identifier "LAB_00016530") (; ";"))) (} "}"))) (expression_statement "*(undefined1 *)(iVar1 + 0xa9) = 1;" (assignment_expression "*(undefined1 *)(iVar1 + 0xa9) = 1" (pointer_expression "*(undefined1 *)(iVar1 + 0xa9)" (* "*") (cast_expression "(undefined1 *)(iVar1 + 0xa9)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xa9)" (( "(") (binary_expression "iVar1 + 0xa9" (identifier "iVar1") (+ "+") (number_literal "0xa9")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0xb4) = 9;" (assignment_expression "*(undefined4 *)(iVar1 + 0xb4) = 9" (pointer_expression "*(undefined4 *)(iVar1 + 0xb4)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0xb4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xb4)" (( "(") (binary_expression "iVar1 + 0xb4" (identifier "iVar1") (+ "+") (number_literal "0xb4")) () ")")))) (= "=") (number_literal "9")) (; ";")) (} "}"))) (labeled_statement "LAB_00016530:\n  if (*(char *)(iVar1 + 0xab) == '\0') {\n    *(int *)(puVar8 + -0x3c) = iVar1;\n    *(undefined4 *)(puVar8 + -0x40) = 0x165d1;\n    FUN_00016a50();\n  }" (statement_identifier "LAB_00016530") (: ":") (if_statement "if (*(char *)(iVar1 + 0xab) == '\0') {\n    *(int *)(puVar8 + -0x3c) = iVar1;\n    *(undefined4 *)(puVar8 + -0x40) = 0x165d1;\n    FUN_00016a50();\n  }" (if "if") (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    *(int *)(puVar8 + -0x3c) = iVar1;\n    *(undefined4 *)(puVar8 + -0x40) = 0x165d1;\n    FUN_00016a50();\n  }" ({ "{") (expression_statement "*(int *)(puVar8 + -0x3c) = iVar1;" (assignment_expression "*(int *)(puVar8 + -0x3c) = iVar1" (pointer_expression "*(int *)(puVar8 + -0x3c)" (* "*") (cast_expression "(int *)(puVar8 + -0x3c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x3c)" (( "(") (binary_expression "puVar8 + -0x3c" (identifier "puVar8") (+ "+") (number_literal "-0x3c")) () ")")))) (= "=") (identifier "iVar1")) (; ";")) (expression_statement "*(undefined4 *)(puVar8 + -0x40) = 0x165d1;" (assignment_expression "*(undefined4 *)(puVar8 + -0x40) = 0x165d1" (pointer_expression "*(undefined4 *)(puVar8 + -0x40)" (* "*") (cast_expression "(undefined4 *)(puVar8 + -0x40)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x40)" (( "(") (binary_expression "puVar8 + -0x40" (identifier "puVar8") (+ "+") (number_literal "-0x40")) () ")")))) (= "=") (number_literal "0x165d1")) (; ";")) (expression_statement "FUN_00016a50();" (call_expression "FUN_00016a50()" (identifier "FUN_00016a50") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "MHD_FLAG": Some values do not have unique names */
/* WARNING: Enum "gnutls_pk_algorithm_t": Some values do not have unique names */
/* WARNING: Enum "gnutls_certificate_type_t": Some values do not have unique names */

int function_1(type_1 *connection,type_2 var_1,...)

{
  type_3 *__mutex;
  type_4 *pMVar1;
  int var_12;
  type_5 uVar3;
  int var_5;
  type_1 *var_8;
  type_6 tVar6;
  type_7 var_16;
  type_8 uVar8;
  int var_14;
  int var_13;
  type_1 *pMVar11;
  type_9 *var_11;
  int var_9;
  type_9 auStack_1c [8];
  type_5 uStack_14;
  
  uStack_14 = 0x16209;
  var_11 = auStack_1c;
  if (var_1 != var_2) {
    return 0;
  }
  pMVar1 = connection->daemon;
  if (connection->connection_timeout == 0) {
    tVar6 = var_3();
    connection->last_activity = tVar6;
  }
  __mutex = &pMVar1->cleanup_connection_mutex;
  var_5 = var_4((type_10 *)__mutex);
  if (var_5 == 0) {
    if (((pMVar1->options & var_6) == var_7) &&
       (connection->suspended == false)) {
      var_8 = connection->prevX;
      pMVar11 = connection->nextX;
      if (connection->connection_timeout == pMVar1->connection_timeout) {
        if (var_8 == (type_1 *)0x0) {
          pMVar1->normal_timeout_head = pMVar11;
        }
        else {
          var_8->nextX = pMVar11;
        }
        var_8 = connection->nextX;
        pMVar11 = connection->prevX;
        if (var_8 != (type_1 *)0x0) goto LAB_00016290;
        pMVar1->normal_timeout_tail = pMVar11;
      }
      else {
        if (var_8 == (type_1 *)0x0) {
          pMVar1->manual_timeout_head = pMVar11;
        }
        else {
          var_8->nextX = pMVar11;
        }
        var_8 = connection->nextX;
        pMVar11 = connection->prevX;
        if (var_8 == (type_1 *)0x0) {
          pMVar1->manual_timeout_tail = pMVar11;
        }
        else {
LAB_00016290:
          var_8->prevX = pMVar11;
        }
      }
      connection->nextX = (type_1 *)0x0;
      connection->prevX = (type_1 *)0x0;
    }
    connection->connection_timeout = var_9;
    if (((pMVar1->options & var_6) == var_7) &&
       (connection->suspended == false)) {
      if (var_9 == pMVar1->connection_timeout) {
        var_8 = pMVar1->normal_timeout_head;
        connection->prevX = (type_1 *)0x0;
        connection->nextX = var_8;
        if (pMVar1->normal_timeout_tail == (type_1 *)0x0) {
          pMVar1->normal_timeout_tail = connection;
        }
        else {
          pMVar1->normal_timeout_head->prevX = connection;
        }
        pMVar1->normal_timeout_head = connection;
      }
      else {
        var_8 = pMVar1->manual_timeout_head;
        connection->prevX = (type_1 *)0x0;
        connection->nextX = var_8;
        if (pMVar1->manual_timeout_tail == (type_1 *)0x0) {
          pMVar1->manual_timeout_tail = connection;
        }
        else {
          pMVar1->manual_timeout_head->prevX = connection;
        }
        pMVar1->manual_timeout_head = connection;
      }
    }
    var_5 = var_10((type_10 *)__mutex);
    if (var_5 == 0) {
      return 1;
    }
    var_11 = &stack0xffffffd4;
    (*mhd_panic)(mhd_panic_cls,"connection.c",0xfa7,"Failed to unlock mutex.\n");
  }
  *(char **)(var_11 + -4) = "Failed to lock mutex.\n";
  *(type_5 *)(var_11 + -8) = 0xf88;
  *(char **)(var_11 + -0xc) = "connection.c";
  *(void **)(var_11 + -0x10) = mhd_panic_cls;
  *(type_5 *)(var_11 + -0x14) = 0x16403;
  (*mhd_panic)(*(void **)(var_11 + -0x10),*(char **)(var_11 + -0xc),*(type_8 *)(var_11 + -8),
               *(char **)(var_11 + -4));
  *(type_3 **)(var_11 + -0x14) = __mutex;
  *(type_4 **)(var_11 + -0x18) = pMVar1;
  *(type_1 **)(var_11 + -0x1c) = connection;
  *(type_11 ***)(var_11 + -0x20) = &_GLOBAL_OFFSET_TABLE_;
  *(type_5 *)(var_11 + -0x24) = 0x1641b;
  var_5 = *(int *)(var_11 + -0x24);
  var_12 = *(int *)(var_11 + -0xc);
  var_13 = *(int *)(var_11 + -4);
  if (var_12 == 0) {
    return 0;
  }
  if (var_13 == 0) {
    return 0;
  }
  if (*(int *)(var_12 + 0x24) != 0) {
    return 0;
  }
  if ((*(int *)(var_12 + 0xb4) != 4) && (*(int *)(var_12 + 0xb4) != 9)) {
    return 0;
  }
  var_14 = *(int *)(var_12 + 0x18);
  if (*(char *)(var_14 + 0xe0) != '\0') {
    return 1;
  }
  if ((*(char *)(var_12 + 0xf1) == '\0') && ((*(type_12 *)(var_14 + 0xf8) & 8) != 0)) {
    *(type_5 *)(var_11 + -0x30) = 0x16481;
    var_16 = var_15();
    if (var_16 != *(type_7 *)(var_12 + 0x5c)) {
      var_5 = var_5 + 0x13069;
      goto LAB_00016490;
    }
  }
  if (*(int *)(var_13 + 0x14) != 0) {
    if ((*(type_12 *)(var_14 + 0xf9) & 0x80) == 0) {
      var_5 = var_5 + 0x13099;
LAB_00016490:
      *(int *)(var_11 + -0x38) = var_5;
      *(int *)(var_11 + -0x3c) = var_14;
      *(type_5 *)(var_11 + -0x40) = 0x16497;
      var_17(*(type_4 **)(var_11 + -0x3c),*(char **)(var_11 + -0x38));
      return 0;
    }
    if (*(int *)(var_11 + -8) != 0x65) {
      var_5 = var_5 + 0x130e5;
      goto LAB_00016490;
    }
  }
  *(int *)(var_11 + -0x3c) = var_13;
  *(type_5 *)(var_11 + -0x40) = 0x164c8;
  var_18(*(type_13 **)(var_11 + -0x3c));
  uVar3 = *(type_5 *)(var_11 + -8);
  *(int *)(var_12 + 0x24) = var_13;
  *(type_5 *)(var_12 + 0xbc) = uVar3;
  uVar8 = 0;
  if (*(int *)(var_13 + 0x58) != -1) {
    uVar8 = (*(type_8 *)(*(int *)(var_12 + 0x18) + 0xf8) >> 1 ^ 1) & 1;
  }
  *(type_8 *)(var_12 + 0x88) = uVar8;
  var_14 = *(int *)(var_12 + 0x34);
  if (var_14 == 0) {
LAB_00016550:
    if ((*(type_8 *)(var_11 + -8) < 200 || *(int *)(var_11 + -8) == 0xcc) ||
       (*(int *)(var_11 + -8) == 0x130)) goto LAB_00016515;
  }
  else {
    *(int *)(var_11 + -0x38) = var_5 + 0x12d3e;
    *(int *)(var_11 + -0x3c) = var_14;
    *(type_5 *)(var_11 + -0x40) = 0x1650e;
    var_14 = var_19(*(char **)(var_11 + -0x3c),*(char **)(var_11 + -0x38));
    if (var_14 == 0) goto LAB_00016550;
LAB_00016515:
    uVar3 = *(type_5 *)(var_13 + 0x38);
    *(type_5 *)(var_12 + 0x80) = *(type_5 *)(var_13 + 0x34);
    *(type_5 *)(var_12 + 0x84) = uVar3;
  }
  if ((*(int *)(var_12 + 0xb4) == 4) && (var_13 = *(int *)(var_12 + 0x34), var_13 != 0)) {
    *(int *)(var_11 + -0x38) = var_5 + 0x12d43;
    *(int *)(var_11 + -0x3c) = var_13;
    *(type_5 *)(var_11 + -0x40) = 0x165a7;
    var_13 = var_19(*(char **)(var_11 + -0x3c),*(char **)(var_11 + -0x38));
    if (var_13 == 0) {
      *(int *)(var_11 + -0x38) = var_5 + 0x12d48;
      *(type_5 *)(var_11 + -0x3c) = *(type_5 *)(var_12 + 0x34);
      *(type_5 *)(var_11 + -0x40) = 0x16600;
      var_5 = var_19(*(char **)(var_11 + -0x3c),*(char **)(var_11 + -0x38));
      if (var_5 == 0) goto LAB_00016530;
    }
    *(type_9 *)(var_12 + 0xa9) = 1;
    *(type_5 *)(var_12 + 0xb4) = 9;
  }
LAB_00016530:
  if (*(char *)(var_12 + 0xab) == '\0') {
    *(int *)(var_11 + -0x3c) = var_12;
    *(type_5 *)(var_11 + -0x40) = 0x165d1;
    var_20(*(type_1 **)(var_11 + -0x3c));
  }
  return 1;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (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: (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: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (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 (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 (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: (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)))) 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: (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 (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: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (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 (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 (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (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: (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: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (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)))) alternative: (else_clause (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)))))) (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)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) 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: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (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)))) alternative: (else_clause (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)))))) (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: (identifier) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (string_literal (string_content) (escape_sequence)))) (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: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (string_literal (string_content)))) (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 (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) 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: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator)))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (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))))))) (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: (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 (return_statement (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) consequence: (compound_statement (return_statement (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: (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 (return_statement (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (char_literal (escape_sequence)))) right: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (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: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (goto_statement label: (statement_identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (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)))) (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: (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))) (return_statement (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (goto_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))) (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: (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: (primitive_type) 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: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (binary_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)) 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: (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 (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (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: (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: (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: (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: (binary_expression left: (identifier) right: (number_literal)))) (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: (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: (call_expression function: (identifier) arguments: (argument_list)))) (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: (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: (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: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (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)))))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (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: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal)))) (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: (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: (call_expression function: (identifier) arguments: (argument_list)))) (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: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (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: (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: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (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: (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))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (char_literal (escape_sequence)))) consequence: (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: (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 (call_expression function: (identifier) arguments: (argument_list)))))) (return_statement (number_literal)))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 MASKED(int param_1,int param_2,int param_3)

{
  pthread_mutex_t *__mutex;
  int iVar1;
  undefined4 uVar2;
  pthread_t pVar3;
  uint uVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  undefined1 *puVar8;
  undefined1 auStack_1c [8];
  undefined4 uStack_14;
  
  uStack_14 = 0x16209;
  puVar8 = auStack_1c;
  if (param_2 != 0) {
    return 0;
  }
  iVar7 = *(int *)(param_1 + 0x18);
  if (*(int *)(param_1 + 0x98) == 0) {
    uVar2 = FUN_00021230();
    *(undefined4 *)(param_1 + 0x94) = uVar2;
  }
  __mutex = (pthread_mutex_t *)(iVar7 + 0xac);
  iVar1 = pthread_mutex_lock(__mutex);
  if (iVar1 == 0) {
    if (((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')) {
      iVar1 = *(int *)(param_1 + 0x14);
      uVar2 = *(undefined4 *)(param_1 + 0x10);
      if (*(int *)(param_1 + 0x98) == *(int *)(iVar7 + 0xf0)) {
        if (iVar1 == 0) {
          *(undefined4 *)(iVar7 + 0x30) = uVar2;
        }
        else {
          *(undefined4 *)(iVar1 + 0x10) = uVar2;
        }
        iVar1 = *(int *)(param_1 + 0x10);
        uVar2 = *(undefined4 *)(param_1 + 0x14);
        if (iVar1 != 0) goto LAB_00016290;
        *(undefined4 *)(iVar7 + 0x34) = uVar2;
      }
      else {
        if (iVar1 == 0) {
          *(undefined4 *)(iVar7 + 0x38) = uVar2;
        }
        else {
          *(undefined4 *)(iVar1 + 0x10) = uVar2;
        }
        iVar1 = *(int *)(param_1 + 0x10);
        uVar2 = *(undefined4 *)(param_1 + 0x14);
        if (iVar1 == 0) {
          *(undefined4 *)(iVar7 + 0x3c) = uVar2;
        }
        else {
LAB_00016290:
          *(undefined4 *)(iVar1 + 0x14) = uVar2;
        }
      }
      *(undefined4 *)(param_1 + 0x10) = 0;
      *(undefined4 *)(param_1 + 0x14) = 0;
    }
    *(int *)(param_1 + 0x98) = param_3;
    if (((*(byte *)(iVar7 + 0xf8) & 4) == 0) && (*(char *)(param_1 + 0xf1) == '\0')) {
      if (param_3 == *(int *)(iVar7 + 0xf0)) {
        uVar2 = *(undefined4 *)(iVar7 + 0x30);
        *(undefined4 *)(param_1 + 0x14) = 0;
        *(undefined4 *)(param_1 + 0x10) = uVar2;
        if (*(int *)(iVar7 + 0x34) == 0) {
          *(int *)(iVar7 + 0x34) = param_1;
        }
        else {
          *(int *)(*(int *)(iVar7 + 0x30) + 0x14) = param_1;
        }
        *(int *)(iVar7 + 0x30) = param_1;
      }
      else {
        uVar2 = *(undefined4 *)(iVar7 + 0x38);
        *(undefined4 *)(param_1 + 0x14) = 0;
        *(undefined4 *)(param_1 + 0x10) = uVar2;
        if (*(int *)(iVar7 + 0x3c) == 0) {
          *(int *)(iVar7 + 0x3c) = param_1;
        }
        else {
          *(int *)(*(int *)(iVar7 + 0x38) + 0x14) = param_1;
        }
        *(int *)(iVar7 + 0x38) = param_1;
      }
    }
    iVar1 = pthread_mutex_unlock(__mutex);
    if (iVar1 == 0) {
      return 1;
    }
    puVar8 = &stack0xffffffd4;
    (*DAT_0003406c)();
  }
  *(char **)(puVar8 + -4) = "Failed to lock mutex.\n";
  *(undefined4 *)(puVar8 + -8) = 0xf88;
  *(char **)(puVar8 + -0xc) = "connection.c";
  *(undefined4 *)(puVar8 + -0x10) = DAT_00034068;
  *(undefined4 *)(puVar8 + -0x14) = 0x16403;
  (*DAT_0003406c)();
  *(pthread_mutex_t **)(puVar8 + -0x14) = __mutex;
  *(int *)(puVar8 + -0x18) = iVar7;
  *(int *)(puVar8 + -0x1c) = param_1;
  *(undefined ***)(puVar8 + -0x20) = &__DT_PLTGOT;
  *(undefined4 *)(puVar8 + -0x24) = 0x1641b;
  iVar7 = *(int *)(puVar8 + -0x24);
  iVar1 = *(int *)(puVar8 + -0xc);
  iVar6 = *(int *)(puVar8 + -4);
  if (iVar1 == 0) {
    return 0;
  }
  if (iVar6 == 0) {
    return 0;
  }
  if (*(int *)(iVar1 + 0x24) != 0) {
    return 0;
  }
  if ((*(int *)(iVar1 + 0xb4) != 4) && (*(int *)(iVar1 + 0xb4) != 9)) {
    return 0;
  }
  iVar5 = *(int *)(iVar1 + 0x18);
  if (*(char *)(iVar5 + 0xe0) != '\0') {
    return 1;
  }
  if ((*(char *)(iVar1 + 0xf1) == '\0') && ((*(byte *)(iVar5 + 0xf8) & 8) != 0)) {
    *(undefined4 *)(puVar8 + -0x30) = 0x16481;
    pVar3 = pthread_self();
    if (pVar3 != *(pthread_t *)(iVar1 + 0x5c)) {
      iVar7 = iVar7 + 0x13069;
      goto LAB_00016490;
    }
  }
  if (*(int *)(iVar6 + 0x14) != 0) {
    if ((*(byte *)(iVar5 + 0xf9) & 0x80) == 0) {
      iVar7 = iVar7 + 0x13099;
LAB_00016490:
      *(int *)(puVar8 + -0x38) = iVar7;
      *(int *)(puVar8 + -0x3c) = iVar5;
      *(undefined4 *)(puVar8 + -0x40) = 0x16497;
      FUN_00020aa0();
      return 0;
    }
    if (*(int *)(puVar8 + -8) != 0x65) {
      iVar7 = iVar7 + 0x130e5;
      goto LAB_00016490;
    }
  }
  *(int *)(puVar8 + -0x3c) = iVar6;
  *(undefined4 *)(puVar8 + -0x40) = 0x164c8;
  FUN_00022c20();
  uVar2 = *(undefined4 *)(puVar8 + -8);
  *(int *)(iVar1 + 0x24) = iVar6;
  *(undefined4 *)(iVar1 + 0xbc) = uVar2;
  uVar4 = 0;
  if (*(int *)(iVar6 + 0x58) != -1) {
    uVar4 = (*(uint *)(*(int *)(iVar1 + 0x18) + 0xf8) >> 1 ^ 1) & 1;
  }
  *(uint *)(iVar1 + 0x88) = uVar4;
  iVar5 = *(int *)(iVar1 + 0x34);
  if (iVar5 == 0) {
LAB_00016550:
    if ((*(uint *)(puVar8 + -8) < 200 || *(int *)(puVar8 + -8) == 0xcc) ||
       (*(int *)(puVar8 + -8) == 0x130)) goto LAB_00016515;
  }
  else {
    *(int *)(puVar8 + -0x38) = iVar7 + 0x12d3e;
    *(int *)(puVar8 + -0x3c) = iVar5;
    *(undefined4 *)(puVar8 + -0x40) = 0x1650e;
    iVar5 = FUN_000212c0();
    if (iVar5 == 0) goto LAB_00016550;
LAB_00016515:
    uVar2 = *(undefined4 *)(iVar6 + 0x38);
    *(undefined4 *)(iVar1 + 0x80) = *(undefined4 *)(iVar6 + 0x34);
    *(undefined4 *)(iVar1 + 0x84) = uVar2;
  }
  if ((*(int *)(iVar1 + 0xb4) == 4) && (iVar6 = *(int *)(iVar1 + 0x34), iVar6 != 0)) {
    *(int *)(puVar8 + -0x38) = iVar7 + 0x12d43;
    *(int *)(puVar8 + -0x3c) = iVar6;
    *(undefined4 *)(puVar8 + -0x40) = 0x165a7;
    iVar6 = FUN_000212c0();
    if (iVar6 == 0) {
      *(int *)(puVar8 + -0x38) = iVar7 + 0x12d48;
      *(undefined4 *)(puVar8 + -0x3c) = *(undefined4 *)(iVar1 + 0x34);
      *(undefined4 *)(puVar8 + -0x40) = 0x16600;
      iVar7 = FUN_000212c0();
      if (iVar7 == 0) goto LAB_00016530;
    }
    *(undefined1 *)(iVar1 + 0xa9) = 1;
    *(undefined4 *)(iVar1 + 0xb4) = 9;
  }
LAB_00016530:
  if (*(char *)(iVar1 + 0xab) == '\0') {
    *(int *)(puVar8 + -0x3c) = iVar1;
    *(undefined4 *)(puVar8 + -0x40) = 0x165d1;
    FUN_00016a50();
  }
  return 1;
}

