
int udhcpc_main(int argc,char **argv)

{
  byte *pbVar1;
  byte bVar2;
  undefined *puVar3;
  undefined *puVar4;
  undefined *puVar5;
  uint32_t uVar6;
  int iVar7;
  uint uVar8;
  uint8_t *puVar9;
  uint timeo;
  uint uVar10;
  undefined4 uVar11;
  int iVar12;
  option_set *poVar13;
  int iVar14;
  int iVar15;
  uint32_t *puVar16;
  uint *puVar17;
  uint uVar18;
  undefined4 extraout_v1;
  byte *pbVar19;
  undefined *puVar20;
  char *unaff_s0;
  char *pcVar21;
  char *pcVar22;
  char *pcVar23;
  undefined4 *unaff_s3;
  char *unaff_s4;
  uint32_t requested_ip;
  char *pcVar24;
  code *unaff_s7;
  code *pcStack_2fc;
  uint32_t uStack_2f8;
  undefined *puStack_2f0;
  code *pcStack_2ec;
  undefined *puStack_2e4;
  char *str_V;
  char *str_h;
  char *str_F;
  char *str_r;
  char *str_a;
  llist_t *list_O;
  llist_t *list_x;
  int tryagain_timeout;
  int discover_timeout;
  int discover_retries;
  uint32_t server_addr;
  uint32_t lease_seconds;
  pollfd pfds [2];
  dhcp_packet packet;
  
  puVar20 = PTR_bb_common_bufsiz1_0013136c;
  iVar7 = *(int *)PTR___stack_chk_guard_00132164;
  str_a = PTR_bdcommands_4__name_4__001311a4 + -0x2970;
  list_O = (llist_t *)0x0;
  list_x = (llist_t *)0x0;
  tryagain_timeout = 0x14;
  discover_timeout = 3;
  discover_retries = 3;
  *(undefined **)(PTR_bb_common_bufsiz1_0013136c + 0x22c) =
       PTR_bdcommands_4__name_4__001311a4 + -0x6598;
  *(undefined **)(puVar20 + 0x234) = PTR_bdcommands_4__name_4__001311a4 + -0x2968;
  str_V = PTR_bdcommands_4__name_4__001311a4 + -0x294c;
  uVar8 = (*(code *)PTR_getopt32long_00131314)
                    (argv,PTR_LAB_0013118c + 0x5970,PTR_DAT_001311dc + -0x227c,&str_V,&str_h,&str_h,
                     &str_F,puVar20 + 0x22c,puVar20 + 0x230,&str_r,puVar20 + 0x234,&discover_timeout
                     ,&discover_retries,&tryagain_timeout,&list_O,&list_x,&str_a);
  if ((uVar8 & 0xc) != 0) {
    (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x293c);
    puVar9 = alloc_dhcp_option(0xc,str_h,0);
    *(uint8_t **)(PTR_bb_common_bufsiz1_0013136c + 0x244) = puVar9;
  }
  if ((uVar8 & 0x10) != 0) {
    puVar9 = alloc_dhcp_option(0x51,str_F,3);
    *(uint8_t **)(PTR_bb_common_bufsiz1_0013136c + 0x248) = puVar9;
    puVar9[2] = '\x01';
  }
  requested_ip = uVar8 & 0x400;
  if (requested_ip != 0) {
    requested_ip = (*(code *)PTR_inet_addr_00131d0c)(str_r);
  }
  timeo = (*(code *)PTR_xatoul_001313c8)(str_a);
  puVar5 = PTR_udhcp_option_idx_001317ec;
  puVar4 = PTR_bb_strtoul_00131300;
  puVar3 = PTR_llist_pop_00131244;
  puVar20 = PTR_bb_errno_001311d8;
  if (list_O != (llist_t *)0x0) {
    do {
      unaff_s0 = (char *)(*(code *)puVar3)(&list_O);
      uVar10 = (*(code *)puVar4)(unaff_s0,0,0);
      if ((**(int **)puVar20 != 0) || (uVar18 = uVar10 >> 3, 0xfe < uVar10)) {
        uVar18 = udhcp_option_idx(unaff_s0,PTR_dhcp_option_strings_001317d8);
        uVar10 = (uint)(byte)PTR_dhcp_optflags_001317dc[uVar18 * 2 + 1];
        uVar18 = (uint)((byte)PTR_dhcp_optflags_001317dc[uVar18 * 2 + 1] >> 3);
      }
      PTR_bb_common_bufsiz1_0013136c[uVar18 + 0x20c] =
           (byte)(1 << (uVar10 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar18 + 0x20c];
      unaff_s3 = (undefined4 *)puVar4;
      unaff_s4 = puVar3;
      unaff_s7 = (code *)puVar5;
    } while (list_O != (llist_t *)0x0);
  }
  puVar20 = PTR_bb_common_bufsiz1_0013136c;
  if (-1 < (int)(uVar8 << 0xe)) {
    bVar2 = PTR_dhcp_optflags_001317dc[1];
    pbVar19 = PTR_dhcp_optflags_001317dc;
    while (bVar2 != 0) {
      if ((*pbVar19 & 0x10) != 0) {
        puVar20[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar20[(bVar2 >> 3) + 0x20c];
      }
      pbVar1 = pbVar19 + 3;
      pbVar19 = pbVar19 + 2;
      bVar2 = *pbVar1;
    }
  }
  puVar3 = PTR_xstrdup_001312b8;
  puVar20 = PTR_llist_pop_00131244;
  if (list_x != (llist_t *)0x0) {
    unaff_s7 = (code *)(PTR_bb_common_bufsiz1_0013136c + 0x238);
    do {
      uVar11 = (*(code *)puVar20)(&list_x);
      unaff_s0 = (char *)(*(code *)puVar3)(uVar11);
      udhcp_str2optset(unaff_s0,unaff_s7,(dhcp_optflag *)PTR_dhcp_optflags_001317dc,
                       PTR_dhcp_option_strings_001317d8);
      (*(code *)PTR_free_00132180)(unaff_s0);
      unaff_s3 = (undefined4 *)puVar3;
      unaff_s4 = puVar20;
    } while (list_x != (llist_t *)0x0);
  }
  iVar12 = udhcp_read_interface
                     (*(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c),
                      (int *)(PTR_bb_common_bufsiz1_0013136c + 0x208),(uint32_t *)0x0,
                      PTR_bb_common_bufsiz1_0013136c + 0x200);
  if (iVar12 != 0) {
    pcVar24 = &DAT_00000001;
    goto LAB_0006654c;
  }
  unaff_s3 = (undefined4 *)0x0;
  if (((uVar8 & 1) == 0) &&
     (poVar13 = udhcp_find_option(*(option_set **)(PTR_bb_common_bufsiz1_0013136c + 0x238),'='),
     poVar13 == (option_set *)0x0)) {
    puVar9 = alloc_dhcp_option(0x3d,PTR_bdcommands_4__name_4__001311a4 + -0x3208,7);
    puVar20 = PTR_bb_common_bufsiz1_0013136c;
    *(uint8_t **)(PTR_bb_common_bufsiz1_0013136c + 0x23c) = puVar9;
    puVar9[2] = '\x01';
    iVar12 = *(int *)(puVar20 + 0x23c);
    unaff_s3 = (undefined4 *)(iVar12 + 3);
    *unaff_s3 = *(undefined4 *)(puVar20 + 0x200);
    *(undefined *)(iVar12 + 7) = puVar20[0x204];
    *(undefined *)(iVar12 + 8) = puVar20[0x205];
  }
  if (*str_V != '\0') {
    puVar9 = alloc_dhcp_option(0x3c,str_V,0);
    *(uint8_t **)(PTR_bb_common_bufsiz1_0013136c + 0x240) = puVar9;
  }
  if ((uVar8 & 0x4000) != 0) {
    (*(code *)PTR_openlog_00131d98)(*(undefined4 *)PTR_applet_name_001311ac,1,0x18);
    *PTR_logmode_00131250 = *PTR_logmode_00131250 | 2;
  }
  (*(code *)PTR_bb_sanitize_stdio_001316b8)();
  (*(code *)PTR_write_pidfile_00131440)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));
  (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2908);
  udhcp_sp_setup();
  (*(code *)PTR_monotonic_us_001312bc)();
  (*(code *)PTR_srand_00131f84)(extraout_v1);
  PTR_OptArray_14__flags_00131178[0x23de] = 0;
  udhcp_run_script((dhcp_packet *)0x0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);
  change_listen_mode(2);
  pcVar21 = (char *)0x0;
  puStack_2f0 = PTR_OptArray_14__flags_00131178;
  unaff_s7 = (code *)(PTR_LAB_00131738 + 0x4d8c);
  puStack_2e4 = PTR_bdcommands_4__name_4__001311a4;
  pcStack_2fc = (code *)(PTR_LAB_00131738 + 0x5590);
  pcStack_2ec = (code *)(PTR_LAB_00131738 + 0x496c);
  pcVar24 = (char *)0x0;
  unaff_s0 = pcVar24;
  pcVar23 = pcVar24;
LAB_000662f4:
  pcVar22 = pcVar23;
  unaff_s4 = unaff_s0;
  udhcp_sp_fd_set(pfds,*(int *)(puStack_2f0 + 0x1004));
  iVar12 = (int)pcVar22 - (int)pcVar21;
  unaff_s0 = unaff_s4;
  if (iVar12 < 1) {
LAB_00066418:
    pcVar21 = (char *)udhcp_read_interface
                                (*(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c),
                                 (int *)(PTR_bb_common_bufsiz1_0013136c + 0x208),(uint32_t *)0x0,
                                 PTR_bb_common_bufsiz1_0013136c + 0x200);
    puVar20 = PTR_bb_common_bufsiz1_0013136c;
    if (pcVar21 == (char *)0x0) {
      if (unaff_s3 != (undefined4 *)0x0) {
        *unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);
        *(undefined *)(unaff_s3 + 1) = puVar20[0x204];
        *(undefined *)((int)unaff_s3 + 5) = puVar20[0x205];
      }
      if ((byte)PTR_OptArray_14__flags_00131178[0x23de] < 6) {
                    /* WARNING: Could not recover jumptable at 0x000664a0. Too many branches */
                    /* WARNING: Treating indirect jump as call */
        iVar7 = (*(code *)(&_gp + *(int *)(PTR_bdcommands_4__name_4__001311a4 +
                                          (uint)(byte)PTR_OptArray_14__flags_00131178[0x23de] * 4 +
                                          -0x2768)))();
        return iVar7;
      }
      pcVar21 = (char *)0x0;
      pcVar23 = (char *)0x7fffffff;
      goto LAB_000662f4;
    }
  }
  else {
    iVar14 = (*(code *)PTR_monotonic_sec_001317c0)();
    if (iVar12 < 0x20c49b) {
      iVar12 = iVar12 * 1000;
    }
    else {
      iVar12 = 0x7fffffff;
    }
    iVar12 = (*(code *)PTR_poll_00132060)(pfds,2,iVar12);
    pcVar23 = pcVar22;
    if (iVar12 < 0) {
      if (**(int **)PTR_bb_errno_001311d8 != 4) {
        iVar12 = (*(code *)PTR_bb_perror_msg_and_die_001311f4)
                           (PTR_bdcommands_4__name_4__001311a4 + -0x5488);
        goto LAB_00066410;
      }
      iVar12 = (*(code *)PTR_monotonic_sec_001317c0)();
      pcVar21 = pcVar21 + (iVar12 - iVar14);
      goto LAB_000662f4;
    }
LAB_00066410:
    if (iVar12 == 0) goto LAB_00066418;
    iVar12 = udhcp_sp_read();
    puVar20 = PTR_bb_common_bufsiz1_0013136c;
    if (iVar12 == 0x10) {
      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;
      puVar20[0x24d] = 0;
      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2894);
      bVar2 = PTR_OptArray_14__flags_00131178[0x23de];
      if (bVar2 < 7) {
                    /* WARNING: Could not recover jumptable at 0x00066854. Too many branches */
                    /* WARNING: Treating indirect jump as call */
        iVar7 = (*(code *)(&_gp + *(int *)(PTR_bdcommands_4__name_4__001311a4 +
                                          (uint)bVar2 * 4 + -0x2750)))();
        return iVar7;
      }
      pcVar21 = (char *)0x0;
      unaff_s0 = pcVar24;
      pcVar23 = pcVar24;
      if (bVar2 == 5) {
        if ((int)pcVar22 < 0x3d) {
          if (0x3b < (int)pcVar22) goto LAB_0006666c;
        }
        else {
          pcVar22 = (char *)0x3c;
LAB_0006666c:
          iVar12 = (*pcStack_2ec)(uStack_2f8,server_addr,requested_ip);
          pcVar21 = (char *)0x0;
          if (-1 < iVar12) {
            unaff_s0 = unaff_s4;
            pcVar23 = (char *)((int)pcVar22 >> 1);
            goto LAB_000662f4;
          }
        }
        PTR_OptArray_14__flags_00131178[0x23de] = 4;
        (*unaff_s7)(2);
        if ((int)pcVar22 < 1) {
          (*(code *)PTR_bb_error_msg_001311d0)(puStack_2e4 + -0x28b4);
          (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);
          PTR_OptArray_14__flags_00131178[0x23de] = 0;
          puVar20 = PTR_bb_common_bufsiz1_0013136c;
          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;
          puVar20[0x24d] = 0;
          pcVar21 = (char *)0x0;
          pcVar23 = pcVar22;
        }
        else {
          (*pcStack_2ec)(uStack_2f8,0);
          pcVar21 = (char *)0x0;
          unaff_s0 = unaff_s4;
          pcVar23 = (char *)((int)pcVar22 >> 1);
        }
      }
      goto LAB_000662f4;
    }
    if (iVar12 == 0x11) {
      perform_release(server_addr,requested_ip);
      pcVar23 = (char *)0x7fffffff;
      goto LAB_000662f4;
    }
    if (iVar12 == 0xf) {
      (*(code *)PTR_bb_error_msg_001311d0)
                (PTR_bdcommands_4__name_4__001311a4 + -0x2874,
                 PTR_bdcommands_4__name_4__001311a4 + -0x287c);
      goto LAB_00066938;
    }
    if (pfds[1].revents == 0) goto LAB_000662f4;
    if (PTR_OptArray_14__flags_00131178[0x23df] == '\x01') {
      iVar12 = udhcp_recv_kernel_packet(&packet,*(int *)(puStack_2f0 + 0x1004));
    }
    else {
      iVar12 = udhcp_recv_raw_packet(&packet,*(int *)(puStack_2f0 + 0x1004));
    }
    if (iVar12 == -1) {
      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2868);
      (*(code *)PTR_sleep_0013211c)(discover_timeout);
      (*unaff_s7)((int)(char)PTR_OptArray_14__flags_00131178[0x23df]);
      iVar12 = (*(code *)PTR_monotonic_sec_001317c0)();
      pcVar21 = pcVar21 + (iVar12 - iVar14);
      goto LAB_000662f4;
    }
    iVar15 = (*(code *)PTR_monotonic_sec_001317c0)();
    pcVar21 = pcVar21 + (iVar15 - iVar14);
    if ((((iVar12 < 0) || (packet.xid != uStack_2f8)) || (packet.hlen != '\x06')) ||
       (iVar12 = (*(code *)PTR_memcmp_0013212c)
                           (packet.chaddr,PTR_bb_common_bufsiz1_0013136c + 0x200,6), iVar12 != 0))
    goto LAB_000662f4;
    puVar9 = udhcp_get_option(&packet,0x35);
    uVar6 = server_addr;
    if (puVar9 == (uint8_t *)0x0) {
      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2844);
      goto LAB_000662f4;
    }
    iVar12 = (int)(char)PTR_OptArray_14__flags_00131178[0x23de];
    pcVar22 = (char *)0x0;
    if (iVar12 != 1) {
      if (iVar12 < 2) {
        if ((iVar12 == 0) && (*puVar9 == '\x02')) {
          server_addr = 0;
          puVar16 = (uint32_t *)udhcp_get_option32(&packet,0x36);
          if (puVar16 == (uint32_t *)0x0) {
            (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x281c);
          }
          else {
            server_addr = *puVar16;
          }
          PTR_OptArray_14__flags_00131178[0x23de] = 1;
          pcVar21 = (char *)0x0;
          requested_ip = packet.yiaddr;
          unaff_s0 = pcVar22;
          pcVar23 = pcVar22;
        }
        goto LAB_000662f4;
      }
      if (2 < (iVar12 - 3U & 0xff)) goto LAB_000662f4;
    }
    if (*puVar9 != '\x05') {
      if ((*puVar9 == '\x06') &&
         ((server_addr == 0 ||
          ((puVar16 = (uint32_t *)udhcp_get_option32(&packet,0x36), puVar16 != (uint32_t *)0x0 &&
           (lease_seconds = *puVar16, uVar6 == lease_seconds)))))) {
        (*(code *)PTR_bb_error_msg_001311d0)
                  (PTR_bdcommands_4__name_4__001311a4 + -0x2874,
                   PTR_bdcommands_4__name_4__001311a4 + -0x2778);
        (*pcStack_2fc)(&packet,PTR_bdcommands_4__name_4__001311a4 + -0x276c);
        if (PTR_OptArray_14__flags_00131178[0x23de] != '\x01') {
          (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);
        }
        (*unaff_s7)(2);
        (*(code *)PTR_sleep_0013211c)(3);
        PTR_OptArray_14__flags_00131178[0x23de] = 0;
        puVar20 = PTR_bb_common_bufsiz1_0013136c;
        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;
        puVar20[0x24d] = 0;
        pcVar21 = (char *)0x0;
        requested_ip = 0;
        unaff_s0 = pcVar22;
        pcVar23 = pcVar22;
      }
      goto LAB_000662f4;
    }
    puVar17 = (uint *)udhcp_get_option32(&packet,0x33);
    if (puVar17 == (uint *)0x0) {
      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2800);
      lease_seconds = 0xe10;
    }
    else {
      lease_seconds = *puVar17;
      if (lease_seconds < 0x7a) {
        lease_seconds = 0x7a;
      }
    }
    if (((int)(uVar8 << 9) < 0) &&
       (iVar12 = arpping(packet.yiaddr,(uint8_t *)0x0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,
                         *(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c),timeo), iVar12 == 0)) {
      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x27d4);
      send_decline(server_addr,packet.yiaddr);
      if (PTR_OptArray_14__flags_00131178[0x23de] != '\x01') {
        (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);
      }
      (*unaff_s7)(2);
      PTR_OptArray_14__flags_00131178[0x23de] = 0;
      puVar20 = PTR_bb_common_bufsiz1_0013136c;
      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;
      puVar20[0x24d] = 0;
      pcVar21 = (char *)0x0;
      requested_ip = 0;
      unaff_s0 = (char *)0x0;
      pcVar23 = (char *)tryagain_timeout;
      goto LAB_000662f4;
    }
    uVar11 = (*(code *)PTR_inet_ntoa_00132140)(packet.yiaddr);
    uVar6 = lease_seconds;
    (*(code *)PTR_bb_error_msg_001311d0)
              (PTR_bdcommands_4__name_4__001311a4 + -0x279c,uVar11,lease_seconds);
    requested_ip = packet.yiaddr;
    iVar12 = (*(code *)PTR_monotonic_sec_001317c0)();
    if (PTR_OptArray_14__flags_00131178[0x23de] == '\x01') {
      puVar20 = PTR_bdcommands_4__name_4__001311a4 + -0x2978;
    }
    else {
      puVar20 = PTR_bdcommands_4__name_4__001311a4 + -0x2884;
    }
    (*pcStack_2fc)(&packet,puVar20);
    iVar14 = (*(code *)PTR_monotonic_sec_001317c0)();
    pcVar21 = (char *)(iVar14 - iVar12);
    pcVar23 = (char *)(uVar6 >> 1);
    if (pcVar23 < pcVar21) {
      pcVar21 = (char *)0x0;
      pcVar23 = pcVar22;
    }
    PTR_OptArray_14__flags_00131178[0x23de] = 2;
    (*unaff_s7)(0);
    if ((uVar8 & 0x100) == 0) {
      if ((int)(uVar8 << 0xc) < 0) {
        uVar8 = uVar8 & 0xffffffbf;
      }
      else {
        client_background();
        uVar8 = uVar8 & 0xffd7ffbf | 0x80000;
      }
      goto LAB_000662f4;
    }
  }
LAB_00066938:
  uVar8 = uVar8 & 0x200;
  unaff_s0 = pcVar21;
  if (uVar8 != 0) {
    perform_release(server_addr,requested_ip);
  }
  while( true ) {
    if (*PTR_wrote_pidfile_00131434 != '\0') {
      (*(code *)PTR_unlink_001320a8)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));
    }
LAB_0006654c:
    if (iVar7 == *(int *)PTR___stack_chk_guard_00132164) {
      return (int)pcVar24;
    }
    (*(code *)PTR___stack_chk_fail_001320e4)();
    if ((int)unaff_s4 < 3) {
      send_select(uStack_2f8,server_addr,requested_ip);
      pcVar21 = (char *)0x0;
      unaff_s0 = unaff_s4 + 1;
      pcVar23 = (char *)discover_timeout;
      goto LAB_000662f4;
    }
    (*unaff_s7)(2);
    PTR_OptArray_14__flags_00131178[0x23de] = 0;
    (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x28f4);
    if ((int)(uVar8 << 10) < 0) break;
    if ((uVar8 & 0x40) == 0) goto LAB_00066624;
    (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x28c8);
    pcVar24 = &DAT_00000001;
  }
  (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x28e8);
  client_background();
  uVar8 = uVar8 & 0xffd7ffff | 0x80000;
LAB_00066624:
  pcVar21 = (char *)0x0;
  pcVar23 = (char *)tryagain_timeout;
  goto LAB_000662f4;
}



undefined1 * FUN_00065d80(undefined4 param_1,undefined4 param_2)

{
  byte *pbVar1;
  byte bVar2;
  undefined *puVar3;
  undefined *puVar4;
  undefined *puVar5;
  uint uVar6;
  undefined4 uVar7;
  int iVar8;
  uint uVar9;
  undefined4 uVar10;
  int iVar11;
  undefined1 *puVar12;
  int iVar13;
  char *pcVar14;
  uint *puVar15;
  uint uVar16;
  undefined4 extraout_v1;
  byte *pbVar17;
  undefined *puVar18;
  undefined1 *unaff_s0;
  undefined1 *puVar19;
  undefined1 *puVar20;
  undefined1 *puVar21;
  undefined4 *unaff_s3;
  undefined1 *unaff_s4;
  uint uVar22;
  code *unaff_s7;
  code *local_2fc;
  int local_2f8;
  undefined *local_2f0;
  code *local_2ec;
  undefined *local_2e4;
  char *local_2e0;
  undefined4 local_2dc;
  undefined4 local_2d8;
  undefined4 local_2d4;
  undefined *local_2d0;
  int local_2cc;
  int local_2c8;
  undefined *local_2c4;
  undefined *local_2c0;
  undefined4 local_2bc;
  uint local_2b8;
  uint local_2b4;
  undefined1 auStack_2b0 [14];
  short local_2a2;
  undefined1 auStack_2a0 [2];
  char local_29e;
  int local_29c;
  uint local_290;
  undefined1 auStack_284 [600];
  int local_2c;
  
  puVar18 = PTR_bb_common_bufsiz1_0013136c;
  local_2c = *(int *)PTR___stack_chk_guard_00132164;
  local_2d0 = PTR_FUN_001311a4 + -0x2970;
  local_2cc = 0;
  local_2c8 = 0;
  local_2c4 = (undefined1 *)0x14;
  local_2c0 = (undefined1 *)0x3;
  local_2bc = 3;
  *(undefined **)(PTR_bb_common_bufsiz1_0013136c + 0x22c) = PTR_FUN_001311a4 + -0x6598;
  *(undefined **)(puVar18 + 0x234) = PTR_FUN_001311a4 + -0x2968;
  local_2e0 = PTR_FUN_001311a4 + -0x294c;
  uVar6 = (*(code *)PTR_FUN_00131314)
                    (param_2,PTR_LAB_0013118c + 0x5970,PTR_DAT_001311dc + -0x227c,&local_2e0,
                     &local_2dc,&local_2dc,&local_2d8,puVar18 + 0x22c,puVar18 + 0x230,&local_2d4,
                     puVar18 + 0x234,&local_2c0,&local_2bc,&local_2c4,&local_2cc,&local_2c8,
                     &local_2d0);
  if ((uVar6 & 0xc) != 0) {
    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x293c);
    uVar7 = FUN_00064458(0xc,local_2dc,0);
    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x244) = uVar7;
  }
  if ((uVar6 & 0x10) != 0) {
    iVar8 = FUN_00064458(0x51,local_2d8,3);
    *(int *)(PTR_bb_common_bufsiz1_0013136c + 0x248) = iVar8;
    *(undefined1 *)(iVar8 + 2) = 1;
  }
  uVar22 = uVar6 & 0x400;
  if (uVar22 != 0) {
    uVar22 = (*(code *)PTR_inet_addr_00131d0c)(local_2d4);
  }
  uVar7 = (*(code *)PTR_FUN_001313c8)(local_2d0);
  puVar5 = PTR_FUN_001317ec;
  puVar4 = PTR_FUN_00131300;
  puVar3 = PTR_FUN_00131244;
  puVar18 = PTR_DAT_001311d8;
  if (local_2cc != 0) {
    do {
      unaff_s0 = (undefined1 *)(*(code *)puVar3)(&local_2cc);
      uVar9 = (*(code *)puVar4)(unaff_s0,0,0);
      if ((**(int **)puVar18 != 0) || (uVar16 = uVar9 >> 3, 0xfe < uVar9)) {
        iVar8 = FUN_0006a8c4(unaff_s0,PTR_DAT_001317d8);
        uVar9 = (uint)(byte)PTR_DAT_001317dc[iVar8 * 2 + 1];
        uVar16 = (uint)((byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3);
      }
      PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c] =
           (byte)(1 << (uVar9 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c];
      unaff_s3 = (undefined4 *)puVar4;
      unaff_s4 = puVar3;
      unaff_s7 = (code *)puVar5;
    } while (local_2cc != 0);
  }
  puVar18 = PTR_bb_common_bufsiz1_0013136c;
  if (-1 < (int)(uVar6 << 0xe)) {
    bVar2 = PTR_DAT_001317dc[1];
    pbVar17 = PTR_DAT_001317dc;
    while (bVar2 != 0) {
      if ((*pbVar17 & 0x10) != 0) {
        puVar18[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar18[(bVar2 >> 3) + 0x20c];
      }
      pbVar1 = pbVar17 + 3;
      pbVar17 = pbVar17 + 2;
      bVar2 = *pbVar1;
    }
  }
  puVar3 = PTR_FUN_001312b8;
  puVar18 = PTR_FUN_00131244;
  if (local_2c8 != 0) {
    unaff_s7 = (code *)(PTR_bb_common_bufsiz1_0013136c + 0x238);
    do {
      uVar10 = (*(code *)puVar18)(&local_2c8);
      unaff_s0 = (undefined1 *)(*(code *)puVar3)(uVar10);
      FUN_0006b074(unaff_s0,unaff_s7,PTR_DAT_001317dc,PTR_DAT_001317d8);
      (*(code *)PTR_free_00132180)(unaff_s0);
      unaff_s3 = (undefined4 *)puVar3;
      unaff_s4 = puVar18;
    } while (local_2c8 != 0);
  }
  iVar8 = FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),
                       PTR_bb_common_bufsiz1_0013136c + 0x208,0,
                       PTR_bb_common_bufsiz1_0013136c + 0x200);
  if (iVar8 != 0) {
    puVar12 = &DAT_00000001;
    goto LAB_0006654c;
  }
  unaff_s3 = (undefined4 *)0x0;
  if (((uVar6 & 1) == 0) &&
     (iVar8 = FUN_0006ace8(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x238),0x3d), iVar8 == 0
     )) {
    iVar8 = FUN_00064458(0x3d,PTR_FUN_001311a4 + -0x3208,7);
    puVar18 = PTR_bb_common_bufsiz1_0013136c;
    *(int *)(PTR_bb_common_bufsiz1_0013136c + 0x23c) = iVar8;
    *(undefined1 *)(iVar8 + 2) = 1;
    iVar8 = *(int *)(puVar18 + 0x23c);
    unaff_s3 = (undefined4 *)(iVar8 + 3);
    *unaff_s3 = *(undefined4 *)(puVar18 + 0x200);
    *(undefined *)(iVar8 + 7) = puVar18[0x204];
    *(undefined *)(iVar8 + 8) = puVar18[0x205];
  }
  if (*local_2e0 != '\0') {
    uVar10 = FUN_00064458(0x3c,local_2e0,0);
    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x240) = uVar10;
  }
  if ((uVar6 & 0x4000) != 0) {
    (*(code *)PTR_openlog_00131d98)(*(undefined4 *)PTR_DAT_001311ac,1,0x18);
    *PTR_DAT_00131250 = *PTR_DAT_00131250 | 2;
  }
  (*(code *)PTR_FUN_001316b8)();
  (*(code *)PTR_FUN_00131440)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));
  (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2908);
  FUN_00069ff0();
  (*(code *)PTR_FUN_001312bc)();
  (*(code *)PTR_srand_00131f84)(extraout_v1);
  PTR_DAT_00131178[0x23de] = 0;
  FUN_00065590(0,PTR_FUN_001311a4 + -0x2984);
  FUN_00064d8c(2);
  puVar19 = (undefined1 *)0x0;
  local_2f0 = PTR_DAT_00131178;
  unaff_s7 = (code *)(PTR_LAB_00131738 + 0x4d8c);
  local_2e4 = PTR_FUN_001311a4;
  local_2fc = (code *)(PTR_LAB_00131738 + 0x5590);
  local_2ec = (code *)(PTR_LAB_00131738 + 0x496c);
  puVar12 = (undefined1 *)0x0;
  unaff_s0 = puVar12;
  puVar21 = puVar12;
LAB_000662f4:
  puVar20 = puVar21;
  unaff_s4 = unaff_s0;
  FUN_0006a0c0(auStack_2b0,*(undefined4 *)(local_2f0 + 0x1004));
  iVar8 = (int)puVar20 - (int)puVar19;
  unaff_s0 = unaff_s4;
  if (iVar8 < 1) {
LAB_00066418:
    puVar19 = (undefined1 *)
              FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),
                           PTR_bb_common_bufsiz1_0013136c + 0x208,0,
                           PTR_bb_common_bufsiz1_0013136c + 0x200);
    puVar18 = PTR_bb_common_bufsiz1_0013136c;
    if (puVar19 == (undefined1 *)0x0) {
      if (unaff_s3 != (undefined4 *)0x0) {
        *unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);
        *(undefined *)(unaff_s3 + 1) = puVar18[0x204];
        *(undefined *)((int)unaff_s3 + 5) = puVar18[0x205];
      }
      if ((byte)PTR_DAT_00131178[0x23de] < 6) {
                    /* WARNING: Could not recover jumptable at 0x000664a0. Too many branches */
                    /* WARNING: Treating indirect jump as call */
        puVar12 = (undefined1 *)
                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +
                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))
                            ();
        return puVar12;
      }
      puVar19 = (undefined1 *)0x0;
      puVar21 = (undefined1 *)0x7fffffff;
      goto LAB_000662f4;
    }
  }
  else {
    iVar11 = (*(code *)PTR_FUN_001317c0)();
    if (iVar8 < 0x20c49b) {
      iVar8 = iVar8 * 1000;
    }
    else {
      iVar8 = 0x7fffffff;
    }
    iVar8 = (*(code *)PTR_poll_00132060)(auStack_2b0,2,iVar8);
    puVar21 = puVar20;
    if (iVar8 < 0) {
      if (**(int **)PTR_DAT_001311d8 != 4) {
        iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x5488);
        goto LAB_00066410;
      }
      iVar8 = (*(code *)PTR_FUN_001317c0)();
      puVar19 = puVar19 + (iVar8 - iVar11);
      goto LAB_000662f4;
    }
LAB_00066410:
    if (iVar8 == 0) goto LAB_00066418;
    iVar8 = FUN_0006a140();
    puVar18 = PTR_bb_common_bufsiz1_0013136c;
    if (iVar8 == 0x10) {
      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;
      puVar18[0x24d] = 0;
      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2894);
      bVar2 = PTR_DAT_00131178[0x23de];
      if (bVar2 < 7) {
                    /* WARNING: Could not recover jumptable at 0x00066854. Too many branches */
                    /* WARNING: Treating indirect jump as call */
        puVar12 = (undefined1 *)
                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))();
        return puVar12;
      }
      puVar19 = (undefined1 *)0x0;
      unaff_s0 = puVar12;
      puVar21 = puVar12;
      if (bVar2 == 5) {
        if ((int)puVar20 < 0x3d) {
          if (0x3b < (int)puVar20) goto LAB_0006666c;
        }
        else {
          puVar20 = (undefined1 *)0x3c;
LAB_0006666c:
          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);
          puVar19 = (undefined1 *)0x0;
          if (-1 < iVar8) {
            unaff_s0 = unaff_s4;
            puVar21 = (undefined1 *)((int)puVar20 >> 1);
            goto LAB_000662f4;
          }
        }
        PTR_DAT_00131178[0x23de] = 4;
        (*unaff_s7)(2);
        if ((int)puVar20 < 1) {
          (*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4);
          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);
          PTR_DAT_00131178[0x23de] = 0;
          puVar18 = PTR_bb_common_bufsiz1_0013136c;
          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;
          puVar18[0x24d] = 0;
          puVar19 = (undefined1 *)0x0;
          puVar21 = puVar20;
        }
        else {
          (*local_2ec)(local_2f8,0);
          puVar19 = (undefined1 *)0x0;
          unaff_s0 = unaff_s4;
          puVar21 = (undefined1 *)((int)puVar20 >> 1);
        }
      }
      goto LAB_000662f4;
    }
    if (iVar8 == 0x11) {
      FUN_00065bb0(local_2b8,uVar22);
      puVar21 = (undefined1 *)0x7fffffff;
      goto LAB_000662f4;
    }
    if (iVar8 == 0xf) {
      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x287c);
      goto LAB_00066938;
    }
    if (local_2a2 == 0) goto LAB_000662f4;
    if (PTR_DAT_00131178[0x23df] == '\x01') {
      iVar8 = FUN_00069990(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));
    }
    else {
      iVar8 = FUN_00064ae0(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));
    }
    if (iVar8 == -1) {
      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2868);
      (*(code *)PTR_sleep_0013211c)(local_2c0);
      (*unaff_s7)((int)(char)PTR_DAT_00131178[0x23df]);
      iVar8 = (*(code *)PTR_FUN_001317c0)();
      puVar19 = puVar19 + (iVar8 - iVar11);
      goto LAB_000662f4;
    }
    iVar13 = (*(code *)PTR_FUN_001317c0)();
    puVar19 = puVar19 + (iVar13 - iVar11);
    if ((((iVar8 < 0) || (local_29c != local_2f8)) || (local_29e != '\x06')) ||
       (iVar8 = (*(code *)PTR_memcmp_0013212c)(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)
       , iVar8 != 0)) goto LAB_000662f4;
    pcVar14 = (char *)FUN_0006a9b8(auStack_2a0,0x35);
    uVar9 = local_2b8;
    if (pcVar14 == (char *)0x0) {
      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2844);
      goto LAB_000662f4;
    }
    iVar8 = (int)(char)PTR_DAT_00131178[0x23de];
    puVar20 = (undefined1 *)0x0;
    if (iVar8 != 1) {
      if (iVar8 < 2) {
        if ((iVar8 == 0) && (*pcVar14 == '\x02')) {
          local_2b8 = 0;
          puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36);
          if (puVar15 == (uint *)0x0) {
            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);
          }
          else {
            local_2b8 = *puVar15;
          }
          PTR_DAT_00131178[0x23de] = 1;
          puVar19 = (undefined1 *)0x0;
          uVar22 = local_290;
          unaff_s0 = puVar20;
          puVar21 = puVar20;
        }
        goto LAB_000662f4;
      }
      if (2 < (iVar8 - 3U & 0xff)) goto LAB_000662f4;
    }
    if (*pcVar14 != '\x05') {
      if ((*pcVar14 == '\x06') &&
         ((local_2b8 == 0 ||
          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&
           (local_2b4 = *puVar15, uVar9 == local_2b4)))))) {
        (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x2778);
        (*local_2fc)(auStack_2a0,PTR_FUN_001311a4 + -0x276c);
        if (PTR_DAT_00131178[0x23de] != '\x01') {
          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);
        }
        (*unaff_s7)(2);
        (*(code *)PTR_sleep_0013211c)(3);
        PTR_DAT_00131178[0x23de] = 0;
        puVar18 = PTR_bb_common_bufsiz1_0013136c;
        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;
        puVar18[0x24d] = 0;
        puVar19 = (undefined1 *)0x0;
        uVar22 = 0;
        unaff_s0 = puVar20;
        puVar21 = puVar20;
      }
      goto LAB_000662f4;
    }
    puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x33);
    if (puVar15 == (uint *)0x0) {
      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2800);
      local_2b4 = 0xe10;
    }
    else {
      local_2b4 = *puVar15;
      if (local_2b4 < 0x7a) {
        local_2b4 = 0x7a;
      }
    }
    if (((int)(uVar6 << 9) < 0) &&
       (iVar8 = FUN_0006a564(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,
                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7),
       iVar8 == 0)) {
      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x27d4);
      FUN_00064864(local_2b8,local_290);
      if (PTR_DAT_00131178[0x23de] != '\x01') {
        (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);
      }
      (*unaff_s7)(2);
      PTR_DAT_00131178[0x23de] = 0;
      puVar18 = PTR_bb_common_bufsiz1_0013136c;
      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;
      puVar18[0x24d] = 0;
      puVar19 = (undefined1 *)0x0;
      uVar22 = 0;
      unaff_s0 = (undefined1 *)0x0;
      puVar21 = local_2c4;
      goto LAB_000662f4;
    }
    uVar10 = (*(code *)PTR_inet_ntoa_00132140)(local_290);
    uVar9 = local_2b4;
    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x279c,uVar10,local_2b4);
    uVar22 = local_290;
    iVar8 = (*(code *)PTR_FUN_001317c0)();
    if (PTR_DAT_00131178[0x23de] == '\x01') {
      puVar18 = PTR_FUN_001311a4 + -0x2978;
    }
    else {
      puVar18 = PTR_FUN_001311a4 + -0x2884;
    }
    (*local_2fc)(auStack_2a0,puVar18);
    iVar11 = (*(code *)PTR_FUN_001317c0)();
    puVar19 = (undefined1 *)(iVar11 - iVar8);
    puVar21 = (undefined1 *)(uVar9 >> 1);
    if (puVar21 < puVar19) {
      puVar19 = (undefined1 *)0x0;
      puVar21 = puVar20;
    }
    PTR_DAT_00131178[0x23de] = 2;
    (*unaff_s7)(0);
    if ((uVar6 & 0x100) == 0) {
      if ((int)(uVar6 << 0xc) < 0) {
        uVar6 = uVar6 & 0xffffffbf;
      }
      else {
        FUN_000643f4();
        uVar6 = uVar6 & 0xffd7ffbf | 0x80000;
      }
      goto LAB_000662f4;
    }
  }
LAB_00066938:
  uVar6 = uVar6 & 0x200;
  unaff_s0 = puVar19;
  if (uVar6 != 0) {
    FUN_00065bb0(local_2b8,uVar22);
  }
  while( true ) {
    if (*PTR_DAT_00131434 != '\0') {
      (*(code *)PTR_unlink_001320a8)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));
    }
LAB_0006654c:
    if (local_2c == *(int *)PTR___stack_chk_guard_00132164) {
      return puVar12;
    }
    (*(code *)PTR___stack_chk_fail_001320e4)();
    if ((int)unaff_s4 < 3) {
      FUN_00064724(local_2f8,local_2b8);
      puVar19 = (undefined1 *)0x0;
      unaff_s0 = unaff_s4 + 1;
      puVar21 = local_2c0;
      goto LAB_000662f4;
    }
    (*unaff_s7)(2);
    PTR_DAT_00131178[0x23de] = 0;
    (*local_2fc)(0,PTR_FUN_001311a4 + -0x28f4);
    if ((int)(uVar6 << 10) < 0) break;
    if ((uVar6 & 0x40) == 0) goto LAB_00066624;
    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x28c8);
    puVar12 = &DAT_00000001;
  }
  (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x28e8);
  FUN_000643f4();
  uVar6 = uVar6 & 0xffd7ffff | 0x80000;
LAB_00066624:
  puVar19 = (undefined1 *)0x0;
  puVar21 = local_2c4;
  goto LAB_000662f4;
}


lui gp,0xd
addiu gp,gp,0x33d0
addu gp,gp,t9
addiu sp,sp,-0x350
sw ra,0x34c(sp)
sw s8,0x348(sp)
sw s7,0x344(sp)
sw s6,0x340(sp)
sw s5,0x33c(sp)
sw s4,0x338(sp)
sw s3,0x334(sp)
sw s2,0x330(sp)
sw s1,0x32c(sp)
sw s0,0x328(sp)
sw gp,0x48(sp)
or a0,a1,zero
lw v0,-0x6fec(gp)
lw v0,0x0(v0)
sw v0,0x324(sp)
lw v0,-0x7fac(gp)
addiu v0,v0,-0x2970
sw v0,0x80(sp)
sw zero,0x84(sp)
sw zero,0x88(sp)
li v0,0x14
sw v0,0x8c(sp)
li v0,0x3
sw v0,0x90(sp)
sw v0,0x94(sp)
lw v0,-0x7de4(gp)
lw v1,-0x7fac(gp)
addiu v1,v1,-0x6598
swl v1,0x22c(v0)
swr v1,0x22f(v0)
lw v1,-0x7fac(gp)
addiu v1,v1,-0x2968
swl v1,0x234(v0)
swr v1,0x237(v0)
lw v1,-0x7fac(gp)
addiu v1,v1,-0x294c
sw v1,0x70(sp)
addiu v1,sp,0x80
sw v1,0x40(sp)
addiu v1,sp,0x88
sw v1,0x3c(sp)
addiu v1,sp,0x84
sw v1,0x38(sp)
addiu v1,sp,0x8c
sw v1,0x34(sp)
addiu v1,sp,0x94
sw v1,0x30(sp)
addiu v1,sp,0x90
sw v1,0x2c(sp)
addiu v1,v0,0x234
sw v1,0x28(sp)
addiu v1,sp,0x7c
sw v1,0x24(sp)
addiu v1,v0,0x230
sw v1,0x20(sp)
addiu v0,v0,0x22c
sw v0,0x1c(sp)
addiu v0,sp,0x78
sw v0,0x18(sp)
addiu v0,sp,0x74
sw v0,0x14(sp)
sw v0,0x10(sp)
addiu a3,sp,0x70
lw a2,-0x7f74(gp)
addiu a2,a2,-0x227c
lw a1,-0x7fc4(gp)
addiu a1,a1,0x5970
lw t9,-0x7e3c(gp)
jalr t9
_nop
lw gp,0x48(sp)
or s1,v0,zero
andi v0,v0,0xc
beq v0,zero,0x00065efc
_lw a0,-0x7fac(gp)
addiu a0,a0,-0x293c
lw t9,-0x7f80(gp)
jalr t9
_nop
lw gp,0x48(sp)
or a2,zero,zero
lw a1,0x74(sp)
li a0,0xc
lw t9,-0x7a18(gp)
addiu t9,t9,0x4458
bal 0x00064458
_nop
lw gp,0x48(sp)
lw v1,-0x7de4(gp)
swl v0,0x244(v1)
swr v0,0x247(v1)
andi v0,s1,0x10
beq v0,zero,0x00065f38
_li a2,0x3
lw a1,0x78(sp)
li a0,0x51
lw t9,-0x7a18(gp)
addiu t9,t9,0x4458
bal 0x00064458
_nop
lw gp,0x48(sp)
lw v1,-0x7de4(gp)
swl v0,0x248(v1)
swr v0,0x24b(v1)
li v1,0x1
sb v1,0x2(v0)
andi s5,s1,0x400
beq s5,zero,0x00065f58
_lw a0,0x7c(sp)
lw t9,-0x7444(gp)
jalr t9
_nop
lw gp,0x48(sp)
or s5,v0,zero
lw a0,0x80(sp)
lw t9,-0x7d88(gp)
jalr t9
_nop
lw gp,0x48(sp)
sw v0,0x68(sp)
lw v0,0x84(sp)
beq v0,zero,0x00066034
_ext v0,s1,0x11,0x1
addiu s6,sp,0x84
lw s4,-0x7f0c(gp)
lw s3,-0x7e50(gp)
lw s2,-0x7f78(gp)
lw s7,-0x7964(gp)
or a0,s6,zero
or t9,s4,zero
jalr t9
_nop
lw gp,0x48(sp)
or s0,v0,zero
or a2,zero,zero
or a1,zero,zero
or a0,v0,zero
or t9,s3,zero
jalr t9
_nop
lw gp,0x48(sp)
lw v1,0x0(s2)
lw v1,0x0(v1)
bne v1,zero,0x00065fdc
_sltiu v1,v0,0xff
bne v1,zero,0x00066008
_srl v1,v0,0x3
lw a1,-0x7978(gp)
or a0,s0,zero
or t9,s7,zero
bal 0x0006a8c4
_nop
lw gp,0x48(sp)
sll v0,v0,0x1
lw v1,-0x7974(gp)
addu v1,v1,v0
lbu v0,0x1(v1)
srl v1,v0,0x3
lw a0,-0x7de4(gp)
addu a0,a0,v1
andi v0,v0,0x7
li v1,0x1
sllv v0,v1,v0
lbu v1,0x20c(a0)
or v0,v0,v1
sb v0,0x20c(a0)
lw v0,0x84(sp)
bne v0,zero,0x00065f90
_ext v0,s1,0x11,0x1
beq v0,zero,0x00066398
_lw v0,-0x7974(gp)
lw v0,0x88(sp)
beq v0,zero,0x000660cc
_lw v0,-0x7de4(gp)
addiu s6,sp,0x88
lw s4,-0x7f0c(gp)
lw s3,-0x7e98(gp)
lw s7,-0x7de4(gp)
addiu s7,s7,0x238
lw s2,-0x7960(gp)
or a0,s6,zero
or t9,s4,zero
jalr t9
_nop
lw gp,0x48(sp)
or a0,v0,zero
or t9,s3,zero
jalr t9
_nop
lw gp,0x48(sp)
or s0,v0,zero
lw a3,-0x7978(gp)
lw a2,-0x7974(gp)
or a1,s7,zero
or a0,v0,zero
or t9,s2,zero
bal 0x0006b074
_nop
lw gp,0x48(sp)
or a0,s0,zero
lw t9,-0x6fd0(gp)
jalr t9
_nop
lw gp,0x48(sp)
lw v0,0x88(sp)
bne v0,zero,0x00066060
_lw v0,-0x7de4(gp)
lwl a0,0x22c(v0)
addiu a3,v0,0x200
or a2,zero,zero
addiu a1,v0,0x208
lwr a0,0x22f(v0)
lw t9,-0x795c(gp)
bal 0x0006a1c0
_nop
lw gp,0x48(sp)
bne v0,zero,0x00066e4c
_or s6,v0,zero
andi v0,s1,0x1
bne v0,zero,0x00066190
_or s3,zero,zero
lw v0,-0x7de4(gp)
lwl a0,0x238(v0)
li a1,0x3d
lwr a0,0x23b(v0)
lw t9,-0x7958(gp)
bal 0x0006ace8
_nop
lw gp,0x48(sp)
bne v0,zero,0x00066190
_li a2,0x7
lw a1,-0x7fac(gp)
addiu a1,a1,-0x3208
li a0,0x3d
lw t9,-0x7a18(gp)
addiu t9,t9,0x4458
bal 0x00064458
_nop
lw gp,0x48(sp)
lw v1,-0x7de4(gp)
swl v0,0x23c(v1)
swr v0,0x23f(v1)
li a0,0x1
sb a0,0x2(v0)
lwl a0,0x23c(v1)
lwr a0,0x23f(v1)
addiu s3,a0,0x3
addiu v1,v1,0x200
lwl v0,0x0(v1)
lwr v0,0x3(v1)
swl v0,0x0(s3)
swr v0,0x3(s3)
lbu v0,0x4(v1)
sb v0,0x4(s3)
lbu v0,0x5(v1)
sb v0,0x5(s3)
lw a1,0x70(sp)
lbu v0,0x0(a1)
beq v0,zero,0x000661c4
_or a2,zero,zero
li a0,0x3c
lw t9,-0x7a18(gp)
addiu t9,t9,0x4458
bal 0x00064458
_nop
lw gp,0x48(sp)
lw v1,-0x7de4(gp)
swl v0,0x240(v1)
swr v0,0x243(v1)
andi v0,s1,0x4000
beq v0,zero,0x000661fc
_li a2,0x18
li a1,0x1
lw v0,-0x7fa4(gp)
lw a0,0x0(v0)
lw t9,-0x73b8(gp)
jalr t9
_nop
lw gp,0x48(sp)
lw v1,-0x7f00(gp)
lbu v0,0x0(v1)
ori v0,v0,0x2
sb v0,0x0(v1)
lw t9,-0x7a98(gp)
jalr t9
_nop
lw gp,0x48(sp)
lw v0,-0x7de4(gp)
lwl a0,0x230(v0)
lwr a0,0x233(v0)
lw t9,-0x7d10(gp)
jalr t9
_nop
lw gp,0x48(sp)
lw a0,-0x7fac(gp)
addiu a0,a0,-0x2908
lw t9,-0x7f80(gp)
jalr t9
_nop
lw gp,0x48(sp)
lw t9,-0x7954(gp)
bal 0x00069ff0
_nop
lw gp,0x48(sp)
lw t9,-0x7e94(gp)
jalr t9
_nop
lw gp,0x48(sp)
or a0,v1,zero
lw t9,-0x71cc(gp)
jalr t9
_nop
lw gp,0x48(sp)
lw v0,-0x7fd8(gp)
sb zero,0x23de(v0)
lw a1,-0x7fac(gp)
addiu a1,a1,-0x2984
or a0,zero,zero
lw t9,-0x7a18(gp)
addiu t9,t9,0x5590
bal 0x00065590
_nop
lw gp,0x48(sp)
li a0,0x2
lw t9,-0x7a18(gp)
addiu t9,t9,0x4d8c
bal 0x00064d8c
_nop
lw gp,0x48(sp)
or s2,s6,zero
or s4,s6,zero
or s0,zero,zero
lw v0,-0x7fd8(gp)
sw v0,0x60(sp)
lw s7,-0x7a18(gp)
addiu s7,s7,0x4d8c
lw v0,-0x7fac(gp)
sw v0,0x6c(sp)
lw v0,-0x7a18(gp)
addiu v0,v0,0x5590
sw v0,0x54(sp)
lw v0,-0x7a18(gp)
addiu v0,v0,0x496c
sw v0,0x64(sp)
lw v0,0x60(sp)
lw a1,0x1004(v0)
addiu a0,sp,0xa0
lw t9,-0x7950(gp)
bal 0x0006a0c0
_nop
lw gp,0x48(sp)
subu s8,s2,s0
blez s8,0x00066418
_lw t9,-0x7990(gp)
jalr t9
_nop
lw gp,0x48(sp)
sw v0,0x5c(sp)
lui v0,0x20
ori v0,v0,0xc49b
slt v0,s8,v0
beq v0,zero,0x000663f4
_lui a2,0x7fff
li a2,0x3e8
mul a2,s8,a2
li a1,0x2
addiu a0,sp,0xa0
lw t9,-0x70f0(gp)
jalr t9
_nop
lw gp,0x48(sp)
bgez v0,0x00066410
_nop
lw v0,-0x7f78(gp)
lw v0,0x0(v0)
lw v1,0x0(v0)
li v0,0x4
bne v1,v0,0x000663fc
_lw t9,-0x7990(gp)
jalr t9
_nop
lw gp,0x48(sp)
lw v1,0x5c(sp)
subu s0,s0,v1
b 0x000662f0
_addu s0,v0,s0
lbu v0,0x1(v0)
beq v0,zero,0x0006603c
_or v1,v0,zero
lw a0,-0x7974(gp)
lw a3,-0x7de4(gp)
li a2,0x1
lbu a1,0x0(a0)
andi a1,a1,0x10
beq a1,zero,0x000663dc
_or t0,a0,zero
srl v1,v1,0x3
addu v1,a3,v1
andi v0,v0,0x7
sllv v0,a2,v0
lbu a1,0x20c(v1)
or v0,v0,a1
sb v0,0x20c(v1)
lbu v0,0x3(t0)
or v1,v0,zero
bne v0,zero,0x000663b0
_addiu a0,a0,0x2
b 0x00066040
_lw v0,0x88(sp)
b 0x00066344
_ori a2,a2,0xffff
lw a0,-0x7fac(gp)
addiu a0,a0,-0x5488
lw t9,-0x7f5c(gp)
jalr t9
_nop
bne v0,zero,0x00066738
_lw t9,-0x794c(gp)
lw v0,-0x7de4(gp)
lwl a0,0x22c(v0)
addiu a3,v0,0x200
or a2,zero,zero
addiu a1,v0,0x208
lwr a0,0x22f(v0)
lw t9,-0x795c(gp)
bal 0x0006a1c0
_nop
lw gp,0x48(sp)
bne v0,zero,0x00066938
_or s0,v0,zero
beq s3,zero,0x00066474
_lw v0,-0x7de4(gp)
addiu v0,v0,0x200
lwl v1,0x0(v0)
lwr v1,0x3(v0)
swl v1,0x0(s3)
swr v1,0x3(s3)
lbu v1,0x4(v0)
sb v1,0x4(s3)
lbu v0,0x5(v0)
sb v0,0x5(s3)
lw v1,-0x7fd8(gp)
lbu v0,0x23de(v1)
sltiu v0,v0,0x6
beq v0,zero,0x00066e3c
_lbu v0,0x23de(v1)
sll v1,v0,0x2
lw v0,-0x7fac(gp)
addiu v0,v0,-0x2768
addu v0,v0,v1
lw v0,0x0(v0)
addu v0,v0,gp
jr v0
_nop
lw v0,0x94(sp)
beq v0,zero,0x000664bc
_slt v0,s4,v0
beq v0,zero,0x000665c4
_lw a1,-0x7fac(gp)
bne s4,zero,0x000664d4
_lw t9,-0x72e4(gp)
jalr t9
_nop
lw gp,0x48(sp)
sw v0,0x58(sp)
or a1,s5,zero
lw a0,0x58(sp)
lw t9,-0x7a18(gp)
addiu t9,t9,0x4628
bal 0x00064628
_nop
lw gp,0x48(sp)
lw s2,0x90(sp)
addiu s4,s4,0x1
b 0x000662f0
_or s0,zero,zero
andi v0,s1,0x40
beq v0,zero,0x00066624
_lw a0,-0x7fac(gp)
addiu a0,a0,-0x28c8
lw t9,-0x7f80(gp)
jalr t9
_nop
lw gp,0x48(sp)
li s6,0x1
lw v0,-0x7d1c(gp)
lb v0,0x0(v0)
beq v0,zero,0x0006654c
_lw v0,-0x7de4(gp)
lwl a0,0x230(v0)
lwr a0,0x233(v0)
lw t9,-0x70a8(gp)
jalr t9
_nop
lw gp,0x48(sp)
or v0,s6,zero
lw a0,0x324(sp)
lw v1,-0x6fec(gp)
lw v1,0x0(v1)
beq a0,v1,0x00066e54
_lw t9,-0x706c(gp)
jalr t9
_nop
slti v0,s4,0x3
beq v0,zero,0x000665a4
_or a2,s5,zero
lw a1,0x98(sp)
lw a0,0x58(sp)
lw t9,-0x7a18(gp)
addiu t9,t9,0x4724
bal 0x00064724
_nop
lw gp,0x48(sp)
lw s2,0x90(sp)
addiu s4,s4,0x1
b 0x000662f0
_or s0,zero,zero
li a0,0x2
or t9,s7,zero
jalr t9
_nop
lw gp,0x48(sp)
lw v0,-0x7fd8(gp)
sb zero,0x23de(v0)
lw a1,-0x7fac(gp)
addiu a1,a1,-0x28f4
or a0,zero,zero
lw t9,0x54(sp)
jalr t9
_nop
lw gp,0x48(sp)
ext v0,s1,0x15,0x1
beq v0,zero,0x00066500
_lw a0,-0x7fac(gp)
addiu a0,a0,-0x28e8
lw t9,-0x7f80(gp)
jalr t9
_nop
lw gp,0x48(sp)
lw t9,-0x7a18(gp)
addiu t9,t9,0x43f4
bal 0x000643f4
_nop
lw gp,0x48(sp)
lui v0,0xffd7
ori v0,v0,0xffff
and s1,s1,v0
lui v0,0x8
or s1,s1,v0
lw s2,0x8c(sp)
or s4,s0,zero
b 0x000662f0
_or s0,zero,zero
lw v0,-0x7fd8(gp)
li v1,0x3
sb v1,0x23de(v0)
lw v0,-0x7de4(gp)
sb zero,0x24c(v0)
sb zero,0x24d(v0)
li a0,0x1
or t9,s7,zero
jalr t9
_nop
lw gp,0x48(sp)
slti v0,s2,0x3c
bne v0,zero,0x0006669c
_lw v0,-0x7fd8(gp)
or a2,s5,zero
lw a1,0x98(sp)
lw a0,0x58(sp)
lw t9,0x64(sp)
jalr t9
_nop
lw gp,0x48(sp)
bltz v0,0x00066698
_or s0,zero,zero
b 0x000662f0
_sra s2,s2,0x1
lw v0,-0x7fd8(gp)
li v1,0x4
sb v1,0x23de(v0)
li a0,0x2
or t9,s7,zero
jalr t9
_nop
lw gp,0x48(sp)
blez s2,0x000666e4
_or a2,s5,zero
or a1,zero,zero
lw a0,0x58(sp)
lw t9,0x64(sp)
jalr t9
_nop
lw gp,0x48(sp)
sra s2,s2,0x1
b 0x000662f0
_or s0,zero,zero
lw v0,0x6c(sp)
addiu a0,v0,-0x28b4
lw t9,-0x7f80(gp)
jalr t9
_nop
lw gp,0x48(sp)
lw a1,-0x7fac(gp)
addiu a1,a1,-0x2984
or a0,zero,zero
lw t9,0x54(sp)
jalr t9
_nop
lw gp,0x48(sp)
lw v0,-0x7fd8(gp)
sb zero,0x23de(v0)
lw v0,-0x7de4(gp)
sb zero,0x24c(v0)
sb zero,0x24d(v0)
or s4,s6,zero
b 0x000662f0
_or s0,zero,zero
bal 0x0006a140
_nop
lw gp,0x48(sp)
li v1,0x10
beq v0,v1,0x00066800
_li v1,0x11
beq v0,v1,0x000668f0
_li v1,0xf
beq v0,v1,0x00066918
_lh v0,0xae(sp)
beq v0,zero,0x000662f0
_lw v0,-0x7fd8(gp)
lb v1,0x23df(v0)
li v0,0x1
bne v1,v0,0x00066964
_lw v0,0x60(sp)
lw a1,0x1004(v0)
addiu a0,sp,0xb0
lw t9,-0x7948(gp)
bal 0x00069990
_nop
lw gp,0x48(sp)
or s8,v0,zero
li v0,-0x1
bne s8,v0,0x00066988
_lw a0,-0x7fac(gp)
addiu a0,a0,-0x2868
lw t9,-0x7f80(gp)
jalr t9
_nop
lw gp,0x48(sp)
lw a0,0x90(sp)
lw t9,-0x7034(gp)
jalr t9
_nop
lw gp,0x48(sp)
lw v0,-0x7fd8(gp)
lb a0,0x23df(v0)
or t9,s7,zero
jalr t9
_nop
lw gp,0x48(sp)
lw t9,-0x7990(gp)
jalr t9
_nop
lw gp,0x48(sp)
lw v1,0x5c(sp)
subu s0,s0,v1
b 0x000662f0
_addu s0,v0,s0
lw v0,-0x7de4(gp)
sb zero,0x24c(v0)
sb zero,0x24d(v0)
lw a0,-0x7fac(gp)
addiu a0,a0,-0x2894
lw t9,-0x7f80(gp)
jalr t9
_nop
lw gp,0x48(sp)
lw v0,-0x7fd8(gp)
lb v1,0x23de(v0)
andi v0,v1,0xff
sltiu v0,v0,0x7
beq v0,zero,0x000668d8
_andi v0,v1,0xff
sll a0,v0,0x2
lw v0,-0x7fac(gp)
addiu v0,v0,-0x2750
addu v0,v0,a0
lw v0,0x0(v0)
addu v0,v0,gp
jr v0
_nop
li a0,0x1
or t9,s7,zero
jalr t9
_nop
lw gp,0x48(sp)
lw v0,-0x7fd8(gp)
li v1,0x5
sb v1,0x23de(v0)
slti v0,s2,0x3d
bne v0,zero,0x00066664
_slti v0,s2,0x3c
b 0x0006666c
_li s2,0x3c
lw a1,-0x7fac(gp)
addiu a1,a1,-0x2984
or a0,zero,zero
lw t9,0x54(sp)
jalr t9
_nop
lw gp,0x48(sp)
li a0,0x2
or t9,s7,zero
jalr t9
_nop
lw gp,0x48(sp)
lw v0,-0x7fd8(gp)
sb zero,0x23de(v0)
or s2,s6,zero
or s4,s6,zero
b 0x000662f0
_or s0,zero,zero
li v0,0x5
beq v1,v0,0x0006687c
_or s0,zero,zero
or s2,s6,zero
b 0x000662f0
_or s4,s6,zero
or a1,s5,zero
lw a0,0x98(sp)
lw t9,-0x7a18(gp)
addiu t9,t9,0x5bb0
bal 0x00065bb0
_nop
lw gp,0x48(sp)
lui s2,0x7fff
b 0x000662f0
_ori s2,s2,0xffff
lw a1,-0x7fac(gp)
addiu a1,a1,-0x287c
lw a0,-0x7fac(gp)
addiu a0,a0,-0x2874
lw t9,-0x7f80(gp)
jalr t9
_nop
lw gp,0x48(sp)
andi s1,s1,0x200
beq s1,zero,0x00066524
_or a1,s5,zero
lw a0,0x98(sp)
lw t9,-0x7a18(gp)
addiu t9,t9,0x5bb0
bal 0x00065bb0
_nop
lw gp,0x48(sp)
b 0x00066528
_lw v0,-0x7d1c(gp)
lw a1,0x1004(v0)
addiu a0,sp,0xb0
lw t9,-0x7a18(gp)
addiu t9,t9,0x4ae0
bal 0x00064ae0
_nop
lw gp,0x48(sp)
b 0x00066794
_or s8,v0,zero
lw t9,-0x7990(gp)
jalr t9
_nop
lw gp,0x48(sp)
lw v1,0x5c(sp)
subu s0,s0,v1
bltz s8,0x000662f0
_addu s0,v0,s0
lw v0,0xb4(sp)
lw v1,0x58(sp)
bne v0,v1,0x000662f0
_lbu v1,0xb2(sp)
li v0,0x6
bne v1,v0,0x000662f0
_li a2,0x6
lw a1,-0x7de4(gp)
addiu a1,a1,0x200
addiu a0,sp,0xcc
lw t9,-0x7024(gp)
jalr t9
_nop
lw gp,0x48(sp)
bne v0,zero,0x000662f0
_or s8,v0,zero
li a1,0x35
addiu a0,sp,0xb0
lw t9,-0x797c(gp)
bal 0x0006a9b8
_nop
lw gp,0x48(sp)
bne v0,zero,0x00066a24
_lw a0,-0x7fac(gp)
addiu a0,a0,-0x2844
lw t9,-0x7f80(gp)
jalr t9
_nop
lw gp,0x48(sp)
b 0x000662f4
_lw v0,0x60(sp)
lw v1,-0x7fd8(gp)
lb v1,0x23de(v1)
li a0,0x1
beq v1,a0,0x00066ac0
_slti a0,v1,0x2
beq a0,zero,0x00066aac
_nop
bne v1,zero,0x000662f0
_nop
lbu v1,0x0(v0)
li v0,0x2
bne v1,v0,0x000662f0
_li a1,0x36
sw zero,0x98(sp)
addiu a0,sp,0xb0
lw t9,-0x7944(gp)
bal 0x0006aac8
_nop
lw gp,0x48(sp)
bne v0,zero,0x00066bf0
_lw a0,-0x7fac(gp)
addiu a0,a0,-0x281c
lw t9,-0x7f80(gp)
jalr t9
_nop
lw gp,0x48(sp)
lw s5,0xc0(sp)
lw v0,-0x7fd8(gp)
li v1,0x1
sb v1,0x23de(v0)
or s2,s8,zero
or s4,s8,zero
b 0x000662f0
_or s0,zero,zero
addiu v1,v1,-0x3
andi v1,v1,0xff
sltiu v1,v1,0x3
beq v1,zero,0x000662f0
_nop
lbu v0,0x0(v0)
li v1,0x5
bne v0,v1,0x00066d34
_li a1,0x33
addiu a0,sp,0xb0
lw t9,-0x7944(gp)
bal 0x0006aac8
_nop
lw gp,0x48(sp)
bne v0,zero,0x00066c00
_lw a0,-0x7fac(gp)
addiu a0,a0,-0x2800
lw t9,-0x7f80(gp)
jalr t9
_nop
lw gp,0x48(sp)
li v0,0xe10
sw v0,0x9c(sp)
ext v0,s1,0x16,0x1
beq v0,zero,0x00066c20
_lw v0,0x68(sp)
sw v0,0x14(sp)
lw a3,-0x7de4(gp)
lwl v0,0x22c(a3)
lwr v0,0x22f(a3)
sw v0,0x10(sp)
addiu a3,a3,0x200
or a2,zero,zero
or a1,zero,zero
lw a0,0xc0(sp)
lw t9,-0x7940(gp)
bal 0x0006a564
_nop
lw gp,0x48(sp)
bne v0,zero,0x00066c20
_or s0,v0,zero
lw a0,-0x7fac(gp)
addiu a0,a0,-0x27d4
lw t9,-0x7f80(gp)
jalr t9
_nop
lw gp,0x48(sp)
lw a1,0xc0(sp)
lw a0,0x98(sp)
lw t9,-0x7a18(gp)
addiu t9,t9,0x4864
bal 0x00064864
_nop
lw gp,0x48(sp)
lw v0,-0x7fd8(gp)
lb v1,0x23de(v0)
li v0,0x1
beq v1,v0,0x00066bb0
_lw a1,-0x7fac(gp)
addiu a1,a1,-0x2984
or a0,zero,zero
lw t9,0x54(sp)
jalr t9
_nop
lw gp,0x48(sp)
li a0,0x2
or t9,s7,zero
jalr t9
_nop
lw gp,0x48(sp)
lw v0,-0x7fd8(gp)
sb zero,0x23de(v0)
lw v0,-0x7de4(gp)
sb zero,0x24c(v0)
sb zero,0x24d(v0)
lw s8,0x8c(sp)
or s4,s0,zero
or s0,zero,zero
or s5,zero,zero
b 0x000662f0
_or s2,s8,zero
lwl v1,0x0(v0)
lwr v1,0x3(v0)
b 0x00066a8c
_sw v1,0x98(sp)
lwl v1,0x0(v0)
lwr v1,0x3(v0)
sltiu v0,v1,0x7a
beq v0,zero,0x00066b08
_sw v1,0x9c(sp)
li v0,0x7a
b 0x00066b08
_sw v0,0x9c(sp)
lw a0,0xc0(sp)
lw t9,-0x7010(gp)
jalr t9
_nop
lw gp,0x48(sp)
lw s2,0x9c(sp)
or a2,s2,zero
or a1,v0,zero
lw a0,-0x7fac(gp)
addiu a0,a0,-0x279c
lw t9,-0x7f80(gp)
jalr t9
_nop
lw gp,0x48(sp)
lw s5,0xc0(sp)
lw t9,-0x7990(gp)
jalr t9
_nop
lw gp,0x48(sp)
or s0,v0,zero
lw v0,-0x7fd8(gp)
lb v1,0x23de(v0)
li v0,0x1
beq v1,v0,0x00066d00
_lw a1,-0x7fac(gp)
lw a1,-0x7fac(gp)
addiu a1,a1,-0x2884
addiu a0,sp,0xb0
lw t9,0x54(sp)
jalr t9
_nop
lw gp,0x48(sp)
lw t9,-0x7990(gp)
jalr t9
_nop
lw gp,0x48(sp)
subu s0,v0,s0
srl s2,s2,0x1
sltu v0,s2,s0
movz s8,s2,v0
movn s0,zero,v0
lw v0,-0x7fd8(gp)
li v1,0x2
sb v1,0x23de(v0)
or a0,zero,zero
or t9,s7,zero
jalr t9
_nop
lw gp,0x48(sp)
andi v0,s1,0x100
bne v0,zero,0x00066938
_ext v0,s1,0x13,0x1
beq v0,zero,0x00066d08
_li v0,-0x41
b 0x00066be8
_and s1,s1,v0
b 0x00066c8c
_addiu a1,a1,-0x2978
lw t9,-0x7a18(gp)
addiu t9,t9,0x43f4
bal 0x000643f4
_nop
lw gp,0x48(sp)
lui v0,0xffd7
ori v0,v0,0xffbf
and s1,s1,v0
lui v0,0x8
b 0x00066be8
_or s1,s1,v0
li v1,0x6
bne v0,v1,0x000662f0
_lw v0,0x98(sp)
beq v0,zero,0x00066d84
_sw v0,0x5c(sp)
li a1,0x36
addiu a0,sp,0xb0
lw t9,-0x7944(gp)
bal 0x0006aac8
_nop
lw gp,0x48(sp)
beq v0,zero,0x000662f0
_nop
lwl v1,0x0(v0)
lwr v1,0x3(v0)
or v0,v1,zero
sw v1,0x9c(sp)
lw v1,0x5c(sp)
bne v1,v0,0x000662f4
_lw v0,0x60(sp)
lw a1,-0x7fac(gp)
addiu a1,a1,-0x2778
lw a0,-0x7fac(gp)
addiu a0,a0,-0x2874
lw t9,-0x7f80(gp)
jalr t9
_nop
lw gp,0x48(sp)
lw a1,-0x7fac(gp)
addiu a1,a1,-0x276c
addiu a0,sp,0xb0
lw t9,0x54(sp)
jalr t9
_nop
lw gp,0x48(sp)
lw v0,-0x7fd8(gp)
lb v1,0x23de(v0)
li v0,0x1
beq v1,v0,0x00066dec
_lw a1,-0x7fac(gp)
addiu a1,a1,-0x2984
or a0,zero,zero
lw t9,0x54(sp)
jalr t9
_nop
lw gp,0x48(sp)
li a0,0x2
or t9,s7,zero
jalr t9
_nop
lw gp,0x48(sp)
li a0,0x3
lw t9,-0x7034(gp)
jalr t9
_nop
lw gp,0x48(sp)
lw v0,-0x7fd8(gp)
sb zero,0x23de(v0)
lw v0,-0x7de4(gp)
sb zero,0x24c(v0)
sb zero,0x24d(v0)
or s2,s8,zero
or s4,s8,zero
or s0,zero,zero
b 0x000662f0
_or s5,zero,zero
or s0,zero,zero
lui s2,0x7fff
b 0x000662f0
_ori s2,s2,0xffff
b 0x0006654c
_li s6,0x1
lw ra,0x34c(sp)
lw s8,0x348(sp)
lw s7,0x344(sp)
lw s6,0x340(sp)
lw s5,0x33c(sp)
lw s4,0x338(sp)
lw s3,0x334(sp)
lw s2,0x330(sp)
lw s1,0x32c(sp)
lw s0,0x328(sp)
jr ra
_addiu sp,sp,0x350
(translation_unit "undefined1 * FUN_00065d80(undefined4 param_1,undefined4 param_2)\n\n{\n  byte *pbVar1;\n  byte bVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  uint uVar6;\n  undefined4 uVar7;\n  int iVar8;\n  uint uVar9;\n  undefined4 uVar10;\n  int iVar11;\n  undefined1 *puVar12;\n  int iVar13;\n  char *pcVar14;\n  uint *puVar15;\n  uint uVar16;\n  undefined4 extraout_v1;\n  byte *pbVar17;\n  undefined *puVar18;\n  undefined1 *unaff_s0;\n  undefined1 *puVar19;\n  undefined1 *puVar20;\n  undefined1 *puVar21;\n  undefined4 *unaff_s3;\n  undefined1 *unaff_s4;\n  uint uVar22;\n  code *unaff_s7;\n  code *local_2fc;\n  int local_2f8;\n  undefined *local_2f0;\n  code *local_2ec;\n  undefined *local_2e4;\n  char *local_2e0;\n  undefined4 local_2dc;\n  undefined4 local_2d8;\n  undefined4 local_2d4;\n  undefined *local_2d0;\n  int local_2cc;\n  int local_2c8;\n  undefined *local_2c4;\n  undefined *local_2c0;\n  undefined4 local_2bc;\n  uint local_2b8;\n  uint local_2b4;\n  undefined1 auStack_2b0 [14];\n  short local_2a2;\n  undefined1 auStack_2a0 [2];\n  char local_29e;\n  int local_29c;\n  uint local_290;\n  undefined1 auStack_284 [600];\n  int local_2c;\n  \n  puVar18 = PTR_bb_common_bufsiz1_0013136c;\n  local_2c = *(int *)PTR___stack_chk_guard_00132164;\n  local_2d0 = PTR_FUN_001311a4 + -0x2970;\n  local_2cc = 0;\n  local_2c8 = 0;\n  local_2c4 = (undefined1 *)0x14;\n  local_2c0 = (undefined1 *)0x3;\n  local_2bc = 3;\n  *(undefined **)(PTR_bb_common_bufsiz1_0013136c + 0x22c) = PTR_FUN_001311a4 + -0x6598;\n  *(undefined **)(puVar18 + 0x234) = PTR_FUN_001311a4 + -0x2968;\n  local_2e0 = PTR_FUN_001311a4 + -0x294c;\n  uVar6 = (*(code *)PTR_FUN_00131314)\n                    (param_2,PTR_LAB_0013118c + 0x5970,PTR_DAT_001311dc + -0x227c,&local_2e0,\n                     &local_2dc,&local_2dc,&local_2d8,puVar18 + 0x22c,puVar18 + 0x230,&local_2d4,\n                     puVar18 + 0x234,&local_2c0,&local_2bc,&local_2c4,&local_2cc,&local_2c8,\n                     &local_2d0);\n  if ((uVar6 & 0xc) != 0) {\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x293c);\n    uVar7 = FUN_00064458(0xc,local_2dc,0);\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x244) = uVar7;\n  }\n  if ((uVar6 & 0x10) != 0) {\n    iVar8 = FUN_00064458(0x51,local_2d8,3);\n    *(int *)(PTR_bb_common_bufsiz1_0013136c + 0x248) = iVar8;\n    *(undefined1 *)(iVar8 + 2) = 1;\n  }\n  uVar22 = uVar6 & 0x400;\n  if (uVar22 != 0) {\n    uVar22 = (*(code *)PTR_inet_addr_00131d0c)(local_2d4);\n  }\n  uVar7 = (*(code *)PTR_FUN_001313c8)(local_2d0);\n  puVar5 = PTR_FUN_001317ec;\n  puVar4 = PTR_FUN_00131300;\n  puVar3 = PTR_FUN_00131244;\n  puVar18 = PTR_DAT_001311d8;\n  if (local_2cc != 0) {\n    do {\n      unaff_s0 = (undefined1 *)(*(code *)puVar3)(&local_2cc);\n      uVar9 = (*(code *)puVar4)(unaff_s0,0,0);\n      if ((**(int **)puVar18 != 0) || (uVar16 = uVar9 >> 3, 0xfe < uVar9)) {\n        iVar8 = FUN_0006a8c4(unaff_s0,PTR_DAT_001317d8);\n        uVar9 = (uint)(byte)PTR_DAT_001317dc[iVar8 * 2 + 1];\n        uVar16 = (uint)((byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3);\n      }\n      PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c] =\n           (byte)(1 << (uVar9 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c];\n      unaff_s3 = (undefined4 *)puVar4;\n      unaff_s4 = puVar3;\n      unaff_s7 = (code *)puVar5;\n    } while (local_2cc != 0);\n  }\n  puVar18 = PTR_bb_common_bufsiz1_0013136c;\n  if (-1 < (int)(uVar6 << 0xe)) {\n    bVar2 = PTR_DAT_001317dc[1];\n    pbVar17 = PTR_DAT_001317dc;\n    while (bVar2 != 0) {\n      if ((*pbVar17 & 0x10) != 0) {\n        puVar18[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar18[(bVar2 >> 3) + 0x20c];\n      }\n      pbVar1 = pbVar17 + 3;\n      pbVar17 = pbVar17 + 2;\n      bVar2 = *pbVar1;\n    }\n  }\n  puVar3 = PTR_FUN_001312b8;\n  puVar18 = PTR_FUN_00131244;\n  if (local_2c8 != 0) {\n    unaff_s7 = (code *)(PTR_bb_common_bufsiz1_0013136c + 0x238);\n    do {\n      uVar10 = (*(code *)puVar18)(&local_2c8);\n      unaff_s0 = (undefined1 *)(*(code *)puVar3)(uVar10);\n      FUN_0006b074(unaff_s0,unaff_s7,PTR_DAT_001317dc,PTR_DAT_001317d8);\n      (*(code *)PTR_free_00132180)(unaff_s0);\n      unaff_s3 = (undefined4 *)puVar3;\n      unaff_s4 = puVar18;\n    } while (local_2c8 != 0);\n  }\n  iVar8 = FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                       PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                       PTR_bb_common_bufsiz1_0013136c + 0x200);\n  if (iVar8 != 0) {\n    puVar12 = &DAT_00000001;\n    goto LAB_0006654c;\n  }\n  unaff_s3 = (undefined4 *)0x0;\n  if (((uVar6 & 1) == 0) &&\n     (iVar8 = FUN_0006ace8(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x238),0x3d), iVar8 == 0\n     )) {\n    iVar8 = FUN_00064458(0x3d,PTR_FUN_001311a4 + -0x3208,7);\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    *(int *)(PTR_bb_common_bufsiz1_0013136c + 0x23c) = iVar8;\n    *(undefined1 *)(iVar8 + 2) = 1;\n    iVar8 = *(int *)(puVar18 + 0x23c);\n    unaff_s3 = (undefined4 *)(iVar8 + 3);\n    *unaff_s3 = *(undefined4 *)(puVar18 + 0x200);\n    *(undefined *)(iVar8 + 7) = puVar18[0x204];\n    *(undefined *)(iVar8 + 8) = puVar18[0x205];\n  }\n  if (*local_2e0 != '\0') {\n    uVar10 = FUN_00064458(0x3c,local_2e0,0);\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x240) = uVar10;\n  }\n  if ((uVar6 & 0x4000) != 0) {\n    (*(code *)PTR_openlog_00131d98)(*(undefined4 *)PTR_DAT_001311ac,1,0x18);\n    *PTR_DAT_00131250 = *PTR_DAT_00131250 | 2;\n  }\n  (*(code *)PTR_FUN_001316b8)();\n  (*(code *)PTR_FUN_00131440)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));\n  (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2908);\n  FUN_00069ff0();\n  (*(code *)PTR_FUN_001312bc)();\n  (*(code *)PTR_srand_00131f84)(extraout_v1);\n  PTR_DAT_00131178[0x23de] = 0;\n  FUN_00065590(0,PTR_FUN_001311a4 + -0x2984);\n  FUN_00064d8c(2);\n  puVar19 = (undefined1 *)0x0;\n  local_2f0 = PTR_DAT_00131178;\n  unaff_s7 = (code *)(PTR_LAB_00131738 + 0x4d8c);\n  local_2e4 = PTR_FUN_001311a4;\n  local_2fc = (code *)(PTR_LAB_00131738 + 0x5590);\n  local_2ec = (code *)(PTR_LAB_00131738 + 0x496c);\n  puVar12 = (undefined1 *)0x0;\n  unaff_s0 = puVar12;\n  puVar21 = puVar12;\nLAB_000662f4:\n  puVar20 = puVar21;\n  unaff_s4 = unaff_s0;\n  FUN_0006a0c0(auStack_2b0,*(undefined4 *)(local_2f0 + 0x1004));\n  iVar8 = (int)puVar20 - (int)puVar19;\n  unaff_s0 = unaff_s4;\n  if (iVar8 < 1) {\nLAB_00066418:\n    puVar19 = (undefined1 *)\n              FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                           PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                           PTR_bb_common_bufsiz1_0013136c + 0x200);\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    if (puVar19 == (undefined1 *)0x0) {\n      if (unaff_s3 != (undefined4 *)0x0) {\n        *unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);\n        *(undefined *)(unaff_s3 + 1) = puVar18[0x204];\n        *(undefined *)((int)unaff_s3 + 5) = puVar18[0x205];\n      }\n      if ((byte)PTR_DAT_00131178[0x23de] < 6) {\n                    /* WARNING: Could not recover jumptable at 0x000664a0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))\n                            ();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n  }\n  else {\n    iVar11 = (*(code *)PTR_FUN_001317c0)();\n    if (iVar8 < 0x20c49b) {\n      iVar8 = iVar8 * 1000;\n    }\n    else {\n      iVar8 = 0x7fffffff;\n    }\n    iVar8 = (*(code *)PTR_poll_00132060)(auStack_2b0,2,iVar8);\n    puVar21 = puVar20;\n    if (iVar8 < 0) {\n      if (**(int **)PTR_DAT_001311d8 != 4) {\n        iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x5488);\n        goto LAB_00066410;\n      }\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }\nLAB_00066410:\n    if (iVar8 == 0) goto LAB_00066418;\n    iVar8 = FUN_0006a140();\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    if (iVar8 == 0x10) {\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2894);\n      bVar2 = PTR_DAT_00131178[0x23de];\n      if (bVar2 < 7) {\n                    /* WARNING: Could not recover jumptable at 0x00066854. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = puVar12;\n      puVar21 = puVar12;\n      if (bVar2 == 5) {\n        if ((int)puVar20 < 0x3d) {\n          if (0x3b < (int)puVar20) goto LAB_0006666c;\n        }\n        else {\n          puVar20 = (undefined1 *)0x3c;\nLAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);\n          puVar19 = (undefined1 *)0x0;\n          if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }\n        }\n        PTR_DAT_00131178[0x23de] = 4;\n        (*unaff_s7)(2);\n        if ((int)puVar20 < 1) {\n          (*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4);\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n          PTR_DAT_00131178[0x23de] = 0;\n          puVar18 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar18[0x24d] = 0;\n          puVar19 = (undefined1 *)0x0;\n          puVar21 = puVar20;\n        }\n        else {\n          (*local_2ec)(local_2f8,0);\n          puVar19 = (undefined1 *)0x0;\n          unaff_s0 = unaff_s4;\n          puVar21 = (undefined1 *)((int)puVar20 >> 1);\n        }\n      }\n      goto LAB_000662f4;\n    }\n    if (iVar8 == 0x11) {\n      FUN_00065bb0(local_2b8,uVar22);\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n    if (iVar8 == 0xf) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x287c);\n      goto LAB_00066938;\n    }\n    if (local_2a2 == 0) goto LAB_000662f4;\n    if (PTR_DAT_00131178[0x23df] == '\x01') {\n      iVar8 = FUN_00069990(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }\n    else {\n      iVar8 = FUN_00064ae0(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }\n    if (iVar8 == -1) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2868);\n      (*(code *)PTR_sleep_0013211c)(local_2c0);\n      (*unaff_s7)((int)(char)PTR_DAT_00131178[0x23df]);\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }\n    iVar13 = (*(code *)PTR_FUN_001317c0)();\n    puVar19 = puVar19 + (iVar13 - iVar11);\n    if ((((iVar8 < 0) || (local_29c != local_2f8)) || (local_29e != '\x06')) ||\n       (iVar8 = (*(code *)PTR_memcmp_0013212c)(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)\n       , iVar8 != 0)) goto LAB_000662f4;\n    pcVar14 = (char *)FUN_0006a9b8(auStack_2a0,0x35);\n    uVar9 = local_2b8;\n    if (pcVar14 == (char *)0x0) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2844);\n      goto LAB_000662f4;\n    }\n    iVar8 = (int)(char)PTR_DAT_00131178[0x23de];\n    puVar20 = (undefined1 *)0x0;\n    if (iVar8 != 1) {\n      if (iVar8 < 2) {\n        if ((iVar8 == 0) && (*pcVar14 == '\x02')) {\n          local_2b8 = 0;\n          puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36);\n          if (puVar15 == (uint *)0x0) {\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }\n          else {\n            local_2b8 = *puVar15;\n          }\n          PTR_DAT_00131178[0x23de] = 1;\n          puVar19 = (undefined1 *)0x0;\n          uVar22 = local_290;\n          unaff_s0 = puVar20;\n          puVar21 = puVar20;\n        }\n        goto LAB_000662f4;\n      }\n      if (2 < (iVar8 - 3U & 0xff)) goto LAB_000662f4;\n    }\n    if (*pcVar14 != '\x05') {\n      if ((*pcVar14 == '\x06') &&\n         ((local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)))))) {\n        (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x2778);\n        (*local_2fc)(auStack_2a0,PTR_FUN_001311a4 + -0x276c);\n        if (PTR_DAT_00131178[0x23de] != '\x01') {\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n        }\n        (*unaff_s7)(2);\n        (*(code *)PTR_sleep_0013211c)(3);\n        PTR_DAT_00131178[0x23de] = 0;\n        puVar18 = PTR_bb_common_bufsiz1_0013136c;\n        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n        puVar18[0x24d] = 0;\n        puVar19 = (undefined1 *)0x0;\n        uVar22 = 0;\n        unaff_s0 = puVar20;\n        puVar21 = puVar20;\n      }\n      goto LAB_000662f4;\n    }\n    puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x33);\n    if (puVar15 == (uint *)0x0) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2800);\n      local_2b4 = 0xe10;\n    }\n    else {\n      local_2b4 = *puVar15;\n      if (local_2b4 < 0x7a) {\n        local_2b4 = 0x7a;\n      }\n    }\n    if (((int)(uVar6 << 9) < 0) &&\n       (iVar8 = FUN_0006a564(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7),\n       iVar8 == 0)) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x27d4);\n      FUN_00064864(local_2b8,local_290);\n      if (PTR_DAT_00131178[0x23de] != '\x01') {\n        (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n      }\n      (*unaff_s7)(2);\n      PTR_DAT_00131178[0x23de] = 0;\n      puVar18 = PTR_bb_common_bufsiz1_0013136c;\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      puVar19 = (undefined1 *)0x0;\n      uVar22 = 0;\n      unaff_s0 = (undefined1 *)0x0;\n      puVar21 = local_2c4;\n      goto LAB_000662f4;\n    }\n    uVar10 = (*(code *)PTR_inet_ntoa_00132140)(local_290);\n    uVar9 = local_2b4;\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x279c,uVar10,local_2b4);\n    uVar22 = local_290;\n    iVar8 = (*(code *)PTR_FUN_001317c0)();\n    if (PTR_DAT_00131178[0x23de] == '\x01') {\n      puVar18 = PTR_FUN_001311a4 + -0x2978;\n    }\n    else {\n      puVar18 = PTR_FUN_001311a4 + -0x2884;\n    }\n    (*local_2fc)(auStack_2a0,puVar18);\n    iVar11 = (*(code *)PTR_FUN_001317c0)();\n    puVar19 = (undefined1 *)(iVar11 - iVar8);\n    puVar21 = (undefined1 *)(uVar9 >> 1);\n    if (puVar21 < puVar19) {\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = puVar20;\n    }\n    PTR_DAT_00131178[0x23de] = 2;\n    (*unaff_s7)(0);\n    if ((uVar6 & 0x100) == 0) {\n      if ((int)(uVar6 << 0xc) < 0) {\n        uVar6 = uVar6 & 0xffffffbf;\n      }\n      else {\n        FUN_000643f4();\n        uVar6 = uVar6 & 0xffd7ffbf | 0x80000;\n      }\n      goto LAB_000662f4;\n    }\n  }\nLAB_00066938:\n  uVar6 = uVar6 & 0x200;\n  unaff_s0 = puVar19;\n  if (uVar6 != 0) {\n    FUN_00065bb0(local_2b8,uVar22);\n  }\n  while( true ) {\n    if (*PTR_DAT_00131434 != '\0') {\n      (*(code *)PTR_unlink_001320a8)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));\n    }\nLAB_0006654c:\n    if (local_2c == *(int *)PTR___stack_chk_guard_00132164) {\n      return puVar12;\n    }\n    (*(code *)PTR___stack_chk_fail_001320e4)();\n    if ((int)unaff_s4 < 3) {\n      FUN_00064724(local_2f8,local_2b8);\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = unaff_s4 + 1;\n      puVar21 = local_2c0;\n      goto LAB_000662f4;\n    }\n    (*unaff_s7)(2);\n    PTR_DAT_00131178[0x23de] = 0;\n    (*local_2fc)(0,PTR_FUN_001311a4 + -0x28f4);\n    if ((int)(uVar6 << 10) < 0) break;\n    if ((uVar6 & 0x40) == 0) goto LAB_00066624;\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x28c8);\n    puVar12 = &DAT_00000001;\n  }\n  (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x28e8);\n  FUN_000643f4();\n  uVar6 = uVar6 & 0xffd7ffff | 0x80000;\nLAB_00066624:\n  puVar19 = (undefined1 *)0x0;\n  puVar21 = local_2c4;\n  goto LAB_000662f4;\n}\n\n" (function_definition "undefined1 * FUN_00065d80(undefined4 param_1,undefined4 param_2)\n\n{\n  byte *pbVar1;\n  byte bVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  uint uVar6;\n  undefined4 uVar7;\n  int iVar8;\n  uint uVar9;\n  undefined4 uVar10;\n  int iVar11;\n  undefined1 *puVar12;\n  int iVar13;\n  char *pcVar14;\n  uint *puVar15;\n  uint uVar16;\n  undefined4 extraout_v1;\n  byte *pbVar17;\n  undefined *puVar18;\n  undefined1 *unaff_s0;\n  undefined1 *puVar19;\n  undefined1 *puVar20;\n  undefined1 *puVar21;\n  undefined4 *unaff_s3;\n  undefined1 *unaff_s4;\n  uint uVar22;\n  code *unaff_s7;\n  code *local_2fc;\n  int local_2f8;\n  undefined *local_2f0;\n  code *local_2ec;\n  undefined *local_2e4;\n  char *local_2e0;\n  undefined4 local_2dc;\n  undefined4 local_2d8;\n  undefined4 local_2d4;\n  undefined *local_2d0;\n  int local_2cc;\n  int local_2c8;\n  undefined *local_2c4;\n  undefined *local_2c0;\n  undefined4 local_2bc;\n  uint local_2b8;\n  uint local_2b4;\n  undefined1 auStack_2b0 [14];\n  short local_2a2;\n  undefined1 auStack_2a0 [2];\n  char local_29e;\n  int local_29c;\n  uint local_290;\n  undefined1 auStack_284 [600];\n  int local_2c;\n  \n  puVar18 = PTR_bb_common_bufsiz1_0013136c;\n  local_2c = *(int *)PTR___stack_chk_guard_00132164;\n  local_2d0 = PTR_FUN_001311a4 + -0x2970;\n  local_2cc = 0;\n  local_2c8 = 0;\n  local_2c4 = (undefined1 *)0x14;\n  local_2c0 = (undefined1 *)0x3;\n  local_2bc = 3;\n  *(undefined **)(PTR_bb_common_bufsiz1_0013136c + 0x22c) = PTR_FUN_001311a4 + -0x6598;\n  *(undefined **)(puVar18 + 0x234) = PTR_FUN_001311a4 + -0x2968;\n  local_2e0 = PTR_FUN_001311a4 + -0x294c;\n  uVar6 = (*(code *)PTR_FUN_00131314)\n                    (param_2,PTR_LAB_0013118c + 0x5970,PTR_DAT_001311dc + -0x227c,&local_2e0,\n                     &local_2dc,&local_2dc,&local_2d8,puVar18 + 0x22c,puVar18 + 0x230,&local_2d4,\n                     puVar18 + 0x234,&local_2c0,&local_2bc,&local_2c4,&local_2cc,&local_2c8,\n                     &local_2d0);\n  if ((uVar6 & 0xc) != 0) {\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x293c);\n    uVar7 = FUN_00064458(0xc,local_2dc,0);\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x244) = uVar7;\n  }\n  if ((uVar6 & 0x10) != 0) {\n    iVar8 = FUN_00064458(0x51,local_2d8,3);\n    *(int *)(PTR_bb_common_bufsiz1_0013136c + 0x248) = iVar8;\n    *(undefined1 *)(iVar8 + 2) = 1;\n  }\n  uVar22 = uVar6 & 0x400;\n  if (uVar22 != 0) {\n    uVar22 = (*(code *)PTR_inet_addr_00131d0c)(local_2d4);\n  }\n  uVar7 = (*(code *)PTR_FUN_001313c8)(local_2d0);\n  puVar5 = PTR_FUN_001317ec;\n  puVar4 = PTR_FUN_00131300;\n  puVar3 = PTR_FUN_00131244;\n  puVar18 = PTR_DAT_001311d8;\n  if (local_2cc != 0) {\n    do {\n      unaff_s0 = (undefined1 *)(*(code *)puVar3)(&local_2cc);\n      uVar9 = (*(code *)puVar4)(unaff_s0,0,0);\n      if ((**(int **)puVar18 != 0) || (uVar16 = uVar9 >> 3, 0xfe < uVar9)) {\n        iVar8 = FUN_0006a8c4(unaff_s0,PTR_DAT_001317d8);\n        uVar9 = (uint)(byte)PTR_DAT_001317dc[iVar8 * 2 + 1];\n        uVar16 = (uint)((byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3);\n      }\n      PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c] =\n           (byte)(1 << (uVar9 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c];\n      unaff_s3 = (undefined4 *)puVar4;\n      unaff_s4 = puVar3;\n      unaff_s7 = (code *)puVar5;\n    } while (local_2cc != 0);\n  }\n  puVar18 = PTR_bb_common_bufsiz1_0013136c;\n  if (-1 < (int)(uVar6 << 0xe)) {\n    bVar2 = PTR_DAT_001317dc[1];\n    pbVar17 = PTR_DAT_001317dc;\n    while (bVar2 != 0) {\n      if ((*pbVar17 & 0x10) != 0) {\n        puVar18[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar18[(bVar2 >> 3) + 0x20c];\n      }\n      pbVar1 = pbVar17 + 3;\n      pbVar17 = pbVar17 + 2;\n      bVar2 = *pbVar1;\n    }\n  }\n  puVar3 = PTR_FUN_001312b8;\n  puVar18 = PTR_FUN_00131244;\n  if (local_2c8 != 0) {\n    unaff_s7 = (code *)(PTR_bb_common_bufsiz1_0013136c + 0x238);\n    do {\n      uVar10 = (*(code *)puVar18)(&local_2c8);\n      unaff_s0 = (undefined1 *)(*(code *)puVar3)(uVar10);\n      FUN_0006b074(unaff_s0,unaff_s7,PTR_DAT_001317dc,PTR_DAT_001317d8);\n      (*(code *)PTR_free_00132180)(unaff_s0);\n      unaff_s3 = (undefined4 *)puVar3;\n      unaff_s4 = puVar18;\n    } while (local_2c8 != 0);\n  }\n  iVar8 = FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                       PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                       PTR_bb_common_bufsiz1_0013136c + 0x200);\n  if (iVar8 != 0) {\n    puVar12 = &DAT_00000001;\n    goto LAB_0006654c;\n  }\n  unaff_s3 = (undefined4 *)0x0;\n  if (((uVar6 & 1) == 0) &&\n     (iVar8 = FUN_0006ace8(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x238),0x3d), iVar8 == 0\n     )) {\n    iVar8 = FUN_00064458(0x3d,PTR_FUN_001311a4 + -0x3208,7);\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    *(int *)(PTR_bb_common_bufsiz1_0013136c + 0x23c) = iVar8;\n    *(undefined1 *)(iVar8 + 2) = 1;\n    iVar8 = *(int *)(puVar18 + 0x23c);\n    unaff_s3 = (undefined4 *)(iVar8 + 3);\n    *unaff_s3 = *(undefined4 *)(puVar18 + 0x200);\n    *(undefined *)(iVar8 + 7) = puVar18[0x204];\n    *(undefined *)(iVar8 + 8) = puVar18[0x205];\n  }\n  if (*local_2e0 != '\0') {\n    uVar10 = FUN_00064458(0x3c,local_2e0,0);\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x240) = uVar10;\n  }\n  if ((uVar6 & 0x4000) != 0) {\n    (*(code *)PTR_openlog_00131d98)(*(undefined4 *)PTR_DAT_001311ac,1,0x18);\n    *PTR_DAT_00131250 = *PTR_DAT_00131250 | 2;\n  }\n  (*(code *)PTR_FUN_001316b8)();\n  (*(code *)PTR_FUN_00131440)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));\n  (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2908);\n  FUN_00069ff0();\n  (*(code *)PTR_FUN_001312bc)();\n  (*(code *)PTR_srand_00131f84)(extraout_v1);\n  PTR_DAT_00131178[0x23de] = 0;\n  FUN_00065590(0,PTR_FUN_001311a4 + -0x2984);\n  FUN_00064d8c(2);\n  puVar19 = (undefined1 *)0x0;\n  local_2f0 = PTR_DAT_00131178;\n  unaff_s7 = (code *)(PTR_LAB_00131738 + 0x4d8c);\n  local_2e4 = PTR_FUN_001311a4;\n  local_2fc = (code *)(PTR_LAB_00131738 + 0x5590);\n  local_2ec = (code *)(PTR_LAB_00131738 + 0x496c);\n  puVar12 = (undefined1 *)0x0;\n  unaff_s0 = puVar12;\n  puVar21 = puVar12;\nLAB_000662f4:\n  puVar20 = puVar21;\n  unaff_s4 = unaff_s0;\n  FUN_0006a0c0(auStack_2b0,*(undefined4 *)(local_2f0 + 0x1004));\n  iVar8 = (int)puVar20 - (int)puVar19;\n  unaff_s0 = unaff_s4;\n  if (iVar8 < 1) {\nLAB_00066418:\n    puVar19 = (undefined1 *)\n              FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                           PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                           PTR_bb_common_bufsiz1_0013136c + 0x200);\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    if (puVar19 == (undefined1 *)0x0) {\n      if (unaff_s3 != (undefined4 *)0x0) {\n        *unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);\n        *(undefined *)(unaff_s3 + 1) = puVar18[0x204];\n        *(undefined *)((int)unaff_s3 + 5) = puVar18[0x205];\n      }\n      if ((byte)PTR_DAT_00131178[0x23de] < 6) {\n                    /* WARNING: Could not recover jumptable at 0x000664a0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))\n                            ();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n  }\n  else {\n    iVar11 = (*(code *)PTR_FUN_001317c0)();\n    if (iVar8 < 0x20c49b) {\n      iVar8 = iVar8 * 1000;\n    }\n    else {\n      iVar8 = 0x7fffffff;\n    }\n    iVar8 = (*(code *)PTR_poll_00132060)(auStack_2b0,2,iVar8);\n    puVar21 = puVar20;\n    if (iVar8 < 0) {\n      if (**(int **)PTR_DAT_001311d8 != 4) {\n        iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x5488);\n        goto LAB_00066410;\n      }\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }\nLAB_00066410:\n    if (iVar8 == 0) goto LAB_00066418;\n    iVar8 = FUN_0006a140();\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    if (iVar8 == 0x10) {\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2894);\n      bVar2 = PTR_DAT_00131178[0x23de];\n      if (bVar2 < 7) {\n                    /* WARNING: Could not recover jumptable at 0x00066854. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = puVar12;\n      puVar21 = puVar12;\n      if (bVar2 == 5) {\n        if ((int)puVar20 < 0x3d) {\n          if (0x3b < (int)puVar20) goto LAB_0006666c;\n        }\n        else {\n          puVar20 = (undefined1 *)0x3c;\nLAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);\n          puVar19 = (undefined1 *)0x0;\n          if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }\n        }\n        PTR_DAT_00131178[0x23de] = 4;\n        (*unaff_s7)(2);\n        if ((int)puVar20 < 1) {\n          (*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4);\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n          PTR_DAT_00131178[0x23de] = 0;\n          puVar18 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar18[0x24d] = 0;\n          puVar19 = (undefined1 *)0x0;\n          puVar21 = puVar20;\n        }\n        else {\n          (*local_2ec)(local_2f8,0);\n          puVar19 = (undefined1 *)0x0;\n          unaff_s0 = unaff_s4;\n          puVar21 = (undefined1 *)((int)puVar20 >> 1);\n        }\n      }\n      goto LAB_000662f4;\n    }\n    if (iVar8 == 0x11) {\n      FUN_00065bb0(local_2b8,uVar22);\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n    if (iVar8 == 0xf) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x287c);\n      goto LAB_00066938;\n    }\n    if (local_2a2 == 0) goto LAB_000662f4;\n    if (PTR_DAT_00131178[0x23df] == '\x01') {\n      iVar8 = FUN_00069990(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }\n    else {\n      iVar8 = FUN_00064ae0(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }\n    if (iVar8 == -1) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2868);\n      (*(code *)PTR_sleep_0013211c)(local_2c0);\n      (*unaff_s7)((int)(char)PTR_DAT_00131178[0x23df]);\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }\n    iVar13 = (*(code *)PTR_FUN_001317c0)();\n    puVar19 = puVar19 + (iVar13 - iVar11);\n    if ((((iVar8 < 0) || (local_29c != local_2f8)) || (local_29e != '\x06')) ||\n       (iVar8 = (*(code *)PTR_memcmp_0013212c)(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)\n       , iVar8 != 0)) goto LAB_000662f4;\n    pcVar14 = (char *)FUN_0006a9b8(auStack_2a0,0x35);\n    uVar9 = local_2b8;\n    if (pcVar14 == (char *)0x0) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2844);\n      goto LAB_000662f4;\n    }\n    iVar8 = (int)(char)PTR_DAT_00131178[0x23de];\n    puVar20 = (undefined1 *)0x0;\n    if (iVar8 != 1) {\n      if (iVar8 < 2) {\n        if ((iVar8 == 0) && (*pcVar14 == '\x02')) {\n          local_2b8 = 0;\n          puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36);\n          if (puVar15 == (uint *)0x0) {\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }\n          else {\n            local_2b8 = *puVar15;\n          }\n          PTR_DAT_00131178[0x23de] = 1;\n          puVar19 = (undefined1 *)0x0;\n          uVar22 = local_290;\n          unaff_s0 = puVar20;\n          puVar21 = puVar20;\n        }\n        goto LAB_000662f4;\n      }\n      if (2 < (iVar8 - 3U & 0xff)) goto LAB_000662f4;\n    }\n    if (*pcVar14 != '\x05') {\n      if ((*pcVar14 == '\x06') &&\n         ((local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)))))) {\n        (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x2778);\n        (*local_2fc)(auStack_2a0,PTR_FUN_001311a4 + -0x276c);\n        if (PTR_DAT_00131178[0x23de] != '\x01') {\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n        }\n        (*unaff_s7)(2);\n        (*(code *)PTR_sleep_0013211c)(3);\n        PTR_DAT_00131178[0x23de] = 0;\n        puVar18 = PTR_bb_common_bufsiz1_0013136c;\n        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n        puVar18[0x24d] = 0;\n        puVar19 = (undefined1 *)0x0;\n        uVar22 = 0;\n        unaff_s0 = puVar20;\n        puVar21 = puVar20;\n      }\n      goto LAB_000662f4;\n    }\n    puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x33);\n    if (puVar15 == (uint *)0x0) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2800);\n      local_2b4 = 0xe10;\n    }\n    else {\n      local_2b4 = *puVar15;\n      if (local_2b4 < 0x7a) {\n        local_2b4 = 0x7a;\n      }\n    }\n    if (((int)(uVar6 << 9) < 0) &&\n       (iVar8 = FUN_0006a564(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7),\n       iVar8 == 0)) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x27d4);\n      FUN_00064864(local_2b8,local_290);\n      if (PTR_DAT_00131178[0x23de] != '\x01') {\n        (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n      }\n      (*unaff_s7)(2);\n      PTR_DAT_00131178[0x23de] = 0;\n      puVar18 = PTR_bb_common_bufsiz1_0013136c;\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      puVar19 = (undefined1 *)0x0;\n      uVar22 = 0;\n      unaff_s0 = (undefined1 *)0x0;\n      puVar21 = local_2c4;\n      goto LAB_000662f4;\n    }\n    uVar10 = (*(code *)PTR_inet_ntoa_00132140)(local_290);\n    uVar9 = local_2b4;\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x279c,uVar10,local_2b4);\n    uVar22 = local_290;\n    iVar8 = (*(code *)PTR_FUN_001317c0)();\n    if (PTR_DAT_00131178[0x23de] == '\x01') {\n      puVar18 = PTR_FUN_001311a4 + -0x2978;\n    }\n    else {\n      puVar18 = PTR_FUN_001311a4 + -0x2884;\n    }\n    (*local_2fc)(auStack_2a0,puVar18);\n    iVar11 = (*(code *)PTR_FUN_001317c0)();\n    puVar19 = (undefined1 *)(iVar11 - iVar8);\n    puVar21 = (undefined1 *)(uVar9 >> 1);\n    if (puVar21 < puVar19) {\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = puVar20;\n    }\n    PTR_DAT_00131178[0x23de] = 2;\n    (*unaff_s7)(0);\n    if ((uVar6 & 0x100) == 0) {\n      if ((int)(uVar6 << 0xc) < 0) {\n        uVar6 = uVar6 & 0xffffffbf;\n      }\n      else {\n        FUN_000643f4();\n        uVar6 = uVar6 & 0xffd7ffbf | 0x80000;\n      }\n      goto LAB_000662f4;\n    }\n  }\nLAB_00066938:\n  uVar6 = uVar6 & 0x200;\n  unaff_s0 = puVar19;\n  if (uVar6 != 0) {\n    FUN_00065bb0(local_2b8,uVar22);\n  }\n  while( true ) {\n    if (*PTR_DAT_00131434 != '\0') {\n      (*(code *)PTR_unlink_001320a8)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));\n    }\nLAB_0006654c:\n    if (local_2c == *(int *)PTR___stack_chk_guard_00132164) {\n      return puVar12;\n    }\n    (*(code *)PTR___stack_chk_fail_001320e4)();\n    if ((int)unaff_s4 < 3) {\n      FUN_00064724(local_2f8,local_2b8);\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = unaff_s4 + 1;\n      puVar21 = local_2c0;\n      goto LAB_000662f4;\n    }\n    (*unaff_s7)(2);\n    PTR_DAT_00131178[0x23de] = 0;\n    (*local_2fc)(0,PTR_FUN_001311a4 + -0x28f4);\n    if ((int)(uVar6 << 10) < 0) break;\n    if ((uVar6 & 0x40) == 0) goto LAB_00066624;\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x28c8);\n    puVar12 = &DAT_00000001;\n  }\n  (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x28e8);\n  FUN_000643f4();\n  uVar6 = uVar6 & 0xffd7ffff | 0x80000;\nLAB_00066624:\n  puVar19 = (undefined1 *)0x0;\n  puVar21 = local_2c4;\n  goto LAB_000662f4;\n}" type_identifier (pointer_declarator "* FUN_00065d80(undefined4 param_1,undefined4 param_2)" * (function_declarator "FUN_00065d80(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) )))) (compound_statement "{\n  byte *pbVar1;\n  byte bVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  uint uVar6;\n  undefined4 uVar7;\n  int iVar8;\n  uint uVar9;\n  undefined4 uVar10;\n  int iVar11;\n  undefined1 *puVar12;\n  int iVar13;\n  char *pcVar14;\n  uint *puVar15;\n  uint uVar16;\n  undefined4 extraout_v1;\n  byte *pbVar17;\n  undefined *puVar18;\n  undefined1 *unaff_s0;\n  undefined1 *puVar19;\n  undefined1 *puVar20;\n  undefined1 *puVar21;\n  undefined4 *unaff_s3;\n  undefined1 *unaff_s4;\n  uint uVar22;\n  code *unaff_s7;\n  code *local_2fc;\n  int local_2f8;\n  undefined *local_2f0;\n  code *local_2ec;\n  undefined *local_2e4;\n  char *local_2e0;\n  undefined4 local_2dc;\n  undefined4 local_2d8;\n  undefined4 local_2d4;\n  undefined *local_2d0;\n  int local_2cc;\n  int local_2c8;\n  undefined *local_2c4;\n  undefined *local_2c0;\n  undefined4 local_2bc;\n  uint local_2b8;\n  uint local_2b4;\n  undefined1 auStack_2b0 [14];\n  short local_2a2;\n  undefined1 auStack_2a0 [2];\n  char local_29e;\n  int local_29c;\n  uint local_290;\n  undefined1 auStack_284 [600];\n  int local_2c;\n  \n  puVar18 = PTR_bb_common_bufsiz1_0013136c;\n  local_2c = *(int *)PTR___stack_chk_guard_00132164;\n  local_2d0 = PTR_FUN_001311a4 + -0x2970;\n  local_2cc = 0;\n  local_2c8 = 0;\n  local_2c4 = (undefined1 *)0x14;\n  local_2c0 = (undefined1 *)0x3;\n  local_2bc = 3;\n  *(undefined **)(PTR_bb_common_bufsiz1_0013136c + 0x22c) = PTR_FUN_001311a4 + -0x6598;\n  *(undefined **)(puVar18 + 0x234) = PTR_FUN_001311a4 + -0x2968;\n  local_2e0 = PTR_FUN_001311a4 + -0x294c;\n  uVar6 = (*(code *)PTR_FUN_00131314)\n                    (param_2,PTR_LAB_0013118c + 0x5970,PTR_DAT_001311dc + -0x227c,&local_2e0,\n                     &local_2dc,&local_2dc,&local_2d8,puVar18 + 0x22c,puVar18 + 0x230,&local_2d4,\n                     puVar18 + 0x234,&local_2c0,&local_2bc,&local_2c4,&local_2cc,&local_2c8,\n                     &local_2d0);\n  if ((uVar6 & 0xc) != 0) {\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x293c);\n    uVar7 = FUN_00064458(0xc,local_2dc,0);\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x244) = uVar7;\n  }\n  if ((uVar6 & 0x10) != 0) {\n    iVar8 = FUN_00064458(0x51,local_2d8,3);\n    *(int *)(PTR_bb_common_bufsiz1_0013136c + 0x248) = iVar8;\n    *(undefined1 *)(iVar8 + 2) = 1;\n  }\n  uVar22 = uVar6 & 0x400;\n  if (uVar22 != 0) {\n    uVar22 = (*(code *)PTR_inet_addr_00131d0c)(local_2d4);\n  }\n  uVar7 = (*(code *)PTR_FUN_001313c8)(local_2d0);\n  puVar5 = PTR_FUN_001317ec;\n  puVar4 = PTR_FUN_00131300;\n  puVar3 = PTR_FUN_00131244;\n  puVar18 = PTR_DAT_001311d8;\n  if (local_2cc != 0) {\n    do {\n      unaff_s0 = (undefined1 *)(*(code *)puVar3)(&local_2cc);\n      uVar9 = (*(code *)puVar4)(unaff_s0,0,0);\n      if ((**(int **)puVar18 != 0) || (uVar16 = uVar9 >> 3, 0xfe < uVar9)) {\n        iVar8 = FUN_0006a8c4(unaff_s0,PTR_DAT_001317d8);\n        uVar9 = (uint)(byte)PTR_DAT_001317dc[iVar8 * 2 + 1];\n        uVar16 = (uint)((byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3);\n      }\n      PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c] =\n           (byte)(1 << (uVar9 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c];\n      unaff_s3 = (undefined4 *)puVar4;\n      unaff_s4 = puVar3;\n      unaff_s7 = (code *)puVar5;\n    } while (local_2cc != 0);\n  }\n  puVar18 = PTR_bb_common_bufsiz1_0013136c;\n  if (-1 < (int)(uVar6 << 0xe)) {\n    bVar2 = PTR_DAT_001317dc[1];\n    pbVar17 = PTR_DAT_001317dc;\n    while (bVar2 != 0) {\n      if ((*pbVar17 & 0x10) != 0) {\n        puVar18[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar18[(bVar2 >> 3) + 0x20c];\n      }\n      pbVar1 = pbVar17 + 3;\n      pbVar17 = pbVar17 + 2;\n      bVar2 = *pbVar1;\n    }\n  }\n  puVar3 = PTR_FUN_001312b8;\n  puVar18 = PTR_FUN_00131244;\n  if (local_2c8 != 0) {\n    unaff_s7 = (code *)(PTR_bb_common_bufsiz1_0013136c + 0x238);\n    do {\n      uVar10 = (*(code *)puVar18)(&local_2c8);\n      unaff_s0 = (undefined1 *)(*(code *)puVar3)(uVar10);\n      FUN_0006b074(unaff_s0,unaff_s7,PTR_DAT_001317dc,PTR_DAT_001317d8);\n      (*(code *)PTR_free_00132180)(unaff_s0);\n      unaff_s3 = (undefined4 *)puVar3;\n      unaff_s4 = puVar18;\n    } while (local_2c8 != 0);\n  }\n  iVar8 = FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                       PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                       PTR_bb_common_bufsiz1_0013136c + 0x200);\n  if (iVar8 != 0) {\n    puVar12 = &DAT_00000001;\n    goto LAB_0006654c;\n  }\n  unaff_s3 = (undefined4 *)0x0;\n  if (((uVar6 & 1) == 0) &&\n     (iVar8 = FUN_0006ace8(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x238),0x3d), iVar8 == 0\n     )) {\n    iVar8 = FUN_00064458(0x3d,PTR_FUN_001311a4 + -0x3208,7);\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    *(int *)(PTR_bb_common_bufsiz1_0013136c + 0x23c) = iVar8;\n    *(undefined1 *)(iVar8 + 2) = 1;\n    iVar8 = *(int *)(puVar18 + 0x23c);\n    unaff_s3 = (undefined4 *)(iVar8 + 3);\n    *unaff_s3 = *(undefined4 *)(puVar18 + 0x200);\n    *(undefined *)(iVar8 + 7) = puVar18[0x204];\n    *(undefined *)(iVar8 + 8) = puVar18[0x205];\n  }\n  if (*local_2e0 != '\0') {\n    uVar10 = FUN_00064458(0x3c,local_2e0,0);\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x240) = uVar10;\n  }\n  if ((uVar6 & 0x4000) != 0) {\n    (*(code *)PTR_openlog_00131d98)(*(undefined4 *)PTR_DAT_001311ac,1,0x18);\n    *PTR_DAT_00131250 = *PTR_DAT_00131250 | 2;\n  }\n  (*(code *)PTR_FUN_001316b8)();\n  (*(code *)PTR_FUN_00131440)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));\n  (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2908);\n  FUN_00069ff0();\n  (*(code *)PTR_FUN_001312bc)();\n  (*(code *)PTR_srand_00131f84)(extraout_v1);\n  PTR_DAT_00131178[0x23de] = 0;\n  FUN_00065590(0,PTR_FUN_001311a4 + -0x2984);\n  FUN_00064d8c(2);\n  puVar19 = (undefined1 *)0x0;\n  local_2f0 = PTR_DAT_00131178;\n  unaff_s7 = (code *)(PTR_LAB_00131738 + 0x4d8c);\n  local_2e4 = PTR_FUN_001311a4;\n  local_2fc = (code *)(PTR_LAB_00131738 + 0x5590);\n  local_2ec = (code *)(PTR_LAB_00131738 + 0x496c);\n  puVar12 = (undefined1 *)0x0;\n  unaff_s0 = puVar12;\n  puVar21 = puVar12;\nLAB_000662f4:\n  puVar20 = puVar21;\n  unaff_s4 = unaff_s0;\n  FUN_0006a0c0(auStack_2b0,*(undefined4 *)(local_2f0 + 0x1004));\n  iVar8 = (int)puVar20 - (int)puVar19;\n  unaff_s0 = unaff_s4;\n  if (iVar8 < 1) {\nLAB_00066418:\n    puVar19 = (undefined1 *)\n              FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                           PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                           PTR_bb_common_bufsiz1_0013136c + 0x200);\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    if (puVar19 == (undefined1 *)0x0) {\n      if (unaff_s3 != (undefined4 *)0x0) {\n        *unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);\n        *(undefined *)(unaff_s3 + 1) = puVar18[0x204];\n        *(undefined *)((int)unaff_s3 + 5) = puVar18[0x205];\n      }\n      if ((byte)PTR_DAT_00131178[0x23de] < 6) {\n                    /* WARNING: Could not recover jumptable at 0x000664a0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))\n                            ();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n  }\n  else {\n    iVar11 = (*(code *)PTR_FUN_001317c0)();\n    if (iVar8 < 0x20c49b) {\n      iVar8 = iVar8 * 1000;\n    }\n    else {\n      iVar8 = 0x7fffffff;\n    }\n    iVar8 = (*(code *)PTR_poll_00132060)(auStack_2b0,2,iVar8);\n    puVar21 = puVar20;\n    if (iVar8 < 0) {\n      if (**(int **)PTR_DAT_001311d8 != 4) {\n        iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x5488);\n        goto LAB_00066410;\n      }\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }\nLAB_00066410:\n    if (iVar8 == 0) goto LAB_00066418;\n    iVar8 = FUN_0006a140();\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    if (iVar8 == 0x10) {\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2894);\n      bVar2 = PTR_DAT_00131178[0x23de];\n      if (bVar2 < 7) {\n                    /* WARNING: Could not recover jumptable at 0x00066854. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = puVar12;\n      puVar21 = puVar12;\n      if (bVar2 == 5) {\n        if ((int)puVar20 < 0x3d) {\n          if (0x3b < (int)puVar20) goto LAB_0006666c;\n        }\n        else {\n          puVar20 = (undefined1 *)0x3c;\nLAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);\n          puVar19 = (undefined1 *)0x0;\n          if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }\n        }\n        PTR_DAT_00131178[0x23de] = 4;\n        (*unaff_s7)(2);\n        if ((int)puVar20 < 1) {\n          (*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4);\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n          PTR_DAT_00131178[0x23de] = 0;\n          puVar18 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar18[0x24d] = 0;\n          puVar19 = (undefined1 *)0x0;\n          puVar21 = puVar20;\n        }\n        else {\n          (*local_2ec)(local_2f8,0);\n          puVar19 = (undefined1 *)0x0;\n          unaff_s0 = unaff_s4;\n          puVar21 = (undefined1 *)((int)puVar20 >> 1);\n        }\n      }\n      goto LAB_000662f4;\n    }\n    if (iVar8 == 0x11) {\n      FUN_00065bb0(local_2b8,uVar22);\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n    if (iVar8 == 0xf) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x287c);\n      goto LAB_00066938;\n    }\n    if (local_2a2 == 0) goto LAB_000662f4;\n    if (PTR_DAT_00131178[0x23df] == '\x01') {\n      iVar8 = FUN_00069990(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }\n    else {\n      iVar8 = FUN_00064ae0(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }\n    if (iVar8 == -1) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2868);\n      (*(code *)PTR_sleep_0013211c)(local_2c0);\n      (*unaff_s7)((int)(char)PTR_DAT_00131178[0x23df]);\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }\n    iVar13 = (*(code *)PTR_FUN_001317c0)();\n    puVar19 = puVar19 + (iVar13 - iVar11);\n    if ((((iVar8 < 0) || (local_29c != local_2f8)) || (local_29e != '\x06')) ||\n       (iVar8 = (*(code *)PTR_memcmp_0013212c)(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)\n       , iVar8 != 0)) goto LAB_000662f4;\n    pcVar14 = (char *)FUN_0006a9b8(auStack_2a0,0x35);\n    uVar9 = local_2b8;\n    if (pcVar14 == (char *)0x0) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2844);\n      goto LAB_000662f4;\n    }\n    iVar8 = (int)(char)PTR_DAT_00131178[0x23de];\n    puVar20 = (undefined1 *)0x0;\n    if (iVar8 != 1) {\n      if (iVar8 < 2) {\n        if ((iVar8 == 0) && (*pcVar14 == '\x02')) {\n          local_2b8 = 0;\n          puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36);\n          if (puVar15 == (uint *)0x0) {\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }\n          else {\n            local_2b8 = *puVar15;\n          }\n          PTR_DAT_00131178[0x23de] = 1;\n          puVar19 = (undefined1 *)0x0;\n          uVar22 = local_290;\n          unaff_s0 = puVar20;\n          puVar21 = puVar20;\n        }\n        goto LAB_000662f4;\n      }\n      if (2 < (iVar8 - 3U & 0xff)) goto LAB_000662f4;\n    }\n    if (*pcVar14 != '\x05') {\n      if ((*pcVar14 == '\x06') &&\n         ((local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)))))) {\n        (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x2778);\n        (*local_2fc)(auStack_2a0,PTR_FUN_001311a4 + -0x276c);\n        if (PTR_DAT_00131178[0x23de] != '\x01') {\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n        }\n        (*unaff_s7)(2);\n        (*(code *)PTR_sleep_0013211c)(3);\n        PTR_DAT_00131178[0x23de] = 0;\n        puVar18 = PTR_bb_common_bufsiz1_0013136c;\n        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n        puVar18[0x24d] = 0;\n        puVar19 = (undefined1 *)0x0;\n        uVar22 = 0;\n        unaff_s0 = puVar20;\n        puVar21 = puVar20;\n      }\n      goto LAB_000662f4;\n    }\n    puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x33);\n    if (puVar15 == (uint *)0x0) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2800);\n      local_2b4 = 0xe10;\n    }\n    else {\n      local_2b4 = *puVar15;\n      if (local_2b4 < 0x7a) {\n        local_2b4 = 0x7a;\n      }\n    }\n    if (((int)(uVar6 << 9) < 0) &&\n       (iVar8 = FUN_0006a564(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7),\n       iVar8 == 0)) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x27d4);\n      FUN_00064864(local_2b8,local_290);\n      if (PTR_DAT_00131178[0x23de] != '\x01') {\n        (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n      }\n      (*unaff_s7)(2);\n      PTR_DAT_00131178[0x23de] = 0;\n      puVar18 = PTR_bb_common_bufsiz1_0013136c;\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      puVar19 = (undefined1 *)0x0;\n      uVar22 = 0;\n      unaff_s0 = (undefined1 *)0x0;\n      puVar21 = local_2c4;\n      goto LAB_000662f4;\n    }\n    uVar10 = (*(code *)PTR_inet_ntoa_00132140)(local_290);\n    uVar9 = local_2b4;\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x279c,uVar10,local_2b4);\n    uVar22 = local_290;\n    iVar8 = (*(code *)PTR_FUN_001317c0)();\n    if (PTR_DAT_00131178[0x23de] == '\x01') {\n      puVar18 = PTR_FUN_001311a4 + -0x2978;\n    }\n    else {\n      puVar18 = PTR_FUN_001311a4 + -0x2884;\n    }\n    (*local_2fc)(auStack_2a0,puVar18);\n    iVar11 = (*(code *)PTR_FUN_001317c0)();\n    puVar19 = (undefined1 *)(iVar11 - iVar8);\n    puVar21 = (undefined1 *)(uVar9 >> 1);\n    if (puVar21 < puVar19) {\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = puVar20;\n    }\n    PTR_DAT_00131178[0x23de] = 2;\n    (*unaff_s7)(0);\n    if ((uVar6 & 0x100) == 0) {\n      if ((int)(uVar6 << 0xc) < 0) {\n        uVar6 = uVar6 & 0xffffffbf;\n      }\n      else {\n        FUN_000643f4();\n        uVar6 = uVar6 & 0xffd7ffbf | 0x80000;\n      }\n      goto LAB_000662f4;\n    }\n  }\nLAB_00066938:\n  uVar6 = uVar6 & 0x200;\n  unaff_s0 = puVar19;\n  if (uVar6 != 0) {\n    FUN_00065bb0(local_2b8,uVar22);\n  }\n  while( true ) {\n    if (*PTR_DAT_00131434 != '\0') {\n      (*(code *)PTR_unlink_001320a8)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));\n    }\nLAB_0006654c:\n    if (local_2c == *(int *)PTR___stack_chk_guard_00132164) {\n      return puVar12;\n    }\n    (*(code *)PTR___stack_chk_fail_001320e4)();\n    if ((int)unaff_s4 < 3) {\n      FUN_00064724(local_2f8,local_2b8);\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = unaff_s4 + 1;\n      puVar21 = local_2c0;\n      goto LAB_000662f4;\n    }\n    (*unaff_s7)(2);\n    PTR_DAT_00131178[0x23de] = 0;\n    (*local_2fc)(0,PTR_FUN_001311a4 + -0x28f4);\n    if ((int)(uVar6 << 10) < 0) break;\n    if ((uVar6 & 0x40) == 0) goto LAB_00066624;\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x28c8);\n    puVar12 = &DAT_00000001;\n  }\n  (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x28e8);\n  FUN_000643f4();\n  uVar6 = uVar6 & 0xffd7ffff | 0x80000;\nLAB_00066624:\n  puVar19 = (undefined1 *)0x0;\n  puVar21 = local_2c4;\n  goto LAB_000662f4;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "undefined1 *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "char *pcVar14;" primitive_type (pointer_declarator "*pcVar14" * identifier) ;) (declaration "uint *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "uint uVar16;" type_identifier identifier ;) (declaration "undefined4 extraout_v1;" type_identifier identifier ;) (declaration "byte *pbVar17;" type_identifier (pointer_declarator "*pbVar17" * identifier) ;) (declaration "undefined *puVar18;" type_identifier (pointer_declarator "*puVar18" * identifier) ;) (declaration "undefined1 *unaff_s0;" type_identifier (pointer_declarator "*unaff_s0" * identifier) ;) (declaration "undefined1 *puVar19;" type_identifier (pointer_declarator "*puVar19" * identifier) ;) (declaration "undefined1 *puVar20;" type_identifier (pointer_declarator "*puVar20" * identifier) ;) (declaration "undefined1 *puVar21;" type_identifier (pointer_declarator "*puVar21" * identifier) ;) (declaration "undefined4 *unaff_s3;" type_identifier (pointer_declarator "*unaff_s3" * identifier) ;) (declaration "undefined1 *unaff_s4;" type_identifier (pointer_declarator "*unaff_s4" * identifier) ;) (declaration "uint uVar22;" type_identifier identifier ;) (declaration "code *unaff_s7;" type_identifier (pointer_declarator "*unaff_s7" * identifier) ;) (declaration "code *local_2fc;" type_identifier (pointer_declarator "*local_2fc" * identifier) ;) (declaration "int local_2f8;" primitive_type identifier ;) (declaration "undefined *local_2f0;" type_identifier (pointer_declarator "*local_2f0" * identifier) ;) (declaration "code *local_2ec;" type_identifier (pointer_declarator "*local_2ec" * identifier) ;) (declaration "undefined *local_2e4;" type_identifier (pointer_declarator "*local_2e4" * identifier) ;) (declaration "char *local_2e0;" primitive_type (pointer_declarator "*local_2e0" * identifier) ;) (declaration "undefined4 local_2dc;" type_identifier identifier ;) (declaration "undefined4 local_2d8;" type_identifier identifier ;) (declaration "undefined4 local_2d4;" type_identifier identifier ;) (declaration "undefined *local_2d0;" type_identifier (pointer_declarator "*local_2d0" * identifier) ;) (declaration "int local_2cc;" primitive_type identifier ;) (declaration "int local_2c8;" primitive_type identifier ;) (declaration "undefined *local_2c4;" type_identifier (pointer_declarator "*local_2c4" * identifier) ;) (declaration "undefined *local_2c0;" type_identifier (pointer_declarator "*local_2c0" * identifier) ;) (declaration "undefined4 local_2bc;" type_identifier identifier ;) (declaration "uint local_2b8;" type_identifier identifier ;) (declaration "uint local_2b4;" type_identifier identifier ;) (declaration "undefined1 auStack_2b0 [14];" type_identifier (array_declarator "auStack_2b0 [14]" identifier [ number_literal ]) ;) (declaration "short local_2a2;" (sized_type_specifier "short" short) identifier ;) (declaration "undefined1 auStack_2a0 [2];" type_identifier (array_declarator "auStack_2a0 [2]" identifier [ number_literal ]) ;) (declaration "char local_29e;" primitive_type identifier ;) (declaration "int local_29c;" primitive_type identifier ;) (declaration "uint local_290;" type_identifier identifier ;) (declaration "undefined1 auStack_284 [600];" type_identifier (array_declarator "auStack_284 [600]" identifier [ number_literal ]) ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar18 = PTR_bb_common_bufsiz1_0013136c;" (assignment_expression "puVar18 = PTR_bb_common_bufsiz1_0013136c" identifier = identifier) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_00132164;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_00132164" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00132164" * (cast_expression "(int *)PTR___stack_chk_guard_00132164" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "local_2d0 = PTR_FUN_001311a4 + -0x2970;" (assignment_expression "local_2d0 = PTR_FUN_001311a4 + -0x2970" identifier = (binary_expression "PTR_FUN_001311a4 + -0x2970" identifier + number_literal)) ;) (expression_statement "local_2cc = 0;" (assignment_expression "local_2cc = 0" identifier = number_literal) ;) (expression_statement "local_2c8 = 0;" (assignment_expression "local_2c8 = 0" identifier = number_literal) ;) (expression_statement "local_2c4 = (undefined1 *)0x14;" (assignment_expression "local_2c4 = (undefined1 *)0x14" identifier = (cast_expression "(undefined1 *)0x14" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_2c0 = (undefined1 *)0x3;" (assignment_expression "local_2c0 = (undefined1 *)0x3" identifier = (cast_expression "(undefined1 *)0x3" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_2bc = 3;" (assignment_expression "local_2bc = 3" identifier = number_literal) ;) (expression_statement "*(undefined **)(PTR_bb_common_bufsiz1_0013136c + 0x22c) = PTR_FUN_001311a4 + -0x6598;" (assignment_expression "*(undefined **)(PTR_bb_common_bufsiz1_0013136c + 0x22c) = PTR_FUN_001311a4 + -0x6598" (pointer_expression "*(undefined **)(PTR_bb_common_bufsiz1_0013136c + 0x22c)" * (cast_expression "(undefined **)(PTR_bb_common_bufsiz1_0013136c + 0x22c)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x22c)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x22c" identifier + number_literal) )))) = (binary_expression "PTR_FUN_001311a4 + -0x6598" identifier + number_literal)) ;) (expression_statement "*(undefined **)(puVar18 + 0x234) = PTR_FUN_001311a4 + -0x2968;" (assignment_expression "*(undefined **)(puVar18 + 0x234) = PTR_FUN_001311a4 + -0x2968" (pointer_expression "*(undefined **)(puVar18 + 0x234)" * (cast_expression "(undefined **)(puVar18 + 0x234)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar18 + 0x234)" ( (binary_expression "puVar18 + 0x234" identifier + number_literal) )))) = (binary_expression "PTR_FUN_001311a4 + -0x2968" identifier + number_literal)) ;) (expression_statement "local_2e0 = PTR_FUN_001311a4 + -0x294c;" (assignment_expression "local_2e0 = PTR_FUN_001311a4 + -0x294c" identifier = (binary_expression "PTR_FUN_001311a4 + -0x294c" identifier + number_literal)) ;) (expression_statement "uVar6 = (*(code *)PTR_FUN_00131314)\n                    (param_2,PTR_LAB_0013118c + 0x5970,PTR_DAT_001311dc + -0x227c,&local_2e0,\n                     &local_2dc,&local_2dc,&local_2d8,puVar18 + 0x22c,puVar18 + 0x230,&local_2d4,\n                     puVar18 + 0x234,&local_2c0,&local_2bc,&local_2c4,&local_2cc,&local_2c8,\n                     &local_2d0);" (assignment_expression "uVar6 = (*(code *)PTR_FUN_00131314)\n                    (param_2,PTR_LAB_0013118c + 0x5970,PTR_DAT_001311dc + -0x227c,&local_2e0,\n                     &local_2dc,&local_2dc,&local_2d8,puVar18 + 0x22c,puVar18 + 0x230,&local_2d4,\n                     puVar18 + 0x234,&local_2c0,&local_2bc,&local_2c4,&local_2cc,&local_2c8,\n                     &local_2d0)" identifier = (call_expression "(*(code *)PTR_FUN_00131314)\n                    (param_2,PTR_LAB_0013118c + 0x5970,PTR_DAT_001311dc + -0x227c,&local_2e0,\n                     &local_2dc,&local_2dc,&local_2d8,puVar18 + 0x22c,puVar18 + 0x230,&local_2d4,\n                     puVar18 + 0x234,&local_2c0,&local_2bc,&local_2c4,&local_2cc,&local_2c8,\n                     &local_2d0)" (parenthesized_expression "(*(code *)PTR_FUN_00131314)" ( (pointer_expression "*(code *)PTR_FUN_00131314" * (cast_expression "(code *)PTR_FUN_00131314" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,PTR_LAB_0013118c + 0x5970,PTR_DAT_001311dc + -0x227c,&local_2e0,\n                     &local_2dc,&local_2dc,&local_2d8,puVar18 + 0x22c,puVar18 + 0x230,&local_2d4,\n                     puVar18 + 0x234,&local_2c0,&local_2bc,&local_2c4,&local_2cc,&local_2c8,\n                     &local_2d0)" ( identifier , (binary_expression "PTR_LAB_0013118c + 0x5970" identifier + number_literal) , (binary_expression "PTR_DAT_001311dc + -0x227c" identifier + number_literal) , (pointer_expression "&local_2e0" & identifier) , (pointer_expression "&local_2dc" & identifier) , (pointer_expression "&local_2dc" & identifier) , (pointer_expression "&local_2d8" & identifier) , (binary_expression "puVar18 + 0x22c" identifier + number_literal) , (binary_expression "puVar18 + 0x230" identifier + number_literal) , (pointer_expression "&local_2d4" & identifier) , (binary_expression "puVar18 + 0x234" identifier + number_literal) , (pointer_expression "&local_2c0" & identifier) , (pointer_expression "&local_2bc" & identifier) , (pointer_expression "&local_2c4" & identifier) , (pointer_expression "&local_2cc" & identifier) , (pointer_expression "&local_2c8" & identifier) , (pointer_expression "&local_2d0" & identifier) )))) ;) (if_statement "if ((uVar6 & 0xc) != 0) {\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x293c);\n    uVar7 = FUN_00064458(0xc,local_2dc,0);\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x244) = uVar7;\n  }" if (parenthesized_expression "((uVar6 & 0xc) != 0)" ( (binary_expression "(uVar6 & 0xc) != 0" (parenthesized_expression "(uVar6 & 0xc)" ( (binary_expression "uVar6 & 0xc" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x293c);\n    uVar7 = FUN_00064458(0xc,local_2dc,0);\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x244) = uVar7;\n  }" { (expression_statement "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x293c);" (call_expression "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x293c)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" ( (pointer_expression "*(code *)PTR_FUN_001311d0" * (cast_expression "(code *)PTR_FUN_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_FUN_001311a4 + -0x293c)" ( (binary_expression "PTR_FUN_001311a4 + -0x293c" identifier + number_literal) ))) ;) (expression_statement "uVar7 = FUN_00064458(0xc,local_2dc,0);" (assignment_expression "uVar7 = FUN_00064458(0xc,local_2dc,0)" identifier = (call_expression "FUN_00064458(0xc,local_2dc,0)" identifier (argument_list "(0xc,local_2dc,0)" ( number_literal , identifier , number_literal )))) ;) (expression_statement "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x244) = uVar7;" (assignment_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x244) = uVar7" (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x244)" * (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x244)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x244)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x244" identifier + number_literal) )))) = identifier) ;) })) (if_statement "if ((uVar6 & 0x10) != 0) {\n    iVar8 = FUN_00064458(0x51,local_2d8,3);\n    *(int *)(PTR_bb_common_bufsiz1_0013136c + 0x248) = iVar8;\n    *(undefined1 *)(iVar8 + 2) = 1;\n  }" if (parenthesized_expression "((uVar6 & 0x10) != 0)" ( (binary_expression "(uVar6 & 0x10) != 0" (parenthesized_expression "(uVar6 & 0x10)" ( (binary_expression "uVar6 & 0x10" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    iVar8 = FUN_00064458(0x51,local_2d8,3);\n    *(int *)(PTR_bb_common_bufsiz1_0013136c + 0x248) = iVar8;\n    *(undefined1 *)(iVar8 + 2) = 1;\n  }" { (expression_statement "iVar8 = FUN_00064458(0x51,local_2d8,3);" (assignment_expression "iVar8 = FUN_00064458(0x51,local_2d8,3)" identifier = (call_expression "FUN_00064458(0x51,local_2d8,3)" identifier (argument_list "(0x51,local_2d8,3)" ( number_literal , identifier , number_literal )))) ;) (expression_statement "*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x248) = iVar8;" (assignment_expression "*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x248) = iVar8" (pointer_expression "*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x248)" * (cast_expression "(int *)(PTR_bb_common_bufsiz1_0013136c + 0x248)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x248)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x248" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 *)(iVar8 + 2) = 1;" (assignment_expression "*(undefined1 *)(iVar8 + 2) = 1" (pointer_expression "*(undefined1 *)(iVar8 + 2)" * (cast_expression "(undefined1 *)(iVar8 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 2)" ( (binary_expression "iVar8 + 2" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "uVar22 = uVar6 & 0x400;" (assignment_expression "uVar22 = uVar6 & 0x400" identifier = (binary_expression "uVar6 & 0x400" identifier & number_literal)) ;) (if_statement "if (uVar22 != 0) {\n    uVar22 = (*(code *)PTR_inet_addr_00131d0c)(local_2d4);\n  }" if (parenthesized_expression "(uVar22 != 0)" ( (binary_expression "uVar22 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar22 = (*(code *)PTR_inet_addr_00131d0c)(local_2d4);\n  }" { (expression_statement "uVar22 = (*(code *)PTR_inet_addr_00131d0c)(local_2d4);" (assignment_expression "uVar22 = (*(code *)PTR_inet_addr_00131d0c)(local_2d4)" identifier = (call_expression "(*(code *)PTR_inet_addr_00131d0c)(local_2d4)" (parenthesized_expression "(*(code *)PTR_inet_addr_00131d0c)" ( (pointer_expression "*(code *)PTR_inet_addr_00131d0c" * (cast_expression "(code *)PTR_inet_addr_00131d0c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_2d4)" ( identifier )))) ;) })) (expression_statement "uVar7 = (*(code *)PTR_FUN_001313c8)(local_2d0);" (assignment_expression "uVar7 = (*(code *)PTR_FUN_001313c8)(local_2d0)" identifier = (call_expression "(*(code *)PTR_FUN_001313c8)(local_2d0)" (parenthesized_expression "(*(code *)PTR_FUN_001313c8)" ( (pointer_expression "*(code *)PTR_FUN_001313c8" * (cast_expression "(code *)PTR_FUN_001313c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_2d0)" ( identifier )))) ;) (expression_statement "puVar5 = PTR_FUN_001317ec;" (assignment_expression "puVar5 = PTR_FUN_001317ec" identifier = identifier) ;) (expression_statement "puVar4 = PTR_FUN_00131300;" (assignment_expression "puVar4 = PTR_FUN_00131300" identifier = identifier) ;) (expression_statement "puVar3 = PTR_FUN_00131244;" (assignment_expression "puVar3 = PTR_FUN_00131244" identifier = identifier) ;) (expression_statement "puVar18 = PTR_DAT_001311d8;" (assignment_expression "puVar18 = PTR_DAT_001311d8" identifier = identifier) ;) (if_statement "if (local_2cc != 0) {\n    do {\n      unaff_s0 = (undefined1 *)(*(code *)puVar3)(&local_2cc);\n      uVar9 = (*(code *)puVar4)(unaff_s0,0,0);\n      if ((**(int **)puVar18 != 0) || (uVar16 = uVar9 >> 3, 0xfe < uVar9)) {\n        iVar8 = FUN_0006a8c4(unaff_s0,PTR_DAT_001317d8);\n        uVar9 = (uint)(byte)PTR_DAT_001317dc[iVar8 * 2 + 1];\n        uVar16 = (uint)((byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3);\n      }\n      PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c] =\n           (byte)(1 << (uVar9 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c];\n      unaff_s3 = (undefined4 *)puVar4;\n      unaff_s4 = puVar3;\n      unaff_s7 = (code *)puVar5;\n    } while (local_2cc != 0);\n  }" if (parenthesized_expression "(local_2cc != 0)" ( (binary_expression "local_2cc != 0" identifier != number_literal) )) (compound_statement "{\n    do {\n      unaff_s0 = (undefined1 *)(*(code *)puVar3)(&local_2cc);\n      uVar9 = (*(code *)puVar4)(unaff_s0,0,0);\n      if ((**(int **)puVar18 != 0) || (uVar16 = uVar9 >> 3, 0xfe < uVar9)) {\n        iVar8 = FUN_0006a8c4(unaff_s0,PTR_DAT_001317d8);\n        uVar9 = (uint)(byte)PTR_DAT_001317dc[iVar8 * 2 + 1];\n        uVar16 = (uint)((byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3);\n      }\n      PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c] =\n           (byte)(1 << (uVar9 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c];\n      unaff_s3 = (undefined4 *)puVar4;\n      unaff_s4 = puVar3;\n      unaff_s7 = (code *)puVar5;\n    } while (local_2cc != 0);\n  }" { (do_statement "do {\n      unaff_s0 = (undefined1 *)(*(code *)puVar3)(&local_2cc);\n      uVar9 = (*(code *)puVar4)(unaff_s0,0,0);\n      if ((**(int **)puVar18 != 0) || (uVar16 = uVar9 >> 3, 0xfe < uVar9)) {\n        iVar8 = FUN_0006a8c4(unaff_s0,PTR_DAT_001317d8);\n        uVar9 = (uint)(byte)PTR_DAT_001317dc[iVar8 * 2 + 1];\n        uVar16 = (uint)((byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3);\n      }\n      PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c] =\n           (byte)(1 << (uVar9 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c];\n      unaff_s3 = (undefined4 *)puVar4;\n      unaff_s4 = puVar3;\n      unaff_s7 = (code *)puVar5;\n    } while (local_2cc != 0);" do (compound_statement "{\n      unaff_s0 = (undefined1 *)(*(code *)puVar3)(&local_2cc);\n      uVar9 = (*(code *)puVar4)(unaff_s0,0,0);\n      if ((**(int **)puVar18 != 0) || (uVar16 = uVar9 >> 3, 0xfe < uVar9)) {\n        iVar8 = FUN_0006a8c4(unaff_s0,PTR_DAT_001317d8);\n        uVar9 = (uint)(byte)PTR_DAT_001317dc[iVar8 * 2 + 1];\n        uVar16 = (uint)((byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3);\n      }\n      PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c] =\n           (byte)(1 << (uVar9 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c];\n      unaff_s3 = (undefined4 *)puVar4;\n      unaff_s4 = puVar3;\n      unaff_s7 = (code *)puVar5;\n    }" { (expression_statement "unaff_s0 = (undefined1 *)(*(code *)puVar3)(&local_2cc);" (assignment_expression "unaff_s0 = (undefined1 *)(*(code *)puVar3)(&local_2cc)" identifier = (cast_expression "(undefined1 *)(*(code *)puVar3)(&local_2cc)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar3)(&local_2cc)" (parenthesized_expression "(*(code *)puVar3)" ( (pointer_expression "*(code *)puVar3" * (cast_expression "(code *)puVar3" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_2cc)" ( (pointer_expression "&local_2cc" & identifier) ))))) ;) (expression_statement "uVar9 = (*(code *)puVar4)(unaff_s0,0,0);" (assignment_expression "uVar9 = (*(code *)puVar4)(unaff_s0,0,0)" identifier = (call_expression "(*(code *)puVar4)(unaff_s0,0,0)" (parenthesized_expression "(*(code *)puVar4)" ( (pointer_expression "*(code *)puVar4" * (cast_expression "(code *)puVar4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,0,0)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if ((**(int **)puVar18 != 0) || (uVar16 = uVar9 >> 3, 0xfe < uVar9)) {\n        iVar8 = FUN_0006a8c4(unaff_s0,PTR_DAT_001317d8);\n        uVar9 = (uint)(byte)PTR_DAT_001317dc[iVar8 * 2 + 1];\n        uVar16 = (uint)((byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3);\n      }" if (parenthesized_expression "((**(int **)puVar18 != 0) || (uVar16 = uVar9 >> 3, 0xfe < uVar9))" ( (binary_expression "(**(int **)puVar18 != 0) || (uVar16 = uVar9 >> 3, 0xfe < uVar9)" (parenthesized_expression "(**(int **)puVar18 != 0)" ( (binary_expression "**(int **)puVar18 != 0" (pointer_expression "**(int **)puVar18" * (pointer_expression "*(int **)puVar18" * (cast_expression "(int **)puVar18" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) != number_literal) )) || (parenthesized_expression "(uVar16 = uVar9 >> 3, 0xfe < uVar9)" ( (comma_expression "uVar16 = uVar9 >> 3, 0xfe < uVar9" (assignment_expression "uVar16 = uVar9 >> 3" identifier = (binary_expression "uVar9 >> 3" identifier >> number_literal)) , (binary_expression "0xfe < uVar9" number_literal < identifier)) ))) )) (compound_statement "{\n        iVar8 = FUN_0006a8c4(unaff_s0,PTR_DAT_001317d8);\n        uVar9 = (uint)(byte)PTR_DAT_001317dc[iVar8 * 2 + 1];\n        uVar16 = (uint)((byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3);\n      }" { (expression_statement "iVar8 = FUN_0006a8c4(unaff_s0,PTR_DAT_001317d8);" (assignment_expression "iVar8 = FUN_0006a8c4(unaff_s0,PTR_DAT_001317d8)" identifier = (call_expression "FUN_0006a8c4(unaff_s0,PTR_DAT_001317d8)" identifier (argument_list "(unaff_s0,PTR_DAT_001317d8)" ( identifier , identifier )))) ;) (expression_statement "uVar9 = (uint)(byte)PTR_DAT_001317dc[iVar8 * 2 + 1];" (assignment_expression "uVar9 = (uint)(byte)PTR_DAT_001317dc[iVar8 * 2 + 1]" identifier = (cast_expression "(uint)(byte)PTR_DAT_001317dc[iVar8 * 2 + 1]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)PTR_DAT_001317dc[iVar8 * 2 + 1]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR_DAT_001317dc[iVar8 * 2 + 1]" identifier [ (binary_expression "iVar8 * 2 + 1" (binary_expression "iVar8 * 2" identifier * number_literal) + number_literal) ])))) ;) (expression_statement "uVar16 = (uint)((byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3);" (assignment_expression "uVar16 = (uint)((byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3)" identifier = (call_expression "(uint)((byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3)" ( (binary_expression "(byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3" (cast_expression "(byte)PTR_DAT_001317dc[iVar8 * 2 + 1]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR_DAT_001317dc[iVar8 * 2 + 1]" identifier [ (binary_expression "iVar8 * 2 + 1" (binary_expression "iVar8 * 2" identifier * number_literal) + number_literal) ])) >> number_literal) )))) ;) })) (expression_statement "PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c] =\n           (byte)(1 << (uVar9 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c];" (assignment_expression "PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c] =\n           (byte)(1 << (uVar9 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c]" (subscript_expression "PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c]" identifier [ (binary_expression "uVar16 + 0x20c" identifier + number_literal) ]) = (binary_expression "(byte)(1 << (uVar9 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c]" (call_expression "(byte)(1 << (uVar9 & 7))" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(1 << (uVar9 & 7))" ( (binary_expression "1 << (uVar9 & 7)" number_literal << (parenthesized_expression "(uVar9 & 7)" ( (binary_expression "uVar9 & 7" identifier & number_literal) ))) ))) | (subscript_expression "PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c]" identifier [ (binary_expression "uVar16 + 0x20c" identifier + number_literal) ]))) ;) (expression_statement "unaff_s3 = (undefined4 *)puVar4;" (assignment_expression "unaff_s3 = (undefined4 *)puVar4" identifier = (cast_expression "(undefined4 *)puVar4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "unaff_s4 = puVar3;" (assignment_expression "unaff_s4 = puVar3" identifier = identifier) ;) (expression_statement "unaff_s7 = (code *)puVar5;" (assignment_expression "unaff_s7 = (code *)puVar5" identifier = (cast_expression "(code *)puVar5" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }) while (parenthesized_expression "(local_2cc != 0)" ( (binary_expression "local_2cc != 0" identifier != number_literal) )) ;) })) (expression_statement "puVar18 = PTR_bb_common_bufsiz1_0013136c;" (assignment_expression "puVar18 = PTR_bb_common_bufsiz1_0013136c" identifier = identifier) ;) (if_statement "if (-1 < (int)(uVar6 << 0xe)) {\n    bVar2 = PTR_DAT_001317dc[1];\n    pbVar17 = PTR_DAT_001317dc;\n    while (bVar2 != 0) {\n      if ((*pbVar17 & 0x10) != 0) {\n        puVar18[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar18[(bVar2 >> 3) + 0x20c];\n      }\n      pbVar1 = pbVar17 + 3;\n      pbVar17 = pbVar17 + 2;\n      bVar2 = *pbVar1;\n    }\n  }" if (parenthesized_expression "(-1 < (int)(uVar6 << 0xe))" ( (binary_expression "-1 < (int)(uVar6 << 0xe)" number_literal < (cast_expression "(int)(uVar6 << 0xe)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar6 << 0xe)" ( (binary_expression "uVar6 << 0xe" identifier << number_literal) )))) )) (compound_statement "{\n    bVar2 = PTR_DAT_001317dc[1];\n    pbVar17 = PTR_DAT_001317dc;\n    while (bVar2 != 0) {\n      if ((*pbVar17 & 0x10) != 0) {\n        puVar18[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar18[(bVar2 >> 3) + 0x20c];\n      }\n      pbVar1 = pbVar17 + 3;\n      pbVar17 = pbVar17 + 2;\n      bVar2 = *pbVar1;\n    }\n  }" { (expression_statement "bVar2 = PTR_DAT_001317dc[1];" (assignment_expression "bVar2 = PTR_DAT_001317dc[1]" identifier = (subscript_expression "PTR_DAT_001317dc[1]" identifier [ number_literal ])) ;) (expression_statement "pbVar17 = PTR_DAT_001317dc;" (assignment_expression "pbVar17 = PTR_DAT_001317dc" identifier = identifier) ;) (while_statement "while (bVar2 != 0) {\n      if ((*pbVar17 & 0x10) != 0) {\n        puVar18[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar18[(bVar2 >> 3) + 0x20c];\n      }\n      pbVar1 = pbVar17 + 3;\n      pbVar17 = pbVar17 + 2;\n      bVar2 = *pbVar1;\n    }" while (parenthesized_expression "(bVar2 != 0)" ( (binary_expression "bVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      if ((*pbVar17 & 0x10) != 0) {\n        puVar18[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar18[(bVar2 >> 3) + 0x20c];\n      }\n      pbVar1 = pbVar17 + 3;\n      pbVar17 = pbVar17 + 2;\n      bVar2 = *pbVar1;\n    }" { (if_statement "if ((*pbVar17 & 0x10) != 0) {\n        puVar18[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar18[(bVar2 >> 3) + 0x20c];\n      }" if (parenthesized_expression "((*pbVar17 & 0x10) != 0)" ( (binary_expression "(*pbVar17 & 0x10) != 0" (parenthesized_expression "(*pbVar17 & 0x10)" ( (binary_expression "*pbVar17 & 0x10" (pointer_expression "*pbVar17" * identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n        puVar18[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar18[(bVar2 >> 3) + 0x20c];\n      }" { (expression_statement "puVar18[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar18[(bVar2 >> 3) + 0x20c];" (assignment_expression "puVar18[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar18[(bVar2 >> 3) + 0x20c]" (subscript_expression "puVar18[(bVar2 >> 3) + 0x20c]" identifier [ (binary_expression "(bVar2 >> 3) + 0x20c" (parenthesized_expression "(bVar2 >> 3)" ( (binary_expression "bVar2 >> 3" identifier >> number_literal) )) + number_literal) ]) = (binary_expression "(byte)(1 << (bVar2 & 7)) | puVar18[(bVar2 >> 3) + 0x20c]" (call_expression "(byte)(1 << (bVar2 & 7))" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(1 << (bVar2 & 7))" ( (binary_expression "1 << (bVar2 & 7)" number_literal << (parenthesized_expression "(bVar2 & 7)" ( (binary_expression "bVar2 & 7" identifier & number_literal) ))) ))) | (subscript_expression "puVar18[(bVar2 >> 3) + 0x20c]" identifier [ (binary_expression "(bVar2 >> 3) + 0x20c" (parenthesized_expression "(bVar2 >> 3)" ( (binary_expression "bVar2 >> 3" identifier >> number_literal) )) + number_literal) ]))) ;) })) (expression_statement "pbVar1 = pbVar17 + 3;" (assignment_expression "pbVar1 = pbVar17 + 3" identifier = (binary_expression "pbVar17 + 3" identifier + number_literal)) ;) (expression_statement "pbVar17 = pbVar17 + 2;" (assignment_expression "pbVar17 = pbVar17 + 2" identifier = (binary_expression "pbVar17 + 2" identifier + number_literal)) ;) (expression_statement "bVar2 = *pbVar1;" (assignment_expression "bVar2 = *pbVar1" identifier = (pointer_expression "*pbVar1" * identifier)) ;) })) })) (expression_statement "puVar3 = PTR_FUN_001312b8;" (assignment_expression "puVar3 = PTR_FUN_001312b8" identifier = identifier) ;) (expression_statement "puVar18 = PTR_FUN_00131244;" (assignment_expression "puVar18 = PTR_FUN_00131244" identifier = identifier) ;) (if_statement "if (local_2c8 != 0) {\n    unaff_s7 = (code *)(PTR_bb_common_bufsiz1_0013136c + 0x238);\n    do {\n      uVar10 = (*(code *)puVar18)(&local_2c8);\n      unaff_s0 = (undefined1 *)(*(code *)puVar3)(uVar10);\n      FUN_0006b074(unaff_s0,unaff_s7,PTR_DAT_001317dc,PTR_DAT_001317d8);\n      (*(code *)PTR_free_00132180)(unaff_s0);\n      unaff_s3 = (undefined4 *)puVar3;\n      unaff_s4 = puVar18;\n    } while (local_2c8 != 0);\n  }" if (parenthesized_expression "(local_2c8 != 0)" ( (binary_expression "local_2c8 != 0" identifier != number_literal) )) (compound_statement "{\n    unaff_s7 = (code *)(PTR_bb_common_bufsiz1_0013136c + 0x238);\n    do {\n      uVar10 = (*(code *)puVar18)(&local_2c8);\n      unaff_s0 = (undefined1 *)(*(code *)puVar3)(uVar10);\n      FUN_0006b074(unaff_s0,unaff_s7,PTR_DAT_001317dc,PTR_DAT_001317d8);\n      (*(code *)PTR_free_00132180)(unaff_s0);\n      unaff_s3 = (undefined4 *)puVar3;\n      unaff_s4 = puVar18;\n    } while (local_2c8 != 0);\n  }" { (expression_statement "unaff_s7 = (code *)(PTR_bb_common_bufsiz1_0013136c + 0x238);" (assignment_expression "unaff_s7 = (code *)(PTR_bb_common_bufsiz1_0013136c + 0x238)" identifier = (cast_expression "(code *)(PTR_bb_common_bufsiz1_0013136c + 0x238)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x238)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x238" identifier + number_literal) )))) ;) (do_statement "do {\n      uVar10 = (*(code *)puVar18)(&local_2c8);\n      unaff_s0 = (undefined1 *)(*(code *)puVar3)(uVar10);\n      FUN_0006b074(unaff_s0,unaff_s7,PTR_DAT_001317dc,PTR_DAT_001317d8);\n      (*(code *)PTR_free_00132180)(unaff_s0);\n      unaff_s3 = (undefined4 *)puVar3;\n      unaff_s4 = puVar18;\n    } while (local_2c8 != 0);" do (compound_statement "{\n      uVar10 = (*(code *)puVar18)(&local_2c8);\n      unaff_s0 = (undefined1 *)(*(code *)puVar3)(uVar10);\n      FUN_0006b074(unaff_s0,unaff_s7,PTR_DAT_001317dc,PTR_DAT_001317d8);\n      (*(code *)PTR_free_00132180)(unaff_s0);\n      unaff_s3 = (undefined4 *)puVar3;\n      unaff_s4 = puVar18;\n    }" { (expression_statement "uVar10 = (*(code *)puVar18)(&local_2c8);" (assignment_expression "uVar10 = (*(code *)puVar18)(&local_2c8)" identifier = (call_expression "(*(code *)puVar18)(&local_2c8)" (parenthesized_expression "(*(code *)puVar18)" ( (pointer_expression "*(code *)puVar18" * (cast_expression "(code *)puVar18" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_2c8)" ( (pointer_expression "&local_2c8" & identifier) )))) ;) (expression_statement "unaff_s0 = (undefined1 *)(*(code *)puVar3)(uVar10);" (assignment_expression "unaff_s0 = (undefined1 *)(*(code *)puVar3)(uVar10)" identifier = (cast_expression "(undefined1 *)(*(code *)puVar3)(uVar10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar3)(uVar10)" (parenthesized_expression "(*(code *)puVar3)" ( (pointer_expression "*(code *)puVar3" * (cast_expression "(code *)puVar3" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar10)" ( identifier ))))) ;) (expression_statement "FUN_0006b074(unaff_s0,unaff_s7,PTR_DAT_001317dc,PTR_DAT_001317d8);" (call_expression "FUN_0006b074(unaff_s0,unaff_s7,PTR_DAT_001317dc,PTR_DAT_001317d8)" identifier (argument_list "(unaff_s0,unaff_s7,PTR_DAT_001317dc,PTR_DAT_001317d8)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_free_00132180)(unaff_s0);" (call_expression "(*(code *)PTR_free_00132180)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_free_00132180)" ( (pointer_expression "*(code *)PTR_free_00132180" * (cast_expression "(code *)PTR_free_00132180" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))) ;) (expression_statement "unaff_s3 = (undefined4 *)puVar3;" (assignment_expression "unaff_s3 = (undefined4 *)puVar3" identifier = (cast_expression "(undefined4 *)puVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "unaff_s4 = puVar18;" (assignment_expression "unaff_s4 = puVar18" identifier = identifier) ;) }) while (parenthesized_expression "(local_2c8 != 0)" ( (binary_expression "local_2c8 != 0" identifier != number_literal) )) ;) })) (expression_statement "iVar8 = FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                       PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                       PTR_bb_common_bufsiz1_0013136c + 0x200);" (assignment_expression "iVar8 = FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                       PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                       PTR_bb_common_bufsiz1_0013136c + 0x200)" identifier = (call_expression "FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                       PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                       PTR_bb_common_bufsiz1_0013136c + 0x200)" identifier (argument_list "(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                       PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                       PTR_bb_common_bufsiz1_0013136c + 0x200)" ( (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c)" * (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x22c)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x22c" identifier + number_literal) )))) , (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x208" identifier + number_literal) , number_literal , (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x200" identifier + number_literal) )))) ;) (if_statement "if (iVar8 != 0) {\n    puVar12 = &DAT_00000001;\n    goto LAB_0006654c;\n  }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar12 = &DAT_00000001;\n    goto LAB_0006654c;\n  }" { (expression_statement "puVar12 = &DAT_00000001;" (assignment_expression "puVar12 = &DAT_00000001" identifier = (pointer_expression "&DAT_00000001" & identifier)) ;) (goto_statement "goto LAB_0006654c;" goto statement_identifier ;) })) (expression_statement "unaff_s3 = (undefined4 *)0x0;" (assignment_expression "unaff_s3 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (((uVar6 & 1) == 0) &&\n     (iVar8 = FUN_0006ace8(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x238),0x3d), iVar8 == 0\n     )) {\n    iVar8 = FUN_00064458(0x3d,PTR_FUN_001311a4 + -0x3208,7);\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    *(int *)(PTR_bb_common_bufsiz1_0013136c + 0x23c) = iVar8;\n    *(undefined1 *)(iVar8 + 2) = 1;\n    iVar8 = *(int *)(puVar18 + 0x23c);\n    unaff_s3 = (undefined4 *)(iVar8 + 3);\n    *unaff_s3 = *(undefined4 *)(puVar18 + 0x200);\n    *(undefined *)(iVar8 + 7) = puVar18[0x204];\n    *(undefined *)(iVar8 + 8) = puVar18[0x205];\n  }" if (parenthesized_expression "(((uVar6 & 1) == 0) &&\n     (iVar8 = FUN_0006ace8(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x238),0x3d), iVar8 == 0\n     ))" ( (binary_expression "((uVar6 & 1) == 0) &&\n     (iVar8 = FUN_0006ace8(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x238),0x3d), iVar8 == 0\n     )" (parenthesized_expression "((uVar6 & 1) == 0)" ( (binary_expression "(uVar6 & 1) == 0" (parenthesized_expression "(uVar6 & 1)" ( (binary_expression "uVar6 & 1" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "(iVar8 = FUN_0006ace8(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x238),0x3d), iVar8 == 0\n     )" ( (comma_expression "iVar8 = FUN_0006ace8(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x238),0x3d), iVar8 == 0" (assignment_expression "iVar8 = FUN_0006ace8(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x238),0x3d)" identifier = (call_expression "FUN_0006ace8(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x238),0x3d)" identifier (argument_list "(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x238),0x3d)" ( (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x238)" * (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x238)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x238)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x238" identifier + number_literal) )))) , number_literal )))) , (binary_expression "iVar8 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    iVar8 = FUN_00064458(0x3d,PTR_FUN_001311a4 + -0x3208,7);\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    *(int *)(PTR_bb_common_bufsiz1_0013136c + 0x23c) = iVar8;\n    *(undefined1 *)(iVar8 + 2) = 1;\n    iVar8 = *(int *)(puVar18 + 0x23c);\n    unaff_s3 = (undefined4 *)(iVar8 + 3);\n    *unaff_s3 = *(undefined4 *)(puVar18 + 0x200);\n    *(undefined *)(iVar8 + 7) = puVar18[0x204];\n    *(undefined *)(iVar8 + 8) = puVar18[0x205];\n  }" { (expression_statement "iVar8 = FUN_00064458(0x3d,PTR_FUN_001311a4 + -0x3208,7);" (assignment_expression "iVar8 = FUN_00064458(0x3d,PTR_FUN_001311a4 + -0x3208,7)" identifier = (call_expression "FUN_00064458(0x3d,PTR_FUN_001311a4 + -0x3208,7)" identifier (argument_list "(0x3d,PTR_FUN_001311a4 + -0x3208,7)" ( number_literal , (binary_expression "PTR_FUN_001311a4 + -0x3208" identifier + number_literal) , number_literal )))) ;) (expression_statement "puVar18 = PTR_bb_common_bufsiz1_0013136c;" (assignment_expression "puVar18 = PTR_bb_common_bufsiz1_0013136c" identifier = identifier) ;) (expression_statement "*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x23c) = iVar8;" (assignment_expression "*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x23c) = iVar8" (pointer_expression "*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x23c)" * (cast_expression "(int *)(PTR_bb_common_bufsiz1_0013136c + 0x23c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x23c)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x23c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 *)(iVar8 + 2) = 1;" (assignment_expression "*(undefined1 *)(iVar8 + 2) = 1" (pointer_expression "*(undefined1 *)(iVar8 + 2)" * (cast_expression "(undefined1 *)(iVar8 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 2)" ( (binary_expression "iVar8 + 2" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar8 = *(int *)(puVar18 + 0x23c);" (assignment_expression "iVar8 = *(int *)(puVar18 + 0x23c)" identifier = (pointer_expression "*(int *)(puVar18 + 0x23c)" * (cast_expression "(int *)(puVar18 + 0x23c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0x23c)" ( (binary_expression "puVar18 + 0x23c" identifier + number_literal) ))))) ;) (expression_statement "unaff_s3 = (undefined4 *)(iVar8 + 3);" (assignment_expression "unaff_s3 = (undefined4 *)(iVar8 + 3)" identifier = (cast_expression "(undefined4 *)(iVar8 + 3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 3)" ( (binary_expression "iVar8 + 3" identifier + number_literal) )))) ;) (expression_statement "*unaff_s3 = *(undefined4 *)(puVar18 + 0x200);" (assignment_expression "*unaff_s3 = *(undefined4 *)(puVar18 + 0x200)" (pointer_expression "*unaff_s3" * identifier) = (pointer_expression "*(undefined4 *)(puVar18 + 0x200)" * (cast_expression "(undefined4 *)(puVar18 + 0x200)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0x200)" ( (binary_expression "puVar18 + 0x200" identifier + number_literal) ))))) ;) (expression_statement "*(undefined *)(iVar8 + 7) = puVar18[0x204];" (assignment_expression "*(undefined *)(iVar8 + 7) = puVar18[0x204]" (pointer_expression "*(undefined *)(iVar8 + 7)" * (cast_expression "(undefined *)(iVar8 + 7)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 7)" ( (binary_expression "iVar8 + 7" identifier + number_literal) )))) = (subscript_expression "puVar18[0x204]" identifier [ number_literal ])) ;) (expression_statement "*(undefined *)(iVar8 + 8) = puVar18[0x205];" (assignment_expression "*(undefined *)(iVar8 + 8) = puVar18[0x205]" (pointer_expression "*(undefined *)(iVar8 + 8)" * (cast_expression "(undefined *)(iVar8 + 8)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 8)" ( (binary_expression "iVar8 + 8" identifier + number_literal) )))) = (subscript_expression "puVar18[0x205]" identifier [ number_literal ])) ;) })) (if_statement "if (*local_2e0 != '\0') {\n    uVar10 = FUN_00064458(0x3c,local_2e0,0);\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x240) = uVar10;\n  }" if (parenthesized_expression "(*local_2e0 != '\0')" ( (binary_expression "*local_2e0 != '\0'" (pointer_expression "*local_2e0" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    uVar10 = FUN_00064458(0x3c,local_2e0,0);\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x240) = uVar10;\n  }" { (expression_statement "uVar10 = FUN_00064458(0x3c,local_2e0,0);" (assignment_expression "uVar10 = FUN_00064458(0x3c,local_2e0,0)" identifier = (call_expression "FUN_00064458(0x3c,local_2e0,0)" identifier (argument_list "(0x3c,local_2e0,0)" ( number_literal , identifier , number_literal )))) ;) (expression_statement "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x240) = uVar10;" (assignment_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x240) = uVar10" (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x240)" * (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x240)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x240)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x240" identifier + number_literal) )))) = identifier) ;) })) (if_statement "if ((uVar6 & 0x4000) != 0) {\n    (*(code *)PTR_openlog_00131d98)(*(undefined4 *)PTR_DAT_001311ac,1,0x18);\n    *PTR_DAT_00131250 = *PTR_DAT_00131250 | 2;\n  }" if (parenthesized_expression "((uVar6 & 0x4000) != 0)" ( (binary_expression "(uVar6 & 0x4000) != 0" (parenthesized_expression "(uVar6 & 0x4000)" ( (binary_expression "uVar6 & 0x4000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    (*(code *)PTR_openlog_00131d98)(*(undefined4 *)PTR_DAT_001311ac,1,0x18);\n    *PTR_DAT_00131250 = *PTR_DAT_00131250 | 2;\n  }" { (expression_statement "(*(code *)PTR_openlog_00131d98)(*(undefined4 *)PTR_DAT_001311ac,1,0x18);" (call_expression "(*(code *)PTR_openlog_00131d98)(*(undefined4 *)PTR_DAT_001311ac,1,0x18)" (parenthesized_expression "(*(code *)PTR_openlog_00131d98)" ( (pointer_expression "*(code *)PTR_openlog_00131d98" * (cast_expression "(code *)PTR_openlog_00131d98" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_DAT_001311ac,1,0x18)" ( (pointer_expression "*(undefined4 *)PTR_DAT_001311ac" * (cast_expression "(undefined4 *)PTR_DAT_001311ac" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , number_literal ))) ;) (expression_statement "*PTR_DAT_00131250 = *PTR_DAT_00131250 | 2;" (assignment_expression "*PTR_DAT_00131250 = *PTR_DAT_00131250 | 2" (pointer_expression "*PTR_DAT_00131250" * identifier) = (binary_expression "*PTR_DAT_00131250 | 2" (pointer_expression "*PTR_DAT_00131250" * identifier) | number_literal)) ;) })) (expression_statement "(*(code *)PTR_FUN_001316b8)();" (call_expression "(*(code *)PTR_FUN_001316b8)()" (parenthesized_expression "(*(code *)PTR_FUN_001316b8)" ( (pointer_expression "*(code *)PTR_FUN_001316b8" * (cast_expression "(code *)PTR_FUN_001316b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "(*(code *)PTR_FUN_00131440)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));" (call_expression "(*(code *)PTR_FUN_00131440)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230))" (parenthesized_expression "(*(code *)PTR_FUN_00131440)" ( (pointer_expression "*(code *)PTR_FUN_00131440" * (cast_expression "(code *)PTR_FUN_00131440" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230))" ( (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230)" * (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x230)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x230" identifier + number_literal) )))) ))) ;) (expression_statement "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2908);" (call_expression "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2908)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" ( (pointer_expression "*(code *)PTR_FUN_001311d0" * (cast_expression "(code *)PTR_FUN_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_FUN_001311a4 + -0x2908)" ( (binary_expression "PTR_FUN_001311a4 + -0x2908" identifier + number_literal) ))) ;) (expression_statement "FUN_00069ff0();" (call_expression "FUN_00069ff0()" identifier (argument_list "()" ( ))) ;) (expression_statement "(*(code *)PTR_FUN_001312bc)();" (call_expression "(*(code *)PTR_FUN_001312bc)()" (parenthesized_expression "(*(code *)PTR_FUN_001312bc)" ( (pointer_expression "*(code *)PTR_FUN_001312bc" * (cast_expression "(code *)PTR_FUN_001312bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "(*(code *)PTR_srand_00131f84)(extraout_v1);" (call_expression "(*(code *)PTR_srand_00131f84)(extraout_v1)" (parenthesized_expression "(*(code *)PTR_srand_00131f84)" ( (pointer_expression "*(code *)PTR_srand_00131f84" * (cast_expression "(code *)PTR_srand_00131f84" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(extraout_v1)" ( identifier ))) ;) (expression_statement "PTR_DAT_00131178[0x23de] = 0;" (assignment_expression "PTR_DAT_00131178[0x23de] = 0" (subscript_expression "PTR_DAT_00131178[0x23de]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_00065590(0,PTR_FUN_001311a4 + -0x2984);" (call_expression "FUN_00065590(0,PTR_FUN_001311a4 + -0x2984)" identifier (argument_list "(0,PTR_FUN_001311a4 + -0x2984)" ( number_literal , (binary_expression "PTR_FUN_001311a4 + -0x2984" identifier + number_literal) ))) ;) (expression_statement "FUN_00064d8c(2);" (call_expression "FUN_00064d8c(2)" identifier (argument_list "(2)" ( number_literal ))) ;) (expression_statement "puVar19 = (undefined1 *)0x0;" (assignment_expression "puVar19 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_2f0 = PTR_DAT_00131178;" (assignment_expression "local_2f0 = PTR_DAT_00131178" identifier = identifier) ;) (expression_statement "unaff_s7 = (code *)(PTR_LAB_00131738 + 0x4d8c);" (assignment_expression "unaff_s7 = (code *)(PTR_LAB_00131738 + 0x4d8c)" identifier = (cast_expression "(code *)(PTR_LAB_00131738 + 0x4d8c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00131738 + 0x4d8c)" ( (binary_expression "PTR_LAB_00131738 + 0x4d8c" identifier + number_literal) )))) ;) (expression_statement "local_2e4 = PTR_FUN_001311a4;" (assignment_expression "local_2e4 = PTR_FUN_001311a4" identifier = identifier) ;) (expression_statement "local_2fc = (code *)(PTR_LAB_00131738 + 0x5590);" (assignment_expression "local_2fc = (code *)(PTR_LAB_00131738 + 0x5590)" identifier = (cast_expression "(code *)(PTR_LAB_00131738 + 0x5590)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00131738 + 0x5590)" ( (binary_expression "PTR_LAB_00131738 + 0x5590" identifier + number_literal) )))) ;) (expression_statement "local_2ec = (code *)(PTR_LAB_00131738 + 0x496c);" (assignment_expression "local_2ec = (code *)(PTR_LAB_00131738 + 0x496c)" identifier = (cast_expression "(code *)(PTR_LAB_00131738 + 0x496c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00131738 + 0x496c)" ( (binary_expression "PTR_LAB_00131738 + 0x496c" identifier + number_literal) )))) ;) (expression_statement "puVar12 = (undefined1 *)0x0;" (assignment_expression "puVar12 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "unaff_s0 = puVar12;" (assignment_expression "unaff_s0 = puVar12" identifier = identifier) ;) (expression_statement "puVar21 = puVar12;" (assignment_expression "puVar21 = puVar12" identifier = identifier) ;) (labeled_statement "LAB_000662f4:\n  puVar20 = puVar21;" statement_identifier : (expression_statement "puVar20 = puVar21;" (assignment_expression "puVar20 = puVar21" identifier = identifier) ;)) (expression_statement "unaff_s4 = unaff_s0;" (assignment_expression "unaff_s4 = unaff_s0" identifier = identifier) ;) (expression_statement "FUN_0006a0c0(auStack_2b0,*(undefined4 *)(local_2f0 + 0x1004));" (call_expression "FUN_0006a0c0(auStack_2b0,*(undefined4 *)(local_2f0 + 0x1004))" identifier (argument_list "(auStack_2b0,*(undefined4 *)(local_2f0 + 0x1004))" ( identifier , (pointer_expression "*(undefined4 *)(local_2f0 + 0x1004)" * (cast_expression "(undefined4 *)(local_2f0 + 0x1004)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_2f0 + 0x1004)" ( (binary_expression "local_2f0 + 0x1004" identifier + number_literal) )))) ))) ;) (expression_statement "iVar8 = (int)puVar20 - (int)puVar19;" (assignment_expression "iVar8 = (int)puVar20 - (int)puVar19" identifier = (binary_expression "(int)puVar20 - (int)puVar19" (cast_expression "(int)puVar20" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar19" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "unaff_s0 = unaff_s4;" (assignment_expression "unaff_s0 = unaff_s4" identifier = identifier) ;) (if_statement "if (iVar8 < 1) {\nLAB_00066418:\n    puVar19 = (undefined1 *)\n              FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                           PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                           PTR_bb_common_bufsiz1_0013136c + 0x200);\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    if (puVar19 == (undefined1 *)0x0) {\n      if (unaff_s3 != (undefined4 *)0x0) {\n        *unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);\n        *(undefined *)(unaff_s3 + 1) = puVar18[0x204];\n        *(undefined *)((int)unaff_s3 + 5) = puVar18[0x205];\n      }\n      if ((byte)PTR_DAT_00131178[0x23de] < 6) {\n                    /* WARNING: Could not recover jumptable at 0x000664a0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))\n                            ();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n  }\n  else {\n    iVar11 = (*(code *)PTR_FUN_001317c0)();\n    if (iVar8 < 0x20c49b) {\n      iVar8 = iVar8 * 1000;\n    }\n    else {\n      iVar8 = 0x7fffffff;\n    }\n    iVar8 = (*(code *)PTR_poll_00132060)(auStack_2b0,2,iVar8);\n    puVar21 = puVar20;\n    if (iVar8 < 0) {\n      if (**(int **)PTR_DAT_001311d8 != 4) {\n        iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x5488);\n        goto LAB_00066410;\n      }\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }\nLAB_00066410:\n    if (iVar8 == 0) goto LAB_00066418;\n    iVar8 = FUN_0006a140();\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    if (iVar8 == 0x10) {\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2894);\n      bVar2 = PTR_DAT_00131178[0x23de];\n      if (bVar2 < 7) {\n                    /* WARNING: Could not recover jumptable at 0x00066854. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = puVar12;\n      puVar21 = puVar12;\n      if (bVar2 == 5) {\n        if ((int)puVar20 < 0x3d) {\n          if (0x3b < (int)puVar20) goto LAB_0006666c;\n        }\n        else {\n          puVar20 = (undefined1 *)0x3c;\nLAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);\n          puVar19 = (undefined1 *)0x0;\n          if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }\n        }\n        PTR_DAT_00131178[0x23de] = 4;\n        (*unaff_s7)(2);\n        if ((int)puVar20 < 1) {\n          (*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4);\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n          PTR_DAT_00131178[0x23de] = 0;\n          puVar18 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar18[0x24d] = 0;\n          puVar19 = (undefined1 *)0x0;\n          puVar21 = puVar20;\n        }\n        else {\n          (*local_2ec)(local_2f8,0);\n          puVar19 = (undefined1 *)0x0;\n          unaff_s0 = unaff_s4;\n          puVar21 = (undefined1 *)((int)puVar20 >> 1);\n        }\n      }\n      goto LAB_000662f4;\n    }\n    if (iVar8 == 0x11) {\n      FUN_00065bb0(local_2b8,uVar22);\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n    if (iVar8 == 0xf) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x287c);\n      goto LAB_00066938;\n    }\n    if (local_2a2 == 0) goto LAB_000662f4;\n    if (PTR_DAT_00131178[0x23df] == '\x01') {\n      iVar8 = FUN_00069990(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }\n    else {\n      iVar8 = FUN_00064ae0(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }\n    if (iVar8 == -1) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2868);\n      (*(code *)PTR_sleep_0013211c)(local_2c0);\n      (*unaff_s7)((int)(char)PTR_DAT_00131178[0x23df]);\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }\n    iVar13 = (*(code *)PTR_FUN_001317c0)();\n    puVar19 = puVar19 + (iVar13 - iVar11);\n    if ((((iVar8 < 0) || (local_29c != local_2f8)) || (local_29e != '\x06')) ||\n       (iVar8 = (*(code *)PTR_memcmp_0013212c)(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)\n       , iVar8 != 0)) goto LAB_000662f4;\n    pcVar14 = (char *)FUN_0006a9b8(auStack_2a0,0x35);\n    uVar9 = local_2b8;\n    if (pcVar14 == (char *)0x0) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2844);\n      goto LAB_000662f4;\n    }\n    iVar8 = (int)(char)PTR_DAT_00131178[0x23de];\n    puVar20 = (undefined1 *)0x0;\n    if (iVar8 != 1) {\n      if (iVar8 < 2) {\n        if ((iVar8 == 0) && (*pcVar14 == '\x02')) {\n          local_2b8 = 0;\n          puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36);\n          if (puVar15 == (uint *)0x0) {\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }\n          else {\n            local_2b8 = *puVar15;\n          }\n          PTR_DAT_00131178[0x23de] = 1;\n          puVar19 = (undefined1 *)0x0;\n          uVar22 = local_290;\n          unaff_s0 = puVar20;\n          puVar21 = puVar20;\n        }\n        goto LAB_000662f4;\n      }\n      if (2 < (iVar8 - 3U & 0xff)) goto LAB_000662f4;\n    }\n    if (*pcVar14 != '\x05') {\n      if ((*pcVar14 == '\x06') &&\n         ((local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)))))) {\n        (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x2778);\n        (*local_2fc)(auStack_2a0,PTR_FUN_001311a4 + -0x276c);\n        if (PTR_DAT_00131178[0x23de] != '\x01') {\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n        }\n        (*unaff_s7)(2);\n        (*(code *)PTR_sleep_0013211c)(3);\n        PTR_DAT_00131178[0x23de] = 0;\n        puVar18 = PTR_bb_common_bufsiz1_0013136c;\n        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n        puVar18[0x24d] = 0;\n        puVar19 = (undefined1 *)0x0;\n        uVar22 = 0;\n        unaff_s0 = puVar20;\n        puVar21 = puVar20;\n      }\n      goto LAB_000662f4;\n    }\n    puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x33);\n    if (puVar15 == (uint *)0x0) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2800);\n      local_2b4 = 0xe10;\n    }\n    else {\n      local_2b4 = *puVar15;\n      if (local_2b4 < 0x7a) {\n        local_2b4 = 0x7a;\n      }\n    }\n    if (((int)(uVar6 << 9) < 0) &&\n       (iVar8 = FUN_0006a564(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7),\n       iVar8 == 0)) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x27d4);\n      FUN_00064864(local_2b8,local_290);\n      if (PTR_DAT_00131178[0x23de] != '\x01') {\n        (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n      }\n      (*unaff_s7)(2);\n      PTR_DAT_00131178[0x23de] = 0;\n      puVar18 = PTR_bb_common_bufsiz1_0013136c;\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      puVar19 = (undefined1 *)0x0;\n      uVar22 = 0;\n      unaff_s0 = (undefined1 *)0x0;\n      puVar21 = local_2c4;\n      goto LAB_000662f4;\n    }\n    uVar10 = (*(code *)PTR_inet_ntoa_00132140)(local_290);\n    uVar9 = local_2b4;\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x279c,uVar10,local_2b4);\n    uVar22 = local_290;\n    iVar8 = (*(code *)PTR_FUN_001317c0)();\n    if (PTR_DAT_00131178[0x23de] == '\x01') {\n      puVar18 = PTR_FUN_001311a4 + -0x2978;\n    }\n    else {\n      puVar18 = PTR_FUN_001311a4 + -0x2884;\n    }\n    (*local_2fc)(auStack_2a0,puVar18);\n    iVar11 = (*(code *)PTR_FUN_001317c0)();\n    puVar19 = (undefined1 *)(iVar11 - iVar8);\n    puVar21 = (undefined1 *)(uVar9 >> 1);\n    if (puVar21 < puVar19) {\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = puVar20;\n    }\n    PTR_DAT_00131178[0x23de] = 2;\n    (*unaff_s7)(0);\n    if ((uVar6 & 0x100) == 0) {\n      if ((int)(uVar6 << 0xc) < 0) {\n        uVar6 = uVar6 & 0xffffffbf;\n      }\n      else {\n        FUN_000643f4();\n        uVar6 = uVar6 & 0xffd7ffbf | 0x80000;\n      }\n      goto LAB_000662f4;\n    }\n  }" if (parenthesized_expression "(iVar8 < 1)" ( (binary_expression "iVar8 < 1" identifier < number_literal) )) (compound_statement "{\nLAB_00066418:\n    puVar19 = (undefined1 *)\n              FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                           PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                           PTR_bb_common_bufsiz1_0013136c + 0x200);\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    if (puVar19 == (undefined1 *)0x0) {\n      if (unaff_s3 != (undefined4 *)0x0) {\n        *unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);\n        *(undefined *)(unaff_s3 + 1) = puVar18[0x204];\n        *(undefined *)((int)unaff_s3 + 5) = puVar18[0x205];\n      }\n      if ((byte)PTR_DAT_00131178[0x23de] < 6) {\n                    /* WARNING: Could not recover jumptable at 0x000664a0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))\n                            ();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n  }" { (labeled_statement "LAB_00066418:\n    puVar19 = (undefined1 *)\n              FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                           PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                           PTR_bb_common_bufsiz1_0013136c + 0x200);" statement_identifier : (expression_statement "puVar19 = (undefined1 *)\n              FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                           PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                           PTR_bb_common_bufsiz1_0013136c + 0x200);" (assignment_expression "puVar19 = (undefined1 *)\n              FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                           PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                           PTR_bb_common_bufsiz1_0013136c + 0x200)" identifier = (cast_expression "(undefined1 *)\n              FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                           PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                           PTR_bb_common_bufsiz1_0013136c + 0x200)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                           PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                           PTR_bb_common_bufsiz1_0013136c + 0x200)" identifier (argument_list "(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                           PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                           PTR_bb_common_bufsiz1_0013136c + 0x200)" ( (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c)" * (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x22c)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x22c" identifier + number_literal) )))) , (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x208" identifier + number_literal) , number_literal , (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x200" identifier + number_literal) ))))) ;)) (expression_statement "puVar18 = PTR_bb_common_bufsiz1_0013136c;" (assignment_expression "puVar18 = PTR_bb_common_bufsiz1_0013136c" identifier = identifier) ;) (if_statement "if (puVar19 == (undefined1 *)0x0) {\n      if (unaff_s3 != (undefined4 *)0x0) {\n        *unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);\n        *(undefined *)(unaff_s3 + 1) = puVar18[0x204];\n        *(undefined *)((int)unaff_s3 + 5) = puVar18[0x205];\n      }\n      if ((byte)PTR_DAT_00131178[0x23de] < 6) {\n                    /* WARNING: Could not recover jumptable at 0x000664a0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))\n                            ();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }" if (parenthesized_expression "(puVar19 == (undefined1 *)0x0)" ( (binary_expression "puVar19 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if (unaff_s3 != (undefined4 *)0x0) {\n        *unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);\n        *(undefined *)(unaff_s3 + 1) = puVar18[0x204];\n        *(undefined *)((int)unaff_s3 + 5) = puVar18[0x205];\n      }\n      if ((byte)PTR_DAT_00131178[0x23de] < 6) {\n                    /* WARNING: Could not recover jumptable at 0x000664a0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))\n                            ();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }" { (if_statement "if (unaff_s3 != (undefined4 *)0x0) {\n        *unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);\n        *(undefined *)(unaff_s3 + 1) = puVar18[0x204];\n        *(undefined *)((int)unaff_s3 + 5) = puVar18[0x205];\n      }" if (parenthesized_expression "(unaff_s3 != (undefined4 *)0x0)" ( (binary_expression "unaff_s3 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        *unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);\n        *(undefined *)(unaff_s3 + 1) = puVar18[0x204];\n        *(undefined *)((int)unaff_s3 + 5) = puVar18[0x205];\n      }" { (expression_statement "*unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);" (assignment_expression "*unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200)" (pointer_expression "*unaff_s3" * identifier) = (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200)" * (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x200)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x200" identifier + number_literal) ))))) ;) (expression_statement "*(undefined *)(unaff_s3 + 1) = puVar18[0x204];" (assignment_expression "*(undefined *)(unaff_s3 + 1) = puVar18[0x204]" (pointer_expression "*(undefined *)(unaff_s3 + 1)" * (cast_expression "(undefined *)(unaff_s3 + 1)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s3 + 1)" ( (binary_expression "unaff_s3 + 1" identifier + number_literal) )))) = (subscript_expression "puVar18[0x204]" identifier [ number_literal ])) ;) (expression_statement "*(undefined *)((int)unaff_s3 + 5) = puVar18[0x205];" (assignment_expression "*(undefined *)((int)unaff_s3 + 5) = puVar18[0x205]" (pointer_expression "*(undefined *)((int)unaff_s3 + 5)" * (cast_expression "(undefined *)((int)unaff_s3 + 5)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s3 + 5)" ( (binary_expression "(int)unaff_s3 + 5" (cast_expression "(int)unaff_s3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (subscript_expression "puVar18[0x205]" identifier [ number_literal ])) ;) })) (if_statement "if ((byte)PTR_DAT_00131178[0x23de] < 6) {\n                    /* WARNING: Could not recover jumptable at 0x000664a0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))\n                            ();\n        return puVar12;\n      }" if (parenthesized_expression "((byte)PTR_DAT_00131178[0x23de] < 6)" ( (binary_expression "(byte)PTR_DAT_00131178[0x23de] < 6" (cast_expression "(byte)PTR_DAT_00131178[0x23de]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR_DAT_00131178[0x23de]" identifier [ number_literal ])) < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x000664a0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))\n                            ();\n        return puVar12;\n      }" { comment comment (expression_statement "puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))\n                            ();" (assignment_expression "puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))\n                            ()" identifier = (cast_expression "(undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))\n                            ()" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))\n                            ()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768))" ( (binary_expression "&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)" * (cast_expression "(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)" ( (binary_expression "PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768" (binary_expression "PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4" identifier + (binary_expression "(uint)(byte)PTR_DAT_00131178[0x23de] * 4" (cast_expression "(uint)(byte)PTR_DAT_00131178[0x23de]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)PTR_DAT_00131178[0x23de]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR_DAT_00131178[0x23de]" identifier [ number_literal ]))) * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( ))))) ;) (return_statement "return puVar12;" return identifier ;) })) (expression_statement "puVar19 = (undefined1 *)0x0;" (assignment_expression "puVar19 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar21 = (undefined1 *)0x7fffffff;" (assignment_expression "puVar21 = (undefined1 *)0x7fffffff" identifier = (cast_expression "(undefined1 *)0x7fffffff" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;) })) }) (else_clause "else {\n    iVar11 = (*(code *)PTR_FUN_001317c0)();\n    if (iVar8 < 0x20c49b) {\n      iVar8 = iVar8 * 1000;\n    }\n    else {\n      iVar8 = 0x7fffffff;\n    }\n    iVar8 = (*(code *)PTR_poll_00132060)(auStack_2b0,2,iVar8);\n    puVar21 = puVar20;\n    if (iVar8 < 0) {\n      if (**(int **)PTR_DAT_001311d8 != 4) {\n        iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x5488);\n        goto LAB_00066410;\n      }\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }\nLAB_00066410:\n    if (iVar8 == 0) goto LAB_00066418;\n    iVar8 = FUN_0006a140();\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    if (iVar8 == 0x10) {\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2894);\n      bVar2 = PTR_DAT_00131178[0x23de];\n      if (bVar2 < 7) {\n                    /* WARNING: Could not recover jumptable at 0x00066854. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = puVar12;\n      puVar21 = puVar12;\n      if (bVar2 == 5) {\n        if ((int)puVar20 < 0x3d) {\n          if (0x3b < (int)puVar20) goto LAB_0006666c;\n        }\n        else {\n          puVar20 = (undefined1 *)0x3c;\nLAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);\n          puVar19 = (undefined1 *)0x0;\n          if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }\n        }\n        PTR_DAT_00131178[0x23de] = 4;\n        (*unaff_s7)(2);\n        if ((int)puVar20 < 1) {\n          (*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4);\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n          PTR_DAT_00131178[0x23de] = 0;\n          puVar18 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar18[0x24d] = 0;\n          puVar19 = (undefined1 *)0x0;\n          puVar21 = puVar20;\n        }\n        else {\n          (*local_2ec)(local_2f8,0);\n          puVar19 = (undefined1 *)0x0;\n          unaff_s0 = unaff_s4;\n          puVar21 = (undefined1 *)((int)puVar20 >> 1);\n        }\n      }\n      goto LAB_000662f4;\n    }\n    if (iVar8 == 0x11) {\n      FUN_00065bb0(local_2b8,uVar22);\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n    if (iVar8 == 0xf) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x287c);\n      goto LAB_00066938;\n    }\n    if (local_2a2 == 0) goto LAB_000662f4;\n    if (PTR_DAT_00131178[0x23df] == '\x01') {\n      iVar8 = FUN_00069990(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }\n    else {\n      iVar8 = FUN_00064ae0(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }\n    if (iVar8 == -1) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2868);\n      (*(code *)PTR_sleep_0013211c)(local_2c0);\n      (*unaff_s7)((int)(char)PTR_DAT_00131178[0x23df]);\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }\n    iVar13 = (*(code *)PTR_FUN_001317c0)();\n    puVar19 = puVar19 + (iVar13 - iVar11);\n    if ((((iVar8 < 0) || (local_29c != local_2f8)) || (local_29e != '\x06')) ||\n       (iVar8 = (*(code *)PTR_memcmp_0013212c)(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)\n       , iVar8 != 0)) goto LAB_000662f4;\n    pcVar14 = (char *)FUN_0006a9b8(auStack_2a0,0x35);\n    uVar9 = local_2b8;\n    if (pcVar14 == (char *)0x0) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2844);\n      goto LAB_000662f4;\n    }\n    iVar8 = (int)(char)PTR_DAT_00131178[0x23de];\n    puVar20 = (undefined1 *)0x0;\n    if (iVar8 != 1) {\n      if (iVar8 < 2) {\n        if ((iVar8 == 0) && (*pcVar14 == '\x02')) {\n          local_2b8 = 0;\n          puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36);\n          if (puVar15 == (uint *)0x0) {\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }\n          else {\n            local_2b8 = *puVar15;\n          }\n          PTR_DAT_00131178[0x23de] = 1;\n          puVar19 = (undefined1 *)0x0;\n          uVar22 = local_290;\n          unaff_s0 = puVar20;\n          puVar21 = puVar20;\n        }\n        goto LAB_000662f4;\n      }\n      if (2 < (iVar8 - 3U & 0xff)) goto LAB_000662f4;\n    }\n    if (*pcVar14 != '\x05') {\n      if ((*pcVar14 == '\x06') &&\n         ((local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)))))) {\n        (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x2778);\n        (*local_2fc)(auStack_2a0,PTR_FUN_001311a4 + -0x276c);\n        if (PTR_DAT_00131178[0x23de] != '\x01') {\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n        }\n        (*unaff_s7)(2);\n        (*(code *)PTR_sleep_0013211c)(3);\n        PTR_DAT_00131178[0x23de] = 0;\n        puVar18 = PTR_bb_common_bufsiz1_0013136c;\n        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n        puVar18[0x24d] = 0;\n        puVar19 = (undefined1 *)0x0;\n        uVar22 = 0;\n        unaff_s0 = puVar20;\n        puVar21 = puVar20;\n      }\n      goto LAB_000662f4;\n    }\n    puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x33);\n    if (puVar15 == (uint *)0x0) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2800);\n      local_2b4 = 0xe10;\n    }\n    else {\n      local_2b4 = *puVar15;\n      if (local_2b4 < 0x7a) {\n        local_2b4 = 0x7a;\n      }\n    }\n    if (((int)(uVar6 << 9) < 0) &&\n       (iVar8 = FUN_0006a564(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7),\n       iVar8 == 0)) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x27d4);\n      FUN_00064864(local_2b8,local_290);\n      if (PTR_DAT_00131178[0x23de] != '\x01') {\n        (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n      }\n      (*unaff_s7)(2);\n      PTR_DAT_00131178[0x23de] = 0;\n      puVar18 = PTR_bb_common_bufsiz1_0013136c;\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      puVar19 = (undefined1 *)0x0;\n      uVar22 = 0;\n      unaff_s0 = (undefined1 *)0x0;\n      puVar21 = local_2c4;\n      goto LAB_000662f4;\n    }\n    uVar10 = (*(code *)PTR_inet_ntoa_00132140)(local_290);\n    uVar9 = local_2b4;\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x279c,uVar10,local_2b4);\n    uVar22 = local_290;\n    iVar8 = (*(code *)PTR_FUN_001317c0)();\n    if (PTR_DAT_00131178[0x23de] == '\x01') {\n      puVar18 = PTR_FUN_001311a4 + -0x2978;\n    }\n    else {\n      puVar18 = PTR_FUN_001311a4 + -0x2884;\n    }\n    (*local_2fc)(auStack_2a0,puVar18);\n    iVar11 = (*(code *)PTR_FUN_001317c0)();\n    puVar19 = (undefined1 *)(iVar11 - iVar8);\n    puVar21 = (undefined1 *)(uVar9 >> 1);\n    if (puVar21 < puVar19) {\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = puVar20;\n    }\n    PTR_DAT_00131178[0x23de] = 2;\n    (*unaff_s7)(0);\n    if ((uVar6 & 0x100) == 0) {\n      if ((int)(uVar6 << 0xc) < 0) {\n        uVar6 = uVar6 & 0xffffffbf;\n      }\n      else {\n        FUN_000643f4();\n        uVar6 = uVar6 & 0xffd7ffbf | 0x80000;\n      }\n      goto LAB_000662f4;\n    }\n  }" else (compound_statement "{\n    iVar11 = (*(code *)PTR_FUN_001317c0)();\n    if (iVar8 < 0x20c49b) {\n      iVar8 = iVar8 * 1000;\n    }\n    else {\n      iVar8 = 0x7fffffff;\n    }\n    iVar8 = (*(code *)PTR_poll_00132060)(auStack_2b0,2,iVar8);\n    puVar21 = puVar20;\n    if (iVar8 < 0) {\n      if (**(int **)PTR_DAT_001311d8 != 4) {\n        iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x5488);\n        goto LAB_00066410;\n      }\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }\nLAB_00066410:\n    if (iVar8 == 0) goto LAB_00066418;\n    iVar8 = FUN_0006a140();\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    if (iVar8 == 0x10) {\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2894);\n      bVar2 = PTR_DAT_00131178[0x23de];\n      if (bVar2 < 7) {\n                    /* WARNING: Could not recover jumptable at 0x00066854. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = puVar12;\n      puVar21 = puVar12;\n      if (bVar2 == 5) {\n        if ((int)puVar20 < 0x3d) {\n          if (0x3b < (int)puVar20) goto LAB_0006666c;\n        }\n        else {\n          puVar20 = (undefined1 *)0x3c;\nLAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);\n          puVar19 = (undefined1 *)0x0;\n          if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }\n        }\n        PTR_DAT_00131178[0x23de] = 4;\n        (*unaff_s7)(2);\n        if ((int)puVar20 < 1) {\n          (*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4);\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n          PTR_DAT_00131178[0x23de] = 0;\n          puVar18 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar18[0x24d] = 0;\n          puVar19 = (undefined1 *)0x0;\n          puVar21 = puVar20;\n        }\n        else {\n          (*local_2ec)(local_2f8,0);\n          puVar19 = (undefined1 *)0x0;\n          unaff_s0 = unaff_s4;\n          puVar21 = (undefined1 *)((int)puVar20 >> 1);\n        }\n      }\n      goto LAB_000662f4;\n    }\n    if (iVar8 == 0x11) {\n      FUN_00065bb0(local_2b8,uVar22);\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n    if (iVar8 == 0xf) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x287c);\n      goto LAB_00066938;\n    }\n    if (local_2a2 == 0) goto LAB_000662f4;\n    if (PTR_DAT_00131178[0x23df] == '\x01') {\n      iVar8 = FUN_00069990(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }\n    else {\n      iVar8 = FUN_00064ae0(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }\n    if (iVar8 == -1) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2868);\n      (*(code *)PTR_sleep_0013211c)(local_2c0);\n      (*unaff_s7)((int)(char)PTR_DAT_00131178[0x23df]);\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }\n    iVar13 = (*(code *)PTR_FUN_001317c0)();\n    puVar19 = puVar19 + (iVar13 - iVar11);\n    if ((((iVar8 < 0) || (local_29c != local_2f8)) || (local_29e != '\x06')) ||\n       (iVar8 = (*(code *)PTR_memcmp_0013212c)(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)\n       , iVar8 != 0)) goto LAB_000662f4;\n    pcVar14 = (char *)FUN_0006a9b8(auStack_2a0,0x35);\n    uVar9 = local_2b8;\n    if (pcVar14 == (char *)0x0) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2844);\n      goto LAB_000662f4;\n    }\n    iVar8 = (int)(char)PTR_DAT_00131178[0x23de];\n    puVar20 = (undefined1 *)0x0;\n    if (iVar8 != 1) {\n      if (iVar8 < 2) {\n        if ((iVar8 == 0) && (*pcVar14 == '\x02')) {\n          local_2b8 = 0;\n          puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36);\n          if (puVar15 == (uint *)0x0) {\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }\n          else {\n            local_2b8 = *puVar15;\n          }\n          PTR_DAT_00131178[0x23de] = 1;\n          puVar19 = (undefined1 *)0x0;\n          uVar22 = local_290;\n          unaff_s0 = puVar20;\n          puVar21 = puVar20;\n        }\n        goto LAB_000662f4;\n      }\n      if (2 < (iVar8 - 3U & 0xff)) goto LAB_000662f4;\n    }\n    if (*pcVar14 != '\x05') {\n      if ((*pcVar14 == '\x06') &&\n         ((local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)))))) {\n        (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x2778);\n        (*local_2fc)(auStack_2a0,PTR_FUN_001311a4 + -0x276c);\n        if (PTR_DAT_00131178[0x23de] != '\x01') {\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n        }\n        (*unaff_s7)(2);\n        (*(code *)PTR_sleep_0013211c)(3);\n        PTR_DAT_00131178[0x23de] = 0;\n        puVar18 = PTR_bb_common_bufsiz1_0013136c;\n        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n        puVar18[0x24d] = 0;\n        puVar19 = (undefined1 *)0x0;\n        uVar22 = 0;\n        unaff_s0 = puVar20;\n        puVar21 = puVar20;\n      }\n      goto LAB_000662f4;\n    }\n    puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x33);\n    if (puVar15 == (uint *)0x0) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2800);\n      local_2b4 = 0xe10;\n    }\n    else {\n      local_2b4 = *puVar15;\n      if (local_2b4 < 0x7a) {\n        local_2b4 = 0x7a;\n      }\n    }\n    if (((int)(uVar6 << 9) < 0) &&\n       (iVar8 = FUN_0006a564(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7),\n       iVar8 == 0)) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x27d4);\n      FUN_00064864(local_2b8,local_290);\n      if (PTR_DAT_00131178[0x23de] != '\x01') {\n        (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n      }\n      (*unaff_s7)(2);\n      PTR_DAT_00131178[0x23de] = 0;\n      puVar18 = PTR_bb_common_bufsiz1_0013136c;\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      puVar19 = (undefined1 *)0x0;\n      uVar22 = 0;\n      unaff_s0 = (undefined1 *)0x0;\n      puVar21 = local_2c4;\n      goto LAB_000662f4;\n    }\n    uVar10 = (*(code *)PTR_inet_ntoa_00132140)(local_290);\n    uVar9 = local_2b4;\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x279c,uVar10,local_2b4);\n    uVar22 = local_290;\n    iVar8 = (*(code *)PTR_FUN_001317c0)();\n    if (PTR_DAT_00131178[0x23de] == '\x01') {\n      puVar18 = PTR_FUN_001311a4 + -0x2978;\n    }\n    else {\n      puVar18 = PTR_FUN_001311a4 + -0x2884;\n    }\n    (*local_2fc)(auStack_2a0,puVar18);\n    iVar11 = (*(code *)PTR_FUN_001317c0)();\n    puVar19 = (undefined1 *)(iVar11 - iVar8);\n    puVar21 = (undefined1 *)(uVar9 >> 1);\n    if (puVar21 < puVar19) {\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = puVar20;\n    }\n    PTR_DAT_00131178[0x23de] = 2;\n    (*unaff_s7)(0);\n    if ((uVar6 & 0x100) == 0) {\n      if ((int)(uVar6 << 0xc) < 0) {\n        uVar6 = uVar6 & 0xffffffbf;\n      }\n      else {\n        FUN_000643f4();\n        uVar6 = uVar6 & 0xffd7ffbf | 0x80000;\n      }\n      goto LAB_000662f4;\n    }\n  }" { (expression_statement "iVar11 = (*(code *)PTR_FUN_001317c0)();" (assignment_expression "iVar11 = (*(code *)PTR_FUN_001317c0)()" identifier = (call_expression "(*(code *)PTR_FUN_001317c0)()" (parenthesized_expression "(*(code *)PTR_FUN_001317c0)" ( (pointer_expression "*(code *)PTR_FUN_001317c0" * (cast_expression "(code *)PTR_FUN_001317c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar8 < 0x20c49b) {\n      iVar8 = iVar8 * 1000;\n    }\n    else {\n      iVar8 = 0x7fffffff;\n    }" if (parenthesized_expression "(iVar8 < 0x20c49b)" ( (binary_expression "iVar8 < 0x20c49b" identifier < number_literal) )) (compound_statement "{\n      iVar8 = iVar8 * 1000;\n    }" { (expression_statement "iVar8 = iVar8 * 1000;" (assignment_expression "iVar8 = iVar8 * 1000" identifier = (binary_expression "iVar8 * 1000" identifier * number_literal)) ;) }) (else_clause "else {\n      iVar8 = 0x7fffffff;\n    }" else (compound_statement "{\n      iVar8 = 0x7fffffff;\n    }" { (expression_statement "iVar8 = 0x7fffffff;" (assignment_expression "iVar8 = 0x7fffffff" identifier = number_literal) ;) }))) (expression_statement "iVar8 = (*(code *)PTR_poll_00132060)(auStack_2b0,2,iVar8);" (assignment_expression "iVar8 = (*(code *)PTR_poll_00132060)(auStack_2b0,2,iVar8)" identifier = (call_expression "(*(code *)PTR_poll_00132060)(auStack_2b0,2,iVar8)" (parenthesized_expression "(*(code *)PTR_poll_00132060)" ( (pointer_expression "*(code *)PTR_poll_00132060" * (cast_expression "(code *)PTR_poll_00132060" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_2b0,2,iVar8)" ( identifier , number_literal , identifier )))) ;) (expression_statement "puVar21 = puVar20;" (assignment_expression "puVar21 = puVar20" identifier = identifier) ;) (if_statement "if (iVar8 < 0) {\n      if (**(int **)PTR_DAT_001311d8 != 4) {\n        iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x5488);\n        goto LAB_00066410;\n      }\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }" if (parenthesized_expression "(iVar8 < 0)" ( (binary_expression "iVar8 < 0" identifier < number_literal) )) (compound_statement "{\n      if (**(int **)PTR_DAT_001311d8 != 4) {\n        iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x5488);\n        goto LAB_00066410;\n      }\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }" { (if_statement "if (**(int **)PTR_DAT_001311d8 != 4) {\n        iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x5488);\n        goto LAB_00066410;\n      }" if (parenthesized_expression "(**(int **)PTR_DAT_001311d8 != 4)" ( (binary_expression "**(int **)PTR_DAT_001311d8 != 4" (pointer_expression "**(int **)PTR_DAT_001311d8" * (pointer_expression "*(int **)PTR_DAT_001311d8" * (cast_expression "(int **)PTR_DAT_001311d8" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) != number_literal) )) (compound_statement "{\n        iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x5488);\n        goto LAB_00066410;\n      }" { (expression_statement "iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x5488);" (assignment_expression "iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x5488)" identifier = (call_expression "(*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x5488)" (parenthesized_expression "(*(code *)PTR_FUN_001311f4)" ( (pointer_expression "*(code *)PTR_FUN_001311f4" * (cast_expression "(code *)PTR_FUN_001311f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_FUN_001311a4 + -0x5488)" ( (binary_expression "PTR_FUN_001311a4 + -0x5488" identifier + number_literal) )))) ;) (goto_statement "goto LAB_00066410;" goto statement_identifier ;) })) (expression_statement "iVar8 = (*(code *)PTR_FUN_001317c0)();" (assignment_expression "iVar8 = (*(code *)PTR_FUN_001317c0)()" identifier = (call_expression "(*(code *)PTR_FUN_001317c0)()" (parenthesized_expression "(*(code *)PTR_FUN_001317c0)" ( (pointer_expression "*(code *)PTR_FUN_001317c0" * (cast_expression "(code *)PTR_FUN_001317c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puVar19 = puVar19 + (iVar8 - iVar11);" (assignment_expression "puVar19 = puVar19 + (iVar8 - iVar11)" identifier = (binary_expression "puVar19 + (iVar8 - iVar11)" identifier + (parenthesized_expression "(iVar8 - iVar11)" ( (binary_expression "iVar8 - iVar11" identifier - identifier) )))) ;) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;) })) (labeled_statement "LAB_00066410:\n    if (iVar8 == 0) goto LAB_00066418;" statement_identifier : (if_statement "if (iVar8 == 0) goto LAB_00066418;" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00066418;" goto statement_identifier ;))) (expression_statement "iVar8 = FUN_0006a140();" (assignment_expression "iVar8 = FUN_0006a140()" identifier = (call_expression "FUN_0006a140()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar18 = PTR_bb_common_bufsiz1_0013136c;" (assignment_expression "puVar18 = PTR_bb_common_bufsiz1_0013136c" identifier = identifier) ;) (if_statement "if (iVar8 == 0x10) {\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2894);\n      bVar2 = PTR_DAT_00131178[0x23de];\n      if (bVar2 < 7) {\n                    /* WARNING: Could not recover jumptable at 0x00066854. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = puVar12;\n      puVar21 = puVar12;\n      if (bVar2 == 5) {\n        if ((int)puVar20 < 0x3d) {\n          if (0x3b < (int)puVar20) goto LAB_0006666c;\n        }\n        else {\n          puVar20 = (undefined1 *)0x3c;\nLAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);\n          puVar19 = (undefined1 *)0x0;\n          if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }\n        }\n        PTR_DAT_00131178[0x23de] = 4;\n        (*unaff_s7)(2);\n        if ((int)puVar20 < 1) {\n          (*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4);\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n          PTR_DAT_00131178[0x23de] = 0;\n          puVar18 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar18[0x24d] = 0;\n          puVar19 = (undefined1 *)0x0;\n          puVar21 = puVar20;\n        }\n        else {\n          (*local_2ec)(local_2f8,0);\n          puVar19 = (undefined1 *)0x0;\n          unaff_s0 = unaff_s4;\n          puVar21 = (undefined1 *)((int)puVar20 >> 1);\n        }\n      }\n      goto LAB_000662f4;\n    }" if (parenthesized_expression "(iVar8 == 0x10)" ( (binary_expression "iVar8 == 0x10" identifier == number_literal) )) (compound_statement "{\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2894);\n      bVar2 = PTR_DAT_00131178[0x23de];\n      if (bVar2 < 7) {\n                    /* WARNING: Could not recover jumptable at 0x00066854. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = puVar12;\n      puVar21 = puVar12;\n      if (bVar2 == 5) {\n        if ((int)puVar20 < 0x3d) {\n          if (0x3b < (int)puVar20) goto LAB_0006666c;\n        }\n        else {\n          puVar20 = (undefined1 *)0x3c;\nLAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);\n          puVar19 = (undefined1 *)0x0;\n          if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }\n        }\n        PTR_DAT_00131178[0x23de] = 4;\n        (*unaff_s7)(2);\n        if ((int)puVar20 < 1) {\n          (*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4);\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n          PTR_DAT_00131178[0x23de] = 0;\n          puVar18 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar18[0x24d] = 0;\n          puVar19 = (undefined1 *)0x0;\n          puVar21 = puVar20;\n        }\n        else {\n          (*local_2ec)(local_2f8,0);\n          puVar19 = (undefined1 *)0x0;\n          unaff_s0 = unaff_s4;\n          puVar21 = (undefined1 *)((int)puVar20 >> 1);\n        }\n      }\n      goto LAB_000662f4;\n    }" { (expression_statement "PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;" (assignment_expression "PTR_bb_common_bufsiz1_0013136c[0x24c] = 0" (subscript_expression "PTR_bb_common_bufsiz1_0013136c[0x24c]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar18[0x24d] = 0;" (assignment_expression "puVar18[0x24d] = 0" (subscript_expression "puVar18[0x24d]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2894);" (call_expression "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2894)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" ( (pointer_expression "*(code *)PTR_FUN_001311d0" * (cast_expression "(code *)PTR_FUN_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_FUN_001311a4 + -0x2894)" ( (binary_expression "PTR_FUN_001311a4 + -0x2894" identifier + number_literal) ))) ;) (expression_statement "bVar2 = PTR_DAT_00131178[0x23de];" (assignment_expression "bVar2 = PTR_DAT_00131178[0x23de]" identifier = (subscript_expression "PTR_DAT_00131178[0x23de]" identifier [ number_literal ])) ;) (if_statement "if (bVar2 < 7) {\n                    /* WARNING: Could not recover jumptable at 0x00066854. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))();\n        return puVar12;\n      }" if (parenthesized_expression "(bVar2 < 7)" ( (binary_expression "bVar2 < 7" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x00066854. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))();\n        return puVar12;\n      }" { comment comment (expression_statement "puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))();" (assignment_expression "puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))()" identifier = (cast_expression "(undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))()" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750))" ( (binary_expression "&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)" * (cast_expression "(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)" ( (binary_expression "PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750" (binary_expression "PTR_FUN_001311a4 + (uint)bVar2 * 4" identifier + (binary_expression "(uint)bVar2 * 4" (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( ))))) ;) (return_statement "return puVar12;" return identifier ;) })) (expression_statement "puVar19 = (undefined1 *)0x0;" (assignment_expression "puVar19 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "unaff_s0 = puVar12;" (assignment_expression "unaff_s0 = puVar12" identifier = identifier) ;) (expression_statement "puVar21 = puVar12;" (assignment_expression "puVar21 = puVar12" identifier = identifier) ;) (if_statement "if (bVar2 == 5) {\n        if ((int)puVar20 < 0x3d) {\n          if (0x3b < (int)puVar20) goto LAB_0006666c;\n        }\n        else {\n          puVar20 = (undefined1 *)0x3c;\nLAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);\n          puVar19 = (undefined1 *)0x0;\n          if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }\n        }\n        PTR_DAT_00131178[0x23de] = 4;\n        (*unaff_s7)(2);\n        if ((int)puVar20 < 1) {\n          (*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4);\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n          PTR_DAT_00131178[0x23de] = 0;\n          puVar18 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar18[0x24d] = 0;\n          puVar19 = (undefined1 *)0x0;\n          puVar21 = puVar20;\n        }\n        else {\n          (*local_2ec)(local_2f8,0);\n          puVar19 = (undefined1 *)0x0;\n          unaff_s0 = unaff_s4;\n          puVar21 = (undefined1 *)((int)puVar20 >> 1);\n        }\n      }" if (parenthesized_expression "(bVar2 == 5)" ( (binary_expression "bVar2 == 5" identifier == number_literal) )) (compound_statement "{\n        if ((int)puVar20 < 0x3d) {\n          if (0x3b < (int)puVar20) goto LAB_0006666c;\n        }\n        else {\n          puVar20 = (undefined1 *)0x3c;\nLAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);\n          puVar19 = (undefined1 *)0x0;\n          if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }\n        }\n        PTR_DAT_00131178[0x23de] = 4;\n        (*unaff_s7)(2);\n        if ((int)puVar20 < 1) {\n          (*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4);\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n          PTR_DAT_00131178[0x23de] = 0;\n          puVar18 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar18[0x24d] = 0;\n          puVar19 = (undefined1 *)0x0;\n          puVar21 = puVar20;\n        }\n        else {\n          (*local_2ec)(local_2f8,0);\n          puVar19 = (undefined1 *)0x0;\n          unaff_s0 = unaff_s4;\n          puVar21 = (undefined1 *)((int)puVar20 >> 1);\n        }\n      }" { (if_statement "if ((int)puVar20 < 0x3d) {\n          if (0x3b < (int)puVar20) goto LAB_0006666c;\n        }\n        else {\n          puVar20 = (undefined1 *)0x3c;\nLAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);\n          puVar19 = (undefined1 *)0x0;\n          if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }\n        }" if (parenthesized_expression "((int)puVar20 < 0x3d)" ( (binary_expression "(int)puVar20 < 0x3d" (cast_expression "(int)puVar20" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n          if (0x3b < (int)puVar20) goto LAB_0006666c;\n        }" { (if_statement "if (0x3b < (int)puVar20) goto LAB_0006666c;" if (parenthesized_expression "(0x3b < (int)puVar20)" ( (binary_expression "0x3b < (int)puVar20" number_literal < (cast_expression "(int)puVar20" ( (type_descriptor "int" primitive_type) ) identifier)) )) (goto_statement "goto LAB_0006666c;" goto statement_identifier ;)) }) (else_clause "else {\n          puVar20 = (undefined1 *)0x3c;\nLAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);\n          puVar19 = (undefined1 *)0x0;\n          if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }\n        }" else (compound_statement "{\n          puVar20 = (undefined1 *)0x3c;\nLAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);\n          puVar19 = (undefined1 *)0x0;\n          if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }\n        }" { (expression_statement "puVar20 = (undefined1 *)0x3c;" (assignment_expression "puVar20 = (undefined1 *)0x3c" identifier = (cast_expression "(undefined1 *)0x3c" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);" statement_identifier : (expression_statement "iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);" (assignment_expression "iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22)" identifier = (call_expression "(*local_2ec)(local_2f8,local_2b8,uVar22)" (parenthesized_expression "(*local_2ec)" ( (pointer_expression "*local_2ec" * identifier) )) (argument_list "(local_2f8,local_2b8,uVar22)" ( identifier , identifier , identifier )))) ;)) (expression_statement "puVar19 = (undefined1 *)0x0;" (assignment_expression "puVar19 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }" if (parenthesized_expression "(-1 < iVar8)" ( (binary_expression "-1 < iVar8" number_literal < identifier) )) (compound_statement "{\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }" { (expression_statement "unaff_s0 = unaff_s4;" (assignment_expression "unaff_s0 = unaff_s4" identifier = identifier) ;) (expression_statement "puVar21 = (undefined1 *)((int)puVar20 >> 1);" (assignment_expression "puVar21 = (undefined1 *)((int)puVar20 >> 1)" identifier = (cast_expression "(undefined1 *)((int)puVar20 >> 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar20 >> 1)" ( (binary_expression "(int)puVar20 >> 1" (cast_expression "(int)puVar20" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )))) ;) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;) })) }))) (expression_statement "PTR_DAT_00131178[0x23de] = 4;" (assignment_expression "PTR_DAT_00131178[0x23de] = 4" (subscript_expression "PTR_DAT_00131178[0x23de]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "(*unaff_s7)(2);" (call_expression "(*unaff_s7)(2)" (parenthesized_expression "(*unaff_s7)" ( (pointer_expression "*unaff_s7" * identifier) )) (argument_list "(2)" ( number_literal ))) ;) (if_statement "if ((int)puVar20 < 1) {\n          (*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4);\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n          PTR_DAT_00131178[0x23de] = 0;\n          puVar18 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar18[0x24d] = 0;\n          puVar19 = (undefined1 *)0x0;\n          puVar21 = puVar20;\n        }\n        else {\n          (*local_2ec)(local_2f8,0);\n          puVar19 = (undefined1 *)0x0;\n          unaff_s0 = unaff_s4;\n          puVar21 = (undefined1 *)((int)puVar20 >> 1);\n        }" if (parenthesized_expression "((int)puVar20 < 1)" ( (binary_expression "(int)puVar20 < 1" (cast_expression "(int)puVar20" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n          (*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4);\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n          PTR_DAT_00131178[0x23de] = 0;\n          puVar18 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar18[0x24d] = 0;\n          puVar19 = (undefined1 *)0x0;\n          puVar21 = puVar20;\n        }" { (expression_statement "(*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4);" (call_expression "(*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" ( (pointer_expression "*(code *)PTR_FUN_001311d0" * (cast_expression "(code *)PTR_FUN_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_2e4 + -0x28b4)" ( (binary_expression "local_2e4 + -0x28b4" identifier + number_literal) ))) ;) (expression_statement "(*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);" (call_expression "(*local_2fc)(0,PTR_FUN_001311a4 + -0x2984)" (parenthesized_expression "(*local_2fc)" ( (pointer_expression "*local_2fc" * identifier) )) (argument_list "(0,PTR_FUN_001311a4 + -0x2984)" ( number_literal , (binary_expression "PTR_FUN_001311a4 + -0x2984" identifier + number_literal) ))) ;) (expression_statement "PTR_DAT_00131178[0x23de] = 0;" (assignment_expression "PTR_DAT_00131178[0x23de] = 0" (subscript_expression "PTR_DAT_00131178[0x23de]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar18 = PTR_bb_common_bufsiz1_0013136c;" (assignment_expression "puVar18 = PTR_bb_common_bufsiz1_0013136c" identifier = identifier) ;) (expression_statement "PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;" (assignment_expression "PTR_bb_common_bufsiz1_0013136c[0x24c] = 0" (subscript_expression "PTR_bb_common_bufsiz1_0013136c[0x24c]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar18[0x24d] = 0;" (assignment_expression "puVar18[0x24d] = 0" (subscript_expression "puVar18[0x24d]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar19 = (undefined1 *)0x0;" (assignment_expression "puVar19 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar21 = puVar20;" (assignment_expression "puVar21 = puVar20" identifier = identifier) ;) }) (else_clause "else {\n          (*local_2ec)(local_2f8,0);\n          puVar19 = (undefined1 *)0x0;\n          unaff_s0 = unaff_s4;\n          puVar21 = (undefined1 *)((int)puVar20 >> 1);\n        }" else (compound_statement "{\n          (*local_2ec)(local_2f8,0);\n          puVar19 = (undefined1 *)0x0;\n          unaff_s0 = unaff_s4;\n          puVar21 = (undefined1 *)((int)puVar20 >> 1);\n        }" { (expression_statement "(*local_2ec)(local_2f8,0);" (call_expression "(*local_2ec)(local_2f8,0)" (parenthesized_expression "(*local_2ec)" ( (pointer_expression "*local_2ec" * identifier) )) (argument_list "(local_2f8,0)" ( identifier , number_literal ))) ;) (expression_statement "puVar19 = (undefined1 *)0x0;" (assignment_expression "puVar19 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "unaff_s0 = unaff_s4;" (assignment_expression "unaff_s0 = unaff_s4" identifier = identifier) ;) (expression_statement "puVar21 = (undefined1 *)((int)puVar20 >> 1);" (assignment_expression "puVar21 = (undefined1 *)((int)puVar20 >> 1)" identifier = (cast_expression "(undefined1 *)((int)puVar20 >> 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar20 >> 1)" ( (binary_expression "(int)puVar20 >> 1" (cast_expression "(int)puVar20" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )))) ;) }))) })) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;) })) (if_statement "if (iVar8 == 0x11) {\n      FUN_00065bb0(local_2b8,uVar22);\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }" if (parenthesized_expression "(iVar8 == 0x11)" ( (binary_expression "iVar8 == 0x11" identifier == number_literal) )) (compound_statement "{\n      FUN_00065bb0(local_2b8,uVar22);\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }" { (expression_statement "FUN_00065bb0(local_2b8,uVar22);" (call_expression "FUN_00065bb0(local_2b8,uVar22)" identifier (argument_list "(local_2b8,uVar22)" ( identifier , identifier ))) ;) (expression_statement "puVar21 = (undefined1 *)0x7fffffff;" (assignment_expression "puVar21 = (undefined1 *)0x7fffffff" identifier = (cast_expression "(undefined1 *)0x7fffffff" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;) })) (if_statement "if (iVar8 == 0xf) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x287c);\n      goto LAB_00066938;\n    }" if (parenthesized_expression "(iVar8 == 0xf)" ( (binary_expression "iVar8 == 0xf" identifier == number_literal) )) (compound_statement "{\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x287c);\n      goto LAB_00066938;\n    }" { (expression_statement "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x287c);" (call_expression "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x287c)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" ( (pointer_expression "*(code *)PTR_FUN_001311d0" * (cast_expression "(code *)PTR_FUN_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x287c)" ( (binary_expression "PTR_FUN_001311a4 + -0x2874" identifier + number_literal) , (binary_expression "PTR_FUN_001311a4 + -0x287c" identifier + number_literal) ))) ;) (goto_statement "goto LAB_00066938;" goto statement_identifier ;) })) (if_statement "if (local_2a2 == 0) goto LAB_000662f4;" if (parenthesized_expression "(local_2a2 == 0)" ( (binary_expression "local_2a2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;)) (if_statement "if (PTR_DAT_00131178[0x23df] == '\x01') {\n      iVar8 = FUN_00069990(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }\n    else {\n      iVar8 = FUN_00064ae0(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }" if (parenthesized_expression "(PTR_DAT_00131178[0x23df] == '\x01')" ( (binary_expression "PTR_DAT_00131178[0x23df] == '\x01'" (subscript_expression "PTR_DAT_00131178[0x23df]" identifier [ number_literal ]) == (char_literal "'\x01'" ' escape_sequence ')) )) (compound_statement "{\n      iVar8 = FUN_00069990(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }" { (expression_statement "iVar8 = FUN_00069990(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));" (assignment_expression "iVar8 = FUN_00069990(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004))" identifier = (call_expression "FUN_00069990(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004))" identifier (argument_list "(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004))" ( identifier , (pointer_expression "*(undefined4 *)(local_2f0 + 0x1004)" * (cast_expression "(undefined4 *)(local_2f0 + 0x1004)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_2f0 + 0x1004)" ( (binary_expression "local_2f0 + 0x1004" identifier + number_literal) )))) )))) ;) }) (else_clause "else {\n      iVar8 = FUN_00064ae0(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }" else (compound_statement "{\n      iVar8 = FUN_00064ae0(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }" { (expression_statement "iVar8 = FUN_00064ae0(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));" (assignment_expression "iVar8 = FUN_00064ae0(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004))" identifier = (call_expression "FUN_00064ae0(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004))" identifier (argument_list "(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004))" ( identifier , (pointer_expression "*(undefined4 *)(local_2f0 + 0x1004)" * (cast_expression "(undefined4 *)(local_2f0 + 0x1004)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_2f0 + 0x1004)" ( (binary_expression "local_2f0 + 0x1004" identifier + number_literal) )))) )))) ;) }))) (if_statement "if (iVar8 == -1) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2868);\n      (*(code *)PTR_sleep_0013211c)(local_2c0);\n      (*unaff_s7)((int)(char)PTR_DAT_00131178[0x23df]);\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }" if (parenthesized_expression "(iVar8 == -1)" ( (binary_expression "iVar8 == -1" identifier == number_literal) )) (compound_statement "{\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2868);\n      (*(code *)PTR_sleep_0013211c)(local_2c0);\n      (*unaff_s7)((int)(char)PTR_DAT_00131178[0x23df]);\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }" { (expression_statement "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2868);" (call_expression "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2868)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" ( (pointer_expression "*(code *)PTR_FUN_001311d0" * (cast_expression "(code *)PTR_FUN_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_FUN_001311a4 + -0x2868)" ( (binary_expression "PTR_FUN_001311a4 + -0x2868" identifier + number_literal) ))) ;) (expression_statement "(*(code *)PTR_sleep_0013211c)(local_2c0);" (call_expression "(*(code *)PTR_sleep_0013211c)(local_2c0)" (parenthesized_expression "(*(code *)PTR_sleep_0013211c)" ( (pointer_expression "*(code *)PTR_sleep_0013211c" * (cast_expression "(code *)PTR_sleep_0013211c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_2c0)" ( identifier ))) ;) (expression_statement "(*unaff_s7)((int)(char)PTR_DAT_00131178[0x23df]);" (call_expression "(*unaff_s7)((int)(char)PTR_DAT_00131178[0x23df])" (parenthesized_expression "(*unaff_s7)" ( (pointer_expression "*unaff_s7" * identifier) )) (argument_list "((int)(char)PTR_DAT_00131178[0x23df])" ( (cast_expression "(int)(char)PTR_DAT_00131178[0x23df]" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)PTR_DAT_00131178[0x23df]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "PTR_DAT_00131178[0x23df]" identifier [ number_literal ]))) ))) ;) (expression_statement "iVar8 = (*(code *)PTR_FUN_001317c0)();" (assignment_expression "iVar8 = (*(code *)PTR_FUN_001317c0)()" identifier = (call_expression "(*(code *)PTR_FUN_001317c0)()" (parenthesized_expression "(*(code *)PTR_FUN_001317c0)" ( (pointer_expression "*(code *)PTR_FUN_001317c0" * (cast_expression "(code *)PTR_FUN_001317c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puVar19 = puVar19 + (iVar8 - iVar11);" (assignment_expression "puVar19 = puVar19 + (iVar8 - iVar11)" identifier = (binary_expression "puVar19 + (iVar8 - iVar11)" identifier + (parenthesized_expression "(iVar8 - iVar11)" ( (binary_expression "iVar8 - iVar11" identifier - identifier) )))) ;) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;) })) (expression_statement "iVar13 = (*(code *)PTR_FUN_001317c0)();" (assignment_expression "iVar13 = (*(code *)PTR_FUN_001317c0)()" identifier = (call_expression "(*(code *)PTR_FUN_001317c0)()" (parenthesized_expression "(*(code *)PTR_FUN_001317c0)" ( (pointer_expression "*(code *)PTR_FUN_001317c0" * (cast_expression "(code *)PTR_FUN_001317c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puVar19 = puVar19 + (iVar13 - iVar11);" (assignment_expression "puVar19 = puVar19 + (iVar13 - iVar11)" identifier = (binary_expression "puVar19 + (iVar13 - iVar11)" identifier + (parenthesized_expression "(iVar13 - iVar11)" ( (binary_expression "iVar13 - iVar11" identifier - identifier) )))) ;) (if_statement "if ((((iVar8 < 0) || (local_29c != local_2f8)) || (local_29e != '\x06')) ||\n       (iVar8 = (*(code *)PTR_memcmp_0013212c)(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)\n       , iVar8 != 0)) goto LAB_000662f4;" if (parenthesized_expression "((((iVar8 < 0) || (local_29c != local_2f8)) || (local_29e != '\x06')) ||\n       (iVar8 = (*(code *)PTR_memcmp_0013212c)(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)\n       , iVar8 != 0))" ( (binary_expression "(((iVar8 < 0) || (local_29c != local_2f8)) || (local_29e != '\x06')) ||\n       (iVar8 = (*(code *)PTR_memcmp_0013212c)(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)\n       , iVar8 != 0)" (parenthesized_expression "(((iVar8 < 0) || (local_29c != local_2f8)) || (local_29e != '\x06'))" ( (binary_expression "((iVar8 < 0) || (local_29c != local_2f8)) || (local_29e != '\x06')" (parenthesized_expression "((iVar8 < 0) || (local_29c != local_2f8))" ( (binary_expression "(iVar8 < 0) || (local_29c != local_2f8)" (parenthesized_expression "(iVar8 < 0)" ( (binary_expression "iVar8 < 0" identifier < number_literal) )) || (parenthesized_expression "(local_29c != local_2f8)" ( (binary_expression "local_29c != local_2f8" identifier != identifier) ))) )) || (parenthesized_expression "(local_29e != '\x06')" ( (binary_expression "local_29e != '\x06'" identifier != (char_literal "'\x06'" ' escape_sequence ')) ))) )) || (parenthesized_expression "(iVar8 = (*(code *)PTR_memcmp_0013212c)(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)\n       , iVar8 != 0)" ( (comma_expression "iVar8 = (*(code *)PTR_memcmp_0013212c)(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)\n       , iVar8 != 0" (assignment_expression "iVar8 = (*(code *)PTR_memcmp_0013212c)(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)" identifier = (call_expression "(*(code *)PTR_memcmp_0013212c)(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)" (parenthesized_expression "(*(code *)PTR_memcmp_0013212c)" ( (pointer_expression "*(code *)PTR_memcmp_0013212c" * (cast_expression "(code *)PTR_memcmp_0013212c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)" ( identifier , (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x200" identifier + number_literal) , number_literal )))) , (binary_expression "iVar8 != 0" identifier != number_literal)) ))) )) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;)) (expression_statement "pcVar14 = (char *)FUN_0006a9b8(auStack_2a0,0x35);" (assignment_expression "pcVar14 = (char *)FUN_0006a9b8(auStack_2a0,0x35)" identifier = (cast_expression "(char *)FUN_0006a9b8(auStack_2a0,0x35)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0006a9b8(auStack_2a0,0x35)" identifier (argument_list "(auStack_2a0,0x35)" ( identifier , number_literal ))))) ;) (expression_statement "uVar9 = local_2b8;" (assignment_expression "uVar9 = local_2b8" identifier = identifier) ;) (if_statement "if (pcVar14 == (char *)0x0) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2844);\n      goto LAB_000662f4;\n    }" if (parenthesized_expression "(pcVar14 == (char *)0x0)" ( (binary_expression "pcVar14 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2844);\n      goto LAB_000662f4;\n    }" { (expression_statement "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2844);" (call_expression "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2844)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" ( (pointer_expression "*(code *)PTR_FUN_001311d0" * (cast_expression "(code *)PTR_FUN_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_FUN_001311a4 + -0x2844)" ( (binary_expression "PTR_FUN_001311a4 + -0x2844" identifier + number_literal) ))) ;) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;) })) (expression_statement "iVar8 = (int)(char)PTR_DAT_00131178[0x23de];" (assignment_expression "iVar8 = (int)(char)PTR_DAT_00131178[0x23de]" identifier = (cast_expression "(int)(char)PTR_DAT_00131178[0x23de]" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)PTR_DAT_00131178[0x23de]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "PTR_DAT_00131178[0x23de]" identifier [ number_literal ])))) ;) (expression_statement "puVar20 = (undefined1 *)0x0;" (assignment_expression "puVar20 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (iVar8 != 1) {\n      if (iVar8 < 2) {\n        if ((iVar8 == 0) && (*pcVar14 == '\x02')) {\n          local_2b8 = 0;\n          puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36);\n          if (puVar15 == (uint *)0x0) {\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }\n          else {\n            local_2b8 = *puVar15;\n          }\n          PTR_DAT_00131178[0x23de] = 1;\n          puVar19 = (undefined1 *)0x0;\n          uVar22 = local_290;\n          unaff_s0 = puVar20;\n          puVar21 = puVar20;\n        }\n        goto LAB_000662f4;\n      }\n      if (2 < (iVar8 - 3U & 0xff)) goto LAB_000662f4;\n    }" if (parenthesized_expression "(iVar8 != 1)" ( (binary_expression "iVar8 != 1" identifier != number_literal) )) (compound_statement "{\n      if (iVar8 < 2) {\n        if ((iVar8 == 0) && (*pcVar14 == '\x02')) {\n          local_2b8 = 0;\n          puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36);\n          if (puVar15 == (uint *)0x0) {\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }\n          else {\n            local_2b8 = *puVar15;\n          }\n          PTR_DAT_00131178[0x23de] = 1;\n          puVar19 = (undefined1 *)0x0;\n          uVar22 = local_290;\n          unaff_s0 = puVar20;\n          puVar21 = puVar20;\n        }\n        goto LAB_000662f4;\n      }\n      if (2 < (iVar8 - 3U & 0xff)) goto LAB_000662f4;\n    }" { (if_statement "if (iVar8 < 2) {\n        if ((iVar8 == 0) && (*pcVar14 == '\x02')) {\n          local_2b8 = 0;\n          puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36);\n          if (puVar15 == (uint *)0x0) {\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }\n          else {\n            local_2b8 = *puVar15;\n          }\n          PTR_DAT_00131178[0x23de] = 1;\n          puVar19 = (undefined1 *)0x0;\n          uVar22 = local_290;\n          unaff_s0 = puVar20;\n          puVar21 = puVar20;\n        }\n        goto LAB_000662f4;\n      }" if (parenthesized_expression "(iVar8 < 2)" ( (binary_expression "iVar8 < 2" identifier < number_literal) )) (compound_statement "{\n        if ((iVar8 == 0) && (*pcVar14 == '\x02')) {\n          local_2b8 = 0;\n          puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36);\n          if (puVar15 == (uint *)0x0) {\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }\n          else {\n            local_2b8 = *puVar15;\n          }\n          PTR_DAT_00131178[0x23de] = 1;\n          puVar19 = (undefined1 *)0x0;\n          uVar22 = local_290;\n          unaff_s0 = puVar20;\n          puVar21 = puVar20;\n        }\n        goto LAB_000662f4;\n      }" { (if_statement "if ((iVar8 == 0) && (*pcVar14 == '\x02')) {\n          local_2b8 = 0;\n          puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36);\n          if (puVar15 == (uint *)0x0) {\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }\n          else {\n            local_2b8 = *puVar15;\n          }\n          PTR_DAT_00131178[0x23de] = 1;\n          puVar19 = (undefined1 *)0x0;\n          uVar22 = local_290;\n          unaff_s0 = puVar20;\n          puVar21 = puVar20;\n        }" if (parenthesized_expression "((iVar8 == 0) && (*pcVar14 == '\x02'))" ( (binary_expression "(iVar8 == 0) && (*pcVar14 == '\x02')" (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) && (parenthesized_expression "(*pcVar14 == '\x02')" ( (binary_expression "*pcVar14 == '\x02'" (pointer_expression "*pcVar14" * identifier) == (char_literal "'\x02'" ' escape_sequence ')) ))) )) (compound_statement "{\n          local_2b8 = 0;\n          puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36);\n          if (puVar15 == (uint *)0x0) {\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }\n          else {\n            local_2b8 = *puVar15;\n          }\n          PTR_DAT_00131178[0x23de] = 1;\n          puVar19 = (undefined1 *)0x0;\n          uVar22 = local_290;\n          unaff_s0 = puVar20;\n          puVar21 = puVar20;\n        }" { (expression_statement "local_2b8 = 0;" (assignment_expression "local_2b8 = 0" identifier = number_literal) ;) (expression_statement "puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36);" (assignment_expression "puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36)" identifier = (cast_expression "(uint *)FUN_0006aac8(auStack_2a0,0x36)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0006aac8(auStack_2a0,0x36)" identifier (argument_list "(auStack_2a0,0x36)" ( identifier , number_literal ))))) ;) (if_statement "if (puVar15 == (uint *)0x0) {\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }\n          else {\n            local_2b8 = *puVar15;\n          }" if (parenthesized_expression "(puVar15 == (uint *)0x0)" ( (binary_expression "puVar15 == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }" { (expression_statement "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);" (call_expression "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" ( (pointer_expression "*(code *)PTR_FUN_001311d0" * (cast_expression "(code *)PTR_FUN_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_FUN_001311a4 + -0x281c)" ( (binary_expression "PTR_FUN_001311a4 + -0x281c" identifier + number_literal) ))) ;) }) (else_clause "else {\n            local_2b8 = *puVar15;\n          }" else (compound_statement "{\n            local_2b8 = *puVar15;\n          }" { (expression_statement "local_2b8 = *puVar15;" (assignment_expression "local_2b8 = *puVar15" identifier = (pointer_expression "*puVar15" * identifier)) ;) }))) (expression_statement "PTR_DAT_00131178[0x23de] = 1;" (assignment_expression "PTR_DAT_00131178[0x23de] = 1" (subscript_expression "PTR_DAT_00131178[0x23de]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar19 = (undefined1 *)0x0;" (assignment_expression "puVar19 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar22 = local_290;" (assignment_expression "uVar22 = local_290" identifier = identifier) ;) (expression_statement "unaff_s0 = puVar20;" (assignment_expression "unaff_s0 = puVar20" identifier = identifier) ;) (expression_statement "puVar21 = puVar20;" (assignment_expression "puVar21 = puVar20" identifier = identifier) ;) })) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;) })) (if_statement "if (2 < (iVar8 - 3U & 0xff)) goto LAB_000662f4;" if (parenthesized_expression "(2 < (iVar8 - 3U & 0xff))" ( (binary_expression "2 < (iVar8 - 3U & 0xff)" number_literal < (parenthesized_expression "(iVar8 - 3U & 0xff)" ( (binary_expression "iVar8 - 3U & 0xff" (binary_expression "iVar8 - 3U" identifier - number_literal) & number_literal) ))) )) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;)) })) (if_statement "if (*pcVar14 != '\x05') {\n      if ((*pcVar14 == '\x06') &&\n         ((local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)))))) {\n        (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x2778);\n        (*local_2fc)(auStack_2a0,PTR_FUN_001311a4 + -0x276c);\n        if (PTR_DAT_00131178[0x23de] != '\x01') {\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n        }\n        (*unaff_s7)(2);\n        (*(code *)PTR_sleep_0013211c)(3);\n        PTR_DAT_00131178[0x23de] = 0;\n        puVar18 = PTR_bb_common_bufsiz1_0013136c;\n        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n        puVar18[0x24d] = 0;\n        puVar19 = (undefined1 *)0x0;\n        uVar22 = 0;\n        unaff_s0 = puVar20;\n        puVar21 = puVar20;\n      }\n      goto LAB_000662f4;\n    }" if (parenthesized_expression "(*pcVar14 != '\x05')" ( (binary_expression "*pcVar14 != '\x05'" (pointer_expression "*pcVar14" * identifier) != (char_literal "'\x05'" ' escape_sequence ')) )) (compound_statement "{\n      if ((*pcVar14 == '\x06') &&\n         ((local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)))))) {\n        (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x2778);\n        (*local_2fc)(auStack_2a0,PTR_FUN_001311a4 + -0x276c);\n        if (PTR_DAT_00131178[0x23de] != '\x01') {\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n        }\n        (*unaff_s7)(2);\n        (*(code *)PTR_sleep_0013211c)(3);\n        PTR_DAT_00131178[0x23de] = 0;\n        puVar18 = PTR_bb_common_bufsiz1_0013136c;\n        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n        puVar18[0x24d] = 0;\n        puVar19 = (undefined1 *)0x0;\n        uVar22 = 0;\n        unaff_s0 = puVar20;\n        puVar21 = puVar20;\n      }\n      goto LAB_000662f4;\n    }" { (if_statement "if ((*pcVar14 == '\x06') &&\n         ((local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)))))) {\n        (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x2778);\n        (*local_2fc)(auStack_2a0,PTR_FUN_001311a4 + -0x276c);\n        if (PTR_DAT_00131178[0x23de] != '\x01') {\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n        }\n        (*unaff_s7)(2);\n        (*(code *)PTR_sleep_0013211c)(3);\n        PTR_DAT_00131178[0x23de] = 0;\n        puVar18 = PTR_bb_common_bufsiz1_0013136c;\n        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n        puVar18[0x24d] = 0;\n        puVar19 = (undefined1 *)0x0;\n        uVar22 = 0;\n        unaff_s0 = puVar20;\n        puVar21 = puVar20;\n      }" if (parenthesized_expression "((*pcVar14 == '\x06') &&\n         ((local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4))))))" ( (binary_expression "(*pcVar14 == '\x06') &&\n         ((local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)))))" (parenthesized_expression "(*pcVar14 == '\x06')" ( (binary_expression "*pcVar14 == '\x06'" (pointer_expression "*pcVar14" * identifier) == (char_literal "'\x06'" ' escape_sequence ')) )) && (parenthesized_expression "((local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)))))" ( (parenthesized_expression "(local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4))))" ( (binary_expression "local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)))" (binary_expression "local_2b8 == 0" identifier == number_literal) || (parenthesized_expression "((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)))" ( (parenthesized_expression "(puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4))" ( (comma_expression "puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)" (assignment_expression "puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36)" identifier = (cast_expression "(uint *)FUN_0006aac8(auStack_2a0,0x36)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0006aac8(auStack_2a0,0x36)" identifier (argument_list "(auStack_2a0,0x36)" ( identifier , number_literal ))))) , (binary_expression "puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)" (binary_expression "puVar15 != (uint *)0x0" identifier != (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) && (parenthesized_expression "(local_2b4 = *puVar15, uVar9 == local_2b4)" ( (comma_expression "local_2b4 = *puVar15, uVar9 == local_2b4" (assignment_expression "local_2b4 = *puVar15" identifier = (pointer_expression "*puVar15" * identifier)) , (binary_expression "uVar9 == local_2b4" identifier == identifier)) )))) )) ))) )) ))) )) (compound_statement "{\n        (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x2778);\n        (*local_2fc)(auStack_2a0,PTR_FUN_001311a4 + -0x276c);\n        if (PTR_DAT_00131178[0x23de] != '\x01') {\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n        }\n        (*unaff_s7)(2);\n        (*(code *)PTR_sleep_0013211c)(3);\n        PTR_DAT_00131178[0x23de] = 0;\n        puVar18 = PTR_bb_common_bufsiz1_0013136c;\n        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n        puVar18[0x24d] = 0;\n        puVar19 = (undefined1 *)0x0;\n        uVar22 = 0;\n        unaff_s0 = puVar20;\n        puVar21 = puVar20;\n      }" { (expression_statement "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x2778);" (call_expression "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x2778)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" ( (pointer_expression "*(code *)PTR_FUN_001311d0" * (cast_expression "(code *)PTR_FUN_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x2778)" ( (binary_expression "PTR_FUN_001311a4 + -0x2874" identifier + number_literal) , (binary_expression "PTR_FUN_001311a4 + -0x2778" identifier + number_literal) ))) ;) (expression_statement "(*local_2fc)(auStack_2a0,PTR_FUN_001311a4 + -0x276c);" (call_expression "(*local_2fc)(auStack_2a0,PTR_FUN_001311a4 + -0x276c)" (parenthesized_expression "(*local_2fc)" ( (pointer_expression "*local_2fc" * identifier) )) (argument_list "(auStack_2a0,PTR_FUN_001311a4 + -0x276c)" ( identifier , (binary_expression "PTR_FUN_001311a4 + -0x276c" identifier + number_literal) ))) ;) (if_statement "if (PTR_DAT_00131178[0x23de] != '\x01') {\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n        }" if (parenthesized_expression "(PTR_DAT_00131178[0x23de] != '\x01')" ( (binary_expression "PTR_DAT_00131178[0x23de] != '\x01'" (subscript_expression "PTR_DAT_00131178[0x23de]" identifier [ number_literal ]) != (char_literal "'\x01'" ' escape_sequence ')) )) (compound_statement "{\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n        }" { (expression_statement "(*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);" (call_expression "(*local_2fc)(0,PTR_FUN_001311a4 + -0x2984)" (parenthesized_expression "(*local_2fc)" ( (pointer_expression "*local_2fc" * identifier) )) (argument_list "(0,PTR_FUN_001311a4 + -0x2984)" ( number_literal , (binary_expression "PTR_FUN_001311a4 + -0x2984" identifier + number_literal) ))) ;) })) (expression_statement "(*unaff_s7)(2);" (call_expression "(*unaff_s7)(2)" (parenthesized_expression "(*unaff_s7)" ( (pointer_expression "*unaff_s7" * identifier) )) (argument_list "(2)" ( number_literal ))) ;) (expression_statement "(*(code *)PTR_sleep_0013211c)(3);" (call_expression "(*(code *)PTR_sleep_0013211c)(3)" (parenthesized_expression "(*(code *)PTR_sleep_0013211c)" ( (pointer_expression "*(code *)PTR_sleep_0013211c" * (cast_expression "(code *)PTR_sleep_0013211c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3)" ( number_literal ))) ;) (expression_statement "PTR_DAT_00131178[0x23de] = 0;" (assignment_expression "PTR_DAT_00131178[0x23de] = 0" (subscript_expression "PTR_DAT_00131178[0x23de]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar18 = PTR_bb_common_bufsiz1_0013136c;" (assignment_expression "puVar18 = PTR_bb_common_bufsiz1_0013136c" identifier = identifier) ;) (expression_statement "PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;" (assignment_expression "PTR_bb_common_bufsiz1_0013136c[0x24c] = 0" (subscript_expression "PTR_bb_common_bufsiz1_0013136c[0x24c]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar18[0x24d] = 0;" (assignment_expression "puVar18[0x24d] = 0" (subscript_expression "puVar18[0x24d]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar19 = (undefined1 *)0x0;" (assignment_expression "puVar19 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar22 = 0;" (assignment_expression "uVar22 = 0" identifier = number_literal) ;) (expression_statement "unaff_s0 = puVar20;" (assignment_expression "unaff_s0 = puVar20" identifier = identifier) ;) (expression_statement "puVar21 = puVar20;" (assignment_expression "puVar21 = puVar20" identifier = identifier) ;) })) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;) })) (expression_statement "puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x33);" (assignment_expression "puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x33)" identifier = (cast_expression "(uint *)FUN_0006aac8(auStack_2a0,0x33)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0006aac8(auStack_2a0,0x33)" identifier (argument_list "(auStack_2a0,0x33)" ( identifier , number_literal ))))) ;) (if_statement "if (puVar15 == (uint *)0x0) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2800);\n      local_2b4 = 0xe10;\n    }\n    else {\n      local_2b4 = *puVar15;\n      if (local_2b4 < 0x7a) {\n        local_2b4 = 0x7a;\n      }\n    }" if (parenthesized_expression "(puVar15 == (uint *)0x0)" ( (binary_expression "puVar15 == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2800);\n      local_2b4 = 0xe10;\n    }" { (expression_statement "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2800);" (call_expression "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2800)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" ( (pointer_expression "*(code *)PTR_FUN_001311d0" * (cast_expression "(code *)PTR_FUN_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_FUN_001311a4 + -0x2800)" ( (binary_expression "PTR_FUN_001311a4 + -0x2800" identifier + number_literal) ))) ;) (expression_statement "local_2b4 = 0xe10;" (assignment_expression "local_2b4 = 0xe10" identifier = number_literal) ;) }) (else_clause "else {\n      local_2b4 = *puVar15;\n      if (local_2b4 < 0x7a) {\n        local_2b4 = 0x7a;\n      }\n    }" else (compound_statement "{\n      local_2b4 = *puVar15;\n      if (local_2b4 < 0x7a) {\n        local_2b4 = 0x7a;\n      }\n    }" { (expression_statement "local_2b4 = *puVar15;" (assignment_expression "local_2b4 = *puVar15" identifier = (pointer_expression "*puVar15" * identifier)) ;) (if_statement "if (local_2b4 < 0x7a) {\n        local_2b4 = 0x7a;\n      }" if (parenthesized_expression "(local_2b4 < 0x7a)" ( (binary_expression "local_2b4 < 0x7a" identifier < number_literal) )) (compound_statement "{\n        local_2b4 = 0x7a;\n      }" { (expression_statement "local_2b4 = 0x7a;" (assignment_expression "local_2b4 = 0x7a" identifier = number_literal) ;) })) }))) (if_statement "if (((int)(uVar6 << 9) < 0) &&\n       (iVar8 = FUN_0006a564(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7),\n       iVar8 == 0)) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x27d4);\n      FUN_00064864(local_2b8,local_290);\n      if (PTR_DAT_00131178[0x23de] != '\x01') {\n        (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n      }\n      (*unaff_s7)(2);\n      PTR_DAT_00131178[0x23de] = 0;\n      puVar18 = PTR_bb_common_bufsiz1_0013136c;\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      puVar19 = (undefined1 *)0x0;\n      uVar22 = 0;\n      unaff_s0 = (undefined1 *)0x0;\n      puVar21 = local_2c4;\n      goto LAB_000662f4;\n    }" if (parenthesized_expression "(((int)(uVar6 << 9) < 0) &&\n       (iVar8 = FUN_0006a564(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7),\n       iVar8 == 0))" ( (binary_expression "((int)(uVar6 << 9) < 0) &&\n       (iVar8 = FUN_0006a564(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7),\n       iVar8 == 0)" (parenthesized_expression "((int)(uVar6 << 9) < 0)" ( (binary_expression "(int)(uVar6 << 9) < 0" (cast_expression "(int)(uVar6 << 9)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar6 << 9)" ( (binary_expression "uVar6 << 9" identifier << number_literal) ))) < number_literal) )) && (parenthesized_expression "(iVar8 = FUN_0006a564(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7),\n       iVar8 == 0)" ( (comma_expression "iVar8 = FUN_0006a564(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7),\n       iVar8 == 0" (assignment_expression "iVar8 = FUN_0006a564(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7)" identifier = (call_expression "FUN_0006a564(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7)" identifier (argument_list "(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7)" ( identifier , number_literal , number_literal , (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x200" identifier + number_literal) , (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c)" * (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x22c)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x22c" identifier + number_literal) )))) , identifier )))) , (binary_expression "iVar8 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x27d4);\n      FUN_00064864(local_2b8,local_290);\n      if (PTR_DAT_00131178[0x23de] != '\x01') {\n        (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n      }\n      (*unaff_s7)(2);\n      PTR_DAT_00131178[0x23de] = 0;\n      puVar18 = PTR_bb_common_bufsiz1_0013136c;\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      puVar19 = (undefined1 *)0x0;\n      uVar22 = 0;\n      unaff_s0 = (undefined1 *)0x0;\n      puVar21 = local_2c4;\n      goto LAB_000662f4;\n    }" { (expression_statement "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x27d4);" (call_expression "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x27d4)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" ( (pointer_expression "*(code *)PTR_FUN_001311d0" * (cast_expression "(code *)PTR_FUN_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_FUN_001311a4 + -0x27d4)" ( (binary_expression "PTR_FUN_001311a4 + -0x27d4" identifier + number_literal) ))) ;) (expression_statement "FUN_00064864(local_2b8,local_290);" (call_expression "FUN_00064864(local_2b8,local_290)" identifier (argument_list "(local_2b8,local_290)" ( identifier , identifier ))) ;) (if_statement "if (PTR_DAT_00131178[0x23de] != '\x01') {\n        (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n      }" if (parenthesized_expression "(PTR_DAT_00131178[0x23de] != '\x01')" ( (binary_expression "PTR_DAT_00131178[0x23de] != '\x01'" (subscript_expression "PTR_DAT_00131178[0x23de]" identifier [ number_literal ]) != (char_literal "'\x01'" ' escape_sequence ')) )) (compound_statement "{\n        (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n      }" { (expression_statement "(*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);" (call_expression "(*local_2fc)(0,PTR_FUN_001311a4 + -0x2984)" (parenthesized_expression "(*local_2fc)" ( (pointer_expression "*local_2fc" * identifier) )) (argument_list "(0,PTR_FUN_001311a4 + -0x2984)" ( number_literal , (binary_expression "PTR_FUN_001311a4 + -0x2984" identifier + number_literal) ))) ;) })) (expression_statement "(*unaff_s7)(2);" (call_expression "(*unaff_s7)(2)" (parenthesized_expression "(*unaff_s7)" ( (pointer_expression "*unaff_s7" * identifier) )) (argument_list "(2)" ( number_literal ))) ;) (expression_statement "PTR_DAT_00131178[0x23de] = 0;" (assignment_expression "PTR_DAT_00131178[0x23de] = 0" (subscript_expression "PTR_DAT_00131178[0x23de]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar18 = PTR_bb_common_bufsiz1_0013136c;" (assignment_expression "puVar18 = PTR_bb_common_bufsiz1_0013136c" identifier = identifier) ;) (expression_statement "PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;" (assignment_expression "PTR_bb_common_bufsiz1_0013136c[0x24c] = 0" (subscript_expression "PTR_bb_common_bufsiz1_0013136c[0x24c]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar18[0x24d] = 0;" (assignment_expression "puVar18[0x24d] = 0" (subscript_expression "puVar18[0x24d]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar19 = (undefined1 *)0x0;" (assignment_expression "puVar19 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar22 = 0;" (assignment_expression "uVar22 = 0" identifier = number_literal) ;) (expression_statement "unaff_s0 = (undefined1 *)0x0;" (assignment_expression "unaff_s0 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar21 = local_2c4;" (assignment_expression "puVar21 = local_2c4" identifier = identifier) ;) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;) })) (expression_statement "uVar10 = (*(code *)PTR_inet_ntoa_00132140)(local_290);" (assignment_expression "uVar10 = (*(code *)PTR_inet_ntoa_00132140)(local_290)" identifier = (call_expression "(*(code *)PTR_inet_ntoa_00132140)(local_290)" (parenthesized_expression "(*(code *)PTR_inet_ntoa_00132140)" ( (pointer_expression "*(code *)PTR_inet_ntoa_00132140" * (cast_expression "(code *)PTR_inet_ntoa_00132140" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_290)" ( identifier )))) ;) (expression_statement "uVar9 = local_2b4;" (assignment_expression "uVar9 = local_2b4" identifier = identifier) ;) (expression_statement "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x279c,uVar10,local_2b4);" (call_expression "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x279c,uVar10,local_2b4)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" ( (pointer_expression "*(code *)PTR_FUN_001311d0" * (cast_expression "(code *)PTR_FUN_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_FUN_001311a4 + -0x279c,uVar10,local_2b4)" ( (binary_expression "PTR_FUN_001311a4 + -0x279c" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "uVar22 = local_290;" (assignment_expression "uVar22 = local_290" identifier = identifier) ;) (expression_statement "iVar8 = (*(code *)PTR_FUN_001317c0)();" (assignment_expression "iVar8 = (*(code *)PTR_FUN_001317c0)()" identifier = (call_expression "(*(code *)PTR_FUN_001317c0)()" (parenthesized_expression "(*(code *)PTR_FUN_001317c0)" ( (pointer_expression "*(code *)PTR_FUN_001317c0" * (cast_expression "(code *)PTR_FUN_001317c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (PTR_DAT_00131178[0x23de] == '\x01') {\n      puVar18 = PTR_FUN_001311a4 + -0x2978;\n    }\n    else {\n      puVar18 = PTR_FUN_001311a4 + -0x2884;\n    }" if (parenthesized_expression "(PTR_DAT_00131178[0x23de] == '\x01')" ( (binary_expression "PTR_DAT_00131178[0x23de] == '\x01'" (subscript_expression "PTR_DAT_00131178[0x23de]" identifier [ number_literal ]) == (char_literal "'\x01'" ' escape_sequence ')) )) (compound_statement "{\n      puVar18 = PTR_FUN_001311a4 + -0x2978;\n    }" { (expression_statement "puVar18 = PTR_FUN_001311a4 + -0x2978;" (assignment_expression "puVar18 = PTR_FUN_001311a4 + -0x2978" identifier = (binary_expression "PTR_FUN_001311a4 + -0x2978" identifier + number_literal)) ;) }) (else_clause "else {\n      puVar18 = PTR_FUN_001311a4 + -0x2884;\n    }" else (compound_statement "{\n      puVar18 = PTR_FUN_001311a4 + -0x2884;\n    }" { (expression_statement "puVar18 = PTR_FUN_001311a4 + -0x2884;" (assignment_expression "puVar18 = PTR_FUN_001311a4 + -0x2884" identifier = (binary_expression "PTR_FUN_001311a4 + -0x2884" identifier + number_literal)) ;) }))) (expression_statement "(*local_2fc)(auStack_2a0,puVar18);" (call_expression "(*local_2fc)(auStack_2a0,puVar18)" (parenthesized_expression "(*local_2fc)" ( (pointer_expression "*local_2fc" * identifier) )) (argument_list "(auStack_2a0,puVar18)" ( identifier , identifier ))) ;) (expression_statement "iVar11 = (*(code *)PTR_FUN_001317c0)();" (assignment_expression "iVar11 = (*(code *)PTR_FUN_001317c0)()" identifier = (call_expression "(*(code *)PTR_FUN_001317c0)()" (parenthesized_expression "(*(code *)PTR_FUN_001317c0)" ( (pointer_expression "*(code *)PTR_FUN_001317c0" * (cast_expression "(code *)PTR_FUN_001317c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puVar19 = (undefined1 *)(iVar11 - iVar8);" (assignment_expression "puVar19 = (undefined1 *)(iVar11 - iVar8)" identifier = (cast_expression "(undefined1 *)(iVar11 - iVar8)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 - iVar8)" ( (binary_expression "iVar11 - iVar8" identifier - identifier) )))) ;) (expression_statement "puVar21 = (undefined1 *)(uVar9 >> 1);" (assignment_expression "puVar21 = (undefined1 *)(uVar9 >> 1)" identifier = (cast_expression "(undefined1 *)(uVar9 >> 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar9 >> 1)" ( (binary_expression "uVar9 >> 1" identifier >> number_literal) )))) ;) (if_statement "if (puVar21 < puVar19) {\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = puVar20;\n    }" if (parenthesized_expression "(puVar21 < puVar19)" ( (binary_expression "puVar21 < puVar19" identifier < identifier) )) (compound_statement "{\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = puVar20;\n    }" { (expression_statement "puVar19 = (undefined1 *)0x0;" (assignment_expression "puVar19 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar21 = puVar20;" (assignment_expression "puVar21 = puVar20" identifier = identifier) ;) })) (expression_statement "PTR_DAT_00131178[0x23de] = 2;" (assignment_expression "PTR_DAT_00131178[0x23de] = 2" (subscript_expression "PTR_DAT_00131178[0x23de]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "(*unaff_s7)(0);" (call_expression "(*unaff_s7)(0)" (parenthesized_expression "(*unaff_s7)" ( (pointer_expression "*unaff_s7" * identifier) )) (argument_list "(0)" ( number_literal ))) ;) (if_statement "if ((uVar6 & 0x100) == 0) {\n      if ((int)(uVar6 << 0xc) < 0) {\n        uVar6 = uVar6 & 0xffffffbf;\n      }\n      else {\n        FUN_000643f4();\n        uVar6 = uVar6 & 0xffd7ffbf | 0x80000;\n      }\n      goto LAB_000662f4;\n    }" if (parenthesized_expression "((uVar6 & 0x100) == 0)" ( (binary_expression "(uVar6 & 0x100) == 0" (parenthesized_expression "(uVar6 & 0x100)" ( (binary_expression "uVar6 & 0x100" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      if ((int)(uVar6 << 0xc) < 0) {\n        uVar6 = uVar6 & 0xffffffbf;\n      }\n      else {\n        FUN_000643f4();\n        uVar6 = uVar6 & 0xffd7ffbf | 0x80000;\n      }\n      goto LAB_000662f4;\n    }" { (if_statement "if ((int)(uVar6 << 0xc) < 0) {\n        uVar6 = uVar6 & 0xffffffbf;\n      }\n      else {\n        FUN_000643f4();\n        uVar6 = uVar6 & 0xffd7ffbf | 0x80000;\n      }" if (parenthesized_expression "((int)(uVar6 << 0xc) < 0)" ( (binary_expression "(int)(uVar6 << 0xc) < 0" (cast_expression "(int)(uVar6 << 0xc)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar6 << 0xc)" ( (binary_expression "uVar6 << 0xc" identifier << number_literal) ))) < number_literal) )) (compound_statement "{\n        uVar6 = uVar6 & 0xffffffbf;\n      }" { (expression_statement "uVar6 = uVar6 & 0xffffffbf;" (assignment_expression "uVar6 = uVar6 & 0xffffffbf" identifier = (binary_expression "uVar6 & 0xffffffbf" identifier & number_literal)) ;) }) (else_clause "else {\n        FUN_000643f4();\n        uVar6 = uVar6 & 0xffd7ffbf | 0x80000;\n      }" else (compound_statement "{\n        FUN_000643f4();\n        uVar6 = uVar6 & 0xffd7ffbf | 0x80000;\n      }" { (expression_statement "FUN_000643f4();" (call_expression "FUN_000643f4()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar6 = uVar6 & 0xffd7ffbf | 0x80000;" (assignment_expression "uVar6 = uVar6 & 0xffd7ffbf | 0x80000" identifier = (binary_expression "uVar6 & 0xffd7ffbf | 0x80000" (binary_expression "uVar6 & 0xffd7ffbf" identifier & number_literal) | number_literal)) ;) }))) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;) })) }))) (labeled_statement "LAB_00066938:\n  uVar6 = uVar6 & 0x200;" statement_identifier : (expression_statement "uVar6 = uVar6 & 0x200;" (assignment_expression "uVar6 = uVar6 & 0x200" identifier = (binary_expression "uVar6 & 0x200" identifier & number_literal)) ;)) (expression_statement "unaff_s0 = puVar19;" (assignment_expression "unaff_s0 = puVar19" identifier = identifier) ;) (if_statement "if (uVar6 != 0) {\n    FUN_00065bb0(local_2b8,uVar22);\n  }" if (parenthesized_expression "(uVar6 != 0)" ( (binary_expression "uVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_00065bb0(local_2b8,uVar22);\n  }" { (expression_statement "FUN_00065bb0(local_2b8,uVar22);" (call_expression "FUN_00065bb0(local_2b8,uVar22)" identifier (argument_list "(local_2b8,uVar22)" ( identifier , identifier ))) ;) })) (while_statement "while( true ) {\n    if (*PTR_DAT_00131434 != '\0') {\n      (*(code *)PTR_unlink_001320a8)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));\n    }\nLAB_0006654c:\n    if (local_2c == *(int *)PTR___stack_chk_guard_00132164) {\n      return puVar12;\n    }\n    (*(code *)PTR___stack_chk_fail_001320e4)();\n    if ((int)unaff_s4 < 3) {\n      FUN_00064724(local_2f8,local_2b8);\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = unaff_s4 + 1;\n      puVar21 = local_2c0;\n      goto LAB_000662f4;\n    }\n    (*unaff_s7)(2);\n    PTR_DAT_00131178[0x23de] = 0;\n    (*local_2fc)(0,PTR_FUN_001311a4 + -0x28f4);\n    if ((int)(uVar6 << 10) < 0) break;\n    if ((uVar6 & 0x40) == 0) goto LAB_00066624;\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x28c8);\n    puVar12 = &DAT_00000001;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if (*PTR_DAT_00131434 != '\0') {\n      (*(code *)PTR_unlink_001320a8)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));\n    }\nLAB_0006654c:\n    if (local_2c == *(int *)PTR___stack_chk_guard_00132164) {\n      return puVar12;\n    }\n    (*(code *)PTR___stack_chk_fail_001320e4)();\n    if ((int)unaff_s4 < 3) {\n      FUN_00064724(local_2f8,local_2b8);\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = unaff_s4 + 1;\n      puVar21 = local_2c0;\n      goto LAB_000662f4;\n    }\n    (*unaff_s7)(2);\n    PTR_DAT_00131178[0x23de] = 0;\n    (*local_2fc)(0,PTR_FUN_001311a4 + -0x28f4);\n    if ((int)(uVar6 << 10) < 0) break;\n    if ((uVar6 & 0x40) == 0) goto LAB_00066624;\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x28c8);\n    puVar12 = &DAT_00000001;\n  }" { (if_statement "if (*PTR_DAT_00131434 != '\0') {\n      (*(code *)PTR_unlink_001320a8)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));\n    }" if (parenthesized_expression "(*PTR_DAT_00131434 != '\0')" ( (binary_expression "*PTR_DAT_00131434 != '\0'" (pointer_expression "*PTR_DAT_00131434" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      (*(code *)PTR_unlink_001320a8)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));\n    }" { (expression_statement "(*(code *)PTR_unlink_001320a8)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));" (call_expression "(*(code *)PTR_unlink_001320a8)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230))" (parenthesized_expression "(*(code *)PTR_unlink_001320a8)" ( (pointer_expression "*(code *)PTR_unlink_001320a8" * (cast_expression "(code *)PTR_unlink_001320a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230))" ( (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230)" * (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x230)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x230" identifier + number_literal) )))) ))) ;) })) (labeled_statement "LAB_0006654c:\n    if (local_2c == *(int *)PTR___stack_chk_guard_00132164) {\n      return puVar12;\n    }" statement_identifier : (if_statement "if (local_2c == *(int *)PTR___stack_chk_guard_00132164) {\n      return puVar12;\n    }" if (parenthesized_expression "(local_2c == *(int *)PTR___stack_chk_guard_00132164)" ( (binary_expression "local_2c == *(int *)PTR___stack_chk_guard_00132164" identifier == (pointer_expression "*(int *)PTR___stack_chk_guard_00132164" * (cast_expression "(int *)PTR___stack_chk_guard_00132164" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n      return puVar12;\n    }" { (return_statement "return puVar12;" return identifier ;) }))) (expression_statement "(*(code *)PTR___stack_chk_fail_001320e4)();" (call_expression "(*(code *)PTR___stack_chk_fail_001320e4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_001320e4)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_001320e4" * (cast_expression "(code *)PTR___stack_chk_fail_001320e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if ((int)unaff_s4 < 3) {\n      FUN_00064724(local_2f8,local_2b8);\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = unaff_s4 + 1;\n      puVar21 = local_2c0;\n      goto LAB_000662f4;\n    }" if (parenthesized_expression "((int)unaff_s4 < 3)" ( (binary_expression "(int)unaff_s4 < 3" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      FUN_00064724(local_2f8,local_2b8);\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = unaff_s4 + 1;\n      puVar21 = local_2c0;\n      goto LAB_000662f4;\n    }" { (expression_statement "FUN_00064724(local_2f8,local_2b8);" (call_expression "FUN_00064724(local_2f8,local_2b8)" identifier (argument_list "(local_2f8,local_2b8)" ( identifier , identifier ))) ;) (expression_statement "puVar19 = (undefined1 *)0x0;" (assignment_expression "puVar19 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "unaff_s0 = unaff_s4 + 1;" (assignment_expression "unaff_s0 = unaff_s4 + 1" identifier = (binary_expression "unaff_s4 + 1" identifier + number_literal)) ;) (expression_statement "puVar21 = local_2c0;" (assignment_expression "puVar21 = local_2c0" identifier = identifier) ;) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;) })) (expression_statement "(*unaff_s7)(2);" (call_expression "(*unaff_s7)(2)" (parenthesized_expression "(*unaff_s7)" ( (pointer_expression "*unaff_s7" * identifier) )) (argument_list "(2)" ( number_literal ))) ;) (expression_statement "PTR_DAT_00131178[0x23de] = 0;" (assignment_expression "PTR_DAT_00131178[0x23de] = 0" (subscript_expression "PTR_DAT_00131178[0x23de]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "(*local_2fc)(0,PTR_FUN_001311a4 + -0x28f4);" (call_expression "(*local_2fc)(0,PTR_FUN_001311a4 + -0x28f4)" (parenthesized_expression "(*local_2fc)" ( (pointer_expression "*local_2fc" * identifier) )) (argument_list "(0,PTR_FUN_001311a4 + -0x28f4)" ( number_literal , (binary_expression "PTR_FUN_001311a4 + -0x28f4" identifier + number_literal) ))) ;) (if_statement "if ((int)(uVar6 << 10) < 0) break;" if (parenthesized_expression "((int)(uVar6 << 10) < 0)" ( (binary_expression "(int)(uVar6 << 10) < 0" (cast_expression "(int)(uVar6 << 10)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar6 << 10)" ( (binary_expression "uVar6 << 10" identifier << number_literal) ))) < number_literal) )) (break_statement "break;" break ;)) (if_statement "if ((uVar6 & 0x40) == 0) goto LAB_00066624;" if (parenthesized_expression "((uVar6 & 0x40) == 0)" ( (binary_expression "(uVar6 & 0x40) == 0" (parenthesized_expression "(uVar6 & 0x40)" ( (binary_expression "uVar6 & 0x40" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_00066624;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x28c8);" (call_expression "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x28c8)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" ( (pointer_expression "*(code *)PTR_FUN_001311d0" * (cast_expression "(code *)PTR_FUN_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_FUN_001311a4 + -0x28c8)" ( (binary_expression "PTR_FUN_001311a4 + -0x28c8" identifier + number_literal) ))) ;) (expression_statement "puVar12 = &DAT_00000001;" (assignment_expression "puVar12 = &DAT_00000001" identifier = (pointer_expression "&DAT_00000001" & identifier)) ;) })) (expression_statement "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x28e8);" (call_expression "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x28e8)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" ( (pointer_expression "*(code *)PTR_FUN_001311d0" * (cast_expression "(code *)PTR_FUN_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_FUN_001311a4 + -0x28e8)" ( (binary_expression "PTR_FUN_001311a4 + -0x28e8" identifier + number_literal) ))) ;) (expression_statement "FUN_000643f4();" (call_expression "FUN_000643f4()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar6 = uVar6 & 0xffd7ffff | 0x80000;" (assignment_expression "uVar6 = uVar6 & 0xffd7ffff | 0x80000" identifier = (binary_expression "uVar6 & 0xffd7ffff | 0x80000" (binary_expression "uVar6 & 0xffd7ffff" identifier & number_literal) | number_literal)) ;) (labeled_statement "LAB_00066624:\n  puVar19 = (undefined1 *)0x0;" statement_identifier : (expression_statement "puVar19 = (undefined1 *)0x0;" (assignment_expression "puVar19 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (expression_statement "puVar21 = local_2c4;" (assignment_expression "puVar21 = local_2c4" identifier = identifier) ;) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;) })))
(translation_unit "int udhcpc_main(int argc,char **argv)\n\n{\n  byte *pbVar1;\n  byte bVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  uint32_t uVar6;\n  int iVar7;\n  uint uVar8;\n  uint8_t *puVar9;\n  uint timeo;\n  uint uVar10;\n  undefined4 uVar11;\n  int iVar12;\n  option_set *poVar13;\n  int iVar14;\n  int iVar15;\n  uint32_t *puVar16;\n  uint *puVar17;\n  uint uVar18;\n  undefined4 extraout_v1;\n  byte *pbVar19;\n  undefined *puVar20;\n  char *unaff_s0;\n  char *pcVar21;\n  char *pcVar22;\n  char *pcVar23;\n  undefined4 *unaff_s3;\n  char *unaff_s4;\n  uint32_t requested_ip;\n  char *pcVar24;\n  code *unaff_s7;\n  code *pcStack_2fc;\n  uint32_t uStack_2f8;\n  undefined *puStack_2f0;\n  code *pcStack_2ec;\n  undefined *puStack_2e4;\n  char *str_V;\n  char *str_h;\n  char *str_F;\n  char *str_r;\n  char *str_a;\n  llist_t *list_O;\n  llist_t *list_x;\n  int tryagain_timeout;\n  int discover_timeout;\n  int discover_retries;\n  uint32_t server_addr;\n  uint32_t lease_seconds;\n  pollfd pfds [2];\n  dhcp_packet packet;\n  \n  puVar20 = PTR_bb_common_bufsiz1_0013136c;\n  iVar7 = *(int *)PTR___stack_chk_guard_00132164;\n  str_a = PTR_bdcommands_4__name_4__001311a4 + -0x2970;\n  list_O = (llist_t *)0x0;\n  list_x = (llist_t *)0x0;\n  tryagain_timeout = 0x14;\n  discover_timeout = 3;\n  discover_retries = 3;\n  *(undefined **)(PTR_bb_common_bufsiz1_0013136c + 0x22c) =\n       PTR_bdcommands_4__name_4__001311a4 + -0x6598;\n  *(undefined **)(puVar20 + 0x234) = PTR_bdcommands_4__name_4__001311a4 + -0x2968;\n  str_V = PTR_bdcommands_4__name_4__001311a4 + -0x294c;\n  uVar8 = (*(code *)PTR_getopt32long_00131314)\n                    (argv,PTR_LAB_0013118c + 0x5970,PTR_DAT_001311dc + -0x227c,&str_V,&str_h,&str_h,\n                     &str_F,puVar20 + 0x22c,puVar20 + 0x230,&str_r,puVar20 + 0x234,&discover_timeout\n                     ,&discover_retries,&tryagain_timeout,&list_O,&list_x,&str_a);\n  if ((uVar8 & 0xc) != 0) {\n    (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x293c);\n    puVar9 = alloc_dhcp_option(0xc,str_h,0);\n    *(uint8_t **)(PTR_bb_common_bufsiz1_0013136c + 0x244) = puVar9;\n  }\n  if ((uVar8 & 0x10) != 0) {\n    puVar9 = alloc_dhcp_option(0x51,str_F,3);\n    *(uint8_t **)(PTR_bb_common_bufsiz1_0013136c + 0x248) = puVar9;\n    puVar9[2] = '\x01';\n  }\n  requested_ip = uVar8 & 0x400;\n  if (requested_ip != 0) {\n    requested_ip = (*(code *)PTR_inet_addr_00131d0c)(str_r);\n  }\n  timeo = (*(code *)PTR_xatoul_001313c8)(str_a);\n  puVar5 = PTR_udhcp_option_idx_001317ec;\n  puVar4 = PTR_bb_strtoul_00131300;\n  puVar3 = PTR_llist_pop_00131244;\n  puVar20 = PTR_bb_errno_001311d8;\n  if (list_O != (llist_t *)0x0) {\n    do {\n      unaff_s0 = (char *)(*(code *)puVar3)(&list_O);\n      uVar10 = (*(code *)puVar4)(unaff_s0,0,0);\n      if ((**(int **)puVar20 != 0) || (uVar18 = uVar10 >> 3, 0xfe < uVar10)) {\n        uVar18 = udhcp_option_idx(unaff_s0,PTR_dhcp_option_strings_001317d8);\n        uVar10 = (uint)(byte)PTR_dhcp_optflags_001317dc[uVar18 * 2 + 1];\n        uVar18 = (uint)((byte)PTR_dhcp_optflags_001317dc[uVar18 * 2 + 1] >> 3);\n      }\n      PTR_bb_common_bufsiz1_0013136c[uVar18 + 0x20c] =\n           (byte)(1 << (uVar10 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar18 + 0x20c];\n      unaff_s3 = (undefined4 *)puVar4;\n      unaff_s4 = puVar3;\n      unaff_s7 = (code *)puVar5;\n    } while (list_O != (llist_t *)0x0);\n  }\n  puVar20 = PTR_bb_common_bufsiz1_0013136c;\n  if (-1 < (int)(uVar8 << 0xe)) {\n    bVar2 = PTR_dhcp_optflags_001317dc[1];\n    pbVar19 = PTR_dhcp_optflags_001317dc;\n    while (bVar2 != 0) {\n      if ((*pbVar19 & 0x10) != 0) {\n        puVar20[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar20[(bVar2 >> 3) + 0x20c];\n      }\n      pbVar1 = pbVar19 + 3;\n      pbVar19 = pbVar19 + 2;\n      bVar2 = *pbVar1;\n    }\n  }\n  puVar3 = PTR_xstrdup_001312b8;\n  puVar20 = PTR_llist_pop_00131244;\n  if (list_x != (llist_t *)0x0) {\n    unaff_s7 = (code *)(PTR_bb_common_bufsiz1_0013136c + 0x238);\n    do {\n      uVar11 = (*(code *)puVar20)(&list_x);\n      unaff_s0 = (char *)(*(code *)puVar3)(uVar11);\n      udhcp_str2optset(unaff_s0,unaff_s7,(dhcp_optflag *)PTR_dhcp_optflags_001317dc,\n                       PTR_dhcp_option_strings_001317d8);\n      (*(code *)PTR_free_00132180)(unaff_s0);\n      unaff_s3 = (undefined4 *)puVar3;\n      unaff_s4 = puVar20;\n    } while (list_x != (llist_t *)0x0);\n  }\n  iVar12 = udhcp_read_interface\n                     (*(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                      (int *)(PTR_bb_common_bufsiz1_0013136c + 0x208),(uint32_t *)0x0,\n                      PTR_bb_common_bufsiz1_0013136c + 0x200);\n  if (iVar12 != 0) {\n    pcVar24 = &DAT_00000001;\n    goto LAB_0006654c;\n  }\n  unaff_s3 = (undefined4 *)0x0;\n  if (((uVar8 & 1) == 0) &&\n     (poVar13 = udhcp_find_option(*(option_set **)(PTR_bb_common_bufsiz1_0013136c + 0x238),'='),\n     poVar13 == (option_set *)0x0)) {\n    puVar9 = alloc_dhcp_option(0x3d,PTR_bdcommands_4__name_4__001311a4 + -0x3208,7);\n    puVar20 = PTR_bb_common_bufsiz1_0013136c;\n    *(uint8_t **)(PTR_bb_common_bufsiz1_0013136c + 0x23c) = puVar9;\n    puVar9[2] = '\x01';\n    iVar12 = *(int *)(puVar20 + 0x23c);\n    unaff_s3 = (undefined4 *)(iVar12 + 3);\n    *unaff_s3 = *(undefined4 *)(puVar20 + 0x200);\n    *(undefined *)(iVar12 + 7) = puVar20[0x204];\n    *(undefined *)(iVar12 + 8) = puVar20[0x205];\n  }\n  if (*str_V != '\0') {\n    puVar9 = alloc_dhcp_option(0x3c,str_V,0);\n    *(uint8_t **)(PTR_bb_common_bufsiz1_0013136c + 0x240) = puVar9;\n  }\n  if ((uVar8 & 0x4000) != 0) {\n    (*(code *)PTR_openlog_00131d98)(*(undefined4 *)PTR_applet_name_001311ac,1,0x18);\n    *PTR_logmode_00131250 = *PTR_logmode_00131250 | 2;\n  }\n  (*(code *)PTR_bb_sanitize_stdio_001316b8)();\n  (*(code *)PTR_write_pidfile_00131440)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));\n  (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2908);\n  udhcp_sp_setup();\n  (*(code *)PTR_monotonic_us_001312bc)();\n  (*(code *)PTR_srand_00131f84)(extraout_v1);\n  PTR_OptArray_14__flags_00131178[0x23de] = 0;\n  udhcp_run_script((dhcp_packet *)0x0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);\n  change_listen_mode(2);\n  pcVar21 = (char *)0x0;\n  puStack_2f0 = PTR_OptArray_14__flags_00131178;\n  unaff_s7 = (code *)(PTR_LAB_00131738 + 0x4d8c);\n  puStack_2e4 = PTR_bdcommands_4__name_4__001311a4;\n  pcStack_2fc = (code *)(PTR_LAB_00131738 + 0x5590);\n  pcStack_2ec = (code *)(PTR_LAB_00131738 + 0x496c);\n  pcVar24 = (char *)0x0;\n  unaff_s0 = pcVar24;\n  pcVar23 = pcVar24;\nLAB_000662f4:\n  pcVar22 = pcVar23;\n  unaff_s4 = unaff_s0;\n  udhcp_sp_fd_set(pfds,*(int *)(puStack_2f0 + 0x1004));\n  iVar12 = (int)pcVar22 - (int)pcVar21;\n  unaff_s0 = unaff_s4;\n  if (iVar12 < 1) {\nLAB_00066418:\n    pcVar21 = (char *)udhcp_read_interface\n                                (*(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                                 (int *)(PTR_bb_common_bufsiz1_0013136c + 0x208),(uint32_t *)0x0,\n                                 PTR_bb_common_bufsiz1_0013136c + 0x200);\n    puVar20 = PTR_bb_common_bufsiz1_0013136c;\n    if (pcVar21 == (char *)0x0) {\n      if (unaff_s3 != (undefined4 *)0x0) {\n        *unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);\n        *(undefined *)(unaff_s3 + 1) = puVar20[0x204];\n        *(undefined *)((int)unaff_s3 + 5) = puVar20[0x205];\n      }\n      if ((byte)PTR_OptArray_14__flags_00131178[0x23de] < 6) {\n                    /* WARNING: Could not recover jumptable at 0x000664a0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        iVar7 = (*(code *)(&_gp + *(int *)(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)(byte)PTR_OptArray_14__flags_00131178[0x23de] * 4 +\n                                          -0x2768)))();\n        return iVar7;\n      }\n      pcVar21 = (char *)0x0;\n      pcVar23 = (char *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n  }\n  else {\n    iVar14 = (*(code *)PTR_monotonic_sec_001317c0)();\n    if (iVar12 < 0x20c49b) {\n      iVar12 = iVar12 * 1000;\n    }\n    else {\n      iVar12 = 0x7fffffff;\n    }\n    iVar12 = (*(code *)PTR_poll_00132060)(pfds,2,iVar12);\n    pcVar23 = pcVar22;\n    if (iVar12 < 0) {\n      if (**(int **)PTR_bb_errno_001311d8 != 4) {\n        iVar12 = (*(code *)PTR_bb_perror_msg_and_die_001311f4)\n                           (PTR_bdcommands_4__name_4__001311a4 + -0x5488);\n        goto LAB_00066410;\n      }\n      iVar12 = (*(code *)PTR_monotonic_sec_001317c0)();\n      pcVar21 = pcVar21 + (iVar12 - iVar14);\n      goto LAB_000662f4;\n    }\nLAB_00066410:\n    if (iVar12 == 0) goto LAB_00066418;\n    iVar12 = udhcp_sp_read();\n    puVar20 = PTR_bb_common_bufsiz1_0013136c;\n    if (iVar12 == 0x10) {\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar20[0x24d] = 0;\n      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2894);\n      bVar2 = PTR_OptArray_14__flags_00131178[0x23de];\n      if (bVar2 < 7) {\n                    /* WARNING: Could not recover jumptable at 0x00066854. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        iVar7 = (*(code *)(&_gp + *(int *)(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)bVar2 * 4 + -0x2750)))();\n        return iVar7;\n      }\n      pcVar21 = (char *)0x0;\n      unaff_s0 = pcVar24;\n      pcVar23 = pcVar24;\n      if (bVar2 == 5) {\n        if ((int)pcVar22 < 0x3d) {\n          if (0x3b < (int)pcVar22) goto LAB_0006666c;\n        }\n        else {\n          pcVar22 = (char *)0x3c;\nLAB_0006666c:\n          iVar12 = (*pcStack_2ec)(uStack_2f8,server_addr,requested_ip);\n          pcVar21 = (char *)0x0;\n          if (-1 < iVar12) {\n            unaff_s0 = unaff_s4;\n            pcVar23 = (char *)((int)pcVar22 >> 1);\n            goto LAB_000662f4;\n          }\n        }\n        PTR_OptArray_14__flags_00131178[0x23de] = 4;\n        (*unaff_s7)(2);\n        if ((int)pcVar22 < 1) {\n          (*(code *)PTR_bb_error_msg_001311d0)(puStack_2e4 + -0x28b4);\n          (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);\n          PTR_OptArray_14__flags_00131178[0x23de] = 0;\n          puVar20 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar20[0x24d] = 0;\n          pcVar21 = (char *)0x0;\n          pcVar23 = pcVar22;\n        }\n        else {\n          (*pcStack_2ec)(uStack_2f8,0);\n          pcVar21 = (char *)0x0;\n          unaff_s0 = unaff_s4;\n          pcVar23 = (char *)((int)pcVar22 >> 1);\n        }\n      }\n      goto LAB_000662f4;\n    }\n    if (iVar12 == 0x11) {\n      perform_release(server_addr,requested_ip);\n      pcVar23 = (char *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n    if (iVar12 == 0xf) {\n      (*(code *)PTR_bb_error_msg_001311d0)\n                (PTR_bdcommands_4__name_4__001311a4 + -0x2874,\n                 PTR_bdcommands_4__name_4__001311a4 + -0x287c);\n      goto LAB_00066938;\n    }\n    if (pfds[1].revents == 0) goto LAB_000662f4;\n    if (PTR_OptArray_14__flags_00131178[0x23df] == '\x01') {\n      iVar12 = udhcp_recv_kernel_packet(&packet,*(int *)(puStack_2f0 + 0x1004));\n    }\n    else {\n      iVar12 = udhcp_recv_raw_packet(&packet,*(int *)(puStack_2f0 + 0x1004));\n    }\n    if (iVar12 == -1) {\n      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2868);\n      (*(code *)PTR_sleep_0013211c)(discover_timeout);\n      (*unaff_s7)((int)(char)PTR_OptArray_14__flags_00131178[0x23df]);\n      iVar12 = (*(code *)PTR_monotonic_sec_001317c0)();\n      pcVar21 = pcVar21 + (iVar12 - iVar14);\n      goto LAB_000662f4;\n    }\n    iVar15 = (*(code *)PTR_monotonic_sec_001317c0)();\n    pcVar21 = pcVar21 + (iVar15 - iVar14);\n    if ((((iVar12 < 0) || (packet.xid != uStack_2f8)) || (packet.hlen != '\x06')) ||\n       (iVar12 = (*(code *)PTR_memcmp_0013212c)\n                           (packet.chaddr,PTR_bb_common_bufsiz1_0013136c + 0x200,6), iVar12 != 0))\n    goto LAB_000662f4;\n    puVar9 = udhcp_get_option(&packet,0x35);\n    uVar6 = server_addr;\n    if (puVar9 == (uint8_t *)0x0) {\n      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2844);\n      goto LAB_000662f4;\n    }\n    iVar12 = (int)(char)PTR_OptArray_14__flags_00131178[0x23de];\n    pcVar22 = (char *)0x0;\n    if (iVar12 != 1) {\n      if (iVar12 < 2) {\n        if ((iVar12 == 0) && (*puVar9 == '\x02')) {\n          server_addr = 0;\n          puVar16 = (uint32_t *)udhcp_get_option32(&packet,0x36);\n          if (puVar16 == (uint32_t *)0x0) {\n            (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x281c);\n          }\n          else {\n            server_addr = *puVar16;\n          }\n          PTR_OptArray_14__flags_00131178[0x23de] = 1;\n          pcVar21 = (char *)0x0;\n          requested_ip = packet.yiaddr;\n          unaff_s0 = pcVar22;\n          pcVar23 = pcVar22;\n        }\n        goto LAB_000662f4;\n      }\n      if (2 < (iVar12 - 3U & 0xff)) goto LAB_000662f4;\n    }\n    if (*puVar9 != '\x05') {\n      if ((*puVar9 == '\x06') &&\n         ((server_addr == 0 ||\n          ((puVar16 = (uint32_t *)udhcp_get_option32(&packet,0x36), puVar16 != (uint32_t *)0x0 &&\n           (lease_seconds = *puVar16, uVar6 == lease_seconds)))))) {\n        (*(code *)PTR_bb_error_msg_001311d0)\n                  (PTR_bdcommands_4__name_4__001311a4 + -0x2874,\n                   PTR_bdcommands_4__name_4__001311a4 + -0x2778);\n        (*pcStack_2fc)(&packet,PTR_bdcommands_4__name_4__001311a4 + -0x276c);\n        if (PTR_OptArray_14__flags_00131178[0x23de] != '\x01') {\n          (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);\n        }\n        (*unaff_s7)(2);\n        (*(code *)PTR_sleep_0013211c)(3);\n        PTR_OptArray_14__flags_00131178[0x23de] = 0;\n        puVar20 = PTR_bb_common_bufsiz1_0013136c;\n        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n        puVar20[0x24d] = 0;\n        pcVar21 = (char *)0x0;\n        requested_ip = 0;\n        unaff_s0 = pcVar22;\n        pcVar23 = pcVar22;\n      }\n      goto LAB_000662f4;\n    }\n    puVar17 = (uint *)udhcp_get_option32(&packet,0x33);\n    if (puVar17 == (uint *)0x0) {\n      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2800);\n      lease_seconds = 0xe10;\n    }\n    else {\n      lease_seconds = *puVar17;\n      if (lease_seconds < 0x7a) {\n        lease_seconds = 0x7a;\n      }\n    }\n    if (((int)(uVar8 << 9) < 0) &&\n       (iVar12 = arpping(packet.yiaddr,(uint8_t *)0x0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                         *(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c),timeo), iVar12 == 0)) {\n      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x27d4);\n      send_decline(server_addr,packet.yiaddr);\n      if (PTR_OptArray_14__flags_00131178[0x23de] != '\x01') {\n        (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);\n      }\n      (*unaff_s7)(2);\n      PTR_OptArray_14__flags_00131178[0x23de] = 0;\n      puVar20 = PTR_bb_common_bufsiz1_0013136c;\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar20[0x24d] = 0;\n      pcVar21 = (char *)0x0;\n      requested_ip = 0;\n      unaff_s0 = (char *)0x0;\n      pcVar23 = (char *)tryagain_timeout;\n      goto LAB_000662f4;\n    }\n    uVar11 = (*(code *)PTR_inet_ntoa_00132140)(packet.yiaddr);\n    uVar6 = lease_seconds;\n    (*(code *)PTR_bb_error_msg_001311d0)\n              (PTR_bdcommands_4__name_4__001311a4 + -0x279c,uVar11,lease_seconds);\n    requested_ip = packet.yiaddr;\n    iVar12 = (*(code *)PTR_monotonic_sec_001317c0)();\n    if (PTR_OptArray_14__flags_00131178[0x23de] == '\x01') {\n      puVar20 = PTR_bdcommands_4__name_4__001311a4 + -0x2978;\n    }\n    else {\n      puVar20 = PTR_bdcommands_4__name_4__001311a4 + -0x2884;\n    }\n    (*pcStack_2fc)(&packet,puVar20);\n    iVar14 = (*(code *)PTR_monotonic_sec_001317c0)();\n    pcVar21 = (char *)(iVar14 - iVar12);\n    pcVar23 = (char *)(uVar6 >> 1);\n    if (pcVar23 < pcVar21) {\n      pcVar21 = (char *)0x0;\n      pcVar23 = pcVar22;\n    }\n    PTR_OptArray_14__flags_00131178[0x23de] = 2;\n    (*unaff_s7)(0);\n    if ((uVar8 & 0x100) == 0) {\n      if ((int)(uVar8 << 0xc) < 0) {\n        uVar8 = uVar8 & 0xffffffbf;\n      }\n      else {\n        client_background();\n        uVar8 = uVar8 & 0xffd7ffbf | 0x80000;\n      }\n      goto LAB_000662f4;\n    }\n  }\nLAB_00066938:\n  uVar8 = uVar8 & 0x200;\n  unaff_s0 = pcVar21;\n  if (uVar8 != 0) {\n    perform_release(server_addr,requested_ip);\n  }\n  while( true ) {\n    if (*PTR_wrote_pidfile_00131434 != '\0') {\n      (*(code *)PTR_unlink_001320a8)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));\n    }\nLAB_0006654c:\n    if (iVar7 == *(int *)PTR___stack_chk_guard_00132164) {\n      return (int)pcVar24;\n    }\n    (*(code *)PTR___stack_chk_fail_001320e4)();\n    if ((int)unaff_s4 < 3) {\n      send_select(uStack_2f8,server_addr,requested_ip);\n      pcVar21 = (char *)0x0;\n      unaff_s0 = unaff_s4 + 1;\n      pcVar23 = (char *)discover_timeout;\n      goto LAB_000662f4;\n    }\n    (*unaff_s7)(2);\n    PTR_OptArray_14__flags_00131178[0x23de] = 0;\n    (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x28f4);\n    if ((int)(uVar8 << 10) < 0) break;\n    if ((uVar8 & 0x40) == 0) goto LAB_00066624;\n    (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x28c8);\n    pcVar24 = &DAT_00000001;\n  }\n  (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x28e8);\n  client_background();\n  uVar8 = uVar8 & 0xffd7ffff | 0x80000;\nLAB_00066624:\n  pcVar21 = (char *)0x0;\n  pcVar23 = (char *)tryagain_timeout;\n  goto LAB_000662f4;\n}\n\n" (function_definition "int udhcpc_main(int argc,char **argv)\n\n{\n  byte *pbVar1;\n  byte bVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  uint32_t uVar6;\n  int iVar7;\n  uint uVar8;\n  uint8_t *puVar9;\n  uint timeo;\n  uint uVar10;\n  undefined4 uVar11;\n  int iVar12;\n  option_set *poVar13;\n  int iVar14;\n  int iVar15;\n  uint32_t *puVar16;\n  uint *puVar17;\n  uint uVar18;\n  undefined4 extraout_v1;\n  byte *pbVar19;\n  undefined *puVar20;\n  char *unaff_s0;\n  char *pcVar21;\n  char *pcVar22;\n  char *pcVar23;\n  undefined4 *unaff_s3;\n  char *unaff_s4;\n  uint32_t requested_ip;\n  char *pcVar24;\n  code *unaff_s7;\n  code *pcStack_2fc;\n  uint32_t uStack_2f8;\n  undefined *puStack_2f0;\n  code *pcStack_2ec;\n  undefined *puStack_2e4;\n  char *str_V;\n  char *str_h;\n  char *str_F;\n  char *str_r;\n  char *str_a;\n  llist_t *list_O;\n  llist_t *list_x;\n  int tryagain_timeout;\n  int discover_timeout;\n  int discover_retries;\n  uint32_t server_addr;\n  uint32_t lease_seconds;\n  pollfd pfds [2];\n  dhcp_packet packet;\n  \n  puVar20 = PTR_bb_common_bufsiz1_0013136c;\n  iVar7 = *(int *)PTR___stack_chk_guard_00132164;\n  str_a = PTR_bdcommands_4__name_4__001311a4 + -0x2970;\n  list_O = (llist_t *)0x0;\n  list_x = (llist_t *)0x0;\n  tryagain_timeout = 0x14;\n  discover_timeout = 3;\n  discover_retries = 3;\n  *(undefined **)(PTR_bb_common_bufsiz1_0013136c + 0x22c) =\n       PTR_bdcommands_4__name_4__001311a4 + -0x6598;\n  *(undefined **)(puVar20 + 0x234) = PTR_bdcommands_4__name_4__001311a4 + -0x2968;\n  str_V = PTR_bdcommands_4__name_4__001311a4 + -0x294c;\n  uVar8 = (*(code *)PTR_getopt32long_00131314)\n                    (argv,PTR_LAB_0013118c + 0x5970,PTR_DAT_001311dc + -0x227c,&str_V,&str_h,&str_h,\n                     &str_F,puVar20 + 0x22c,puVar20 + 0x230,&str_r,puVar20 + 0x234,&discover_timeout\n                     ,&discover_retries,&tryagain_timeout,&list_O,&list_x,&str_a);\n  if ((uVar8 & 0xc) != 0) {\n    (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x293c);\n    puVar9 = alloc_dhcp_option(0xc,str_h,0);\n    *(uint8_t **)(PTR_bb_common_bufsiz1_0013136c + 0x244) = puVar9;\n  }\n  if ((uVar8 & 0x10) != 0) {\n    puVar9 = alloc_dhcp_option(0x51,str_F,3);\n    *(uint8_t **)(PTR_bb_common_bufsiz1_0013136c + 0x248) = puVar9;\n    puVar9[2] = '\x01';\n  }\n  requested_ip = uVar8 & 0x400;\n  if (requested_ip != 0) {\n    requested_ip = (*(code *)PTR_inet_addr_00131d0c)(str_r);\n  }\n  timeo = (*(code *)PTR_xatoul_001313c8)(str_a);\n  puVar5 = PTR_udhcp_option_idx_001317ec;\n  puVar4 = PTR_bb_strtoul_00131300;\n  puVar3 = PTR_llist_pop_00131244;\n  puVar20 = PTR_bb_errno_001311d8;\n  if (list_O != (llist_t *)0x0) {\n    do {\n      unaff_s0 = (char *)(*(code *)puVar3)(&list_O);\n      uVar10 = (*(code *)puVar4)(unaff_s0,0,0);\n      if ((**(int **)puVar20 != 0) || (uVar18 = uVar10 >> 3, 0xfe < uVar10)) {\n        uVar18 = udhcp_option_idx(unaff_s0,PTR_dhcp_option_strings_001317d8);\n        uVar10 = (uint)(byte)PTR_dhcp_optflags_001317dc[uVar18 * 2 + 1];\n        uVar18 = (uint)((byte)PTR_dhcp_optflags_001317dc[uVar18 * 2 + 1] >> 3);\n      }\n      PTR_bb_common_bufsiz1_0013136c[uVar18 + 0x20c] =\n           (byte)(1 << (uVar10 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar18 + 0x20c];\n      unaff_s3 = (undefined4 *)puVar4;\n      unaff_s4 = puVar3;\n      unaff_s7 = (code *)puVar5;\n    } while (list_O != (llist_t *)0x0);\n  }\n  puVar20 = PTR_bb_common_bufsiz1_0013136c;\n  if (-1 < (int)(uVar8 << 0xe)) {\n    bVar2 = PTR_dhcp_optflags_001317dc[1];\n    pbVar19 = PTR_dhcp_optflags_001317dc;\n    while (bVar2 != 0) {\n      if ((*pbVar19 & 0x10) != 0) {\n        puVar20[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar20[(bVar2 >> 3) + 0x20c];\n      }\n      pbVar1 = pbVar19 + 3;\n      pbVar19 = pbVar19 + 2;\n      bVar2 = *pbVar1;\n    }\n  }\n  puVar3 = PTR_xstrdup_001312b8;\n  puVar20 = PTR_llist_pop_00131244;\n  if (list_x != (llist_t *)0x0) {\n    unaff_s7 = (code *)(PTR_bb_common_bufsiz1_0013136c + 0x238);\n    do {\n      uVar11 = (*(code *)puVar20)(&list_x);\n      unaff_s0 = (char *)(*(code *)puVar3)(uVar11);\n      udhcp_str2optset(unaff_s0,unaff_s7,(dhcp_optflag *)PTR_dhcp_optflags_001317dc,\n                       PTR_dhcp_option_strings_001317d8);\n      (*(code *)PTR_free_00132180)(unaff_s0);\n      unaff_s3 = (undefined4 *)puVar3;\n      unaff_s4 = puVar20;\n    } while (list_x != (llist_t *)0x0);\n  }\n  iVar12 = udhcp_read_interface\n                     (*(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                      (int *)(PTR_bb_common_bufsiz1_0013136c + 0x208),(uint32_t *)0x0,\n                      PTR_bb_common_bufsiz1_0013136c + 0x200);\n  if (iVar12 != 0) {\n    pcVar24 = &DAT_00000001;\n    goto LAB_0006654c;\n  }\n  unaff_s3 = (undefined4 *)0x0;\n  if (((uVar8 & 1) == 0) &&\n     (poVar13 = udhcp_find_option(*(option_set **)(PTR_bb_common_bufsiz1_0013136c + 0x238),'='),\n     poVar13 == (option_set *)0x0)) {\n    puVar9 = alloc_dhcp_option(0x3d,PTR_bdcommands_4__name_4__001311a4 + -0x3208,7);\n    puVar20 = PTR_bb_common_bufsiz1_0013136c;\n    *(uint8_t **)(PTR_bb_common_bufsiz1_0013136c + 0x23c) = puVar9;\n    puVar9[2] = '\x01';\n    iVar12 = *(int *)(puVar20 + 0x23c);\n    unaff_s3 = (undefined4 *)(iVar12 + 3);\n    *unaff_s3 = *(undefined4 *)(puVar20 + 0x200);\n    *(undefined *)(iVar12 + 7) = puVar20[0x204];\n    *(undefined *)(iVar12 + 8) = puVar20[0x205];\n  }\n  if (*str_V != '\0') {\n    puVar9 = alloc_dhcp_option(0x3c,str_V,0);\n    *(uint8_t **)(PTR_bb_common_bufsiz1_0013136c + 0x240) = puVar9;\n  }\n  if ((uVar8 & 0x4000) != 0) {\n    (*(code *)PTR_openlog_00131d98)(*(undefined4 *)PTR_applet_name_001311ac,1,0x18);\n    *PTR_logmode_00131250 = *PTR_logmode_00131250 | 2;\n  }\n  (*(code *)PTR_bb_sanitize_stdio_001316b8)();\n  (*(code *)PTR_write_pidfile_00131440)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));\n  (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2908);\n  udhcp_sp_setup();\n  (*(code *)PTR_monotonic_us_001312bc)();\n  (*(code *)PTR_srand_00131f84)(extraout_v1);\n  PTR_OptArray_14__flags_00131178[0x23de] = 0;\n  udhcp_run_script((dhcp_packet *)0x0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);\n  change_listen_mode(2);\n  pcVar21 = (char *)0x0;\n  puStack_2f0 = PTR_OptArray_14__flags_00131178;\n  unaff_s7 = (code *)(PTR_LAB_00131738 + 0x4d8c);\n  puStack_2e4 = PTR_bdcommands_4__name_4__001311a4;\n  pcStack_2fc = (code *)(PTR_LAB_00131738 + 0x5590);\n  pcStack_2ec = (code *)(PTR_LAB_00131738 + 0x496c);\n  pcVar24 = (char *)0x0;\n  unaff_s0 = pcVar24;\n  pcVar23 = pcVar24;\nLAB_000662f4:\n  pcVar22 = pcVar23;\n  unaff_s4 = unaff_s0;\n  udhcp_sp_fd_set(pfds,*(int *)(puStack_2f0 + 0x1004));\n  iVar12 = (int)pcVar22 - (int)pcVar21;\n  unaff_s0 = unaff_s4;\n  if (iVar12 < 1) {\nLAB_00066418:\n    pcVar21 = (char *)udhcp_read_interface\n                                (*(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                                 (int *)(PTR_bb_common_bufsiz1_0013136c + 0x208),(uint32_t *)0x0,\n                                 PTR_bb_common_bufsiz1_0013136c + 0x200);\n    puVar20 = PTR_bb_common_bufsiz1_0013136c;\n    if (pcVar21 == (char *)0x0) {\n      if (unaff_s3 != (undefined4 *)0x0) {\n        *unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);\n        *(undefined *)(unaff_s3 + 1) = puVar20[0x204];\n        *(undefined *)((int)unaff_s3 + 5) = puVar20[0x205];\n      }\n      if ((byte)PTR_OptArray_14__flags_00131178[0x23de] < 6) {\n                    /* WARNING: Could not recover jumptable at 0x000664a0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        iVar7 = (*(code *)(&_gp + *(int *)(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)(byte)PTR_OptArray_14__flags_00131178[0x23de] * 4 +\n                                          -0x2768)))();\n        return iVar7;\n      }\n      pcVar21 = (char *)0x0;\n      pcVar23 = (char *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n  }\n  else {\n    iVar14 = (*(code *)PTR_monotonic_sec_001317c0)();\n    if (iVar12 < 0x20c49b) {\n      iVar12 = iVar12 * 1000;\n    }\n    else {\n      iVar12 = 0x7fffffff;\n    }\n    iVar12 = (*(code *)PTR_poll_00132060)(pfds,2,iVar12);\n    pcVar23 = pcVar22;\n    if (iVar12 < 0) {\n      if (**(int **)PTR_bb_errno_001311d8 != 4) {\n        iVar12 = (*(code *)PTR_bb_perror_msg_and_die_001311f4)\n                           (PTR_bdcommands_4__name_4__001311a4 + -0x5488);\n        goto LAB_00066410;\n      }\n      iVar12 = (*(code *)PTR_monotonic_sec_001317c0)();\n      pcVar21 = pcVar21 + (iVar12 - iVar14);\n      goto LAB_000662f4;\n    }\nLAB_00066410:\n    if (iVar12 == 0) goto LAB_00066418;\n    iVar12 = udhcp_sp_read();\n    puVar20 = PTR_bb_common_bufsiz1_0013136c;\n    if (iVar12 == 0x10) {\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar20[0x24d] = 0;\n      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2894);\n      bVar2 = PTR_OptArray_14__flags_00131178[0x23de];\n      if (bVar2 < 7) {\n                    /* WARNING: Could not recover jumptable at 0x00066854. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        iVar7 = (*(code *)(&_gp + *(int *)(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)bVar2 * 4 + -0x2750)))();\n        return iVar7;\n      }\n      pcVar21 = (char *)0x0;\n      unaff_s0 = pcVar24;\n      pcVar23 = pcVar24;\n      if (bVar2 == 5) {\n        if ((int)pcVar22 < 0x3d) {\n          if (0x3b < (int)pcVar22) goto LAB_0006666c;\n        }\n        else {\n          pcVar22 = (char *)0x3c;\nLAB_0006666c:\n          iVar12 = (*pcStack_2ec)(uStack_2f8,server_addr,requested_ip);\n          pcVar21 = (char *)0x0;\n          if (-1 < iVar12) {\n            unaff_s0 = unaff_s4;\n            pcVar23 = (char *)((int)pcVar22 >> 1);\n            goto LAB_000662f4;\n          }\n        }\n        PTR_OptArray_14__flags_00131178[0x23de] = 4;\n        (*unaff_s7)(2);\n        if ((int)pcVar22 < 1) {\n          (*(code *)PTR_bb_error_msg_001311d0)(puStack_2e4 + -0x28b4);\n          (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);\n          PTR_OptArray_14__flags_00131178[0x23de] = 0;\n          puVar20 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar20[0x24d] = 0;\n          pcVar21 = (char *)0x0;\n          pcVar23 = pcVar22;\n        }\n        else {\n          (*pcStack_2ec)(uStack_2f8,0);\n          pcVar21 = (char *)0x0;\n          unaff_s0 = unaff_s4;\n          pcVar23 = (char *)((int)pcVar22 >> 1);\n        }\n      }\n      goto LAB_000662f4;\n    }\n    if (iVar12 == 0x11) {\n      perform_release(server_addr,requested_ip);\n      pcVar23 = (char *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n    if (iVar12 == 0xf) {\n      (*(code *)PTR_bb_error_msg_001311d0)\n                (PTR_bdcommands_4__name_4__001311a4 + -0x2874,\n                 PTR_bdcommands_4__name_4__001311a4 + -0x287c);\n      goto LAB_00066938;\n    }\n    if (pfds[1].revents == 0) goto LAB_000662f4;\n    if (PTR_OptArray_14__flags_00131178[0x23df] == '\x01') {\n      iVar12 = udhcp_recv_kernel_packet(&packet,*(int *)(puStack_2f0 + 0x1004));\n    }\n    else {\n      iVar12 = udhcp_recv_raw_packet(&packet,*(int *)(puStack_2f0 + 0x1004));\n    }\n    if (iVar12 == -1) {\n      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2868);\n      (*(code *)PTR_sleep_0013211c)(discover_timeout);\n      (*unaff_s7)((int)(char)PTR_OptArray_14__flags_00131178[0x23df]);\n      iVar12 = (*(code *)PTR_monotonic_sec_001317c0)();\n      pcVar21 = pcVar21 + (iVar12 - iVar14);\n      goto LAB_000662f4;\n    }\n    iVar15 = (*(code *)PTR_monotonic_sec_001317c0)();\n    pcVar21 = pcVar21 + (iVar15 - iVar14);\n    if ((((iVar12 < 0) || (packet.xid != uStack_2f8)) || (packet.hlen != '\x06')) ||\n       (iVar12 = (*(code *)PTR_memcmp_0013212c)\n                           (packet.chaddr,PTR_bb_common_bufsiz1_0013136c + 0x200,6), iVar12 != 0))\n    goto LAB_000662f4;\n    puVar9 = udhcp_get_option(&packet,0x35);\n    uVar6 = server_addr;\n    if (puVar9 == (uint8_t *)0x0) {\n      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2844);\n      goto LAB_000662f4;\n    }\n    iVar12 = (int)(char)PTR_OptArray_14__flags_00131178[0x23de];\n    pcVar22 = (char *)0x0;\n    if (iVar12 != 1) {\n      if (iVar12 < 2) {\n        if ((iVar12 == 0) && (*puVar9 == '\x02')) {\n          server_addr = 0;\n          puVar16 = (uint32_t *)udhcp_get_option32(&packet,0x36);\n          if (puVar16 == (uint32_t *)0x0) {\n            (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x281c);\n          }\n          else {\n            server_addr = *puVar16;\n          }\n          PTR_OptArray_14__flags_00131178[0x23de] = 1;\n          pcVar21 = (char *)0x0;\n          requested_ip = packet.yiaddr;\n          unaff_s0 = pcVar22;\n          pcVar23 = pcVar22;\n        }\n        goto LAB_000662f4;\n      }\n      if (2 < (iVar12 - 3U & 0xff)) goto LAB_000662f4;\n    }\n    if (*puVar9 != '\x05') {\n      if ((*puVar9 == '\x06') &&\n         ((server_addr == 0 ||\n          ((puVar16 = (uint32_t *)udhcp_get_option32(&packet,0x36), puVar16 != (uint32_t *)0x0 &&\n           (lease_seconds = *puVar16, uVar6 == lease_seconds)))))) {\n        (*(code *)PTR_bb_error_msg_001311d0)\n                  (PTR_bdcommands_4__name_4__001311a4 + -0x2874,\n                   PTR_bdcommands_4__name_4__001311a4 + -0x2778);\n        (*pcStack_2fc)(&packet,PTR_bdcommands_4__name_4__001311a4 + -0x276c);\n        if (PTR_OptArray_14__flags_00131178[0x23de] != '\x01') {\n          (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);\n        }\n        (*unaff_s7)(2);\n        (*(code *)PTR_sleep_0013211c)(3);\n        PTR_OptArray_14__flags_00131178[0x23de] = 0;\n        puVar20 = PTR_bb_common_bufsiz1_0013136c;\n        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n        puVar20[0x24d] = 0;\n        pcVar21 = (char *)0x0;\n        requested_ip = 0;\n        unaff_s0 = pcVar22;\n        pcVar23 = pcVar22;\n      }\n      goto LAB_000662f4;\n    }\n    puVar17 = (uint *)udhcp_get_option32(&packet,0x33);\n    if (puVar17 == (uint *)0x0) {\n      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2800);\n      lease_seconds = 0xe10;\n    }\n    else {\n      lease_seconds = *puVar17;\n      if (lease_seconds < 0x7a) {\n        lease_seconds = 0x7a;\n      }\n    }\n    if (((int)(uVar8 << 9) < 0) &&\n       (iVar12 = arpping(packet.yiaddr,(uint8_t *)0x0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                         *(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c),timeo), iVar12 == 0)) {\n      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x27d4);\n      send_decline(server_addr,packet.yiaddr);\n      if (PTR_OptArray_14__flags_00131178[0x23de] != '\x01') {\n        (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);\n      }\n      (*unaff_s7)(2);\n      PTR_OptArray_14__flags_00131178[0x23de] = 0;\n      puVar20 = PTR_bb_common_bufsiz1_0013136c;\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar20[0x24d] = 0;\n      pcVar21 = (char *)0x0;\n      requested_ip = 0;\n      unaff_s0 = (char *)0x0;\n      pcVar23 = (char *)tryagain_timeout;\n      goto LAB_000662f4;\n    }\n    uVar11 = (*(code *)PTR_inet_ntoa_00132140)(packet.yiaddr);\n    uVar6 = lease_seconds;\n    (*(code *)PTR_bb_error_msg_001311d0)\n              (PTR_bdcommands_4__name_4__001311a4 + -0x279c,uVar11,lease_seconds);\n    requested_ip = packet.yiaddr;\n    iVar12 = (*(code *)PTR_monotonic_sec_001317c0)();\n    if (PTR_OptArray_14__flags_00131178[0x23de] == '\x01') {\n      puVar20 = PTR_bdcommands_4__name_4__001311a4 + -0x2978;\n    }\n    else {\n      puVar20 = PTR_bdcommands_4__name_4__001311a4 + -0x2884;\n    }\n    (*pcStack_2fc)(&packet,puVar20);\n    iVar14 = (*(code *)PTR_monotonic_sec_001317c0)();\n    pcVar21 = (char *)(iVar14 - iVar12);\n    pcVar23 = (char *)(uVar6 >> 1);\n    if (pcVar23 < pcVar21) {\n      pcVar21 = (char *)0x0;\n      pcVar23 = pcVar22;\n    }\n    PTR_OptArray_14__flags_00131178[0x23de] = 2;\n    (*unaff_s7)(0);\n    if ((uVar8 & 0x100) == 0) {\n      if ((int)(uVar8 << 0xc) < 0) {\n        uVar8 = uVar8 & 0xffffffbf;\n      }\n      else {\n        client_background();\n        uVar8 = uVar8 & 0xffd7ffbf | 0x80000;\n      }\n      goto LAB_000662f4;\n    }\n  }\nLAB_00066938:\n  uVar8 = uVar8 & 0x200;\n  unaff_s0 = pcVar21;\n  if (uVar8 != 0) {\n    perform_release(server_addr,requested_ip);\n  }\n  while( true ) {\n    if (*PTR_wrote_pidfile_00131434 != '\0') {\n      (*(code *)PTR_unlink_001320a8)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));\n    }\nLAB_0006654c:\n    if (iVar7 == *(int *)PTR___stack_chk_guard_00132164) {\n      return (int)pcVar24;\n    }\n    (*(code *)PTR___stack_chk_fail_001320e4)();\n    if ((int)unaff_s4 < 3) {\n      send_select(uStack_2f8,server_addr,requested_ip);\n      pcVar21 = (char *)0x0;\n      unaff_s0 = unaff_s4 + 1;\n      pcVar23 = (char *)discover_timeout;\n      goto LAB_000662f4;\n    }\n    (*unaff_s7)(2);\n    PTR_OptArray_14__flags_00131178[0x23de] = 0;\n    (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x28f4);\n    if ((int)(uVar8 << 10) < 0) break;\n    if ((uVar8 & 0x40) == 0) goto LAB_00066624;\n    (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x28c8);\n    pcVar24 = &DAT_00000001;\n  }\n  (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x28e8);\n  client_background();\n  uVar8 = uVar8 & 0xffd7ffff | 0x80000;\nLAB_00066624:\n  pcVar21 = (char *)0x0;\n  pcVar23 = (char *)tryagain_timeout;\n  goto LAB_000662f4;\n}" primitive_type (function_declarator "udhcpc_main(int argc,char **argv)" identifier (parameter_list "(int argc,char **argv)" ( (parameter_declaration "int argc" primitive_type identifier) , (parameter_declaration "char **argv" primitive_type (pointer_declarator "**argv" * (pointer_declarator "*argv" * identifier))) ))) (compound_statement "{\n  byte *pbVar1;\n  byte bVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  uint32_t uVar6;\n  int iVar7;\n  uint uVar8;\n  uint8_t *puVar9;\n  uint timeo;\n  uint uVar10;\n  undefined4 uVar11;\n  int iVar12;\n  option_set *poVar13;\n  int iVar14;\n  int iVar15;\n  uint32_t *puVar16;\n  uint *puVar17;\n  uint uVar18;\n  undefined4 extraout_v1;\n  byte *pbVar19;\n  undefined *puVar20;\n  char *unaff_s0;\n  char *pcVar21;\n  char *pcVar22;\n  char *pcVar23;\n  undefined4 *unaff_s3;\n  char *unaff_s4;\n  uint32_t requested_ip;\n  char *pcVar24;\n  code *unaff_s7;\n  code *pcStack_2fc;\n  uint32_t uStack_2f8;\n  undefined *puStack_2f0;\n  code *pcStack_2ec;\n  undefined *puStack_2e4;\n  char *str_V;\n  char *str_h;\n  char *str_F;\n  char *str_r;\n  char *str_a;\n  llist_t *list_O;\n  llist_t *list_x;\n  int tryagain_timeout;\n  int discover_timeout;\n  int discover_retries;\n  uint32_t server_addr;\n  uint32_t lease_seconds;\n  pollfd pfds [2];\n  dhcp_packet packet;\n  \n  puVar20 = PTR_bb_common_bufsiz1_0013136c;\n  iVar7 = *(int *)PTR___stack_chk_guard_00132164;\n  str_a = PTR_bdcommands_4__name_4__001311a4 + -0x2970;\n  list_O = (llist_t *)0x0;\n  list_x = (llist_t *)0x0;\n  tryagain_timeout = 0x14;\n  discover_timeout = 3;\n  discover_retries = 3;\n  *(undefined **)(PTR_bb_common_bufsiz1_0013136c + 0x22c) =\n       PTR_bdcommands_4__name_4__001311a4 + -0x6598;\n  *(undefined **)(puVar20 + 0x234) = PTR_bdcommands_4__name_4__001311a4 + -0x2968;\n  str_V = PTR_bdcommands_4__name_4__001311a4 + -0x294c;\n  uVar8 = (*(code *)PTR_getopt32long_00131314)\n                    (argv,PTR_LAB_0013118c + 0x5970,PTR_DAT_001311dc + -0x227c,&str_V,&str_h,&str_h,\n                     &str_F,puVar20 + 0x22c,puVar20 + 0x230,&str_r,puVar20 + 0x234,&discover_timeout\n                     ,&discover_retries,&tryagain_timeout,&list_O,&list_x,&str_a);\n  if ((uVar8 & 0xc) != 0) {\n    (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x293c);\n    puVar9 = alloc_dhcp_option(0xc,str_h,0);\n    *(uint8_t **)(PTR_bb_common_bufsiz1_0013136c + 0x244) = puVar9;\n  }\n  if ((uVar8 & 0x10) != 0) {\n    puVar9 = alloc_dhcp_option(0x51,str_F,3);\n    *(uint8_t **)(PTR_bb_common_bufsiz1_0013136c + 0x248) = puVar9;\n    puVar9[2] = '\x01';\n  }\n  requested_ip = uVar8 & 0x400;\n  if (requested_ip != 0) {\n    requested_ip = (*(code *)PTR_inet_addr_00131d0c)(str_r);\n  }\n  timeo = (*(code *)PTR_xatoul_001313c8)(str_a);\n  puVar5 = PTR_udhcp_option_idx_001317ec;\n  puVar4 = PTR_bb_strtoul_00131300;\n  puVar3 = PTR_llist_pop_00131244;\n  puVar20 = PTR_bb_errno_001311d8;\n  if (list_O != (llist_t *)0x0) {\n    do {\n      unaff_s0 = (char *)(*(code *)puVar3)(&list_O);\n      uVar10 = (*(code *)puVar4)(unaff_s0,0,0);\n      if ((**(int **)puVar20 != 0) || (uVar18 = uVar10 >> 3, 0xfe < uVar10)) {\n        uVar18 = udhcp_option_idx(unaff_s0,PTR_dhcp_option_strings_001317d8);\n        uVar10 = (uint)(byte)PTR_dhcp_optflags_001317dc[uVar18 * 2 + 1];\n        uVar18 = (uint)((byte)PTR_dhcp_optflags_001317dc[uVar18 * 2 + 1] >> 3);\n      }\n      PTR_bb_common_bufsiz1_0013136c[uVar18 + 0x20c] =\n           (byte)(1 << (uVar10 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar18 + 0x20c];\n      unaff_s3 = (undefined4 *)puVar4;\n      unaff_s4 = puVar3;\n      unaff_s7 = (code *)puVar5;\n    } while (list_O != (llist_t *)0x0);\n  }\n  puVar20 = PTR_bb_common_bufsiz1_0013136c;\n  if (-1 < (int)(uVar8 << 0xe)) {\n    bVar2 = PTR_dhcp_optflags_001317dc[1];\n    pbVar19 = PTR_dhcp_optflags_001317dc;\n    while (bVar2 != 0) {\n      if ((*pbVar19 & 0x10) != 0) {\n        puVar20[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar20[(bVar2 >> 3) + 0x20c];\n      }\n      pbVar1 = pbVar19 + 3;\n      pbVar19 = pbVar19 + 2;\n      bVar2 = *pbVar1;\n    }\n  }\n  puVar3 = PTR_xstrdup_001312b8;\n  puVar20 = PTR_llist_pop_00131244;\n  if (list_x != (llist_t *)0x0) {\n    unaff_s7 = (code *)(PTR_bb_common_bufsiz1_0013136c + 0x238);\n    do {\n      uVar11 = (*(code *)puVar20)(&list_x);\n      unaff_s0 = (char *)(*(code *)puVar3)(uVar11);\n      udhcp_str2optset(unaff_s0,unaff_s7,(dhcp_optflag *)PTR_dhcp_optflags_001317dc,\n                       PTR_dhcp_option_strings_001317d8);\n      (*(code *)PTR_free_00132180)(unaff_s0);\n      unaff_s3 = (undefined4 *)puVar3;\n      unaff_s4 = puVar20;\n    } while (list_x != (llist_t *)0x0);\n  }\n  iVar12 = udhcp_read_interface\n                     (*(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                      (int *)(PTR_bb_common_bufsiz1_0013136c + 0x208),(uint32_t *)0x0,\n                      PTR_bb_common_bufsiz1_0013136c + 0x200);\n  if (iVar12 != 0) {\n    pcVar24 = &DAT_00000001;\n    goto LAB_0006654c;\n  }\n  unaff_s3 = (undefined4 *)0x0;\n  if (((uVar8 & 1) == 0) &&\n     (poVar13 = udhcp_find_option(*(option_set **)(PTR_bb_common_bufsiz1_0013136c + 0x238),'='),\n     poVar13 == (option_set *)0x0)) {\n    puVar9 = alloc_dhcp_option(0x3d,PTR_bdcommands_4__name_4__001311a4 + -0x3208,7);\n    puVar20 = PTR_bb_common_bufsiz1_0013136c;\n    *(uint8_t **)(PTR_bb_common_bufsiz1_0013136c + 0x23c) = puVar9;\n    puVar9[2] = '\x01';\n    iVar12 = *(int *)(puVar20 + 0x23c);\n    unaff_s3 = (undefined4 *)(iVar12 + 3);\n    *unaff_s3 = *(undefined4 *)(puVar20 + 0x200);\n    *(undefined *)(iVar12 + 7) = puVar20[0x204];\n    *(undefined *)(iVar12 + 8) = puVar20[0x205];\n  }\n  if (*str_V != '\0') {\n    puVar9 = alloc_dhcp_option(0x3c,str_V,0);\n    *(uint8_t **)(PTR_bb_common_bufsiz1_0013136c + 0x240) = puVar9;\n  }\n  if ((uVar8 & 0x4000) != 0) {\n    (*(code *)PTR_openlog_00131d98)(*(undefined4 *)PTR_applet_name_001311ac,1,0x18);\n    *PTR_logmode_00131250 = *PTR_logmode_00131250 | 2;\n  }\n  (*(code *)PTR_bb_sanitize_stdio_001316b8)();\n  (*(code *)PTR_write_pidfile_00131440)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));\n  (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2908);\n  udhcp_sp_setup();\n  (*(code *)PTR_monotonic_us_001312bc)();\n  (*(code *)PTR_srand_00131f84)(extraout_v1);\n  PTR_OptArray_14__flags_00131178[0x23de] = 0;\n  udhcp_run_script((dhcp_packet *)0x0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);\n  change_listen_mode(2);\n  pcVar21 = (char *)0x0;\n  puStack_2f0 = PTR_OptArray_14__flags_00131178;\n  unaff_s7 = (code *)(PTR_LAB_00131738 + 0x4d8c);\n  puStack_2e4 = PTR_bdcommands_4__name_4__001311a4;\n  pcStack_2fc = (code *)(PTR_LAB_00131738 + 0x5590);\n  pcStack_2ec = (code *)(PTR_LAB_00131738 + 0x496c);\n  pcVar24 = (char *)0x0;\n  unaff_s0 = pcVar24;\n  pcVar23 = pcVar24;\nLAB_000662f4:\n  pcVar22 = pcVar23;\n  unaff_s4 = unaff_s0;\n  udhcp_sp_fd_set(pfds,*(int *)(puStack_2f0 + 0x1004));\n  iVar12 = (int)pcVar22 - (int)pcVar21;\n  unaff_s0 = unaff_s4;\n  if (iVar12 < 1) {\nLAB_00066418:\n    pcVar21 = (char *)udhcp_read_interface\n                                (*(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                                 (int *)(PTR_bb_common_bufsiz1_0013136c + 0x208),(uint32_t *)0x0,\n                                 PTR_bb_common_bufsiz1_0013136c + 0x200);\n    puVar20 = PTR_bb_common_bufsiz1_0013136c;\n    if (pcVar21 == (char *)0x0) {\n      if (unaff_s3 != (undefined4 *)0x0) {\n        *unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);\n        *(undefined *)(unaff_s3 + 1) = puVar20[0x204];\n        *(undefined *)((int)unaff_s3 + 5) = puVar20[0x205];\n      }\n      if ((byte)PTR_OptArray_14__flags_00131178[0x23de] < 6) {\n                    /* WARNING: Could not recover jumptable at 0x000664a0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        iVar7 = (*(code *)(&_gp + *(int *)(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)(byte)PTR_OptArray_14__flags_00131178[0x23de] * 4 +\n                                          -0x2768)))();\n        return iVar7;\n      }\n      pcVar21 = (char *)0x0;\n      pcVar23 = (char *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n  }\n  else {\n    iVar14 = (*(code *)PTR_monotonic_sec_001317c0)();\n    if (iVar12 < 0x20c49b) {\n      iVar12 = iVar12 * 1000;\n    }\n    else {\n      iVar12 = 0x7fffffff;\n    }\n    iVar12 = (*(code *)PTR_poll_00132060)(pfds,2,iVar12);\n    pcVar23 = pcVar22;\n    if (iVar12 < 0) {\n      if (**(int **)PTR_bb_errno_001311d8 != 4) {\n        iVar12 = (*(code *)PTR_bb_perror_msg_and_die_001311f4)\n                           (PTR_bdcommands_4__name_4__001311a4 + -0x5488);\n        goto LAB_00066410;\n      }\n      iVar12 = (*(code *)PTR_monotonic_sec_001317c0)();\n      pcVar21 = pcVar21 + (iVar12 - iVar14);\n      goto LAB_000662f4;\n    }\nLAB_00066410:\n    if (iVar12 == 0) goto LAB_00066418;\n    iVar12 = udhcp_sp_read();\n    puVar20 = PTR_bb_common_bufsiz1_0013136c;\n    if (iVar12 == 0x10) {\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar20[0x24d] = 0;\n      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2894);\n      bVar2 = PTR_OptArray_14__flags_00131178[0x23de];\n      if (bVar2 < 7) {\n                    /* WARNING: Could not recover jumptable at 0x00066854. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        iVar7 = (*(code *)(&_gp + *(int *)(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)bVar2 * 4 + -0x2750)))();\n        return iVar7;\n      }\n      pcVar21 = (char *)0x0;\n      unaff_s0 = pcVar24;\n      pcVar23 = pcVar24;\n      if (bVar2 == 5) {\n        if ((int)pcVar22 < 0x3d) {\n          if (0x3b < (int)pcVar22) goto LAB_0006666c;\n        }\n        else {\n          pcVar22 = (char *)0x3c;\nLAB_0006666c:\n          iVar12 = (*pcStack_2ec)(uStack_2f8,server_addr,requested_ip);\n          pcVar21 = (char *)0x0;\n          if (-1 < iVar12) {\n            unaff_s0 = unaff_s4;\n            pcVar23 = (char *)((int)pcVar22 >> 1);\n            goto LAB_000662f4;\n          }\n        }\n        PTR_OptArray_14__flags_00131178[0x23de] = 4;\n        (*unaff_s7)(2);\n        if ((int)pcVar22 < 1) {\n          (*(code *)PTR_bb_error_msg_001311d0)(puStack_2e4 + -0x28b4);\n          (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);\n          PTR_OptArray_14__flags_00131178[0x23de] = 0;\n          puVar20 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar20[0x24d] = 0;\n          pcVar21 = (char *)0x0;\n          pcVar23 = pcVar22;\n        }\n        else {\n          (*pcStack_2ec)(uStack_2f8,0);\n          pcVar21 = (char *)0x0;\n          unaff_s0 = unaff_s4;\n          pcVar23 = (char *)((int)pcVar22 >> 1);\n        }\n      }\n      goto LAB_000662f4;\n    }\n    if (iVar12 == 0x11) {\n      perform_release(server_addr,requested_ip);\n      pcVar23 = (char *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n    if (iVar12 == 0xf) {\n      (*(code *)PTR_bb_error_msg_001311d0)\n                (PTR_bdcommands_4__name_4__001311a4 + -0x2874,\n                 PTR_bdcommands_4__name_4__001311a4 + -0x287c);\n      goto LAB_00066938;\n    }\n    if (pfds[1].revents == 0) goto LAB_000662f4;\n    if (PTR_OptArray_14__flags_00131178[0x23df] == '\x01') {\n      iVar12 = udhcp_recv_kernel_packet(&packet,*(int *)(puStack_2f0 + 0x1004));\n    }\n    else {\n      iVar12 = udhcp_recv_raw_packet(&packet,*(int *)(puStack_2f0 + 0x1004));\n    }\n    if (iVar12 == -1) {\n      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2868);\n      (*(code *)PTR_sleep_0013211c)(discover_timeout);\n      (*unaff_s7)((int)(char)PTR_OptArray_14__flags_00131178[0x23df]);\n      iVar12 = (*(code *)PTR_monotonic_sec_001317c0)();\n      pcVar21 = pcVar21 + (iVar12 - iVar14);\n      goto LAB_000662f4;\n    }\n    iVar15 = (*(code *)PTR_monotonic_sec_001317c0)();\n    pcVar21 = pcVar21 + (iVar15 - iVar14);\n    if ((((iVar12 < 0) || (packet.xid != uStack_2f8)) || (packet.hlen != '\x06')) ||\n       (iVar12 = (*(code *)PTR_memcmp_0013212c)\n                           (packet.chaddr,PTR_bb_common_bufsiz1_0013136c + 0x200,6), iVar12 != 0))\n    goto LAB_000662f4;\n    puVar9 = udhcp_get_option(&packet,0x35);\n    uVar6 = server_addr;\n    if (puVar9 == (uint8_t *)0x0) {\n      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2844);\n      goto LAB_000662f4;\n    }\n    iVar12 = (int)(char)PTR_OptArray_14__flags_00131178[0x23de];\n    pcVar22 = (char *)0x0;\n    if (iVar12 != 1) {\n      if (iVar12 < 2) {\n        if ((iVar12 == 0) && (*puVar9 == '\x02')) {\n          server_addr = 0;\n          puVar16 = (uint32_t *)udhcp_get_option32(&packet,0x36);\n          if (puVar16 == (uint32_t *)0x0) {\n            (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x281c);\n          }\n          else {\n            server_addr = *puVar16;\n          }\n          PTR_OptArray_14__flags_00131178[0x23de] = 1;\n          pcVar21 = (char *)0x0;\n          requested_ip = packet.yiaddr;\n          unaff_s0 = pcVar22;\n          pcVar23 = pcVar22;\n        }\n        goto LAB_000662f4;\n      }\n      if (2 < (iVar12 - 3U & 0xff)) goto LAB_000662f4;\n    }\n    if (*puVar9 != '\x05') {\n      if ((*puVar9 == '\x06') &&\n         ((server_addr == 0 ||\n          ((puVar16 = (uint32_t *)udhcp_get_option32(&packet,0x36), puVar16 != (uint32_t *)0x0 &&\n           (lease_seconds = *puVar16, uVar6 == lease_seconds)))))) {\n        (*(code *)PTR_bb_error_msg_001311d0)\n                  (PTR_bdcommands_4__name_4__001311a4 + -0x2874,\n                   PTR_bdcommands_4__name_4__001311a4 + -0x2778);\n        (*pcStack_2fc)(&packet,PTR_bdcommands_4__name_4__001311a4 + -0x276c);\n        if (PTR_OptArray_14__flags_00131178[0x23de] != '\x01') {\n          (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);\n        }\n        (*unaff_s7)(2);\n        (*(code *)PTR_sleep_0013211c)(3);\n        PTR_OptArray_14__flags_00131178[0x23de] = 0;\n        puVar20 = PTR_bb_common_bufsiz1_0013136c;\n        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n        puVar20[0x24d] = 0;\n        pcVar21 = (char *)0x0;\n        requested_ip = 0;\n        unaff_s0 = pcVar22;\n        pcVar23 = pcVar22;\n      }\n      goto LAB_000662f4;\n    }\n    puVar17 = (uint *)udhcp_get_option32(&packet,0x33);\n    if (puVar17 == (uint *)0x0) {\n      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2800);\n      lease_seconds = 0xe10;\n    }\n    else {\n      lease_seconds = *puVar17;\n      if (lease_seconds < 0x7a) {\n        lease_seconds = 0x7a;\n      }\n    }\n    if (((int)(uVar8 << 9) < 0) &&\n       (iVar12 = arpping(packet.yiaddr,(uint8_t *)0x0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                         *(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c),timeo), iVar12 == 0)) {\n      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x27d4);\n      send_decline(server_addr,packet.yiaddr);\n      if (PTR_OptArray_14__flags_00131178[0x23de] != '\x01') {\n        (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);\n      }\n      (*unaff_s7)(2);\n      PTR_OptArray_14__flags_00131178[0x23de] = 0;\n      puVar20 = PTR_bb_common_bufsiz1_0013136c;\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar20[0x24d] = 0;\n      pcVar21 = (char *)0x0;\n      requested_ip = 0;\n      unaff_s0 = (char *)0x0;\n      pcVar23 = (char *)tryagain_timeout;\n      goto LAB_000662f4;\n    }\n    uVar11 = (*(code *)PTR_inet_ntoa_00132140)(packet.yiaddr);\n    uVar6 = lease_seconds;\n    (*(code *)PTR_bb_error_msg_001311d0)\n              (PTR_bdcommands_4__name_4__001311a4 + -0x279c,uVar11,lease_seconds);\n    requested_ip = packet.yiaddr;\n    iVar12 = (*(code *)PTR_monotonic_sec_001317c0)();\n    if (PTR_OptArray_14__flags_00131178[0x23de] == '\x01') {\n      puVar20 = PTR_bdcommands_4__name_4__001311a4 + -0x2978;\n    }\n    else {\n      puVar20 = PTR_bdcommands_4__name_4__001311a4 + -0x2884;\n    }\n    (*pcStack_2fc)(&packet,puVar20);\n    iVar14 = (*(code *)PTR_monotonic_sec_001317c0)();\n    pcVar21 = (char *)(iVar14 - iVar12);\n    pcVar23 = (char *)(uVar6 >> 1);\n    if (pcVar23 < pcVar21) {\n      pcVar21 = (char *)0x0;\n      pcVar23 = pcVar22;\n    }\n    PTR_OptArray_14__flags_00131178[0x23de] = 2;\n    (*unaff_s7)(0);\n    if ((uVar8 & 0x100) == 0) {\n      if ((int)(uVar8 << 0xc) < 0) {\n        uVar8 = uVar8 & 0xffffffbf;\n      }\n      else {\n        client_background();\n        uVar8 = uVar8 & 0xffd7ffbf | 0x80000;\n      }\n      goto LAB_000662f4;\n    }\n  }\nLAB_00066938:\n  uVar8 = uVar8 & 0x200;\n  unaff_s0 = pcVar21;\n  if (uVar8 != 0) {\n    perform_release(server_addr,requested_ip);\n  }\n  while( true ) {\n    if (*PTR_wrote_pidfile_00131434 != '\0') {\n      (*(code *)PTR_unlink_001320a8)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));\n    }\nLAB_0006654c:\n    if (iVar7 == *(int *)PTR___stack_chk_guard_00132164) {\n      return (int)pcVar24;\n    }\n    (*(code *)PTR___stack_chk_fail_001320e4)();\n    if ((int)unaff_s4 < 3) {\n      send_select(uStack_2f8,server_addr,requested_ip);\n      pcVar21 = (char *)0x0;\n      unaff_s0 = unaff_s4 + 1;\n      pcVar23 = (char *)discover_timeout;\n      goto LAB_000662f4;\n    }\n    (*unaff_s7)(2);\n    PTR_OptArray_14__flags_00131178[0x23de] = 0;\n    (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x28f4);\n    if ((int)(uVar8 << 10) < 0) break;\n    if ((uVar8 & 0x40) == 0) goto LAB_00066624;\n    (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x28c8);\n    pcVar24 = &DAT_00000001;\n  }\n  (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x28e8);\n  client_background();\n  uVar8 = uVar8 & 0xffd7ffff | 0x80000;\nLAB_00066624:\n  pcVar21 = (char *)0x0;\n  pcVar23 = (char *)tryagain_timeout;\n  goto LAB_000662f4;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "uint32_t uVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint8_t *puVar9;" primitive_type (pointer_declarator "*puVar9" * identifier) ;) (declaration "uint timeo;" type_identifier identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "undefined4 uVar11;" type_identifier identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "option_set *poVar13;" type_identifier (pointer_declarator "*poVar13" * identifier) ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "uint32_t *puVar16;" primitive_type (pointer_declarator "*puVar16" * identifier) ;) (declaration "uint *puVar17;" type_identifier (pointer_declarator "*puVar17" * identifier) ;) (declaration "uint uVar18;" type_identifier identifier ;) (declaration "undefined4 extraout_v1;" type_identifier identifier ;) (declaration "byte *pbVar19;" type_identifier (pointer_declarator "*pbVar19" * identifier) ;) (declaration "undefined *puVar20;" type_identifier (pointer_declarator "*puVar20" * identifier) ;) (declaration "char *unaff_s0;" primitive_type (pointer_declarator "*unaff_s0" * identifier) ;) (declaration "char *pcVar21;" primitive_type (pointer_declarator "*pcVar21" * identifier) ;) (declaration "char *pcVar22;" primitive_type (pointer_declarator "*pcVar22" * identifier) ;) (declaration "char *pcVar23;" primitive_type (pointer_declarator "*pcVar23" * identifier) ;) (declaration "undefined4 *unaff_s3;" type_identifier (pointer_declarator "*unaff_s3" * identifier) ;) (declaration "char *unaff_s4;" primitive_type (pointer_declarator "*unaff_s4" * identifier) ;) (declaration "uint32_t requested_ip;" primitive_type identifier ;) (declaration "char *pcVar24;" primitive_type (pointer_declarator "*pcVar24" * identifier) ;) (declaration "code *unaff_s7;" type_identifier (pointer_declarator "*unaff_s7" * identifier) ;) (declaration "code *pcStack_2fc;" type_identifier (pointer_declarator "*pcStack_2fc" * identifier) ;) (declaration "uint32_t uStack_2f8;" primitive_type identifier ;) (declaration "undefined *puStack_2f0;" type_identifier (pointer_declarator "*puStack_2f0" * identifier) ;) (declaration "code *pcStack_2ec;" type_identifier (pointer_declarator "*pcStack_2ec" * identifier) ;) (declaration "undefined *puStack_2e4;" type_identifier (pointer_declarator "*puStack_2e4" * identifier) ;) (declaration "char *str_V;" primitive_type (pointer_declarator "*str_V" * identifier) ;) (declaration "char *str_h;" primitive_type (pointer_declarator "*str_h" * identifier) ;) (declaration "char *str_F;" primitive_type (pointer_declarator "*str_F" * identifier) ;) (declaration "char *str_r;" primitive_type (pointer_declarator "*str_r" * identifier) ;) (declaration "char *str_a;" primitive_type (pointer_declarator "*str_a" * identifier) ;) (declaration "llist_t *list_O;" type_identifier (pointer_declarator "*list_O" * identifier) ;) (declaration "llist_t *list_x;" type_identifier (pointer_declarator "*list_x" * identifier) ;) (declaration "int tryagain_timeout;" primitive_type identifier ;) (declaration "int discover_timeout;" primitive_type identifier ;) (declaration "int discover_retries;" primitive_type identifier ;) (declaration "uint32_t server_addr;" primitive_type identifier ;) (declaration "uint32_t lease_seconds;" primitive_type identifier ;) (declaration "pollfd pfds [2];" type_identifier (array_declarator "pfds [2]" identifier [ number_literal ]) ;) (declaration "dhcp_packet packet;" type_identifier identifier ;) (expression_statement "puVar20 = PTR_bb_common_bufsiz1_0013136c;" (assignment_expression "puVar20 = PTR_bb_common_bufsiz1_0013136c" identifier = identifier) ;) (expression_statement "iVar7 = *(int *)PTR___stack_chk_guard_00132164;" (assignment_expression "iVar7 = *(int *)PTR___stack_chk_guard_00132164" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00132164" * (cast_expression "(int *)PTR___stack_chk_guard_00132164" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "str_a = PTR_bdcommands_4__name_4__001311a4 + -0x2970;" (assignment_expression "str_a = PTR_bdcommands_4__name_4__001311a4 + -0x2970" identifier = (binary_expression "PTR_bdcommands_4__name_4__001311a4 + -0x2970" identifier + number_literal)) ;) (expression_statement "list_O = (llist_t *)0x0;" (assignment_expression "list_O = (llist_t *)0x0" identifier = (cast_expression "(llist_t *)0x0" ( (type_descriptor "llist_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "list_x = (llist_t *)0x0;" (assignment_expression "list_x = (llist_t *)0x0" identifier = (cast_expression "(llist_t *)0x0" ( (type_descriptor "llist_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "tryagain_timeout = 0x14;" (assignment_expression "tryagain_timeout = 0x14" identifier = number_literal) ;) (expression_statement "discover_timeout = 3;" (assignment_expression "discover_timeout = 3" identifier = number_literal) ;) (expression_statement "discover_retries = 3;" (assignment_expression "discover_retries = 3" identifier = number_literal) ;) (expression_statement "*(undefined **)(PTR_bb_common_bufsiz1_0013136c + 0x22c) =\n       PTR_bdcommands_4__name_4__001311a4 + -0x6598;" (assignment_expression "*(undefined **)(PTR_bb_common_bufsiz1_0013136c + 0x22c) =\n       PTR_bdcommands_4__name_4__001311a4 + -0x6598" (pointer_expression "*(undefined **)(PTR_bb_common_bufsiz1_0013136c + 0x22c)" * (cast_expression "(undefined **)(PTR_bb_common_bufsiz1_0013136c + 0x22c)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x22c)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x22c" identifier + number_literal) )))) = (binary_expression "PTR_bdcommands_4__name_4__001311a4 + -0x6598" identifier + number_literal)) ;) (expression_statement "*(undefined **)(puVar20 + 0x234) = PTR_bdcommands_4__name_4__001311a4 + -0x2968;" (assignment_expression "*(undefined **)(puVar20 + 0x234) = PTR_bdcommands_4__name_4__001311a4 + -0x2968" (pointer_expression "*(undefined **)(puVar20 + 0x234)" * (cast_expression "(undefined **)(puVar20 + 0x234)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar20 + 0x234)" ( (binary_expression "puVar20 + 0x234" identifier + number_literal) )))) = (binary_expression "PTR_bdcommands_4__name_4__001311a4 + -0x2968" identifier + number_literal)) ;) (expression_statement "str_V = PTR_bdcommands_4__name_4__001311a4 + -0x294c;" (assignment_expression "str_V = PTR_bdcommands_4__name_4__001311a4 + -0x294c" identifier = (binary_expression "PTR_bdcommands_4__name_4__001311a4 + -0x294c" identifier + number_literal)) ;) (expression_statement "uVar8 = (*(code *)PTR_getopt32long_00131314)\n                    (argv,PTR_LAB_0013118c + 0x5970,PTR_DAT_001311dc + -0x227c,&str_V,&str_h,&str_h,\n                     &str_F,puVar20 + 0x22c,puVar20 + 0x230,&str_r,puVar20 + 0x234,&discover_timeout\n                     ,&discover_retries,&tryagain_timeout,&list_O,&list_x,&str_a);" (assignment_expression "uVar8 = (*(code *)PTR_getopt32long_00131314)\n                    (argv,PTR_LAB_0013118c + 0x5970,PTR_DAT_001311dc + -0x227c,&str_V,&str_h,&str_h,\n                     &str_F,puVar20 + 0x22c,puVar20 + 0x230,&str_r,puVar20 + 0x234,&discover_timeout\n                     ,&discover_retries,&tryagain_timeout,&list_O,&list_x,&str_a)" identifier = (call_expression "(*(code *)PTR_getopt32long_00131314)\n                    (argv,PTR_LAB_0013118c + 0x5970,PTR_DAT_001311dc + -0x227c,&str_V,&str_h,&str_h,\n                     &str_F,puVar20 + 0x22c,puVar20 + 0x230,&str_r,puVar20 + 0x234,&discover_timeout\n                     ,&discover_retries,&tryagain_timeout,&list_O,&list_x,&str_a)" (parenthesized_expression "(*(code *)PTR_getopt32long_00131314)" ( (pointer_expression "*(code *)PTR_getopt32long_00131314" * (cast_expression "(code *)PTR_getopt32long_00131314" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(argv,PTR_LAB_0013118c + 0x5970,PTR_DAT_001311dc + -0x227c,&str_V,&str_h,&str_h,\n                     &str_F,puVar20 + 0x22c,puVar20 + 0x230,&str_r,puVar20 + 0x234,&discover_timeout\n                     ,&discover_retries,&tryagain_timeout,&list_O,&list_x,&str_a)" ( identifier , (binary_expression "PTR_LAB_0013118c + 0x5970" identifier + number_literal) , (binary_expression "PTR_DAT_001311dc + -0x227c" identifier + number_literal) , (pointer_expression "&str_V" & identifier) , (pointer_expression "&str_h" & identifier) , (pointer_expression "&str_h" & identifier) , (pointer_expression "&str_F" & identifier) , (binary_expression "puVar20 + 0x22c" identifier + number_literal) , (binary_expression "puVar20 + 0x230" identifier + number_literal) , (pointer_expression "&str_r" & identifier) , (binary_expression "puVar20 + 0x234" identifier + number_literal) , (pointer_expression "&discover_timeout" & identifier) , (pointer_expression "&discover_retries" & identifier) , (pointer_expression "&tryagain_timeout" & identifier) , (pointer_expression "&list_O" & identifier) , (pointer_expression "&list_x" & identifier) , (pointer_expression "&str_a" & identifier) )))) ;) (if_statement "if ((uVar8 & 0xc) != 0) {\n    (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x293c);\n    puVar9 = alloc_dhcp_option(0xc,str_h,0);\n    *(uint8_t **)(PTR_bb_common_bufsiz1_0013136c + 0x244) = puVar9;\n  }" if (parenthesized_expression "((uVar8 & 0xc) != 0)" ( (binary_expression "(uVar8 & 0xc) != 0" (parenthesized_expression "(uVar8 & 0xc)" ( (binary_expression "uVar8 & 0xc" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x293c);\n    puVar9 = alloc_dhcp_option(0xc,str_h,0);\n    *(uint8_t **)(PTR_bb_common_bufsiz1_0013136c + 0x244) = puVar9;\n  }" { (expression_statement "(*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x293c);" (call_expression "(*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x293c)" (parenthesized_expression "(*(code *)PTR_bb_error_msg_001311d0)" ( (pointer_expression "*(code *)PTR_bb_error_msg_001311d0" * (cast_expression "(code *)PTR_bb_error_msg_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_bdcommands_4__name_4__001311a4 + -0x293c)" ( (binary_expression "PTR_bdcommands_4__name_4__001311a4 + -0x293c" identifier + number_literal) ))) ;) (expression_statement "puVar9 = alloc_dhcp_option(0xc,str_h,0);" (assignment_expression "puVar9 = alloc_dhcp_option(0xc,str_h,0)" identifier = (call_expression "alloc_dhcp_option(0xc,str_h,0)" identifier (argument_list "(0xc,str_h,0)" ( number_literal , identifier , number_literal )))) ;) (expression_statement "*(uint8_t **)(PTR_bb_common_bufsiz1_0013136c + 0x244) = puVar9;" (assignment_expression "*(uint8_t **)(PTR_bb_common_bufsiz1_0013136c + 0x244) = puVar9" (pointer_expression "*(uint8_t **)(PTR_bb_common_bufsiz1_0013136c + 0x244)" * (cast_expression "(uint8_t **)(PTR_bb_common_bufsiz1_0013136c + 0x244)" ( (type_descriptor "uint8_t **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x244)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x244" identifier + number_literal) )))) = identifier) ;) })) (if_statement "if ((uVar8 & 0x10) != 0) {\n    puVar9 = alloc_dhcp_option(0x51,str_F,3);\n    *(uint8_t **)(PTR_bb_common_bufsiz1_0013136c + 0x248) = puVar9;\n    puVar9[2] = '\x01';\n  }" if (parenthesized_expression "((uVar8 & 0x10) != 0)" ( (binary_expression "(uVar8 & 0x10) != 0" (parenthesized_expression "(uVar8 & 0x10)" ( (binary_expression "uVar8 & 0x10" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    puVar9 = alloc_dhcp_option(0x51,str_F,3);\n    *(uint8_t **)(PTR_bb_common_bufsiz1_0013136c + 0x248) = puVar9;\n    puVar9[2] = '\x01';\n  }" { (expression_statement "puVar9 = alloc_dhcp_option(0x51,str_F,3);" (assignment_expression "puVar9 = alloc_dhcp_option(0x51,str_F,3)" identifier = (call_expression "alloc_dhcp_option(0x51,str_F,3)" identifier (argument_list "(0x51,str_F,3)" ( number_literal , identifier , number_literal )))) ;) (expression_statement "*(uint8_t **)(PTR_bb_common_bufsiz1_0013136c + 0x248) = puVar9;" (assignment_expression "*(uint8_t **)(PTR_bb_common_bufsiz1_0013136c + 0x248) = puVar9" (pointer_expression "*(uint8_t **)(PTR_bb_common_bufsiz1_0013136c + 0x248)" * (cast_expression "(uint8_t **)(PTR_bb_common_bufsiz1_0013136c + 0x248)" ( (type_descriptor "uint8_t **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x248)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x248" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar9[2] = '\x01';" (assignment_expression "puVar9[2] = '\x01'" (subscript_expression "puVar9[2]" identifier [ number_literal ]) = (char_literal "'\x01'" ' escape_sequence ')) ;) })) (expression_statement "requested_ip = uVar8 & 0x400;" (assignment_expression "requested_ip = uVar8 & 0x400" identifier = (binary_expression "uVar8 & 0x400" identifier & number_literal)) ;) (if_statement "if (requested_ip != 0) {\n    requested_ip = (*(code *)PTR_inet_addr_00131d0c)(str_r);\n  }" if (parenthesized_expression "(requested_ip != 0)" ( (binary_expression "requested_ip != 0" identifier != number_literal) )) (compound_statement "{\n    requested_ip = (*(code *)PTR_inet_addr_00131d0c)(str_r);\n  }" { (expression_statement "requested_ip = (*(code *)PTR_inet_addr_00131d0c)(str_r);" (assignment_expression "requested_ip = (*(code *)PTR_inet_addr_00131d0c)(str_r)" identifier = (call_expression "(*(code *)PTR_inet_addr_00131d0c)(str_r)" (parenthesized_expression "(*(code *)PTR_inet_addr_00131d0c)" ( (pointer_expression "*(code *)PTR_inet_addr_00131d0c" * (cast_expression "(code *)PTR_inet_addr_00131d0c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(str_r)" ( identifier )))) ;) })) (expression_statement "timeo = (*(code *)PTR_xatoul_001313c8)(str_a);" (assignment_expression "timeo = (*(code *)PTR_xatoul_001313c8)(str_a)" identifier = (call_expression "(*(code *)PTR_xatoul_001313c8)(str_a)" (parenthesized_expression "(*(code *)PTR_xatoul_001313c8)" ( (pointer_expression "*(code *)PTR_xatoul_001313c8" * (cast_expression "(code *)PTR_xatoul_001313c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(str_a)" ( identifier )))) ;) (expression_statement "puVar5 = PTR_udhcp_option_idx_001317ec;" (assignment_expression "puVar5 = PTR_udhcp_option_idx_001317ec" identifier = identifier) ;) (expression_statement "puVar4 = PTR_bb_strtoul_00131300;" (assignment_expression "puVar4 = PTR_bb_strtoul_00131300" identifier = identifier) ;) (expression_statement "puVar3 = PTR_llist_pop_00131244;" (assignment_expression "puVar3 = PTR_llist_pop_00131244" identifier = identifier) ;) (expression_statement "puVar20 = PTR_bb_errno_001311d8;" (assignment_expression "puVar20 = PTR_bb_errno_001311d8" identifier = identifier) ;) (if_statement "if (list_O != (llist_t *)0x0) {\n    do {\n      unaff_s0 = (char *)(*(code *)puVar3)(&list_O);\n      uVar10 = (*(code *)puVar4)(unaff_s0,0,0);\n      if ((**(int **)puVar20 != 0) || (uVar18 = uVar10 >> 3, 0xfe < uVar10)) {\n        uVar18 = udhcp_option_idx(unaff_s0,PTR_dhcp_option_strings_001317d8);\n        uVar10 = (uint)(byte)PTR_dhcp_optflags_001317dc[uVar18 * 2 + 1];\n        uVar18 = (uint)((byte)PTR_dhcp_optflags_001317dc[uVar18 * 2 + 1] >> 3);\n      }\n      PTR_bb_common_bufsiz1_0013136c[uVar18 + 0x20c] =\n           (byte)(1 << (uVar10 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar18 + 0x20c];\n      unaff_s3 = (undefined4 *)puVar4;\n      unaff_s4 = puVar3;\n      unaff_s7 = (code *)puVar5;\n    } while (list_O != (llist_t *)0x0);\n  }" if (parenthesized_expression "(list_O != (llist_t *)0x0)" ( (binary_expression "list_O != (llist_t *)0x0" identifier != (cast_expression "(llist_t *)0x0" ( (type_descriptor "llist_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    do {\n      unaff_s0 = (char *)(*(code *)puVar3)(&list_O);\n      uVar10 = (*(code *)puVar4)(unaff_s0,0,0);\n      if ((**(int **)puVar20 != 0) || (uVar18 = uVar10 >> 3, 0xfe < uVar10)) {\n        uVar18 = udhcp_option_idx(unaff_s0,PTR_dhcp_option_strings_001317d8);\n        uVar10 = (uint)(byte)PTR_dhcp_optflags_001317dc[uVar18 * 2 + 1];\n        uVar18 = (uint)((byte)PTR_dhcp_optflags_001317dc[uVar18 * 2 + 1] >> 3);\n      }\n      PTR_bb_common_bufsiz1_0013136c[uVar18 + 0x20c] =\n           (byte)(1 << (uVar10 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar18 + 0x20c];\n      unaff_s3 = (undefined4 *)puVar4;\n      unaff_s4 = puVar3;\n      unaff_s7 = (code *)puVar5;\n    } while (list_O != (llist_t *)0x0);\n  }" { (do_statement "do {\n      unaff_s0 = (char *)(*(code *)puVar3)(&list_O);\n      uVar10 = (*(code *)puVar4)(unaff_s0,0,0);\n      if ((**(int **)puVar20 != 0) || (uVar18 = uVar10 >> 3, 0xfe < uVar10)) {\n        uVar18 = udhcp_option_idx(unaff_s0,PTR_dhcp_option_strings_001317d8);\n        uVar10 = (uint)(byte)PTR_dhcp_optflags_001317dc[uVar18 * 2 + 1];\n        uVar18 = (uint)((byte)PTR_dhcp_optflags_001317dc[uVar18 * 2 + 1] >> 3);\n      }\n      PTR_bb_common_bufsiz1_0013136c[uVar18 + 0x20c] =\n           (byte)(1 << (uVar10 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar18 + 0x20c];\n      unaff_s3 = (undefined4 *)puVar4;\n      unaff_s4 = puVar3;\n      unaff_s7 = (code *)puVar5;\n    } while (list_O != (llist_t *)0x0);" do (compound_statement "{\n      unaff_s0 = (char *)(*(code *)puVar3)(&list_O);\n      uVar10 = (*(code *)puVar4)(unaff_s0,0,0);\n      if ((**(int **)puVar20 != 0) || (uVar18 = uVar10 >> 3, 0xfe < uVar10)) {\n        uVar18 = udhcp_option_idx(unaff_s0,PTR_dhcp_option_strings_001317d8);\n        uVar10 = (uint)(byte)PTR_dhcp_optflags_001317dc[uVar18 * 2 + 1];\n        uVar18 = (uint)((byte)PTR_dhcp_optflags_001317dc[uVar18 * 2 + 1] >> 3);\n      }\n      PTR_bb_common_bufsiz1_0013136c[uVar18 + 0x20c] =\n           (byte)(1 << (uVar10 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar18 + 0x20c];\n      unaff_s3 = (undefined4 *)puVar4;\n      unaff_s4 = puVar3;\n      unaff_s7 = (code *)puVar5;\n    }" { (expression_statement "unaff_s0 = (char *)(*(code *)puVar3)(&list_O);" (assignment_expression "unaff_s0 = (char *)(*(code *)puVar3)(&list_O)" identifier = (cast_expression "(char *)(*(code *)puVar3)(&list_O)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar3)(&list_O)" (parenthesized_expression "(*(code *)puVar3)" ( (pointer_expression "*(code *)puVar3" * (cast_expression "(code *)puVar3" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&list_O)" ( (pointer_expression "&list_O" & identifier) ))))) ;) (expression_statement "uVar10 = (*(code *)puVar4)(unaff_s0,0,0);" (assignment_expression "uVar10 = (*(code *)puVar4)(unaff_s0,0,0)" identifier = (call_expression "(*(code *)puVar4)(unaff_s0,0,0)" (parenthesized_expression "(*(code *)puVar4)" ( (pointer_expression "*(code *)puVar4" * (cast_expression "(code *)puVar4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,0,0)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if ((**(int **)puVar20 != 0) || (uVar18 = uVar10 >> 3, 0xfe < uVar10)) {\n        uVar18 = udhcp_option_idx(unaff_s0,PTR_dhcp_option_strings_001317d8);\n        uVar10 = (uint)(byte)PTR_dhcp_optflags_001317dc[uVar18 * 2 + 1];\n        uVar18 = (uint)((byte)PTR_dhcp_optflags_001317dc[uVar18 * 2 + 1] >> 3);\n      }" if (parenthesized_expression "((**(int **)puVar20 != 0) || (uVar18 = uVar10 >> 3, 0xfe < uVar10))" ( (binary_expression "(**(int **)puVar20 != 0) || (uVar18 = uVar10 >> 3, 0xfe < uVar10)" (parenthesized_expression "(**(int **)puVar20 != 0)" ( (binary_expression "**(int **)puVar20 != 0" (pointer_expression "**(int **)puVar20" * (pointer_expression "*(int **)puVar20" * (cast_expression "(int **)puVar20" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) != number_literal) )) || (parenthesized_expression "(uVar18 = uVar10 >> 3, 0xfe < uVar10)" ( (comma_expression "uVar18 = uVar10 >> 3, 0xfe < uVar10" (assignment_expression "uVar18 = uVar10 >> 3" identifier = (binary_expression "uVar10 >> 3" identifier >> number_literal)) , (binary_expression "0xfe < uVar10" number_literal < identifier)) ))) )) (compound_statement "{\n        uVar18 = udhcp_option_idx(unaff_s0,PTR_dhcp_option_strings_001317d8);\n        uVar10 = (uint)(byte)PTR_dhcp_optflags_001317dc[uVar18 * 2 + 1];\n        uVar18 = (uint)((byte)PTR_dhcp_optflags_001317dc[uVar18 * 2 + 1] >> 3);\n      }" { (expression_statement "uVar18 = udhcp_option_idx(unaff_s0,PTR_dhcp_option_strings_001317d8);" (assignment_expression "uVar18 = udhcp_option_idx(unaff_s0,PTR_dhcp_option_strings_001317d8)" identifier = (call_expression "udhcp_option_idx(unaff_s0,PTR_dhcp_option_strings_001317d8)" identifier (argument_list "(unaff_s0,PTR_dhcp_option_strings_001317d8)" ( identifier , identifier )))) ;) (expression_statement "uVar10 = (uint)(byte)PTR_dhcp_optflags_001317dc[uVar18 * 2 + 1];" (assignment_expression "uVar10 = (uint)(byte)PTR_dhcp_optflags_001317dc[uVar18 * 2 + 1]" identifier = (cast_expression "(uint)(byte)PTR_dhcp_optflags_001317dc[uVar18 * 2 + 1]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)PTR_dhcp_optflags_001317dc[uVar18 * 2 + 1]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR_dhcp_optflags_001317dc[uVar18 * 2 + 1]" identifier [ (binary_expression "uVar18 * 2 + 1" (binary_expression "uVar18 * 2" identifier * number_literal) + number_literal) ])))) ;) (expression_statement "uVar18 = (uint)((byte)PTR_dhcp_optflags_001317dc[uVar18 * 2 + 1] >> 3);" (assignment_expression "uVar18 = (uint)((byte)PTR_dhcp_optflags_001317dc[uVar18 * 2 + 1] >> 3)" identifier = (call_expression "(uint)((byte)PTR_dhcp_optflags_001317dc[uVar18 * 2 + 1] >> 3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((byte)PTR_dhcp_optflags_001317dc[uVar18 * 2 + 1] >> 3)" ( (binary_expression "(byte)PTR_dhcp_optflags_001317dc[uVar18 * 2 + 1] >> 3" (cast_expression "(byte)PTR_dhcp_optflags_001317dc[uVar18 * 2 + 1]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR_dhcp_optflags_001317dc[uVar18 * 2 + 1]" identifier [ (binary_expression "uVar18 * 2 + 1" (binary_expression "uVar18 * 2" identifier * number_literal) + number_literal) ])) >> number_literal) )))) ;) })) (expression_statement "PTR_bb_common_bufsiz1_0013136c[uVar18 + 0x20c] =\n           (byte)(1 << (uVar10 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar18 + 0x20c];" (assignment_expression "PTR_bb_common_bufsiz1_0013136c[uVar18 + 0x20c] =\n           (byte)(1 << (uVar10 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar18 + 0x20c]" (subscript_expression "PTR_bb_common_bufsiz1_0013136c[uVar18 + 0x20c]" identifier [ (binary_expression "uVar18 + 0x20c" identifier + number_literal) ]) = (binary_expression "(byte)(1 << (uVar10 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar18 + 0x20c]" (call_expression "(byte)(1 << (uVar10 & 7))" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(1 << (uVar10 & 7))" ( (binary_expression "1 << (uVar10 & 7)" number_literal << (parenthesized_expression "(uVar10 & 7)" ( (binary_expression "uVar10 & 7" identifier & number_literal) ))) ))) | (subscript_expression "PTR_bb_common_bufsiz1_0013136c[uVar18 + 0x20c]" identifier [ (binary_expression "uVar18 + 0x20c" identifier + number_literal) ]))) ;) (expression_statement "unaff_s3 = (undefined4 *)puVar4;" (assignment_expression "unaff_s3 = (undefined4 *)puVar4" identifier = (cast_expression "(undefined4 *)puVar4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "unaff_s4 = puVar3;" (assignment_expression "unaff_s4 = puVar3" identifier = identifier) ;) (expression_statement "unaff_s7 = (code *)puVar5;" (assignment_expression "unaff_s7 = (code *)puVar5" identifier = (cast_expression "(code *)puVar5" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }) while (parenthesized_expression "(list_O != (llist_t *)0x0)" ( (binary_expression "list_O != (llist_t *)0x0" identifier != (cast_expression "(llist_t *)0x0" ( (type_descriptor "llist_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (expression_statement "puVar20 = PTR_bb_common_bufsiz1_0013136c;" (assignment_expression "puVar20 = PTR_bb_common_bufsiz1_0013136c" identifier = identifier) ;) (if_statement "if (-1 < (int)(uVar8 << 0xe)) {\n    bVar2 = PTR_dhcp_optflags_001317dc[1];\n    pbVar19 = PTR_dhcp_optflags_001317dc;\n    while (bVar2 != 0) {\n      if ((*pbVar19 & 0x10) != 0) {\n        puVar20[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar20[(bVar2 >> 3) + 0x20c];\n      }\n      pbVar1 = pbVar19 + 3;\n      pbVar19 = pbVar19 + 2;\n      bVar2 = *pbVar1;\n    }\n  }" if (parenthesized_expression "(-1 < (int)(uVar8 << 0xe))" ( (binary_expression "-1 < (int)(uVar8 << 0xe)" number_literal < (cast_expression "(int)(uVar8 << 0xe)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar8 << 0xe)" ( (binary_expression "uVar8 << 0xe" identifier << number_literal) )))) )) (compound_statement "{\n    bVar2 = PTR_dhcp_optflags_001317dc[1];\n    pbVar19 = PTR_dhcp_optflags_001317dc;\n    while (bVar2 != 0) {\n      if ((*pbVar19 & 0x10) != 0) {\n        puVar20[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar20[(bVar2 >> 3) + 0x20c];\n      }\n      pbVar1 = pbVar19 + 3;\n      pbVar19 = pbVar19 + 2;\n      bVar2 = *pbVar1;\n    }\n  }" { (expression_statement "bVar2 = PTR_dhcp_optflags_001317dc[1];" (assignment_expression "bVar2 = PTR_dhcp_optflags_001317dc[1]" identifier = (subscript_expression "PTR_dhcp_optflags_001317dc[1]" identifier [ number_literal ])) ;) (expression_statement "pbVar19 = PTR_dhcp_optflags_001317dc;" (assignment_expression "pbVar19 = PTR_dhcp_optflags_001317dc" identifier = identifier) ;) (while_statement "while (bVar2 != 0) {\n      if ((*pbVar19 & 0x10) != 0) {\n        puVar20[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar20[(bVar2 >> 3) + 0x20c];\n      }\n      pbVar1 = pbVar19 + 3;\n      pbVar19 = pbVar19 + 2;\n      bVar2 = *pbVar1;\n    }" while (parenthesized_expression "(bVar2 != 0)" ( (binary_expression "bVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      if ((*pbVar19 & 0x10) != 0) {\n        puVar20[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar20[(bVar2 >> 3) + 0x20c];\n      }\n      pbVar1 = pbVar19 + 3;\n      pbVar19 = pbVar19 + 2;\n      bVar2 = *pbVar1;\n    }" { (if_statement "if ((*pbVar19 & 0x10) != 0) {\n        puVar20[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar20[(bVar2 >> 3) + 0x20c];\n      }" if (parenthesized_expression "((*pbVar19 & 0x10) != 0)" ( (binary_expression "(*pbVar19 & 0x10) != 0" (parenthesized_expression "(*pbVar19 & 0x10)" ( (binary_expression "*pbVar19 & 0x10" (pointer_expression "*pbVar19" * identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n        puVar20[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar20[(bVar2 >> 3) + 0x20c];\n      }" { (expression_statement "puVar20[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar20[(bVar2 >> 3) + 0x20c];" (assignment_expression "puVar20[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar20[(bVar2 >> 3) + 0x20c]" (subscript_expression "puVar20[(bVar2 >> 3) + 0x20c]" identifier [ (binary_expression "(bVar2 >> 3) + 0x20c" (parenthesized_expression "(bVar2 >> 3)" ( (binary_expression "bVar2 >> 3" identifier >> number_literal) )) + number_literal) ]) = (binary_expression "(byte)(1 << (bVar2 & 7)) | puVar20[(bVar2 >> 3) + 0x20c]" (call_expression "(byte)(1 << (bVar2 & 7))" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(1 << (bVar2 & 7))" ( (binary_expression "1 << (bVar2 & 7)" number_literal << (parenthesized_expression "(bVar2 & 7)" ( (binary_expression "bVar2 & 7" identifier & number_literal) ))) ))) | (subscript_expression "puVar20[(bVar2 >> 3) + 0x20c]" identifier [ (binary_expression "(bVar2 >> 3) + 0x20c" (parenthesized_expression "(bVar2 >> 3)" ( (binary_expression "bVar2 >> 3" identifier >> number_literal) )) + number_literal) ]))) ;) })) (expression_statement "pbVar1 = pbVar19 + 3;" (assignment_expression "pbVar1 = pbVar19 + 3" identifier = (binary_expression "pbVar19 + 3" identifier + number_literal)) ;) (expression_statement "pbVar19 = pbVar19 + 2;" (assignment_expression "pbVar19 = pbVar19 + 2" identifier = (binary_expression "pbVar19 + 2" identifier + number_literal)) ;) (expression_statement "bVar2 = *pbVar1;" (assignment_expression "bVar2 = *pbVar1" identifier = (pointer_expression "*pbVar1" * identifier)) ;) })) })) (expression_statement "puVar3 = PTR_xstrdup_001312b8;" (assignment_expression "puVar3 = PTR_xstrdup_001312b8" identifier = identifier) ;) (expression_statement "puVar20 = PTR_llist_pop_00131244;" (assignment_expression "puVar20 = PTR_llist_pop_00131244" identifier = identifier) ;) (if_statement "if (list_x != (llist_t *)0x0) {\n    unaff_s7 = (code *)(PTR_bb_common_bufsiz1_0013136c + 0x238);\n    do {\n      uVar11 = (*(code *)puVar20)(&list_x);\n      unaff_s0 = (char *)(*(code *)puVar3)(uVar11);\n      udhcp_str2optset(unaff_s0,unaff_s7,(dhcp_optflag *)PTR_dhcp_optflags_001317dc,\n                       PTR_dhcp_option_strings_001317d8);\n      (*(code *)PTR_free_00132180)(unaff_s0);\n      unaff_s3 = (undefined4 *)puVar3;\n      unaff_s4 = puVar20;\n    } while (list_x != (llist_t *)0x0);\n  }" if (parenthesized_expression "(list_x != (llist_t *)0x0)" ( (binary_expression "list_x != (llist_t *)0x0" identifier != (cast_expression "(llist_t *)0x0" ( (type_descriptor "llist_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    unaff_s7 = (code *)(PTR_bb_common_bufsiz1_0013136c + 0x238);\n    do {\n      uVar11 = (*(code *)puVar20)(&list_x);\n      unaff_s0 = (char *)(*(code *)puVar3)(uVar11);\n      udhcp_str2optset(unaff_s0,unaff_s7,(dhcp_optflag *)PTR_dhcp_optflags_001317dc,\n                       PTR_dhcp_option_strings_001317d8);\n      (*(code *)PTR_free_00132180)(unaff_s0);\n      unaff_s3 = (undefined4 *)puVar3;\n      unaff_s4 = puVar20;\n    } while (list_x != (llist_t *)0x0);\n  }" { (expression_statement "unaff_s7 = (code *)(PTR_bb_common_bufsiz1_0013136c + 0x238);" (assignment_expression "unaff_s7 = (code *)(PTR_bb_common_bufsiz1_0013136c + 0x238)" identifier = (cast_expression "(code *)(PTR_bb_common_bufsiz1_0013136c + 0x238)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x238)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x238" identifier + number_literal) )))) ;) (do_statement "do {\n      uVar11 = (*(code *)puVar20)(&list_x);\n      unaff_s0 = (char *)(*(code *)puVar3)(uVar11);\n      udhcp_str2optset(unaff_s0,unaff_s7,(dhcp_optflag *)PTR_dhcp_optflags_001317dc,\n                       PTR_dhcp_option_strings_001317d8);\n      (*(code *)PTR_free_00132180)(unaff_s0);\n      unaff_s3 = (undefined4 *)puVar3;\n      unaff_s4 = puVar20;\n    } while (list_x != (llist_t *)0x0);" do (compound_statement "{\n      uVar11 = (*(code *)puVar20)(&list_x);\n      unaff_s0 = (char *)(*(code *)puVar3)(uVar11);\n      udhcp_str2optset(unaff_s0,unaff_s7,(dhcp_optflag *)PTR_dhcp_optflags_001317dc,\n                       PTR_dhcp_option_strings_001317d8);\n      (*(code *)PTR_free_00132180)(unaff_s0);\n      unaff_s3 = (undefined4 *)puVar3;\n      unaff_s4 = puVar20;\n    }" { (expression_statement "uVar11 = (*(code *)puVar20)(&list_x);" (assignment_expression "uVar11 = (*(code *)puVar20)(&list_x)" identifier = (call_expression "(*(code *)puVar20)(&list_x)" (parenthesized_expression "(*(code *)puVar20)" ( (pointer_expression "*(code *)puVar20" * (cast_expression "(code *)puVar20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&list_x)" ( (pointer_expression "&list_x" & identifier) )))) ;) (expression_statement "unaff_s0 = (char *)(*(code *)puVar3)(uVar11);" (assignment_expression "unaff_s0 = (char *)(*(code *)puVar3)(uVar11)" identifier = (cast_expression "(char *)(*(code *)puVar3)(uVar11)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar3)(uVar11)" (parenthesized_expression "(*(code *)puVar3)" ( (pointer_expression "*(code *)puVar3" * (cast_expression "(code *)puVar3" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar11)" ( identifier ))))) ;) (expression_statement "udhcp_str2optset(unaff_s0,unaff_s7,(dhcp_optflag *)PTR_dhcp_optflags_001317dc,\n                       PTR_dhcp_option_strings_001317d8);" (call_expression "udhcp_str2optset(unaff_s0,unaff_s7,(dhcp_optflag *)PTR_dhcp_optflags_001317dc,\n                       PTR_dhcp_option_strings_001317d8)" identifier (argument_list "(unaff_s0,unaff_s7,(dhcp_optflag *)PTR_dhcp_optflags_001317dc,\n                       PTR_dhcp_option_strings_001317d8)" ( identifier , identifier , (cast_expression "(dhcp_optflag *)PTR_dhcp_optflags_001317dc" ( (type_descriptor "dhcp_optflag *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier ))) ;) (expression_statement "(*(code *)PTR_free_00132180)(unaff_s0);" (call_expression "(*(code *)PTR_free_00132180)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_free_00132180)" ( (pointer_expression "*(code *)PTR_free_00132180" * (cast_expression "(code *)PTR_free_00132180" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))) ;) (expression_statement "unaff_s3 = (undefined4 *)puVar3;" (assignment_expression "unaff_s3 = (undefined4 *)puVar3" identifier = (cast_expression "(undefined4 *)puVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "unaff_s4 = puVar20;" (assignment_expression "unaff_s4 = puVar20" identifier = identifier) ;) }) while (parenthesized_expression "(list_x != (llist_t *)0x0)" ( (binary_expression "list_x != (llist_t *)0x0" identifier != (cast_expression "(llist_t *)0x0" ( (type_descriptor "llist_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (expression_statement "iVar12 = udhcp_read_interface\n                     (*(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                      (int *)(PTR_bb_common_bufsiz1_0013136c + 0x208),(uint32_t *)0x0,\n                      PTR_bb_common_bufsiz1_0013136c + 0x200);" (assignment_expression "iVar12 = udhcp_read_interface\n                     (*(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                      (int *)(PTR_bb_common_bufsiz1_0013136c + 0x208),(uint32_t *)0x0,\n                      PTR_bb_common_bufsiz1_0013136c + 0x200)" identifier = (call_expression "udhcp_read_interface\n                     (*(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                      (int *)(PTR_bb_common_bufsiz1_0013136c + 0x208),(uint32_t *)0x0,\n                      PTR_bb_common_bufsiz1_0013136c + 0x200)" identifier (argument_list "(*(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                      (int *)(PTR_bb_common_bufsiz1_0013136c + 0x208),(uint32_t *)0x0,\n                      PTR_bb_common_bufsiz1_0013136c + 0x200)" ( (pointer_expression "*(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c)" * (cast_expression "(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x22c)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x22c" identifier + number_literal) )))) , (cast_expression "(int *)(PTR_bb_common_bufsiz1_0013136c + 0x208)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x208)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x208" identifier + number_literal) ))) , (cast_expression "(uint32_t *)0x0" ( (type_descriptor "uint32_t *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x200" identifier + number_literal) )))) ;) (if_statement "if (iVar12 != 0) {\n    pcVar24 = &DAT_00000001;\n    goto LAB_0006654c;\n  }" if (parenthesized_expression "(iVar12 != 0)" ( (binary_expression "iVar12 != 0" identifier != number_literal) )) (compound_statement "{\n    pcVar24 = &DAT_00000001;\n    goto LAB_0006654c;\n  }" { (expression_statement "pcVar24 = &DAT_00000001;" (assignment_expression "pcVar24 = &DAT_00000001" identifier = (pointer_expression "&DAT_00000001" & identifier)) ;) (goto_statement "goto LAB_0006654c;" goto statement_identifier ;) })) (expression_statement "unaff_s3 = (undefined4 *)0x0;" (assignment_expression "unaff_s3 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (((uVar8 & 1) == 0) &&\n     (poVar13 = udhcp_find_option(*(option_set **)(PTR_bb_common_bufsiz1_0013136c + 0x238),'='),\n     poVar13 == (option_set *)0x0)) {\n    puVar9 = alloc_dhcp_option(0x3d,PTR_bdcommands_4__name_4__001311a4 + -0x3208,7);\n    puVar20 = PTR_bb_common_bufsiz1_0013136c;\n    *(uint8_t **)(PTR_bb_common_bufsiz1_0013136c + 0x23c) = puVar9;\n    puVar9[2] = '\x01';\n    iVar12 = *(int *)(puVar20 + 0x23c);\n    unaff_s3 = (undefined4 *)(iVar12 + 3);\n    *unaff_s3 = *(undefined4 *)(puVar20 + 0x200);\n    *(undefined *)(iVar12 + 7) = puVar20[0x204];\n    *(undefined *)(iVar12 + 8) = puVar20[0x205];\n  }" if (parenthesized_expression "(((uVar8 & 1) == 0) &&\n     (poVar13 = udhcp_find_option(*(option_set **)(PTR_bb_common_bufsiz1_0013136c + 0x238),'='),\n     poVar13 == (option_set *)0x0))" ( (binary_expression "((uVar8 & 1) == 0) &&\n     (poVar13 = udhcp_find_option(*(option_set **)(PTR_bb_common_bufsiz1_0013136c + 0x238),'='),\n     poVar13 == (option_set *)0x0)" (parenthesized_expression "((uVar8 & 1) == 0)" ( (binary_expression "(uVar8 & 1) == 0" (parenthesized_expression "(uVar8 & 1)" ( (binary_expression "uVar8 & 1" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "(poVar13 = udhcp_find_option(*(option_set **)(PTR_bb_common_bufsiz1_0013136c + 0x238),'='),\n     poVar13 == (option_set *)0x0)" ( (comma_expression "poVar13 = udhcp_find_option(*(option_set **)(PTR_bb_common_bufsiz1_0013136c + 0x238),'='),\n     poVar13 == (option_set *)0x0" (assignment_expression "poVar13 = udhcp_find_option(*(option_set **)(PTR_bb_common_bufsiz1_0013136c + 0x238),'=')" identifier = (call_expression "udhcp_find_option(*(option_set **)(PTR_bb_common_bufsiz1_0013136c + 0x238),'=')" identifier (argument_list "(*(option_set **)(PTR_bb_common_bufsiz1_0013136c + 0x238),'=')" ( (pointer_expression "*(option_set **)(PTR_bb_common_bufsiz1_0013136c + 0x238)" * (cast_expression "(option_set **)(PTR_bb_common_bufsiz1_0013136c + 0x238)" ( (type_descriptor "option_set **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x238)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x238" identifier + number_literal) )))) , (char_literal "'='" ' character ') )))) , (binary_expression "poVar13 == (option_set *)0x0" identifier == (cast_expression "(option_set *)0x0" ( (type_descriptor "option_set *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    puVar9 = alloc_dhcp_option(0x3d,PTR_bdcommands_4__name_4__001311a4 + -0x3208,7);\n    puVar20 = PTR_bb_common_bufsiz1_0013136c;\n    *(uint8_t **)(PTR_bb_common_bufsiz1_0013136c + 0x23c) = puVar9;\n    puVar9[2] = '\x01';\n    iVar12 = *(int *)(puVar20 + 0x23c);\n    unaff_s3 = (undefined4 *)(iVar12 + 3);\n    *unaff_s3 = *(undefined4 *)(puVar20 + 0x200);\n    *(undefined *)(iVar12 + 7) = puVar20[0x204];\n    *(undefined *)(iVar12 + 8) = puVar20[0x205];\n  }" { (expression_statement "puVar9 = alloc_dhcp_option(0x3d,PTR_bdcommands_4__name_4__001311a4 + -0x3208,7);" (assignment_expression "puVar9 = alloc_dhcp_option(0x3d,PTR_bdcommands_4__name_4__001311a4 + -0x3208,7)" identifier = (call_expression "alloc_dhcp_option(0x3d,PTR_bdcommands_4__name_4__001311a4 + -0x3208,7)" identifier (argument_list "(0x3d,PTR_bdcommands_4__name_4__001311a4 + -0x3208,7)" ( number_literal , (binary_expression "PTR_bdcommands_4__name_4__001311a4 + -0x3208" identifier + number_literal) , number_literal )))) ;) (expression_statement "puVar20 = PTR_bb_common_bufsiz1_0013136c;" (assignment_expression "puVar20 = PTR_bb_common_bufsiz1_0013136c" identifier = identifier) ;) (expression_statement "*(uint8_t **)(PTR_bb_common_bufsiz1_0013136c + 0x23c) = puVar9;" (assignment_expression "*(uint8_t **)(PTR_bb_common_bufsiz1_0013136c + 0x23c) = puVar9" (pointer_expression "*(uint8_t **)(PTR_bb_common_bufsiz1_0013136c + 0x23c)" * (cast_expression "(uint8_t **)(PTR_bb_common_bufsiz1_0013136c + 0x23c)" ( (type_descriptor "uint8_t **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x23c)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x23c" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar9[2] = '\x01';" (assignment_expression "puVar9[2] = '\x01'" (subscript_expression "puVar9[2]" identifier [ number_literal ]) = (char_literal "'\x01'" ' escape_sequence ')) ;) (expression_statement "iVar12 = *(int *)(puVar20 + 0x23c);" (assignment_expression "iVar12 = *(int *)(puVar20 + 0x23c)" identifier = (pointer_expression "*(int *)(puVar20 + 0x23c)" * (cast_expression "(int *)(puVar20 + 0x23c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar20 + 0x23c)" ( (binary_expression "puVar20 + 0x23c" identifier + number_literal) ))))) ;) (expression_statement "unaff_s3 = (undefined4 *)(iVar12 + 3);" (assignment_expression "unaff_s3 = (undefined4 *)(iVar12 + 3)" identifier = (cast_expression "(undefined4 *)(iVar12 + 3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 3)" ( (binary_expression "iVar12 + 3" identifier + number_literal) )))) ;) (expression_statement "*unaff_s3 = *(undefined4 *)(puVar20 + 0x200);" (assignment_expression "*unaff_s3 = *(undefined4 *)(puVar20 + 0x200)" (pointer_expression "*unaff_s3" * identifier) = (pointer_expression "*(undefined4 *)(puVar20 + 0x200)" * (cast_expression "(undefined4 *)(puVar20 + 0x200)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar20 + 0x200)" ( (binary_expression "puVar20 + 0x200" identifier + number_literal) ))))) ;) (expression_statement "*(undefined *)(iVar12 + 7) = puVar20[0x204];" (assignment_expression "*(undefined *)(iVar12 + 7) = puVar20[0x204]" (pointer_expression "*(undefined *)(iVar12 + 7)" * (cast_expression "(undefined *)(iVar12 + 7)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 7)" ( (binary_expression "iVar12 + 7" identifier + number_literal) )))) = (subscript_expression "puVar20[0x204]" identifier [ number_literal ])) ;) (expression_statement "*(undefined *)(iVar12 + 8) = puVar20[0x205];" (assignment_expression "*(undefined *)(iVar12 + 8) = puVar20[0x205]" (pointer_expression "*(undefined *)(iVar12 + 8)" * (cast_expression "(undefined *)(iVar12 + 8)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 8)" ( (binary_expression "iVar12 + 8" identifier + number_literal) )))) = (subscript_expression "puVar20[0x205]" identifier [ number_literal ])) ;) })) (if_statement "if (*str_V != '\0') {\n    puVar9 = alloc_dhcp_option(0x3c,str_V,0);\n    *(uint8_t **)(PTR_bb_common_bufsiz1_0013136c + 0x240) = puVar9;\n  }" if (parenthesized_expression "(*str_V != '\0')" ( (binary_expression "*str_V != '\0'" (pointer_expression "*str_V" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    puVar9 = alloc_dhcp_option(0x3c,str_V,0);\n    *(uint8_t **)(PTR_bb_common_bufsiz1_0013136c + 0x240) = puVar9;\n  }" { (expression_statement "puVar9 = alloc_dhcp_option(0x3c,str_V,0);" (assignment_expression "puVar9 = alloc_dhcp_option(0x3c,str_V,0)" identifier = (call_expression "alloc_dhcp_option(0x3c,str_V,0)" identifier (argument_list "(0x3c,str_V,0)" ( number_literal , identifier , number_literal )))) ;) (expression_statement "*(uint8_t **)(PTR_bb_common_bufsiz1_0013136c + 0x240) = puVar9;" (assignment_expression "*(uint8_t **)(PTR_bb_common_bufsiz1_0013136c + 0x240) = puVar9" (pointer_expression "*(uint8_t **)(PTR_bb_common_bufsiz1_0013136c + 0x240)" * (cast_expression "(uint8_t **)(PTR_bb_common_bufsiz1_0013136c + 0x240)" ( (type_descriptor "uint8_t **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x240)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x240" identifier + number_literal) )))) = identifier) ;) })) (if_statement "if ((uVar8 & 0x4000) != 0) {\n    (*(code *)PTR_openlog_00131d98)(*(undefined4 *)PTR_applet_name_001311ac,1,0x18);\n    *PTR_logmode_00131250 = *PTR_logmode_00131250 | 2;\n  }" if (parenthesized_expression "((uVar8 & 0x4000) != 0)" ( (binary_expression "(uVar8 & 0x4000) != 0" (parenthesized_expression "(uVar8 & 0x4000)" ( (binary_expression "uVar8 & 0x4000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    (*(code *)PTR_openlog_00131d98)(*(undefined4 *)PTR_applet_name_001311ac,1,0x18);\n    *PTR_logmode_00131250 = *PTR_logmode_00131250 | 2;\n  }" { (expression_statement "(*(code *)PTR_openlog_00131d98)(*(undefined4 *)PTR_applet_name_001311ac,1,0x18);" (call_expression "(*(code *)PTR_openlog_00131d98)(*(undefined4 *)PTR_applet_name_001311ac,1,0x18)" (parenthesized_expression "(*(code *)PTR_openlog_00131d98)" ( (pointer_expression "*(code *)PTR_openlog_00131d98" * (cast_expression "(code *)PTR_openlog_00131d98" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_applet_name_001311ac,1,0x18)" ( (pointer_expression "*(undefined4 *)PTR_applet_name_001311ac" * (cast_expression "(undefined4 *)PTR_applet_name_001311ac" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , number_literal ))) ;) (expression_statement "*PTR_logmode_00131250 = *PTR_logmode_00131250 | 2;" (assignment_expression "*PTR_logmode_00131250 = *PTR_logmode_00131250 | 2" (pointer_expression "*PTR_logmode_00131250" * identifier) = (binary_expression "*PTR_logmode_00131250 | 2" (pointer_expression "*PTR_logmode_00131250" * identifier) | number_literal)) ;) })) (expression_statement "(*(code *)PTR_bb_sanitize_stdio_001316b8)();" (call_expression "(*(code *)PTR_bb_sanitize_stdio_001316b8)()" (parenthesized_expression "(*(code *)PTR_bb_sanitize_stdio_001316b8)" ( (pointer_expression "*(code *)PTR_bb_sanitize_stdio_001316b8" * (cast_expression "(code *)PTR_bb_sanitize_stdio_001316b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "(*(code *)PTR_write_pidfile_00131440)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));" (call_expression "(*(code *)PTR_write_pidfile_00131440)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230))" (parenthesized_expression "(*(code *)PTR_write_pidfile_00131440)" ( (pointer_expression "*(code *)PTR_write_pidfile_00131440" * (cast_expression "(code *)PTR_write_pidfile_00131440" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230))" ( (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230)" * (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x230)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x230" identifier + number_literal) )))) ))) ;) (expression_statement "(*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2908);" (call_expression "(*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2908)" (parenthesized_expression "(*(code *)PTR_bb_error_msg_001311d0)" ( (pointer_expression "*(code *)PTR_bb_error_msg_001311d0" * (cast_expression "(code *)PTR_bb_error_msg_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_bdcommands_4__name_4__001311a4 + -0x2908)" ( (binary_expression "PTR_bdcommands_4__name_4__001311a4 + -0x2908" identifier + number_literal) ))) ;) (expression_statement "udhcp_sp_setup();" (call_expression "udhcp_sp_setup()" identifier (argument_list "()" ( ))) ;) (expression_statement "(*(code *)PTR_monotonic_us_001312bc)();" (call_expression "(*(code *)PTR_monotonic_us_001312bc)()" (parenthesized_expression "(*(code *)PTR_monotonic_us_001312bc)" ( (pointer_expression "*(code *)PTR_monotonic_us_001312bc" * (cast_expression "(code *)PTR_monotonic_us_001312bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "(*(code *)PTR_srand_00131f84)(extraout_v1);" (call_expression "(*(code *)PTR_srand_00131f84)(extraout_v1)" (parenthesized_expression "(*(code *)PTR_srand_00131f84)" ( (pointer_expression "*(code *)PTR_srand_00131f84" * (cast_expression "(code *)PTR_srand_00131f84" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(extraout_v1)" ( identifier ))) ;) (expression_statement "PTR_OptArray_14__flags_00131178[0x23de] = 0;" (assignment_expression "PTR_OptArray_14__flags_00131178[0x23de] = 0" (subscript_expression "PTR_OptArray_14__flags_00131178[0x23de]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "udhcp_run_script((dhcp_packet *)0x0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);" (call_expression "udhcp_run_script((dhcp_packet *)0x0,PTR_bdcommands_4__name_4__001311a4 + -0x2984)" identifier (argument_list "((dhcp_packet *)0x0,PTR_bdcommands_4__name_4__001311a4 + -0x2984)" ( (cast_expression "(dhcp_packet *)0x0" ( (type_descriptor "dhcp_packet *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (binary_expression "PTR_bdcommands_4__name_4__001311a4 + -0x2984" identifier + number_literal) ))) ;) (expression_statement "change_listen_mode(2);" (call_expression "change_listen_mode(2)" identifier (argument_list "(2)" ( number_literal ))) ;) (expression_statement "pcVar21 = (char *)0x0;" (assignment_expression "pcVar21 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puStack_2f0 = PTR_OptArray_14__flags_00131178;" (assignment_expression "puStack_2f0 = PTR_OptArray_14__flags_00131178" identifier = identifier) ;) (expression_statement "unaff_s7 = (code *)(PTR_LAB_00131738 + 0x4d8c);" (assignment_expression "unaff_s7 = (code *)(PTR_LAB_00131738 + 0x4d8c)" identifier = (cast_expression "(code *)(PTR_LAB_00131738 + 0x4d8c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00131738 + 0x4d8c)" ( (binary_expression "PTR_LAB_00131738 + 0x4d8c" identifier + number_literal) )))) ;) (expression_statement "puStack_2e4 = PTR_bdcommands_4__name_4__001311a4;" (assignment_expression "puStack_2e4 = PTR_bdcommands_4__name_4__001311a4" identifier = identifier) ;) (expression_statement "pcStack_2fc = (code *)(PTR_LAB_00131738 + 0x5590);" (assignment_expression "pcStack_2fc = (code *)(PTR_LAB_00131738 + 0x5590)" identifier = (cast_expression "(code *)(PTR_LAB_00131738 + 0x5590)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00131738 + 0x5590)" ( (binary_expression "PTR_LAB_00131738 + 0x5590" identifier + number_literal) )))) ;) (expression_statement "pcStack_2ec = (code *)(PTR_LAB_00131738 + 0x496c);" (assignment_expression "pcStack_2ec = (code *)(PTR_LAB_00131738 + 0x496c)" identifier = (cast_expression "(code *)(PTR_LAB_00131738 + 0x496c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00131738 + 0x496c)" ( (binary_expression "PTR_LAB_00131738 + 0x496c" identifier + number_literal) )))) ;) (expression_statement "pcVar24 = (char *)0x0;" (assignment_expression "pcVar24 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "unaff_s0 = pcVar24;" (assignment_expression "unaff_s0 = pcVar24" identifier = identifier) ;) (expression_statement "pcVar23 = pcVar24;" (assignment_expression "pcVar23 = pcVar24" identifier = identifier) ;) (labeled_statement "LAB_000662f4:\n  pcVar22 = pcVar23;" statement_identifier : (expression_statement "pcVar22 = pcVar23;" (assignment_expression "pcVar22 = pcVar23" identifier = identifier) ;)) (expression_statement "unaff_s4 = unaff_s0;" (assignment_expression "unaff_s4 = unaff_s0" identifier = identifier) ;) (expression_statement "udhcp_sp_fd_set(pfds,*(int *)(puStack_2f0 + 0x1004));" (call_expression "udhcp_sp_fd_set(pfds,*(int *)(puStack_2f0 + 0x1004))" identifier (argument_list "(pfds,*(int *)(puStack_2f0 + 0x1004))" ( identifier , (pointer_expression "*(int *)(puStack_2f0 + 0x1004)" * (cast_expression "(int *)(puStack_2f0 + 0x1004)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_2f0 + 0x1004)" ( (binary_expression "puStack_2f0 + 0x1004" identifier + number_literal) )))) ))) ;) (expression_statement "iVar12 = (int)pcVar22 - (int)pcVar21;" (assignment_expression "iVar12 = (int)pcVar22 - (int)pcVar21" identifier = (binary_expression "(int)pcVar22 - (int)pcVar21" (cast_expression "(int)pcVar22" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pcVar21" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "unaff_s0 = unaff_s4;" (assignment_expression "unaff_s0 = unaff_s4" identifier = identifier) ;) (if_statement "if (iVar12 < 1) {\nLAB_00066418:\n    pcVar21 = (char *)udhcp_read_interface\n                                (*(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                                 (int *)(PTR_bb_common_bufsiz1_0013136c + 0x208),(uint32_t *)0x0,\n                                 PTR_bb_common_bufsiz1_0013136c + 0x200);\n    puVar20 = PTR_bb_common_bufsiz1_0013136c;\n    if (pcVar21 == (char *)0x0) {\n      if (unaff_s3 != (undefined4 *)0x0) {\n        *unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);\n        *(undefined *)(unaff_s3 + 1) = puVar20[0x204];\n        *(undefined *)((int)unaff_s3 + 5) = puVar20[0x205];\n      }\n      if ((byte)PTR_OptArray_14__flags_00131178[0x23de] < 6) {\n                    /* WARNING: Could not recover jumptable at 0x000664a0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        iVar7 = (*(code *)(&_gp + *(int *)(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)(byte)PTR_OptArray_14__flags_00131178[0x23de] * 4 +\n                                          -0x2768)))();\n        return iVar7;\n      }\n      pcVar21 = (char *)0x0;\n      pcVar23 = (char *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n  }\n  else {\n    iVar14 = (*(code *)PTR_monotonic_sec_001317c0)();\n    if (iVar12 < 0x20c49b) {\n      iVar12 = iVar12 * 1000;\n    }\n    else {\n      iVar12 = 0x7fffffff;\n    }\n    iVar12 = (*(code *)PTR_poll_00132060)(pfds,2,iVar12);\n    pcVar23 = pcVar22;\n    if (iVar12 < 0) {\n      if (**(int **)PTR_bb_errno_001311d8 != 4) {\n        iVar12 = (*(code *)PTR_bb_perror_msg_and_die_001311f4)\n                           (PTR_bdcommands_4__name_4__001311a4 + -0x5488);\n        goto LAB_00066410;\n      }\n      iVar12 = (*(code *)PTR_monotonic_sec_001317c0)();\n      pcVar21 = pcVar21 + (iVar12 - iVar14);\n      goto LAB_000662f4;\n    }\nLAB_00066410:\n    if (iVar12 == 0) goto LAB_00066418;\n    iVar12 = udhcp_sp_read();\n    puVar20 = PTR_bb_common_bufsiz1_0013136c;\n    if (iVar12 == 0x10) {\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar20[0x24d] = 0;\n      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2894);\n      bVar2 = PTR_OptArray_14__flags_00131178[0x23de];\n      if (bVar2 < 7) {\n                    /* WARNING: Could not recover jumptable at 0x00066854. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        iVar7 = (*(code *)(&_gp + *(int *)(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)bVar2 * 4 + -0x2750)))();\n        return iVar7;\n      }\n      pcVar21 = (char *)0x0;\n      unaff_s0 = pcVar24;\n      pcVar23 = pcVar24;\n      if (bVar2 == 5) {\n        if ((int)pcVar22 < 0x3d) {\n          if (0x3b < (int)pcVar22) goto LAB_0006666c;\n        }\n        else {\n          pcVar22 = (char *)0x3c;\nLAB_0006666c:\n          iVar12 = (*pcStack_2ec)(uStack_2f8,server_addr,requested_ip);\n          pcVar21 = (char *)0x0;\n          if (-1 < iVar12) {\n            unaff_s0 = unaff_s4;\n            pcVar23 = (char *)((int)pcVar22 >> 1);\n            goto LAB_000662f4;\n          }\n        }\n        PTR_OptArray_14__flags_00131178[0x23de] = 4;\n        (*unaff_s7)(2);\n        if ((int)pcVar22 < 1) {\n          (*(code *)PTR_bb_error_msg_001311d0)(puStack_2e4 + -0x28b4);\n          (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);\n          PTR_OptArray_14__flags_00131178[0x23de] = 0;\n          puVar20 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar20[0x24d] = 0;\n          pcVar21 = (char *)0x0;\n          pcVar23 = pcVar22;\n        }\n        else {\n          (*pcStack_2ec)(uStack_2f8,0);\n          pcVar21 = (char *)0x0;\n          unaff_s0 = unaff_s4;\n          pcVar23 = (char *)((int)pcVar22 >> 1);\n        }\n      }\n      goto LAB_000662f4;\n    }\n    if (iVar12 == 0x11) {\n      perform_release(server_addr,requested_ip);\n      pcVar23 = (char *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n    if (iVar12 == 0xf) {\n      (*(code *)PTR_bb_error_msg_001311d0)\n                (PTR_bdcommands_4__name_4__001311a4 + -0x2874,\n                 PTR_bdcommands_4__name_4__001311a4 + -0x287c);\n      goto LAB_00066938;\n    }\n    if (pfds[1].revents == 0) goto LAB_000662f4;\n    if (PTR_OptArray_14__flags_00131178[0x23df] == '\x01') {\n      iVar12 = udhcp_recv_kernel_packet(&packet,*(int *)(puStack_2f0 + 0x1004));\n    }\n    else {\n      iVar12 = udhcp_recv_raw_packet(&packet,*(int *)(puStack_2f0 + 0x1004));\n    }\n    if (iVar12 == -1) {\n      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2868);\n      (*(code *)PTR_sleep_0013211c)(discover_timeout);\n      (*unaff_s7)((int)(char)PTR_OptArray_14__flags_00131178[0x23df]);\n      iVar12 = (*(code *)PTR_monotonic_sec_001317c0)();\n      pcVar21 = pcVar21 + (iVar12 - iVar14);\n      goto LAB_000662f4;\n    }\n    iVar15 = (*(code *)PTR_monotonic_sec_001317c0)();\n    pcVar21 = pcVar21 + (iVar15 - iVar14);\n    if ((((iVar12 < 0) || (packet.xid != uStack_2f8)) || (packet.hlen != '\x06')) ||\n       (iVar12 = (*(code *)PTR_memcmp_0013212c)\n                           (packet.chaddr,PTR_bb_common_bufsiz1_0013136c + 0x200,6), iVar12 != 0))\n    goto LAB_000662f4;\n    puVar9 = udhcp_get_option(&packet,0x35);\n    uVar6 = server_addr;\n    if (puVar9 == (uint8_t *)0x0) {\n      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2844);\n      goto LAB_000662f4;\n    }\n    iVar12 = (int)(char)PTR_OptArray_14__flags_00131178[0x23de];\n    pcVar22 = (char *)0x0;\n    if (iVar12 != 1) {\n      if (iVar12 < 2) {\n        if ((iVar12 == 0) && (*puVar9 == '\x02')) {\n          server_addr = 0;\n          puVar16 = (uint32_t *)udhcp_get_option32(&packet,0x36);\n          if (puVar16 == (uint32_t *)0x0) {\n            (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x281c);\n          }\n          else {\n            server_addr = *puVar16;\n          }\n          PTR_OptArray_14__flags_00131178[0x23de] = 1;\n          pcVar21 = (char *)0x0;\n          requested_ip = packet.yiaddr;\n          unaff_s0 = pcVar22;\n          pcVar23 = pcVar22;\n        }\n        goto LAB_000662f4;\n      }\n      if (2 < (iVar12 - 3U & 0xff)) goto LAB_000662f4;\n    }\n    if (*puVar9 != '\x05') {\n      if ((*puVar9 == '\x06') &&\n         ((server_addr == 0 ||\n          ((puVar16 = (uint32_t *)udhcp_get_option32(&packet,0x36), puVar16 != (uint32_t *)0x0 &&\n           (lease_seconds = *puVar16, uVar6 == lease_seconds)))))) {\n        (*(code *)PTR_bb_error_msg_001311d0)\n                  (PTR_bdcommands_4__name_4__001311a4 + -0x2874,\n                   PTR_bdcommands_4__name_4__001311a4 + -0x2778);\n        (*pcStack_2fc)(&packet,PTR_bdcommands_4__name_4__001311a4 + -0x276c);\n        if (PTR_OptArray_14__flags_00131178[0x23de] != '\x01') {\n          (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);\n        }\n        (*unaff_s7)(2);\n        (*(code *)PTR_sleep_0013211c)(3);\n        PTR_OptArray_14__flags_00131178[0x23de] = 0;\n        puVar20 = PTR_bb_common_bufsiz1_0013136c;\n        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n        puVar20[0x24d] = 0;\n        pcVar21 = (char *)0x0;\n        requested_ip = 0;\n        unaff_s0 = pcVar22;\n        pcVar23 = pcVar22;\n      }\n      goto LAB_000662f4;\n    }\n    puVar17 = (uint *)udhcp_get_option32(&packet,0x33);\n    if (puVar17 == (uint *)0x0) {\n      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2800);\n      lease_seconds = 0xe10;\n    }\n    else {\n      lease_seconds = *puVar17;\n      if (lease_seconds < 0x7a) {\n        lease_seconds = 0x7a;\n      }\n    }\n    if (((int)(uVar8 << 9) < 0) &&\n       (iVar12 = arpping(packet.yiaddr,(uint8_t *)0x0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                         *(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c),timeo), iVar12 == 0)) {\n      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x27d4);\n      send_decline(server_addr,packet.yiaddr);\n      if (PTR_OptArray_14__flags_00131178[0x23de] != '\x01') {\n        (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);\n      }\n      (*unaff_s7)(2);\n      PTR_OptArray_14__flags_00131178[0x23de] = 0;\n      puVar20 = PTR_bb_common_bufsiz1_0013136c;\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar20[0x24d] = 0;\n      pcVar21 = (char *)0x0;\n      requested_ip = 0;\n      unaff_s0 = (char *)0x0;\n      pcVar23 = (char *)tryagain_timeout;\n      goto LAB_000662f4;\n    }\n    uVar11 = (*(code *)PTR_inet_ntoa_00132140)(packet.yiaddr);\n    uVar6 = lease_seconds;\n    (*(code *)PTR_bb_error_msg_001311d0)\n              (PTR_bdcommands_4__name_4__001311a4 + -0x279c,uVar11,lease_seconds);\n    requested_ip = packet.yiaddr;\n    iVar12 = (*(code *)PTR_monotonic_sec_001317c0)();\n    if (PTR_OptArray_14__flags_00131178[0x23de] == '\x01') {\n      puVar20 = PTR_bdcommands_4__name_4__001311a4 + -0x2978;\n    }\n    else {\n      puVar20 = PTR_bdcommands_4__name_4__001311a4 + -0x2884;\n    }\n    (*pcStack_2fc)(&packet,puVar20);\n    iVar14 = (*(code *)PTR_monotonic_sec_001317c0)();\n    pcVar21 = (char *)(iVar14 - iVar12);\n    pcVar23 = (char *)(uVar6 >> 1);\n    if (pcVar23 < pcVar21) {\n      pcVar21 = (char *)0x0;\n      pcVar23 = pcVar22;\n    }\n    PTR_OptArray_14__flags_00131178[0x23de] = 2;\n    (*unaff_s7)(0);\n    if ((uVar8 & 0x100) == 0) {\n      if ((int)(uVar8 << 0xc) < 0) {\n        uVar8 = uVar8 & 0xffffffbf;\n      }\n      else {\n        client_background();\n        uVar8 = uVar8 & 0xffd7ffbf | 0x80000;\n      }\n      goto LAB_000662f4;\n    }\n  }" if (parenthesized_expression "(iVar12 < 1)" ( (binary_expression "iVar12 < 1" identifier < number_literal) )) (compound_statement "{\nLAB_00066418:\n    pcVar21 = (char *)udhcp_read_interface\n                                (*(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                                 (int *)(PTR_bb_common_bufsiz1_0013136c + 0x208),(uint32_t *)0x0,\n                                 PTR_bb_common_bufsiz1_0013136c + 0x200);\n    puVar20 = PTR_bb_common_bufsiz1_0013136c;\n    if (pcVar21 == (char *)0x0) {\n      if (unaff_s3 != (undefined4 *)0x0) {\n        *unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);\n        *(undefined *)(unaff_s3 + 1) = puVar20[0x204];\n        *(undefined *)((int)unaff_s3 + 5) = puVar20[0x205];\n      }\n      if ((byte)PTR_OptArray_14__flags_00131178[0x23de] < 6) {\n                    /* WARNING: Could not recover jumptable at 0x000664a0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        iVar7 = (*(code *)(&_gp + *(int *)(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)(byte)PTR_OptArray_14__flags_00131178[0x23de] * 4 +\n                                          -0x2768)))();\n        return iVar7;\n      }\n      pcVar21 = (char *)0x0;\n      pcVar23 = (char *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n  }" { (labeled_statement "LAB_00066418:\n    pcVar21 = (char *)udhcp_read_interface\n                                (*(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                                 (int *)(PTR_bb_common_bufsiz1_0013136c + 0x208),(uint32_t *)0x0,\n                                 PTR_bb_common_bufsiz1_0013136c + 0x200);" statement_identifier : (expression_statement "pcVar21 = (char *)udhcp_read_interface\n                                (*(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                                 (int *)(PTR_bb_common_bufsiz1_0013136c + 0x208),(uint32_t *)0x0,\n                                 PTR_bb_common_bufsiz1_0013136c + 0x200);" (assignment_expression "pcVar21 = (char *)udhcp_read_interface\n                                (*(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                                 (int *)(PTR_bb_common_bufsiz1_0013136c + 0x208),(uint32_t *)0x0,\n                                 PTR_bb_common_bufsiz1_0013136c + 0x200)" identifier = (cast_expression "(char *)udhcp_read_interface\n                                (*(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                                 (int *)(PTR_bb_common_bufsiz1_0013136c + 0x208),(uint32_t *)0x0,\n                                 PTR_bb_common_bufsiz1_0013136c + 0x200)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "udhcp_read_interface\n                                (*(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                                 (int *)(PTR_bb_common_bufsiz1_0013136c + 0x208),(uint32_t *)0x0,\n                                 PTR_bb_common_bufsiz1_0013136c + 0x200)" identifier (argument_list "(*(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                                 (int *)(PTR_bb_common_bufsiz1_0013136c + 0x208),(uint32_t *)0x0,\n                                 PTR_bb_common_bufsiz1_0013136c + 0x200)" ( (pointer_expression "*(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c)" * (cast_expression "(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x22c)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x22c" identifier + number_literal) )))) , (cast_expression "(int *)(PTR_bb_common_bufsiz1_0013136c + 0x208)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x208)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x208" identifier + number_literal) ))) , (cast_expression "(uint32_t *)0x0" ( (type_descriptor "uint32_t *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x200" identifier + number_literal) ))))) ;)) (expression_statement "puVar20 = PTR_bb_common_bufsiz1_0013136c;" (assignment_expression "puVar20 = PTR_bb_common_bufsiz1_0013136c" identifier = identifier) ;) (if_statement "if (pcVar21 == (char *)0x0) {\n      if (unaff_s3 != (undefined4 *)0x0) {\n        *unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);\n        *(undefined *)(unaff_s3 + 1) = puVar20[0x204];\n        *(undefined *)((int)unaff_s3 + 5) = puVar20[0x205];\n      }\n      if ((byte)PTR_OptArray_14__flags_00131178[0x23de] < 6) {\n                    /* WARNING: Could not recover jumptable at 0x000664a0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        iVar7 = (*(code *)(&_gp + *(int *)(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)(byte)PTR_OptArray_14__flags_00131178[0x23de] * 4 +\n                                          -0x2768)))();\n        return iVar7;\n      }\n      pcVar21 = (char *)0x0;\n      pcVar23 = (char *)0x7fffffff;\n      goto LAB_000662f4;\n    }" if (parenthesized_expression "(pcVar21 == (char *)0x0)" ( (binary_expression "pcVar21 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if (unaff_s3 != (undefined4 *)0x0) {\n        *unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);\n        *(undefined *)(unaff_s3 + 1) = puVar20[0x204];\n        *(undefined *)((int)unaff_s3 + 5) = puVar20[0x205];\n      }\n      if ((byte)PTR_OptArray_14__flags_00131178[0x23de] < 6) {\n                    /* WARNING: Could not recover jumptable at 0x000664a0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        iVar7 = (*(code *)(&_gp + *(int *)(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)(byte)PTR_OptArray_14__flags_00131178[0x23de] * 4 +\n                                          -0x2768)))();\n        return iVar7;\n      }\n      pcVar21 = (char *)0x0;\n      pcVar23 = (char *)0x7fffffff;\n      goto LAB_000662f4;\n    }" { (if_statement "if (unaff_s3 != (undefined4 *)0x0) {\n        *unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);\n        *(undefined *)(unaff_s3 + 1) = puVar20[0x204];\n        *(undefined *)((int)unaff_s3 + 5) = puVar20[0x205];\n      }" if (parenthesized_expression "(unaff_s3 != (undefined4 *)0x0)" ( (binary_expression "unaff_s3 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        *unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);\n        *(undefined *)(unaff_s3 + 1) = puVar20[0x204];\n        *(undefined *)((int)unaff_s3 + 5) = puVar20[0x205];\n      }" { (expression_statement "*unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);" (assignment_expression "*unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200)" (pointer_expression "*unaff_s3" * identifier) = (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200)" * (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x200)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x200" identifier + number_literal) ))))) ;) (expression_statement "*(undefined *)(unaff_s3 + 1) = puVar20[0x204];" (assignment_expression "*(undefined *)(unaff_s3 + 1) = puVar20[0x204]" (pointer_expression "*(undefined *)(unaff_s3 + 1)" * (cast_expression "(undefined *)(unaff_s3 + 1)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s3 + 1)" ( (binary_expression "unaff_s3 + 1" identifier + number_literal) )))) = (subscript_expression "puVar20[0x204]" identifier [ number_literal ])) ;) (expression_statement "*(undefined *)((int)unaff_s3 + 5) = puVar20[0x205];" (assignment_expression "*(undefined *)((int)unaff_s3 + 5) = puVar20[0x205]" (pointer_expression "*(undefined *)((int)unaff_s3 + 5)" * (cast_expression "(undefined *)((int)unaff_s3 + 5)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s3 + 5)" ( (binary_expression "(int)unaff_s3 + 5" (cast_expression "(int)unaff_s3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (subscript_expression "puVar20[0x205]" identifier [ number_literal ])) ;) })) (if_statement "if ((byte)PTR_OptArray_14__flags_00131178[0x23de] < 6) {\n                    /* WARNING: Could not recover jumptable at 0x000664a0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        iVar7 = (*(code *)(&_gp + *(int *)(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)(byte)PTR_OptArray_14__flags_00131178[0x23de] * 4 +\n                                          -0x2768)))();\n        return iVar7;\n      }" if (parenthesized_expression "((byte)PTR_OptArray_14__flags_00131178[0x23de] < 6)" ( (binary_expression "(byte)PTR_OptArray_14__flags_00131178[0x23de] < 6" (cast_expression "(byte)PTR_OptArray_14__flags_00131178[0x23de]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR_OptArray_14__flags_00131178[0x23de]" identifier [ number_literal ])) < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x000664a0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        iVar7 = (*(code *)(&_gp + *(int *)(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)(byte)PTR_OptArray_14__flags_00131178[0x23de] * 4 +\n                                          -0x2768)))();\n        return iVar7;\n      }" { comment comment (expression_statement "iVar7 = (*(code *)(&_gp + *(int *)(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)(byte)PTR_OptArray_14__flags_00131178[0x23de] * 4 +\n                                          -0x2768)))();" (assignment_expression "iVar7 = (*(code *)(&_gp + *(int *)(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)(byte)PTR_OptArray_14__flags_00131178[0x23de] * 4 +\n                                          -0x2768)))()" identifier = (call_expression "(*(code *)(&_gp + *(int *)(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)(byte)PTR_OptArray_14__flags_00131178[0x23de] * 4 +\n                                          -0x2768)))()" (parenthesized_expression "(*(code *)(&_gp + *(int *)(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)(byte)PTR_OptArray_14__flags_00131178[0x23de] * 4 +\n                                          -0x2768)))" ( (pointer_expression "*(code *)(&_gp + *(int *)(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)(byte)PTR_OptArray_14__flags_00131178[0x23de] * 4 +\n                                          -0x2768))" * (cast_expression "(code *)(&_gp + *(int *)(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)(byte)PTR_OptArray_14__flags_00131178[0x23de] * 4 +\n                                          -0x2768))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp + *(int *)(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)(byte)PTR_OptArray_14__flags_00131178[0x23de] * 4 +\n                                          -0x2768))" ( (binary_expression "&_gp + *(int *)(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)(byte)PTR_OptArray_14__flags_00131178[0x23de] * 4 +\n                                          -0x2768)" (pointer_expression "&_gp" & identifier) + (pointer_expression "*(int *)(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)(byte)PTR_OptArray_14__flags_00131178[0x23de] * 4 +\n                                          -0x2768)" * (cast_expression "(int *)(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)(byte)PTR_OptArray_14__flags_00131178[0x23de] * 4 +\n                                          -0x2768)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)(byte)PTR_OptArray_14__flags_00131178[0x23de] * 4 +\n                                          -0x2768)" ( (binary_expression "PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)(byte)PTR_OptArray_14__flags_00131178[0x23de] * 4 +\n                                          -0x2768" (binary_expression "PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)(byte)PTR_OptArray_14__flags_00131178[0x23de] * 4" identifier + (binary_expression "(uint)(byte)PTR_OptArray_14__flags_00131178[0x23de] * 4" (cast_expression "(uint)(byte)PTR_OptArray_14__flags_00131178[0x23de]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)PTR_OptArray_14__flags_00131178[0x23de]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR_OptArray_14__flags_00131178[0x23de]" identifier [ number_literal ]))) * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return iVar7;" return identifier ;) })) (expression_statement "pcVar21 = (char *)0x0;" (assignment_expression "pcVar21 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar23 = (char *)0x7fffffff;" (assignment_expression "pcVar23 = (char *)0x7fffffff" identifier = (cast_expression "(char *)0x7fffffff" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;) })) }) (else_clause "else {\n    iVar14 = (*(code *)PTR_monotonic_sec_001317c0)();\n    if (iVar12 < 0x20c49b) {\n      iVar12 = iVar12 * 1000;\n    }\n    else {\n      iVar12 = 0x7fffffff;\n    }\n    iVar12 = (*(code *)PTR_poll_00132060)(pfds,2,iVar12);\n    pcVar23 = pcVar22;\n    if (iVar12 < 0) {\n      if (**(int **)PTR_bb_errno_001311d8 != 4) {\n        iVar12 = (*(code *)PTR_bb_perror_msg_and_die_001311f4)\n                           (PTR_bdcommands_4__name_4__001311a4 + -0x5488);\n        goto LAB_00066410;\n      }\n      iVar12 = (*(code *)PTR_monotonic_sec_001317c0)();\n      pcVar21 = pcVar21 + (iVar12 - iVar14);\n      goto LAB_000662f4;\n    }\nLAB_00066410:\n    if (iVar12 == 0) goto LAB_00066418;\n    iVar12 = udhcp_sp_read();\n    puVar20 = PTR_bb_common_bufsiz1_0013136c;\n    if (iVar12 == 0x10) {\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar20[0x24d] = 0;\n      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2894);\n      bVar2 = PTR_OptArray_14__flags_00131178[0x23de];\n      if (bVar2 < 7) {\n                    /* WARNING: Could not recover jumptable at 0x00066854. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        iVar7 = (*(code *)(&_gp + *(int *)(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)bVar2 * 4 + -0x2750)))();\n        return iVar7;\n      }\n      pcVar21 = (char *)0x0;\n      unaff_s0 = pcVar24;\n      pcVar23 = pcVar24;\n      if (bVar2 == 5) {\n        if ((int)pcVar22 < 0x3d) {\n          if (0x3b < (int)pcVar22) goto LAB_0006666c;\n        }\n        else {\n          pcVar22 = (char *)0x3c;\nLAB_0006666c:\n          iVar12 = (*pcStack_2ec)(uStack_2f8,server_addr,requested_ip);\n          pcVar21 = (char *)0x0;\n          if (-1 < iVar12) {\n            unaff_s0 = unaff_s4;\n            pcVar23 = (char *)((int)pcVar22 >> 1);\n            goto LAB_000662f4;\n          }\n        }\n        PTR_OptArray_14__flags_00131178[0x23de] = 4;\n        (*unaff_s7)(2);\n        if ((int)pcVar22 < 1) {\n          (*(code *)PTR_bb_error_msg_001311d0)(puStack_2e4 + -0x28b4);\n          (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);\n          PTR_OptArray_14__flags_00131178[0x23de] = 0;\n          puVar20 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar20[0x24d] = 0;\n          pcVar21 = (char *)0x0;\n          pcVar23 = pcVar22;\n        }\n        else {\n          (*pcStack_2ec)(uStack_2f8,0);\n          pcVar21 = (char *)0x0;\n          unaff_s0 = unaff_s4;\n          pcVar23 = (char *)((int)pcVar22 >> 1);\n        }\n      }\n      goto LAB_000662f4;\n    }\n    if (iVar12 == 0x11) {\n      perform_release(server_addr,requested_ip);\n      pcVar23 = (char *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n    if (iVar12 == 0xf) {\n      (*(code *)PTR_bb_error_msg_001311d0)\n                (PTR_bdcommands_4__name_4__001311a4 + -0x2874,\n                 PTR_bdcommands_4__name_4__001311a4 + -0x287c);\n      goto LAB_00066938;\n    }\n    if (pfds[1].revents == 0) goto LAB_000662f4;\n    if (PTR_OptArray_14__flags_00131178[0x23df] == '\x01') {\n      iVar12 = udhcp_recv_kernel_packet(&packet,*(int *)(puStack_2f0 + 0x1004));\n    }\n    else {\n      iVar12 = udhcp_recv_raw_packet(&packet,*(int *)(puStack_2f0 + 0x1004));\n    }\n    if (iVar12 == -1) {\n      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2868);\n      (*(code *)PTR_sleep_0013211c)(discover_timeout);\n      (*unaff_s7)((int)(char)PTR_OptArray_14__flags_00131178[0x23df]);\n      iVar12 = (*(code *)PTR_monotonic_sec_001317c0)();\n      pcVar21 = pcVar21 + (iVar12 - iVar14);\n      goto LAB_000662f4;\n    }\n    iVar15 = (*(code *)PTR_monotonic_sec_001317c0)();\n    pcVar21 = pcVar21 + (iVar15 - iVar14);\n    if ((((iVar12 < 0) || (packet.xid != uStack_2f8)) || (packet.hlen != '\x06')) ||\n       (iVar12 = (*(code *)PTR_memcmp_0013212c)\n                           (packet.chaddr,PTR_bb_common_bufsiz1_0013136c + 0x200,6), iVar12 != 0))\n    goto LAB_000662f4;\n    puVar9 = udhcp_get_option(&packet,0x35);\n    uVar6 = server_addr;\n    if (puVar9 == (uint8_t *)0x0) {\n      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2844);\n      goto LAB_000662f4;\n    }\n    iVar12 = (int)(char)PTR_OptArray_14__flags_00131178[0x23de];\n    pcVar22 = (char *)0x0;\n    if (iVar12 != 1) {\n      if (iVar12 < 2) {\n        if ((iVar12 == 0) && (*puVar9 == '\x02')) {\n          server_addr = 0;\n          puVar16 = (uint32_t *)udhcp_get_option32(&packet,0x36);\n          if (puVar16 == (uint32_t *)0x0) {\n            (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x281c);\n          }\n          else {\n            server_addr = *puVar16;\n          }\n          PTR_OptArray_14__flags_00131178[0x23de] = 1;\n          pcVar21 = (char *)0x0;\n          requested_ip = packet.yiaddr;\n          unaff_s0 = pcVar22;\n          pcVar23 = pcVar22;\n        }\n        goto LAB_000662f4;\n      }\n      if (2 < (iVar12 - 3U & 0xff)) goto LAB_000662f4;\n    }\n    if (*puVar9 != '\x05') {\n      if ((*puVar9 == '\x06') &&\n         ((server_addr == 0 ||\n          ((puVar16 = (uint32_t *)udhcp_get_option32(&packet,0x36), puVar16 != (uint32_t *)0x0 &&\n           (lease_seconds = *puVar16, uVar6 == lease_seconds)))))) {\n        (*(code *)PTR_bb_error_msg_001311d0)\n                  (PTR_bdcommands_4__name_4__001311a4 + -0x2874,\n                   PTR_bdcommands_4__name_4__001311a4 + -0x2778);\n        (*pcStack_2fc)(&packet,PTR_bdcommands_4__name_4__001311a4 + -0x276c);\n        if (PTR_OptArray_14__flags_00131178[0x23de] != '\x01') {\n          (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);\n        }\n        (*unaff_s7)(2);\n        (*(code *)PTR_sleep_0013211c)(3);\n        PTR_OptArray_14__flags_00131178[0x23de] = 0;\n        puVar20 = PTR_bb_common_bufsiz1_0013136c;\n        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n        puVar20[0x24d] = 0;\n        pcVar21 = (char *)0x0;\n        requested_ip = 0;\n        unaff_s0 = pcVar22;\n        pcVar23 = pcVar22;\n      }\n      goto LAB_000662f4;\n    }\n    puVar17 = (uint *)udhcp_get_option32(&packet,0x33);\n    if (puVar17 == (uint *)0x0) {\n      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2800);\n      lease_seconds = 0xe10;\n    }\n    else {\n      lease_seconds = *puVar17;\n      if (lease_seconds < 0x7a) {\n        lease_seconds = 0x7a;\n      }\n    }\n    if (((int)(uVar8 << 9) < 0) &&\n       (iVar12 = arpping(packet.yiaddr,(uint8_t *)0x0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                         *(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c),timeo), iVar12 == 0)) {\n      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x27d4);\n      send_decline(server_addr,packet.yiaddr);\n      if (PTR_OptArray_14__flags_00131178[0x23de] != '\x01') {\n        (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);\n      }\n      (*unaff_s7)(2);\n      PTR_OptArray_14__flags_00131178[0x23de] = 0;\n      puVar20 = PTR_bb_common_bufsiz1_0013136c;\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar20[0x24d] = 0;\n      pcVar21 = (char *)0x0;\n      requested_ip = 0;\n      unaff_s0 = (char *)0x0;\n      pcVar23 = (char *)tryagain_timeout;\n      goto LAB_000662f4;\n    }\n    uVar11 = (*(code *)PTR_inet_ntoa_00132140)(packet.yiaddr);\n    uVar6 = lease_seconds;\n    (*(code *)PTR_bb_error_msg_001311d0)\n              (PTR_bdcommands_4__name_4__001311a4 + -0x279c,uVar11,lease_seconds);\n    requested_ip = packet.yiaddr;\n    iVar12 = (*(code *)PTR_monotonic_sec_001317c0)();\n    if (PTR_OptArray_14__flags_00131178[0x23de] == '\x01') {\n      puVar20 = PTR_bdcommands_4__name_4__001311a4 + -0x2978;\n    }\n    else {\n      puVar20 = PTR_bdcommands_4__name_4__001311a4 + -0x2884;\n    }\n    (*pcStack_2fc)(&packet,puVar20);\n    iVar14 = (*(code *)PTR_monotonic_sec_001317c0)();\n    pcVar21 = (char *)(iVar14 - iVar12);\n    pcVar23 = (char *)(uVar6 >> 1);\n    if (pcVar23 < pcVar21) {\n      pcVar21 = (char *)0x0;\n      pcVar23 = pcVar22;\n    }\n    PTR_OptArray_14__flags_00131178[0x23de] = 2;\n    (*unaff_s7)(0);\n    if ((uVar8 & 0x100) == 0) {\n      if ((int)(uVar8 << 0xc) < 0) {\n        uVar8 = uVar8 & 0xffffffbf;\n      }\n      else {\n        client_background();\n        uVar8 = uVar8 & 0xffd7ffbf | 0x80000;\n      }\n      goto LAB_000662f4;\n    }\n  }" else (compound_statement "{\n    iVar14 = (*(code *)PTR_monotonic_sec_001317c0)();\n    if (iVar12 < 0x20c49b) {\n      iVar12 = iVar12 * 1000;\n    }\n    else {\n      iVar12 = 0x7fffffff;\n    }\n    iVar12 = (*(code *)PTR_poll_00132060)(pfds,2,iVar12);\n    pcVar23 = pcVar22;\n    if (iVar12 < 0) {\n      if (**(int **)PTR_bb_errno_001311d8 != 4) {\n        iVar12 = (*(code *)PTR_bb_perror_msg_and_die_001311f4)\n                           (PTR_bdcommands_4__name_4__001311a4 + -0x5488);\n        goto LAB_00066410;\n      }\n      iVar12 = (*(code *)PTR_monotonic_sec_001317c0)();\n      pcVar21 = pcVar21 + (iVar12 - iVar14);\n      goto LAB_000662f4;\n    }\nLAB_00066410:\n    if (iVar12 == 0) goto LAB_00066418;\n    iVar12 = udhcp_sp_read();\n    puVar20 = PTR_bb_common_bufsiz1_0013136c;\n    if (iVar12 == 0x10) {\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar20[0x24d] = 0;\n      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2894);\n      bVar2 = PTR_OptArray_14__flags_00131178[0x23de];\n      if (bVar2 < 7) {\n                    /* WARNING: Could not recover jumptable at 0x00066854. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        iVar7 = (*(code *)(&_gp + *(int *)(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)bVar2 * 4 + -0x2750)))();\n        return iVar7;\n      }\n      pcVar21 = (char *)0x0;\n      unaff_s0 = pcVar24;\n      pcVar23 = pcVar24;\n      if (bVar2 == 5) {\n        if ((int)pcVar22 < 0x3d) {\n          if (0x3b < (int)pcVar22) goto LAB_0006666c;\n        }\n        else {\n          pcVar22 = (char *)0x3c;\nLAB_0006666c:\n          iVar12 = (*pcStack_2ec)(uStack_2f8,server_addr,requested_ip);\n          pcVar21 = (char *)0x0;\n          if (-1 < iVar12) {\n            unaff_s0 = unaff_s4;\n            pcVar23 = (char *)((int)pcVar22 >> 1);\n            goto LAB_000662f4;\n          }\n        }\n        PTR_OptArray_14__flags_00131178[0x23de] = 4;\n        (*unaff_s7)(2);\n        if ((int)pcVar22 < 1) {\n          (*(code *)PTR_bb_error_msg_001311d0)(puStack_2e4 + -0x28b4);\n          (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);\n          PTR_OptArray_14__flags_00131178[0x23de] = 0;\n          puVar20 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar20[0x24d] = 0;\n          pcVar21 = (char *)0x0;\n          pcVar23 = pcVar22;\n        }\n        else {\n          (*pcStack_2ec)(uStack_2f8,0);\n          pcVar21 = (char *)0x0;\n          unaff_s0 = unaff_s4;\n          pcVar23 = (char *)((int)pcVar22 >> 1);\n        }\n      }\n      goto LAB_000662f4;\n    }\n    if (iVar12 == 0x11) {\n      perform_release(server_addr,requested_ip);\n      pcVar23 = (char *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n    if (iVar12 == 0xf) {\n      (*(code *)PTR_bb_error_msg_001311d0)\n                (PTR_bdcommands_4__name_4__001311a4 + -0x2874,\n                 PTR_bdcommands_4__name_4__001311a4 + -0x287c);\n      goto LAB_00066938;\n    }\n    if (pfds[1].revents == 0) goto LAB_000662f4;\n    if (PTR_OptArray_14__flags_00131178[0x23df] == '\x01') {\n      iVar12 = udhcp_recv_kernel_packet(&packet,*(int *)(puStack_2f0 + 0x1004));\n    }\n    else {\n      iVar12 = udhcp_recv_raw_packet(&packet,*(int *)(puStack_2f0 + 0x1004));\n    }\n    if (iVar12 == -1) {\n      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2868);\n      (*(code *)PTR_sleep_0013211c)(discover_timeout);\n      (*unaff_s7)((int)(char)PTR_OptArray_14__flags_00131178[0x23df]);\n      iVar12 = (*(code *)PTR_monotonic_sec_001317c0)();\n      pcVar21 = pcVar21 + (iVar12 - iVar14);\n      goto LAB_000662f4;\n    }\n    iVar15 = (*(code *)PTR_monotonic_sec_001317c0)();\n    pcVar21 = pcVar21 + (iVar15 - iVar14);\n    if ((((iVar12 < 0) || (packet.xid != uStack_2f8)) || (packet.hlen != '\x06')) ||\n       (iVar12 = (*(code *)PTR_memcmp_0013212c)\n                           (packet.chaddr,PTR_bb_common_bufsiz1_0013136c + 0x200,6), iVar12 != 0))\n    goto LAB_000662f4;\n    puVar9 = udhcp_get_option(&packet,0x35);\n    uVar6 = server_addr;\n    if (puVar9 == (uint8_t *)0x0) {\n      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2844);\n      goto LAB_000662f4;\n    }\n    iVar12 = (int)(char)PTR_OptArray_14__flags_00131178[0x23de];\n    pcVar22 = (char *)0x0;\n    if (iVar12 != 1) {\n      if (iVar12 < 2) {\n        if ((iVar12 == 0) && (*puVar9 == '\x02')) {\n          server_addr = 0;\n          puVar16 = (uint32_t *)udhcp_get_option32(&packet,0x36);\n          if (puVar16 == (uint32_t *)0x0) {\n            (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x281c);\n          }\n          else {\n            server_addr = *puVar16;\n          }\n          PTR_OptArray_14__flags_00131178[0x23de] = 1;\n          pcVar21 = (char *)0x0;\n          requested_ip = packet.yiaddr;\n          unaff_s0 = pcVar22;\n          pcVar23 = pcVar22;\n        }\n        goto LAB_000662f4;\n      }\n      if (2 < (iVar12 - 3U & 0xff)) goto LAB_000662f4;\n    }\n    if (*puVar9 != '\x05') {\n      if ((*puVar9 == '\x06') &&\n         ((server_addr == 0 ||\n          ((puVar16 = (uint32_t *)udhcp_get_option32(&packet,0x36), puVar16 != (uint32_t *)0x0 &&\n           (lease_seconds = *puVar16, uVar6 == lease_seconds)))))) {\n        (*(code *)PTR_bb_error_msg_001311d0)\n                  (PTR_bdcommands_4__name_4__001311a4 + -0x2874,\n                   PTR_bdcommands_4__name_4__001311a4 + -0x2778);\n        (*pcStack_2fc)(&packet,PTR_bdcommands_4__name_4__001311a4 + -0x276c);\n        if (PTR_OptArray_14__flags_00131178[0x23de] != '\x01') {\n          (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);\n        }\n        (*unaff_s7)(2);\n        (*(code *)PTR_sleep_0013211c)(3);\n        PTR_OptArray_14__flags_00131178[0x23de] = 0;\n        puVar20 = PTR_bb_common_bufsiz1_0013136c;\n        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n        puVar20[0x24d] = 0;\n        pcVar21 = (char *)0x0;\n        requested_ip = 0;\n        unaff_s0 = pcVar22;\n        pcVar23 = pcVar22;\n      }\n      goto LAB_000662f4;\n    }\n    puVar17 = (uint *)udhcp_get_option32(&packet,0x33);\n    if (puVar17 == (uint *)0x0) {\n      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2800);\n      lease_seconds = 0xe10;\n    }\n    else {\n      lease_seconds = *puVar17;\n      if (lease_seconds < 0x7a) {\n        lease_seconds = 0x7a;\n      }\n    }\n    if (((int)(uVar8 << 9) < 0) &&\n       (iVar12 = arpping(packet.yiaddr,(uint8_t *)0x0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                         *(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c),timeo), iVar12 == 0)) {\n      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x27d4);\n      send_decline(server_addr,packet.yiaddr);\n      if (PTR_OptArray_14__flags_00131178[0x23de] != '\x01') {\n        (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);\n      }\n      (*unaff_s7)(2);\n      PTR_OptArray_14__flags_00131178[0x23de] = 0;\n      puVar20 = PTR_bb_common_bufsiz1_0013136c;\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar20[0x24d] = 0;\n      pcVar21 = (char *)0x0;\n      requested_ip = 0;\n      unaff_s0 = (char *)0x0;\n      pcVar23 = (char *)tryagain_timeout;\n      goto LAB_000662f4;\n    }\n    uVar11 = (*(code *)PTR_inet_ntoa_00132140)(packet.yiaddr);\n    uVar6 = lease_seconds;\n    (*(code *)PTR_bb_error_msg_001311d0)\n              (PTR_bdcommands_4__name_4__001311a4 + -0x279c,uVar11,lease_seconds);\n    requested_ip = packet.yiaddr;\n    iVar12 = (*(code *)PTR_monotonic_sec_001317c0)();\n    if (PTR_OptArray_14__flags_00131178[0x23de] == '\x01') {\n      puVar20 = PTR_bdcommands_4__name_4__001311a4 + -0x2978;\n    }\n    else {\n      puVar20 = PTR_bdcommands_4__name_4__001311a4 + -0x2884;\n    }\n    (*pcStack_2fc)(&packet,puVar20);\n    iVar14 = (*(code *)PTR_monotonic_sec_001317c0)();\n    pcVar21 = (char *)(iVar14 - iVar12);\n    pcVar23 = (char *)(uVar6 >> 1);\n    if (pcVar23 < pcVar21) {\n      pcVar21 = (char *)0x0;\n      pcVar23 = pcVar22;\n    }\n    PTR_OptArray_14__flags_00131178[0x23de] = 2;\n    (*unaff_s7)(0);\n    if ((uVar8 & 0x100) == 0) {\n      if ((int)(uVar8 << 0xc) < 0) {\n        uVar8 = uVar8 & 0xffffffbf;\n      }\n      else {\n        client_background();\n        uVar8 = uVar8 & 0xffd7ffbf | 0x80000;\n      }\n      goto LAB_000662f4;\n    }\n  }" { (expression_statement "iVar14 = (*(code *)PTR_monotonic_sec_001317c0)();" (assignment_expression "iVar14 = (*(code *)PTR_monotonic_sec_001317c0)()" identifier = (call_expression "(*(code *)PTR_monotonic_sec_001317c0)()" (parenthesized_expression "(*(code *)PTR_monotonic_sec_001317c0)" ( (pointer_expression "*(code *)PTR_monotonic_sec_001317c0" * (cast_expression "(code *)PTR_monotonic_sec_001317c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar12 < 0x20c49b) {\n      iVar12 = iVar12 * 1000;\n    }\n    else {\n      iVar12 = 0x7fffffff;\n    }" if (parenthesized_expression "(iVar12 < 0x20c49b)" ( (binary_expression "iVar12 < 0x20c49b" identifier < number_literal) )) (compound_statement "{\n      iVar12 = iVar12 * 1000;\n    }" { (expression_statement "iVar12 = iVar12 * 1000;" (assignment_expression "iVar12 = iVar12 * 1000" identifier = (binary_expression "iVar12 * 1000" identifier * number_literal)) ;) }) (else_clause "else {\n      iVar12 = 0x7fffffff;\n    }" else (compound_statement "{\n      iVar12 = 0x7fffffff;\n    }" { (expression_statement "iVar12 = 0x7fffffff;" (assignment_expression "iVar12 = 0x7fffffff" identifier = number_literal) ;) }))) (expression_statement "iVar12 = (*(code *)PTR_poll_00132060)(pfds,2,iVar12);" (assignment_expression "iVar12 = (*(code *)PTR_poll_00132060)(pfds,2,iVar12)" identifier = (call_expression "(*(code *)PTR_poll_00132060)(pfds,2,iVar12)" (parenthesized_expression "(*(code *)PTR_poll_00132060)" ( (pointer_expression "*(code *)PTR_poll_00132060" * (cast_expression "(code *)PTR_poll_00132060" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pfds,2,iVar12)" ( identifier , number_literal , identifier )))) ;) (expression_statement "pcVar23 = pcVar22;" (assignment_expression "pcVar23 = pcVar22" identifier = identifier) ;) (if_statement "if (iVar12 < 0) {\n      if (**(int **)PTR_bb_errno_001311d8 != 4) {\n        iVar12 = (*(code *)PTR_bb_perror_msg_and_die_001311f4)\n                           (PTR_bdcommands_4__name_4__001311a4 + -0x5488);\n        goto LAB_00066410;\n      }\n      iVar12 = (*(code *)PTR_monotonic_sec_001317c0)();\n      pcVar21 = pcVar21 + (iVar12 - iVar14);\n      goto LAB_000662f4;\n    }" if (parenthesized_expression "(iVar12 < 0)" ( (binary_expression "iVar12 < 0" identifier < number_literal) )) (compound_statement "{\n      if (**(int **)PTR_bb_errno_001311d8 != 4) {\n        iVar12 = (*(code *)PTR_bb_perror_msg_and_die_001311f4)\n                           (PTR_bdcommands_4__name_4__001311a4 + -0x5488);\n        goto LAB_00066410;\n      }\n      iVar12 = (*(code *)PTR_monotonic_sec_001317c0)();\n      pcVar21 = pcVar21 + (iVar12 - iVar14);\n      goto LAB_000662f4;\n    }" { (if_statement "if (**(int **)PTR_bb_errno_001311d8 != 4) {\n        iVar12 = (*(code *)PTR_bb_perror_msg_and_die_001311f4)\n                           (PTR_bdcommands_4__name_4__001311a4 + -0x5488);\n        goto LAB_00066410;\n      }" if (parenthesized_expression "(**(int **)PTR_bb_errno_001311d8 != 4)" ( (binary_expression "**(int **)PTR_bb_errno_001311d8 != 4" (pointer_expression "**(int **)PTR_bb_errno_001311d8" * (pointer_expression "*(int **)PTR_bb_errno_001311d8" * (cast_expression "(int **)PTR_bb_errno_001311d8" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) != number_literal) )) (compound_statement "{\n        iVar12 = (*(code *)PTR_bb_perror_msg_and_die_001311f4)\n                           (PTR_bdcommands_4__name_4__001311a4 + -0x5488);\n        goto LAB_00066410;\n      }" { (expression_statement "iVar12 = (*(code *)PTR_bb_perror_msg_and_die_001311f4)\n                           (PTR_bdcommands_4__name_4__001311a4 + -0x5488);" (assignment_expression "iVar12 = (*(code *)PTR_bb_perror_msg_and_die_001311f4)\n                           (PTR_bdcommands_4__name_4__001311a4 + -0x5488)" identifier = (call_expression "(*(code *)PTR_bb_perror_msg_and_die_001311f4)\n                           (PTR_bdcommands_4__name_4__001311a4 + -0x5488)" (parenthesized_expression "(*(code *)PTR_bb_perror_msg_and_die_001311f4)" ( (pointer_expression "*(code *)PTR_bb_perror_msg_and_die_001311f4" * (cast_expression "(code *)PTR_bb_perror_msg_and_die_001311f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_bdcommands_4__name_4__001311a4 + -0x5488)" ( (binary_expression "PTR_bdcommands_4__name_4__001311a4 + -0x5488" identifier + number_literal) )))) ;) (goto_statement "goto LAB_00066410;" goto statement_identifier ;) })) (expression_statement "iVar12 = (*(code *)PTR_monotonic_sec_001317c0)();" (assignment_expression "iVar12 = (*(code *)PTR_monotonic_sec_001317c0)()" identifier = (call_expression "(*(code *)PTR_monotonic_sec_001317c0)()" (parenthesized_expression "(*(code *)PTR_monotonic_sec_001317c0)" ( (pointer_expression "*(code *)PTR_monotonic_sec_001317c0" * (cast_expression "(code *)PTR_monotonic_sec_001317c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "pcVar21 = pcVar21 + (iVar12 - iVar14);" (assignment_expression "pcVar21 = pcVar21 + (iVar12 - iVar14)" identifier = (binary_expression "pcVar21 + (iVar12 - iVar14)" identifier + (parenthesized_expression "(iVar12 - iVar14)" ( (binary_expression "iVar12 - iVar14" identifier - identifier) )))) ;) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;) })) (labeled_statement "LAB_00066410:\n    if (iVar12 == 0) goto LAB_00066418;" statement_identifier : (if_statement "if (iVar12 == 0) goto LAB_00066418;" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00066418;" goto statement_identifier ;))) (expression_statement "iVar12 = udhcp_sp_read();" (assignment_expression "iVar12 = udhcp_sp_read()" identifier = (call_expression "udhcp_sp_read()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar20 = PTR_bb_common_bufsiz1_0013136c;" (assignment_expression "puVar20 = PTR_bb_common_bufsiz1_0013136c" identifier = identifier) ;) (if_statement "if (iVar12 == 0x10) {\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar20[0x24d] = 0;\n      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2894);\n      bVar2 = PTR_OptArray_14__flags_00131178[0x23de];\n      if (bVar2 < 7) {\n                    /* WARNING: Could not recover jumptable at 0x00066854. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        iVar7 = (*(code *)(&_gp + *(int *)(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)bVar2 * 4 + -0x2750)))();\n        return iVar7;\n      }\n      pcVar21 = (char *)0x0;\n      unaff_s0 = pcVar24;\n      pcVar23 = pcVar24;\n      if (bVar2 == 5) {\n        if ((int)pcVar22 < 0x3d) {\n          if (0x3b < (int)pcVar22) goto LAB_0006666c;\n        }\n        else {\n          pcVar22 = (char *)0x3c;\nLAB_0006666c:\n          iVar12 = (*pcStack_2ec)(uStack_2f8,server_addr,requested_ip);\n          pcVar21 = (char *)0x0;\n          if (-1 < iVar12) {\n            unaff_s0 = unaff_s4;\n            pcVar23 = (char *)((int)pcVar22 >> 1);\n            goto LAB_000662f4;\n          }\n        }\n        PTR_OptArray_14__flags_00131178[0x23de] = 4;\n        (*unaff_s7)(2);\n        if ((int)pcVar22 < 1) {\n          (*(code *)PTR_bb_error_msg_001311d0)(puStack_2e4 + -0x28b4);\n          (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);\n          PTR_OptArray_14__flags_00131178[0x23de] = 0;\n          puVar20 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar20[0x24d] = 0;\n          pcVar21 = (char *)0x0;\n          pcVar23 = pcVar22;\n        }\n        else {\n          (*pcStack_2ec)(uStack_2f8,0);\n          pcVar21 = (char *)0x0;\n          unaff_s0 = unaff_s4;\n          pcVar23 = (char *)((int)pcVar22 >> 1);\n        }\n      }\n      goto LAB_000662f4;\n    }" if (parenthesized_expression "(iVar12 == 0x10)" ( (binary_expression "iVar12 == 0x10" identifier == number_literal) )) (compound_statement "{\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar20[0x24d] = 0;\n      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2894);\n      bVar2 = PTR_OptArray_14__flags_00131178[0x23de];\n      if (bVar2 < 7) {\n                    /* WARNING: Could not recover jumptable at 0x00066854. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        iVar7 = (*(code *)(&_gp + *(int *)(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)bVar2 * 4 + -0x2750)))();\n        return iVar7;\n      }\n      pcVar21 = (char *)0x0;\n      unaff_s0 = pcVar24;\n      pcVar23 = pcVar24;\n      if (bVar2 == 5) {\n        if ((int)pcVar22 < 0x3d) {\n          if (0x3b < (int)pcVar22) goto LAB_0006666c;\n        }\n        else {\n          pcVar22 = (char *)0x3c;\nLAB_0006666c:\n          iVar12 = (*pcStack_2ec)(uStack_2f8,server_addr,requested_ip);\n          pcVar21 = (char *)0x0;\n          if (-1 < iVar12) {\n            unaff_s0 = unaff_s4;\n            pcVar23 = (char *)((int)pcVar22 >> 1);\n            goto LAB_000662f4;\n          }\n        }\n        PTR_OptArray_14__flags_00131178[0x23de] = 4;\n        (*unaff_s7)(2);\n        if ((int)pcVar22 < 1) {\n          (*(code *)PTR_bb_error_msg_001311d0)(puStack_2e4 + -0x28b4);\n          (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);\n          PTR_OptArray_14__flags_00131178[0x23de] = 0;\n          puVar20 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar20[0x24d] = 0;\n          pcVar21 = (char *)0x0;\n          pcVar23 = pcVar22;\n        }\n        else {\n          (*pcStack_2ec)(uStack_2f8,0);\n          pcVar21 = (char *)0x0;\n          unaff_s0 = unaff_s4;\n          pcVar23 = (char *)((int)pcVar22 >> 1);\n        }\n      }\n      goto LAB_000662f4;\n    }" { (expression_statement "PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;" (assignment_expression "PTR_bb_common_bufsiz1_0013136c[0x24c] = 0" (subscript_expression "PTR_bb_common_bufsiz1_0013136c[0x24c]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar20[0x24d] = 0;" (assignment_expression "puVar20[0x24d] = 0" (subscript_expression "puVar20[0x24d]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "(*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2894);" (call_expression "(*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2894)" (parenthesized_expression "(*(code *)PTR_bb_error_msg_001311d0)" ( (pointer_expression "*(code *)PTR_bb_error_msg_001311d0" * (cast_expression "(code *)PTR_bb_error_msg_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_bdcommands_4__name_4__001311a4 + -0x2894)" ( (binary_expression "PTR_bdcommands_4__name_4__001311a4 + -0x2894" identifier + number_literal) ))) ;) (expression_statement "bVar2 = PTR_OptArray_14__flags_00131178[0x23de];" (assignment_expression "bVar2 = PTR_OptArray_14__flags_00131178[0x23de]" identifier = (subscript_expression "PTR_OptArray_14__flags_00131178[0x23de]" identifier [ number_literal ])) ;) (if_statement "if (bVar2 < 7) {\n                    /* WARNING: Could not recover jumptable at 0x00066854. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        iVar7 = (*(code *)(&_gp + *(int *)(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)bVar2 * 4 + -0x2750)))();\n        return iVar7;\n      }" if (parenthesized_expression "(bVar2 < 7)" ( (binary_expression "bVar2 < 7" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x00066854. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        iVar7 = (*(code *)(&_gp + *(int *)(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)bVar2 * 4 + -0x2750)))();\n        return iVar7;\n      }" { comment comment (expression_statement "iVar7 = (*(code *)(&_gp + *(int *)(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)bVar2 * 4 + -0x2750)))();" (assignment_expression "iVar7 = (*(code *)(&_gp + *(int *)(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)bVar2 * 4 + -0x2750)))()" identifier = (call_expression "(*(code *)(&_gp + *(int *)(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)bVar2 * 4 + -0x2750)))()" (parenthesized_expression "(*(code *)(&_gp + *(int *)(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)bVar2 * 4 + -0x2750)))" ( (pointer_expression "*(code *)(&_gp + *(int *)(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)bVar2 * 4 + -0x2750))" * (cast_expression "(code *)(&_gp + *(int *)(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)bVar2 * 4 + -0x2750))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp + *(int *)(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)bVar2 * 4 + -0x2750))" ( (binary_expression "&_gp + *(int *)(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)bVar2 * 4 + -0x2750)" (pointer_expression "&_gp" & identifier) + (pointer_expression "*(int *)(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)bVar2 * 4 + -0x2750)" * (cast_expression "(int *)(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)bVar2 * 4 + -0x2750)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)bVar2 * 4 + -0x2750)" ( (binary_expression "PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)bVar2 * 4 + -0x2750" (binary_expression "PTR_bdcommands_4__name_4__001311a4 +\n                                          (uint)bVar2 * 4" identifier + (binary_expression "(uint)bVar2 * 4" (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return iVar7;" return identifier ;) })) (expression_statement "pcVar21 = (char *)0x0;" (assignment_expression "pcVar21 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "unaff_s0 = pcVar24;" (assignment_expression "unaff_s0 = pcVar24" identifier = identifier) ;) (expression_statement "pcVar23 = pcVar24;" (assignment_expression "pcVar23 = pcVar24" identifier = identifier) ;) (if_statement "if (bVar2 == 5) {\n        if ((int)pcVar22 < 0x3d) {\n          if (0x3b < (int)pcVar22) goto LAB_0006666c;\n        }\n        else {\n          pcVar22 = (char *)0x3c;\nLAB_0006666c:\n          iVar12 = (*pcStack_2ec)(uStack_2f8,server_addr,requested_ip);\n          pcVar21 = (char *)0x0;\n          if (-1 < iVar12) {\n            unaff_s0 = unaff_s4;\n            pcVar23 = (char *)((int)pcVar22 >> 1);\n            goto LAB_000662f4;\n          }\n        }\n        PTR_OptArray_14__flags_00131178[0x23de] = 4;\n        (*unaff_s7)(2);\n        if ((int)pcVar22 < 1) {\n          (*(code *)PTR_bb_error_msg_001311d0)(puStack_2e4 + -0x28b4);\n          (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);\n          PTR_OptArray_14__flags_00131178[0x23de] = 0;\n          puVar20 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar20[0x24d] = 0;\n          pcVar21 = (char *)0x0;\n          pcVar23 = pcVar22;\n        }\n        else {\n          (*pcStack_2ec)(uStack_2f8,0);\n          pcVar21 = (char *)0x0;\n          unaff_s0 = unaff_s4;\n          pcVar23 = (char *)((int)pcVar22 >> 1);\n        }\n      }" if (parenthesized_expression "(bVar2 == 5)" ( (binary_expression "bVar2 == 5" identifier == number_literal) )) (compound_statement "{\n        if ((int)pcVar22 < 0x3d) {\n          if (0x3b < (int)pcVar22) goto LAB_0006666c;\n        }\n        else {\n          pcVar22 = (char *)0x3c;\nLAB_0006666c:\n          iVar12 = (*pcStack_2ec)(uStack_2f8,server_addr,requested_ip);\n          pcVar21 = (char *)0x0;\n          if (-1 < iVar12) {\n            unaff_s0 = unaff_s4;\n            pcVar23 = (char *)((int)pcVar22 >> 1);\n            goto LAB_000662f4;\n          }\n        }\n        PTR_OptArray_14__flags_00131178[0x23de] = 4;\n        (*unaff_s7)(2);\n        if ((int)pcVar22 < 1) {\n          (*(code *)PTR_bb_error_msg_001311d0)(puStack_2e4 + -0x28b4);\n          (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);\n          PTR_OptArray_14__flags_00131178[0x23de] = 0;\n          puVar20 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar20[0x24d] = 0;\n          pcVar21 = (char *)0x0;\n          pcVar23 = pcVar22;\n        }\n        else {\n          (*pcStack_2ec)(uStack_2f8,0);\n          pcVar21 = (char *)0x0;\n          unaff_s0 = unaff_s4;\n          pcVar23 = (char *)((int)pcVar22 >> 1);\n        }\n      }" { (if_statement "if ((int)pcVar22 < 0x3d) {\n          if (0x3b < (int)pcVar22) goto LAB_0006666c;\n        }\n        else {\n          pcVar22 = (char *)0x3c;\nLAB_0006666c:\n          iVar12 = (*pcStack_2ec)(uStack_2f8,server_addr,requested_ip);\n          pcVar21 = (char *)0x0;\n          if (-1 < iVar12) {\n            unaff_s0 = unaff_s4;\n            pcVar23 = (char *)((int)pcVar22 >> 1);\n            goto LAB_000662f4;\n          }\n        }" if (parenthesized_expression "((int)pcVar22 < 0x3d)" ( (binary_expression "(int)pcVar22 < 0x3d" (cast_expression "(int)pcVar22" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n          if (0x3b < (int)pcVar22) goto LAB_0006666c;\n        }" { (if_statement "if (0x3b < (int)pcVar22) goto LAB_0006666c;" if (parenthesized_expression "(0x3b < (int)pcVar22)" ( (binary_expression "0x3b < (int)pcVar22" number_literal < (cast_expression "(int)pcVar22" ( (type_descriptor "int" primitive_type) ) identifier)) )) (goto_statement "goto LAB_0006666c;" goto statement_identifier ;)) }) (else_clause "else {\n          pcVar22 = (char *)0x3c;\nLAB_0006666c:\n          iVar12 = (*pcStack_2ec)(uStack_2f8,server_addr,requested_ip);\n          pcVar21 = (char *)0x0;\n          if (-1 < iVar12) {\n            unaff_s0 = unaff_s4;\n            pcVar23 = (char *)((int)pcVar22 >> 1);\n            goto LAB_000662f4;\n          }\n        }" else (compound_statement "{\n          pcVar22 = (char *)0x3c;\nLAB_0006666c:\n          iVar12 = (*pcStack_2ec)(uStack_2f8,server_addr,requested_ip);\n          pcVar21 = (char *)0x0;\n          if (-1 < iVar12) {\n            unaff_s0 = unaff_s4;\n            pcVar23 = (char *)((int)pcVar22 >> 1);\n            goto LAB_000662f4;\n          }\n        }" { (expression_statement "pcVar22 = (char *)0x3c;" (assignment_expression "pcVar22 = (char *)0x3c" identifier = (cast_expression "(char *)0x3c" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_0006666c:\n          iVar12 = (*pcStack_2ec)(uStack_2f8,server_addr,requested_ip);" statement_identifier : (expression_statement "iVar12 = (*pcStack_2ec)(uStack_2f8,server_addr,requested_ip);" (assignment_expression "iVar12 = (*pcStack_2ec)(uStack_2f8,server_addr,requested_ip)" identifier = (call_expression "(*pcStack_2ec)(uStack_2f8,server_addr,requested_ip)" (parenthesized_expression "(*pcStack_2ec)" ( (pointer_expression "*pcStack_2ec" * identifier) )) (argument_list "(uStack_2f8,server_addr,requested_ip)" ( identifier , identifier , identifier )))) ;)) (expression_statement "pcVar21 = (char *)0x0;" (assignment_expression "pcVar21 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (-1 < iVar12) {\n            unaff_s0 = unaff_s4;\n            pcVar23 = (char *)((int)pcVar22 >> 1);\n            goto LAB_000662f4;\n          }" if (parenthesized_expression "(-1 < iVar12)" ( (binary_expression "-1 < iVar12" number_literal < identifier) )) (compound_statement "{\n            unaff_s0 = unaff_s4;\n            pcVar23 = (char *)((int)pcVar22 >> 1);\n            goto LAB_000662f4;\n          }" { (expression_statement "unaff_s0 = unaff_s4;" (assignment_expression "unaff_s0 = unaff_s4" identifier = identifier) ;) (expression_statement "pcVar23 = (char *)((int)pcVar22 >> 1);" (assignment_expression "pcVar23 = (char *)((int)pcVar22 >> 1)" identifier = (cast_expression "(char *)((int)pcVar22 >> 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pcVar22 >> 1)" ( (binary_expression "(int)pcVar22 >> 1" (cast_expression "(int)pcVar22" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )))) ;) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;) })) }))) (expression_statement "PTR_OptArray_14__flags_00131178[0x23de] = 4;" (assignment_expression "PTR_OptArray_14__flags_00131178[0x23de] = 4" (subscript_expression "PTR_OptArray_14__flags_00131178[0x23de]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "(*unaff_s7)(2);" (call_expression "(*unaff_s7)(2)" (parenthesized_expression "(*unaff_s7)" ( (pointer_expression "*unaff_s7" * identifier) )) (argument_list "(2)" ( number_literal ))) ;) (if_statement "if ((int)pcVar22 < 1) {\n          (*(code *)PTR_bb_error_msg_001311d0)(puStack_2e4 + -0x28b4);\n          (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);\n          PTR_OptArray_14__flags_00131178[0x23de] = 0;\n          puVar20 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar20[0x24d] = 0;\n          pcVar21 = (char *)0x0;\n          pcVar23 = pcVar22;\n        }\n        else {\n          (*pcStack_2ec)(uStack_2f8,0);\n          pcVar21 = (char *)0x0;\n          unaff_s0 = unaff_s4;\n          pcVar23 = (char *)((int)pcVar22 >> 1);\n        }" if (parenthesized_expression "((int)pcVar22 < 1)" ( (binary_expression "(int)pcVar22 < 1" (cast_expression "(int)pcVar22" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n          (*(code *)PTR_bb_error_msg_001311d0)(puStack_2e4 + -0x28b4);\n          (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);\n          PTR_OptArray_14__flags_00131178[0x23de] = 0;\n          puVar20 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar20[0x24d] = 0;\n          pcVar21 = (char *)0x0;\n          pcVar23 = pcVar22;\n        }" { (expression_statement "(*(code *)PTR_bb_error_msg_001311d0)(puStack_2e4 + -0x28b4);" (call_expression "(*(code *)PTR_bb_error_msg_001311d0)(puStack_2e4 + -0x28b4)" (parenthesized_expression "(*(code *)PTR_bb_error_msg_001311d0)" ( (pointer_expression "*(code *)PTR_bb_error_msg_001311d0" * (cast_expression "(code *)PTR_bb_error_msg_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puStack_2e4 + -0x28b4)" ( (binary_expression "puStack_2e4 + -0x28b4" identifier + number_literal) ))) ;) (expression_statement "(*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);" (call_expression "(*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984)" (parenthesized_expression "(*pcStack_2fc)" ( (pointer_expression "*pcStack_2fc" * identifier) )) (argument_list "(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984)" ( number_literal , (binary_expression "PTR_bdcommands_4__name_4__001311a4 + -0x2984" identifier + number_literal) ))) ;) (expression_statement "PTR_OptArray_14__flags_00131178[0x23de] = 0;" (assignment_expression "PTR_OptArray_14__flags_00131178[0x23de] = 0" (subscript_expression "PTR_OptArray_14__flags_00131178[0x23de]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar20 = PTR_bb_common_bufsiz1_0013136c;" (assignment_expression "puVar20 = PTR_bb_common_bufsiz1_0013136c" identifier = identifier) ;) (expression_statement "PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;" (assignment_expression "PTR_bb_common_bufsiz1_0013136c[0x24c] = 0" (subscript_expression "PTR_bb_common_bufsiz1_0013136c[0x24c]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar20[0x24d] = 0;" (assignment_expression "puVar20[0x24d] = 0" (subscript_expression "puVar20[0x24d]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pcVar21 = (char *)0x0;" (assignment_expression "pcVar21 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar23 = pcVar22;" (assignment_expression "pcVar23 = pcVar22" identifier = identifier) ;) }) (else_clause "else {\n          (*pcStack_2ec)(uStack_2f8,0);\n          pcVar21 = (char *)0x0;\n          unaff_s0 = unaff_s4;\n          pcVar23 = (char *)((int)pcVar22 >> 1);\n        }" else (compound_statement "{\n          (*pcStack_2ec)(uStack_2f8,0);\n          pcVar21 = (char *)0x0;\n          unaff_s0 = unaff_s4;\n          pcVar23 = (char *)((int)pcVar22 >> 1);\n        }" { (expression_statement "(*pcStack_2ec)(uStack_2f8,0);" (call_expression "(*pcStack_2ec)(uStack_2f8,0)" (parenthesized_expression "(*pcStack_2ec)" ( (pointer_expression "*pcStack_2ec" * identifier) )) (argument_list "(uStack_2f8,0)" ( identifier , number_literal ))) ;) (expression_statement "pcVar21 = (char *)0x0;" (assignment_expression "pcVar21 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "unaff_s0 = unaff_s4;" (assignment_expression "unaff_s0 = unaff_s4" identifier = identifier) ;) (expression_statement "pcVar23 = (char *)((int)pcVar22 >> 1);" (assignment_expression "pcVar23 = (char *)((int)pcVar22 >> 1)" identifier = (cast_expression "(char *)((int)pcVar22 >> 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pcVar22 >> 1)" ( (binary_expression "(int)pcVar22 >> 1" (cast_expression "(int)pcVar22" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )))) ;) }))) })) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;) })) (if_statement "if (iVar12 == 0x11) {\n      perform_release(server_addr,requested_ip);\n      pcVar23 = (char *)0x7fffffff;\n      goto LAB_000662f4;\n    }" if (parenthesized_expression "(iVar12 == 0x11)" ( (binary_expression "iVar12 == 0x11" identifier == number_literal) )) (compound_statement "{\n      perform_release(server_addr,requested_ip);\n      pcVar23 = (char *)0x7fffffff;\n      goto LAB_000662f4;\n    }" { (expression_statement "perform_release(server_addr,requested_ip);" (call_expression "perform_release(server_addr,requested_ip)" identifier (argument_list "(server_addr,requested_ip)" ( identifier , identifier ))) ;) (expression_statement "pcVar23 = (char *)0x7fffffff;" (assignment_expression "pcVar23 = (char *)0x7fffffff" identifier = (cast_expression "(char *)0x7fffffff" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;) })) (if_statement "if (iVar12 == 0xf) {\n      (*(code *)PTR_bb_error_msg_001311d0)\n                (PTR_bdcommands_4__name_4__001311a4 + -0x2874,\n                 PTR_bdcommands_4__name_4__001311a4 + -0x287c);\n      goto LAB_00066938;\n    }" if (parenthesized_expression "(iVar12 == 0xf)" ( (binary_expression "iVar12 == 0xf" identifier == number_literal) )) (compound_statement "{\n      (*(code *)PTR_bb_error_msg_001311d0)\n                (PTR_bdcommands_4__name_4__001311a4 + -0x2874,\n                 PTR_bdcommands_4__name_4__001311a4 + -0x287c);\n      goto LAB_00066938;\n    }" { (expression_statement "(*(code *)PTR_bb_error_msg_001311d0)\n                (PTR_bdcommands_4__name_4__001311a4 + -0x2874,\n                 PTR_bdcommands_4__name_4__001311a4 + -0x287c);" (call_expression "(*(code *)PTR_bb_error_msg_001311d0)\n                (PTR_bdcommands_4__name_4__001311a4 + -0x2874,\n                 PTR_bdcommands_4__name_4__001311a4 + -0x287c)" (parenthesized_expression "(*(code *)PTR_bb_error_msg_001311d0)" ( (pointer_expression "*(code *)PTR_bb_error_msg_001311d0" * (cast_expression "(code *)PTR_bb_error_msg_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_bdcommands_4__name_4__001311a4 + -0x2874,\n                 PTR_bdcommands_4__name_4__001311a4 + -0x287c)" ( (binary_expression "PTR_bdcommands_4__name_4__001311a4 + -0x2874" identifier + number_literal) , (binary_expression "PTR_bdcommands_4__name_4__001311a4 + -0x287c" identifier + number_literal) ))) ;) (goto_statement "goto LAB_00066938;" goto statement_identifier ;) })) (if_statement "if (pfds[1].revents == 0) goto LAB_000662f4;" if (parenthesized_expression "(pfds[1].revents == 0)" ( (binary_expression "pfds[1].revents == 0" (field_expression "pfds[1].revents" (subscript_expression "pfds[1]" identifier [ number_literal ]) . field_identifier) == number_literal) )) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;)) (if_statement "if (PTR_OptArray_14__flags_00131178[0x23df] == '\x01') {\n      iVar12 = udhcp_recv_kernel_packet(&packet,*(int *)(puStack_2f0 + 0x1004));\n    }\n    else {\n      iVar12 = udhcp_recv_raw_packet(&packet,*(int *)(puStack_2f0 + 0x1004));\n    }" if (parenthesized_expression "(PTR_OptArray_14__flags_00131178[0x23df] == '\x01')" ( (binary_expression "PTR_OptArray_14__flags_00131178[0x23df] == '\x01'" (subscript_expression "PTR_OptArray_14__flags_00131178[0x23df]" identifier [ number_literal ]) == (char_literal "'\x01'" ' escape_sequence ')) )) (compound_statement "{\n      iVar12 = udhcp_recv_kernel_packet(&packet,*(int *)(puStack_2f0 + 0x1004));\n    }" { (expression_statement "iVar12 = udhcp_recv_kernel_packet(&packet,*(int *)(puStack_2f0 + 0x1004));" (assignment_expression "iVar12 = udhcp_recv_kernel_packet(&packet,*(int *)(puStack_2f0 + 0x1004))" identifier = (call_expression "udhcp_recv_kernel_packet(&packet,*(int *)(puStack_2f0 + 0x1004))" identifier (argument_list "(&packet,*(int *)(puStack_2f0 + 0x1004))" ( (pointer_expression "&packet" & identifier) , (pointer_expression "*(int *)(puStack_2f0 + 0x1004)" * (cast_expression "(int *)(puStack_2f0 + 0x1004)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_2f0 + 0x1004)" ( (binary_expression "puStack_2f0 + 0x1004" identifier + number_literal) )))) )))) ;) }) (else_clause "else {\n      iVar12 = udhcp_recv_raw_packet(&packet,*(int *)(puStack_2f0 + 0x1004));\n    }" else (compound_statement "{\n      iVar12 = udhcp_recv_raw_packet(&packet,*(int *)(puStack_2f0 + 0x1004));\n    }" { (expression_statement "iVar12 = udhcp_recv_raw_packet(&packet,*(int *)(puStack_2f0 + 0x1004));" (assignment_expression "iVar12 = udhcp_recv_raw_packet(&packet,*(int *)(puStack_2f0 + 0x1004))" identifier = (call_expression "udhcp_recv_raw_packet(&packet,*(int *)(puStack_2f0 + 0x1004))" identifier (argument_list "(&packet,*(int *)(puStack_2f0 + 0x1004))" ( (pointer_expression "&packet" & identifier) , (pointer_expression "*(int *)(puStack_2f0 + 0x1004)" * (cast_expression "(int *)(puStack_2f0 + 0x1004)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puStack_2f0 + 0x1004)" ( (binary_expression "puStack_2f0 + 0x1004" identifier + number_literal) )))) )))) ;) }))) (if_statement "if (iVar12 == -1) {\n      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2868);\n      (*(code *)PTR_sleep_0013211c)(discover_timeout);\n      (*unaff_s7)((int)(char)PTR_OptArray_14__flags_00131178[0x23df]);\n      iVar12 = (*(code *)PTR_monotonic_sec_001317c0)();\n      pcVar21 = pcVar21 + (iVar12 - iVar14);\n      goto LAB_000662f4;\n    }" if (parenthesized_expression "(iVar12 == -1)" ( (binary_expression "iVar12 == -1" identifier == number_literal) )) (compound_statement "{\n      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2868);\n      (*(code *)PTR_sleep_0013211c)(discover_timeout);\n      (*unaff_s7)((int)(char)PTR_OptArray_14__flags_00131178[0x23df]);\n      iVar12 = (*(code *)PTR_monotonic_sec_001317c0)();\n      pcVar21 = pcVar21 + (iVar12 - iVar14);\n      goto LAB_000662f4;\n    }" { (expression_statement "(*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2868);" (call_expression "(*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2868)" (parenthesized_expression "(*(code *)PTR_bb_error_msg_001311d0)" ( (pointer_expression "*(code *)PTR_bb_error_msg_001311d0" * (cast_expression "(code *)PTR_bb_error_msg_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_bdcommands_4__name_4__001311a4 + -0x2868)" ( (binary_expression "PTR_bdcommands_4__name_4__001311a4 + -0x2868" identifier + number_literal) ))) ;) (expression_statement "(*(code *)PTR_sleep_0013211c)(discover_timeout);" (call_expression "(*(code *)PTR_sleep_0013211c)(discover_timeout)" (parenthesized_expression "(*(code *)PTR_sleep_0013211c)" ( (pointer_expression "*(code *)PTR_sleep_0013211c" * (cast_expression "(code *)PTR_sleep_0013211c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(discover_timeout)" ( identifier ))) ;) (expression_statement "(*unaff_s7)((int)(char)PTR_OptArray_14__flags_00131178[0x23df]);" (call_expression "(*unaff_s7)((int)(char)PTR_OptArray_14__flags_00131178[0x23df])" (parenthesized_expression "(*unaff_s7)" ( (pointer_expression "*unaff_s7" * identifier) )) (argument_list "((int)(char)PTR_OptArray_14__flags_00131178[0x23df])" ( (cast_expression "(int)(char)PTR_OptArray_14__flags_00131178[0x23df]" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)PTR_OptArray_14__flags_00131178[0x23df]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "PTR_OptArray_14__flags_00131178[0x23df]" identifier [ number_literal ]))) ))) ;) (expression_statement "iVar12 = (*(code *)PTR_monotonic_sec_001317c0)();" (assignment_expression "iVar12 = (*(code *)PTR_monotonic_sec_001317c0)()" identifier = (call_expression "(*(code *)PTR_monotonic_sec_001317c0)()" (parenthesized_expression "(*(code *)PTR_monotonic_sec_001317c0)" ( (pointer_expression "*(code *)PTR_monotonic_sec_001317c0" * (cast_expression "(code *)PTR_monotonic_sec_001317c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "pcVar21 = pcVar21 + (iVar12 - iVar14);" (assignment_expression "pcVar21 = pcVar21 + (iVar12 - iVar14)" identifier = (binary_expression "pcVar21 + (iVar12 - iVar14)" identifier + (parenthesized_expression "(iVar12 - iVar14)" ( (binary_expression "iVar12 - iVar14" identifier - identifier) )))) ;) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;) })) (expression_statement "iVar15 = (*(code *)PTR_monotonic_sec_001317c0)();" (assignment_expression "iVar15 = (*(code *)PTR_monotonic_sec_001317c0)()" identifier = (call_expression "(*(code *)PTR_monotonic_sec_001317c0)()" (parenthesized_expression "(*(code *)PTR_monotonic_sec_001317c0)" ( (pointer_expression "*(code *)PTR_monotonic_sec_001317c0" * (cast_expression "(code *)PTR_monotonic_sec_001317c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "pcVar21 = pcVar21 + (iVar15 - iVar14);" (assignment_expression "pcVar21 = pcVar21 + (iVar15 - iVar14)" identifier = (binary_expression "pcVar21 + (iVar15 - iVar14)" identifier + (parenthesized_expression "(iVar15 - iVar14)" ( (binary_expression "iVar15 - iVar14" identifier - identifier) )))) ;) (if_statement "if ((((iVar12 < 0) || (packet.xid != uStack_2f8)) || (packet.hlen != '\x06')) ||\n       (iVar12 = (*(code *)PTR_memcmp_0013212c)\n                           (packet.chaddr,PTR_bb_common_bufsiz1_0013136c + 0x200,6), iVar12 != 0))\n    goto LAB_000662f4;" if (parenthesized_expression "((((iVar12 < 0) || (packet.xid != uStack_2f8)) || (packet.hlen != '\x06')) ||\n       (iVar12 = (*(code *)PTR_memcmp_0013212c)\n                           (packet.chaddr,PTR_bb_common_bufsiz1_0013136c + 0x200,6), iVar12 != 0))" ( (binary_expression "(((iVar12 < 0) || (packet.xid != uStack_2f8)) || (packet.hlen != '\x06')) ||\n       (iVar12 = (*(code *)PTR_memcmp_0013212c)\n                           (packet.chaddr,PTR_bb_common_bufsiz1_0013136c + 0x200,6), iVar12 != 0)" (parenthesized_expression "(((iVar12 < 0) || (packet.xid != uStack_2f8)) || (packet.hlen != '\x06'))" ( (binary_expression "((iVar12 < 0) || (packet.xid != uStack_2f8)) || (packet.hlen != '\x06')" (parenthesized_expression "((iVar12 < 0) || (packet.xid != uStack_2f8))" ( (binary_expression "(iVar12 < 0) || (packet.xid != uStack_2f8)" (parenthesized_expression "(iVar12 < 0)" ( (binary_expression "iVar12 < 0" identifier < number_literal) )) || (parenthesized_expression "(packet.xid != uStack_2f8)" ( (binary_expression "packet.xid != uStack_2f8" (field_expression "packet.xid" identifier . field_identifier) != identifier) ))) )) || (parenthesized_expression "(packet.hlen != '\x06')" ( (binary_expression "packet.hlen != '\x06'" (field_expression "packet.hlen" identifier . field_identifier) != (char_literal "'\x06'" ' escape_sequence ')) ))) )) || (parenthesized_expression "(iVar12 = (*(code *)PTR_memcmp_0013212c)\n                           (packet.chaddr,PTR_bb_common_bufsiz1_0013136c + 0x200,6), iVar12 != 0)" ( (comma_expression "iVar12 = (*(code *)PTR_memcmp_0013212c)\n                           (packet.chaddr,PTR_bb_common_bufsiz1_0013136c + 0x200,6), iVar12 != 0" (assignment_expression "iVar12 = (*(code *)PTR_memcmp_0013212c)\n                           (packet.chaddr,PTR_bb_common_bufsiz1_0013136c + 0x200,6)" identifier = (call_expression "(*(code *)PTR_memcmp_0013212c)\n                           (packet.chaddr,PTR_bb_common_bufsiz1_0013136c + 0x200,6)" (parenthesized_expression "(*(code *)PTR_memcmp_0013212c)" ( (pointer_expression "*(code *)PTR_memcmp_0013212c" * (cast_expression "(code *)PTR_memcmp_0013212c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(packet.chaddr,PTR_bb_common_bufsiz1_0013136c + 0x200,6)" ( (field_expression "packet.chaddr" identifier . field_identifier) , (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x200" identifier + number_literal) , number_literal )))) , (binary_expression "iVar12 != 0" identifier != number_literal)) ))) )) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;)) (expression_statement "puVar9 = udhcp_get_option(&packet,0x35);" (assignment_expression "puVar9 = udhcp_get_option(&packet,0x35)" identifier = (call_expression "udhcp_get_option(&packet,0x35)" identifier (argument_list "(&packet,0x35)" ( (pointer_expression "&packet" & identifier) , number_literal )))) ;) (expression_statement "uVar6 = server_addr;" (assignment_expression "uVar6 = server_addr" identifier = identifier) ;) (if_statement "if (puVar9 == (uint8_t *)0x0) {\n      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2844);\n      goto LAB_000662f4;\n    }" if (parenthesized_expression "(puVar9 == (uint8_t *)0x0)" ( (binary_expression "puVar9 == (uint8_t *)0x0" identifier == (cast_expression "(uint8_t *)0x0" ( (type_descriptor "uint8_t *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2844);\n      goto LAB_000662f4;\n    }" { (expression_statement "(*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2844);" (call_expression "(*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2844)" (parenthesized_expression "(*(code *)PTR_bb_error_msg_001311d0)" ( (pointer_expression "*(code *)PTR_bb_error_msg_001311d0" * (cast_expression "(code *)PTR_bb_error_msg_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_bdcommands_4__name_4__001311a4 + -0x2844)" ( (binary_expression "PTR_bdcommands_4__name_4__001311a4 + -0x2844" identifier + number_literal) ))) ;) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;) })) (expression_statement "iVar12 = (int)(char)PTR_OptArray_14__flags_00131178[0x23de];" (assignment_expression "iVar12 = (int)(char)PTR_OptArray_14__flags_00131178[0x23de]" identifier = (cast_expression "(int)(char)PTR_OptArray_14__flags_00131178[0x23de]" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)PTR_OptArray_14__flags_00131178[0x23de]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "PTR_OptArray_14__flags_00131178[0x23de]" identifier [ number_literal ])))) ;) (expression_statement "pcVar22 = (char *)0x0;" (assignment_expression "pcVar22 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (iVar12 != 1) {\n      if (iVar12 < 2) {\n        if ((iVar12 == 0) && (*puVar9 == '\x02')) {\n          server_addr = 0;\n          puVar16 = (uint32_t *)udhcp_get_option32(&packet,0x36);\n          if (puVar16 == (uint32_t *)0x0) {\n            (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x281c);\n          }\n          else {\n            server_addr = *puVar16;\n          }\n          PTR_OptArray_14__flags_00131178[0x23de] = 1;\n          pcVar21 = (char *)0x0;\n          requested_ip = packet.yiaddr;\n          unaff_s0 = pcVar22;\n          pcVar23 = pcVar22;\n        }\n        goto LAB_000662f4;\n      }\n      if (2 < (iVar12 - 3U & 0xff)) goto LAB_000662f4;\n    }" if (parenthesized_expression "(iVar12 != 1)" ( (binary_expression "iVar12 != 1" identifier != number_literal) )) (compound_statement "{\n      if (iVar12 < 2) {\n        if ((iVar12 == 0) && (*puVar9 == '\x02')) {\n          server_addr = 0;\n          puVar16 = (uint32_t *)udhcp_get_option32(&packet,0x36);\n          if (puVar16 == (uint32_t *)0x0) {\n            (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x281c);\n          }\n          else {\n            server_addr = *puVar16;\n          }\n          PTR_OptArray_14__flags_00131178[0x23de] = 1;\n          pcVar21 = (char *)0x0;\n          requested_ip = packet.yiaddr;\n          unaff_s0 = pcVar22;\n          pcVar23 = pcVar22;\n        }\n        goto LAB_000662f4;\n      }\n      if (2 < (iVar12 - 3U & 0xff)) goto LAB_000662f4;\n    }" { (if_statement "if (iVar12 < 2) {\n        if ((iVar12 == 0) && (*puVar9 == '\x02')) {\n          server_addr = 0;\n          puVar16 = (uint32_t *)udhcp_get_option32(&packet,0x36);\n          if (puVar16 == (uint32_t *)0x0) {\n            (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x281c);\n          }\n          else {\n            server_addr = *puVar16;\n          }\n          PTR_OptArray_14__flags_00131178[0x23de] = 1;\n          pcVar21 = (char *)0x0;\n          requested_ip = packet.yiaddr;\n          unaff_s0 = pcVar22;\n          pcVar23 = pcVar22;\n        }\n        goto LAB_000662f4;\n      }" if (parenthesized_expression "(iVar12 < 2)" ( (binary_expression "iVar12 < 2" identifier < number_literal) )) (compound_statement "{\n        if ((iVar12 == 0) && (*puVar9 == '\x02')) {\n          server_addr = 0;\n          puVar16 = (uint32_t *)udhcp_get_option32(&packet,0x36);\n          if (puVar16 == (uint32_t *)0x0) {\n            (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x281c);\n          }\n          else {\n            server_addr = *puVar16;\n          }\n          PTR_OptArray_14__flags_00131178[0x23de] = 1;\n          pcVar21 = (char *)0x0;\n          requested_ip = packet.yiaddr;\n          unaff_s0 = pcVar22;\n          pcVar23 = pcVar22;\n        }\n        goto LAB_000662f4;\n      }" { (if_statement "if ((iVar12 == 0) && (*puVar9 == '\x02')) {\n          server_addr = 0;\n          puVar16 = (uint32_t *)udhcp_get_option32(&packet,0x36);\n          if (puVar16 == (uint32_t *)0x0) {\n            (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x281c);\n          }\n          else {\n            server_addr = *puVar16;\n          }\n          PTR_OptArray_14__flags_00131178[0x23de] = 1;\n          pcVar21 = (char *)0x0;\n          requested_ip = packet.yiaddr;\n          unaff_s0 = pcVar22;\n          pcVar23 = pcVar22;\n        }" if (parenthesized_expression "((iVar12 == 0) && (*puVar9 == '\x02'))" ( (binary_expression "(iVar12 == 0) && (*puVar9 == '\x02')" (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) && (parenthesized_expression "(*puVar9 == '\x02')" ( (binary_expression "*puVar9 == '\x02'" (pointer_expression "*puVar9" * identifier) == (char_literal "'\x02'" ' escape_sequence ')) ))) )) (compound_statement "{\n          server_addr = 0;\n          puVar16 = (uint32_t *)udhcp_get_option32(&packet,0x36);\n          if (puVar16 == (uint32_t *)0x0) {\n            (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x281c);\n          }\n          else {\n            server_addr = *puVar16;\n          }\n          PTR_OptArray_14__flags_00131178[0x23de] = 1;\n          pcVar21 = (char *)0x0;\n          requested_ip = packet.yiaddr;\n          unaff_s0 = pcVar22;\n          pcVar23 = pcVar22;\n        }" { (expression_statement "server_addr = 0;" (assignment_expression "server_addr = 0" identifier = number_literal) ;) (expression_statement "puVar16 = (uint32_t *)udhcp_get_option32(&packet,0x36);" (assignment_expression "puVar16 = (uint32_t *)udhcp_get_option32(&packet,0x36)" identifier = (cast_expression "(uint32_t *)udhcp_get_option32(&packet,0x36)" ( (type_descriptor "uint32_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "udhcp_get_option32(&packet,0x36)" identifier (argument_list "(&packet,0x36)" ( (pointer_expression "&packet" & identifier) , number_literal ))))) ;) (if_statement "if (puVar16 == (uint32_t *)0x0) {\n            (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x281c);\n          }\n          else {\n            server_addr = *puVar16;\n          }" if (parenthesized_expression "(puVar16 == (uint32_t *)0x0)" ( (binary_expression "puVar16 == (uint32_t *)0x0" identifier == (cast_expression "(uint32_t *)0x0" ( (type_descriptor "uint32_t *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x281c);\n          }" { (expression_statement "(*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x281c);" (call_expression "(*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x281c)" (parenthesized_expression "(*(code *)PTR_bb_error_msg_001311d0)" ( (pointer_expression "*(code *)PTR_bb_error_msg_001311d0" * (cast_expression "(code *)PTR_bb_error_msg_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_bdcommands_4__name_4__001311a4 + -0x281c)" ( (binary_expression "PTR_bdcommands_4__name_4__001311a4 + -0x281c" identifier + number_literal) ))) ;) }) (else_clause "else {\n            server_addr = *puVar16;\n          }" else (compound_statement "{\n            server_addr = *puVar16;\n          }" { (expression_statement "server_addr = *puVar16;" (assignment_expression "server_addr = *puVar16" identifier = (pointer_expression "*puVar16" * identifier)) ;) }))) (expression_statement "PTR_OptArray_14__flags_00131178[0x23de] = 1;" (assignment_expression "PTR_OptArray_14__flags_00131178[0x23de] = 1" (subscript_expression "PTR_OptArray_14__flags_00131178[0x23de]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pcVar21 = (char *)0x0;" (assignment_expression "pcVar21 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "requested_ip = packet.yiaddr;" (assignment_expression "requested_ip = packet.yiaddr" identifier = (field_expression "packet.yiaddr" identifier . field_identifier)) ;) (expression_statement "unaff_s0 = pcVar22;" (assignment_expression "unaff_s0 = pcVar22" identifier = identifier) ;) (expression_statement "pcVar23 = pcVar22;" (assignment_expression "pcVar23 = pcVar22" identifier = identifier) ;) })) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;) })) (if_statement "if (2 < (iVar12 - 3U & 0xff)) goto LAB_000662f4;" if (parenthesized_expression "(2 < (iVar12 - 3U & 0xff))" ( (binary_expression "2 < (iVar12 - 3U & 0xff)" number_literal < (parenthesized_expression "(iVar12 - 3U & 0xff)" ( (binary_expression "iVar12 - 3U & 0xff" (binary_expression "iVar12 - 3U" identifier - number_literal) & number_literal) ))) )) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;)) })) (if_statement "if (*puVar9 != '\x05') {\n      if ((*puVar9 == '\x06') &&\n         ((server_addr == 0 ||\n          ((puVar16 = (uint32_t *)udhcp_get_option32(&packet,0x36), puVar16 != (uint32_t *)0x0 &&\n           (lease_seconds = *puVar16, uVar6 == lease_seconds)))))) {\n        (*(code *)PTR_bb_error_msg_001311d0)\n                  (PTR_bdcommands_4__name_4__001311a4 + -0x2874,\n                   PTR_bdcommands_4__name_4__001311a4 + -0x2778);\n        (*pcStack_2fc)(&packet,PTR_bdcommands_4__name_4__001311a4 + -0x276c);\n        if (PTR_OptArray_14__flags_00131178[0x23de] != '\x01') {\n          (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);\n        }\n        (*unaff_s7)(2);\n        (*(code *)PTR_sleep_0013211c)(3);\n        PTR_OptArray_14__flags_00131178[0x23de] = 0;\n        puVar20 = PTR_bb_common_bufsiz1_0013136c;\n        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n        puVar20[0x24d] = 0;\n        pcVar21 = (char *)0x0;\n        requested_ip = 0;\n        unaff_s0 = pcVar22;\n        pcVar23 = pcVar22;\n      }\n      goto LAB_000662f4;\n    }" if (parenthesized_expression "(*puVar9 != '\x05')" ( (binary_expression "*puVar9 != '\x05'" (pointer_expression "*puVar9" * identifier) != (char_literal "'\x05'" ' escape_sequence ')) )) (compound_statement "{\n      if ((*puVar9 == '\x06') &&\n         ((server_addr == 0 ||\n          ((puVar16 = (uint32_t *)udhcp_get_option32(&packet,0x36), puVar16 != (uint32_t *)0x0 &&\n           (lease_seconds = *puVar16, uVar6 == lease_seconds)))))) {\n        (*(code *)PTR_bb_error_msg_001311d0)\n                  (PTR_bdcommands_4__name_4__001311a4 + -0x2874,\n                   PTR_bdcommands_4__name_4__001311a4 + -0x2778);\n        (*pcStack_2fc)(&packet,PTR_bdcommands_4__name_4__001311a4 + -0x276c);\n        if (PTR_OptArray_14__flags_00131178[0x23de] != '\x01') {\n          (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);\n        }\n        (*unaff_s7)(2);\n        (*(code *)PTR_sleep_0013211c)(3);\n        PTR_OptArray_14__flags_00131178[0x23de] = 0;\n        puVar20 = PTR_bb_common_bufsiz1_0013136c;\n        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n        puVar20[0x24d] = 0;\n        pcVar21 = (char *)0x0;\n        requested_ip = 0;\n        unaff_s0 = pcVar22;\n        pcVar23 = pcVar22;\n      }\n      goto LAB_000662f4;\n    }" { (if_statement "if ((*puVar9 == '\x06') &&\n         ((server_addr == 0 ||\n          ((puVar16 = (uint32_t *)udhcp_get_option32(&packet,0x36), puVar16 != (uint32_t *)0x0 &&\n           (lease_seconds = *puVar16, uVar6 == lease_seconds)))))) {\n        (*(code *)PTR_bb_error_msg_001311d0)\n                  (PTR_bdcommands_4__name_4__001311a4 + -0x2874,\n                   PTR_bdcommands_4__name_4__001311a4 + -0x2778);\n        (*pcStack_2fc)(&packet,PTR_bdcommands_4__name_4__001311a4 + -0x276c);\n        if (PTR_OptArray_14__flags_00131178[0x23de] != '\x01') {\n          (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);\n        }\n        (*unaff_s7)(2);\n        (*(code *)PTR_sleep_0013211c)(3);\n        PTR_OptArray_14__flags_00131178[0x23de] = 0;\n        puVar20 = PTR_bb_common_bufsiz1_0013136c;\n        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n        puVar20[0x24d] = 0;\n        pcVar21 = (char *)0x0;\n        requested_ip = 0;\n        unaff_s0 = pcVar22;\n        pcVar23 = pcVar22;\n      }" if (parenthesized_expression "((*puVar9 == '\x06') &&\n         ((server_addr == 0 ||\n          ((puVar16 = (uint32_t *)udhcp_get_option32(&packet,0x36), puVar16 != (uint32_t *)0x0 &&\n           (lease_seconds = *puVar16, uVar6 == lease_seconds))))))" ( (binary_expression "(*puVar9 == '\x06') &&\n         ((server_addr == 0 ||\n          ((puVar16 = (uint32_t *)udhcp_get_option32(&packet,0x36), puVar16 != (uint32_t *)0x0 &&\n           (lease_seconds = *puVar16, uVar6 == lease_seconds)))))" (parenthesized_expression "(*puVar9 == '\x06')" ( (binary_expression "*puVar9 == '\x06'" (pointer_expression "*puVar9" * identifier) == (char_literal "'\x06'" ' escape_sequence ')) )) && (parenthesized_expression "((server_addr == 0 ||\n          ((puVar16 = (uint32_t *)udhcp_get_option32(&packet,0x36), puVar16 != (uint32_t *)0x0 &&\n           (lease_seconds = *puVar16, uVar6 == lease_seconds)))))" ( (parenthesized_expression "(server_addr == 0 ||\n          ((puVar16 = (uint32_t *)udhcp_get_option32(&packet,0x36), puVar16 != (uint32_t *)0x0 &&\n           (lease_seconds = *puVar16, uVar6 == lease_seconds))))" ( (binary_expression "server_addr == 0 ||\n          ((puVar16 = (uint32_t *)udhcp_get_option32(&packet,0x36), puVar16 != (uint32_t *)0x0 &&\n           (lease_seconds = *puVar16, uVar6 == lease_seconds)))" (binary_expression "server_addr == 0" identifier == number_literal) || (parenthesized_expression "((puVar16 = (uint32_t *)udhcp_get_option32(&packet,0x36), puVar16 != (uint32_t *)0x0 &&\n           (lease_seconds = *puVar16, uVar6 == lease_seconds)))" ( (parenthesized_expression "(puVar16 = (uint32_t *)udhcp_get_option32(&packet,0x36), puVar16 != (uint32_t *)0x0 &&\n           (lease_seconds = *puVar16, uVar6 == lease_seconds))" ( (comma_expression "puVar16 = (uint32_t *)udhcp_get_option32(&packet,0x36), puVar16 != (uint32_t *)0x0 &&\n           (lease_seconds = *puVar16, uVar6 == lease_seconds)" (assignment_expression "puVar16 = (uint32_t *)udhcp_get_option32(&packet,0x36)" identifier = (cast_expression "(uint32_t *)udhcp_get_option32(&packet,0x36)" ( (type_descriptor "uint32_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "udhcp_get_option32(&packet,0x36)" identifier (argument_list "(&packet,0x36)" ( (pointer_expression "&packet" & identifier) , number_literal ))))) , (binary_expression "puVar16 != (uint32_t *)0x0 &&\n           (lease_seconds = *puVar16, uVar6 == lease_seconds)" (binary_expression "puVar16 != (uint32_t *)0x0" identifier != (cast_expression "(uint32_t *)0x0" ( (type_descriptor "uint32_t *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) && (parenthesized_expression "(lease_seconds = *puVar16, uVar6 == lease_seconds)" ( (comma_expression "lease_seconds = *puVar16, uVar6 == lease_seconds" (assignment_expression "lease_seconds = *puVar16" identifier = (pointer_expression "*puVar16" * identifier)) , (binary_expression "uVar6 == lease_seconds" identifier == identifier)) )))) )) ))) )) ))) )) (compound_statement "{\n        (*(code *)PTR_bb_error_msg_001311d0)\n                  (PTR_bdcommands_4__name_4__001311a4 + -0x2874,\n                   PTR_bdcommands_4__name_4__001311a4 + -0x2778);\n        (*pcStack_2fc)(&packet,PTR_bdcommands_4__name_4__001311a4 + -0x276c);\n        if (PTR_OptArray_14__flags_00131178[0x23de] != '\x01') {\n          (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);\n        }\n        (*unaff_s7)(2);\n        (*(code *)PTR_sleep_0013211c)(3);\n        PTR_OptArray_14__flags_00131178[0x23de] = 0;\n        puVar20 = PTR_bb_common_bufsiz1_0013136c;\n        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n        puVar20[0x24d] = 0;\n        pcVar21 = (char *)0x0;\n        requested_ip = 0;\n        unaff_s0 = pcVar22;\n        pcVar23 = pcVar22;\n      }" { (expression_statement "(*(code *)PTR_bb_error_msg_001311d0)\n                  (PTR_bdcommands_4__name_4__001311a4 + -0x2874,\n                   PTR_bdcommands_4__name_4__001311a4 + -0x2778);" (call_expression "(*(code *)PTR_bb_error_msg_001311d0)\n                  (PTR_bdcommands_4__name_4__001311a4 + -0x2874,\n                   PTR_bdcommands_4__name_4__001311a4 + -0x2778)" (parenthesized_expression "(*(code *)PTR_bb_error_msg_001311d0)" ( (pointer_expression "*(code *)PTR_bb_error_msg_001311d0" * (cast_expression "(code *)PTR_bb_error_msg_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_bdcommands_4__name_4__001311a4 + -0x2874,\n                   PTR_bdcommands_4__name_4__001311a4 + -0x2778)" ( (binary_expression "PTR_bdcommands_4__name_4__001311a4 + -0x2874" identifier + number_literal) , (binary_expression "PTR_bdcommands_4__name_4__001311a4 + -0x2778" identifier + number_literal) ))) ;) (expression_statement "(*pcStack_2fc)(&packet,PTR_bdcommands_4__name_4__001311a4 + -0x276c);" (call_expression "(*pcStack_2fc)(&packet,PTR_bdcommands_4__name_4__001311a4 + -0x276c)" (parenthesized_expression "(*pcStack_2fc)" ( (pointer_expression "*pcStack_2fc" * identifier) )) (argument_list "(&packet,PTR_bdcommands_4__name_4__001311a4 + -0x276c)" ( (pointer_expression "&packet" & identifier) , (binary_expression "PTR_bdcommands_4__name_4__001311a4 + -0x276c" identifier + number_literal) ))) ;) (if_statement "if (PTR_OptArray_14__flags_00131178[0x23de] != '\x01') {\n          (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);\n        }" if (parenthesized_expression "(PTR_OptArray_14__flags_00131178[0x23de] != '\x01')" ( (binary_expression "PTR_OptArray_14__flags_00131178[0x23de] != '\x01'" (subscript_expression "PTR_OptArray_14__flags_00131178[0x23de]" identifier [ number_literal ]) != (char_literal "'\x01'" ' escape_sequence ')) )) (compound_statement "{\n          (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);\n        }" { (expression_statement "(*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);" (call_expression "(*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984)" (parenthesized_expression "(*pcStack_2fc)" ( (pointer_expression "*pcStack_2fc" * identifier) )) (argument_list "(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984)" ( number_literal , (binary_expression "PTR_bdcommands_4__name_4__001311a4 + -0x2984" identifier + number_literal) ))) ;) })) (expression_statement "(*unaff_s7)(2);" (call_expression "(*unaff_s7)(2)" (parenthesized_expression "(*unaff_s7)" ( (pointer_expression "*unaff_s7" * identifier) )) (argument_list "(2)" ( number_literal ))) ;) (expression_statement "(*(code *)PTR_sleep_0013211c)(3);" (call_expression "(*(code *)PTR_sleep_0013211c)(3)" (parenthesized_expression "(*(code *)PTR_sleep_0013211c)" ( (pointer_expression "*(code *)PTR_sleep_0013211c" * (cast_expression "(code *)PTR_sleep_0013211c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3)" ( number_literal ))) ;) (expression_statement "PTR_OptArray_14__flags_00131178[0x23de] = 0;" (assignment_expression "PTR_OptArray_14__flags_00131178[0x23de] = 0" (subscript_expression "PTR_OptArray_14__flags_00131178[0x23de]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar20 = PTR_bb_common_bufsiz1_0013136c;" (assignment_expression "puVar20 = PTR_bb_common_bufsiz1_0013136c" identifier = identifier) ;) (expression_statement "PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;" (assignment_expression "PTR_bb_common_bufsiz1_0013136c[0x24c] = 0" (subscript_expression "PTR_bb_common_bufsiz1_0013136c[0x24c]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar20[0x24d] = 0;" (assignment_expression "puVar20[0x24d] = 0" (subscript_expression "puVar20[0x24d]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pcVar21 = (char *)0x0;" (assignment_expression "pcVar21 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "requested_ip = 0;" (assignment_expression "requested_ip = 0" identifier = number_literal) ;) (expression_statement "unaff_s0 = pcVar22;" (assignment_expression "unaff_s0 = pcVar22" identifier = identifier) ;) (expression_statement "pcVar23 = pcVar22;" (assignment_expression "pcVar23 = pcVar22" identifier = identifier) ;) })) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;) })) (expression_statement "puVar17 = (uint *)udhcp_get_option32(&packet,0x33);" (assignment_expression "puVar17 = (uint *)udhcp_get_option32(&packet,0x33)" identifier = (cast_expression "(uint *)udhcp_get_option32(&packet,0x33)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "udhcp_get_option32(&packet,0x33)" identifier (argument_list "(&packet,0x33)" ( (pointer_expression "&packet" & identifier) , number_literal ))))) ;) (if_statement "if (puVar17 == (uint *)0x0) {\n      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2800);\n      lease_seconds = 0xe10;\n    }\n    else {\n      lease_seconds = *puVar17;\n      if (lease_seconds < 0x7a) {\n        lease_seconds = 0x7a;\n      }\n    }" if (parenthesized_expression "(puVar17 == (uint *)0x0)" ( (binary_expression "puVar17 == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2800);\n      lease_seconds = 0xe10;\n    }" { (expression_statement "(*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2800);" (call_expression "(*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x2800)" (parenthesized_expression "(*(code *)PTR_bb_error_msg_001311d0)" ( (pointer_expression "*(code *)PTR_bb_error_msg_001311d0" * (cast_expression "(code *)PTR_bb_error_msg_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_bdcommands_4__name_4__001311a4 + -0x2800)" ( (binary_expression "PTR_bdcommands_4__name_4__001311a4 + -0x2800" identifier + number_literal) ))) ;) (expression_statement "lease_seconds = 0xe10;" (assignment_expression "lease_seconds = 0xe10" identifier = number_literal) ;) }) (else_clause "else {\n      lease_seconds = *puVar17;\n      if (lease_seconds < 0x7a) {\n        lease_seconds = 0x7a;\n      }\n    }" else (compound_statement "{\n      lease_seconds = *puVar17;\n      if (lease_seconds < 0x7a) {\n        lease_seconds = 0x7a;\n      }\n    }" { (expression_statement "lease_seconds = *puVar17;" (assignment_expression "lease_seconds = *puVar17" identifier = (pointer_expression "*puVar17" * identifier)) ;) (if_statement "if (lease_seconds < 0x7a) {\n        lease_seconds = 0x7a;\n      }" if (parenthesized_expression "(lease_seconds < 0x7a)" ( (binary_expression "lease_seconds < 0x7a" identifier < number_literal) )) (compound_statement "{\n        lease_seconds = 0x7a;\n      }" { (expression_statement "lease_seconds = 0x7a;" (assignment_expression "lease_seconds = 0x7a" identifier = number_literal) ;) })) }))) (if_statement "if (((int)(uVar8 << 9) < 0) &&\n       (iVar12 = arpping(packet.yiaddr,(uint8_t *)0x0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                         *(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c),timeo), iVar12 == 0)) {\n      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x27d4);\n      send_decline(server_addr,packet.yiaddr);\n      if (PTR_OptArray_14__flags_00131178[0x23de] != '\x01') {\n        (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);\n      }\n      (*unaff_s7)(2);\n      PTR_OptArray_14__flags_00131178[0x23de] = 0;\n      puVar20 = PTR_bb_common_bufsiz1_0013136c;\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar20[0x24d] = 0;\n      pcVar21 = (char *)0x0;\n      requested_ip = 0;\n      unaff_s0 = (char *)0x0;\n      pcVar23 = (char *)tryagain_timeout;\n      goto LAB_000662f4;\n    }" if (parenthesized_expression "(((int)(uVar8 << 9) < 0) &&\n       (iVar12 = arpping(packet.yiaddr,(uint8_t *)0x0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                         *(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c),timeo), iVar12 == 0))" ( (binary_expression "((int)(uVar8 << 9) < 0) &&\n       (iVar12 = arpping(packet.yiaddr,(uint8_t *)0x0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                         *(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c),timeo), iVar12 == 0)" (parenthesized_expression "((int)(uVar8 << 9) < 0)" ( (binary_expression "(int)(uVar8 << 9) < 0" (cast_expression "(int)(uVar8 << 9)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar8 << 9)" ( (binary_expression "uVar8 << 9" identifier << number_literal) ))) < number_literal) )) && (parenthesized_expression "(iVar12 = arpping(packet.yiaddr,(uint8_t *)0x0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                         *(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c),timeo), iVar12 == 0)" ( (comma_expression "iVar12 = arpping(packet.yiaddr,(uint8_t *)0x0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                         *(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c),timeo), iVar12 == 0" (assignment_expression "iVar12 = arpping(packet.yiaddr,(uint8_t *)0x0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                         *(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c),timeo)" identifier = (call_expression "arpping(packet.yiaddr,(uint8_t *)0x0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                         *(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c),timeo)" identifier (argument_list "(packet.yiaddr,(uint8_t *)0x0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                         *(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c),timeo)" ( (field_expression "packet.yiaddr" identifier . field_identifier) , (cast_expression "(uint8_t *)0x0" ( (type_descriptor "uint8_t *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , number_literal , (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x200" identifier + number_literal) , (pointer_expression "*(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c)" * (cast_expression "(char **)(PTR_bb_common_bufsiz1_0013136c + 0x22c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x22c)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x22c" identifier + number_literal) )))) , identifier )))) , (binary_expression "iVar12 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x27d4);\n      send_decline(server_addr,packet.yiaddr);\n      if (PTR_OptArray_14__flags_00131178[0x23de] != '\x01') {\n        (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);\n      }\n      (*unaff_s7)(2);\n      PTR_OptArray_14__flags_00131178[0x23de] = 0;\n      puVar20 = PTR_bb_common_bufsiz1_0013136c;\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar20[0x24d] = 0;\n      pcVar21 = (char *)0x0;\n      requested_ip = 0;\n      unaff_s0 = (char *)0x0;\n      pcVar23 = (char *)tryagain_timeout;\n      goto LAB_000662f4;\n    }" { (expression_statement "(*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x27d4);" (call_expression "(*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x27d4)" (parenthesized_expression "(*(code *)PTR_bb_error_msg_001311d0)" ( (pointer_expression "*(code *)PTR_bb_error_msg_001311d0" * (cast_expression "(code *)PTR_bb_error_msg_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_bdcommands_4__name_4__001311a4 + -0x27d4)" ( (binary_expression "PTR_bdcommands_4__name_4__001311a4 + -0x27d4" identifier + number_literal) ))) ;) (expression_statement "send_decline(server_addr,packet.yiaddr);" (call_expression "send_decline(server_addr,packet.yiaddr)" identifier (argument_list "(server_addr,packet.yiaddr)" ( identifier , (field_expression "packet.yiaddr" identifier . field_identifier) ))) ;) (if_statement "if (PTR_OptArray_14__flags_00131178[0x23de] != '\x01') {\n        (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);\n      }" if (parenthesized_expression "(PTR_OptArray_14__flags_00131178[0x23de] != '\x01')" ( (binary_expression "PTR_OptArray_14__flags_00131178[0x23de] != '\x01'" (subscript_expression "PTR_OptArray_14__flags_00131178[0x23de]" identifier [ number_literal ]) != (char_literal "'\x01'" ' escape_sequence ')) )) (compound_statement "{\n        (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);\n      }" { (expression_statement "(*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984);" (call_expression "(*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984)" (parenthesized_expression "(*pcStack_2fc)" ( (pointer_expression "*pcStack_2fc" * identifier) )) (argument_list "(0,PTR_bdcommands_4__name_4__001311a4 + -0x2984)" ( number_literal , (binary_expression "PTR_bdcommands_4__name_4__001311a4 + -0x2984" identifier + number_literal) ))) ;) })) (expression_statement "(*unaff_s7)(2);" (call_expression "(*unaff_s7)(2)" (parenthesized_expression "(*unaff_s7)" ( (pointer_expression "*unaff_s7" * identifier) )) (argument_list "(2)" ( number_literal ))) ;) (expression_statement "PTR_OptArray_14__flags_00131178[0x23de] = 0;" (assignment_expression "PTR_OptArray_14__flags_00131178[0x23de] = 0" (subscript_expression "PTR_OptArray_14__flags_00131178[0x23de]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar20 = PTR_bb_common_bufsiz1_0013136c;" (assignment_expression "puVar20 = PTR_bb_common_bufsiz1_0013136c" identifier = identifier) ;) (expression_statement "PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;" (assignment_expression "PTR_bb_common_bufsiz1_0013136c[0x24c] = 0" (subscript_expression "PTR_bb_common_bufsiz1_0013136c[0x24c]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar20[0x24d] = 0;" (assignment_expression "puVar20[0x24d] = 0" (subscript_expression "puVar20[0x24d]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pcVar21 = (char *)0x0;" (assignment_expression "pcVar21 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "requested_ip = 0;" (assignment_expression "requested_ip = 0" identifier = number_literal) ;) (expression_statement "unaff_s0 = (char *)0x0;" (assignment_expression "unaff_s0 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar23 = (char *)tryagain_timeout;" (assignment_expression "pcVar23 = (char *)tryagain_timeout" identifier = (cast_expression "(char *)tryagain_timeout" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;) })) (expression_statement "uVar11 = (*(code *)PTR_inet_ntoa_00132140)(packet.yiaddr);" (assignment_expression "uVar11 = (*(code *)PTR_inet_ntoa_00132140)(packet.yiaddr)" identifier = (call_expression "(*(code *)PTR_inet_ntoa_00132140)(packet.yiaddr)" (parenthesized_expression "(*(code *)PTR_inet_ntoa_00132140)" ( (pointer_expression "*(code *)PTR_inet_ntoa_00132140" * (cast_expression "(code *)PTR_inet_ntoa_00132140" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(packet.yiaddr)" ( (field_expression "packet.yiaddr" identifier . field_identifier) )))) ;) (expression_statement "uVar6 = lease_seconds;" (assignment_expression "uVar6 = lease_seconds" identifier = identifier) ;) (expression_statement "(*(code *)PTR_bb_error_msg_001311d0)\n              (PTR_bdcommands_4__name_4__001311a4 + -0x279c,uVar11,lease_seconds);" (call_expression "(*(code *)PTR_bb_error_msg_001311d0)\n              (PTR_bdcommands_4__name_4__001311a4 + -0x279c,uVar11,lease_seconds)" (parenthesized_expression "(*(code *)PTR_bb_error_msg_001311d0)" ( (pointer_expression "*(code *)PTR_bb_error_msg_001311d0" * (cast_expression "(code *)PTR_bb_error_msg_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_bdcommands_4__name_4__001311a4 + -0x279c,uVar11,lease_seconds)" ( (binary_expression "PTR_bdcommands_4__name_4__001311a4 + -0x279c" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "requested_ip = packet.yiaddr;" (assignment_expression "requested_ip = packet.yiaddr" identifier = (field_expression "packet.yiaddr" identifier . field_identifier)) ;) (expression_statement "iVar12 = (*(code *)PTR_monotonic_sec_001317c0)();" (assignment_expression "iVar12 = (*(code *)PTR_monotonic_sec_001317c0)()" identifier = (call_expression "(*(code *)PTR_monotonic_sec_001317c0)()" (parenthesized_expression "(*(code *)PTR_monotonic_sec_001317c0)" ( (pointer_expression "*(code *)PTR_monotonic_sec_001317c0" * (cast_expression "(code *)PTR_monotonic_sec_001317c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (PTR_OptArray_14__flags_00131178[0x23de] == '\x01') {\n      puVar20 = PTR_bdcommands_4__name_4__001311a4 + -0x2978;\n    }\n    else {\n      puVar20 = PTR_bdcommands_4__name_4__001311a4 + -0x2884;\n    }" if (parenthesized_expression "(PTR_OptArray_14__flags_00131178[0x23de] == '\x01')" ( (binary_expression "PTR_OptArray_14__flags_00131178[0x23de] == '\x01'" (subscript_expression "PTR_OptArray_14__flags_00131178[0x23de]" identifier [ number_literal ]) == (char_literal "'\x01'" ' escape_sequence ')) )) (compound_statement "{\n      puVar20 = PTR_bdcommands_4__name_4__001311a4 + -0x2978;\n    }" { (expression_statement "puVar20 = PTR_bdcommands_4__name_4__001311a4 + -0x2978;" (assignment_expression "puVar20 = PTR_bdcommands_4__name_4__001311a4 + -0x2978" identifier = (binary_expression "PTR_bdcommands_4__name_4__001311a4 + -0x2978" identifier + number_literal)) ;) }) (else_clause "else {\n      puVar20 = PTR_bdcommands_4__name_4__001311a4 + -0x2884;\n    }" else (compound_statement "{\n      puVar20 = PTR_bdcommands_4__name_4__001311a4 + -0x2884;\n    }" { (expression_statement "puVar20 = PTR_bdcommands_4__name_4__001311a4 + -0x2884;" (assignment_expression "puVar20 = PTR_bdcommands_4__name_4__001311a4 + -0x2884" identifier = (binary_expression "PTR_bdcommands_4__name_4__001311a4 + -0x2884" identifier + number_literal)) ;) }))) (expression_statement "(*pcStack_2fc)(&packet,puVar20);" (call_expression "(*pcStack_2fc)(&packet,puVar20)" (parenthesized_expression "(*pcStack_2fc)" ( (pointer_expression "*pcStack_2fc" * identifier) )) (argument_list "(&packet,puVar20)" ( (pointer_expression "&packet" & identifier) , identifier ))) ;) (expression_statement "iVar14 = (*(code *)PTR_monotonic_sec_001317c0)();" (assignment_expression "iVar14 = (*(code *)PTR_monotonic_sec_001317c0)()" identifier = (call_expression "(*(code *)PTR_monotonic_sec_001317c0)()" (parenthesized_expression "(*(code *)PTR_monotonic_sec_001317c0)" ( (pointer_expression "*(code *)PTR_monotonic_sec_001317c0" * (cast_expression "(code *)PTR_monotonic_sec_001317c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "pcVar21 = (char *)(iVar14 - iVar12);" (assignment_expression "pcVar21 = (char *)(iVar14 - iVar12)" identifier = (cast_expression "(char *)(iVar14 - iVar12)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 - iVar12)" ( (binary_expression "iVar14 - iVar12" identifier - identifier) )))) ;) (expression_statement "pcVar23 = (char *)(uVar6 >> 1);" (assignment_expression "pcVar23 = (char *)(uVar6 >> 1)" identifier = (cast_expression "(char *)(uVar6 >> 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar6 >> 1)" ( (binary_expression "uVar6 >> 1" identifier >> number_literal) )))) ;) (if_statement "if (pcVar23 < pcVar21) {\n      pcVar21 = (char *)0x0;\n      pcVar23 = pcVar22;\n    }" if (parenthesized_expression "(pcVar23 < pcVar21)" ( (binary_expression "pcVar23 < pcVar21" identifier < identifier) )) (compound_statement "{\n      pcVar21 = (char *)0x0;\n      pcVar23 = pcVar22;\n    }" { (expression_statement "pcVar21 = (char *)0x0;" (assignment_expression "pcVar21 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar23 = pcVar22;" (assignment_expression "pcVar23 = pcVar22" identifier = identifier) ;) })) (expression_statement "PTR_OptArray_14__flags_00131178[0x23de] = 2;" (assignment_expression "PTR_OptArray_14__flags_00131178[0x23de] = 2" (subscript_expression "PTR_OptArray_14__flags_00131178[0x23de]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "(*unaff_s7)(0);" (call_expression "(*unaff_s7)(0)" (parenthesized_expression "(*unaff_s7)" ( (pointer_expression "*unaff_s7" * identifier) )) (argument_list "(0)" ( number_literal ))) ;) (if_statement "if ((uVar8 & 0x100) == 0) {\n      if ((int)(uVar8 << 0xc) < 0) {\n        uVar8 = uVar8 & 0xffffffbf;\n      }\n      else {\n        client_background();\n        uVar8 = uVar8 & 0xffd7ffbf | 0x80000;\n      }\n      goto LAB_000662f4;\n    }" if (parenthesized_expression "((uVar8 & 0x100) == 0)" ( (binary_expression "(uVar8 & 0x100) == 0" (parenthesized_expression "(uVar8 & 0x100)" ( (binary_expression "uVar8 & 0x100" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      if ((int)(uVar8 << 0xc) < 0) {\n        uVar8 = uVar8 & 0xffffffbf;\n      }\n      else {\n        client_background();\n        uVar8 = uVar8 & 0xffd7ffbf | 0x80000;\n      }\n      goto LAB_000662f4;\n    }" { (if_statement "if ((int)(uVar8 << 0xc) < 0) {\n        uVar8 = uVar8 & 0xffffffbf;\n      }\n      else {\n        client_background();\n        uVar8 = uVar8 & 0xffd7ffbf | 0x80000;\n      }" if (parenthesized_expression "((int)(uVar8 << 0xc) < 0)" ( (binary_expression "(int)(uVar8 << 0xc) < 0" (cast_expression "(int)(uVar8 << 0xc)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar8 << 0xc)" ( (binary_expression "uVar8 << 0xc" identifier << number_literal) ))) < number_literal) )) (compound_statement "{\n        uVar8 = uVar8 & 0xffffffbf;\n      }" { (expression_statement "uVar8 = uVar8 & 0xffffffbf;" (assignment_expression "uVar8 = uVar8 & 0xffffffbf" identifier = (binary_expression "uVar8 & 0xffffffbf" identifier & number_literal)) ;) }) (else_clause "else {\n        client_background();\n        uVar8 = uVar8 & 0xffd7ffbf | 0x80000;\n      }" else (compound_statement "{\n        client_background();\n        uVar8 = uVar8 & 0xffd7ffbf | 0x80000;\n      }" { (expression_statement "client_background();" (call_expression "client_background()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar8 = uVar8 & 0xffd7ffbf | 0x80000;" (assignment_expression "uVar8 = uVar8 & 0xffd7ffbf | 0x80000" identifier = (binary_expression "uVar8 & 0xffd7ffbf | 0x80000" (binary_expression "uVar8 & 0xffd7ffbf" identifier & number_literal) | number_literal)) ;) }))) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;) })) }))) (labeled_statement "LAB_00066938:\n  uVar8 = uVar8 & 0x200;" statement_identifier : (expression_statement "uVar8 = uVar8 & 0x200;" (assignment_expression "uVar8 = uVar8 & 0x200" identifier = (binary_expression "uVar8 & 0x200" identifier & number_literal)) ;)) (expression_statement "unaff_s0 = pcVar21;" (assignment_expression "unaff_s0 = pcVar21" identifier = identifier) ;) (if_statement "if (uVar8 != 0) {\n    perform_release(server_addr,requested_ip);\n  }" if (parenthesized_expression "(uVar8 != 0)" ( (binary_expression "uVar8 != 0" identifier != number_literal) )) (compound_statement "{\n    perform_release(server_addr,requested_ip);\n  }" { (expression_statement "perform_release(server_addr,requested_ip);" (call_expression "perform_release(server_addr,requested_ip)" identifier (argument_list "(server_addr,requested_ip)" ( identifier , identifier ))) ;) })) (while_statement "while( true ) {\n    if (*PTR_wrote_pidfile_00131434 != '\0') {\n      (*(code *)PTR_unlink_001320a8)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));\n    }\nLAB_0006654c:\n    if (iVar7 == *(int *)PTR___stack_chk_guard_00132164) {\n      return (int)pcVar24;\n    }\n    (*(code *)PTR___stack_chk_fail_001320e4)();\n    if ((int)unaff_s4 < 3) {\n      send_select(uStack_2f8,server_addr,requested_ip);\n      pcVar21 = (char *)0x0;\n      unaff_s0 = unaff_s4 + 1;\n      pcVar23 = (char *)discover_timeout;\n      goto LAB_000662f4;\n    }\n    (*unaff_s7)(2);\n    PTR_OptArray_14__flags_00131178[0x23de] = 0;\n    (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x28f4);\n    if ((int)(uVar8 << 10) < 0) break;\n    if ((uVar8 & 0x40) == 0) goto LAB_00066624;\n    (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x28c8);\n    pcVar24 = &DAT_00000001;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if (*PTR_wrote_pidfile_00131434 != '\0') {\n      (*(code *)PTR_unlink_001320a8)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));\n    }\nLAB_0006654c:\n    if (iVar7 == *(int *)PTR___stack_chk_guard_00132164) {\n      return (int)pcVar24;\n    }\n    (*(code *)PTR___stack_chk_fail_001320e4)();\n    if ((int)unaff_s4 < 3) {\n      send_select(uStack_2f8,server_addr,requested_ip);\n      pcVar21 = (char *)0x0;\n      unaff_s0 = unaff_s4 + 1;\n      pcVar23 = (char *)discover_timeout;\n      goto LAB_000662f4;\n    }\n    (*unaff_s7)(2);\n    PTR_OptArray_14__flags_00131178[0x23de] = 0;\n    (*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x28f4);\n    if ((int)(uVar8 << 10) < 0) break;\n    if ((uVar8 & 0x40) == 0) goto LAB_00066624;\n    (*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x28c8);\n    pcVar24 = &DAT_00000001;\n  }" { (if_statement "if (*PTR_wrote_pidfile_00131434 != '\0') {\n      (*(code *)PTR_unlink_001320a8)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));\n    }" if (parenthesized_expression "(*PTR_wrote_pidfile_00131434 != '\0')" ( (binary_expression "*PTR_wrote_pidfile_00131434 != '\0'" (pointer_expression "*PTR_wrote_pidfile_00131434" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      (*(code *)PTR_unlink_001320a8)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));\n    }" { (expression_statement "(*(code *)PTR_unlink_001320a8)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));" (call_expression "(*(code *)PTR_unlink_001320a8)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230))" (parenthesized_expression "(*(code *)PTR_unlink_001320a8)" ( (pointer_expression "*(code *)PTR_unlink_001320a8" * (cast_expression "(code *)PTR_unlink_001320a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230))" ( (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230)" * (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x230)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x230" identifier + number_literal) )))) ))) ;) })) (labeled_statement "LAB_0006654c:\n    if (iVar7 == *(int *)PTR___stack_chk_guard_00132164) {\n      return (int)pcVar24;\n    }" statement_identifier : (if_statement "if (iVar7 == *(int *)PTR___stack_chk_guard_00132164) {\n      return (int)pcVar24;\n    }" if (parenthesized_expression "(iVar7 == *(int *)PTR___stack_chk_guard_00132164)" ( (binary_expression "iVar7 == *(int *)PTR___stack_chk_guard_00132164" identifier == (pointer_expression "*(int *)PTR___stack_chk_guard_00132164" * (cast_expression "(int *)PTR___stack_chk_guard_00132164" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n      return (int)pcVar24;\n    }" { (return_statement "return (int)pcVar24;" return (cast_expression "(int)pcVar24" ( (type_descriptor "int" primitive_type) ) identifier) ;) }))) (expression_statement "(*(code *)PTR___stack_chk_fail_001320e4)();" (call_expression "(*(code *)PTR___stack_chk_fail_001320e4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_001320e4)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_001320e4" * (cast_expression "(code *)PTR___stack_chk_fail_001320e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if ((int)unaff_s4 < 3) {\n      send_select(uStack_2f8,server_addr,requested_ip);\n      pcVar21 = (char *)0x0;\n      unaff_s0 = unaff_s4 + 1;\n      pcVar23 = (char *)discover_timeout;\n      goto LAB_000662f4;\n    }" if (parenthesized_expression "((int)unaff_s4 < 3)" ( (binary_expression "(int)unaff_s4 < 3" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      send_select(uStack_2f8,server_addr,requested_ip);\n      pcVar21 = (char *)0x0;\n      unaff_s0 = unaff_s4 + 1;\n      pcVar23 = (char *)discover_timeout;\n      goto LAB_000662f4;\n    }" { (expression_statement "send_select(uStack_2f8,server_addr,requested_ip);" (call_expression "send_select(uStack_2f8,server_addr,requested_ip)" identifier (argument_list "(uStack_2f8,server_addr,requested_ip)" ( identifier , identifier , identifier ))) ;) (expression_statement "pcVar21 = (char *)0x0;" (assignment_expression "pcVar21 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "unaff_s0 = unaff_s4 + 1;" (assignment_expression "unaff_s0 = unaff_s4 + 1" identifier = (binary_expression "unaff_s4 + 1" identifier + number_literal)) ;) (expression_statement "pcVar23 = (char *)discover_timeout;" (assignment_expression "pcVar23 = (char *)discover_timeout" identifier = (cast_expression "(char *)discover_timeout" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;) })) (expression_statement "(*unaff_s7)(2);" (call_expression "(*unaff_s7)(2)" (parenthesized_expression "(*unaff_s7)" ( (pointer_expression "*unaff_s7" * identifier) )) (argument_list "(2)" ( number_literal ))) ;) (expression_statement "PTR_OptArray_14__flags_00131178[0x23de] = 0;" (assignment_expression "PTR_OptArray_14__flags_00131178[0x23de] = 0" (subscript_expression "PTR_OptArray_14__flags_00131178[0x23de]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "(*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x28f4);" (call_expression "(*pcStack_2fc)(0,PTR_bdcommands_4__name_4__001311a4 + -0x28f4)" (parenthesized_expression "(*pcStack_2fc)" ( (pointer_expression "*pcStack_2fc" * identifier) )) (argument_list "(0,PTR_bdcommands_4__name_4__001311a4 + -0x28f4)" ( number_literal , (binary_expression "PTR_bdcommands_4__name_4__001311a4 + -0x28f4" identifier + number_literal) ))) ;) (if_statement "if ((int)(uVar8 << 10) < 0) break;" if (parenthesized_expression "((int)(uVar8 << 10) < 0)" ( (binary_expression "(int)(uVar8 << 10) < 0" (cast_expression "(int)(uVar8 << 10)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar8 << 10)" ( (binary_expression "uVar8 << 10" identifier << number_literal) ))) < number_literal) )) (break_statement "break;" break ;)) (if_statement "if ((uVar8 & 0x40) == 0) goto LAB_00066624;" if (parenthesized_expression "((uVar8 & 0x40) == 0)" ( (binary_expression "(uVar8 & 0x40) == 0" (parenthesized_expression "(uVar8 & 0x40)" ( (binary_expression "uVar8 & 0x40" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_00066624;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x28c8);" (call_expression "(*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x28c8)" (parenthesized_expression "(*(code *)PTR_bb_error_msg_001311d0)" ( (pointer_expression "*(code *)PTR_bb_error_msg_001311d0" * (cast_expression "(code *)PTR_bb_error_msg_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_bdcommands_4__name_4__001311a4 + -0x28c8)" ( (binary_expression "PTR_bdcommands_4__name_4__001311a4 + -0x28c8" identifier + number_literal) ))) ;) (expression_statement "pcVar24 = &DAT_00000001;" (assignment_expression "pcVar24 = &DAT_00000001" identifier = (pointer_expression "&DAT_00000001" & identifier)) ;) })) (expression_statement "(*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x28e8);" (call_expression "(*(code *)PTR_bb_error_msg_001311d0)(PTR_bdcommands_4__name_4__001311a4 + -0x28e8)" (parenthesized_expression "(*(code *)PTR_bb_error_msg_001311d0)" ( (pointer_expression "*(code *)PTR_bb_error_msg_001311d0" * (cast_expression "(code *)PTR_bb_error_msg_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_bdcommands_4__name_4__001311a4 + -0x28e8)" ( (binary_expression "PTR_bdcommands_4__name_4__001311a4 + -0x28e8" identifier + number_literal) ))) ;) (expression_statement "client_background();" (call_expression "client_background()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar8 = uVar8 & 0xffd7ffff | 0x80000;" (assignment_expression "uVar8 = uVar8 & 0xffd7ffff | 0x80000" identifier = (binary_expression "uVar8 & 0xffd7ffff | 0x80000" (binary_expression "uVar8 & 0xffd7ffff" identifier & number_literal) | number_literal)) ;) (labeled_statement "LAB_00066624:\n  pcVar21 = (char *)0x0;" statement_identifier : (expression_statement "pcVar21 = (char *)0x0;" (assignment_expression "pcVar21 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (expression_statement "pcVar23 = (char *)tryagain_timeout;" (assignment_expression "pcVar23 = (char *)tryagain_timeout" identifier = (cast_expression "(char *)tryagain_timeout" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;) })))
(translation_unit "undefined1 * FUN_00065d80(undefined4 param_1,undefined4 param_2)\n\n{\n  byte *pbVar1;\n  byte bVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  uint uVar6;\n  undefined4 uVar7;\n  int iVar8;\n  uint uVar9;\n  undefined4 uVar10;\n  int iVar11;\n  undefined1 *puVar12;\n  int iVar13;\n  char *pcVar14;\n  uint *puVar15;\n  uint uVar16;\n  undefined4 extraout_v1;\n  byte *pbVar17;\n  undefined *puVar18;\n  undefined1 *unaff_s0;\n  undefined1 *puVar19;\n  undefined1 *puVar20;\n  undefined1 *puVar21;\n  undefined4 *unaff_s3;\n  undefined1 *unaff_s4;\n  uint uVar22;\n  code *unaff_s7;\n  code *local_2fc;\n  int local_2f8;\n  undefined *local_2f0;\n  code *local_2ec;\n  undefined *local_2e4;\n  char *local_2e0;\n  undefined4 local_2dc;\n  undefined4 local_2d8;\n  undefined4 local_2d4;\n  undefined *local_2d0;\n  int local_2cc;\n  int local_2c8;\n  undefined *local_2c4;\n  undefined *local_2c0;\n  undefined4 local_2bc;\n  uint local_2b8;\n  uint local_2b4;\n  undefined1 auStack_2b0 [14];\n  short local_2a2;\n  undefined1 auStack_2a0 [2];\n  char local_29e;\n  int local_29c;\n  uint local_290;\n  undefined1 auStack_284 [600];\n  int local_2c;\n  \n  puVar18 = PTR_bb_common_bufsiz1_0013136c;\n  local_2c = *(int *)PTR___stack_chk_guard_00132164;\n  local_2d0 = PTR_FUN_001311a4 + -0x2970;\n  local_2cc = 0;\n  local_2c8 = 0;\n  local_2c4 = (undefined1 *)0x14;\n  local_2c0 = (undefined1 *)0x3;\n  local_2bc = 3;\n  *(undefined **)(PTR_bb_common_bufsiz1_0013136c + 0x22c) = PTR_FUN_001311a4 + -0x6598;\n  *(undefined **)(puVar18 + 0x234) = PTR_FUN_001311a4 + -0x2968;\n  local_2e0 = PTR_FUN_001311a4 + -0x294c;\n  uVar6 = (*(code *)PTR_FUN_00131314)\n                    (param_2,PTR_LAB_0013118c + 0x5970,PTR_DAT_001311dc + -0x227c,&local_2e0,\n                     &local_2dc,&local_2dc,&local_2d8,puVar18 + 0x22c,puVar18 + 0x230,&local_2d4,\n                     puVar18 + 0x234,&local_2c0,&local_2bc,&local_2c4,&local_2cc,&local_2c8,\n                     &local_2d0);\n  if ((uVar6 & 0xc) != 0) {\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x293c);\n    uVar7 = FUN_00064458(0xc,local_2dc,0);\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x244) = uVar7;\n  }\n  if ((uVar6 & 0x10) != 0) {\n    iVar8 = FUN_00064458(0x51,local_2d8,3);\n    *(int *)(PTR_bb_common_bufsiz1_0013136c + 0x248) = iVar8;\n    *(undefined1 *)(iVar8 + 2) = 1;\n  }\n  uVar22 = uVar6 & 0x400;\n  if (uVar22 != 0) {\n    uVar22 = (*(code *)PTR_inet_addr_00131d0c)(local_2d4);\n  }\n  uVar7 = (*(code *)PTR_FUN_001313c8)(local_2d0);\n  puVar5 = PTR_FUN_001317ec;\n  puVar4 = PTR_FUN_00131300;\n  puVar3 = PTR_FUN_00131244;\n  puVar18 = PTR_DAT_001311d8;\n  if (local_2cc != 0) {\n    do {\n      unaff_s0 = (undefined1 *)(*(code *)puVar3)(&local_2cc);\n      uVar9 = (*(code *)puVar4)(unaff_s0,0,0);\n      if ((**(int **)puVar18 != 0) || (uVar16 = uVar9 >> 3, 0xfe < uVar9)) {\n        iVar8 = FUN_0006a8c4(unaff_s0,PTR_DAT_001317d8);\n        uVar9 = (uint)(byte)PTR_DAT_001317dc[iVar8 * 2 + 1];\n        uVar16 = (uint)((byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3);\n      }\n      PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c] =\n           (byte)(1 << (uVar9 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c];\n      unaff_s3 = (undefined4 *)puVar4;\n      unaff_s4 = puVar3;\n      unaff_s7 = (code *)puVar5;\n    } while (local_2cc != 0);\n  }\n  puVar18 = PTR_bb_common_bufsiz1_0013136c;\n  if (-1 < (int)(uVar6 << 0xe)) {\n    bVar2 = PTR_DAT_001317dc[1];\n    pbVar17 = PTR_DAT_001317dc;\n    while (bVar2 != 0) {\n      if ((*pbVar17 & 0x10) != 0) {\n        puVar18[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar18[(bVar2 >> 3) + 0x20c];\n      }\n      pbVar1 = pbVar17 + 3;\n      pbVar17 = pbVar17 + 2;\n      bVar2 = *pbVar1;\n    }\n  }\n  puVar3 = PTR_FUN_001312b8;\n  puVar18 = PTR_FUN_00131244;\n  if (local_2c8 != 0) {\n    unaff_s7 = (code *)(PTR_bb_common_bufsiz1_0013136c + 0x238);\n    do {\n      uVar10 = (*(code *)puVar18)(&local_2c8);\n      unaff_s0 = (undefined1 *)(*(code *)puVar3)(uVar10);\n      FUN_0006b074(unaff_s0,unaff_s7,PTR_DAT_001317dc,PTR_DAT_001317d8);\n      (*(code *)PTR_free_00132180)(unaff_s0);\n      unaff_s3 = (undefined4 *)puVar3;\n      unaff_s4 = puVar18;\n    } while (local_2c8 != 0);\n  }\n  iVar8 = FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                       PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                       PTR_bb_common_bufsiz1_0013136c + 0x200);\n  if (iVar8 != 0) {\n    puVar12 = &DAT_00000001;\n    goto LAB_0006654c;\n  }\n  unaff_s3 = (undefined4 *)0x0;\n  if (((uVar6 & 1) == 0) &&\n     (iVar8 = FUN_0006ace8(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x238),0x3d), iVar8 == 0\n     )) {\n    iVar8 = FUN_00064458(0x3d,PTR_FUN_001311a4 + -0x3208,7);\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    *(int *)(PTR_bb_common_bufsiz1_0013136c + 0x23c) = iVar8;\n    *(undefined1 *)(iVar8 + 2) = 1;\n    iVar8 = *(int *)(puVar18 + 0x23c);\n    unaff_s3 = (undefined4 *)(iVar8 + 3);\n    *unaff_s3 = *(undefined4 *)(puVar18 + 0x200);\n    *(undefined *)(iVar8 + 7) = puVar18[0x204];\n    *(undefined *)(iVar8 + 8) = puVar18[0x205];\n  }\n  if (*local_2e0 != '\0') {\n    uVar10 = FUN_00064458(0x3c,local_2e0,0);\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x240) = uVar10;\n  }\n  if ((uVar6 & 0x4000) != 0) {\n    (*(code *)PTR_openlog_00131d98)(*(undefined4 *)PTR_DAT_001311ac,1,0x18);\n    *PTR_DAT_00131250 = *PTR_DAT_00131250 | 2;\n  }\n  (*(code *)PTR_FUN_001316b8)();\n  (*(code *)PTR_FUN_00131440)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));\n  (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2908);\n  FUN_00069ff0();\n  (*(code *)PTR_FUN_001312bc)();\n  (*(code *)PTR_srand_00131f84)(extraout_v1);\n  PTR_DAT_00131178[0x23de] = 0;\n  FUN_00065590(0,PTR_FUN_001311a4 + -0x2984);\n  FUN_00064d8c(2);\n  puVar19 = (undefined1 *)0x0;\n  local_2f0 = PTR_DAT_00131178;\n  unaff_s7 = (code *)(PTR_LAB_00131738 + 0x4d8c);\n  local_2e4 = PTR_FUN_001311a4;\n  local_2fc = (code *)(PTR_LAB_00131738 + 0x5590);\n  local_2ec = (code *)(PTR_LAB_00131738 + 0x496c);\n  puVar12 = (undefined1 *)0x0;\n  unaff_s0 = puVar12;\n  puVar21 = puVar12;\nLAB_000662f4:\n  puVar20 = puVar21;\n  unaff_s4 = unaff_s0;\n  FUN_0006a0c0(auStack_2b0,*(undefined4 *)(local_2f0 + 0x1004));\n  iVar8 = (int)puVar20 - (int)puVar19;\n  unaff_s0 = unaff_s4;\n  if (iVar8 < 1) {\nLAB_00066418:\n    puVar19 = (undefined1 *)\n              FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                           PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                           PTR_bb_common_bufsiz1_0013136c + 0x200);\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    if (puVar19 == (undefined1 *)0x0) {\n      if (unaff_s3 != (undefined4 *)0x0) {\n        *unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);\n        *(undefined *)(unaff_s3 + 1) = puVar18[0x204];\n        *(undefined *)((int)unaff_s3 + 5) = puVar18[0x205];\n      }\n      if ((byte)PTR_DAT_00131178[0x23de] < 6) {\n                    \n                    \n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))\n                            ();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n  }\n  else {\n    iVar11 = (*(code *)PTR_FUN_001317c0)();\n    if (iVar8 < 0x20c49b) {\n      iVar8 = iVar8 * 1000;\n    }\n    else {\n      iVar8 = 0x7fffffff;\n    }\n    iVar8 = (*(code *)PTR_poll_00132060)(auStack_2b0,2,iVar8);\n    puVar21 = puVar20;\n    if (iVar8 < 0) {\n      if (**(int **)PTR_DAT_001311d8 != 4) {\n        iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x5488);\n        goto LAB_00066410;\n      }\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }\nLAB_00066410:\n    if (iVar8 == 0) goto LAB_00066418;\n    iVar8 = FUN_0006a140();\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    if (iVar8 == 0x10) {\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2894);\n      bVar2 = PTR_DAT_00131178[0x23de];\n      if (bVar2 < 7) {\n                    \n                    \n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = puVar12;\n      puVar21 = puVar12;\n      if (bVar2 == 5) {\n        if ((int)puVar20 < 0x3d) {\n          if (0x3b < (int)puVar20) goto LAB_0006666c;\n        }\n        else {\n          puVar20 = (undefined1 *)0x3c;\nLAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);\n          puVar19 = (undefined1 *)0x0;\n          if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }\n        }\n        PTR_DAT_00131178[0x23de] = 4;\n        (*unaff_s7)(2);\n        if ((int)puVar20 < 1) {\n          (*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4);\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n          PTR_DAT_00131178[0x23de] = 0;\n          puVar18 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar18[0x24d] = 0;\n          puVar19 = (undefined1 *)0x0;\n          puVar21 = puVar20;\n        }\n        else {\n          (*local_2ec)(local_2f8,0);\n          puVar19 = (undefined1 *)0x0;\n          unaff_s0 = unaff_s4;\n          puVar21 = (undefined1 *)((int)puVar20 >> 1);\n        }\n      }\n      goto LAB_000662f4;\n    }\n    if (iVar8 == 0x11) {\n      FUN_00065bb0(local_2b8,uVar22);\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n    if (iVar8 == 0xf) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x287c);\n      goto LAB_00066938;\n    }\n    if (local_2a2 == 0) goto LAB_000662f4;\n    if (PTR_DAT_00131178[0x23df] == '\x01') {\n      iVar8 = FUN_00069990(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }\n    else {\n      iVar8 = FUN_00064ae0(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }\n    if (iVar8 == -1) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2868);\n      (*(code *)PTR_sleep_0013211c)(local_2c0);\n      (*unaff_s7)((int)(char)PTR_DAT_00131178[0x23df]);\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }\n    iVar13 = (*(code *)PTR_FUN_001317c0)();\n    puVar19 = puVar19 + (iVar13 - iVar11);\n    if ((((iVar8 < 0) || (local_29c != local_2f8)) || (local_29e != '\x06')) ||\n       (iVar8 = (*(code *)PTR_memcmp_0013212c)(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)\n       , iVar8 != 0)) goto LAB_000662f4;\n    pcVar14 = (char *)FUN_0006a9b8(auStack_2a0,0x35);\n    uVar9 = local_2b8;\n    if (pcVar14 == (char *)0x0) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2844);\n      goto LAB_000662f4;\n    }\n    iVar8 = (int)(char)PTR_DAT_00131178[0x23de];\n    puVar20 = (undefined1 *)0x0;\n    if (iVar8 != 1) {\n      if (iVar8 < 2) {\n        if ((iVar8 == 0) && (*pcVar14 == '\x02')) {\n          local_2b8 = 0;\n          puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36);\n          if (puVar15 == (uint *)0x0) {\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }\n          else {\n            local_2b8 = *puVar15;\n          }\n          PTR_DAT_00131178[0x23de] = 1;\n          puVar19 = (undefined1 *)0x0;\n          uVar22 = local_290;\n          unaff_s0 = puVar20;\n          puVar21 = puVar20;\n        }\n        goto LAB_000662f4;\n      }\n      if (2 < (iVar8 - 3U & 0xff)) goto LAB_000662f4;\n    }\n    if (*pcVar14 != '\x05') {\n      if ((*pcVar14 == '\x06') &&\n         ((local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)))))) {\n        (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x2778);\n        (*local_2fc)(auStack_2a0,PTR_FUN_001311a4 + -0x276c);\n        if (PTR_DAT_00131178[0x23de] != '\x01') {\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n        }\n        (*unaff_s7)(2);\n        (*(code *)PTR_sleep_0013211c)(3);\n        PTR_DAT_00131178[0x23de] = 0;\n        puVar18 = PTR_bb_common_bufsiz1_0013136c;\n        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n        puVar18[0x24d] = 0;\n        puVar19 = (undefined1 *)0x0;\n        uVar22 = 0;\n        unaff_s0 = puVar20;\n        puVar21 = puVar20;\n      }\n      goto LAB_000662f4;\n    }\n    puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x33);\n    if (puVar15 == (uint *)0x0) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2800);\n      local_2b4 = 0xe10;\n    }\n    else {\n      local_2b4 = *puVar15;\n      if (local_2b4 < 0x7a) {\n        local_2b4 = 0x7a;\n      }\n    }\n    if (((int)(uVar6 << 9) < 0) &&\n       (iVar8 = FUN_0006a564(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7),\n       iVar8 == 0)) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x27d4);\n      FUN_00064864(local_2b8,local_290);\n      if (PTR_DAT_00131178[0x23de] != '\x01') {\n        (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n      }\n      (*unaff_s7)(2);\n      PTR_DAT_00131178[0x23de] = 0;\n      puVar18 = PTR_bb_common_bufsiz1_0013136c;\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      puVar19 = (undefined1 *)0x0;\n      uVar22 = 0;\n      unaff_s0 = (undefined1 *)0x0;\n      puVar21 = local_2c4;\n      goto LAB_000662f4;\n    }\n    uVar10 = (*(code *)PTR_inet_ntoa_00132140)(local_290);\n    uVar9 = local_2b4;\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x279c,uVar10,local_2b4);\n    uVar22 = local_290;\n    iVar8 = (*(code *)PTR_FUN_001317c0)();\n    if (PTR_DAT_00131178[0x23de] == '\x01') {\n      puVar18 = PTR_FUN_001311a4 + -0x2978;\n    }\n    else {\n      puVar18 = PTR_FUN_001311a4 + -0x2884;\n    }\n    (*local_2fc)(auStack_2a0,puVar18);\n    iVar11 = (*(code *)PTR_FUN_001317c0)();\n    puVar19 = (undefined1 *)(iVar11 - iVar8);\n    puVar21 = (undefined1 *)(uVar9 >> 1);\n    if (puVar21 < puVar19) {\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = puVar20;\n    }\n    PTR_DAT_00131178[0x23de] = 2;\n    (*unaff_s7)(0);\n    if ((uVar6 & 0x100) == 0) {\n      if ((int)(uVar6 << 0xc) < 0) {\n        uVar6 = uVar6 & 0xffffffbf;\n      }\n      else {\n        FUN_000643f4();\n        uVar6 = uVar6 & 0xffd7ffbf | 0x80000;\n      }\n      goto LAB_000662f4;\n    }\n  }\nLAB_00066938:\n  uVar6 = uVar6 & 0x200;\n  unaff_s0 = puVar19;\n  if (uVar6 != 0) {\n    FUN_00065bb0(local_2b8,uVar22);\n  }\n  while( true ) {\n    if (*PTR_DAT_00131434 != '\0') {\n      (*(code *)PTR_unlink_001320a8)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));\n    }\nLAB_0006654c:\n    if (local_2c == *(int *)PTR___stack_chk_guard_00132164) {\n      return puVar12;\n    }\n    (*(code *)PTR___stack_chk_fail_001320e4)();\n    if ((int)unaff_s4 < 3) {\n      FUN_00064724(local_2f8,local_2b8);\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = unaff_s4 + 1;\n      puVar21 = local_2c0;\n      goto LAB_000662f4;\n    }\n    (*unaff_s7)(2);\n    PTR_DAT_00131178[0x23de] = 0;\n    (*local_2fc)(0,PTR_FUN_001311a4 + -0x28f4);\n    if ((int)(uVar6 << 10) < 0) break;\n    if ((uVar6 & 0x40) == 0) goto LAB_00066624;\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x28c8);\n    puVar12 = &DAT_00000001;\n  }\n  (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x28e8);\n  FUN_000643f4();\n  uVar6 = uVar6 & 0xffd7ffff | 0x80000;\nLAB_00066624:\n  puVar19 = (undefined1 *)0x0;\n  puVar21 = local_2c4;\n  goto LAB_000662f4;\n}\n\n" (function_definition "undefined1 * FUN_00065d80(undefined4 param_1,undefined4 param_2)\n\n{\n  byte *pbVar1;\n  byte bVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  uint uVar6;\n  undefined4 uVar7;\n  int iVar8;\n  uint uVar9;\n  undefined4 uVar10;\n  int iVar11;\n  undefined1 *puVar12;\n  int iVar13;\n  char *pcVar14;\n  uint *puVar15;\n  uint uVar16;\n  undefined4 extraout_v1;\n  byte *pbVar17;\n  undefined *puVar18;\n  undefined1 *unaff_s0;\n  undefined1 *puVar19;\n  undefined1 *puVar20;\n  undefined1 *puVar21;\n  undefined4 *unaff_s3;\n  undefined1 *unaff_s4;\n  uint uVar22;\n  code *unaff_s7;\n  code *local_2fc;\n  int local_2f8;\n  undefined *local_2f0;\n  code *local_2ec;\n  undefined *local_2e4;\n  char *local_2e0;\n  undefined4 local_2dc;\n  undefined4 local_2d8;\n  undefined4 local_2d4;\n  undefined *local_2d0;\n  int local_2cc;\n  int local_2c8;\n  undefined *local_2c4;\n  undefined *local_2c0;\n  undefined4 local_2bc;\n  uint local_2b8;\n  uint local_2b4;\n  undefined1 auStack_2b0 [14];\n  short local_2a2;\n  undefined1 auStack_2a0 [2];\n  char local_29e;\n  int local_29c;\n  uint local_290;\n  undefined1 auStack_284 [600];\n  int local_2c;\n  \n  puVar18 = PTR_bb_common_bufsiz1_0013136c;\n  local_2c = *(int *)PTR___stack_chk_guard_00132164;\n  local_2d0 = PTR_FUN_001311a4 + -0x2970;\n  local_2cc = 0;\n  local_2c8 = 0;\n  local_2c4 = (undefined1 *)0x14;\n  local_2c0 = (undefined1 *)0x3;\n  local_2bc = 3;\n  *(undefined **)(PTR_bb_common_bufsiz1_0013136c + 0x22c) = PTR_FUN_001311a4 + -0x6598;\n  *(undefined **)(puVar18 + 0x234) = PTR_FUN_001311a4 + -0x2968;\n  local_2e0 = PTR_FUN_001311a4 + -0x294c;\n  uVar6 = (*(code *)PTR_FUN_00131314)\n                    (param_2,PTR_LAB_0013118c + 0x5970,PTR_DAT_001311dc + -0x227c,&local_2e0,\n                     &local_2dc,&local_2dc,&local_2d8,puVar18 + 0x22c,puVar18 + 0x230,&local_2d4,\n                     puVar18 + 0x234,&local_2c0,&local_2bc,&local_2c4,&local_2cc,&local_2c8,\n                     &local_2d0);\n  if ((uVar6 & 0xc) != 0) {\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x293c);\n    uVar7 = FUN_00064458(0xc,local_2dc,0);\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x244) = uVar7;\n  }\n  if ((uVar6 & 0x10) != 0) {\n    iVar8 = FUN_00064458(0x51,local_2d8,3);\n    *(int *)(PTR_bb_common_bufsiz1_0013136c + 0x248) = iVar8;\n    *(undefined1 *)(iVar8 + 2) = 1;\n  }\n  uVar22 = uVar6 & 0x400;\n  if (uVar22 != 0) {\n    uVar22 = (*(code *)PTR_inet_addr_00131d0c)(local_2d4);\n  }\n  uVar7 = (*(code *)PTR_FUN_001313c8)(local_2d0);\n  puVar5 = PTR_FUN_001317ec;\n  puVar4 = PTR_FUN_00131300;\n  puVar3 = PTR_FUN_00131244;\n  puVar18 = PTR_DAT_001311d8;\n  if (local_2cc != 0) {\n    do {\n      unaff_s0 = (undefined1 *)(*(code *)puVar3)(&local_2cc);\n      uVar9 = (*(code *)puVar4)(unaff_s0,0,0);\n      if ((**(int **)puVar18 != 0) || (uVar16 = uVar9 >> 3, 0xfe < uVar9)) {\n        iVar8 = FUN_0006a8c4(unaff_s0,PTR_DAT_001317d8);\n        uVar9 = (uint)(byte)PTR_DAT_001317dc[iVar8 * 2 + 1];\n        uVar16 = (uint)((byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3);\n      }\n      PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c] =\n           (byte)(1 << (uVar9 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c];\n      unaff_s3 = (undefined4 *)puVar4;\n      unaff_s4 = puVar3;\n      unaff_s7 = (code *)puVar5;\n    } while (local_2cc != 0);\n  }\n  puVar18 = PTR_bb_common_bufsiz1_0013136c;\n  if (-1 < (int)(uVar6 << 0xe)) {\n    bVar2 = PTR_DAT_001317dc[1];\n    pbVar17 = PTR_DAT_001317dc;\n    while (bVar2 != 0) {\n      if ((*pbVar17 & 0x10) != 0) {\n        puVar18[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar18[(bVar2 >> 3) + 0x20c];\n      }\n      pbVar1 = pbVar17 + 3;\n      pbVar17 = pbVar17 + 2;\n      bVar2 = *pbVar1;\n    }\n  }\n  puVar3 = PTR_FUN_001312b8;\n  puVar18 = PTR_FUN_00131244;\n  if (local_2c8 != 0) {\n    unaff_s7 = (code *)(PTR_bb_common_bufsiz1_0013136c + 0x238);\n    do {\n      uVar10 = (*(code *)puVar18)(&local_2c8);\n      unaff_s0 = (undefined1 *)(*(code *)puVar3)(uVar10);\n      FUN_0006b074(unaff_s0,unaff_s7,PTR_DAT_001317dc,PTR_DAT_001317d8);\n      (*(code *)PTR_free_00132180)(unaff_s0);\n      unaff_s3 = (undefined4 *)puVar3;\n      unaff_s4 = puVar18;\n    } while (local_2c8 != 0);\n  }\n  iVar8 = FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                       PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                       PTR_bb_common_bufsiz1_0013136c + 0x200);\n  if (iVar8 != 0) {\n    puVar12 = &DAT_00000001;\n    goto LAB_0006654c;\n  }\n  unaff_s3 = (undefined4 *)0x0;\n  if (((uVar6 & 1) == 0) &&\n     (iVar8 = FUN_0006ace8(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x238),0x3d), iVar8 == 0\n     )) {\n    iVar8 = FUN_00064458(0x3d,PTR_FUN_001311a4 + -0x3208,7);\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    *(int *)(PTR_bb_common_bufsiz1_0013136c + 0x23c) = iVar8;\n    *(undefined1 *)(iVar8 + 2) = 1;\n    iVar8 = *(int *)(puVar18 + 0x23c);\n    unaff_s3 = (undefined4 *)(iVar8 + 3);\n    *unaff_s3 = *(undefined4 *)(puVar18 + 0x200);\n    *(undefined *)(iVar8 + 7) = puVar18[0x204];\n    *(undefined *)(iVar8 + 8) = puVar18[0x205];\n  }\n  if (*local_2e0 != '\0') {\n    uVar10 = FUN_00064458(0x3c,local_2e0,0);\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x240) = uVar10;\n  }\n  if ((uVar6 & 0x4000) != 0) {\n    (*(code *)PTR_openlog_00131d98)(*(undefined4 *)PTR_DAT_001311ac,1,0x18);\n    *PTR_DAT_00131250 = *PTR_DAT_00131250 | 2;\n  }\n  (*(code *)PTR_FUN_001316b8)();\n  (*(code *)PTR_FUN_00131440)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));\n  (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2908);\n  FUN_00069ff0();\n  (*(code *)PTR_FUN_001312bc)();\n  (*(code *)PTR_srand_00131f84)(extraout_v1);\n  PTR_DAT_00131178[0x23de] = 0;\n  FUN_00065590(0,PTR_FUN_001311a4 + -0x2984);\n  FUN_00064d8c(2);\n  puVar19 = (undefined1 *)0x0;\n  local_2f0 = PTR_DAT_00131178;\n  unaff_s7 = (code *)(PTR_LAB_00131738 + 0x4d8c);\n  local_2e4 = PTR_FUN_001311a4;\n  local_2fc = (code *)(PTR_LAB_00131738 + 0x5590);\n  local_2ec = (code *)(PTR_LAB_00131738 + 0x496c);\n  puVar12 = (undefined1 *)0x0;\n  unaff_s0 = puVar12;\n  puVar21 = puVar12;\nLAB_000662f4:\n  puVar20 = puVar21;\n  unaff_s4 = unaff_s0;\n  FUN_0006a0c0(auStack_2b0,*(undefined4 *)(local_2f0 + 0x1004));\n  iVar8 = (int)puVar20 - (int)puVar19;\n  unaff_s0 = unaff_s4;\n  if (iVar8 < 1) {\nLAB_00066418:\n    puVar19 = (undefined1 *)\n              FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                           PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                           PTR_bb_common_bufsiz1_0013136c + 0x200);\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    if (puVar19 == (undefined1 *)0x0) {\n      if (unaff_s3 != (undefined4 *)0x0) {\n        *unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);\n        *(undefined *)(unaff_s3 + 1) = puVar18[0x204];\n        *(undefined *)((int)unaff_s3 + 5) = puVar18[0x205];\n      }\n      if ((byte)PTR_DAT_00131178[0x23de] < 6) {\n                    \n                    \n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))\n                            ();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n  }\n  else {\n    iVar11 = (*(code *)PTR_FUN_001317c0)();\n    if (iVar8 < 0x20c49b) {\n      iVar8 = iVar8 * 1000;\n    }\n    else {\n      iVar8 = 0x7fffffff;\n    }\n    iVar8 = (*(code *)PTR_poll_00132060)(auStack_2b0,2,iVar8);\n    puVar21 = puVar20;\n    if (iVar8 < 0) {\n      if (**(int **)PTR_DAT_001311d8 != 4) {\n        iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x5488);\n        goto LAB_00066410;\n      }\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }\nLAB_00066410:\n    if (iVar8 == 0) goto LAB_00066418;\n    iVar8 = FUN_0006a140();\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    if (iVar8 == 0x10) {\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2894);\n      bVar2 = PTR_DAT_00131178[0x23de];\n      if (bVar2 < 7) {\n                    \n                    \n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = puVar12;\n      puVar21 = puVar12;\n      if (bVar2 == 5) {\n        if ((int)puVar20 < 0x3d) {\n          if (0x3b < (int)puVar20) goto LAB_0006666c;\n        }\n        else {\n          puVar20 = (undefined1 *)0x3c;\nLAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);\n          puVar19 = (undefined1 *)0x0;\n          if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }\n        }\n        PTR_DAT_00131178[0x23de] = 4;\n        (*unaff_s7)(2);\n        if ((int)puVar20 < 1) {\n          (*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4);\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n          PTR_DAT_00131178[0x23de] = 0;\n          puVar18 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar18[0x24d] = 0;\n          puVar19 = (undefined1 *)0x0;\n          puVar21 = puVar20;\n        }\n        else {\n          (*local_2ec)(local_2f8,0);\n          puVar19 = (undefined1 *)0x0;\n          unaff_s0 = unaff_s4;\n          puVar21 = (undefined1 *)((int)puVar20 >> 1);\n        }\n      }\n      goto LAB_000662f4;\n    }\n    if (iVar8 == 0x11) {\n      FUN_00065bb0(local_2b8,uVar22);\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n    if (iVar8 == 0xf) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x287c);\n      goto LAB_00066938;\n    }\n    if (local_2a2 == 0) goto LAB_000662f4;\n    if (PTR_DAT_00131178[0x23df] == '\x01') {\n      iVar8 = FUN_00069990(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }\n    else {\n      iVar8 = FUN_00064ae0(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }\n    if (iVar8 == -1) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2868);\n      (*(code *)PTR_sleep_0013211c)(local_2c0);\n      (*unaff_s7)((int)(char)PTR_DAT_00131178[0x23df]);\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }\n    iVar13 = (*(code *)PTR_FUN_001317c0)();\n    puVar19 = puVar19 + (iVar13 - iVar11);\n    if ((((iVar8 < 0) || (local_29c != local_2f8)) || (local_29e != '\x06')) ||\n       (iVar8 = (*(code *)PTR_memcmp_0013212c)(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)\n       , iVar8 != 0)) goto LAB_000662f4;\n    pcVar14 = (char *)FUN_0006a9b8(auStack_2a0,0x35);\n    uVar9 = local_2b8;\n    if (pcVar14 == (char *)0x0) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2844);\n      goto LAB_000662f4;\n    }\n    iVar8 = (int)(char)PTR_DAT_00131178[0x23de];\n    puVar20 = (undefined1 *)0x0;\n    if (iVar8 != 1) {\n      if (iVar8 < 2) {\n        if ((iVar8 == 0) && (*pcVar14 == '\x02')) {\n          local_2b8 = 0;\n          puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36);\n          if (puVar15 == (uint *)0x0) {\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }\n          else {\n            local_2b8 = *puVar15;\n          }\n          PTR_DAT_00131178[0x23de] = 1;\n          puVar19 = (undefined1 *)0x0;\n          uVar22 = local_290;\n          unaff_s0 = puVar20;\n          puVar21 = puVar20;\n        }\n        goto LAB_000662f4;\n      }\n      if (2 < (iVar8 - 3U & 0xff)) goto LAB_000662f4;\n    }\n    if (*pcVar14 != '\x05') {\n      if ((*pcVar14 == '\x06') &&\n         ((local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)))))) {\n        (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x2778);\n        (*local_2fc)(auStack_2a0,PTR_FUN_001311a4 + -0x276c);\n        if (PTR_DAT_00131178[0x23de] != '\x01') {\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n        }\n        (*unaff_s7)(2);\n        (*(code *)PTR_sleep_0013211c)(3);\n        PTR_DAT_00131178[0x23de] = 0;\n        puVar18 = PTR_bb_common_bufsiz1_0013136c;\n        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n        puVar18[0x24d] = 0;\n        puVar19 = (undefined1 *)0x0;\n        uVar22 = 0;\n        unaff_s0 = puVar20;\n        puVar21 = puVar20;\n      }\n      goto LAB_000662f4;\n    }\n    puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x33);\n    if (puVar15 == (uint *)0x0) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2800);\n      local_2b4 = 0xe10;\n    }\n    else {\n      local_2b4 = *puVar15;\n      if (local_2b4 < 0x7a) {\n        local_2b4 = 0x7a;\n      }\n    }\n    if (((int)(uVar6 << 9) < 0) &&\n       (iVar8 = FUN_0006a564(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7),\n       iVar8 == 0)) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x27d4);\n      FUN_00064864(local_2b8,local_290);\n      if (PTR_DAT_00131178[0x23de] != '\x01') {\n        (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n      }\n      (*unaff_s7)(2);\n      PTR_DAT_00131178[0x23de] = 0;\n      puVar18 = PTR_bb_common_bufsiz1_0013136c;\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      puVar19 = (undefined1 *)0x0;\n      uVar22 = 0;\n      unaff_s0 = (undefined1 *)0x0;\n      puVar21 = local_2c4;\n      goto LAB_000662f4;\n    }\n    uVar10 = (*(code *)PTR_inet_ntoa_00132140)(local_290);\n    uVar9 = local_2b4;\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x279c,uVar10,local_2b4);\n    uVar22 = local_290;\n    iVar8 = (*(code *)PTR_FUN_001317c0)();\n    if (PTR_DAT_00131178[0x23de] == '\x01') {\n      puVar18 = PTR_FUN_001311a4 + -0x2978;\n    }\n    else {\n      puVar18 = PTR_FUN_001311a4 + -0x2884;\n    }\n    (*local_2fc)(auStack_2a0,puVar18);\n    iVar11 = (*(code *)PTR_FUN_001317c0)();\n    puVar19 = (undefined1 *)(iVar11 - iVar8);\n    puVar21 = (undefined1 *)(uVar9 >> 1);\n    if (puVar21 < puVar19) {\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = puVar20;\n    }\n    PTR_DAT_00131178[0x23de] = 2;\n    (*unaff_s7)(0);\n    if ((uVar6 & 0x100) == 0) {\n      if ((int)(uVar6 << 0xc) < 0) {\n        uVar6 = uVar6 & 0xffffffbf;\n      }\n      else {\n        FUN_000643f4();\n        uVar6 = uVar6 & 0xffd7ffbf | 0x80000;\n      }\n      goto LAB_000662f4;\n    }\n  }\nLAB_00066938:\n  uVar6 = uVar6 & 0x200;\n  unaff_s0 = puVar19;\n  if (uVar6 != 0) {\n    FUN_00065bb0(local_2b8,uVar22);\n  }\n  while( true ) {\n    if (*PTR_DAT_00131434 != '\0') {\n      (*(code *)PTR_unlink_001320a8)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));\n    }\nLAB_0006654c:\n    if (local_2c == *(int *)PTR___stack_chk_guard_00132164) {\n      return puVar12;\n    }\n    (*(code *)PTR___stack_chk_fail_001320e4)();\n    if ((int)unaff_s4 < 3) {\n      FUN_00064724(local_2f8,local_2b8);\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = unaff_s4 + 1;\n      puVar21 = local_2c0;\n      goto LAB_000662f4;\n    }\n    (*unaff_s7)(2);\n    PTR_DAT_00131178[0x23de] = 0;\n    (*local_2fc)(0,PTR_FUN_001311a4 + -0x28f4);\n    if ((int)(uVar6 << 10) < 0) break;\n    if ((uVar6 & 0x40) == 0) goto LAB_00066624;\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x28c8);\n    puVar12 = &DAT_00000001;\n  }\n  (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x28e8);\n  FUN_000643f4();\n  uVar6 = uVar6 & 0xffd7ffff | 0x80000;\nLAB_00066624:\n  puVar19 = (undefined1 *)0x0;\n  puVar21 = local_2c4;\n  goto LAB_000662f4;\n}" type_identifier (pointer_declarator "* FUN_00065d80(undefined4 param_1,undefined4 param_2)" * (function_declarator "FUN_00065d80(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) )))) (compound_statement "{\n  byte *pbVar1;\n  byte bVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  uint uVar6;\n  undefined4 uVar7;\n  int iVar8;\n  uint uVar9;\n  undefined4 uVar10;\n  int iVar11;\n  undefined1 *puVar12;\n  int iVar13;\n  char *pcVar14;\n  uint *puVar15;\n  uint uVar16;\n  undefined4 extraout_v1;\n  byte *pbVar17;\n  undefined *puVar18;\n  undefined1 *unaff_s0;\n  undefined1 *puVar19;\n  undefined1 *puVar20;\n  undefined1 *puVar21;\n  undefined4 *unaff_s3;\n  undefined1 *unaff_s4;\n  uint uVar22;\n  code *unaff_s7;\n  code *local_2fc;\n  int local_2f8;\n  undefined *local_2f0;\n  code *local_2ec;\n  undefined *local_2e4;\n  char *local_2e0;\n  undefined4 local_2dc;\n  undefined4 local_2d8;\n  undefined4 local_2d4;\n  undefined *local_2d0;\n  int local_2cc;\n  int local_2c8;\n  undefined *local_2c4;\n  undefined *local_2c0;\n  undefined4 local_2bc;\n  uint local_2b8;\n  uint local_2b4;\n  undefined1 auStack_2b0 [14];\n  short local_2a2;\n  undefined1 auStack_2a0 [2];\n  char local_29e;\n  int local_29c;\n  uint local_290;\n  undefined1 auStack_284 [600];\n  int local_2c;\n  \n  puVar18 = PTR_bb_common_bufsiz1_0013136c;\n  local_2c = *(int *)PTR___stack_chk_guard_00132164;\n  local_2d0 = PTR_FUN_001311a4 + -0x2970;\n  local_2cc = 0;\n  local_2c8 = 0;\n  local_2c4 = (undefined1 *)0x14;\n  local_2c0 = (undefined1 *)0x3;\n  local_2bc = 3;\n  *(undefined **)(PTR_bb_common_bufsiz1_0013136c + 0x22c) = PTR_FUN_001311a4 + -0x6598;\n  *(undefined **)(puVar18 + 0x234) = PTR_FUN_001311a4 + -0x2968;\n  local_2e0 = PTR_FUN_001311a4 + -0x294c;\n  uVar6 = (*(code *)PTR_FUN_00131314)\n                    (param_2,PTR_LAB_0013118c + 0x5970,PTR_DAT_001311dc + -0x227c,&local_2e0,\n                     &local_2dc,&local_2dc,&local_2d8,puVar18 + 0x22c,puVar18 + 0x230,&local_2d4,\n                     puVar18 + 0x234,&local_2c0,&local_2bc,&local_2c4,&local_2cc,&local_2c8,\n                     &local_2d0);\n  if ((uVar6 & 0xc) != 0) {\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x293c);\n    uVar7 = FUN_00064458(0xc,local_2dc,0);\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x244) = uVar7;\n  }\n  if ((uVar6 & 0x10) != 0) {\n    iVar8 = FUN_00064458(0x51,local_2d8,3);\n    *(int *)(PTR_bb_common_bufsiz1_0013136c + 0x248) = iVar8;\n    *(undefined1 *)(iVar8 + 2) = 1;\n  }\n  uVar22 = uVar6 & 0x400;\n  if (uVar22 != 0) {\n    uVar22 = (*(code *)PTR_inet_addr_00131d0c)(local_2d4);\n  }\n  uVar7 = (*(code *)PTR_FUN_001313c8)(local_2d0);\n  puVar5 = PTR_FUN_001317ec;\n  puVar4 = PTR_FUN_00131300;\n  puVar3 = PTR_FUN_00131244;\n  puVar18 = PTR_DAT_001311d8;\n  if (local_2cc != 0) {\n    do {\n      unaff_s0 = (undefined1 *)(*(code *)puVar3)(&local_2cc);\n      uVar9 = (*(code *)puVar4)(unaff_s0,0,0);\n      if ((**(int **)puVar18 != 0) || (uVar16 = uVar9 >> 3, 0xfe < uVar9)) {\n        iVar8 = FUN_0006a8c4(unaff_s0,PTR_DAT_001317d8);\n        uVar9 = (uint)(byte)PTR_DAT_001317dc[iVar8 * 2 + 1];\n        uVar16 = (uint)((byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3);\n      }\n      PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c] =\n           (byte)(1 << (uVar9 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c];\n      unaff_s3 = (undefined4 *)puVar4;\n      unaff_s4 = puVar3;\n      unaff_s7 = (code *)puVar5;\n    } while (local_2cc != 0);\n  }\n  puVar18 = PTR_bb_common_bufsiz1_0013136c;\n  if (-1 < (int)(uVar6 << 0xe)) {\n    bVar2 = PTR_DAT_001317dc[1];\n    pbVar17 = PTR_DAT_001317dc;\n    while (bVar2 != 0) {\n      if ((*pbVar17 & 0x10) != 0) {\n        puVar18[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar18[(bVar2 >> 3) + 0x20c];\n      }\n      pbVar1 = pbVar17 + 3;\n      pbVar17 = pbVar17 + 2;\n      bVar2 = *pbVar1;\n    }\n  }\n  puVar3 = PTR_FUN_001312b8;\n  puVar18 = PTR_FUN_00131244;\n  if (local_2c8 != 0) {\n    unaff_s7 = (code *)(PTR_bb_common_bufsiz1_0013136c + 0x238);\n    do {\n      uVar10 = (*(code *)puVar18)(&local_2c8);\n      unaff_s0 = (undefined1 *)(*(code *)puVar3)(uVar10);\n      FUN_0006b074(unaff_s0,unaff_s7,PTR_DAT_001317dc,PTR_DAT_001317d8);\n      (*(code *)PTR_free_00132180)(unaff_s0);\n      unaff_s3 = (undefined4 *)puVar3;\n      unaff_s4 = puVar18;\n    } while (local_2c8 != 0);\n  }\n  iVar8 = FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                       PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                       PTR_bb_common_bufsiz1_0013136c + 0x200);\n  if (iVar8 != 0) {\n    puVar12 = &DAT_00000001;\n    goto LAB_0006654c;\n  }\n  unaff_s3 = (undefined4 *)0x0;\n  if (((uVar6 & 1) == 0) &&\n     (iVar8 = FUN_0006ace8(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x238),0x3d), iVar8 == 0\n     )) {\n    iVar8 = FUN_00064458(0x3d,PTR_FUN_001311a4 + -0x3208,7);\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    *(int *)(PTR_bb_common_bufsiz1_0013136c + 0x23c) = iVar8;\n    *(undefined1 *)(iVar8 + 2) = 1;\n    iVar8 = *(int *)(puVar18 + 0x23c);\n    unaff_s3 = (undefined4 *)(iVar8 + 3);\n    *unaff_s3 = *(undefined4 *)(puVar18 + 0x200);\n    *(undefined *)(iVar8 + 7) = puVar18[0x204];\n    *(undefined *)(iVar8 + 8) = puVar18[0x205];\n  }\n  if (*local_2e0 != '\0') {\n    uVar10 = FUN_00064458(0x3c,local_2e0,0);\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x240) = uVar10;\n  }\n  if ((uVar6 & 0x4000) != 0) {\n    (*(code *)PTR_openlog_00131d98)(*(undefined4 *)PTR_DAT_001311ac,1,0x18);\n    *PTR_DAT_00131250 = *PTR_DAT_00131250 | 2;\n  }\n  (*(code *)PTR_FUN_001316b8)();\n  (*(code *)PTR_FUN_00131440)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));\n  (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2908);\n  FUN_00069ff0();\n  (*(code *)PTR_FUN_001312bc)();\n  (*(code *)PTR_srand_00131f84)(extraout_v1);\n  PTR_DAT_00131178[0x23de] = 0;\n  FUN_00065590(0,PTR_FUN_001311a4 + -0x2984);\n  FUN_00064d8c(2);\n  puVar19 = (undefined1 *)0x0;\n  local_2f0 = PTR_DAT_00131178;\n  unaff_s7 = (code *)(PTR_LAB_00131738 + 0x4d8c);\n  local_2e4 = PTR_FUN_001311a4;\n  local_2fc = (code *)(PTR_LAB_00131738 + 0x5590);\n  local_2ec = (code *)(PTR_LAB_00131738 + 0x496c);\n  puVar12 = (undefined1 *)0x0;\n  unaff_s0 = puVar12;\n  puVar21 = puVar12;\nLAB_000662f4:\n  puVar20 = puVar21;\n  unaff_s4 = unaff_s0;\n  FUN_0006a0c0(auStack_2b0,*(undefined4 *)(local_2f0 + 0x1004));\n  iVar8 = (int)puVar20 - (int)puVar19;\n  unaff_s0 = unaff_s4;\n  if (iVar8 < 1) {\nLAB_00066418:\n    puVar19 = (undefined1 *)\n              FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                           PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                           PTR_bb_common_bufsiz1_0013136c + 0x200);\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    if (puVar19 == (undefined1 *)0x0) {\n      if (unaff_s3 != (undefined4 *)0x0) {\n        *unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);\n        *(undefined *)(unaff_s3 + 1) = puVar18[0x204];\n        *(undefined *)((int)unaff_s3 + 5) = puVar18[0x205];\n      }\n      if ((byte)PTR_DAT_00131178[0x23de] < 6) {\n                    \n                    \n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))\n                            ();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n  }\n  else {\n    iVar11 = (*(code *)PTR_FUN_001317c0)();\n    if (iVar8 < 0x20c49b) {\n      iVar8 = iVar8 * 1000;\n    }\n    else {\n      iVar8 = 0x7fffffff;\n    }\n    iVar8 = (*(code *)PTR_poll_00132060)(auStack_2b0,2,iVar8);\n    puVar21 = puVar20;\n    if (iVar8 < 0) {\n      if (**(int **)PTR_DAT_001311d8 != 4) {\n        iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x5488);\n        goto LAB_00066410;\n      }\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }\nLAB_00066410:\n    if (iVar8 == 0) goto LAB_00066418;\n    iVar8 = FUN_0006a140();\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    if (iVar8 == 0x10) {\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2894);\n      bVar2 = PTR_DAT_00131178[0x23de];\n      if (bVar2 < 7) {\n                    \n                    \n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = puVar12;\n      puVar21 = puVar12;\n      if (bVar2 == 5) {\n        if ((int)puVar20 < 0x3d) {\n          if (0x3b < (int)puVar20) goto LAB_0006666c;\n        }\n        else {\n          puVar20 = (undefined1 *)0x3c;\nLAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);\n          puVar19 = (undefined1 *)0x0;\n          if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }\n        }\n        PTR_DAT_00131178[0x23de] = 4;\n        (*unaff_s7)(2);\n        if ((int)puVar20 < 1) {\n          (*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4);\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n          PTR_DAT_00131178[0x23de] = 0;\n          puVar18 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar18[0x24d] = 0;\n          puVar19 = (undefined1 *)0x0;\n          puVar21 = puVar20;\n        }\n        else {\n          (*local_2ec)(local_2f8,0);\n          puVar19 = (undefined1 *)0x0;\n          unaff_s0 = unaff_s4;\n          puVar21 = (undefined1 *)((int)puVar20 >> 1);\n        }\n      }\n      goto LAB_000662f4;\n    }\n    if (iVar8 == 0x11) {\n      FUN_00065bb0(local_2b8,uVar22);\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n    if (iVar8 == 0xf) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x287c);\n      goto LAB_00066938;\n    }\n    if (local_2a2 == 0) goto LAB_000662f4;\n    if (PTR_DAT_00131178[0x23df] == '\x01') {\n      iVar8 = FUN_00069990(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }\n    else {\n      iVar8 = FUN_00064ae0(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }\n    if (iVar8 == -1) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2868);\n      (*(code *)PTR_sleep_0013211c)(local_2c0);\n      (*unaff_s7)((int)(char)PTR_DAT_00131178[0x23df]);\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }\n    iVar13 = (*(code *)PTR_FUN_001317c0)();\n    puVar19 = puVar19 + (iVar13 - iVar11);\n    if ((((iVar8 < 0) || (local_29c != local_2f8)) || (local_29e != '\x06')) ||\n       (iVar8 = (*(code *)PTR_memcmp_0013212c)(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)\n       , iVar8 != 0)) goto LAB_000662f4;\n    pcVar14 = (char *)FUN_0006a9b8(auStack_2a0,0x35);\n    uVar9 = local_2b8;\n    if (pcVar14 == (char *)0x0) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2844);\n      goto LAB_000662f4;\n    }\n    iVar8 = (int)(char)PTR_DAT_00131178[0x23de];\n    puVar20 = (undefined1 *)0x0;\n    if (iVar8 != 1) {\n      if (iVar8 < 2) {\n        if ((iVar8 == 0) && (*pcVar14 == '\x02')) {\n          local_2b8 = 0;\n          puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36);\n          if (puVar15 == (uint *)0x0) {\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }\n          else {\n            local_2b8 = *puVar15;\n          }\n          PTR_DAT_00131178[0x23de] = 1;\n          puVar19 = (undefined1 *)0x0;\n          uVar22 = local_290;\n          unaff_s0 = puVar20;\n          puVar21 = puVar20;\n        }\n        goto LAB_000662f4;\n      }\n      if (2 < (iVar8 - 3U & 0xff)) goto LAB_000662f4;\n    }\n    if (*pcVar14 != '\x05') {\n      if ((*pcVar14 == '\x06') &&\n         ((local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)))))) {\n        (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x2778);\n        (*local_2fc)(auStack_2a0,PTR_FUN_001311a4 + -0x276c);\n        if (PTR_DAT_00131178[0x23de] != '\x01') {\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n        }\n        (*unaff_s7)(2);\n        (*(code *)PTR_sleep_0013211c)(3);\n        PTR_DAT_00131178[0x23de] = 0;\n        puVar18 = PTR_bb_common_bufsiz1_0013136c;\n        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n        puVar18[0x24d] = 0;\n        puVar19 = (undefined1 *)0x0;\n        uVar22 = 0;\n        unaff_s0 = puVar20;\n        puVar21 = puVar20;\n      }\n      goto LAB_000662f4;\n    }\n    puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x33);\n    if (puVar15 == (uint *)0x0) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2800);\n      local_2b4 = 0xe10;\n    }\n    else {\n      local_2b4 = *puVar15;\n      if (local_2b4 < 0x7a) {\n        local_2b4 = 0x7a;\n      }\n    }\n    if (((int)(uVar6 << 9) < 0) &&\n       (iVar8 = FUN_0006a564(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7),\n       iVar8 == 0)) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x27d4);\n      FUN_00064864(local_2b8,local_290);\n      if (PTR_DAT_00131178[0x23de] != '\x01') {\n        (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n      }\n      (*unaff_s7)(2);\n      PTR_DAT_00131178[0x23de] = 0;\n      puVar18 = PTR_bb_common_bufsiz1_0013136c;\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      puVar19 = (undefined1 *)0x0;\n      uVar22 = 0;\n      unaff_s0 = (undefined1 *)0x0;\n      puVar21 = local_2c4;\n      goto LAB_000662f4;\n    }\n    uVar10 = (*(code *)PTR_inet_ntoa_00132140)(local_290);\n    uVar9 = local_2b4;\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x279c,uVar10,local_2b4);\n    uVar22 = local_290;\n    iVar8 = (*(code *)PTR_FUN_001317c0)();\n    if (PTR_DAT_00131178[0x23de] == '\x01') {\n      puVar18 = PTR_FUN_001311a4 + -0x2978;\n    }\n    else {\n      puVar18 = PTR_FUN_001311a4 + -0x2884;\n    }\n    (*local_2fc)(auStack_2a0,puVar18);\n    iVar11 = (*(code *)PTR_FUN_001317c0)();\n    puVar19 = (undefined1 *)(iVar11 - iVar8);\n    puVar21 = (undefined1 *)(uVar9 >> 1);\n    if (puVar21 < puVar19) {\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = puVar20;\n    }\n    PTR_DAT_00131178[0x23de] = 2;\n    (*unaff_s7)(0);\n    if ((uVar6 & 0x100) == 0) {\n      if ((int)(uVar6 << 0xc) < 0) {\n        uVar6 = uVar6 & 0xffffffbf;\n      }\n      else {\n        FUN_000643f4();\n        uVar6 = uVar6 & 0xffd7ffbf | 0x80000;\n      }\n      goto LAB_000662f4;\n    }\n  }\nLAB_00066938:\n  uVar6 = uVar6 & 0x200;\n  unaff_s0 = puVar19;\n  if (uVar6 != 0) {\n    FUN_00065bb0(local_2b8,uVar22);\n  }\n  while( true ) {\n    if (*PTR_DAT_00131434 != '\0') {\n      (*(code *)PTR_unlink_001320a8)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));\n    }\nLAB_0006654c:\n    if (local_2c == *(int *)PTR___stack_chk_guard_00132164) {\n      return puVar12;\n    }\n    (*(code *)PTR___stack_chk_fail_001320e4)();\n    if ((int)unaff_s4 < 3) {\n      FUN_00064724(local_2f8,local_2b8);\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = unaff_s4 + 1;\n      puVar21 = local_2c0;\n      goto LAB_000662f4;\n    }\n    (*unaff_s7)(2);\n    PTR_DAT_00131178[0x23de] = 0;\n    (*local_2fc)(0,PTR_FUN_001311a4 + -0x28f4);\n    if ((int)(uVar6 << 10) < 0) break;\n    if ((uVar6 & 0x40) == 0) goto LAB_00066624;\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x28c8);\n    puVar12 = &DAT_00000001;\n  }\n  (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x28e8);\n  FUN_000643f4();\n  uVar6 = uVar6 & 0xffd7ffff | 0x80000;\nLAB_00066624:\n  puVar19 = (undefined1 *)0x0;\n  puVar21 = local_2c4;\n  goto LAB_000662f4;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "undefined1 *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "char *pcVar14;" primitive_type (pointer_declarator "*pcVar14" * identifier) ;) (declaration "uint *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "uint uVar16;" type_identifier identifier ;) (declaration "undefined4 extraout_v1;" type_identifier identifier ;) (declaration "byte *pbVar17;" type_identifier (pointer_declarator "*pbVar17" * identifier) ;) (declaration "undefined *puVar18;" type_identifier (pointer_declarator "*puVar18" * identifier) ;) (declaration "undefined1 *unaff_s0;" type_identifier (pointer_declarator "*unaff_s0" * identifier) ;) (declaration "undefined1 *puVar19;" type_identifier (pointer_declarator "*puVar19" * identifier) ;) (declaration "undefined1 *puVar20;" type_identifier (pointer_declarator "*puVar20" * identifier) ;) (declaration "undefined1 *puVar21;" type_identifier (pointer_declarator "*puVar21" * identifier) ;) (declaration "undefined4 *unaff_s3;" type_identifier (pointer_declarator "*unaff_s3" * identifier) ;) (declaration "undefined1 *unaff_s4;" type_identifier (pointer_declarator "*unaff_s4" * identifier) ;) (declaration "uint uVar22;" type_identifier identifier ;) (declaration "code *unaff_s7;" type_identifier (pointer_declarator "*unaff_s7" * identifier) ;) (declaration "code *local_2fc;" type_identifier (pointer_declarator "*local_2fc" * identifier) ;) (declaration "int local_2f8;" primitive_type identifier ;) (declaration "undefined *local_2f0;" type_identifier (pointer_declarator "*local_2f0" * identifier) ;) (declaration "code *local_2ec;" type_identifier (pointer_declarator "*local_2ec" * identifier) ;) (declaration "undefined *local_2e4;" type_identifier (pointer_declarator "*local_2e4" * identifier) ;) (declaration "char *local_2e0;" primitive_type (pointer_declarator "*local_2e0" * identifier) ;) (declaration "undefined4 local_2dc;" type_identifier identifier ;) (declaration "undefined4 local_2d8;" type_identifier identifier ;) (declaration "undefined4 local_2d4;" type_identifier identifier ;) (declaration "undefined *local_2d0;" type_identifier (pointer_declarator "*local_2d0" * identifier) ;) (declaration "int local_2cc;" primitive_type identifier ;) (declaration "int local_2c8;" primitive_type identifier ;) (declaration "undefined *local_2c4;" type_identifier (pointer_declarator "*local_2c4" * identifier) ;) (declaration "undefined *local_2c0;" type_identifier (pointer_declarator "*local_2c0" * identifier) ;) (declaration "undefined4 local_2bc;" type_identifier identifier ;) (declaration "uint local_2b8;" type_identifier identifier ;) (declaration "uint local_2b4;" type_identifier identifier ;) (declaration "undefined1 auStack_2b0 [14];" type_identifier (array_declarator "auStack_2b0 [14]" identifier [ number_literal ]) ;) (declaration "short local_2a2;" (sized_type_specifier "short" short) identifier ;) (declaration "undefined1 auStack_2a0 [2];" type_identifier (array_declarator "auStack_2a0 [2]" identifier [ number_literal ]) ;) (declaration "char local_29e;" primitive_type identifier ;) (declaration "int local_29c;" primitive_type identifier ;) (declaration "uint local_290;" type_identifier identifier ;) (declaration "undefined1 auStack_284 [600];" type_identifier (array_declarator "auStack_284 [600]" identifier [ number_literal ]) ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar18 = PTR_bb_common_bufsiz1_0013136c;" (assignment_expression "puVar18 = PTR_bb_common_bufsiz1_0013136c" identifier = identifier) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_00132164;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_00132164" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00132164" * (cast_expression "(int *)PTR___stack_chk_guard_00132164" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "local_2d0 = PTR_FUN_001311a4 + -0x2970;" (assignment_expression "local_2d0 = PTR_FUN_001311a4 + -0x2970" identifier = (binary_expression "PTR_FUN_001311a4 + -0x2970" identifier + number_literal)) ;) (expression_statement "local_2cc = 0;" (assignment_expression "local_2cc = 0" identifier = number_literal) ;) (expression_statement "local_2c8 = 0;" (assignment_expression "local_2c8 = 0" identifier = number_literal) ;) (expression_statement "local_2c4 = (undefined1 *)0x14;" (assignment_expression "local_2c4 = (undefined1 *)0x14" identifier = (cast_expression "(undefined1 *)0x14" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_2c0 = (undefined1 *)0x3;" (assignment_expression "local_2c0 = (undefined1 *)0x3" identifier = (cast_expression "(undefined1 *)0x3" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_2bc = 3;" (assignment_expression "local_2bc = 3" identifier = number_literal) ;) (expression_statement "*(undefined **)(PTR_bb_common_bufsiz1_0013136c + 0x22c) = PTR_FUN_001311a4 + -0x6598;" (assignment_expression "*(undefined **)(PTR_bb_common_bufsiz1_0013136c + 0x22c) = PTR_FUN_001311a4 + -0x6598" (pointer_expression "*(undefined **)(PTR_bb_common_bufsiz1_0013136c + 0x22c)" * (cast_expression "(undefined **)(PTR_bb_common_bufsiz1_0013136c + 0x22c)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x22c)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x22c" identifier + number_literal) )))) = (binary_expression "PTR_FUN_001311a4 + -0x6598" identifier + number_literal)) ;) (expression_statement "*(undefined **)(puVar18 + 0x234) = PTR_FUN_001311a4 + -0x2968;" (assignment_expression "*(undefined **)(puVar18 + 0x234) = PTR_FUN_001311a4 + -0x2968" (pointer_expression "*(undefined **)(puVar18 + 0x234)" * (cast_expression "(undefined **)(puVar18 + 0x234)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar18 + 0x234)" ( (binary_expression "puVar18 + 0x234" identifier + number_literal) )))) = (binary_expression "PTR_FUN_001311a4 + -0x2968" identifier + number_literal)) ;) (expression_statement "local_2e0 = PTR_FUN_001311a4 + -0x294c;" (assignment_expression "local_2e0 = PTR_FUN_001311a4 + -0x294c" identifier = (binary_expression "PTR_FUN_001311a4 + -0x294c" identifier + number_literal)) ;) (expression_statement "uVar6 = (*(code *)PTR_FUN_00131314)\n                    (param_2,PTR_LAB_0013118c + 0x5970,PTR_DAT_001311dc + -0x227c,&local_2e0,\n                     &local_2dc,&local_2dc,&local_2d8,puVar18 + 0x22c,puVar18 + 0x230,&local_2d4,\n                     puVar18 + 0x234,&local_2c0,&local_2bc,&local_2c4,&local_2cc,&local_2c8,\n                     &local_2d0);" (assignment_expression "uVar6 = (*(code *)PTR_FUN_00131314)\n                    (param_2,PTR_LAB_0013118c + 0x5970,PTR_DAT_001311dc + -0x227c,&local_2e0,\n                     &local_2dc,&local_2dc,&local_2d8,puVar18 + 0x22c,puVar18 + 0x230,&local_2d4,\n                     puVar18 + 0x234,&local_2c0,&local_2bc,&local_2c4,&local_2cc,&local_2c8,\n                     &local_2d0)" identifier = (call_expression "(*(code *)PTR_FUN_00131314)\n                    (param_2,PTR_LAB_0013118c + 0x5970,PTR_DAT_001311dc + -0x227c,&local_2e0,\n                     &local_2dc,&local_2dc,&local_2d8,puVar18 + 0x22c,puVar18 + 0x230,&local_2d4,\n                     puVar18 + 0x234,&local_2c0,&local_2bc,&local_2c4,&local_2cc,&local_2c8,\n                     &local_2d0)" (parenthesized_expression "(*(code *)PTR_FUN_00131314)" ( (pointer_expression "*(code *)PTR_FUN_00131314" * (cast_expression "(code *)PTR_FUN_00131314" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,PTR_LAB_0013118c + 0x5970,PTR_DAT_001311dc + -0x227c,&local_2e0,\n                     &local_2dc,&local_2dc,&local_2d8,puVar18 + 0x22c,puVar18 + 0x230,&local_2d4,\n                     puVar18 + 0x234,&local_2c0,&local_2bc,&local_2c4,&local_2cc,&local_2c8,\n                     &local_2d0)" ( identifier , (binary_expression "PTR_LAB_0013118c + 0x5970" identifier + number_literal) , (binary_expression "PTR_DAT_001311dc + -0x227c" identifier + number_literal) , (pointer_expression "&local_2e0" & identifier) , (pointer_expression "&local_2dc" & identifier) , (pointer_expression "&local_2dc" & identifier) , (pointer_expression "&local_2d8" & identifier) , (binary_expression "puVar18 + 0x22c" identifier + number_literal) , (binary_expression "puVar18 + 0x230" identifier + number_literal) , (pointer_expression "&local_2d4" & identifier) , (binary_expression "puVar18 + 0x234" identifier + number_literal) , (pointer_expression "&local_2c0" & identifier) , (pointer_expression "&local_2bc" & identifier) , (pointer_expression "&local_2c4" & identifier) , (pointer_expression "&local_2cc" & identifier) , (pointer_expression "&local_2c8" & identifier) , (pointer_expression "&local_2d0" & identifier) )))) ;) (if_statement "if ((uVar6 & 0xc) != 0) {\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x293c);\n    uVar7 = FUN_00064458(0xc,local_2dc,0);\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x244) = uVar7;\n  }" if (parenthesized_expression "((uVar6 & 0xc) != 0)" ( (binary_expression "(uVar6 & 0xc) != 0" (parenthesized_expression "(uVar6 & 0xc)" ( (binary_expression "uVar6 & 0xc" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x293c);\n    uVar7 = FUN_00064458(0xc,local_2dc,0);\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x244) = uVar7;\n  }" { (expression_statement "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x293c);" (call_expression "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x293c)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" ( (pointer_expression "*(code *)PTR_FUN_001311d0" * (cast_expression "(code *)PTR_FUN_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_FUN_001311a4 + -0x293c)" ( (binary_expression "PTR_FUN_001311a4 + -0x293c" identifier + number_literal) ))) ;) (expression_statement "uVar7 = FUN_00064458(0xc,local_2dc,0);" (assignment_expression "uVar7 = FUN_00064458(0xc,local_2dc,0)" identifier = (call_expression "FUN_00064458(0xc,local_2dc,0)" identifier (argument_list "(0xc,local_2dc,0)" ( number_literal , identifier , number_literal )))) ;) (expression_statement "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x244) = uVar7;" (assignment_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x244) = uVar7" (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x244)" * (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x244)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x244)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x244" identifier + number_literal) )))) = identifier) ;) })) (if_statement "if ((uVar6 & 0x10) != 0) {\n    iVar8 = FUN_00064458(0x51,local_2d8,3);\n    *(int *)(PTR_bb_common_bufsiz1_0013136c + 0x248) = iVar8;\n    *(undefined1 *)(iVar8 + 2) = 1;\n  }" if (parenthesized_expression "((uVar6 & 0x10) != 0)" ( (binary_expression "(uVar6 & 0x10) != 0" (parenthesized_expression "(uVar6 & 0x10)" ( (binary_expression "uVar6 & 0x10" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    iVar8 = FUN_00064458(0x51,local_2d8,3);\n    *(int *)(PTR_bb_common_bufsiz1_0013136c + 0x248) = iVar8;\n    *(undefined1 *)(iVar8 + 2) = 1;\n  }" { (expression_statement "iVar8 = FUN_00064458(0x51,local_2d8,3);" (assignment_expression "iVar8 = FUN_00064458(0x51,local_2d8,3)" identifier = (call_expression "FUN_00064458(0x51,local_2d8,3)" identifier (argument_list "(0x51,local_2d8,3)" ( number_literal , identifier , number_literal )))) ;) (expression_statement "*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x248) = iVar8;" (assignment_expression "*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x248) = iVar8" (pointer_expression "*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x248)" * (cast_expression "(int *)(PTR_bb_common_bufsiz1_0013136c + 0x248)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x248)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x248" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 *)(iVar8 + 2) = 1;" (assignment_expression "*(undefined1 *)(iVar8 + 2) = 1" (pointer_expression "*(undefined1 *)(iVar8 + 2)" * (cast_expression "(undefined1 *)(iVar8 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 2)" ( (binary_expression "iVar8 + 2" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "uVar22 = uVar6 & 0x400;" (assignment_expression "uVar22 = uVar6 & 0x400" identifier = (binary_expression "uVar6 & 0x400" identifier & number_literal)) ;) (if_statement "if (uVar22 != 0) {\n    uVar22 = (*(code *)PTR_inet_addr_00131d0c)(local_2d4);\n  }" if (parenthesized_expression "(uVar22 != 0)" ( (binary_expression "uVar22 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar22 = (*(code *)PTR_inet_addr_00131d0c)(local_2d4);\n  }" { (expression_statement "uVar22 = (*(code *)PTR_inet_addr_00131d0c)(local_2d4);" (assignment_expression "uVar22 = (*(code *)PTR_inet_addr_00131d0c)(local_2d4)" identifier = (call_expression "(*(code *)PTR_inet_addr_00131d0c)(local_2d4)" (parenthesized_expression "(*(code *)PTR_inet_addr_00131d0c)" ( (pointer_expression "*(code *)PTR_inet_addr_00131d0c" * (cast_expression "(code *)PTR_inet_addr_00131d0c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_2d4)" ( identifier )))) ;) })) (expression_statement "uVar7 = (*(code *)PTR_FUN_001313c8)(local_2d0);" (assignment_expression "uVar7 = (*(code *)PTR_FUN_001313c8)(local_2d0)" identifier = (call_expression "(*(code *)PTR_FUN_001313c8)(local_2d0)" (parenthesized_expression "(*(code *)PTR_FUN_001313c8)" ( (pointer_expression "*(code *)PTR_FUN_001313c8" * (cast_expression "(code *)PTR_FUN_001313c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_2d0)" ( identifier )))) ;) (expression_statement "puVar5 = PTR_FUN_001317ec;" (assignment_expression "puVar5 = PTR_FUN_001317ec" identifier = identifier) ;) (expression_statement "puVar4 = PTR_FUN_00131300;" (assignment_expression "puVar4 = PTR_FUN_00131300" identifier = identifier) ;) (expression_statement "puVar3 = PTR_FUN_00131244;" (assignment_expression "puVar3 = PTR_FUN_00131244" identifier = identifier) ;) (expression_statement "puVar18 = PTR_DAT_001311d8;" (assignment_expression "puVar18 = PTR_DAT_001311d8" identifier = identifier) ;) (if_statement "if (local_2cc != 0) {\n    do {\n      unaff_s0 = (undefined1 *)(*(code *)puVar3)(&local_2cc);\n      uVar9 = (*(code *)puVar4)(unaff_s0,0,0);\n      if ((**(int **)puVar18 != 0) || (uVar16 = uVar9 >> 3, 0xfe < uVar9)) {\n        iVar8 = FUN_0006a8c4(unaff_s0,PTR_DAT_001317d8);\n        uVar9 = (uint)(byte)PTR_DAT_001317dc[iVar8 * 2 + 1];\n        uVar16 = (uint)((byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3);\n      }\n      PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c] =\n           (byte)(1 << (uVar9 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c];\n      unaff_s3 = (undefined4 *)puVar4;\n      unaff_s4 = puVar3;\n      unaff_s7 = (code *)puVar5;\n    } while (local_2cc != 0);\n  }" if (parenthesized_expression "(local_2cc != 0)" ( (binary_expression "local_2cc != 0" identifier != number_literal) )) (compound_statement "{\n    do {\n      unaff_s0 = (undefined1 *)(*(code *)puVar3)(&local_2cc);\n      uVar9 = (*(code *)puVar4)(unaff_s0,0,0);\n      if ((**(int **)puVar18 != 0) || (uVar16 = uVar9 >> 3, 0xfe < uVar9)) {\n        iVar8 = FUN_0006a8c4(unaff_s0,PTR_DAT_001317d8);\n        uVar9 = (uint)(byte)PTR_DAT_001317dc[iVar8 * 2 + 1];\n        uVar16 = (uint)((byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3);\n      }\n      PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c] =\n           (byte)(1 << (uVar9 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c];\n      unaff_s3 = (undefined4 *)puVar4;\n      unaff_s4 = puVar3;\n      unaff_s7 = (code *)puVar5;\n    } while (local_2cc != 0);\n  }" { (do_statement "do {\n      unaff_s0 = (undefined1 *)(*(code *)puVar3)(&local_2cc);\n      uVar9 = (*(code *)puVar4)(unaff_s0,0,0);\n      if ((**(int **)puVar18 != 0) || (uVar16 = uVar9 >> 3, 0xfe < uVar9)) {\n        iVar8 = FUN_0006a8c4(unaff_s0,PTR_DAT_001317d8);\n        uVar9 = (uint)(byte)PTR_DAT_001317dc[iVar8 * 2 + 1];\n        uVar16 = (uint)((byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3);\n      }\n      PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c] =\n           (byte)(1 << (uVar9 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c];\n      unaff_s3 = (undefined4 *)puVar4;\n      unaff_s4 = puVar3;\n      unaff_s7 = (code *)puVar5;\n    } while (local_2cc != 0);" do (compound_statement "{\n      unaff_s0 = (undefined1 *)(*(code *)puVar3)(&local_2cc);\n      uVar9 = (*(code *)puVar4)(unaff_s0,0,0);\n      if ((**(int **)puVar18 != 0) || (uVar16 = uVar9 >> 3, 0xfe < uVar9)) {\n        iVar8 = FUN_0006a8c4(unaff_s0,PTR_DAT_001317d8);\n        uVar9 = (uint)(byte)PTR_DAT_001317dc[iVar8 * 2 + 1];\n        uVar16 = (uint)((byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3);\n      }\n      PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c] =\n           (byte)(1 << (uVar9 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c];\n      unaff_s3 = (undefined4 *)puVar4;\n      unaff_s4 = puVar3;\n      unaff_s7 = (code *)puVar5;\n    }" { (expression_statement "unaff_s0 = (undefined1 *)(*(code *)puVar3)(&local_2cc);" (assignment_expression "unaff_s0 = (undefined1 *)(*(code *)puVar3)(&local_2cc)" identifier = (cast_expression "(undefined1 *)(*(code *)puVar3)(&local_2cc)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar3)(&local_2cc)" (parenthesized_expression "(*(code *)puVar3)" ( (pointer_expression "*(code *)puVar3" * (cast_expression "(code *)puVar3" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_2cc)" ( (pointer_expression "&local_2cc" & identifier) ))))) ;) (expression_statement "uVar9 = (*(code *)puVar4)(unaff_s0,0,0);" (assignment_expression "uVar9 = (*(code *)puVar4)(unaff_s0,0,0)" identifier = (call_expression "(*(code *)puVar4)(unaff_s0,0,0)" (parenthesized_expression "(*(code *)puVar4)" ( (pointer_expression "*(code *)puVar4" * (cast_expression "(code *)puVar4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,0,0)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if ((**(int **)puVar18 != 0) || (uVar16 = uVar9 >> 3, 0xfe < uVar9)) {\n        iVar8 = FUN_0006a8c4(unaff_s0,PTR_DAT_001317d8);\n        uVar9 = (uint)(byte)PTR_DAT_001317dc[iVar8 * 2 + 1];\n        uVar16 = (uint)((byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3);\n      }" if (parenthesized_expression "((**(int **)puVar18 != 0) || (uVar16 = uVar9 >> 3, 0xfe < uVar9))" ( (binary_expression "(**(int **)puVar18 != 0) || (uVar16 = uVar9 >> 3, 0xfe < uVar9)" (parenthesized_expression "(**(int **)puVar18 != 0)" ( (binary_expression "**(int **)puVar18 != 0" (pointer_expression "**(int **)puVar18" * (pointer_expression "*(int **)puVar18" * (cast_expression "(int **)puVar18" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) != number_literal) )) || (parenthesized_expression "(uVar16 = uVar9 >> 3, 0xfe < uVar9)" ( (comma_expression "uVar16 = uVar9 >> 3, 0xfe < uVar9" (assignment_expression "uVar16 = uVar9 >> 3" identifier = (binary_expression "uVar9 >> 3" identifier >> number_literal)) , (binary_expression "0xfe < uVar9" number_literal < identifier)) ))) )) (compound_statement "{\n        iVar8 = FUN_0006a8c4(unaff_s0,PTR_DAT_001317d8);\n        uVar9 = (uint)(byte)PTR_DAT_001317dc[iVar8 * 2 + 1];\n        uVar16 = (uint)((byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3);\n      }" { (expression_statement "iVar8 = FUN_0006a8c4(unaff_s0,PTR_DAT_001317d8);" (assignment_expression "iVar8 = FUN_0006a8c4(unaff_s0,PTR_DAT_001317d8)" identifier = (call_expression "FUN_0006a8c4(unaff_s0,PTR_DAT_001317d8)" identifier (argument_list "(unaff_s0,PTR_DAT_001317d8)" ( identifier , identifier )))) ;) (expression_statement "uVar9 = (uint)(byte)PTR_DAT_001317dc[iVar8 * 2 + 1];" (assignment_expression "uVar9 = (uint)(byte)PTR_DAT_001317dc[iVar8 * 2 + 1]" identifier = (cast_expression "(uint)(byte)PTR_DAT_001317dc[iVar8 * 2 + 1]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)PTR_DAT_001317dc[iVar8 * 2 + 1]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR_DAT_001317dc[iVar8 * 2 + 1]" identifier [ (binary_expression "iVar8 * 2 + 1" (binary_expression "iVar8 * 2" identifier * number_literal) + number_literal) ])))) ;) (expression_statement "uVar16 = (uint)((byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3);" (assignment_expression "uVar16 = (uint)((byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3)" identifier = (call_expression "(uint)((byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3)" ( (binary_expression "(byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3" (cast_expression "(byte)PTR_DAT_001317dc[iVar8 * 2 + 1]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR_DAT_001317dc[iVar8 * 2 + 1]" identifier [ (binary_expression "iVar8 * 2 + 1" (binary_expression "iVar8 * 2" identifier * number_literal) + number_literal) ])) >> number_literal) )))) ;) })) (expression_statement "PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c] =\n           (byte)(1 << (uVar9 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c];" (assignment_expression "PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c] =\n           (byte)(1 << (uVar9 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c]" (subscript_expression "PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c]" identifier [ (binary_expression "uVar16 + 0x20c" identifier + number_literal) ]) = (binary_expression "(byte)(1 << (uVar9 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c]" (call_expression "(byte)(1 << (uVar9 & 7))" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(1 << (uVar9 & 7))" ( (binary_expression "1 << (uVar9 & 7)" number_literal << (parenthesized_expression "(uVar9 & 7)" ( (binary_expression "uVar9 & 7" identifier & number_literal) ))) ))) | (subscript_expression "PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c]" identifier [ (binary_expression "uVar16 + 0x20c" identifier + number_literal) ]))) ;) (expression_statement "unaff_s3 = (undefined4 *)puVar4;" (assignment_expression "unaff_s3 = (undefined4 *)puVar4" identifier = (cast_expression "(undefined4 *)puVar4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "unaff_s4 = puVar3;" (assignment_expression "unaff_s4 = puVar3" identifier = identifier) ;) (expression_statement "unaff_s7 = (code *)puVar5;" (assignment_expression "unaff_s7 = (code *)puVar5" identifier = (cast_expression "(code *)puVar5" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }) while (parenthesized_expression "(local_2cc != 0)" ( (binary_expression "local_2cc != 0" identifier != number_literal) )) ;) })) (expression_statement "puVar18 = PTR_bb_common_bufsiz1_0013136c;" (assignment_expression "puVar18 = PTR_bb_common_bufsiz1_0013136c" identifier = identifier) ;) (if_statement "if (-1 < (int)(uVar6 << 0xe)) {\n    bVar2 = PTR_DAT_001317dc[1];\n    pbVar17 = PTR_DAT_001317dc;\n    while (bVar2 != 0) {\n      if ((*pbVar17 & 0x10) != 0) {\n        puVar18[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar18[(bVar2 >> 3) + 0x20c];\n      }\n      pbVar1 = pbVar17 + 3;\n      pbVar17 = pbVar17 + 2;\n      bVar2 = *pbVar1;\n    }\n  }" if (parenthesized_expression "(-1 < (int)(uVar6 << 0xe))" ( (binary_expression "-1 < (int)(uVar6 << 0xe)" number_literal < (cast_expression "(int)(uVar6 << 0xe)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar6 << 0xe)" ( (binary_expression "uVar6 << 0xe" identifier << number_literal) )))) )) (compound_statement "{\n    bVar2 = PTR_DAT_001317dc[1];\n    pbVar17 = PTR_DAT_001317dc;\n    while (bVar2 != 0) {\n      if ((*pbVar17 & 0x10) != 0) {\n        puVar18[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar18[(bVar2 >> 3) + 0x20c];\n      }\n      pbVar1 = pbVar17 + 3;\n      pbVar17 = pbVar17 + 2;\n      bVar2 = *pbVar1;\n    }\n  }" { (expression_statement "bVar2 = PTR_DAT_001317dc[1];" (assignment_expression "bVar2 = PTR_DAT_001317dc[1]" identifier = (subscript_expression "PTR_DAT_001317dc[1]" identifier [ number_literal ])) ;) (expression_statement "pbVar17 = PTR_DAT_001317dc;" (assignment_expression "pbVar17 = PTR_DAT_001317dc" identifier = identifier) ;) (while_statement "while (bVar2 != 0) {\n      if ((*pbVar17 & 0x10) != 0) {\n        puVar18[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar18[(bVar2 >> 3) + 0x20c];\n      }\n      pbVar1 = pbVar17 + 3;\n      pbVar17 = pbVar17 + 2;\n      bVar2 = *pbVar1;\n    }" while (parenthesized_expression "(bVar2 != 0)" ( (binary_expression "bVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      if ((*pbVar17 & 0x10) != 0) {\n        puVar18[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar18[(bVar2 >> 3) + 0x20c];\n      }\n      pbVar1 = pbVar17 + 3;\n      pbVar17 = pbVar17 + 2;\n      bVar2 = *pbVar1;\n    }" { (if_statement "if ((*pbVar17 & 0x10) != 0) {\n        puVar18[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar18[(bVar2 >> 3) + 0x20c];\n      }" if (parenthesized_expression "((*pbVar17 & 0x10) != 0)" ( (binary_expression "(*pbVar17 & 0x10) != 0" (parenthesized_expression "(*pbVar17 & 0x10)" ( (binary_expression "*pbVar17 & 0x10" (pointer_expression "*pbVar17" * identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n        puVar18[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar18[(bVar2 >> 3) + 0x20c];\n      }" { (expression_statement "puVar18[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar18[(bVar2 >> 3) + 0x20c];" (assignment_expression "puVar18[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar18[(bVar2 >> 3) + 0x20c]" (subscript_expression "puVar18[(bVar2 >> 3) + 0x20c]" identifier [ (binary_expression "(bVar2 >> 3) + 0x20c" (parenthesized_expression "(bVar2 >> 3)" ( (binary_expression "bVar2 >> 3" identifier >> number_literal) )) + number_literal) ]) = (binary_expression "(byte)(1 << (bVar2 & 7)) | puVar18[(bVar2 >> 3) + 0x20c]" (call_expression "(byte)(1 << (bVar2 & 7))" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(1 << (bVar2 & 7))" ( (binary_expression "1 << (bVar2 & 7)" number_literal << (parenthesized_expression "(bVar2 & 7)" ( (binary_expression "bVar2 & 7" identifier & number_literal) ))) ))) | (subscript_expression "puVar18[(bVar2 >> 3) + 0x20c]" identifier [ (binary_expression "(bVar2 >> 3) + 0x20c" (parenthesized_expression "(bVar2 >> 3)" ( (binary_expression "bVar2 >> 3" identifier >> number_literal) )) + number_literal) ]))) ;) })) (expression_statement "pbVar1 = pbVar17 + 3;" (assignment_expression "pbVar1 = pbVar17 + 3" identifier = (binary_expression "pbVar17 + 3" identifier + number_literal)) ;) (expression_statement "pbVar17 = pbVar17 + 2;" (assignment_expression "pbVar17 = pbVar17 + 2" identifier = (binary_expression "pbVar17 + 2" identifier + number_literal)) ;) (expression_statement "bVar2 = *pbVar1;" (assignment_expression "bVar2 = *pbVar1" identifier = (pointer_expression "*pbVar1" * identifier)) ;) })) })) (expression_statement "puVar3 = PTR_FUN_001312b8;" (assignment_expression "puVar3 = PTR_FUN_001312b8" identifier = identifier) ;) (expression_statement "puVar18 = PTR_FUN_00131244;" (assignment_expression "puVar18 = PTR_FUN_00131244" identifier = identifier) ;) (if_statement "if (local_2c8 != 0) {\n    unaff_s7 = (code *)(PTR_bb_common_bufsiz1_0013136c + 0x238);\n    do {\n      uVar10 = (*(code *)puVar18)(&local_2c8);\n      unaff_s0 = (undefined1 *)(*(code *)puVar3)(uVar10);\n      FUN_0006b074(unaff_s0,unaff_s7,PTR_DAT_001317dc,PTR_DAT_001317d8);\n      (*(code *)PTR_free_00132180)(unaff_s0);\n      unaff_s3 = (undefined4 *)puVar3;\n      unaff_s4 = puVar18;\n    } while (local_2c8 != 0);\n  }" if (parenthesized_expression "(local_2c8 != 0)" ( (binary_expression "local_2c8 != 0" identifier != number_literal) )) (compound_statement "{\n    unaff_s7 = (code *)(PTR_bb_common_bufsiz1_0013136c + 0x238);\n    do {\n      uVar10 = (*(code *)puVar18)(&local_2c8);\n      unaff_s0 = (undefined1 *)(*(code *)puVar3)(uVar10);\n      FUN_0006b074(unaff_s0,unaff_s7,PTR_DAT_001317dc,PTR_DAT_001317d8);\n      (*(code *)PTR_free_00132180)(unaff_s0);\n      unaff_s3 = (undefined4 *)puVar3;\n      unaff_s4 = puVar18;\n    } while (local_2c8 != 0);\n  }" { (expression_statement "unaff_s7 = (code *)(PTR_bb_common_bufsiz1_0013136c + 0x238);" (assignment_expression "unaff_s7 = (code *)(PTR_bb_common_bufsiz1_0013136c + 0x238)" identifier = (cast_expression "(code *)(PTR_bb_common_bufsiz1_0013136c + 0x238)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x238)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x238" identifier + number_literal) )))) ;) (do_statement "do {\n      uVar10 = (*(code *)puVar18)(&local_2c8);\n      unaff_s0 = (undefined1 *)(*(code *)puVar3)(uVar10);\n      FUN_0006b074(unaff_s0,unaff_s7,PTR_DAT_001317dc,PTR_DAT_001317d8);\n      (*(code *)PTR_free_00132180)(unaff_s0);\n      unaff_s3 = (undefined4 *)puVar3;\n      unaff_s4 = puVar18;\n    } while (local_2c8 != 0);" do (compound_statement "{\n      uVar10 = (*(code *)puVar18)(&local_2c8);\n      unaff_s0 = (undefined1 *)(*(code *)puVar3)(uVar10);\n      FUN_0006b074(unaff_s0,unaff_s7,PTR_DAT_001317dc,PTR_DAT_001317d8);\n      (*(code *)PTR_free_00132180)(unaff_s0);\n      unaff_s3 = (undefined4 *)puVar3;\n      unaff_s4 = puVar18;\n    }" { (expression_statement "uVar10 = (*(code *)puVar18)(&local_2c8);" (assignment_expression "uVar10 = (*(code *)puVar18)(&local_2c8)" identifier = (call_expression "(*(code *)puVar18)(&local_2c8)" (parenthesized_expression "(*(code *)puVar18)" ( (pointer_expression "*(code *)puVar18" * (cast_expression "(code *)puVar18" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_2c8)" ( (pointer_expression "&local_2c8" & identifier) )))) ;) (expression_statement "unaff_s0 = (undefined1 *)(*(code *)puVar3)(uVar10);" (assignment_expression "unaff_s0 = (undefined1 *)(*(code *)puVar3)(uVar10)" identifier = (cast_expression "(undefined1 *)(*(code *)puVar3)(uVar10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar3)(uVar10)" (parenthesized_expression "(*(code *)puVar3)" ( (pointer_expression "*(code *)puVar3" * (cast_expression "(code *)puVar3" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar10)" ( identifier ))))) ;) (expression_statement "FUN_0006b074(unaff_s0,unaff_s7,PTR_DAT_001317dc,PTR_DAT_001317d8);" (call_expression "FUN_0006b074(unaff_s0,unaff_s7,PTR_DAT_001317dc,PTR_DAT_001317d8)" identifier (argument_list "(unaff_s0,unaff_s7,PTR_DAT_001317dc,PTR_DAT_001317d8)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_free_00132180)(unaff_s0);" (call_expression "(*(code *)PTR_free_00132180)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_free_00132180)" ( (pointer_expression "*(code *)PTR_free_00132180" * (cast_expression "(code *)PTR_free_00132180" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))) ;) (expression_statement "unaff_s3 = (undefined4 *)puVar3;" (assignment_expression "unaff_s3 = (undefined4 *)puVar3" identifier = (cast_expression "(undefined4 *)puVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "unaff_s4 = puVar18;" (assignment_expression "unaff_s4 = puVar18" identifier = identifier) ;) }) while (parenthesized_expression "(local_2c8 != 0)" ( (binary_expression "local_2c8 != 0" identifier != number_literal) )) ;) })) (expression_statement "iVar8 = FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                       PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                       PTR_bb_common_bufsiz1_0013136c + 0x200);" (assignment_expression "iVar8 = FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                       PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                       PTR_bb_common_bufsiz1_0013136c + 0x200)" identifier = (call_expression "FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                       PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                       PTR_bb_common_bufsiz1_0013136c + 0x200)" identifier (argument_list "(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                       PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                       PTR_bb_common_bufsiz1_0013136c + 0x200)" ( (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c)" * (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x22c)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x22c" identifier + number_literal) )))) , (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x208" identifier + number_literal) , number_literal , (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x200" identifier + number_literal) )))) ;) (if_statement "if (iVar8 != 0) {\n    puVar12 = &DAT_00000001;\n    goto LAB_0006654c;\n  }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar12 = &DAT_00000001;\n    goto LAB_0006654c;\n  }" { (expression_statement "puVar12 = &DAT_00000001;" (assignment_expression "puVar12 = &DAT_00000001" identifier = (pointer_expression "&DAT_00000001" & identifier)) ;) (goto_statement "goto LAB_0006654c;" goto statement_identifier ;) })) (expression_statement "unaff_s3 = (undefined4 *)0x0;" (assignment_expression "unaff_s3 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (((uVar6 & 1) == 0) &&\n     (iVar8 = FUN_0006ace8(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x238),0x3d), iVar8 == 0\n     )) {\n    iVar8 = FUN_00064458(0x3d,PTR_FUN_001311a4 + -0x3208,7);\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    *(int *)(PTR_bb_common_bufsiz1_0013136c + 0x23c) = iVar8;\n    *(undefined1 *)(iVar8 + 2) = 1;\n    iVar8 = *(int *)(puVar18 + 0x23c);\n    unaff_s3 = (undefined4 *)(iVar8 + 3);\n    *unaff_s3 = *(undefined4 *)(puVar18 + 0x200);\n    *(undefined *)(iVar8 + 7) = puVar18[0x204];\n    *(undefined *)(iVar8 + 8) = puVar18[0x205];\n  }" if (parenthesized_expression "(((uVar6 & 1) == 0) &&\n     (iVar8 = FUN_0006ace8(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x238),0x3d), iVar8 == 0\n     ))" ( (binary_expression "((uVar6 & 1) == 0) &&\n     (iVar8 = FUN_0006ace8(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x238),0x3d), iVar8 == 0\n     )" (parenthesized_expression "((uVar6 & 1) == 0)" ( (binary_expression "(uVar6 & 1) == 0" (parenthesized_expression "(uVar6 & 1)" ( (binary_expression "uVar6 & 1" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "(iVar8 = FUN_0006ace8(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x238),0x3d), iVar8 == 0\n     )" ( (comma_expression "iVar8 = FUN_0006ace8(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x238),0x3d), iVar8 == 0" (assignment_expression "iVar8 = FUN_0006ace8(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x238),0x3d)" identifier = (call_expression "FUN_0006ace8(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x238),0x3d)" identifier (argument_list "(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x238),0x3d)" ( (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x238)" * (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x238)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x238)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x238" identifier + number_literal) )))) , number_literal )))) , (binary_expression "iVar8 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    iVar8 = FUN_00064458(0x3d,PTR_FUN_001311a4 + -0x3208,7);\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    *(int *)(PTR_bb_common_bufsiz1_0013136c + 0x23c) = iVar8;\n    *(undefined1 *)(iVar8 + 2) = 1;\n    iVar8 = *(int *)(puVar18 + 0x23c);\n    unaff_s3 = (undefined4 *)(iVar8 + 3);\n    *unaff_s3 = *(undefined4 *)(puVar18 + 0x200);\n    *(undefined *)(iVar8 + 7) = puVar18[0x204];\n    *(undefined *)(iVar8 + 8) = puVar18[0x205];\n  }" { (expression_statement "iVar8 = FUN_00064458(0x3d,PTR_FUN_001311a4 + -0x3208,7);" (assignment_expression "iVar8 = FUN_00064458(0x3d,PTR_FUN_001311a4 + -0x3208,7)" identifier = (call_expression "FUN_00064458(0x3d,PTR_FUN_001311a4 + -0x3208,7)" identifier (argument_list "(0x3d,PTR_FUN_001311a4 + -0x3208,7)" ( number_literal , (binary_expression "PTR_FUN_001311a4 + -0x3208" identifier + number_literal) , number_literal )))) ;) (expression_statement "puVar18 = PTR_bb_common_bufsiz1_0013136c;" (assignment_expression "puVar18 = PTR_bb_common_bufsiz1_0013136c" identifier = identifier) ;) (expression_statement "*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x23c) = iVar8;" (assignment_expression "*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x23c) = iVar8" (pointer_expression "*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x23c)" * (cast_expression "(int *)(PTR_bb_common_bufsiz1_0013136c + 0x23c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x23c)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x23c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 *)(iVar8 + 2) = 1;" (assignment_expression "*(undefined1 *)(iVar8 + 2) = 1" (pointer_expression "*(undefined1 *)(iVar8 + 2)" * (cast_expression "(undefined1 *)(iVar8 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 2)" ( (binary_expression "iVar8 + 2" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar8 = *(int *)(puVar18 + 0x23c);" (assignment_expression "iVar8 = *(int *)(puVar18 + 0x23c)" identifier = (pointer_expression "*(int *)(puVar18 + 0x23c)" * (cast_expression "(int *)(puVar18 + 0x23c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0x23c)" ( (binary_expression "puVar18 + 0x23c" identifier + number_literal) ))))) ;) (expression_statement "unaff_s3 = (undefined4 *)(iVar8 + 3);" (assignment_expression "unaff_s3 = (undefined4 *)(iVar8 + 3)" identifier = (cast_expression "(undefined4 *)(iVar8 + 3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 3)" ( (binary_expression "iVar8 + 3" identifier + number_literal) )))) ;) (expression_statement "*unaff_s3 = *(undefined4 *)(puVar18 + 0x200);" (assignment_expression "*unaff_s3 = *(undefined4 *)(puVar18 + 0x200)" (pointer_expression "*unaff_s3" * identifier) = (pointer_expression "*(undefined4 *)(puVar18 + 0x200)" * (cast_expression "(undefined4 *)(puVar18 + 0x200)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0x200)" ( (binary_expression "puVar18 + 0x200" identifier + number_literal) ))))) ;) (expression_statement "*(undefined *)(iVar8 + 7) = puVar18[0x204];" (assignment_expression "*(undefined *)(iVar8 + 7) = puVar18[0x204]" (pointer_expression "*(undefined *)(iVar8 + 7)" * (cast_expression "(undefined *)(iVar8 + 7)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 7)" ( (binary_expression "iVar8 + 7" identifier + number_literal) )))) = (subscript_expression "puVar18[0x204]" identifier [ number_literal ])) ;) (expression_statement "*(undefined *)(iVar8 + 8) = puVar18[0x205];" (assignment_expression "*(undefined *)(iVar8 + 8) = puVar18[0x205]" (pointer_expression "*(undefined *)(iVar8 + 8)" * (cast_expression "(undefined *)(iVar8 + 8)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 8)" ( (binary_expression "iVar8 + 8" identifier + number_literal) )))) = (subscript_expression "puVar18[0x205]" identifier [ number_literal ])) ;) })) (if_statement "if (*local_2e0 != '\0') {\n    uVar10 = FUN_00064458(0x3c,local_2e0,0);\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x240) = uVar10;\n  }" if (parenthesized_expression "(*local_2e0 != '\0')" ( (binary_expression "*local_2e0 != '\0'" (pointer_expression "*local_2e0" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    uVar10 = FUN_00064458(0x3c,local_2e0,0);\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x240) = uVar10;\n  }" { (expression_statement "uVar10 = FUN_00064458(0x3c,local_2e0,0);" (assignment_expression "uVar10 = FUN_00064458(0x3c,local_2e0,0)" identifier = (call_expression "FUN_00064458(0x3c,local_2e0,0)" identifier (argument_list "(0x3c,local_2e0,0)" ( number_literal , identifier , number_literal )))) ;) (expression_statement "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x240) = uVar10;" (assignment_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x240) = uVar10" (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x240)" * (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x240)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x240)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x240" identifier + number_literal) )))) = identifier) ;) })) (if_statement "if ((uVar6 & 0x4000) != 0) {\n    (*(code *)PTR_openlog_00131d98)(*(undefined4 *)PTR_DAT_001311ac,1,0x18);\n    *PTR_DAT_00131250 = *PTR_DAT_00131250 | 2;\n  }" if (parenthesized_expression "((uVar6 & 0x4000) != 0)" ( (binary_expression "(uVar6 & 0x4000) != 0" (parenthesized_expression "(uVar6 & 0x4000)" ( (binary_expression "uVar6 & 0x4000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    (*(code *)PTR_openlog_00131d98)(*(undefined4 *)PTR_DAT_001311ac,1,0x18);\n    *PTR_DAT_00131250 = *PTR_DAT_00131250 | 2;\n  }" { (expression_statement "(*(code *)PTR_openlog_00131d98)(*(undefined4 *)PTR_DAT_001311ac,1,0x18);" (call_expression "(*(code *)PTR_openlog_00131d98)(*(undefined4 *)PTR_DAT_001311ac,1,0x18)" (parenthesized_expression "(*(code *)PTR_openlog_00131d98)" ( (pointer_expression "*(code *)PTR_openlog_00131d98" * (cast_expression "(code *)PTR_openlog_00131d98" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_DAT_001311ac,1,0x18)" ( (pointer_expression "*(undefined4 *)PTR_DAT_001311ac" * (cast_expression "(undefined4 *)PTR_DAT_001311ac" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , number_literal ))) ;) (expression_statement "*PTR_DAT_00131250 = *PTR_DAT_00131250 | 2;" (assignment_expression "*PTR_DAT_00131250 = *PTR_DAT_00131250 | 2" (pointer_expression "*PTR_DAT_00131250" * identifier) = (binary_expression "*PTR_DAT_00131250 | 2" (pointer_expression "*PTR_DAT_00131250" * identifier) | number_literal)) ;) })) (expression_statement "(*(code *)PTR_FUN_001316b8)();" (call_expression "(*(code *)PTR_FUN_001316b8)()" (parenthesized_expression "(*(code *)PTR_FUN_001316b8)" ( (pointer_expression "*(code *)PTR_FUN_001316b8" * (cast_expression "(code *)PTR_FUN_001316b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "(*(code *)PTR_FUN_00131440)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));" (call_expression "(*(code *)PTR_FUN_00131440)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230))" (parenthesized_expression "(*(code *)PTR_FUN_00131440)" ( (pointer_expression "*(code *)PTR_FUN_00131440" * (cast_expression "(code *)PTR_FUN_00131440" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230))" ( (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230)" * (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x230)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x230" identifier + number_literal) )))) ))) ;) (expression_statement "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2908);" (call_expression "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2908)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" ( (pointer_expression "*(code *)PTR_FUN_001311d0" * (cast_expression "(code *)PTR_FUN_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_FUN_001311a4 + -0x2908)" ( (binary_expression "PTR_FUN_001311a4 + -0x2908" identifier + number_literal) ))) ;) (expression_statement "FUN_00069ff0();" (call_expression "FUN_00069ff0()" identifier (argument_list "()" ( ))) ;) (expression_statement "(*(code *)PTR_FUN_001312bc)();" (call_expression "(*(code *)PTR_FUN_001312bc)()" (parenthesized_expression "(*(code *)PTR_FUN_001312bc)" ( (pointer_expression "*(code *)PTR_FUN_001312bc" * (cast_expression "(code *)PTR_FUN_001312bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "(*(code *)PTR_srand_00131f84)(extraout_v1);" (call_expression "(*(code *)PTR_srand_00131f84)(extraout_v1)" (parenthesized_expression "(*(code *)PTR_srand_00131f84)" ( (pointer_expression "*(code *)PTR_srand_00131f84" * (cast_expression "(code *)PTR_srand_00131f84" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(extraout_v1)" ( identifier ))) ;) (expression_statement "PTR_DAT_00131178[0x23de] = 0;" (assignment_expression "PTR_DAT_00131178[0x23de] = 0" (subscript_expression "PTR_DAT_00131178[0x23de]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_00065590(0,PTR_FUN_001311a4 + -0x2984);" (call_expression "FUN_00065590(0,PTR_FUN_001311a4 + -0x2984)" identifier (argument_list "(0,PTR_FUN_001311a4 + -0x2984)" ( number_literal , (binary_expression "PTR_FUN_001311a4 + -0x2984" identifier + number_literal) ))) ;) (expression_statement "FUN_00064d8c(2);" (call_expression "FUN_00064d8c(2)" identifier (argument_list "(2)" ( number_literal ))) ;) (expression_statement "puVar19 = (undefined1 *)0x0;" (assignment_expression "puVar19 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_2f0 = PTR_DAT_00131178;" (assignment_expression "local_2f0 = PTR_DAT_00131178" identifier = identifier) ;) (expression_statement "unaff_s7 = (code *)(PTR_LAB_00131738 + 0x4d8c);" (assignment_expression "unaff_s7 = (code *)(PTR_LAB_00131738 + 0x4d8c)" identifier = (cast_expression "(code *)(PTR_LAB_00131738 + 0x4d8c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00131738 + 0x4d8c)" ( (binary_expression "PTR_LAB_00131738 + 0x4d8c" identifier + number_literal) )))) ;) (expression_statement "local_2e4 = PTR_FUN_001311a4;" (assignment_expression "local_2e4 = PTR_FUN_001311a4" identifier = identifier) ;) (expression_statement "local_2fc = (code *)(PTR_LAB_00131738 + 0x5590);" (assignment_expression "local_2fc = (code *)(PTR_LAB_00131738 + 0x5590)" identifier = (cast_expression "(code *)(PTR_LAB_00131738 + 0x5590)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00131738 + 0x5590)" ( (binary_expression "PTR_LAB_00131738 + 0x5590" identifier + number_literal) )))) ;) (expression_statement "local_2ec = (code *)(PTR_LAB_00131738 + 0x496c);" (assignment_expression "local_2ec = (code *)(PTR_LAB_00131738 + 0x496c)" identifier = (cast_expression "(code *)(PTR_LAB_00131738 + 0x496c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00131738 + 0x496c)" ( (binary_expression "PTR_LAB_00131738 + 0x496c" identifier + number_literal) )))) ;) (expression_statement "puVar12 = (undefined1 *)0x0;" (assignment_expression "puVar12 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "unaff_s0 = puVar12;" (assignment_expression "unaff_s0 = puVar12" identifier = identifier) ;) (expression_statement "puVar21 = puVar12;" (assignment_expression "puVar21 = puVar12" identifier = identifier) ;) (labeled_statement "LAB_000662f4:\n  puVar20 = puVar21;" statement_identifier : (expression_statement "puVar20 = puVar21;" (assignment_expression "puVar20 = puVar21" identifier = identifier) ;)) (expression_statement "unaff_s4 = unaff_s0;" (assignment_expression "unaff_s4 = unaff_s0" identifier = identifier) ;) (expression_statement "FUN_0006a0c0(auStack_2b0,*(undefined4 *)(local_2f0 + 0x1004));" (call_expression "FUN_0006a0c0(auStack_2b0,*(undefined4 *)(local_2f0 + 0x1004))" identifier (argument_list "(auStack_2b0,*(undefined4 *)(local_2f0 + 0x1004))" ( identifier , (pointer_expression "*(undefined4 *)(local_2f0 + 0x1004)" * (cast_expression "(undefined4 *)(local_2f0 + 0x1004)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_2f0 + 0x1004)" ( (binary_expression "local_2f0 + 0x1004" identifier + number_literal) )))) ))) ;) (expression_statement "iVar8 = (int)puVar20 - (int)puVar19;" (assignment_expression "iVar8 = (int)puVar20 - (int)puVar19" identifier = (binary_expression "(int)puVar20 - (int)puVar19" (cast_expression "(int)puVar20" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar19" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "unaff_s0 = unaff_s4;" (assignment_expression "unaff_s0 = unaff_s4" identifier = identifier) ;) (if_statement "if (iVar8 < 1) {\nLAB_00066418:\n    puVar19 = (undefined1 *)\n              FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                           PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                           PTR_bb_common_bufsiz1_0013136c + 0x200);\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    if (puVar19 == (undefined1 *)0x0) {\n      if (unaff_s3 != (undefined4 *)0x0) {\n        *unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);\n        *(undefined *)(unaff_s3 + 1) = puVar18[0x204];\n        *(undefined *)((int)unaff_s3 + 5) = puVar18[0x205];\n      }\n      if ((byte)PTR_DAT_00131178[0x23de] < 6) {\n                    \n                    \n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))\n                            ();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n  }\n  else {\n    iVar11 = (*(code *)PTR_FUN_001317c0)();\n    if (iVar8 < 0x20c49b) {\n      iVar8 = iVar8 * 1000;\n    }\n    else {\n      iVar8 = 0x7fffffff;\n    }\n    iVar8 = (*(code *)PTR_poll_00132060)(auStack_2b0,2,iVar8);\n    puVar21 = puVar20;\n    if (iVar8 < 0) {\n      if (**(int **)PTR_DAT_001311d8 != 4) {\n        iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x5488);\n        goto LAB_00066410;\n      }\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }\nLAB_00066410:\n    if (iVar8 == 0) goto LAB_00066418;\n    iVar8 = FUN_0006a140();\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    if (iVar8 == 0x10) {\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2894);\n      bVar2 = PTR_DAT_00131178[0x23de];\n      if (bVar2 < 7) {\n                    \n                    \n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = puVar12;\n      puVar21 = puVar12;\n      if (bVar2 == 5) {\n        if ((int)puVar20 < 0x3d) {\n          if (0x3b < (int)puVar20) goto LAB_0006666c;\n        }\n        else {\n          puVar20 = (undefined1 *)0x3c;\nLAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);\n          puVar19 = (undefined1 *)0x0;\n          if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }\n        }\n        PTR_DAT_00131178[0x23de] = 4;\n        (*unaff_s7)(2);\n        if ((int)puVar20 < 1) {\n          (*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4);\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n          PTR_DAT_00131178[0x23de] = 0;\n          puVar18 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar18[0x24d] = 0;\n          puVar19 = (undefined1 *)0x0;\n          puVar21 = puVar20;\n        }\n        else {\n          (*local_2ec)(local_2f8,0);\n          puVar19 = (undefined1 *)0x0;\n          unaff_s0 = unaff_s4;\n          puVar21 = (undefined1 *)((int)puVar20 >> 1);\n        }\n      }\n      goto LAB_000662f4;\n    }\n    if (iVar8 == 0x11) {\n      FUN_00065bb0(local_2b8,uVar22);\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n    if (iVar8 == 0xf) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x287c);\n      goto LAB_00066938;\n    }\n    if (local_2a2 == 0) goto LAB_000662f4;\n    if (PTR_DAT_00131178[0x23df] == '\x01') {\n      iVar8 = FUN_00069990(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }\n    else {\n      iVar8 = FUN_00064ae0(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }\n    if (iVar8 == -1) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2868);\n      (*(code *)PTR_sleep_0013211c)(local_2c0);\n      (*unaff_s7)((int)(char)PTR_DAT_00131178[0x23df]);\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }\n    iVar13 = (*(code *)PTR_FUN_001317c0)();\n    puVar19 = puVar19 + (iVar13 - iVar11);\n    if ((((iVar8 < 0) || (local_29c != local_2f8)) || (local_29e != '\x06')) ||\n       (iVar8 = (*(code *)PTR_memcmp_0013212c)(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)\n       , iVar8 != 0)) goto LAB_000662f4;\n    pcVar14 = (char *)FUN_0006a9b8(auStack_2a0,0x35);\n    uVar9 = local_2b8;\n    if (pcVar14 == (char *)0x0) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2844);\n      goto LAB_000662f4;\n    }\n    iVar8 = (int)(char)PTR_DAT_00131178[0x23de];\n    puVar20 = (undefined1 *)0x0;\n    if (iVar8 != 1) {\n      if (iVar8 < 2) {\n        if ((iVar8 == 0) && (*pcVar14 == '\x02')) {\n          local_2b8 = 0;\n          puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36);\n          if (puVar15 == (uint *)0x0) {\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }\n          else {\n            local_2b8 = *puVar15;\n          }\n          PTR_DAT_00131178[0x23de] = 1;\n          puVar19 = (undefined1 *)0x0;\n          uVar22 = local_290;\n          unaff_s0 = puVar20;\n          puVar21 = puVar20;\n        }\n        goto LAB_000662f4;\n      }\n      if (2 < (iVar8 - 3U & 0xff)) goto LAB_000662f4;\n    }\n    if (*pcVar14 != '\x05') {\n      if ((*pcVar14 == '\x06') &&\n         ((local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)))))) {\n        (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x2778);\n        (*local_2fc)(auStack_2a0,PTR_FUN_001311a4 + -0x276c);\n        if (PTR_DAT_00131178[0x23de] != '\x01') {\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n        }\n        (*unaff_s7)(2);\n        (*(code *)PTR_sleep_0013211c)(3);\n        PTR_DAT_00131178[0x23de] = 0;\n        puVar18 = PTR_bb_common_bufsiz1_0013136c;\n        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n        puVar18[0x24d] = 0;\n        puVar19 = (undefined1 *)0x0;\n        uVar22 = 0;\n        unaff_s0 = puVar20;\n        puVar21 = puVar20;\n      }\n      goto LAB_000662f4;\n    }\n    puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x33);\n    if (puVar15 == (uint *)0x0) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2800);\n      local_2b4 = 0xe10;\n    }\n    else {\n      local_2b4 = *puVar15;\n      if (local_2b4 < 0x7a) {\n        local_2b4 = 0x7a;\n      }\n    }\n    if (((int)(uVar6 << 9) < 0) &&\n       (iVar8 = FUN_0006a564(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7),\n       iVar8 == 0)) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x27d4);\n      FUN_00064864(local_2b8,local_290);\n      if (PTR_DAT_00131178[0x23de] != '\x01') {\n        (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n      }\n      (*unaff_s7)(2);\n      PTR_DAT_00131178[0x23de] = 0;\n      puVar18 = PTR_bb_common_bufsiz1_0013136c;\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      puVar19 = (undefined1 *)0x0;\n      uVar22 = 0;\n      unaff_s0 = (undefined1 *)0x0;\n      puVar21 = local_2c4;\n      goto LAB_000662f4;\n    }\n    uVar10 = (*(code *)PTR_inet_ntoa_00132140)(local_290);\n    uVar9 = local_2b4;\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x279c,uVar10,local_2b4);\n    uVar22 = local_290;\n    iVar8 = (*(code *)PTR_FUN_001317c0)();\n    if (PTR_DAT_00131178[0x23de] == '\x01') {\n      puVar18 = PTR_FUN_001311a4 + -0x2978;\n    }\n    else {\n      puVar18 = PTR_FUN_001311a4 + -0x2884;\n    }\n    (*local_2fc)(auStack_2a0,puVar18);\n    iVar11 = (*(code *)PTR_FUN_001317c0)();\n    puVar19 = (undefined1 *)(iVar11 - iVar8);\n    puVar21 = (undefined1 *)(uVar9 >> 1);\n    if (puVar21 < puVar19) {\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = puVar20;\n    }\n    PTR_DAT_00131178[0x23de] = 2;\n    (*unaff_s7)(0);\n    if ((uVar6 & 0x100) == 0) {\n      if ((int)(uVar6 << 0xc) < 0) {\n        uVar6 = uVar6 & 0xffffffbf;\n      }\n      else {\n        FUN_000643f4();\n        uVar6 = uVar6 & 0xffd7ffbf | 0x80000;\n      }\n      goto LAB_000662f4;\n    }\n  }" if (parenthesized_expression "(iVar8 < 1)" ( (binary_expression "iVar8 < 1" identifier < number_literal) )) (compound_statement "{\nLAB_00066418:\n    puVar19 = (undefined1 *)\n              FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                           PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                           PTR_bb_common_bufsiz1_0013136c + 0x200);\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    if (puVar19 == (undefined1 *)0x0) {\n      if (unaff_s3 != (undefined4 *)0x0) {\n        *unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);\n        *(undefined *)(unaff_s3 + 1) = puVar18[0x204];\n        *(undefined *)((int)unaff_s3 + 5) = puVar18[0x205];\n      }\n      if ((byte)PTR_DAT_00131178[0x23de] < 6) {\n                    \n                    \n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))\n                            ();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n  }" { (labeled_statement "LAB_00066418:\n    puVar19 = (undefined1 *)\n              FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                           PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                           PTR_bb_common_bufsiz1_0013136c + 0x200);" statement_identifier : (expression_statement "puVar19 = (undefined1 *)\n              FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                           PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                           PTR_bb_common_bufsiz1_0013136c + 0x200);" (assignment_expression "puVar19 = (undefined1 *)\n              FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                           PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                           PTR_bb_common_bufsiz1_0013136c + 0x200)" identifier = (cast_expression "(undefined1 *)\n              FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                           PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                           PTR_bb_common_bufsiz1_0013136c + 0x200)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                           PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                           PTR_bb_common_bufsiz1_0013136c + 0x200)" identifier (argument_list "(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                           PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                           PTR_bb_common_bufsiz1_0013136c + 0x200)" ( (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c)" * (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x22c)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x22c" identifier + number_literal) )))) , (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x208" identifier + number_literal) , number_literal , (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x200" identifier + number_literal) ))))) ;)) (expression_statement "puVar18 = PTR_bb_common_bufsiz1_0013136c;" (assignment_expression "puVar18 = PTR_bb_common_bufsiz1_0013136c" identifier = identifier) ;) (if_statement "if (puVar19 == (undefined1 *)0x0) {\n      if (unaff_s3 != (undefined4 *)0x0) {\n        *unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);\n        *(undefined *)(unaff_s3 + 1) = puVar18[0x204];\n        *(undefined *)((int)unaff_s3 + 5) = puVar18[0x205];\n      }\n      if ((byte)PTR_DAT_00131178[0x23de] < 6) {\n                    \n                    \n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))\n                            ();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }" if (parenthesized_expression "(puVar19 == (undefined1 *)0x0)" ( (binary_expression "puVar19 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if (unaff_s3 != (undefined4 *)0x0) {\n        *unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);\n        *(undefined *)(unaff_s3 + 1) = puVar18[0x204];\n        *(undefined *)((int)unaff_s3 + 5) = puVar18[0x205];\n      }\n      if ((byte)PTR_DAT_00131178[0x23de] < 6) {\n                    \n                    \n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))\n                            ();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }" { (if_statement "if (unaff_s3 != (undefined4 *)0x0) {\n        *unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);\n        *(undefined *)(unaff_s3 + 1) = puVar18[0x204];\n        *(undefined *)((int)unaff_s3 + 5) = puVar18[0x205];\n      }" if (parenthesized_expression "(unaff_s3 != (undefined4 *)0x0)" ( (binary_expression "unaff_s3 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        *unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);\n        *(undefined *)(unaff_s3 + 1) = puVar18[0x204];\n        *(undefined *)((int)unaff_s3 + 5) = puVar18[0x205];\n      }" { (expression_statement "*unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);" (assignment_expression "*unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200)" (pointer_expression "*unaff_s3" * identifier) = (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200)" * (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x200)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x200" identifier + number_literal) ))))) ;) (expression_statement "*(undefined *)(unaff_s3 + 1) = puVar18[0x204];" (assignment_expression "*(undefined *)(unaff_s3 + 1) = puVar18[0x204]" (pointer_expression "*(undefined *)(unaff_s3 + 1)" * (cast_expression "(undefined *)(unaff_s3 + 1)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s3 + 1)" ( (binary_expression "unaff_s3 + 1" identifier + number_literal) )))) = (subscript_expression "puVar18[0x204]" identifier [ number_literal ])) ;) (expression_statement "*(undefined *)((int)unaff_s3 + 5) = puVar18[0x205];" (assignment_expression "*(undefined *)((int)unaff_s3 + 5) = puVar18[0x205]" (pointer_expression "*(undefined *)((int)unaff_s3 + 5)" * (cast_expression "(undefined *)((int)unaff_s3 + 5)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s3 + 5)" ( (binary_expression "(int)unaff_s3 + 5" (cast_expression "(int)unaff_s3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (subscript_expression "puVar18[0x205]" identifier [ number_literal ])) ;) })) (if_statement "if ((byte)PTR_DAT_00131178[0x23de] < 6) {\n                    \n                    \n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))\n                            ();\n        return puVar12;\n      }" if (parenthesized_expression "((byte)PTR_DAT_00131178[0x23de] < 6)" ( (binary_expression "(byte)PTR_DAT_00131178[0x23de] < 6" (cast_expression "(byte)PTR_DAT_00131178[0x23de]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR_DAT_00131178[0x23de]" identifier [ number_literal ])) < number_literal) )) (compound_statement "{\n                    \n                    \n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))\n                            ();\n        return puVar12;\n      }" { (expression_statement "puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))\n                            ();" (assignment_expression "puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))\n                            ()" identifier = (cast_expression "(undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))\n                            ()" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))\n                            ()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768))" ( (binary_expression "&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)" * (cast_expression "(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)" ( (binary_expression "PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768" (binary_expression "PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4" identifier + (binary_expression "(uint)(byte)PTR_DAT_00131178[0x23de] * 4" (cast_expression "(uint)(byte)PTR_DAT_00131178[0x23de]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)PTR_DAT_00131178[0x23de]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR_DAT_00131178[0x23de]" identifier [ number_literal ]))) * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( ))))) ;) (return_statement "return puVar12;" return identifier ;) })) (expression_statement "puVar19 = (undefined1 *)0x0;" (assignment_expression "puVar19 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar21 = (undefined1 *)0x7fffffff;" (assignment_expression "puVar21 = (undefined1 *)0x7fffffff" identifier = (cast_expression "(undefined1 *)0x7fffffff" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;) })) }) (else_clause "else {\n    iVar11 = (*(code *)PTR_FUN_001317c0)();\n    if (iVar8 < 0x20c49b) {\n      iVar8 = iVar8 * 1000;\n    }\n    else {\n      iVar8 = 0x7fffffff;\n    }\n    iVar8 = (*(code *)PTR_poll_00132060)(auStack_2b0,2,iVar8);\n    puVar21 = puVar20;\n    if (iVar8 < 0) {\n      if (**(int **)PTR_DAT_001311d8 != 4) {\n        iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x5488);\n        goto LAB_00066410;\n      }\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }\nLAB_00066410:\n    if (iVar8 == 0) goto LAB_00066418;\n    iVar8 = FUN_0006a140();\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    if (iVar8 == 0x10) {\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2894);\n      bVar2 = PTR_DAT_00131178[0x23de];\n      if (bVar2 < 7) {\n                    \n                    \n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = puVar12;\n      puVar21 = puVar12;\n      if (bVar2 == 5) {\n        if ((int)puVar20 < 0x3d) {\n          if (0x3b < (int)puVar20) goto LAB_0006666c;\n        }\n        else {\n          puVar20 = (undefined1 *)0x3c;\nLAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);\n          puVar19 = (undefined1 *)0x0;\n          if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }\n        }\n        PTR_DAT_00131178[0x23de] = 4;\n        (*unaff_s7)(2);\n        if ((int)puVar20 < 1) {\n          (*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4);\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n          PTR_DAT_00131178[0x23de] = 0;\n          puVar18 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar18[0x24d] = 0;\n          puVar19 = (undefined1 *)0x0;\n          puVar21 = puVar20;\n        }\n        else {\n          (*local_2ec)(local_2f8,0);\n          puVar19 = (undefined1 *)0x0;\n          unaff_s0 = unaff_s4;\n          puVar21 = (undefined1 *)((int)puVar20 >> 1);\n        }\n      }\n      goto LAB_000662f4;\n    }\n    if (iVar8 == 0x11) {\n      FUN_00065bb0(local_2b8,uVar22);\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n    if (iVar8 == 0xf) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x287c);\n      goto LAB_00066938;\n    }\n    if (local_2a2 == 0) goto LAB_000662f4;\n    if (PTR_DAT_00131178[0x23df] == '\x01') {\n      iVar8 = FUN_00069990(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }\n    else {\n      iVar8 = FUN_00064ae0(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }\n    if (iVar8 == -1) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2868);\n      (*(code *)PTR_sleep_0013211c)(local_2c0);\n      (*unaff_s7)((int)(char)PTR_DAT_00131178[0x23df]);\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }\n    iVar13 = (*(code *)PTR_FUN_001317c0)();\n    puVar19 = puVar19 + (iVar13 - iVar11);\n    if ((((iVar8 < 0) || (local_29c != local_2f8)) || (local_29e != '\x06')) ||\n       (iVar8 = (*(code *)PTR_memcmp_0013212c)(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)\n       , iVar8 != 0)) goto LAB_000662f4;\n    pcVar14 = (char *)FUN_0006a9b8(auStack_2a0,0x35);\n    uVar9 = local_2b8;\n    if (pcVar14 == (char *)0x0) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2844);\n      goto LAB_000662f4;\n    }\n    iVar8 = (int)(char)PTR_DAT_00131178[0x23de];\n    puVar20 = (undefined1 *)0x0;\n    if (iVar8 != 1) {\n      if (iVar8 < 2) {\n        if ((iVar8 == 0) && (*pcVar14 == '\x02')) {\n          local_2b8 = 0;\n          puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36);\n          if (puVar15 == (uint *)0x0) {\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }\n          else {\n            local_2b8 = *puVar15;\n          }\n          PTR_DAT_00131178[0x23de] = 1;\n          puVar19 = (undefined1 *)0x0;\n          uVar22 = local_290;\n          unaff_s0 = puVar20;\n          puVar21 = puVar20;\n        }\n        goto LAB_000662f4;\n      }\n      if (2 < (iVar8 - 3U & 0xff)) goto LAB_000662f4;\n    }\n    if (*pcVar14 != '\x05') {\n      if ((*pcVar14 == '\x06') &&\n         ((local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)))))) {\n        (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x2778);\n        (*local_2fc)(auStack_2a0,PTR_FUN_001311a4 + -0x276c);\n        if (PTR_DAT_00131178[0x23de] != '\x01') {\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n        }\n        (*unaff_s7)(2);\n        (*(code *)PTR_sleep_0013211c)(3);\n        PTR_DAT_00131178[0x23de] = 0;\n        puVar18 = PTR_bb_common_bufsiz1_0013136c;\n        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n        puVar18[0x24d] = 0;\n        puVar19 = (undefined1 *)0x0;\n        uVar22 = 0;\n        unaff_s0 = puVar20;\n        puVar21 = puVar20;\n      }\n      goto LAB_000662f4;\n    }\n    puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x33);\n    if (puVar15 == (uint *)0x0) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2800);\n      local_2b4 = 0xe10;\n    }\n    else {\n      local_2b4 = *puVar15;\n      if (local_2b4 < 0x7a) {\n        local_2b4 = 0x7a;\n      }\n    }\n    if (((int)(uVar6 << 9) < 0) &&\n       (iVar8 = FUN_0006a564(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7),\n       iVar8 == 0)) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x27d4);\n      FUN_00064864(local_2b8,local_290);\n      if (PTR_DAT_00131178[0x23de] != '\x01') {\n        (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n      }\n      (*unaff_s7)(2);\n      PTR_DAT_00131178[0x23de] = 0;\n      puVar18 = PTR_bb_common_bufsiz1_0013136c;\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      puVar19 = (undefined1 *)0x0;\n      uVar22 = 0;\n      unaff_s0 = (undefined1 *)0x0;\n      puVar21 = local_2c4;\n      goto LAB_000662f4;\n    }\n    uVar10 = (*(code *)PTR_inet_ntoa_00132140)(local_290);\n    uVar9 = local_2b4;\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x279c,uVar10,local_2b4);\n    uVar22 = local_290;\n    iVar8 = (*(code *)PTR_FUN_001317c0)();\n    if (PTR_DAT_00131178[0x23de] == '\x01') {\n      puVar18 = PTR_FUN_001311a4 + -0x2978;\n    }\n    else {\n      puVar18 = PTR_FUN_001311a4 + -0x2884;\n    }\n    (*local_2fc)(auStack_2a0,puVar18);\n    iVar11 = (*(code *)PTR_FUN_001317c0)();\n    puVar19 = (undefined1 *)(iVar11 - iVar8);\n    puVar21 = (undefined1 *)(uVar9 >> 1);\n    if (puVar21 < puVar19) {\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = puVar20;\n    }\n    PTR_DAT_00131178[0x23de] = 2;\n    (*unaff_s7)(0);\n    if ((uVar6 & 0x100) == 0) {\n      if ((int)(uVar6 << 0xc) < 0) {\n        uVar6 = uVar6 & 0xffffffbf;\n      }\n      else {\n        FUN_000643f4();\n        uVar6 = uVar6 & 0xffd7ffbf | 0x80000;\n      }\n      goto LAB_000662f4;\n    }\n  }" else (compound_statement "{\n    iVar11 = (*(code *)PTR_FUN_001317c0)();\n    if (iVar8 < 0x20c49b) {\n      iVar8 = iVar8 * 1000;\n    }\n    else {\n      iVar8 = 0x7fffffff;\n    }\n    iVar8 = (*(code *)PTR_poll_00132060)(auStack_2b0,2,iVar8);\n    puVar21 = puVar20;\n    if (iVar8 < 0) {\n      if (**(int **)PTR_DAT_001311d8 != 4) {\n        iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x5488);\n        goto LAB_00066410;\n      }\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }\nLAB_00066410:\n    if (iVar8 == 0) goto LAB_00066418;\n    iVar8 = FUN_0006a140();\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    if (iVar8 == 0x10) {\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2894);\n      bVar2 = PTR_DAT_00131178[0x23de];\n      if (bVar2 < 7) {\n                    \n                    \n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = puVar12;\n      puVar21 = puVar12;\n      if (bVar2 == 5) {\n        if ((int)puVar20 < 0x3d) {\n          if (0x3b < (int)puVar20) goto LAB_0006666c;\n        }\n        else {\n          puVar20 = (undefined1 *)0x3c;\nLAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);\n          puVar19 = (undefined1 *)0x0;\n          if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }\n        }\n        PTR_DAT_00131178[0x23de] = 4;\n        (*unaff_s7)(2);\n        if ((int)puVar20 < 1) {\n          (*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4);\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n          PTR_DAT_00131178[0x23de] = 0;\n          puVar18 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar18[0x24d] = 0;\n          puVar19 = (undefined1 *)0x0;\n          puVar21 = puVar20;\n        }\n        else {\n          (*local_2ec)(local_2f8,0);\n          puVar19 = (undefined1 *)0x0;\n          unaff_s0 = unaff_s4;\n          puVar21 = (undefined1 *)((int)puVar20 >> 1);\n        }\n      }\n      goto LAB_000662f4;\n    }\n    if (iVar8 == 0x11) {\n      FUN_00065bb0(local_2b8,uVar22);\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n    if (iVar8 == 0xf) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x287c);\n      goto LAB_00066938;\n    }\n    if (local_2a2 == 0) goto LAB_000662f4;\n    if (PTR_DAT_00131178[0x23df] == '\x01') {\n      iVar8 = FUN_00069990(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }\n    else {\n      iVar8 = FUN_00064ae0(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }\n    if (iVar8 == -1) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2868);\n      (*(code *)PTR_sleep_0013211c)(local_2c0);\n      (*unaff_s7)((int)(char)PTR_DAT_00131178[0x23df]);\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }\n    iVar13 = (*(code *)PTR_FUN_001317c0)();\n    puVar19 = puVar19 + (iVar13 - iVar11);\n    if ((((iVar8 < 0) || (local_29c != local_2f8)) || (local_29e != '\x06')) ||\n       (iVar8 = (*(code *)PTR_memcmp_0013212c)(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)\n       , iVar8 != 0)) goto LAB_000662f4;\n    pcVar14 = (char *)FUN_0006a9b8(auStack_2a0,0x35);\n    uVar9 = local_2b8;\n    if (pcVar14 == (char *)0x0) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2844);\n      goto LAB_000662f4;\n    }\n    iVar8 = (int)(char)PTR_DAT_00131178[0x23de];\n    puVar20 = (undefined1 *)0x0;\n    if (iVar8 != 1) {\n      if (iVar8 < 2) {\n        if ((iVar8 == 0) && (*pcVar14 == '\x02')) {\n          local_2b8 = 0;\n          puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36);\n          if (puVar15 == (uint *)0x0) {\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }\n          else {\n            local_2b8 = *puVar15;\n          }\n          PTR_DAT_00131178[0x23de] = 1;\n          puVar19 = (undefined1 *)0x0;\n          uVar22 = local_290;\n          unaff_s0 = puVar20;\n          puVar21 = puVar20;\n        }\n        goto LAB_000662f4;\n      }\n      if (2 < (iVar8 - 3U & 0xff)) goto LAB_000662f4;\n    }\n    if (*pcVar14 != '\x05') {\n      if ((*pcVar14 == '\x06') &&\n         ((local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)))))) {\n        (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x2778);\n        (*local_2fc)(auStack_2a0,PTR_FUN_001311a4 + -0x276c);\n        if (PTR_DAT_00131178[0x23de] != '\x01') {\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n        }\n        (*unaff_s7)(2);\n        (*(code *)PTR_sleep_0013211c)(3);\n        PTR_DAT_00131178[0x23de] = 0;\n        puVar18 = PTR_bb_common_bufsiz1_0013136c;\n        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n        puVar18[0x24d] = 0;\n        puVar19 = (undefined1 *)0x0;\n        uVar22 = 0;\n        unaff_s0 = puVar20;\n        puVar21 = puVar20;\n      }\n      goto LAB_000662f4;\n    }\n    puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x33);\n    if (puVar15 == (uint *)0x0) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2800);\n      local_2b4 = 0xe10;\n    }\n    else {\n      local_2b4 = *puVar15;\n      if (local_2b4 < 0x7a) {\n        local_2b4 = 0x7a;\n      }\n    }\n    if (((int)(uVar6 << 9) < 0) &&\n       (iVar8 = FUN_0006a564(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7),\n       iVar8 == 0)) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x27d4);\n      FUN_00064864(local_2b8,local_290);\n      if (PTR_DAT_00131178[0x23de] != '\x01') {\n        (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n      }\n      (*unaff_s7)(2);\n      PTR_DAT_00131178[0x23de] = 0;\n      puVar18 = PTR_bb_common_bufsiz1_0013136c;\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      puVar19 = (undefined1 *)0x0;\n      uVar22 = 0;\n      unaff_s0 = (undefined1 *)0x0;\n      puVar21 = local_2c4;\n      goto LAB_000662f4;\n    }\n    uVar10 = (*(code *)PTR_inet_ntoa_00132140)(local_290);\n    uVar9 = local_2b4;\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x279c,uVar10,local_2b4);\n    uVar22 = local_290;\n    iVar8 = (*(code *)PTR_FUN_001317c0)();\n    if (PTR_DAT_00131178[0x23de] == '\x01') {\n      puVar18 = PTR_FUN_001311a4 + -0x2978;\n    }\n    else {\n      puVar18 = PTR_FUN_001311a4 + -0x2884;\n    }\n    (*local_2fc)(auStack_2a0,puVar18);\n    iVar11 = (*(code *)PTR_FUN_001317c0)();\n    puVar19 = (undefined1 *)(iVar11 - iVar8);\n    puVar21 = (undefined1 *)(uVar9 >> 1);\n    if (puVar21 < puVar19) {\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = puVar20;\n    }\n    PTR_DAT_00131178[0x23de] = 2;\n    (*unaff_s7)(0);\n    if ((uVar6 & 0x100) == 0) {\n      if ((int)(uVar6 << 0xc) < 0) {\n        uVar6 = uVar6 & 0xffffffbf;\n      }\n      else {\n        FUN_000643f4();\n        uVar6 = uVar6 & 0xffd7ffbf | 0x80000;\n      }\n      goto LAB_000662f4;\n    }\n  }" { (expression_statement "iVar11 = (*(code *)PTR_FUN_001317c0)();" (assignment_expression "iVar11 = (*(code *)PTR_FUN_001317c0)()" identifier = (call_expression "(*(code *)PTR_FUN_001317c0)()" (parenthesized_expression "(*(code *)PTR_FUN_001317c0)" ( (pointer_expression "*(code *)PTR_FUN_001317c0" * (cast_expression "(code *)PTR_FUN_001317c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar8 < 0x20c49b) {\n      iVar8 = iVar8 * 1000;\n    }\n    else {\n      iVar8 = 0x7fffffff;\n    }" if (parenthesized_expression "(iVar8 < 0x20c49b)" ( (binary_expression "iVar8 < 0x20c49b" identifier < number_literal) )) (compound_statement "{\n      iVar8 = iVar8 * 1000;\n    }" { (expression_statement "iVar8 = iVar8 * 1000;" (assignment_expression "iVar8 = iVar8 * 1000" identifier = (binary_expression "iVar8 * 1000" identifier * number_literal)) ;) }) (else_clause "else {\n      iVar8 = 0x7fffffff;\n    }" else (compound_statement "{\n      iVar8 = 0x7fffffff;\n    }" { (expression_statement "iVar8 = 0x7fffffff;" (assignment_expression "iVar8 = 0x7fffffff" identifier = number_literal) ;) }))) (expression_statement "iVar8 = (*(code *)PTR_poll_00132060)(auStack_2b0,2,iVar8);" (assignment_expression "iVar8 = (*(code *)PTR_poll_00132060)(auStack_2b0,2,iVar8)" identifier = (call_expression "(*(code *)PTR_poll_00132060)(auStack_2b0,2,iVar8)" (parenthesized_expression "(*(code *)PTR_poll_00132060)" ( (pointer_expression "*(code *)PTR_poll_00132060" * (cast_expression "(code *)PTR_poll_00132060" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_2b0,2,iVar8)" ( identifier , number_literal , identifier )))) ;) (expression_statement "puVar21 = puVar20;" (assignment_expression "puVar21 = puVar20" identifier = identifier) ;) (if_statement "if (iVar8 < 0) {\n      if (**(int **)PTR_DAT_001311d8 != 4) {\n        iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x5488);\n        goto LAB_00066410;\n      }\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }" if (parenthesized_expression "(iVar8 < 0)" ( (binary_expression "iVar8 < 0" identifier < number_literal) )) (compound_statement "{\n      if (**(int **)PTR_DAT_001311d8 != 4) {\n        iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x5488);\n        goto LAB_00066410;\n      }\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }" { (if_statement "if (**(int **)PTR_DAT_001311d8 != 4) {\n        iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x5488);\n        goto LAB_00066410;\n      }" if (parenthesized_expression "(**(int **)PTR_DAT_001311d8 != 4)" ( (binary_expression "**(int **)PTR_DAT_001311d8 != 4" (pointer_expression "**(int **)PTR_DAT_001311d8" * (pointer_expression "*(int **)PTR_DAT_001311d8" * (cast_expression "(int **)PTR_DAT_001311d8" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) != number_literal) )) (compound_statement "{\n        iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x5488);\n        goto LAB_00066410;\n      }" { (expression_statement "iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x5488);" (assignment_expression "iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x5488)" identifier = (call_expression "(*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x5488)" (parenthesized_expression "(*(code *)PTR_FUN_001311f4)" ( (pointer_expression "*(code *)PTR_FUN_001311f4" * (cast_expression "(code *)PTR_FUN_001311f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_FUN_001311a4 + -0x5488)" ( (binary_expression "PTR_FUN_001311a4 + -0x5488" identifier + number_literal) )))) ;) (goto_statement "goto LAB_00066410;" goto statement_identifier ;) })) (expression_statement "iVar8 = (*(code *)PTR_FUN_001317c0)();" (assignment_expression "iVar8 = (*(code *)PTR_FUN_001317c0)()" identifier = (call_expression "(*(code *)PTR_FUN_001317c0)()" (parenthesized_expression "(*(code *)PTR_FUN_001317c0)" ( (pointer_expression "*(code *)PTR_FUN_001317c0" * (cast_expression "(code *)PTR_FUN_001317c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puVar19 = puVar19 + (iVar8 - iVar11);" (assignment_expression "puVar19 = puVar19 + (iVar8 - iVar11)" identifier = (binary_expression "puVar19 + (iVar8 - iVar11)" identifier + (parenthesized_expression "(iVar8 - iVar11)" ( (binary_expression "iVar8 - iVar11" identifier - identifier) )))) ;) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;) })) (labeled_statement "LAB_00066410:\n    if (iVar8 == 0) goto LAB_00066418;" statement_identifier : (if_statement "if (iVar8 == 0) goto LAB_00066418;" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00066418;" goto statement_identifier ;))) (expression_statement "iVar8 = FUN_0006a140();" (assignment_expression "iVar8 = FUN_0006a140()" identifier = (call_expression "FUN_0006a140()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar18 = PTR_bb_common_bufsiz1_0013136c;" (assignment_expression "puVar18 = PTR_bb_common_bufsiz1_0013136c" identifier = identifier) ;) (if_statement "if (iVar8 == 0x10) {\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2894);\n      bVar2 = PTR_DAT_00131178[0x23de];\n      if (bVar2 < 7) {\n                    \n                    \n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = puVar12;\n      puVar21 = puVar12;\n      if (bVar2 == 5) {\n        if ((int)puVar20 < 0x3d) {\n          if (0x3b < (int)puVar20) goto LAB_0006666c;\n        }\n        else {\n          puVar20 = (undefined1 *)0x3c;\nLAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);\n          puVar19 = (undefined1 *)0x0;\n          if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }\n        }\n        PTR_DAT_00131178[0x23de] = 4;\n        (*unaff_s7)(2);\n        if ((int)puVar20 < 1) {\n          (*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4);\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n          PTR_DAT_00131178[0x23de] = 0;\n          puVar18 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar18[0x24d] = 0;\n          puVar19 = (undefined1 *)0x0;\n          puVar21 = puVar20;\n        }\n        else {\n          (*local_2ec)(local_2f8,0);\n          puVar19 = (undefined1 *)0x0;\n          unaff_s0 = unaff_s4;\n          puVar21 = (undefined1 *)((int)puVar20 >> 1);\n        }\n      }\n      goto LAB_000662f4;\n    }" if (parenthesized_expression "(iVar8 == 0x10)" ( (binary_expression "iVar8 == 0x10" identifier == number_literal) )) (compound_statement "{\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2894);\n      bVar2 = PTR_DAT_00131178[0x23de];\n      if (bVar2 < 7) {\n                    \n                    \n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = puVar12;\n      puVar21 = puVar12;\n      if (bVar2 == 5) {\n        if ((int)puVar20 < 0x3d) {\n          if (0x3b < (int)puVar20) goto LAB_0006666c;\n        }\n        else {\n          puVar20 = (undefined1 *)0x3c;\nLAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);\n          puVar19 = (undefined1 *)0x0;\n          if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }\n        }\n        PTR_DAT_00131178[0x23de] = 4;\n        (*unaff_s7)(2);\n        if ((int)puVar20 < 1) {\n          (*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4);\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n          PTR_DAT_00131178[0x23de] = 0;\n          puVar18 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar18[0x24d] = 0;\n          puVar19 = (undefined1 *)0x0;\n          puVar21 = puVar20;\n        }\n        else {\n          (*local_2ec)(local_2f8,0);\n          puVar19 = (undefined1 *)0x0;\n          unaff_s0 = unaff_s4;\n          puVar21 = (undefined1 *)((int)puVar20 >> 1);\n        }\n      }\n      goto LAB_000662f4;\n    }" { (expression_statement "PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;" (assignment_expression "PTR_bb_common_bufsiz1_0013136c[0x24c] = 0" (subscript_expression "PTR_bb_common_bufsiz1_0013136c[0x24c]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar18[0x24d] = 0;" (assignment_expression "puVar18[0x24d] = 0" (subscript_expression "puVar18[0x24d]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2894);" (call_expression "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2894)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" ( (pointer_expression "*(code *)PTR_FUN_001311d0" * (cast_expression "(code *)PTR_FUN_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_FUN_001311a4 + -0x2894)" ( (binary_expression "PTR_FUN_001311a4 + -0x2894" identifier + number_literal) ))) ;) (expression_statement "bVar2 = PTR_DAT_00131178[0x23de];" (assignment_expression "bVar2 = PTR_DAT_00131178[0x23de]" identifier = (subscript_expression "PTR_DAT_00131178[0x23de]" identifier [ number_literal ])) ;) (if_statement "if (bVar2 < 7) {\n                    \n                    \n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))();\n        return puVar12;\n      }" if (parenthesized_expression "(bVar2 < 7)" ( (binary_expression "bVar2 < 7" identifier < number_literal) )) (compound_statement "{\n                    \n                    \n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))();\n        return puVar12;\n      }" { (expression_statement "puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))();" (assignment_expression "puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))()" identifier = (cast_expression "(undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))()" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750))" ( (binary_expression "&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)" * (cast_expression "(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)" ( (binary_expression "PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750" (binary_expression "PTR_FUN_001311a4 + (uint)bVar2 * 4" identifier + (binary_expression "(uint)bVar2 * 4" (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( ))))) ;) (return_statement "return puVar12;" return identifier ;) })) (expression_statement "puVar19 = (undefined1 *)0x0;" (assignment_expression "puVar19 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "unaff_s0 = puVar12;" (assignment_expression "unaff_s0 = puVar12" identifier = identifier) ;) (expression_statement "puVar21 = puVar12;" (assignment_expression "puVar21 = puVar12" identifier = identifier) ;) (if_statement "if (bVar2 == 5) {\n        if ((int)puVar20 < 0x3d) {\n          if (0x3b < (int)puVar20) goto LAB_0006666c;\n        }\n        else {\n          puVar20 = (undefined1 *)0x3c;\nLAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);\n          puVar19 = (undefined1 *)0x0;\n          if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }\n        }\n        PTR_DAT_00131178[0x23de] = 4;\n        (*unaff_s7)(2);\n        if ((int)puVar20 < 1) {\n          (*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4);\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n          PTR_DAT_00131178[0x23de] = 0;\n          puVar18 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar18[0x24d] = 0;\n          puVar19 = (undefined1 *)0x0;\n          puVar21 = puVar20;\n        }\n        else {\n          (*local_2ec)(local_2f8,0);\n          puVar19 = (undefined1 *)0x0;\n          unaff_s0 = unaff_s4;\n          puVar21 = (undefined1 *)((int)puVar20 >> 1);\n        }\n      }" if (parenthesized_expression "(bVar2 == 5)" ( (binary_expression "bVar2 == 5" identifier == number_literal) )) (compound_statement "{\n        if ((int)puVar20 < 0x3d) {\n          if (0x3b < (int)puVar20) goto LAB_0006666c;\n        }\n        else {\n          puVar20 = (undefined1 *)0x3c;\nLAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);\n          puVar19 = (undefined1 *)0x0;\n          if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }\n        }\n        PTR_DAT_00131178[0x23de] = 4;\n        (*unaff_s7)(2);\n        if ((int)puVar20 < 1) {\n          (*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4);\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n          PTR_DAT_00131178[0x23de] = 0;\n          puVar18 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar18[0x24d] = 0;\n          puVar19 = (undefined1 *)0x0;\n          puVar21 = puVar20;\n        }\n        else {\n          (*local_2ec)(local_2f8,0);\n          puVar19 = (undefined1 *)0x0;\n          unaff_s0 = unaff_s4;\n          puVar21 = (undefined1 *)((int)puVar20 >> 1);\n        }\n      }" { (if_statement "if ((int)puVar20 < 0x3d) {\n          if (0x3b < (int)puVar20) goto LAB_0006666c;\n        }\n        else {\n          puVar20 = (undefined1 *)0x3c;\nLAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);\n          puVar19 = (undefined1 *)0x0;\n          if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }\n        }" if (parenthesized_expression "((int)puVar20 < 0x3d)" ( (binary_expression "(int)puVar20 < 0x3d" (cast_expression "(int)puVar20" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n          if (0x3b < (int)puVar20) goto LAB_0006666c;\n        }" { (if_statement "if (0x3b < (int)puVar20) goto LAB_0006666c;" if (parenthesized_expression "(0x3b < (int)puVar20)" ( (binary_expression "0x3b < (int)puVar20" number_literal < (cast_expression "(int)puVar20" ( (type_descriptor "int" primitive_type) ) identifier)) )) (goto_statement "goto LAB_0006666c;" goto statement_identifier ;)) }) (else_clause "else {\n          puVar20 = (undefined1 *)0x3c;\nLAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);\n          puVar19 = (undefined1 *)0x0;\n          if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }\n        }" else (compound_statement "{\n          puVar20 = (undefined1 *)0x3c;\nLAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);\n          puVar19 = (undefined1 *)0x0;\n          if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }\n        }" { (expression_statement "puVar20 = (undefined1 *)0x3c;" (assignment_expression "puVar20 = (undefined1 *)0x3c" identifier = (cast_expression "(undefined1 *)0x3c" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);" statement_identifier : (expression_statement "iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);" (assignment_expression "iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22)" identifier = (call_expression "(*local_2ec)(local_2f8,local_2b8,uVar22)" (parenthesized_expression "(*local_2ec)" ( (pointer_expression "*local_2ec" * identifier) )) (argument_list "(local_2f8,local_2b8,uVar22)" ( identifier , identifier , identifier )))) ;)) (expression_statement "puVar19 = (undefined1 *)0x0;" (assignment_expression "puVar19 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }" if (parenthesized_expression "(-1 < iVar8)" ( (binary_expression "-1 < iVar8" number_literal < identifier) )) (compound_statement "{\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }" { (expression_statement "unaff_s0 = unaff_s4;" (assignment_expression "unaff_s0 = unaff_s4" identifier = identifier) ;) (expression_statement "puVar21 = (undefined1 *)((int)puVar20 >> 1);" (assignment_expression "puVar21 = (undefined1 *)((int)puVar20 >> 1)" identifier = (cast_expression "(undefined1 *)((int)puVar20 >> 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar20 >> 1)" ( (binary_expression "(int)puVar20 >> 1" (cast_expression "(int)puVar20" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )))) ;) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;) })) }))) (expression_statement "PTR_DAT_00131178[0x23de] = 4;" (assignment_expression "PTR_DAT_00131178[0x23de] = 4" (subscript_expression "PTR_DAT_00131178[0x23de]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "(*unaff_s7)(2);" (call_expression "(*unaff_s7)(2)" (parenthesized_expression "(*unaff_s7)" ( (pointer_expression "*unaff_s7" * identifier) )) (argument_list "(2)" ( number_literal ))) ;) (if_statement "if ((int)puVar20 < 1) {\n          (*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4);\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n          PTR_DAT_00131178[0x23de] = 0;\n          puVar18 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar18[0x24d] = 0;\n          puVar19 = (undefined1 *)0x0;\n          puVar21 = puVar20;\n        }\n        else {\n          (*local_2ec)(local_2f8,0);\n          puVar19 = (undefined1 *)0x0;\n          unaff_s0 = unaff_s4;\n          puVar21 = (undefined1 *)((int)puVar20 >> 1);\n        }" if (parenthesized_expression "((int)puVar20 < 1)" ( (binary_expression "(int)puVar20 < 1" (cast_expression "(int)puVar20" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n          (*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4);\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n          PTR_DAT_00131178[0x23de] = 0;\n          puVar18 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar18[0x24d] = 0;\n          puVar19 = (undefined1 *)0x0;\n          puVar21 = puVar20;\n        }" { (expression_statement "(*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4);" (call_expression "(*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" ( (pointer_expression "*(code *)PTR_FUN_001311d0" * (cast_expression "(code *)PTR_FUN_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_2e4 + -0x28b4)" ( (binary_expression "local_2e4 + -0x28b4" identifier + number_literal) ))) ;) (expression_statement "(*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);" (call_expression "(*local_2fc)(0,PTR_FUN_001311a4 + -0x2984)" (parenthesized_expression "(*local_2fc)" ( (pointer_expression "*local_2fc" * identifier) )) (argument_list "(0,PTR_FUN_001311a4 + -0x2984)" ( number_literal , (binary_expression "PTR_FUN_001311a4 + -0x2984" identifier + number_literal) ))) ;) (expression_statement "PTR_DAT_00131178[0x23de] = 0;" (assignment_expression "PTR_DAT_00131178[0x23de] = 0" (subscript_expression "PTR_DAT_00131178[0x23de]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar18 = PTR_bb_common_bufsiz1_0013136c;" (assignment_expression "puVar18 = PTR_bb_common_bufsiz1_0013136c" identifier = identifier) ;) (expression_statement "PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;" (assignment_expression "PTR_bb_common_bufsiz1_0013136c[0x24c] = 0" (subscript_expression "PTR_bb_common_bufsiz1_0013136c[0x24c]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar18[0x24d] = 0;" (assignment_expression "puVar18[0x24d] = 0" (subscript_expression "puVar18[0x24d]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar19 = (undefined1 *)0x0;" (assignment_expression "puVar19 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar21 = puVar20;" (assignment_expression "puVar21 = puVar20" identifier = identifier) ;) }) (else_clause "else {\n          (*local_2ec)(local_2f8,0);\n          puVar19 = (undefined1 *)0x0;\n          unaff_s0 = unaff_s4;\n          puVar21 = (undefined1 *)((int)puVar20 >> 1);\n        }" else (compound_statement "{\n          (*local_2ec)(local_2f8,0);\n          puVar19 = (undefined1 *)0x0;\n          unaff_s0 = unaff_s4;\n          puVar21 = (undefined1 *)((int)puVar20 >> 1);\n        }" { (expression_statement "(*local_2ec)(local_2f8,0);" (call_expression "(*local_2ec)(local_2f8,0)" (parenthesized_expression "(*local_2ec)" ( (pointer_expression "*local_2ec" * identifier) )) (argument_list "(local_2f8,0)" ( identifier , number_literal ))) ;) (expression_statement "puVar19 = (undefined1 *)0x0;" (assignment_expression "puVar19 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "unaff_s0 = unaff_s4;" (assignment_expression "unaff_s0 = unaff_s4" identifier = identifier) ;) (expression_statement "puVar21 = (undefined1 *)((int)puVar20 >> 1);" (assignment_expression "puVar21 = (undefined1 *)((int)puVar20 >> 1)" identifier = (cast_expression "(undefined1 *)((int)puVar20 >> 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar20 >> 1)" ( (binary_expression "(int)puVar20 >> 1" (cast_expression "(int)puVar20" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )))) ;) }))) })) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;) })) (if_statement "if (iVar8 == 0x11) {\n      FUN_00065bb0(local_2b8,uVar22);\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }" if (parenthesized_expression "(iVar8 == 0x11)" ( (binary_expression "iVar8 == 0x11" identifier == number_literal) )) (compound_statement "{\n      FUN_00065bb0(local_2b8,uVar22);\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }" { (expression_statement "FUN_00065bb0(local_2b8,uVar22);" (call_expression "FUN_00065bb0(local_2b8,uVar22)" identifier (argument_list "(local_2b8,uVar22)" ( identifier , identifier ))) ;) (expression_statement "puVar21 = (undefined1 *)0x7fffffff;" (assignment_expression "puVar21 = (undefined1 *)0x7fffffff" identifier = (cast_expression "(undefined1 *)0x7fffffff" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;) })) (if_statement "if (iVar8 == 0xf) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x287c);\n      goto LAB_00066938;\n    }" if (parenthesized_expression "(iVar8 == 0xf)" ( (binary_expression "iVar8 == 0xf" identifier == number_literal) )) (compound_statement "{\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x287c);\n      goto LAB_00066938;\n    }" { (expression_statement "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x287c);" (call_expression "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x287c)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" ( (pointer_expression "*(code *)PTR_FUN_001311d0" * (cast_expression "(code *)PTR_FUN_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x287c)" ( (binary_expression "PTR_FUN_001311a4 + -0x2874" identifier + number_literal) , (binary_expression "PTR_FUN_001311a4 + -0x287c" identifier + number_literal) ))) ;) (goto_statement "goto LAB_00066938;" goto statement_identifier ;) })) (if_statement "if (local_2a2 == 0) goto LAB_000662f4;" if (parenthesized_expression "(local_2a2 == 0)" ( (binary_expression "local_2a2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;)) (if_statement "if (PTR_DAT_00131178[0x23df] == '\x01') {\n      iVar8 = FUN_00069990(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }\n    else {\n      iVar8 = FUN_00064ae0(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }" if (parenthesized_expression "(PTR_DAT_00131178[0x23df] == '\x01')" ( (binary_expression "PTR_DAT_00131178[0x23df] == '\x01'" (subscript_expression "PTR_DAT_00131178[0x23df]" identifier [ number_literal ]) == (char_literal "'\x01'" ' escape_sequence ')) )) (compound_statement "{\n      iVar8 = FUN_00069990(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }" { (expression_statement "iVar8 = FUN_00069990(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));" (assignment_expression "iVar8 = FUN_00069990(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004))" identifier = (call_expression "FUN_00069990(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004))" identifier (argument_list "(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004))" ( identifier , (pointer_expression "*(undefined4 *)(local_2f0 + 0x1004)" * (cast_expression "(undefined4 *)(local_2f0 + 0x1004)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_2f0 + 0x1004)" ( (binary_expression "local_2f0 + 0x1004" identifier + number_literal) )))) )))) ;) }) (else_clause "else {\n      iVar8 = FUN_00064ae0(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }" else (compound_statement "{\n      iVar8 = FUN_00064ae0(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }" { (expression_statement "iVar8 = FUN_00064ae0(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));" (assignment_expression "iVar8 = FUN_00064ae0(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004))" identifier = (call_expression "FUN_00064ae0(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004))" identifier (argument_list "(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004))" ( identifier , (pointer_expression "*(undefined4 *)(local_2f0 + 0x1004)" * (cast_expression "(undefined4 *)(local_2f0 + 0x1004)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_2f0 + 0x1004)" ( (binary_expression "local_2f0 + 0x1004" identifier + number_literal) )))) )))) ;) }))) (if_statement "if (iVar8 == -1) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2868);\n      (*(code *)PTR_sleep_0013211c)(local_2c0);\n      (*unaff_s7)((int)(char)PTR_DAT_00131178[0x23df]);\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }" if (parenthesized_expression "(iVar8 == -1)" ( (binary_expression "iVar8 == -1" identifier == number_literal) )) (compound_statement "{\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2868);\n      (*(code *)PTR_sleep_0013211c)(local_2c0);\n      (*unaff_s7)((int)(char)PTR_DAT_00131178[0x23df]);\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }" { (expression_statement "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2868);" (call_expression "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2868)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" ( (pointer_expression "*(code *)PTR_FUN_001311d0" * (cast_expression "(code *)PTR_FUN_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_FUN_001311a4 + -0x2868)" ( (binary_expression "PTR_FUN_001311a4 + -0x2868" identifier + number_literal) ))) ;) (expression_statement "(*(code *)PTR_sleep_0013211c)(local_2c0);" (call_expression "(*(code *)PTR_sleep_0013211c)(local_2c0)" (parenthesized_expression "(*(code *)PTR_sleep_0013211c)" ( (pointer_expression "*(code *)PTR_sleep_0013211c" * (cast_expression "(code *)PTR_sleep_0013211c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_2c0)" ( identifier ))) ;) (expression_statement "(*unaff_s7)((int)(char)PTR_DAT_00131178[0x23df]);" (call_expression "(*unaff_s7)((int)(char)PTR_DAT_00131178[0x23df])" (parenthesized_expression "(*unaff_s7)" ( (pointer_expression "*unaff_s7" * identifier) )) (argument_list "((int)(char)PTR_DAT_00131178[0x23df])" ( (cast_expression "(int)(char)PTR_DAT_00131178[0x23df]" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)PTR_DAT_00131178[0x23df]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "PTR_DAT_00131178[0x23df]" identifier [ number_literal ]))) ))) ;) (expression_statement "iVar8 = (*(code *)PTR_FUN_001317c0)();" (assignment_expression "iVar8 = (*(code *)PTR_FUN_001317c0)()" identifier = (call_expression "(*(code *)PTR_FUN_001317c0)()" (parenthesized_expression "(*(code *)PTR_FUN_001317c0)" ( (pointer_expression "*(code *)PTR_FUN_001317c0" * (cast_expression "(code *)PTR_FUN_001317c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puVar19 = puVar19 + (iVar8 - iVar11);" (assignment_expression "puVar19 = puVar19 + (iVar8 - iVar11)" identifier = (binary_expression "puVar19 + (iVar8 - iVar11)" identifier + (parenthesized_expression "(iVar8 - iVar11)" ( (binary_expression "iVar8 - iVar11" identifier - identifier) )))) ;) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;) })) (expression_statement "iVar13 = (*(code *)PTR_FUN_001317c0)();" (assignment_expression "iVar13 = (*(code *)PTR_FUN_001317c0)()" identifier = (call_expression "(*(code *)PTR_FUN_001317c0)()" (parenthesized_expression "(*(code *)PTR_FUN_001317c0)" ( (pointer_expression "*(code *)PTR_FUN_001317c0" * (cast_expression "(code *)PTR_FUN_001317c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puVar19 = puVar19 + (iVar13 - iVar11);" (assignment_expression "puVar19 = puVar19 + (iVar13 - iVar11)" identifier = (binary_expression "puVar19 + (iVar13 - iVar11)" identifier + (parenthesized_expression "(iVar13 - iVar11)" ( (binary_expression "iVar13 - iVar11" identifier - identifier) )))) ;) (if_statement "if ((((iVar8 < 0) || (local_29c != local_2f8)) || (local_29e != '\x06')) ||\n       (iVar8 = (*(code *)PTR_memcmp_0013212c)(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)\n       , iVar8 != 0)) goto LAB_000662f4;" if (parenthesized_expression "((((iVar8 < 0) || (local_29c != local_2f8)) || (local_29e != '\x06')) ||\n       (iVar8 = (*(code *)PTR_memcmp_0013212c)(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)\n       , iVar8 != 0))" ( (binary_expression "(((iVar8 < 0) || (local_29c != local_2f8)) || (local_29e != '\x06')) ||\n       (iVar8 = (*(code *)PTR_memcmp_0013212c)(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)\n       , iVar8 != 0)" (parenthesized_expression "(((iVar8 < 0) || (local_29c != local_2f8)) || (local_29e != '\x06'))" ( (binary_expression "((iVar8 < 0) || (local_29c != local_2f8)) || (local_29e != '\x06')" (parenthesized_expression "((iVar8 < 0) || (local_29c != local_2f8))" ( (binary_expression "(iVar8 < 0) || (local_29c != local_2f8)" (parenthesized_expression "(iVar8 < 0)" ( (binary_expression "iVar8 < 0" identifier < number_literal) )) || (parenthesized_expression "(local_29c != local_2f8)" ( (binary_expression "local_29c != local_2f8" identifier != identifier) ))) )) || (parenthesized_expression "(local_29e != '\x06')" ( (binary_expression "local_29e != '\x06'" identifier != (char_literal "'\x06'" ' escape_sequence ')) ))) )) || (parenthesized_expression "(iVar8 = (*(code *)PTR_memcmp_0013212c)(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)\n       , iVar8 != 0)" ( (comma_expression "iVar8 = (*(code *)PTR_memcmp_0013212c)(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)\n       , iVar8 != 0" (assignment_expression "iVar8 = (*(code *)PTR_memcmp_0013212c)(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)" identifier = (call_expression "(*(code *)PTR_memcmp_0013212c)(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)" (parenthesized_expression "(*(code *)PTR_memcmp_0013212c)" ( (pointer_expression "*(code *)PTR_memcmp_0013212c" * (cast_expression "(code *)PTR_memcmp_0013212c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)" ( identifier , (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x200" identifier + number_literal) , number_literal )))) , (binary_expression "iVar8 != 0" identifier != number_literal)) ))) )) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;)) (expression_statement "pcVar14 = (char *)FUN_0006a9b8(auStack_2a0,0x35);" (assignment_expression "pcVar14 = (char *)FUN_0006a9b8(auStack_2a0,0x35)" identifier = (cast_expression "(char *)FUN_0006a9b8(auStack_2a0,0x35)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0006a9b8(auStack_2a0,0x35)" identifier (argument_list "(auStack_2a0,0x35)" ( identifier , number_literal ))))) ;) (expression_statement "uVar9 = local_2b8;" (assignment_expression "uVar9 = local_2b8" identifier = identifier) ;) (if_statement "if (pcVar14 == (char *)0x0) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2844);\n      goto LAB_000662f4;\n    }" if (parenthesized_expression "(pcVar14 == (char *)0x0)" ( (binary_expression "pcVar14 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2844);\n      goto LAB_000662f4;\n    }" { (expression_statement "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2844);" (call_expression "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2844)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" ( (pointer_expression "*(code *)PTR_FUN_001311d0" * (cast_expression "(code *)PTR_FUN_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_FUN_001311a4 + -0x2844)" ( (binary_expression "PTR_FUN_001311a4 + -0x2844" identifier + number_literal) ))) ;) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;) })) (expression_statement "iVar8 = (int)(char)PTR_DAT_00131178[0x23de];" (assignment_expression "iVar8 = (int)(char)PTR_DAT_00131178[0x23de]" identifier = (cast_expression "(int)(char)PTR_DAT_00131178[0x23de]" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)PTR_DAT_00131178[0x23de]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "PTR_DAT_00131178[0x23de]" identifier [ number_literal ])))) ;) (expression_statement "puVar20 = (undefined1 *)0x0;" (assignment_expression "puVar20 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (iVar8 != 1) {\n      if (iVar8 < 2) {\n        if ((iVar8 == 0) && (*pcVar14 == '\x02')) {\n          local_2b8 = 0;\n          puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36);\n          if (puVar15 == (uint *)0x0) {\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }\n          else {\n            local_2b8 = *puVar15;\n          }\n          PTR_DAT_00131178[0x23de] = 1;\n          puVar19 = (undefined1 *)0x0;\n          uVar22 = local_290;\n          unaff_s0 = puVar20;\n          puVar21 = puVar20;\n        }\n        goto LAB_000662f4;\n      }\n      if (2 < (iVar8 - 3U & 0xff)) goto LAB_000662f4;\n    }" if (parenthesized_expression "(iVar8 != 1)" ( (binary_expression "iVar8 != 1" identifier != number_literal) )) (compound_statement "{\n      if (iVar8 < 2) {\n        if ((iVar8 == 0) && (*pcVar14 == '\x02')) {\n          local_2b8 = 0;\n          puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36);\n          if (puVar15 == (uint *)0x0) {\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }\n          else {\n            local_2b8 = *puVar15;\n          }\n          PTR_DAT_00131178[0x23de] = 1;\n          puVar19 = (undefined1 *)0x0;\n          uVar22 = local_290;\n          unaff_s0 = puVar20;\n          puVar21 = puVar20;\n        }\n        goto LAB_000662f4;\n      }\n      if (2 < (iVar8 - 3U & 0xff)) goto LAB_000662f4;\n    }" { (if_statement "if (iVar8 < 2) {\n        if ((iVar8 == 0) && (*pcVar14 == '\x02')) {\n          local_2b8 = 0;\n          puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36);\n          if (puVar15 == (uint *)0x0) {\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }\n          else {\n            local_2b8 = *puVar15;\n          }\n          PTR_DAT_00131178[0x23de] = 1;\n          puVar19 = (undefined1 *)0x0;\n          uVar22 = local_290;\n          unaff_s0 = puVar20;\n          puVar21 = puVar20;\n        }\n        goto LAB_000662f4;\n      }" if (parenthesized_expression "(iVar8 < 2)" ( (binary_expression "iVar8 < 2" identifier < number_literal) )) (compound_statement "{\n        if ((iVar8 == 0) && (*pcVar14 == '\x02')) {\n          local_2b8 = 0;\n          puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36);\n          if (puVar15 == (uint *)0x0) {\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }\n          else {\n            local_2b8 = *puVar15;\n          }\n          PTR_DAT_00131178[0x23de] = 1;\n          puVar19 = (undefined1 *)0x0;\n          uVar22 = local_290;\n          unaff_s0 = puVar20;\n          puVar21 = puVar20;\n        }\n        goto LAB_000662f4;\n      }" { (if_statement "if ((iVar8 == 0) && (*pcVar14 == '\x02')) {\n          local_2b8 = 0;\n          puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36);\n          if (puVar15 == (uint *)0x0) {\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }\n          else {\n            local_2b8 = *puVar15;\n          }\n          PTR_DAT_00131178[0x23de] = 1;\n          puVar19 = (undefined1 *)0x0;\n          uVar22 = local_290;\n          unaff_s0 = puVar20;\n          puVar21 = puVar20;\n        }" if (parenthesized_expression "((iVar8 == 0) && (*pcVar14 == '\x02'))" ( (binary_expression "(iVar8 == 0) && (*pcVar14 == '\x02')" (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) && (parenthesized_expression "(*pcVar14 == '\x02')" ( (binary_expression "*pcVar14 == '\x02'" (pointer_expression "*pcVar14" * identifier) == (char_literal "'\x02'" ' escape_sequence ')) ))) )) (compound_statement "{\n          local_2b8 = 0;\n          puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36);\n          if (puVar15 == (uint *)0x0) {\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }\n          else {\n            local_2b8 = *puVar15;\n          }\n          PTR_DAT_00131178[0x23de] = 1;\n          puVar19 = (undefined1 *)0x0;\n          uVar22 = local_290;\n          unaff_s0 = puVar20;\n          puVar21 = puVar20;\n        }" { (expression_statement "local_2b8 = 0;" (assignment_expression "local_2b8 = 0" identifier = number_literal) ;) (expression_statement "puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36);" (assignment_expression "puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36)" identifier = (cast_expression "(uint *)FUN_0006aac8(auStack_2a0,0x36)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0006aac8(auStack_2a0,0x36)" identifier (argument_list "(auStack_2a0,0x36)" ( identifier , number_literal ))))) ;) (if_statement "if (puVar15 == (uint *)0x0) {\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }\n          else {\n            local_2b8 = *puVar15;\n          }" if (parenthesized_expression "(puVar15 == (uint *)0x0)" ( (binary_expression "puVar15 == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }" { (expression_statement "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);" (call_expression "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" ( (pointer_expression "*(code *)PTR_FUN_001311d0" * (cast_expression "(code *)PTR_FUN_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_FUN_001311a4 + -0x281c)" ( (binary_expression "PTR_FUN_001311a4 + -0x281c" identifier + number_literal) ))) ;) }) (else_clause "else {\n            local_2b8 = *puVar15;\n          }" else (compound_statement "{\n            local_2b8 = *puVar15;\n          }" { (expression_statement "local_2b8 = *puVar15;" (assignment_expression "local_2b8 = *puVar15" identifier = (pointer_expression "*puVar15" * identifier)) ;) }))) (expression_statement "PTR_DAT_00131178[0x23de] = 1;" (assignment_expression "PTR_DAT_00131178[0x23de] = 1" (subscript_expression "PTR_DAT_00131178[0x23de]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar19 = (undefined1 *)0x0;" (assignment_expression "puVar19 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar22 = local_290;" (assignment_expression "uVar22 = local_290" identifier = identifier) ;) (expression_statement "unaff_s0 = puVar20;" (assignment_expression "unaff_s0 = puVar20" identifier = identifier) ;) (expression_statement "puVar21 = puVar20;" (assignment_expression "puVar21 = puVar20" identifier = identifier) ;) })) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;) })) (if_statement "if (2 < (iVar8 - 3U & 0xff)) goto LAB_000662f4;" if (parenthesized_expression "(2 < (iVar8 - 3U & 0xff))" ( (binary_expression "2 < (iVar8 - 3U & 0xff)" number_literal < (parenthesized_expression "(iVar8 - 3U & 0xff)" ( (binary_expression "iVar8 - 3U & 0xff" (binary_expression "iVar8 - 3U" identifier - number_literal) & number_literal) ))) )) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;)) })) (if_statement "if (*pcVar14 != '\x05') {\n      if ((*pcVar14 == '\x06') &&\n         ((local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)))))) {\n        (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x2778);\n        (*local_2fc)(auStack_2a0,PTR_FUN_001311a4 + -0x276c);\n        if (PTR_DAT_00131178[0x23de] != '\x01') {\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n        }\n        (*unaff_s7)(2);\n        (*(code *)PTR_sleep_0013211c)(3);\n        PTR_DAT_00131178[0x23de] = 0;\n        puVar18 = PTR_bb_common_bufsiz1_0013136c;\n        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n        puVar18[0x24d] = 0;\n        puVar19 = (undefined1 *)0x0;\n        uVar22 = 0;\n        unaff_s0 = puVar20;\n        puVar21 = puVar20;\n      }\n      goto LAB_000662f4;\n    }" if (parenthesized_expression "(*pcVar14 != '\x05')" ( (binary_expression "*pcVar14 != '\x05'" (pointer_expression "*pcVar14" * identifier) != (char_literal "'\x05'" ' escape_sequence ')) )) (compound_statement "{\n      if ((*pcVar14 == '\x06') &&\n         ((local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)))))) {\n        (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x2778);\n        (*local_2fc)(auStack_2a0,PTR_FUN_001311a4 + -0x276c);\n        if (PTR_DAT_00131178[0x23de] != '\x01') {\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n        }\n        (*unaff_s7)(2);\n        (*(code *)PTR_sleep_0013211c)(3);\n        PTR_DAT_00131178[0x23de] = 0;\n        puVar18 = PTR_bb_common_bufsiz1_0013136c;\n        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n        puVar18[0x24d] = 0;\n        puVar19 = (undefined1 *)0x0;\n        uVar22 = 0;\n        unaff_s0 = puVar20;\n        puVar21 = puVar20;\n      }\n      goto LAB_000662f4;\n    }" { (if_statement "if ((*pcVar14 == '\x06') &&\n         ((local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)))))) {\n        (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x2778);\n        (*local_2fc)(auStack_2a0,PTR_FUN_001311a4 + -0x276c);\n        if (PTR_DAT_00131178[0x23de] != '\x01') {\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n        }\n        (*unaff_s7)(2);\n        (*(code *)PTR_sleep_0013211c)(3);\n        PTR_DAT_00131178[0x23de] = 0;\n        puVar18 = PTR_bb_common_bufsiz1_0013136c;\n        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n        puVar18[0x24d] = 0;\n        puVar19 = (undefined1 *)0x0;\n        uVar22 = 0;\n        unaff_s0 = puVar20;\n        puVar21 = puVar20;\n      }" if (parenthesized_expression "((*pcVar14 == '\x06') &&\n         ((local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4))))))" ( (binary_expression "(*pcVar14 == '\x06') &&\n         ((local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)))))" (parenthesized_expression "(*pcVar14 == '\x06')" ( (binary_expression "*pcVar14 == '\x06'" (pointer_expression "*pcVar14" * identifier) == (char_literal "'\x06'" ' escape_sequence ')) )) && (parenthesized_expression "((local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)))))" ( (parenthesized_expression "(local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4))))" ( (binary_expression "local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)))" (binary_expression "local_2b8 == 0" identifier == number_literal) || (parenthesized_expression "((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)))" ( (parenthesized_expression "(puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4))" ( (comma_expression "puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)" (assignment_expression "puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36)" identifier = (cast_expression "(uint *)FUN_0006aac8(auStack_2a0,0x36)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0006aac8(auStack_2a0,0x36)" identifier (argument_list "(auStack_2a0,0x36)" ( identifier , number_literal ))))) , (binary_expression "puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)" (binary_expression "puVar15 != (uint *)0x0" identifier != (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) && (parenthesized_expression "(local_2b4 = *puVar15, uVar9 == local_2b4)" ( (comma_expression "local_2b4 = *puVar15, uVar9 == local_2b4" (assignment_expression "local_2b4 = *puVar15" identifier = (pointer_expression "*puVar15" * identifier)) , (binary_expression "uVar9 == local_2b4" identifier == identifier)) )))) )) ))) )) ))) )) (compound_statement "{\n        (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x2778);\n        (*local_2fc)(auStack_2a0,PTR_FUN_001311a4 + -0x276c);\n        if (PTR_DAT_00131178[0x23de] != '\x01') {\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n        }\n        (*unaff_s7)(2);\n        (*(code *)PTR_sleep_0013211c)(3);\n        PTR_DAT_00131178[0x23de] = 0;\n        puVar18 = PTR_bb_common_bufsiz1_0013136c;\n        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n        puVar18[0x24d] = 0;\n        puVar19 = (undefined1 *)0x0;\n        uVar22 = 0;\n        unaff_s0 = puVar20;\n        puVar21 = puVar20;\n      }" { (expression_statement "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x2778);" (call_expression "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x2778)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" ( (pointer_expression "*(code *)PTR_FUN_001311d0" * (cast_expression "(code *)PTR_FUN_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x2778)" ( (binary_expression "PTR_FUN_001311a4 + -0x2874" identifier + number_literal) , (binary_expression "PTR_FUN_001311a4 + -0x2778" identifier + number_literal) ))) ;) (expression_statement "(*local_2fc)(auStack_2a0,PTR_FUN_001311a4 + -0x276c);" (call_expression "(*local_2fc)(auStack_2a0,PTR_FUN_001311a4 + -0x276c)" (parenthesized_expression "(*local_2fc)" ( (pointer_expression "*local_2fc" * identifier) )) (argument_list "(auStack_2a0,PTR_FUN_001311a4 + -0x276c)" ( identifier , (binary_expression "PTR_FUN_001311a4 + -0x276c" identifier + number_literal) ))) ;) (if_statement "if (PTR_DAT_00131178[0x23de] != '\x01') {\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n        }" if (parenthesized_expression "(PTR_DAT_00131178[0x23de] != '\x01')" ( (binary_expression "PTR_DAT_00131178[0x23de] != '\x01'" (subscript_expression "PTR_DAT_00131178[0x23de]" identifier [ number_literal ]) != (char_literal "'\x01'" ' escape_sequence ')) )) (compound_statement "{\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n        }" { (expression_statement "(*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);" (call_expression "(*local_2fc)(0,PTR_FUN_001311a4 + -0x2984)" (parenthesized_expression "(*local_2fc)" ( (pointer_expression "*local_2fc" * identifier) )) (argument_list "(0,PTR_FUN_001311a4 + -0x2984)" ( number_literal , (binary_expression "PTR_FUN_001311a4 + -0x2984" identifier + number_literal) ))) ;) })) (expression_statement "(*unaff_s7)(2);" (call_expression "(*unaff_s7)(2)" (parenthesized_expression "(*unaff_s7)" ( (pointer_expression "*unaff_s7" * identifier) )) (argument_list "(2)" ( number_literal ))) ;) (expression_statement "(*(code *)PTR_sleep_0013211c)(3);" (call_expression "(*(code *)PTR_sleep_0013211c)(3)" (parenthesized_expression "(*(code *)PTR_sleep_0013211c)" ( (pointer_expression "*(code *)PTR_sleep_0013211c" * (cast_expression "(code *)PTR_sleep_0013211c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3)" ( number_literal ))) ;) (expression_statement "PTR_DAT_00131178[0x23de] = 0;" (assignment_expression "PTR_DAT_00131178[0x23de] = 0" (subscript_expression "PTR_DAT_00131178[0x23de]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar18 = PTR_bb_common_bufsiz1_0013136c;" (assignment_expression "puVar18 = PTR_bb_common_bufsiz1_0013136c" identifier = identifier) ;) (expression_statement "PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;" (assignment_expression "PTR_bb_common_bufsiz1_0013136c[0x24c] = 0" (subscript_expression "PTR_bb_common_bufsiz1_0013136c[0x24c]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar18[0x24d] = 0;" (assignment_expression "puVar18[0x24d] = 0" (subscript_expression "puVar18[0x24d]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar19 = (undefined1 *)0x0;" (assignment_expression "puVar19 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar22 = 0;" (assignment_expression "uVar22 = 0" identifier = number_literal) ;) (expression_statement "unaff_s0 = puVar20;" (assignment_expression "unaff_s0 = puVar20" identifier = identifier) ;) (expression_statement "puVar21 = puVar20;" (assignment_expression "puVar21 = puVar20" identifier = identifier) ;) })) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;) })) (expression_statement "puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x33);" (assignment_expression "puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x33)" identifier = (cast_expression "(uint *)FUN_0006aac8(auStack_2a0,0x33)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0006aac8(auStack_2a0,0x33)" identifier (argument_list "(auStack_2a0,0x33)" ( identifier , number_literal ))))) ;) (if_statement "if (puVar15 == (uint *)0x0) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2800);\n      local_2b4 = 0xe10;\n    }\n    else {\n      local_2b4 = *puVar15;\n      if (local_2b4 < 0x7a) {\n        local_2b4 = 0x7a;\n      }\n    }" if (parenthesized_expression "(puVar15 == (uint *)0x0)" ( (binary_expression "puVar15 == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2800);\n      local_2b4 = 0xe10;\n    }" { (expression_statement "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2800);" (call_expression "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2800)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" ( (pointer_expression "*(code *)PTR_FUN_001311d0" * (cast_expression "(code *)PTR_FUN_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_FUN_001311a4 + -0x2800)" ( (binary_expression "PTR_FUN_001311a4 + -0x2800" identifier + number_literal) ))) ;) (expression_statement "local_2b4 = 0xe10;" (assignment_expression "local_2b4 = 0xe10" identifier = number_literal) ;) }) (else_clause "else {\n      local_2b4 = *puVar15;\n      if (local_2b4 < 0x7a) {\n        local_2b4 = 0x7a;\n      }\n    }" else (compound_statement "{\n      local_2b4 = *puVar15;\n      if (local_2b4 < 0x7a) {\n        local_2b4 = 0x7a;\n      }\n    }" { (expression_statement "local_2b4 = *puVar15;" (assignment_expression "local_2b4 = *puVar15" identifier = (pointer_expression "*puVar15" * identifier)) ;) (if_statement "if (local_2b4 < 0x7a) {\n        local_2b4 = 0x7a;\n      }" if (parenthesized_expression "(local_2b4 < 0x7a)" ( (binary_expression "local_2b4 < 0x7a" identifier < number_literal) )) (compound_statement "{\n        local_2b4 = 0x7a;\n      }" { (expression_statement "local_2b4 = 0x7a;" (assignment_expression "local_2b4 = 0x7a" identifier = number_literal) ;) })) }))) (if_statement "if (((int)(uVar6 << 9) < 0) &&\n       (iVar8 = FUN_0006a564(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7),\n       iVar8 == 0)) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x27d4);\n      FUN_00064864(local_2b8,local_290);\n      if (PTR_DAT_00131178[0x23de] != '\x01') {\n        (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n      }\n      (*unaff_s7)(2);\n      PTR_DAT_00131178[0x23de] = 0;\n      puVar18 = PTR_bb_common_bufsiz1_0013136c;\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      puVar19 = (undefined1 *)0x0;\n      uVar22 = 0;\n      unaff_s0 = (undefined1 *)0x0;\n      puVar21 = local_2c4;\n      goto LAB_000662f4;\n    }" if (parenthesized_expression "(((int)(uVar6 << 9) < 0) &&\n       (iVar8 = FUN_0006a564(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7),\n       iVar8 == 0))" ( (binary_expression "((int)(uVar6 << 9) < 0) &&\n       (iVar8 = FUN_0006a564(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7),\n       iVar8 == 0)" (parenthesized_expression "((int)(uVar6 << 9) < 0)" ( (binary_expression "(int)(uVar6 << 9) < 0" (cast_expression "(int)(uVar6 << 9)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar6 << 9)" ( (binary_expression "uVar6 << 9" identifier << number_literal) ))) < number_literal) )) && (parenthesized_expression "(iVar8 = FUN_0006a564(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7),\n       iVar8 == 0)" ( (comma_expression "iVar8 = FUN_0006a564(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7),\n       iVar8 == 0" (assignment_expression "iVar8 = FUN_0006a564(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7)" identifier = (call_expression "FUN_0006a564(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7)" identifier (argument_list "(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7)" ( identifier , number_literal , number_literal , (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x200" identifier + number_literal) , (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c)" * (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x22c)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x22c" identifier + number_literal) )))) , identifier )))) , (binary_expression "iVar8 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x27d4);\n      FUN_00064864(local_2b8,local_290);\n      if (PTR_DAT_00131178[0x23de] != '\x01') {\n        (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n      }\n      (*unaff_s7)(2);\n      PTR_DAT_00131178[0x23de] = 0;\n      puVar18 = PTR_bb_common_bufsiz1_0013136c;\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      puVar19 = (undefined1 *)0x0;\n      uVar22 = 0;\n      unaff_s0 = (undefined1 *)0x0;\n      puVar21 = local_2c4;\n      goto LAB_000662f4;\n    }" { (expression_statement "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x27d4);" (call_expression "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x27d4)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" ( (pointer_expression "*(code *)PTR_FUN_001311d0" * (cast_expression "(code *)PTR_FUN_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_FUN_001311a4 + -0x27d4)" ( (binary_expression "PTR_FUN_001311a4 + -0x27d4" identifier + number_literal) ))) ;) (expression_statement "FUN_00064864(local_2b8,local_290);" (call_expression "FUN_00064864(local_2b8,local_290)" identifier (argument_list "(local_2b8,local_290)" ( identifier , identifier ))) ;) (if_statement "if (PTR_DAT_00131178[0x23de] != '\x01') {\n        (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n      }" if (parenthesized_expression "(PTR_DAT_00131178[0x23de] != '\x01')" ( (binary_expression "PTR_DAT_00131178[0x23de] != '\x01'" (subscript_expression "PTR_DAT_00131178[0x23de]" identifier [ number_literal ]) != (char_literal "'\x01'" ' escape_sequence ')) )) (compound_statement "{\n        (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n      }" { (expression_statement "(*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);" (call_expression "(*local_2fc)(0,PTR_FUN_001311a4 + -0x2984)" (parenthesized_expression "(*local_2fc)" ( (pointer_expression "*local_2fc" * identifier) )) (argument_list "(0,PTR_FUN_001311a4 + -0x2984)" ( number_literal , (binary_expression "PTR_FUN_001311a4 + -0x2984" identifier + number_literal) ))) ;) })) (expression_statement "(*unaff_s7)(2);" (call_expression "(*unaff_s7)(2)" (parenthesized_expression "(*unaff_s7)" ( (pointer_expression "*unaff_s7" * identifier) )) (argument_list "(2)" ( number_literal ))) ;) (expression_statement "PTR_DAT_00131178[0x23de] = 0;" (assignment_expression "PTR_DAT_00131178[0x23de] = 0" (subscript_expression "PTR_DAT_00131178[0x23de]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar18 = PTR_bb_common_bufsiz1_0013136c;" (assignment_expression "puVar18 = PTR_bb_common_bufsiz1_0013136c" identifier = identifier) ;) (expression_statement "PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;" (assignment_expression "PTR_bb_common_bufsiz1_0013136c[0x24c] = 0" (subscript_expression "PTR_bb_common_bufsiz1_0013136c[0x24c]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar18[0x24d] = 0;" (assignment_expression "puVar18[0x24d] = 0" (subscript_expression "puVar18[0x24d]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar19 = (undefined1 *)0x0;" (assignment_expression "puVar19 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar22 = 0;" (assignment_expression "uVar22 = 0" identifier = number_literal) ;) (expression_statement "unaff_s0 = (undefined1 *)0x0;" (assignment_expression "unaff_s0 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar21 = local_2c4;" (assignment_expression "puVar21 = local_2c4" identifier = identifier) ;) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;) })) (expression_statement "uVar10 = (*(code *)PTR_inet_ntoa_00132140)(local_290);" (assignment_expression "uVar10 = (*(code *)PTR_inet_ntoa_00132140)(local_290)" identifier = (call_expression "(*(code *)PTR_inet_ntoa_00132140)(local_290)" (parenthesized_expression "(*(code *)PTR_inet_ntoa_00132140)" ( (pointer_expression "*(code *)PTR_inet_ntoa_00132140" * (cast_expression "(code *)PTR_inet_ntoa_00132140" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_290)" ( identifier )))) ;) (expression_statement "uVar9 = local_2b4;" (assignment_expression "uVar9 = local_2b4" identifier = identifier) ;) (expression_statement "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x279c,uVar10,local_2b4);" (call_expression "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x279c,uVar10,local_2b4)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" ( (pointer_expression "*(code *)PTR_FUN_001311d0" * (cast_expression "(code *)PTR_FUN_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_FUN_001311a4 + -0x279c,uVar10,local_2b4)" ( (binary_expression "PTR_FUN_001311a4 + -0x279c" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "uVar22 = local_290;" (assignment_expression "uVar22 = local_290" identifier = identifier) ;) (expression_statement "iVar8 = (*(code *)PTR_FUN_001317c0)();" (assignment_expression "iVar8 = (*(code *)PTR_FUN_001317c0)()" identifier = (call_expression "(*(code *)PTR_FUN_001317c0)()" (parenthesized_expression "(*(code *)PTR_FUN_001317c0)" ( (pointer_expression "*(code *)PTR_FUN_001317c0" * (cast_expression "(code *)PTR_FUN_001317c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (PTR_DAT_00131178[0x23de] == '\x01') {\n      puVar18 = PTR_FUN_001311a4 + -0x2978;\n    }\n    else {\n      puVar18 = PTR_FUN_001311a4 + -0x2884;\n    }" if (parenthesized_expression "(PTR_DAT_00131178[0x23de] == '\x01')" ( (binary_expression "PTR_DAT_00131178[0x23de] == '\x01'" (subscript_expression "PTR_DAT_00131178[0x23de]" identifier [ number_literal ]) == (char_literal "'\x01'" ' escape_sequence ')) )) (compound_statement "{\n      puVar18 = PTR_FUN_001311a4 + -0x2978;\n    }" { (expression_statement "puVar18 = PTR_FUN_001311a4 + -0x2978;" (assignment_expression "puVar18 = PTR_FUN_001311a4 + -0x2978" identifier = (binary_expression "PTR_FUN_001311a4 + -0x2978" identifier + number_literal)) ;) }) (else_clause "else {\n      puVar18 = PTR_FUN_001311a4 + -0x2884;\n    }" else (compound_statement "{\n      puVar18 = PTR_FUN_001311a4 + -0x2884;\n    }" { (expression_statement "puVar18 = PTR_FUN_001311a4 + -0x2884;" (assignment_expression "puVar18 = PTR_FUN_001311a4 + -0x2884" identifier = (binary_expression "PTR_FUN_001311a4 + -0x2884" identifier + number_literal)) ;) }))) (expression_statement "(*local_2fc)(auStack_2a0,puVar18);" (call_expression "(*local_2fc)(auStack_2a0,puVar18)" (parenthesized_expression "(*local_2fc)" ( (pointer_expression "*local_2fc" * identifier) )) (argument_list "(auStack_2a0,puVar18)" ( identifier , identifier ))) ;) (expression_statement "iVar11 = (*(code *)PTR_FUN_001317c0)();" (assignment_expression "iVar11 = (*(code *)PTR_FUN_001317c0)()" identifier = (call_expression "(*(code *)PTR_FUN_001317c0)()" (parenthesized_expression "(*(code *)PTR_FUN_001317c0)" ( (pointer_expression "*(code *)PTR_FUN_001317c0" * (cast_expression "(code *)PTR_FUN_001317c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puVar19 = (undefined1 *)(iVar11 - iVar8);" (assignment_expression "puVar19 = (undefined1 *)(iVar11 - iVar8)" identifier = (cast_expression "(undefined1 *)(iVar11 - iVar8)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 - iVar8)" ( (binary_expression "iVar11 - iVar8" identifier - identifier) )))) ;) (expression_statement "puVar21 = (undefined1 *)(uVar9 >> 1);" (assignment_expression "puVar21 = (undefined1 *)(uVar9 >> 1)" identifier = (cast_expression "(undefined1 *)(uVar9 >> 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar9 >> 1)" ( (binary_expression "uVar9 >> 1" identifier >> number_literal) )))) ;) (if_statement "if (puVar21 < puVar19) {\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = puVar20;\n    }" if (parenthesized_expression "(puVar21 < puVar19)" ( (binary_expression "puVar21 < puVar19" identifier < identifier) )) (compound_statement "{\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = puVar20;\n    }" { (expression_statement "puVar19 = (undefined1 *)0x0;" (assignment_expression "puVar19 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar21 = puVar20;" (assignment_expression "puVar21 = puVar20" identifier = identifier) ;) })) (expression_statement "PTR_DAT_00131178[0x23de] = 2;" (assignment_expression "PTR_DAT_00131178[0x23de] = 2" (subscript_expression "PTR_DAT_00131178[0x23de]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "(*unaff_s7)(0);" (call_expression "(*unaff_s7)(0)" (parenthesized_expression "(*unaff_s7)" ( (pointer_expression "*unaff_s7" * identifier) )) (argument_list "(0)" ( number_literal ))) ;) (if_statement "if ((uVar6 & 0x100) == 0) {\n      if ((int)(uVar6 << 0xc) < 0) {\n        uVar6 = uVar6 & 0xffffffbf;\n      }\n      else {\n        FUN_000643f4();\n        uVar6 = uVar6 & 0xffd7ffbf | 0x80000;\n      }\n      goto LAB_000662f4;\n    }" if (parenthesized_expression "((uVar6 & 0x100) == 0)" ( (binary_expression "(uVar6 & 0x100) == 0" (parenthesized_expression "(uVar6 & 0x100)" ( (binary_expression "uVar6 & 0x100" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      if ((int)(uVar6 << 0xc) < 0) {\n        uVar6 = uVar6 & 0xffffffbf;\n      }\n      else {\n        FUN_000643f4();\n        uVar6 = uVar6 & 0xffd7ffbf | 0x80000;\n      }\n      goto LAB_000662f4;\n    }" { (if_statement "if ((int)(uVar6 << 0xc) < 0) {\n        uVar6 = uVar6 & 0xffffffbf;\n      }\n      else {\n        FUN_000643f4();\n        uVar6 = uVar6 & 0xffd7ffbf | 0x80000;\n      }" if (parenthesized_expression "((int)(uVar6 << 0xc) < 0)" ( (binary_expression "(int)(uVar6 << 0xc) < 0" (cast_expression "(int)(uVar6 << 0xc)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar6 << 0xc)" ( (binary_expression "uVar6 << 0xc" identifier << number_literal) ))) < number_literal) )) (compound_statement "{\n        uVar6 = uVar6 & 0xffffffbf;\n      }" { (expression_statement "uVar6 = uVar6 & 0xffffffbf;" (assignment_expression "uVar6 = uVar6 & 0xffffffbf" identifier = (binary_expression "uVar6 & 0xffffffbf" identifier & number_literal)) ;) }) (else_clause "else {\n        FUN_000643f4();\n        uVar6 = uVar6 & 0xffd7ffbf | 0x80000;\n      }" else (compound_statement "{\n        FUN_000643f4();\n        uVar6 = uVar6 & 0xffd7ffbf | 0x80000;\n      }" { (expression_statement "FUN_000643f4();" (call_expression "FUN_000643f4()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar6 = uVar6 & 0xffd7ffbf | 0x80000;" (assignment_expression "uVar6 = uVar6 & 0xffd7ffbf | 0x80000" identifier = (binary_expression "uVar6 & 0xffd7ffbf | 0x80000" (binary_expression "uVar6 & 0xffd7ffbf" identifier & number_literal) | number_literal)) ;) }))) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;) })) }))) (labeled_statement "LAB_00066938:\n  uVar6 = uVar6 & 0x200;" statement_identifier : (expression_statement "uVar6 = uVar6 & 0x200;" (assignment_expression "uVar6 = uVar6 & 0x200" identifier = (binary_expression "uVar6 & 0x200" identifier & number_literal)) ;)) (expression_statement "unaff_s0 = puVar19;" (assignment_expression "unaff_s0 = puVar19" identifier = identifier) ;) (if_statement "if (uVar6 != 0) {\n    FUN_00065bb0(local_2b8,uVar22);\n  }" if (parenthesized_expression "(uVar6 != 0)" ( (binary_expression "uVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_00065bb0(local_2b8,uVar22);\n  }" { (expression_statement "FUN_00065bb0(local_2b8,uVar22);" (call_expression "FUN_00065bb0(local_2b8,uVar22)" identifier (argument_list "(local_2b8,uVar22)" ( identifier , identifier ))) ;) })) (while_statement "while( true ) {\n    if (*PTR_DAT_00131434 != '\0') {\n      (*(code *)PTR_unlink_001320a8)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));\n    }\nLAB_0006654c:\n    if (local_2c == *(int *)PTR___stack_chk_guard_00132164) {\n      return puVar12;\n    }\n    (*(code *)PTR___stack_chk_fail_001320e4)();\n    if ((int)unaff_s4 < 3) {\n      FUN_00064724(local_2f8,local_2b8);\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = unaff_s4 + 1;\n      puVar21 = local_2c0;\n      goto LAB_000662f4;\n    }\n    (*unaff_s7)(2);\n    PTR_DAT_00131178[0x23de] = 0;\n    (*local_2fc)(0,PTR_FUN_001311a4 + -0x28f4);\n    if ((int)(uVar6 << 10) < 0) break;\n    if ((uVar6 & 0x40) == 0) goto LAB_00066624;\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x28c8);\n    puVar12 = &DAT_00000001;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if (*PTR_DAT_00131434 != '\0') {\n      (*(code *)PTR_unlink_001320a8)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));\n    }\nLAB_0006654c:\n    if (local_2c == *(int *)PTR___stack_chk_guard_00132164) {\n      return puVar12;\n    }\n    (*(code *)PTR___stack_chk_fail_001320e4)();\n    if ((int)unaff_s4 < 3) {\n      FUN_00064724(local_2f8,local_2b8);\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = unaff_s4 + 1;\n      puVar21 = local_2c0;\n      goto LAB_000662f4;\n    }\n    (*unaff_s7)(2);\n    PTR_DAT_00131178[0x23de] = 0;\n    (*local_2fc)(0,PTR_FUN_001311a4 + -0x28f4);\n    if ((int)(uVar6 << 10) < 0) break;\n    if ((uVar6 & 0x40) == 0) goto LAB_00066624;\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x28c8);\n    puVar12 = &DAT_00000001;\n  }" { (if_statement "if (*PTR_DAT_00131434 != '\0') {\n      (*(code *)PTR_unlink_001320a8)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));\n    }" if (parenthesized_expression "(*PTR_DAT_00131434 != '\0')" ( (binary_expression "*PTR_DAT_00131434 != '\0'" (pointer_expression "*PTR_DAT_00131434" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      (*(code *)PTR_unlink_001320a8)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));\n    }" { (expression_statement "(*(code *)PTR_unlink_001320a8)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));" (call_expression "(*(code *)PTR_unlink_001320a8)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230))" (parenthesized_expression "(*(code *)PTR_unlink_001320a8)" ( (pointer_expression "*(code *)PTR_unlink_001320a8" * (cast_expression "(code *)PTR_unlink_001320a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230))" ( (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230)" * (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x230)" ( (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x230" identifier + number_literal) )))) ))) ;) })) (labeled_statement "LAB_0006654c:\n    if (local_2c == *(int *)PTR___stack_chk_guard_00132164) {\n      return puVar12;\n    }" statement_identifier : (if_statement "if (local_2c == *(int *)PTR___stack_chk_guard_00132164) {\n      return puVar12;\n    }" if (parenthesized_expression "(local_2c == *(int *)PTR___stack_chk_guard_00132164)" ( (binary_expression "local_2c == *(int *)PTR___stack_chk_guard_00132164" identifier == (pointer_expression "*(int *)PTR___stack_chk_guard_00132164" * (cast_expression "(int *)PTR___stack_chk_guard_00132164" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n      return puVar12;\n    }" { (return_statement "return puVar12;" return identifier ;) }))) (expression_statement "(*(code *)PTR___stack_chk_fail_001320e4)();" (call_expression "(*(code *)PTR___stack_chk_fail_001320e4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_001320e4)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_001320e4" * (cast_expression "(code *)PTR___stack_chk_fail_001320e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if ((int)unaff_s4 < 3) {\n      FUN_00064724(local_2f8,local_2b8);\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = unaff_s4 + 1;\n      puVar21 = local_2c0;\n      goto LAB_000662f4;\n    }" if (parenthesized_expression "((int)unaff_s4 < 3)" ( (binary_expression "(int)unaff_s4 < 3" (cast_expression "(int)unaff_s4" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      FUN_00064724(local_2f8,local_2b8);\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = unaff_s4 + 1;\n      puVar21 = local_2c0;\n      goto LAB_000662f4;\n    }" { (expression_statement "FUN_00064724(local_2f8,local_2b8);" (call_expression "FUN_00064724(local_2f8,local_2b8)" identifier (argument_list "(local_2f8,local_2b8)" ( identifier , identifier ))) ;) (expression_statement "puVar19 = (undefined1 *)0x0;" (assignment_expression "puVar19 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "unaff_s0 = unaff_s4 + 1;" (assignment_expression "unaff_s0 = unaff_s4 + 1" identifier = (binary_expression "unaff_s4 + 1" identifier + number_literal)) ;) (expression_statement "puVar21 = local_2c0;" (assignment_expression "puVar21 = local_2c0" identifier = identifier) ;) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;) })) (expression_statement "(*unaff_s7)(2);" (call_expression "(*unaff_s7)(2)" (parenthesized_expression "(*unaff_s7)" ( (pointer_expression "*unaff_s7" * identifier) )) (argument_list "(2)" ( number_literal ))) ;) (expression_statement "PTR_DAT_00131178[0x23de] = 0;" (assignment_expression "PTR_DAT_00131178[0x23de] = 0" (subscript_expression "PTR_DAT_00131178[0x23de]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "(*local_2fc)(0,PTR_FUN_001311a4 + -0x28f4);" (call_expression "(*local_2fc)(0,PTR_FUN_001311a4 + -0x28f4)" (parenthesized_expression "(*local_2fc)" ( (pointer_expression "*local_2fc" * identifier) )) (argument_list "(0,PTR_FUN_001311a4 + -0x28f4)" ( number_literal , (binary_expression "PTR_FUN_001311a4 + -0x28f4" identifier + number_literal) ))) ;) (if_statement "if ((int)(uVar6 << 10) < 0) break;" if (parenthesized_expression "((int)(uVar6 << 10) < 0)" ( (binary_expression "(int)(uVar6 << 10) < 0" (cast_expression "(int)(uVar6 << 10)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar6 << 10)" ( (binary_expression "uVar6 << 10" identifier << number_literal) ))) < number_literal) )) (break_statement "break;" break ;)) (if_statement "if ((uVar6 & 0x40) == 0) goto LAB_00066624;" if (parenthesized_expression "((uVar6 & 0x40) == 0)" ( (binary_expression "(uVar6 & 0x40) == 0" (parenthesized_expression "(uVar6 & 0x40)" ( (binary_expression "uVar6 & 0x40" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_00066624;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x28c8);" (call_expression "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x28c8)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" ( (pointer_expression "*(code *)PTR_FUN_001311d0" * (cast_expression "(code *)PTR_FUN_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_FUN_001311a4 + -0x28c8)" ( (binary_expression "PTR_FUN_001311a4 + -0x28c8" identifier + number_literal) ))) ;) (expression_statement "puVar12 = &DAT_00000001;" (assignment_expression "puVar12 = &DAT_00000001" identifier = (pointer_expression "&DAT_00000001" & identifier)) ;) })) (expression_statement "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x28e8);" (call_expression "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x28e8)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" ( (pointer_expression "*(code *)PTR_FUN_001311d0" * (cast_expression "(code *)PTR_FUN_001311d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_FUN_001311a4 + -0x28e8)" ( (binary_expression "PTR_FUN_001311a4 + -0x28e8" identifier + number_literal) ))) ;) (expression_statement "FUN_000643f4();" (call_expression "FUN_000643f4()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar6 = uVar6 & 0xffd7ffff | 0x80000;" (assignment_expression "uVar6 = uVar6 & 0xffd7ffff | 0x80000" identifier = (binary_expression "uVar6 & 0xffd7ffff | 0x80000" (binary_expression "uVar6 & 0xffd7ffff" identifier & number_literal) | number_literal)) ;) (labeled_statement "LAB_00066624:\n  puVar19 = (undefined1 *)0x0;" statement_identifier : (expression_statement "puVar19 = (undefined1 *)0x0;" (assignment_expression "puVar19 = (undefined1 *)0x0" identifier = (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (expression_statement "puVar21 = local_2c4;" (assignment_expression "puVar21 = local_2c4" identifier = identifier) ;) (goto_statement "goto LAB_000662f4;" goto statement_identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration (sized_type_specifier short) IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (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 * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , (pointer_expression & IDENT) , (pointer_expression & IDENT) , (pointer_expression & IDENT) , (pointer_expression & IDENT) , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , (pointer_expression & IDENT) , (binary_expression IDENT + LIT) , (pointer_expression & IDENT) , (pointer_expression & IDENT) , (pointer_expression & IDENT) , (pointer_expression & IDENT) , (pointer_expression & IDENT) , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , 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 IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , 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 = (binary_expression IDENT & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression & IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) != LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT >> LIT)) , (binary_expression LIT < IDENT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ (binary_expression (binary_expression IDENT * LIT) + LIT) ])))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ (binary_expression (binary_expression IDENT * LIT) + LIT) ])) >> LIT) )))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression LIT << (parenthesized_expression ( (binary_expression IDENT & LIT) ))) ))) | (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT << LIT) )))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression (parenthesized_expression ( (binary_expression IDENT >> LIT) )) + LIT) ]) = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression LIT << (parenthesized_expression ( (binary_expression IDENT & LIT) ))) ))) | (subscript_expression IDENT [ (binary_expression (parenthesized_expression ( (binary_expression IDENT >> LIT) )) + LIT) ]))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (pointer_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) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , 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 IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , LIT , LIT ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) | LIT)) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = 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 = 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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))))) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_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) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) * LIT)) + LIT) ))))) )))) )) (argument_list ( ))))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT - IDENT) )))) ;) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT) ))))) )))) )) (argument_list ( ))))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT , IDENT )))) ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( LIT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) }))) })) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) ))) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( 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 (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT - IDENT) )))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT - IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < LIT) )) || (parenthesized_expression ( (binary_expression IDENT != IDENT) ))) )) || (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) ))) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , LIT )))) , (binary_expression IDENT != LIT)) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , LIT ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) & LIT) ))) )) (goto_statement goto statement_identifier ;)) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) || (parenthesized_expression ( (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , LIT ))))) , (binary_expression (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * IDENT)) , (binary_expression IDENT == IDENT)) )))) )) ))) )) ))) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( LIT , (binary_expression IDENT + LIT) ))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( LIT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) }))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT << LIT) ))) < LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT , (binary_expression IDENT + LIT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( LIT , (binary_expression IDENT + LIT) ))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( LIT ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT - IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT >> LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT << LIT) ))) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT & LIT) | LIT)) ;) }))) (goto_statement goto statement_identifier ;) })) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return IDENT ;) }))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( LIT ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( LIT , (binary_expression IDENT + LIT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT << LIT) ))) < LIT) )) (break_statement break ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT & LIT) | LIT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })))
(function_definition "undefined1 * FUN_00065d80(undefined4 param_1,undefined4 param_2)\n\n{\n  byte *pbVar1;\n  byte bVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  uint uVar6;\n  undefined4 uVar7;\n  int iVar8;\n  uint uVar9;\n  undefined4 uVar10;\n  int iVar11;\n  undefined1 *puVar12;\n  int iVar13;\n  char *pcVar14;\n  uint *puVar15;\n  uint uVar16;\n  undefined4 extraout_v1;\n  byte *pbVar17;\n  undefined *puVar18;\n  undefined1 *unaff_s0;\n  undefined1 *puVar19;\n  undefined1 *puVar20;\n  undefined1 *puVar21;\n  undefined4 *unaff_s3;\n  undefined1 *unaff_s4;\n  uint uVar22;\n  code *unaff_s7;\n  code *local_2fc;\n  int local_2f8;\n  undefined *local_2f0;\n  code *local_2ec;\n  undefined *local_2e4;\n  char *local_2e0;\n  undefined4 local_2dc;\n  undefined4 local_2d8;\n  undefined4 local_2d4;\n  undefined *local_2d0;\n  int local_2cc;\n  int local_2c8;\n  undefined *local_2c4;\n  undefined *local_2c0;\n  undefined4 local_2bc;\n  uint local_2b8;\n  uint local_2b4;\n  undefined1 auStack_2b0 [14];\n  short local_2a2;\n  undefined1 auStack_2a0 [2];\n  char local_29e;\n  int local_29c;\n  uint local_290;\n  undefined1 auStack_284 [600];\n  int local_2c;\n  \n  puVar18 = PTR_bb_common_bufsiz1_0013136c;\n  local_2c = *(int *)PTR___stack_chk_guard_00132164;\n  local_2d0 = PTR_FUN_001311a4 + -0x2970;\n  local_2cc = 0;\n  local_2c8 = 0;\n  local_2c4 = (undefined1 *)0x14;\n  local_2c0 = (undefined1 *)0x3;\n  local_2bc = 3;\n  *(undefined **)(PTR_bb_common_bufsiz1_0013136c + 0x22c) = PTR_FUN_001311a4 + -0x6598;\n  *(undefined **)(puVar18 + 0x234) = PTR_FUN_001311a4 + -0x2968;\n  local_2e0 = PTR_FUN_001311a4 + -0x294c;\n  uVar6 = (*(code *)PTR_FUN_00131314)\n                    (param_2,PTR_LAB_0013118c + 0x5970,PTR_DAT_001311dc + -0x227c,&local_2e0,\n                     &local_2dc,&local_2dc,&local_2d8,puVar18 + 0x22c,puVar18 + 0x230,&local_2d4,\n                     puVar18 + 0x234,&local_2c0,&local_2bc,&local_2c4,&local_2cc,&local_2c8,\n                     &local_2d0);\n  if ((uVar6 & 0xc) != 0) {\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x293c);\n    uVar7 = FUN_00064458(0xc,local_2dc,0);\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x244) = uVar7;\n  }\n  if ((uVar6 & 0x10) != 0) {\n    iVar8 = FUN_00064458(0x51,local_2d8,3);\n    *(int *)(PTR_bb_common_bufsiz1_0013136c + 0x248) = iVar8;\n    *(undefined1 *)(iVar8 + 2) = 1;\n  }\n  uVar22 = uVar6 & 0x400;\n  if (uVar22 != 0) {\n    uVar22 = (*(code *)PTR_inet_addr_00131d0c)(local_2d4);\n  }\n  uVar7 = (*(code *)PTR_FUN_001313c8)(local_2d0);\n  puVar5 = PTR_FUN_001317ec;\n  puVar4 = PTR_FUN_00131300;\n  puVar3 = PTR_FUN_00131244;\n  puVar18 = PTR_DAT_001311d8;\n  if (local_2cc != 0) {\n    do {\n      unaff_s0 = (undefined1 *)(*(code *)puVar3)(&local_2cc);\n      uVar9 = (*(code *)puVar4)(unaff_s0,0,0);\n      if ((**(int **)puVar18 != 0) || (uVar16 = uVar9 >> 3, 0xfe < uVar9)) {\n        iVar8 = FUN_0006a8c4(unaff_s0,PTR_DAT_001317d8);\n        uVar9 = (uint)(byte)PTR_DAT_001317dc[iVar8 * 2 + 1];\n        uVar16 = (uint)((byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3);\n      }\n      PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c] =\n           (byte)(1 << (uVar9 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c];\n      unaff_s3 = (undefined4 *)puVar4;\n      unaff_s4 = puVar3;\n      unaff_s7 = (code *)puVar5;\n    } while (local_2cc != 0);\n  }\n  puVar18 = PTR_bb_common_bufsiz1_0013136c;\n  if (-1 < (int)(uVar6 << 0xe)) {\n    bVar2 = PTR_DAT_001317dc[1];\n    pbVar17 = PTR_DAT_001317dc;\n    while (bVar2 != 0) {\n      if ((*pbVar17 & 0x10) != 0) {\n        puVar18[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar18[(bVar2 >> 3) + 0x20c];\n      }\n      pbVar1 = pbVar17 + 3;\n      pbVar17 = pbVar17 + 2;\n      bVar2 = *pbVar1;\n    }\n  }\n  puVar3 = PTR_FUN_001312b8;\n  puVar18 = PTR_FUN_00131244;\n  if (local_2c8 != 0) {\n    unaff_s7 = (code *)(PTR_bb_common_bufsiz1_0013136c + 0x238);\n    do {\n      uVar10 = (*(code *)puVar18)(&local_2c8);\n      unaff_s0 = (undefined1 *)(*(code *)puVar3)(uVar10);\n      FUN_0006b074(unaff_s0,unaff_s7,PTR_DAT_001317dc,PTR_DAT_001317d8);\n      (*(code *)PTR_free_00132180)(unaff_s0);\n      unaff_s3 = (undefined4 *)puVar3;\n      unaff_s4 = puVar18;\n    } while (local_2c8 != 0);\n  }\n  iVar8 = FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                       PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                       PTR_bb_common_bufsiz1_0013136c + 0x200);\n  if (iVar8 != 0) {\n    puVar12 = &DAT_00000001;\n    goto LAB_0006654c;\n  }\n  unaff_s3 = (undefined4 *)0x0;\n  if (((uVar6 & 1) == 0) &&\n     (iVar8 = FUN_0006ace8(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x238),0x3d), iVar8 == 0\n     )) {\n    iVar8 = FUN_00064458(0x3d,PTR_FUN_001311a4 + -0x3208,7);\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    *(int *)(PTR_bb_common_bufsiz1_0013136c + 0x23c) = iVar8;\n    *(undefined1 *)(iVar8 + 2) = 1;\n    iVar8 = *(int *)(puVar18 + 0x23c);\n    unaff_s3 = (undefined4 *)(iVar8 + 3);\n    *unaff_s3 = *(undefined4 *)(puVar18 + 0x200);\n    *(undefined *)(iVar8 + 7) = puVar18[0x204];\n    *(undefined *)(iVar8 + 8) = puVar18[0x205];\n  }\n  if (*local_2e0 != '\0') {\n    uVar10 = FUN_00064458(0x3c,local_2e0,0);\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x240) = uVar10;\n  }\n  if ((uVar6 & 0x4000) != 0) {\n    (*(code *)PTR_openlog_00131d98)(*(undefined4 *)PTR_DAT_001311ac,1,0x18);\n    *PTR_DAT_00131250 = *PTR_DAT_00131250 | 2;\n  }\n  (*(code *)PTR_FUN_001316b8)();\n  (*(code *)PTR_FUN_00131440)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));\n  (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2908);\n  FUN_00069ff0();\n  (*(code *)PTR_FUN_001312bc)();\n  (*(code *)PTR_srand_00131f84)(extraout_v1);\n  PTR_DAT_00131178[0x23de] = 0;\n  FUN_00065590(0,PTR_FUN_001311a4 + -0x2984);\n  FUN_00064d8c(2);\n  puVar19 = (undefined1 *)0x0;\n  local_2f0 = PTR_DAT_00131178;\n  unaff_s7 = (code *)(PTR_LAB_00131738 + 0x4d8c);\n  local_2e4 = PTR_FUN_001311a4;\n  local_2fc = (code *)(PTR_LAB_00131738 + 0x5590);\n  local_2ec = (code *)(PTR_LAB_00131738 + 0x496c);\n  puVar12 = (undefined1 *)0x0;\n  unaff_s0 = puVar12;\n  puVar21 = puVar12;\nLAB_000662f4:\n  puVar20 = puVar21;\n  unaff_s4 = unaff_s0;\n  FUN_0006a0c0(auStack_2b0,*(undefined4 *)(local_2f0 + 0x1004));\n  iVar8 = (int)puVar20 - (int)puVar19;\n  unaff_s0 = unaff_s4;\n  if (iVar8 < 1) {\nLAB_00066418:\n    puVar19 = (undefined1 *)\n              FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                           PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                           PTR_bb_common_bufsiz1_0013136c + 0x200);\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    if (puVar19 == (undefined1 *)0x0) {\n      if (unaff_s3 != (undefined4 *)0x0) {\n        *unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);\n        *(undefined *)(unaff_s3 + 1) = puVar18[0x204];\n        *(undefined *)((int)unaff_s3 + 5) = puVar18[0x205];\n      }\n      if ((byte)PTR_DAT_00131178[0x23de] < 6) {\n                    \n                    \n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))\n                            ();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n  }\n  else {\n    iVar11 = (*(code *)PTR_FUN_001317c0)();\n    if (iVar8 < 0x20c49b) {\n      iVar8 = iVar8 * 1000;\n    }\n    else {\n      iVar8 = 0x7fffffff;\n    }\n    iVar8 = (*(code *)PTR_poll_00132060)(auStack_2b0,2,iVar8);\n    puVar21 = puVar20;\n    if (iVar8 < 0) {\n      if (**(int **)PTR_DAT_001311d8 != 4) {\n        iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x5488);\n        goto LAB_00066410;\n      }\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }\nLAB_00066410:\n    if (iVar8 == 0) goto LAB_00066418;\n    iVar8 = FUN_0006a140();\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    if (iVar8 == 0x10) {\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2894);\n      bVar2 = PTR_DAT_00131178[0x23de];\n      if (bVar2 < 7) {\n                    \n                    \n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = puVar12;\n      puVar21 = puVar12;\n      if (bVar2 == 5) {\n        if ((int)puVar20 < 0x3d) {\n          if (0x3b < (int)puVar20) goto LAB_0006666c;\n        }\n        else {\n          puVar20 = (undefined1 *)0x3c;\nLAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);\n          puVar19 = (undefined1 *)0x0;\n          if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }\n        }\n        PTR_DAT_00131178[0x23de] = 4;\n        (*unaff_s7)(2);\n        if ((int)puVar20 < 1) {\n          (*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4);\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n          PTR_DAT_00131178[0x23de] = 0;\n          puVar18 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar18[0x24d] = 0;\n          puVar19 = (undefined1 *)0x0;\n          puVar21 = puVar20;\n        }\n        else {\n          (*local_2ec)(local_2f8,0);\n          puVar19 = (undefined1 *)0x0;\n          unaff_s0 = unaff_s4;\n          puVar21 = (undefined1 *)((int)puVar20 >> 1);\n        }\n      }\n      goto LAB_000662f4;\n    }\n    if (iVar8 == 0x11) {\n      FUN_00065bb0(local_2b8,uVar22);\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n    if (iVar8 == 0xf) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x287c);\n      goto LAB_00066938;\n    }\n    if (local_2a2 == 0) goto LAB_000662f4;\n    if (PTR_DAT_00131178[0x23df] == '\x01') {\n      iVar8 = FUN_00069990(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }\n    else {\n      iVar8 = FUN_00064ae0(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }\n    if (iVar8 == -1) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2868);\n      (*(code *)PTR_sleep_0013211c)(local_2c0);\n      (*unaff_s7)((int)(char)PTR_DAT_00131178[0x23df]);\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }\n    iVar13 = (*(code *)PTR_FUN_001317c0)();\n    puVar19 = puVar19 + (iVar13 - iVar11);\n    if ((((iVar8 < 0) || (local_29c != local_2f8)) || (local_29e != '\x06')) ||\n       (iVar8 = (*(code *)PTR_memcmp_0013212c)(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)\n       , iVar8 != 0)) goto LAB_000662f4;\n    pcVar14 = (char *)FUN_0006a9b8(auStack_2a0,0x35);\n    uVar9 = local_2b8;\n    if (pcVar14 == (char *)0x0) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2844);\n      goto LAB_000662f4;\n    }\n    iVar8 = (int)(char)PTR_DAT_00131178[0x23de];\n    puVar20 = (undefined1 *)0x0;\n    if (iVar8 != 1) {\n      if (iVar8 < 2) {\n        if ((iVar8 == 0) && (*pcVar14 == '\x02')) {\n          local_2b8 = 0;\n          puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36);\n          if (puVar15 == (uint *)0x0) {\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }\n          else {\n            local_2b8 = *puVar15;\n          }\n          PTR_DAT_00131178[0x23de] = 1;\n          puVar19 = (undefined1 *)0x0;\n          uVar22 = local_290;\n          unaff_s0 = puVar20;\n          puVar21 = puVar20;\n        }\n        goto LAB_000662f4;\n      }\n      if (2 < (iVar8 - 3U & 0xff)) goto LAB_000662f4;\n    }\n    if (*pcVar14 != '\x05') {\n      if ((*pcVar14 == '\x06') &&\n         ((local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)))))) {\n        (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x2778);\n        (*local_2fc)(auStack_2a0,PTR_FUN_001311a4 + -0x276c);\n        if (PTR_DAT_00131178[0x23de] != '\x01') {\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n        }\n        (*unaff_s7)(2);\n        (*(code *)PTR_sleep_0013211c)(3);\n        PTR_DAT_00131178[0x23de] = 0;\n        puVar18 = PTR_bb_common_bufsiz1_0013136c;\n        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n        puVar18[0x24d] = 0;\n        puVar19 = (undefined1 *)0x0;\n        uVar22 = 0;\n        unaff_s0 = puVar20;\n        puVar21 = puVar20;\n      }\n      goto LAB_000662f4;\n    }\n    puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x33);\n    if (puVar15 == (uint *)0x0) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2800);\n      local_2b4 = 0xe10;\n    }\n    else {\n      local_2b4 = *puVar15;\n      if (local_2b4 < 0x7a) {\n        local_2b4 = 0x7a;\n      }\n    }\n    if (((int)(uVar6 << 9) < 0) &&\n       (iVar8 = FUN_0006a564(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7),\n       iVar8 == 0)) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x27d4);\n      FUN_00064864(local_2b8,local_290);\n      if (PTR_DAT_00131178[0x23de] != '\x01') {\n        (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n      }\n      (*unaff_s7)(2);\n      PTR_DAT_00131178[0x23de] = 0;\n      puVar18 = PTR_bb_common_bufsiz1_0013136c;\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      puVar19 = (undefined1 *)0x0;\n      uVar22 = 0;\n      unaff_s0 = (undefined1 *)0x0;\n      puVar21 = local_2c4;\n      goto LAB_000662f4;\n    }\n    uVar10 = (*(code *)PTR_inet_ntoa_00132140)(local_290);\n    uVar9 = local_2b4;\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x279c,uVar10,local_2b4);\n    uVar22 = local_290;\n    iVar8 = (*(code *)PTR_FUN_001317c0)();\n    if (PTR_DAT_00131178[0x23de] == '\x01') {\n      puVar18 = PTR_FUN_001311a4 + -0x2978;\n    }\n    else {\n      puVar18 = PTR_FUN_001311a4 + -0x2884;\n    }\n    (*local_2fc)(auStack_2a0,puVar18);\n    iVar11 = (*(code *)PTR_FUN_001317c0)();\n    puVar19 = (undefined1 *)(iVar11 - iVar8);\n    puVar21 = (undefined1 *)(uVar9 >> 1);\n    if (puVar21 < puVar19) {\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = puVar20;\n    }\n    PTR_DAT_00131178[0x23de] = 2;\n    (*unaff_s7)(0);\n    if ((uVar6 & 0x100) == 0) {\n      if ((int)(uVar6 << 0xc) < 0) {\n        uVar6 = uVar6 & 0xffffffbf;\n      }\n      else {\n        FUN_000643f4();\n        uVar6 = uVar6 & 0xffd7ffbf | 0x80000;\n      }\n      goto LAB_000662f4;\n    }\n  }\nLAB_00066938:\n  uVar6 = uVar6 & 0x200;\n  unaff_s0 = puVar19;\n  if (uVar6 != 0) {\n    FUN_00065bb0(local_2b8,uVar22);\n  }\n  while( true ) {\n    if (*PTR_DAT_00131434 != '\0') {\n      (*(code *)PTR_unlink_001320a8)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));\n    }\nLAB_0006654c:\n    if (local_2c == *(int *)PTR___stack_chk_guard_00132164) {\n      return puVar12;\n    }\n    (*(code *)PTR___stack_chk_fail_001320e4)();\n    if ((int)unaff_s4 < 3) {\n      FUN_00064724(local_2f8,local_2b8);\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = unaff_s4 + 1;\n      puVar21 = local_2c0;\n      goto LAB_000662f4;\n    }\n    (*unaff_s7)(2);\n    PTR_DAT_00131178[0x23de] = 0;\n    (*local_2fc)(0,PTR_FUN_001311a4 + -0x28f4);\n    if ((int)(uVar6 << 10) < 0) break;\n    if ((uVar6 & 0x40) == 0) goto LAB_00066624;\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x28c8);\n    puVar12 = &DAT_00000001;\n  }\n  (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x28e8);\n  FUN_000643f4();\n  uVar6 = uVar6 & 0xffd7ffff | 0x80000;\nLAB_00066624:\n  puVar19 = (undefined1 *)0x0;\n  puVar21 = local_2c4;\n  goto LAB_000662f4;\n}" (type_identifier "undefined1") (pointer_declarator "* FUN_00065d80(undefined4 param_1,undefined4 param_2)" (* "*") (function_declarator "FUN_00065d80(undefined4 param_1,undefined4 param_2)" (identifier "FUN_00065d80") (parameter_list "(undefined4 param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")")))) (compound_statement "{\n  byte *pbVar1;\n  byte bVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  uint uVar6;\n  undefined4 uVar7;\n  int iVar8;\n  uint uVar9;\n  undefined4 uVar10;\n  int iVar11;\n  undefined1 *puVar12;\n  int iVar13;\n  char *pcVar14;\n  uint *puVar15;\n  uint uVar16;\n  undefined4 extraout_v1;\n  byte *pbVar17;\n  undefined *puVar18;\n  undefined1 *unaff_s0;\n  undefined1 *puVar19;\n  undefined1 *puVar20;\n  undefined1 *puVar21;\n  undefined4 *unaff_s3;\n  undefined1 *unaff_s4;\n  uint uVar22;\n  code *unaff_s7;\n  code *local_2fc;\n  int local_2f8;\n  undefined *local_2f0;\n  code *local_2ec;\n  undefined *local_2e4;\n  char *local_2e0;\n  undefined4 local_2dc;\n  undefined4 local_2d8;\n  undefined4 local_2d4;\n  undefined *local_2d0;\n  int local_2cc;\n  int local_2c8;\n  undefined *local_2c4;\n  undefined *local_2c0;\n  undefined4 local_2bc;\n  uint local_2b8;\n  uint local_2b4;\n  undefined1 auStack_2b0 [14];\n  short local_2a2;\n  undefined1 auStack_2a0 [2];\n  char local_29e;\n  int local_29c;\n  uint local_290;\n  undefined1 auStack_284 [600];\n  int local_2c;\n  \n  puVar18 = PTR_bb_common_bufsiz1_0013136c;\n  local_2c = *(int *)PTR___stack_chk_guard_00132164;\n  local_2d0 = PTR_FUN_001311a4 + -0x2970;\n  local_2cc = 0;\n  local_2c8 = 0;\n  local_2c4 = (undefined1 *)0x14;\n  local_2c0 = (undefined1 *)0x3;\n  local_2bc = 3;\n  *(undefined **)(PTR_bb_common_bufsiz1_0013136c + 0x22c) = PTR_FUN_001311a4 + -0x6598;\n  *(undefined **)(puVar18 + 0x234) = PTR_FUN_001311a4 + -0x2968;\n  local_2e0 = PTR_FUN_001311a4 + -0x294c;\n  uVar6 = (*(code *)PTR_FUN_00131314)\n                    (param_2,PTR_LAB_0013118c + 0x5970,PTR_DAT_001311dc + -0x227c,&local_2e0,\n                     &local_2dc,&local_2dc,&local_2d8,puVar18 + 0x22c,puVar18 + 0x230,&local_2d4,\n                     puVar18 + 0x234,&local_2c0,&local_2bc,&local_2c4,&local_2cc,&local_2c8,\n                     &local_2d0);\n  if ((uVar6 & 0xc) != 0) {\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x293c);\n    uVar7 = FUN_00064458(0xc,local_2dc,0);\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x244) = uVar7;\n  }\n  if ((uVar6 & 0x10) != 0) {\n    iVar8 = FUN_00064458(0x51,local_2d8,3);\n    *(int *)(PTR_bb_common_bufsiz1_0013136c + 0x248) = iVar8;\n    *(undefined1 *)(iVar8 + 2) = 1;\n  }\n  uVar22 = uVar6 & 0x400;\n  if (uVar22 != 0) {\n    uVar22 = (*(code *)PTR_inet_addr_00131d0c)(local_2d4);\n  }\n  uVar7 = (*(code *)PTR_FUN_001313c8)(local_2d0);\n  puVar5 = PTR_FUN_001317ec;\n  puVar4 = PTR_FUN_00131300;\n  puVar3 = PTR_FUN_00131244;\n  puVar18 = PTR_DAT_001311d8;\n  if (local_2cc != 0) {\n    do {\n      unaff_s0 = (undefined1 *)(*(code *)puVar3)(&local_2cc);\n      uVar9 = (*(code *)puVar4)(unaff_s0,0,0);\n      if ((**(int **)puVar18 != 0) || (uVar16 = uVar9 >> 3, 0xfe < uVar9)) {\n        iVar8 = FUN_0006a8c4(unaff_s0,PTR_DAT_001317d8);\n        uVar9 = (uint)(byte)PTR_DAT_001317dc[iVar8 * 2 + 1];\n        uVar16 = (uint)((byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3);\n      }\n      PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c] =\n           (byte)(1 << (uVar9 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c];\n      unaff_s3 = (undefined4 *)puVar4;\n      unaff_s4 = puVar3;\n      unaff_s7 = (code *)puVar5;\n    } while (local_2cc != 0);\n  }\n  puVar18 = PTR_bb_common_bufsiz1_0013136c;\n  if (-1 < (int)(uVar6 << 0xe)) {\n    bVar2 = PTR_DAT_001317dc[1];\n    pbVar17 = PTR_DAT_001317dc;\n    while (bVar2 != 0) {\n      if ((*pbVar17 & 0x10) != 0) {\n        puVar18[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar18[(bVar2 >> 3) + 0x20c];\n      }\n      pbVar1 = pbVar17 + 3;\n      pbVar17 = pbVar17 + 2;\n      bVar2 = *pbVar1;\n    }\n  }\n  puVar3 = PTR_FUN_001312b8;\n  puVar18 = PTR_FUN_00131244;\n  if (local_2c8 != 0) {\n    unaff_s7 = (code *)(PTR_bb_common_bufsiz1_0013136c + 0x238);\n    do {\n      uVar10 = (*(code *)puVar18)(&local_2c8);\n      unaff_s0 = (undefined1 *)(*(code *)puVar3)(uVar10);\n      FUN_0006b074(unaff_s0,unaff_s7,PTR_DAT_001317dc,PTR_DAT_001317d8);\n      (*(code *)PTR_free_00132180)(unaff_s0);\n      unaff_s3 = (undefined4 *)puVar3;\n      unaff_s4 = puVar18;\n    } while (local_2c8 != 0);\n  }\n  iVar8 = FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                       PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                       PTR_bb_common_bufsiz1_0013136c + 0x200);\n  if (iVar8 != 0) {\n    puVar12 = &DAT_00000001;\n    goto LAB_0006654c;\n  }\n  unaff_s3 = (undefined4 *)0x0;\n  if (((uVar6 & 1) == 0) &&\n     (iVar8 = FUN_0006ace8(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x238),0x3d), iVar8 == 0\n     )) {\n    iVar8 = FUN_00064458(0x3d,PTR_FUN_001311a4 + -0x3208,7);\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    *(int *)(PTR_bb_common_bufsiz1_0013136c + 0x23c) = iVar8;\n    *(undefined1 *)(iVar8 + 2) = 1;\n    iVar8 = *(int *)(puVar18 + 0x23c);\n    unaff_s3 = (undefined4 *)(iVar8 + 3);\n    *unaff_s3 = *(undefined4 *)(puVar18 + 0x200);\n    *(undefined *)(iVar8 + 7) = puVar18[0x204];\n    *(undefined *)(iVar8 + 8) = puVar18[0x205];\n  }\n  if (*local_2e0 != '\0') {\n    uVar10 = FUN_00064458(0x3c,local_2e0,0);\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x240) = uVar10;\n  }\n  if ((uVar6 & 0x4000) != 0) {\n    (*(code *)PTR_openlog_00131d98)(*(undefined4 *)PTR_DAT_001311ac,1,0x18);\n    *PTR_DAT_00131250 = *PTR_DAT_00131250 | 2;\n  }\n  (*(code *)PTR_FUN_001316b8)();\n  (*(code *)PTR_FUN_00131440)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));\n  (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2908);\n  FUN_00069ff0();\n  (*(code *)PTR_FUN_001312bc)();\n  (*(code *)PTR_srand_00131f84)(extraout_v1);\n  PTR_DAT_00131178[0x23de] = 0;\n  FUN_00065590(0,PTR_FUN_001311a4 + -0x2984);\n  FUN_00064d8c(2);\n  puVar19 = (undefined1 *)0x0;\n  local_2f0 = PTR_DAT_00131178;\n  unaff_s7 = (code *)(PTR_LAB_00131738 + 0x4d8c);\n  local_2e4 = PTR_FUN_001311a4;\n  local_2fc = (code *)(PTR_LAB_00131738 + 0x5590);\n  local_2ec = (code *)(PTR_LAB_00131738 + 0x496c);\n  puVar12 = (undefined1 *)0x0;\n  unaff_s0 = puVar12;\n  puVar21 = puVar12;\nLAB_000662f4:\n  puVar20 = puVar21;\n  unaff_s4 = unaff_s0;\n  FUN_0006a0c0(auStack_2b0,*(undefined4 *)(local_2f0 + 0x1004));\n  iVar8 = (int)puVar20 - (int)puVar19;\n  unaff_s0 = unaff_s4;\n  if (iVar8 < 1) {\nLAB_00066418:\n    puVar19 = (undefined1 *)\n              FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                           PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                           PTR_bb_common_bufsiz1_0013136c + 0x200);\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    if (puVar19 == (undefined1 *)0x0) {\n      if (unaff_s3 != (undefined4 *)0x0) {\n        *unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);\n        *(undefined *)(unaff_s3 + 1) = puVar18[0x204];\n        *(undefined *)((int)unaff_s3 + 5) = puVar18[0x205];\n      }\n      if ((byte)PTR_DAT_00131178[0x23de] < 6) {\n                    \n                    \n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))\n                            ();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n  }\n  else {\n    iVar11 = (*(code *)PTR_FUN_001317c0)();\n    if (iVar8 < 0x20c49b) {\n      iVar8 = iVar8 * 1000;\n    }\n    else {\n      iVar8 = 0x7fffffff;\n    }\n    iVar8 = (*(code *)PTR_poll_00132060)(auStack_2b0,2,iVar8);\n    puVar21 = puVar20;\n    if (iVar8 < 0) {\n      if (**(int **)PTR_DAT_001311d8 != 4) {\n        iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x5488);\n        goto LAB_00066410;\n      }\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }\nLAB_00066410:\n    if (iVar8 == 0) goto LAB_00066418;\n    iVar8 = FUN_0006a140();\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    if (iVar8 == 0x10) {\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2894);\n      bVar2 = PTR_DAT_00131178[0x23de];\n      if (bVar2 < 7) {\n                    \n                    \n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = puVar12;\n      puVar21 = puVar12;\n      if (bVar2 == 5) {\n        if ((int)puVar20 < 0x3d) {\n          if (0x3b < (int)puVar20) goto LAB_0006666c;\n        }\n        else {\n          puVar20 = (undefined1 *)0x3c;\nLAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);\n          puVar19 = (undefined1 *)0x0;\n          if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }\n        }\n        PTR_DAT_00131178[0x23de] = 4;\n        (*unaff_s7)(2);\n        if ((int)puVar20 < 1) {\n          (*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4);\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n          PTR_DAT_00131178[0x23de] = 0;\n          puVar18 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar18[0x24d] = 0;\n          puVar19 = (undefined1 *)0x0;\n          puVar21 = puVar20;\n        }\n        else {\n          (*local_2ec)(local_2f8,0);\n          puVar19 = (undefined1 *)0x0;\n          unaff_s0 = unaff_s4;\n          puVar21 = (undefined1 *)((int)puVar20 >> 1);\n        }\n      }\n      goto LAB_000662f4;\n    }\n    if (iVar8 == 0x11) {\n      FUN_00065bb0(local_2b8,uVar22);\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n    if (iVar8 == 0xf) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x287c);\n      goto LAB_00066938;\n    }\n    if (local_2a2 == 0) goto LAB_000662f4;\n    if (PTR_DAT_00131178[0x23df] == '\x01') {\n      iVar8 = FUN_00069990(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }\n    else {\n      iVar8 = FUN_00064ae0(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }\n    if (iVar8 == -1) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2868);\n      (*(code *)PTR_sleep_0013211c)(local_2c0);\n      (*unaff_s7)((int)(char)PTR_DAT_00131178[0x23df]);\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }\n    iVar13 = (*(code *)PTR_FUN_001317c0)();\n    puVar19 = puVar19 + (iVar13 - iVar11);\n    if ((((iVar8 < 0) || (local_29c != local_2f8)) || (local_29e != '\x06')) ||\n       (iVar8 = (*(code *)PTR_memcmp_0013212c)(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)\n       , iVar8 != 0)) goto LAB_000662f4;\n    pcVar14 = (char *)FUN_0006a9b8(auStack_2a0,0x35);\n    uVar9 = local_2b8;\n    if (pcVar14 == (char *)0x0) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2844);\n      goto LAB_000662f4;\n    }\n    iVar8 = (int)(char)PTR_DAT_00131178[0x23de];\n    puVar20 = (undefined1 *)0x0;\n    if (iVar8 != 1) {\n      if (iVar8 < 2) {\n        if ((iVar8 == 0) && (*pcVar14 == '\x02')) {\n          local_2b8 = 0;\n          puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36);\n          if (puVar15 == (uint *)0x0) {\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }\n          else {\n            local_2b8 = *puVar15;\n          }\n          PTR_DAT_00131178[0x23de] = 1;\n          puVar19 = (undefined1 *)0x0;\n          uVar22 = local_290;\n          unaff_s0 = puVar20;\n          puVar21 = puVar20;\n        }\n        goto LAB_000662f4;\n      }\n      if (2 < (iVar8 - 3U & 0xff)) goto LAB_000662f4;\n    }\n    if (*pcVar14 != '\x05') {\n      if ((*pcVar14 == '\x06') &&\n         ((local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)))))) {\n        (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x2778);\n        (*local_2fc)(auStack_2a0,PTR_FUN_001311a4 + -0x276c);\n        if (PTR_DAT_00131178[0x23de] != '\x01') {\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n        }\n        (*unaff_s7)(2);\n        (*(code *)PTR_sleep_0013211c)(3);\n        PTR_DAT_00131178[0x23de] = 0;\n        puVar18 = PTR_bb_common_bufsiz1_0013136c;\n        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n        puVar18[0x24d] = 0;\n        puVar19 = (undefined1 *)0x0;\n        uVar22 = 0;\n        unaff_s0 = puVar20;\n        puVar21 = puVar20;\n      }\n      goto LAB_000662f4;\n    }\n    puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x33);\n    if (puVar15 == (uint *)0x0) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2800);\n      local_2b4 = 0xe10;\n    }\n    else {\n      local_2b4 = *puVar15;\n      if (local_2b4 < 0x7a) {\n        local_2b4 = 0x7a;\n      }\n    }\n    if (((int)(uVar6 << 9) < 0) &&\n       (iVar8 = FUN_0006a564(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7),\n       iVar8 == 0)) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x27d4);\n      FUN_00064864(local_2b8,local_290);\n      if (PTR_DAT_00131178[0x23de] != '\x01') {\n        (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n      }\n      (*unaff_s7)(2);\n      PTR_DAT_00131178[0x23de] = 0;\n      puVar18 = PTR_bb_common_bufsiz1_0013136c;\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      puVar19 = (undefined1 *)0x0;\n      uVar22 = 0;\n      unaff_s0 = (undefined1 *)0x0;\n      puVar21 = local_2c4;\n      goto LAB_000662f4;\n    }\n    uVar10 = (*(code *)PTR_inet_ntoa_00132140)(local_290);\n    uVar9 = local_2b4;\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x279c,uVar10,local_2b4);\n    uVar22 = local_290;\n    iVar8 = (*(code *)PTR_FUN_001317c0)();\n    if (PTR_DAT_00131178[0x23de] == '\x01') {\n      puVar18 = PTR_FUN_001311a4 + -0x2978;\n    }\n    else {\n      puVar18 = PTR_FUN_001311a4 + -0x2884;\n    }\n    (*local_2fc)(auStack_2a0,puVar18);\n    iVar11 = (*(code *)PTR_FUN_001317c0)();\n    puVar19 = (undefined1 *)(iVar11 - iVar8);\n    puVar21 = (undefined1 *)(uVar9 >> 1);\n    if (puVar21 < puVar19) {\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = puVar20;\n    }\n    PTR_DAT_00131178[0x23de] = 2;\n    (*unaff_s7)(0);\n    if ((uVar6 & 0x100) == 0) {\n      if ((int)(uVar6 << 0xc) < 0) {\n        uVar6 = uVar6 & 0xffffffbf;\n      }\n      else {\n        FUN_000643f4();\n        uVar6 = uVar6 & 0xffd7ffbf | 0x80000;\n      }\n      goto LAB_000662f4;\n    }\n  }\nLAB_00066938:\n  uVar6 = uVar6 & 0x200;\n  unaff_s0 = puVar19;\n  if (uVar6 != 0) {\n    FUN_00065bb0(local_2b8,uVar22);\n  }\n  while( true ) {\n    if (*PTR_DAT_00131434 != '\0') {\n      (*(code *)PTR_unlink_001320a8)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));\n    }\nLAB_0006654c:\n    if (local_2c == *(int *)PTR___stack_chk_guard_00132164) {\n      return puVar12;\n    }\n    (*(code *)PTR___stack_chk_fail_001320e4)();\n    if ((int)unaff_s4 < 3) {\n      FUN_00064724(local_2f8,local_2b8);\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = unaff_s4 + 1;\n      puVar21 = local_2c0;\n      goto LAB_000662f4;\n    }\n    (*unaff_s7)(2);\n    PTR_DAT_00131178[0x23de] = 0;\n    (*local_2fc)(0,PTR_FUN_001311a4 + -0x28f4);\n    if ((int)(uVar6 << 10) < 0) break;\n    if ((uVar6 & 0x40) == 0) goto LAB_00066624;\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x28c8);\n    puVar12 = &DAT_00000001;\n  }\n  (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x28e8);\n  FUN_000643f4();\n  uVar6 = uVar6 & 0xffd7ffff | 0x80000;\nLAB_00066624:\n  puVar19 = (undefined1 *)0x0;\n  puVar21 = local_2c4;\n  goto LAB_000662f4;\n}" ({ "{") (declaration "byte *pbVar1;" (type_identifier "byte") (pointer_declarator "*pbVar1" (* "*") (identifier "pbVar1")) (; ";")) (declaration "byte bVar2;" (type_identifier "byte") (identifier "bVar2") (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined *puVar4;" (type_identifier "undefined") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined *puVar5;" (type_identifier "undefined") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "uint uVar9;" (type_identifier "uint") (identifier "uVar9") (; ";")) (declaration "undefined4 uVar10;" (type_identifier "undefined4") (identifier "uVar10") (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "undefined1 *puVar12;" (type_identifier "undefined1") (pointer_declarator "*puVar12" (* "*") (identifier "puVar12")) (; ";")) (declaration "int iVar13;" (primitive_type "int") (identifier "iVar13") (; ";")) (declaration "char *pcVar14;" (primitive_type "char") (pointer_declarator "*pcVar14" (* "*") (identifier "pcVar14")) (; ";")) (declaration "uint *puVar15;" (type_identifier "uint") (pointer_declarator "*puVar15" (* "*") (identifier "puVar15")) (; ";")) (declaration "uint uVar16;" (type_identifier "uint") (identifier "uVar16") (; ";")) (declaration "undefined4 extraout_v1;" (type_identifier "undefined4") (identifier "extraout_v1") (; ";")) (declaration "byte *pbVar17;" (type_identifier "byte") (pointer_declarator "*pbVar17" (* "*") (identifier "pbVar17")) (; ";")) (declaration "undefined *puVar18;" (type_identifier "undefined") (pointer_declarator "*puVar18" (* "*") (identifier "puVar18")) (; ";")) (declaration "undefined1 *unaff_s0;" (type_identifier "undefined1") (pointer_declarator "*unaff_s0" (* "*") (identifier "unaff_s0")) (; ";")) (declaration "undefined1 *puVar19;" (type_identifier "undefined1") (pointer_declarator "*puVar19" (* "*") (identifier "puVar19")) (; ";")) (declaration "undefined1 *puVar20;" (type_identifier "undefined1") (pointer_declarator "*puVar20" (* "*") (identifier "puVar20")) (; ";")) (declaration "undefined1 *puVar21;" (type_identifier "undefined1") (pointer_declarator "*puVar21" (* "*") (identifier "puVar21")) (; ";")) (declaration "undefined4 *unaff_s3;" (type_identifier "undefined4") (pointer_declarator "*unaff_s3" (* "*") (identifier "unaff_s3")) (; ";")) (declaration "undefined1 *unaff_s4;" (type_identifier "undefined1") (pointer_declarator "*unaff_s4" (* "*") (identifier "unaff_s4")) (; ";")) (declaration "uint uVar22;" (type_identifier "uint") (identifier "uVar22") (; ";")) (declaration "code *unaff_s7;" (type_identifier "code") (pointer_declarator "*unaff_s7" (* "*") (identifier "unaff_s7")) (; ";")) (declaration "code *local_2fc;" (type_identifier "code") (pointer_declarator "*local_2fc" (* "*") (identifier "local_2fc")) (; ";")) (declaration "int local_2f8;" (primitive_type "int") (identifier "local_2f8") (; ";")) (declaration "undefined *local_2f0;" (type_identifier "undefined") (pointer_declarator "*local_2f0" (* "*") (identifier "local_2f0")) (; ";")) (declaration "code *local_2ec;" (type_identifier "code") (pointer_declarator "*local_2ec" (* "*") (identifier "local_2ec")) (; ";")) (declaration "undefined *local_2e4;" (type_identifier "undefined") (pointer_declarator "*local_2e4" (* "*") (identifier "local_2e4")) (; ";")) (declaration "char *local_2e0;" (primitive_type "char") (pointer_declarator "*local_2e0" (* "*") (identifier "local_2e0")) (; ";")) (declaration "undefined4 local_2dc;" (type_identifier "undefined4") (identifier "local_2dc") (; ";")) (declaration "undefined4 local_2d8;" (type_identifier "undefined4") (identifier "local_2d8") (; ";")) (declaration "undefined4 local_2d4;" (type_identifier "undefined4") (identifier "local_2d4") (; ";")) (declaration "undefined *local_2d0;" (type_identifier "undefined") (pointer_declarator "*local_2d0" (* "*") (identifier "local_2d0")) (; ";")) (declaration "int local_2cc;" (primitive_type "int") (identifier "local_2cc") (; ";")) (declaration "int local_2c8;" (primitive_type "int") (identifier "local_2c8") (; ";")) (declaration "undefined *local_2c4;" (type_identifier "undefined") (pointer_declarator "*local_2c4" (* "*") (identifier "local_2c4")) (; ";")) (declaration "undefined *local_2c0;" (type_identifier "undefined") (pointer_declarator "*local_2c0" (* "*") (identifier "local_2c0")) (; ";")) (declaration "undefined4 local_2bc;" (type_identifier "undefined4") (identifier "local_2bc") (; ";")) (declaration "uint local_2b8;" (type_identifier "uint") (identifier "local_2b8") (; ";")) (declaration "uint local_2b4;" (type_identifier "uint") (identifier "local_2b4") (; ";")) (declaration "undefined1 auStack_2b0 [14];" (type_identifier "undefined1") (array_declarator "auStack_2b0 [14]" (identifier "auStack_2b0") ([ "[") (number_literal "14") (] "]")) (; ";")) (declaration "short local_2a2;" (sized_type_specifier "short" (short "short")) (identifier "local_2a2") (; ";")) (declaration "undefined1 auStack_2a0 [2];" (type_identifier "undefined1") (array_declarator "auStack_2a0 [2]" (identifier "auStack_2a0") ([ "[") (number_literal "2") (] "]")) (; ";")) (declaration "char local_29e;" (primitive_type "char") (identifier "local_29e") (; ";")) (declaration "int local_29c;" (primitive_type "int") (identifier "local_29c") (; ";")) (declaration "uint local_290;" (type_identifier "uint") (identifier "local_290") (; ";")) (declaration "undefined1 auStack_284 [600];" (type_identifier "undefined1") (array_declarator "auStack_284 [600]" (identifier "auStack_284") ([ "[") (number_literal "600") (] "]")) (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (expression_statement "puVar18 = PTR_bb_common_bufsiz1_0013136c;" (assignment_expression "puVar18 = PTR_bb_common_bufsiz1_0013136c" (identifier "puVar18") (= "=") (identifier "PTR_bb_common_bufsiz1_0013136c")) (; ";")) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_00132164;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_00132164" (identifier "local_2c") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_00132164" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_00132164" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_00132164")))) (; ";")) (expression_statement "local_2d0 = PTR_FUN_001311a4 + -0x2970;" (assignment_expression "local_2d0 = PTR_FUN_001311a4 + -0x2970" (identifier "local_2d0") (= "=") (binary_expression "PTR_FUN_001311a4 + -0x2970" (identifier "PTR_FUN_001311a4") (+ "+") (number_literal "-0x2970"))) (; ";")) (expression_statement "local_2cc = 0;" (assignment_expression "local_2cc = 0" (identifier "local_2cc") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_2c8 = 0;" (assignment_expression "local_2c8 = 0" (identifier "local_2c8") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_2c4 = (undefined1 *)0x14;" (assignment_expression "local_2c4 = (undefined1 *)0x14" (identifier "local_2c4") (= "=") (cast_expression "(undefined1 *)0x14" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x14"))) (; ";")) (expression_statement "local_2c0 = (undefined1 *)0x3;" (assignment_expression "local_2c0 = (undefined1 *)0x3" (identifier "local_2c0") (= "=") (cast_expression "(undefined1 *)0x3" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x3"))) (; ";")) (expression_statement "local_2bc = 3;" (assignment_expression "local_2bc = 3" (identifier "local_2bc") (= "=") (number_literal "3")) (; ";")) (expression_statement "*(undefined **)(PTR_bb_common_bufsiz1_0013136c + 0x22c) = PTR_FUN_001311a4 + -0x6598;" (assignment_expression "*(undefined **)(PTR_bb_common_bufsiz1_0013136c + 0x22c) = PTR_FUN_001311a4 + -0x6598" (pointer_expression "*(undefined **)(PTR_bb_common_bufsiz1_0013136c + 0x22c)" (* "*") (cast_expression "(undefined **)(PTR_bb_common_bufsiz1_0013136c + 0x22c)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x22c)" (( "(") (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x22c" (identifier "PTR_bb_common_bufsiz1_0013136c") (+ "+") (number_literal "0x22c")) () ")")))) (= "=") (binary_expression "PTR_FUN_001311a4 + -0x6598" (identifier "PTR_FUN_001311a4") (+ "+") (number_literal "-0x6598"))) (; ";")) (expression_statement "*(undefined **)(puVar18 + 0x234) = PTR_FUN_001311a4 + -0x2968;" (assignment_expression "*(undefined **)(puVar18 + 0x234) = PTR_FUN_001311a4 + -0x2968" (pointer_expression "*(undefined **)(puVar18 + 0x234)" (* "*") (cast_expression "(undefined **)(puVar18 + 0x234)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar18 + 0x234)" (( "(") (binary_expression "puVar18 + 0x234" (identifier "puVar18") (+ "+") (number_literal "0x234")) () ")")))) (= "=") (binary_expression "PTR_FUN_001311a4 + -0x2968" (identifier "PTR_FUN_001311a4") (+ "+") (number_literal "-0x2968"))) (; ";")) (expression_statement "local_2e0 = PTR_FUN_001311a4 + -0x294c;" (assignment_expression "local_2e0 = PTR_FUN_001311a4 + -0x294c" (identifier "local_2e0") (= "=") (binary_expression "PTR_FUN_001311a4 + -0x294c" (identifier "PTR_FUN_001311a4") (+ "+") (number_literal "-0x294c"))) (; ";")) (expression_statement "uVar6 = (*(code *)PTR_FUN_00131314)\n                    (param_2,PTR_LAB_0013118c + 0x5970,PTR_DAT_001311dc + -0x227c,&local_2e0,\n                     &local_2dc,&local_2dc,&local_2d8,puVar18 + 0x22c,puVar18 + 0x230,&local_2d4,\n                     puVar18 + 0x234,&local_2c0,&local_2bc,&local_2c4,&local_2cc,&local_2c8,\n                     &local_2d0);" (assignment_expression "uVar6 = (*(code *)PTR_FUN_00131314)\n                    (param_2,PTR_LAB_0013118c + 0x5970,PTR_DAT_001311dc + -0x227c,&local_2e0,\n                     &local_2dc,&local_2dc,&local_2d8,puVar18 + 0x22c,puVar18 + 0x230,&local_2d4,\n                     puVar18 + 0x234,&local_2c0,&local_2bc,&local_2c4,&local_2cc,&local_2c8,\n                     &local_2d0)" (identifier "uVar6") (= "=") (call_expression "(*(code *)PTR_FUN_00131314)\n                    (param_2,PTR_LAB_0013118c + 0x5970,PTR_DAT_001311dc + -0x227c,&local_2e0,\n                     &local_2dc,&local_2dc,&local_2d8,puVar18 + 0x22c,puVar18 + 0x230,&local_2d4,\n                     puVar18 + 0x234,&local_2c0,&local_2bc,&local_2c4,&local_2cc,&local_2c8,\n                     &local_2d0)" (parenthesized_expression "(*(code *)PTR_FUN_00131314)" (( "(") (pointer_expression "*(code *)PTR_FUN_00131314" (* "*") (cast_expression "(code *)PTR_FUN_00131314" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_00131314"))) () ")")) (argument_list "(param_2,PTR_LAB_0013118c + 0x5970,PTR_DAT_001311dc + -0x227c,&local_2e0,\n                     &local_2dc,&local_2dc,&local_2d8,puVar18 + 0x22c,puVar18 + 0x230,&local_2d4,\n                     puVar18 + 0x234,&local_2c0,&local_2bc,&local_2c4,&local_2cc,&local_2c8,\n                     &local_2d0)" (( "(") (identifier "param_2") (, ",") (binary_expression "PTR_LAB_0013118c + 0x5970" (identifier "PTR_LAB_0013118c") (+ "+") (number_literal "0x5970")) (, ",") (binary_expression "PTR_DAT_001311dc + -0x227c" (identifier "PTR_DAT_001311dc") (+ "+") (number_literal "-0x227c")) (, ",") (pointer_expression "&local_2e0" (& "&") (identifier "local_2e0")) (, ",") (pointer_expression "&local_2dc" (& "&") (identifier "local_2dc")) (, ",") (pointer_expression "&local_2dc" (& "&") (identifier "local_2dc")) (, ",") (pointer_expression "&local_2d8" (& "&") (identifier "local_2d8")) (, ",") (binary_expression "puVar18 + 0x22c" (identifier "puVar18") (+ "+") (number_literal "0x22c")) (, ",") (binary_expression "puVar18 + 0x230" (identifier "puVar18") (+ "+") (number_literal "0x230")) (, ",") (pointer_expression "&local_2d4" (& "&") (identifier "local_2d4")) (, ",") (binary_expression "puVar18 + 0x234" (identifier "puVar18") (+ "+") (number_literal "0x234")) (, ",") (pointer_expression "&local_2c0" (& "&") (identifier "local_2c0")) (, ",") (pointer_expression "&local_2bc" (& "&") (identifier "local_2bc")) (, ",") (pointer_expression "&local_2c4" (& "&") (identifier "local_2c4")) (, ",") (pointer_expression "&local_2cc" (& "&") (identifier "local_2cc")) (, ",") (pointer_expression "&local_2c8" (& "&") (identifier "local_2c8")) (, ",") (pointer_expression "&local_2d0" (& "&") (identifier "local_2d0")) () ")")))) (; ";")) (if_statement "if ((uVar6 & 0xc) != 0) {\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x293c);\n    uVar7 = FUN_00064458(0xc,local_2dc,0);\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x244) = uVar7;\n  }" (if "if") (parenthesized_expression "((uVar6 & 0xc) != 0)" (( "(") (binary_expression "(uVar6 & 0xc) != 0" (parenthesized_expression "(uVar6 & 0xc)" (( "(") (binary_expression "uVar6 & 0xc" (identifier "uVar6") (& "&") (number_literal "0xc")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x293c);\n    uVar7 = FUN_00064458(0xc,local_2dc,0);\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x244) = uVar7;\n  }" ({ "{") (expression_statement "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x293c);" (call_expression "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x293c)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" (( "(") (pointer_expression "*(code *)PTR_FUN_001311d0" (* "*") (cast_expression "(code *)PTR_FUN_001311d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_001311d0"))) () ")")) (argument_list "(PTR_FUN_001311a4 + -0x293c)" (( "(") (binary_expression "PTR_FUN_001311a4 + -0x293c" (identifier "PTR_FUN_001311a4") (+ "+") (number_literal "-0x293c")) () ")"))) (; ";")) (expression_statement "uVar7 = FUN_00064458(0xc,local_2dc,0);" (assignment_expression "uVar7 = FUN_00064458(0xc,local_2dc,0)" (identifier "uVar7") (= "=") (call_expression "FUN_00064458(0xc,local_2dc,0)" (identifier "FUN_00064458") (argument_list "(0xc,local_2dc,0)" (( "(") (number_literal "0xc") (, ",") (identifier "local_2dc") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x244) = uVar7;" (assignment_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x244) = uVar7" (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x244)" (* "*") (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x244)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x244)" (( "(") (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x244" (identifier "PTR_bb_common_bufsiz1_0013136c") (+ "+") (number_literal "0x244")) () ")")))) (= "=") (identifier "uVar7")) (; ";")) (} "}"))) (if_statement "if ((uVar6 & 0x10) != 0) {\n    iVar8 = FUN_00064458(0x51,local_2d8,3);\n    *(int *)(PTR_bb_common_bufsiz1_0013136c + 0x248) = iVar8;\n    *(undefined1 *)(iVar8 + 2) = 1;\n  }" (if "if") (parenthesized_expression "((uVar6 & 0x10) != 0)" (( "(") (binary_expression "(uVar6 & 0x10) != 0" (parenthesized_expression "(uVar6 & 0x10)" (( "(") (binary_expression "uVar6 & 0x10" (identifier "uVar6") (& "&") (number_literal "0x10")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar8 = FUN_00064458(0x51,local_2d8,3);\n    *(int *)(PTR_bb_common_bufsiz1_0013136c + 0x248) = iVar8;\n    *(undefined1 *)(iVar8 + 2) = 1;\n  }" ({ "{") (expression_statement "iVar8 = FUN_00064458(0x51,local_2d8,3);" (assignment_expression "iVar8 = FUN_00064458(0x51,local_2d8,3)" (identifier "iVar8") (= "=") (call_expression "FUN_00064458(0x51,local_2d8,3)" (identifier "FUN_00064458") (argument_list "(0x51,local_2d8,3)" (( "(") (number_literal "0x51") (, ",") (identifier "local_2d8") (, ",") (number_literal "3") () ")")))) (; ";")) (expression_statement "*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x248) = iVar8;" (assignment_expression "*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x248) = iVar8" (pointer_expression "*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x248)" (* "*") (cast_expression "(int *)(PTR_bb_common_bufsiz1_0013136c + 0x248)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x248)" (( "(") (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x248" (identifier "PTR_bb_common_bufsiz1_0013136c") (+ "+") (number_literal "0x248")) () ")")))) (= "=") (identifier "iVar8")) (; ";")) (expression_statement "*(undefined1 *)(iVar8 + 2) = 1;" (assignment_expression "*(undefined1 *)(iVar8 + 2) = 1" (pointer_expression "*(undefined1 *)(iVar8 + 2)" (* "*") (cast_expression "(undefined1 *)(iVar8 + 2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + 2)" (( "(") (binary_expression "iVar8 + 2" (identifier "iVar8") (+ "+") (number_literal "2")) () ")")))) (= "=") (number_literal "1")) (; ";")) (} "}"))) (expression_statement "uVar22 = uVar6 & 0x400;" (assignment_expression "uVar22 = uVar6 & 0x400" (identifier "uVar22") (= "=") (binary_expression "uVar6 & 0x400" (identifier "uVar6") (& "&") (number_literal "0x400"))) (; ";")) (if_statement "if (uVar22 != 0) {\n    uVar22 = (*(code *)PTR_inet_addr_00131d0c)(local_2d4);\n  }" (if "if") (parenthesized_expression "(uVar22 != 0)" (( "(") (binary_expression "uVar22 != 0" (identifier "uVar22") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar22 = (*(code *)PTR_inet_addr_00131d0c)(local_2d4);\n  }" ({ "{") (expression_statement "uVar22 = (*(code *)PTR_inet_addr_00131d0c)(local_2d4);" (assignment_expression "uVar22 = (*(code *)PTR_inet_addr_00131d0c)(local_2d4)" (identifier "uVar22") (= "=") (call_expression "(*(code *)PTR_inet_addr_00131d0c)(local_2d4)" (parenthesized_expression "(*(code *)PTR_inet_addr_00131d0c)" (( "(") (pointer_expression "*(code *)PTR_inet_addr_00131d0c" (* "*") (cast_expression "(code *)PTR_inet_addr_00131d0c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_inet_addr_00131d0c"))) () ")")) (argument_list "(local_2d4)" (( "(") (identifier "local_2d4") () ")")))) (; ";")) (} "}"))) (expression_statement "uVar7 = (*(code *)PTR_FUN_001313c8)(local_2d0);" (assignment_expression "uVar7 = (*(code *)PTR_FUN_001313c8)(local_2d0)" (identifier "uVar7") (= "=") (call_expression "(*(code *)PTR_FUN_001313c8)(local_2d0)" (parenthesized_expression "(*(code *)PTR_FUN_001313c8)" (( "(") (pointer_expression "*(code *)PTR_FUN_001313c8" (* "*") (cast_expression "(code *)PTR_FUN_001313c8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_001313c8"))) () ")")) (argument_list "(local_2d0)" (( "(") (identifier "local_2d0") () ")")))) (; ";")) (expression_statement "puVar5 = PTR_FUN_001317ec;" (assignment_expression "puVar5 = PTR_FUN_001317ec" (identifier "puVar5") (= "=") (identifier "PTR_FUN_001317ec")) (; ";")) (expression_statement "puVar4 = PTR_FUN_00131300;" (assignment_expression "puVar4 = PTR_FUN_00131300" (identifier "puVar4") (= "=") (identifier "PTR_FUN_00131300")) (; ";")) (expression_statement "puVar3 = PTR_FUN_00131244;" (assignment_expression "puVar3 = PTR_FUN_00131244" (identifier "puVar3") (= "=") (identifier "PTR_FUN_00131244")) (; ";")) (expression_statement "puVar18 = PTR_DAT_001311d8;" (assignment_expression "puVar18 = PTR_DAT_001311d8" (identifier "puVar18") (= "=") (identifier "PTR_DAT_001311d8")) (; ";")) (if_statement "if (local_2cc != 0) {\n    do {\n      unaff_s0 = (undefined1 *)(*(code *)puVar3)(&local_2cc);\n      uVar9 = (*(code *)puVar4)(unaff_s0,0,0);\n      if ((**(int **)puVar18 != 0) || (uVar16 = uVar9 >> 3, 0xfe < uVar9)) {\n        iVar8 = FUN_0006a8c4(unaff_s0,PTR_DAT_001317d8);\n        uVar9 = (uint)(byte)PTR_DAT_001317dc[iVar8 * 2 + 1];\n        uVar16 = (uint)((byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3);\n      }\n      PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c] =\n           (byte)(1 << (uVar9 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c];\n      unaff_s3 = (undefined4 *)puVar4;\n      unaff_s4 = puVar3;\n      unaff_s7 = (code *)puVar5;\n    } while (local_2cc != 0);\n  }" (if "if") (parenthesized_expression "(local_2cc != 0)" (( "(") (binary_expression "local_2cc != 0" (identifier "local_2cc") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    do {\n      unaff_s0 = (undefined1 *)(*(code *)puVar3)(&local_2cc);\n      uVar9 = (*(code *)puVar4)(unaff_s0,0,0);\n      if ((**(int **)puVar18 != 0) || (uVar16 = uVar9 >> 3, 0xfe < uVar9)) {\n        iVar8 = FUN_0006a8c4(unaff_s0,PTR_DAT_001317d8);\n        uVar9 = (uint)(byte)PTR_DAT_001317dc[iVar8 * 2 + 1];\n        uVar16 = (uint)((byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3);\n      }\n      PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c] =\n           (byte)(1 << (uVar9 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c];\n      unaff_s3 = (undefined4 *)puVar4;\n      unaff_s4 = puVar3;\n      unaff_s7 = (code *)puVar5;\n    } while (local_2cc != 0);\n  }" ({ "{") (do_statement "do {\n      unaff_s0 = (undefined1 *)(*(code *)puVar3)(&local_2cc);\n      uVar9 = (*(code *)puVar4)(unaff_s0,0,0);\n      if ((**(int **)puVar18 != 0) || (uVar16 = uVar9 >> 3, 0xfe < uVar9)) {\n        iVar8 = FUN_0006a8c4(unaff_s0,PTR_DAT_001317d8);\n        uVar9 = (uint)(byte)PTR_DAT_001317dc[iVar8 * 2 + 1];\n        uVar16 = (uint)((byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3);\n      }\n      PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c] =\n           (byte)(1 << (uVar9 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c];\n      unaff_s3 = (undefined4 *)puVar4;\n      unaff_s4 = puVar3;\n      unaff_s7 = (code *)puVar5;\n    } while (local_2cc != 0);" (do "do") (compound_statement "{\n      unaff_s0 = (undefined1 *)(*(code *)puVar3)(&local_2cc);\n      uVar9 = (*(code *)puVar4)(unaff_s0,0,0);\n      if ((**(int **)puVar18 != 0) || (uVar16 = uVar9 >> 3, 0xfe < uVar9)) {\n        iVar8 = FUN_0006a8c4(unaff_s0,PTR_DAT_001317d8);\n        uVar9 = (uint)(byte)PTR_DAT_001317dc[iVar8 * 2 + 1];\n        uVar16 = (uint)((byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3);\n      }\n      PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c] =\n           (byte)(1 << (uVar9 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c];\n      unaff_s3 = (undefined4 *)puVar4;\n      unaff_s4 = puVar3;\n      unaff_s7 = (code *)puVar5;\n    }" ({ "{") (expression_statement "unaff_s0 = (undefined1 *)(*(code *)puVar3)(&local_2cc);" (assignment_expression "unaff_s0 = (undefined1 *)(*(code *)puVar3)(&local_2cc)" (identifier "unaff_s0") (= "=") (cast_expression "(undefined1 *)(*(code *)puVar3)(&local_2cc)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)puVar3)(&local_2cc)" (parenthesized_expression "(*(code *)puVar3)" (( "(") (pointer_expression "*(code *)puVar3" (* "*") (cast_expression "(code *)puVar3" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar3"))) () ")")) (argument_list "(&local_2cc)" (( "(") (pointer_expression "&local_2cc" (& "&") (identifier "local_2cc")) () ")"))))) (; ";")) (expression_statement "uVar9 = (*(code *)puVar4)(unaff_s0,0,0);" (assignment_expression "uVar9 = (*(code *)puVar4)(unaff_s0,0,0)" (identifier "uVar9") (= "=") (call_expression "(*(code *)puVar4)(unaff_s0,0,0)" (parenthesized_expression "(*(code *)puVar4)" (( "(") (pointer_expression "*(code *)puVar4" (* "*") (cast_expression "(code *)puVar4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar4"))) () ")")) (argument_list "(unaff_s0,0,0)" (( "(") (identifier "unaff_s0") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if ((**(int **)puVar18 != 0) || (uVar16 = uVar9 >> 3, 0xfe < uVar9)) {\n        iVar8 = FUN_0006a8c4(unaff_s0,PTR_DAT_001317d8);\n        uVar9 = (uint)(byte)PTR_DAT_001317dc[iVar8 * 2 + 1];\n        uVar16 = (uint)((byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3);\n      }" (if "if") (parenthesized_expression "((**(int **)puVar18 != 0) || (uVar16 = uVar9 >> 3, 0xfe < uVar9))" (( "(") (binary_expression "(**(int **)puVar18 != 0) || (uVar16 = uVar9 >> 3, 0xfe < uVar9)" (parenthesized_expression "(**(int **)puVar18 != 0)" (( "(") (binary_expression "**(int **)puVar18 != 0" (pointer_expression "**(int **)puVar18" (* "*") (pointer_expression "*(int **)puVar18" (* "*") (cast_expression "(int **)puVar18" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar18")))) (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(uVar16 = uVar9 >> 3, 0xfe < uVar9)" (( "(") (comma_expression "uVar16 = uVar9 >> 3, 0xfe < uVar9" (assignment_expression "uVar16 = uVar9 >> 3" (identifier "uVar16") (= "=") (binary_expression "uVar9 >> 3" (identifier "uVar9") (>> ">>") (number_literal "3"))) (, ",") (binary_expression "0xfe < uVar9" (number_literal "0xfe") (< "<") (identifier "uVar9"))) () ")"))) () ")")) (compound_statement "{\n        iVar8 = FUN_0006a8c4(unaff_s0,PTR_DAT_001317d8);\n        uVar9 = (uint)(byte)PTR_DAT_001317dc[iVar8 * 2 + 1];\n        uVar16 = (uint)((byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3);\n      }" ({ "{") (expression_statement "iVar8 = FUN_0006a8c4(unaff_s0,PTR_DAT_001317d8);" (assignment_expression "iVar8 = FUN_0006a8c4(unaff_s0,PTR_DAT_001317d8)" (identifier "iVar8") (= "=") (call_expression "FUN_0006a8c4(unaff_s0,PTR_DAT_001317d8)" (identifier "FUN_0006a8c4") (argument_list "(unaff_s0,PTR_DAT_001317d8)" (( "(") (identifier "unaff_s0") (, ",") (identifier "PTR_DAT_001317d8") () ")")))) (; ";")) (expression_statement "uVar9 = (uint)(byte)PTR_DAT_001317dc[iVar8 * 2 + 1];" (assignment_expression "uVar9 = (uint)(byte)PTR_DAT_001317dc[iVar8 * 2 + 1]" (identifier "uVar9") (= "=") (cast_expression "(uint)(byte)PTR_DAT_001317dc[iVar8 * 2 + 1]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (cast_expression "(byte)PTR_DAT_001317dc[iVar8 * 2 + 1]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "PTR_DAT_001317dc[iVar8 * 2 + 1]" (identifier "PTR_DAT_001317dc") ([ "[") (binary_expression "iVar8 * 2 + 1" (binary_expression "iVar8 * 2" (identifier "iVar8") (* "*") (number_literal "2")) (+ "+") (number_literal "1")) (] "]"))))) (; ";")) (expression_statement "uVar16 = (uint)((byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3);" (assignment_expression "uVar16 = (uint)((byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3)" (identifier "uVar16") (= "=") (call_expression "(uint)((byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3)" (( "(") (binary_expression "(byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3" (cast_expression "(byte)PTR_DAT_001317dc[iVar8 * 2 + 1]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "PTR_DAT_001317dc[iVar8 * 2 + 1]" (identifier "PTR_DAT_001317dc") ([ "[") (binary_expression "iVar8 * 2 + 1" (binary_expression "iVar8 * 2" (identifier "iVar8") (* "*") (number_literal "2")) (+ "+") (number_literal "1")) (] "]"))) (>> ">>") (number_literal "3")) () ")")))) (; ";")) (} "}"))) (expression_statement "PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c] =\n           (byte)(1 << (uVar9 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c];" (assignment_expression "PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c] =\n           (byte)(1 << (uVar9 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c]" (subscript_expression "PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c]" (identifier "PTR_bb_common_bufsiz1_0013136c") ([ "[") (binary_expression "uVar16 + 0x20c" (identifier "uVar16") (+ "+") (number_literal "0x20c")) (] "]")) (= "=") (binary_expression "(byte)(1 << (uVar9 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c]" (call_expression "(byte)(1 << (uVar9 & 7))" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(1 << (uVar9 & 7))" (( "(") (binary_expression "1 << (uVar9 & 7)" (number_literal "1") (<< "<<") (parenthesized_expression "(uVar9 & 7)" (( "(") (binary_expression "uVar9 & 7" (identifier "uVar9") (& "&") (number_literal "7")) () ")"))) () ")"))) (| "|") (subscript_expression "PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c]" (identifier "PTR_bb_common_bufsiz1_0013136c") ([ "[") (binary_expression "uVar16 + 0x20c" (identifier "uVar16") (+ "+") (number_literal "0x20c")) (] "]")))) (; ";")) (expression_statement "unaff_s3 = (undefined4 *)puVar4;" (assignment_expression "unaff_s3 = (undefined4 *)puVar4" (identifier "unaff_s3") (= "=") (cast_expression "(undefined4 *)puVar4" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar4"))) (; ";")) (expression_statement "unaff_s4 = puVar3;" (assignment_expression "unaff_s4 = puVar3" (identifier "unaff_s4") (= "=") (identifier "puVar3")) (; ";")) (expression_statement "unaff_s7 = (code *)puVar5;" (assignment_expression "unaff_s7 = (code *)puVar5" (identifier "unaff_s7") (= "=") (cast_expression "(code *)puVar5" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar5"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(local_2cc != 0)" (( "(") (binary_expression "local_2cc != 0" (identifier "local_2cc") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}"))) (expression_statement "puVar18 = PTR_bb_common_bufsiz1_0013136c;" (assignment_expression "puVar18 = PTR_bb_common_bufsiz1_0013136c" (identifier "puVar18") (= "=") (identifier "PTR_bb_common_bufsiz1_0013136c")) (; ";")) (if_statement "if (-1 < (int)(uVar6 << 0xe)) {\n    bVar2 = PTR_DAT_001317dc[1];\n    pbVar17 = PTR_DAT_001317dc;\n    while (bVar2 != 0) {\n      if ((*pbVar17 & 0x10) != 0) {\n        puVar18[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar18[(bVar2 >> 3) + 0x20c];\n      }\n      pbVar1 = pbVar17 + 3;\n      pbVar17 = pbVar17 + 2;\n      bVar2 = *pbVar1;\n    }\n  }" (if "if") (parenthesized_expression "(-1 < (int)(uVar6 << 0xe))" (( "(") (binary_expression "-1 < (int)(uVar6 << 0xe)" (number_literal "-1") (< "<") (cast_expression "(int)(uVar6 << 0xe)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uVar6 << 0xe)" (( "(") (binary_expression "uVar6 << 0xe" (identifier "uVar6") (<< "<<") (number_literal "0xe")) () ")")))) () ")")) (compound_statement "{\n    bVar2 = PTR_DAT_001317dc[1];\n    pbVar17 = PTR_DAT_001317dc;\n    while (bVar2 != 0) {\n      if ((*pbVar17 & 0x10) != 0) {\n        puVar18[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar18[(bVar2 >> 3) + 0x20c];\n      }\n      pbVar1 = pbVar17 + 3;\n      pbVar17 = pbVar17 + 2;\n      bVar2 = *pbVar1;\n    }\n  }" ({ "{") (expression_statement "bVar2 = PTR_DAT_001317dc[1];" (assignment_expression "bVar2 = PTR_DAT_001317dc[1]" (identifier "bVar2") (= "=") (subscript_expression "PTR_DAT_001317dc[1]" (identifier "PTR_DAT_001317dc") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "pbVar17 = PTR_DAT_001317dc;" (assignment_expression "pbVar17 = PTR_DAT_001317dc" (identifier "pbVar17") (= "=") (identifier "PTR_DAT_001317dc")) (; ";")) (while_statement "while (bVar2 != 0) {\n      if ((*pbVar17 & 0x10) != 0) {\n        puVar18[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar18[(bVar2 >> 3) + 0x20c];\n      }\n      pbVar1 = pbVar17 + 3;\n      pbVar17 = pbVar17 + 2;\n      bVar2 = *pbVar1;\n    }" (while "while") (parenthesized_expression "(bVar2 != 0)" (( "(") (binary_expression "bVar2 != 0" (identifier "bVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      if ((*pbVar17 & 0x10) != 0) {\n        puVar18[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar18[(bVar2 >> 3) + 0x20c];\n      }\n      pbVar1 = pbVar17 + 3;\n      pbVar17 = pbVar17 + 2;\n      bVar2 = *pbVar1;\n    }" ({ "{") (if_statement "if ((*pbVar17 & 0x10) != 0) {\n        puVar18[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar18[(bVar2 >> 3) + 0x20c];\n      }" (if "if") (parenthesized_expression "((*pbVar17 & 0x10) != 0)" (( "(") (binary_expression "(*pbVar17 & 0x10) != 0" (parenthesized_expression "(*pbVar17 & 0x10)" (( "(") (binary_expression "*pbVar17 & 0x10" (pointer_expression "*pbVar17" (* "*") (identifier "pbVar17")) (& "&") (number_literal "0x10")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        puVar18[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar18[(bVar2 >> 3) + 0x20c];\n      }" ({ "{") (expression_statement "puVar18[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar18[(bVar2 >> 3) + 0x20c];" (assignment_expression "puVar18[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar18[(bVar2 >> 3) + 0x20c]" (subscript_expression "puVar18[(bVar2 >> 3) + 0x20c]" (identifier "puVar18") ([ "[") (binary_expression "(bVar2 >> 3) + 0x20c" (parenthesized_expression "(bVar2 >> 3)" (( "(") (binary_expression "bVar2 >> 3" (identifier "bVar2") (>> ">>") (number_literal "3")) () ")")) (+ "+") (number_literal "0x20c")) (] "]")) (= "=") (binary_expression "(byte)(1 << (bVar2 & 7)) | puVar18[(bVar2 >> 3) + 0x20c]" (call_expression "(byte)(1 << (bVar2 & 7))" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(1 << (bVar2 & 7))" (( "(") (binary_expression "1 << (bVar2 & 7)" (number_literal "1") (<< "<<") (parenthesized_expression "(bVar2 & 7)" (( "(") (binary_expression "bVar2 & 7" (identifier "bVar2") (& "&") (number_literal "7")) () ")"))) () ")"))) (| "|") (subscript_expression "puVar18[(bVar2 >> 3) + 0x20c]" (identifier "puVar18") ([ "[") (binary_expression "(bVar2 >> 3) + 0x20c" (parenthesized_expression "(bVar2 >> 3)" (( "(") (binary_expression "bVar2 >> 3" (identifier "bVar2") (>> ">>") (number_literal "3")) () ")")) (+ "+") (number_literal "0x20c")) (] "]")))) (; ";")) (} "}"))) (expression_statement "pbVar1 = pbVar17 + 3;" (assignment_expression "pbVar1 = pbVar17 + 3" (identifier "pbVar1") (= "=") (binary_expression "pbVar17 + 3" (identifier "pbVar17") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "pbVar17 = pbVar17 + 2;" (assignment_expression "pbVar17 = pbVar17 + 2" (identifier "pbVar17") (= "=") (binary_expression "pbVar17 + 2" (identifier "pbVar17") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "bVar2 = *pbVar1;" (assignment_expression "bVar2 = *pbVar1" (identifier "bVar2") (= "=") (pointer_expression "*pbVar1" (* "*") (identifier "pbVar1"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "puVar3 = PTR_FUN_001312b8;" (assignment_expression "puVar3 = PTR_FUN_001312b8" (identifier "puVar3") (= "=") (identifier "PTR_FUN_001312b8")) (; ";")) (expression_statement "puVar18 = PTR_FUN_00131244;" (assignment_expression "puVar18 = PTR_FUN_00131244" (identifier "puVar18") (= "=") (identifier "PTR_FUN_00131244")) (; ";")) (if_statement "if (local_2c8 != 0) {\n    unaff_s7 = (code *)(PTR_bb_common_bufsiz1_0013136c + 0x238);\n    do {\n      uVar10 = (*(code *)puVar18)(&local_2c8);\n      unaff_s0 = (undefined1 *)(*(code *)puVar3)(uVar10);\n      FUN_0006b074(unaff_s0,unaff_s7,PTR_DAT_001317dc,PTR_DAT_001317d8);\n      (*(code *)PTR_free_00132180)(unaff_s0);\n      unaff_s3 = (undefined4 *)puVar3;\n      unaff_s4 = puVar18;\n    } while (local_2c8 != 0);\n  }" (if "if") (parenthesized_expression "(local_2c8 != 0)" (( "(") (binary_expression "local_2c8 != 0" (identifier "local_2c8") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    unaff_s7 = (code *)(PTR_bb_common_bufsiz1_0013136c + 0x238);\n    do {\n      uVar10 = (*(code *)puVar18)(&local_2c8);\n      unaff_s0 = (undefined1 *)(*(code *)puVar3)(uVar10);\n      FUN_0006b074(unaff_s0,unaff_s7,PTR_DAT_001317dc,PTR_DAT_001317d8);\n      (*(code *)PTR_free_00132180)(unaff_s0);\n      unaff_s3 = (undefined4 *)puVar3;\n      unaff_s4 = puVar18;\n    } while (local_2c8 != 0);\n  }" ({ "{") (expression_statement "unaff_s7 = (code *)(PTR_bb_common_bufsiz1_0013136c + 0x238);" (assignment_expression "unaff_s7 = (code *)(PTR_bb_common_bufsiz1_0013136c + 0x238)" (identifier "unaff_s7") (= "=") (cast_expression "(code *)(PTR_bb_common_bufsiz1_0013136c + 0x238)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x238)" (( "(") (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x238" (identifier "PTR_bb_common_bufsiz1_0013136c") (+ "+") (number_literal "0x238")) () ")")))) (; ";")) (do_statement "do {\n      uVar10 = (*(code *)puVar18)(&local_2c8);\n      unaff_s0 = (undefined1 *)(*(code *)puVar3)(uVar10);\n      FUN_0006b074(unaff_s0,unaff_s7,PTR_DAT_001317dc,PTR_DAT_001317d8);\n      (*(code *)PTR_free_00132180)(unaff_s0);\n      unaff_s3 = (undefined4 *)puVar3;\n      unaff_s4 = puVar18;\n    } while (local_2c8 != 0);" (do "do") (compound_statement "{\n      uVar10 = (*(code *)puVar18)(&local_2c8);\n      unaff_s0 = (undefined1 *)(*(code *)puVar3)(uVar10);\n      FUN_0006b074(unaff_s0,unaff_s7,PTR_DAT_001317dc,PTR_DAT_001317d8);\n      (*(code *)PTR_free_00132180)(unaff_s0);\n      unaff_s3 = (undefined4 *)puVar3;\n      unaff_s4 = puVar18;\n    }" ({ "{") (expression_statement "uVar10 = (*(code *)puVar18)(&local_2c8);" (assignment_expression "uVar10 = (*(code *)puVar18)(&local_2c8)" (identifier "uVar10") (= "=") (call_expression "(*(code *)puVar18)(&local_2c8)" (parenthesized_expression "(*(code *)puVar18)" (( "(") (pointer_expression "*(code *)puVar18" (* "*") (cast_expression "(code *)puVar18" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar18"))) () ")")) (argument_list "(&local_2c8)" (( "(") (pointer_expression "&local_2c8" (& "&") (identifier "local_2c8")) () ")")))) (; ";")) (expression_statement "unaff_s0 = (undefined1 *)(*(code *)puVar3)(uVar10);" (assignment_expression "unaff_s0 = (undefined1 *)(*(code *)puVar3)(uVar10)" (identifier "unaff_s0") (= "=") (cast_expression "(undefined1 *)(*(code *)puVar3)(uVar10)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)puVar3)(uVar10)" (parenthesized_expression "(*(code *)puVar3)" (( "(") (pointer_expression "*(code *)puVar3" (* "*") (cast_expression "(code *)puVar3" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar3"))) () ")")) (argument_list "(uVar10)" (( "(") (identifier "uVar10") () ")"))))) (; ";")) (expression_statement "FUN_0006b074(unaff_s0,unaff_s7,PTR_DAT_001317dc,PTR_DAT_001317d8);" (call_expression "FUN_0006b074(unaff_s0,unaff_s7,PTR_DAT_001317dc,PTR_DAT_001317d8)" (identifier "FUN_0006b074") (argument_list "(unaff_s0,unaff_s7,PTR_DAT_001317dc,PTR_DAT_001317d8)" (( "(") (identifier "unaff_s0") (, ",") (identifier "unaff_s7") (, ",") (identifier "PTR_DAT_001317dc") (, ",") (identifier "PTR_DAT_001317d8") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_free_00132180)(unaff_s0);" (call_expression "(*(code *)PTR_free_00132180)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_free_00132180)" (( "(") (pointer_expression "*(code *)PTR_free_00132180" (* "*") (cast_expression "(code *)PTR_free_00132180" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_00132180"))) () ")")) (argument_list "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")"))) (; ";")) (expression_statement "unaff_s3 = (undefined4 *)puVar3;" (assignment_expression "unaff_s3 = (undefined4 *)puVar3" (identifier "unaff_s3") (= "=") (cast_expression "(undefined4 *)puVar3" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar3"))) (; ";")) (expression_statement "unaff_s4 = puVar18;" (assignment_expression "unaff_s4 = puVar18" (identifier "unaff_s4") (= "=") (identifier "puVar18")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(local_2c8 != 0)" (( "(") (binary_expression "local_2c8 != 0" (identifier "local_2c8") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}"))) (expression_statement "iVar8 = FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                       PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                       PTR_bb_common_bufsiz1_0013136c + 0x200);" (assignment_expression "iVar8 = FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                       PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                       PTR_bb_common_bufsiz1_0013136c + 0x200)" (identifier "iVar8") (= "=") (call_expression "FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                       PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                       PTR_bb_common_bufsiz1_0013136c + 0x200)" (identifier "FUN_0006a1c0") (argument_list "(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                       PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                       PTR_bb_common_bufsiz1_0013136c + 0x200)" (( "(") (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c)" (* "*") (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x22c)" (( "(") (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x22c" (identifier "PTR_bb_common_bufsiz1_0013136c") (+ "+") (number_literal "0x22c")) () ")")))) (, ",") (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x208" (identifier "PTR_bb_common_bufsiz1_0013136c") (+ "+") (number_literal "0x208")) (, ",") (number_literal "0") (, ",") (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x200" (identifier "PTR_bb_common_bufsiz1_0013136c") (+ "+") (number_literal "0x200")) () ")")))) (; ";")) (if_statement "if (iVar8 != 0) {\n    puVar12 = &DAT_00000001;\n    goto LAB_0006654c;\n  }" (if "if") (parenthesized_expression "(iVar8 != 0)" (( "(") (binary_expression "iVar8 != 0" (identifier "iVar8") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    puVar12 = &DAT_00000001;\n    goto LAB_0006654c;\n  }" ({ "{") (expression_statement "puVar12 = &DAT_00000001;" (assignment_expression "puVar12 = &DAT_00000001" (identifier "puVar12") (= "=") (pointer_expression "&DAT_00000001" (& "&") (identifier "DAT_00000001"))) (; ";")) (goto_statement "goto LAB_0006654c;" (goto "goto") (statement_identifier "LAB_0006654c") (; ";")) (} "}"))) (expression_statement "unaff_s3 = (undefined4 *)0x0;" (assignment_expression "unaff_s3 = (undefined4 *)0x0" (identifier "unaff_s3") (= "=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (if_statement "if (((uVar6 & 1) == 0) &&\n     (iVar8 = FUN_0006ace8(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x238),0x3d), iVar8 == 0\n     )) {\n    iVar8 = FUN_00064458(0x3d,PTR_FUN_001311a4 + -0x3208,7);\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    *(int *)(PTR_bb_common_bufsiz1_0013136c + 0x23c) = iVar8;\n    *(undefined1 *)(iVar8 + 2) = 1;\n    iVar8 = *(int *)(puVar18 + 0x23c);\n    unaff_s3 = (undefined4 *)(iVar8 + 3);\n    *unaff_s3 = *(undefined4 *)(puVar18 + 0x200);\n    *(undefined *)(iVar8 + 7) = puVar18[0x204];\n    *(undefined *)(iVar8 + 8) = puVar18[0x205];\n  }" (if "if") (parenthesized_expression "(((uVar6 & 1) == 0) &&\n     (iVar8 = FUN_0006ace8(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x238),0x3d), iVar8 == 0\n     ))" (( "(") (binary_expression "((uVar6 & 1) == 0) &&\n     (iVar8 = FUN_0006ace8(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x238),0x3d), iVar8 == 0\n     )" (parenthesized_expression "((uVar6 & 1) == 0)" (( "(") (binary_expression "(uVar6 & 1) == 0" (parenthesized_expression "(uVar6 & 1)" (( "(") (binary_expression "uVar6 & 1" (identifier "uVar6") (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar8 = FUN_0006ace8(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x238),0x3d), iVar8 == 0\n     )" (( "(") (comma_expression "iVar8 = FUN_0006ace8(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x238),0x3d), iVar8 == 0" (assignment_expression "iVar8 = FUN_0006ace8(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x238),0x3d)" (identifier "iVar8") (= "=") (call_expression "FUN_0006ace8(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x238),0x3d)" (identifier "FUN_0006ace8") (argument_list "(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x238),0x3d)" (( "(") (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x238)" (* "*") (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x238)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x238)" (( "(") (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x238" (identifier "PTR_bb_common_bufsiz1_0013136c") (+ "+") (number_literal "0x238")) () ")")))) (, ",") (number_literal "0x3d") () ")")))) (, ",") (binary_expression "iVar8 == 0" (identifier "iVar8") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    iVar8 = FUN_00064458(0x3d,PTR_FUN_001311a4 + -0x3208,7);\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    *(int *)(PTR_bb_common_bufsiz1_0013136c + 0x23c) = iVar8;\n    *(undefined1 *)(iVar8 + 2) = 1;\n    iVar8 = *(int *)(puVar18 + 0x23c);\n    unaff_s3 = (undefined4 *)(iVar8 + 3);\n    *unaff_s3 = *(undefined4 *)(puVar18 + 0x200);\n    *(undefined *)(iVar8 + 7) = puVar18[0x204];\n    *(undefined *)(iVar8 + 8) = puVar18[0x205];\n  }" ({ "{") (expression_statement "iVar8 = FUN_00064458(0x3d,PTR_FUN_001311a4 + -0x3208,7);" (assignment_expression "iVar8 = FUN_00064458(0x3d,PTR_FUN_001311a4 + -0x3208,7)" (identifier "iVar8") (= "=") (call_expression "FUN_00064458(0x3d,PTR_FUN_001311a4 + -0x3208,7)" (identifier "FUN_00064458") (argument_list "(0x3d,PTR_FUN_001311a4 + -0x3208,7)" (( "(") (number_literal "0x3d") (, ",") (binary_expression "PTR_FUN_001311a4 + -0x3208" (identifier "PTR_FUN_001311a4") (+ "+") (number_literal "-0x3208")) (, ",") (number_literal "7") () ")")))) (; ";")) (expression_statement "puVar18 = PTR_bb_common_bufsiz1_0013136c;" (assignment_expression "puVar18 = PTR_bb_common_bufsiz1_0013136c" (identifier "puVar18") (= "=") (identifier "PTR_bb_common_bufsiz1_0013136c")) (; ";")) (expression_statement "*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x23c) = iVar8;" (assignment_expression "*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x23c) = iVar8" (pointer_expression "*(int *)(PTR_bb_common_bufsiz1_0013136c + 0x23c)" (* "*") (cast_expression "(int *)(PTR_bb_common_bufsiz1_0013136c + 0x23c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x23c)" (( "(") (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x23c" (identifier "PTR_bb_common_bufsiz1_0013136c") (+ "+") (number_literal "0x23c")) () ")")))) (= "=") (identifier "iVar8")) (; ";")) (expression_statement "*(undefined1 *)(iVar8 + 2) = 1;" (assignment_expression "*(undefined1 *)(iVar8 + 2) = 1" (pointer_expression "*(undefined1 *)(iVar8 + 2)" (* "*") (cast_expression "(undefined1 *)(iVar8 + 2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + 2)" (( "(") (binary_expression "iVar8 + 2" (identifier "iVar8") (+ "+") (number_literal "2")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "iVar8 = *(int *)(puVar18 + 0x23c);" (assignment_expression "iVar8 = *(int *)(puVar18 + 0x23c)" (identifier "iVar8") (= "=") (pointer_expression "*(int *)(puVar18 + 0x23c)" (* "*") (cast_expression "(int *)(puVar18 + 0x23c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar18 + 0x23c)" (( "(") (binary_expression "puVar18 + 0x23c" (identifier "puVar18") (+ "+") (number_literal "0x23c")) () ")"))))) (; ";")) (expression_statement "unaff_s3 = (undefined4 *)(iVar8 + 3);" (assignment_expression "unaff_s3 = (undefined4 *)(iVar8 + 3)" (identifier "unaff_s3") (= "=") (cast_expression "(undefined4 *)(iVar8 + 3)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + 3)" (( "(") (binary_expression "iVar8 + 3" (identifier "iVar8") (+ "+") (number_literal "3")) () ")")))) (; ";")) (expression_statement "*unaff_s3 = *(undefined4 *)(puVar18 + 0x200);" (assignment_expression "*unaff_s3 = *(undefined4 *)(puVar18 + 0x200)" (pointer_expression "*unaff_s3" (* "*") (identifier "unaff_s3")) (= "=") (pointer_expression "*(undefined4 *)(puVar18 + 0x200)" (* "*") (cast_expression "(undefined4 *)(puVar18 + 0x200)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar18 + 0x200)" (( "(") (binary_expression "puVar18 + 0x200" (identifier "puVar18") (+ "+") (number_literal "0x200")) () ")"))))) (; ";")) (expression_statement "*(undefined *)(iVar8 + 7) = puVar18[0x204];" (assignment_expression "*(undefined *)(iVar8 + 7) = puVar18[0x204]" (pointer_expression "*(undefined *)(iVar8 + 7)" (* "*") (cast_expression "(undefined *)(iVar8 + 7)" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + 7)" (( "(") (binary_expression "iVar8 + 7" (identifier "iVar8") (+ "+") (number_literal "7")) () ")")))) (= "=") (subscript_expression "puVar18[0x204]" (identifier "puVar18") ([ "[") (number_literal "0x204") (] "]"))) (; ";")) (expression_statement "*(undefined *)(iVar8 + 8) = puVar18[0x205];" (assignment_expression "*(undefined *)(iVar8 + 8) = puVar18[0x205]" (pointer_expression "*(undefined *)(iVar8 + 8)" (* "*") (cast_expression "(undefined *)(iVar8 + 8)" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + 8)" (( "(") (binary_expression "iVar8 + 8" (identifier "iVar8") (+ "+") (number_literal "8")) () ")")))) (= "=") (subscript_expression "puVar18[0x205]" (identifier "puVar18") ([ "[") (number_literal "0x205") (] "]"))) (; ";")) (} "}"))) (if_statement "if (*local_2e0 != '\0') {\n    uVar10 = FUN_00064458(0x3c,local_2e0,0);\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x240) = uVar10;\n  }" (if "if") (parenthesized_expression "(*local_2e0 != '\0')" (( "(") (binary_expression "*local_2e0 != '\0'" (pointer_expression "*local_2e0" (* "*") (identifier "local_2e0")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    uVar10 = FUN_00064458(0x3c,local_2e0,0);\n    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x240) = uVar10;\n  }" ({ "{") (expression_statement "uVar10 = FUN_00064458(0x3c,local_2e0,0);" (assignment_expression "uVar10 = FUN_00064458(0x3c,local_2e0,0)" (identifier "uVar10") (= "=") (call_expression "FUN_00064458(0x3c,local_2e0,0)" (identifier "FUN_00064458") (argument_list "(0x3c,local_2e0,0)" (( "(") (number_literal "0x3c") (, ",") (identifier "local_2e0") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x240) = uVar10;" (assignment_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x240) = uVar10" (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x240)" (* "*") (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x240)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x240)" (( "(") (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x240" (identifier "PTR_bb_common_bufsiz1_0013136c") (+ "+") (number_literal "0x240")) () ")")))) (= "=") (identifier "uVar10")) (; ";")) (} "}"))) (if_statement "if ((uVar6 & 0x4000) != 0) {\n    (*(code *)PTR_openlog_00131d98)(*(undefined4 *)PTR_DAT_001311ac,1,0x18);\n    *PTR_DAT_00131250 = *PTR_DAT_00131250 | 2;\n  }" (if "if") (parenthesized_expression "((uVar6 & 0x4000) != 0)" (( "(") (binary_expression "(uVar6 & 0x4000) != 0" (parenthesized_expression "(uVar6 & 0x4000)" (( "(") (binary_expression "uVar6 & 0x4000" (identifier "uVar6") (& "&") (number_literal "0x4000")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)PTR_openlog_00131d98)(*(undefined4 *)PTR_DAT_001311ac,1,0x18);\n    *PTR_DAT_00131250 = *PTR_DAT_00131250 | 2;\n  }" ({ "{") (expression_statement "(*(code *)PTR_openlog_00131d98)(*(undefined4 *)PTR_DAT_001311ac,1,0x18);" (call_expression "(*(code *)PTR_openlog_00131d98)(*(undefined4 *)PTR_DAT_001311ac,1,0x18)" (parenthesized_expression "(*(code *)PTR_openlog_00131d98)" (( "(") (pointer_expression "*(code *)PTR_openlog_00131d98" (* "*") (cast_expression "(code *)PTR_openlog_00131d98" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_openlog_00131d98"))) () ")")) (argument_list "(*(undefined4 *)PTR_DAT_001311ac,1,0x18)" (( "(") (pointer_expression "*(undefined4 *)PTR_DAT_001311ac" (* "*") (cast_expression "(undefined4 *)PTR_DAT_001311ac" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DAT_001311ac"))) (, ",") (number_literal "1") (, ",") (number_literal "0x18") () ")"))) (; ";")) (expression_statement "*PTR_DAT_00131250 = *PTR_DAT_00131250 | 2;" (assignment_expression "*PTR_DAT_00131250 = *PTR_DAT_00131250 | 2" (pointer_expression "*PTR_DAT_00131250" (* "*") (identifier "PTR_DAT_00131250")) (= "=") (binary_expression "*PTR_DAT_00131250 | 2" (pointer_expression "*PTR_DAT_00131250" (* "*") (identifier "PTR_DAT_00131250")) (| "|") (number_literal "2"))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_FUN_001316b8)();" (call_expression "(*(code *)PTR_FUN_001316b8)()" (parenthesized_expression "(*(code *)PTR_FUN_001316b8)" (( "(") (pointer_expression "*(code *)PTR_FUN_001316b8" (* "*") (cast_expression "(code *)PTR_FUN_001316b8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_001316b8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_FUN_00131440)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));" (call_expression "(*(code *)PTR_FUN_00131440)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230))" (parenthesized_expression "(*(code *)PTR_FUN_00131440)" (( "(") (pointer_expression "*(code *)PTR_FUN_00131440" (* "*") (cast_expression "(code *)PTR_FUN_00131440" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_00131440"))) () ")")) (argument_list "(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230))" (( "(") (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230)" (* "*") (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x230)" (( "(") (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x230" (identifier "PTR_bb_common_bufsiz1_0013136c") (+ "+") (number_literal "0x230")) () ")")))) () ")"))) (; ";")) (expression_statement "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2908);" (call_expression "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2908)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" (( "(") (pointer_expression "*(code *)PTR_FUN_001311d0" (* "*") (cast_expression "(code *)PTR_FUN_001311d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_001311d0"))) () ")")) (argument_list "(PTR_FUN_001311a4 + -0x2908)" (( "(") (binary_expression "PTR_FUN_001311a4 + -0x2908" (identifier "PTR_FUN_001311a4") (+ "+") (number_literal "-0x2908")) () ")"))) (; ";")) (expression_statement "FUN_00069ff0();" (call_expression "FUN_00069ff0()" (identifier "FUN_00069ff0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_FUN_001312bc)();" (call_expression "(*(code *)PTR_FUN_001312bc)()" (parenthesized_expression "(*(code *)PTR_FUN_001312bc)" (( "(") (pointer_expression "*(code *)PTR_FUN_001312bc" (* "*") (cast_expression "(code *)PTR_FUN_001312bc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_001312bc"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_srand_00131f84)(extraout_v1);" (call_expression "(*(code *)PTR_srand_00131f84)(extraout_v1)" (parenthesized_expression "(*(code *)PTR_srand_00131f84)" (( "(") (pointer_expression "*(code *)PTR_srand_00131f84" (* "*") (cast_expression "(code *)PTR_srand_00131f84" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_srand_00131f84"))) () ")")) (argument_list "(extraout_v1)" (( "(") (identifier "extraout_v1") () ")"))) (; ";")) (expression_statement "PTR_DAT_00131178[0x23de] = 0;" (assignment_expression "PTR_DAT_00131178[0x23de] = 0" (subscript_expression "PTR_DAT_00131178[0x23de]" (identifier "PTR_DAT_00131178") ([ "[") (number_literal "0x23de") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_00065590(0,PTR_FUN_001311a4 + -0x2984);" (call_expression "FUN_00065590(0,PTR_FUN_001311a4 + -0x2984)" (identifier "FUN_00065590") (argument_list "(0,PTR_FUN_001311a4 + -0x2984)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_FUN_001311a4 + -0x2984" (identifier "PTR_FUN_001311a4") (+ "+") (number_literal "-0x2984")) () ")"))) (; ";")) (expression_statement "FUN_00064d8c(2);" (call_expression "FUN_00064d8c(2)" (identifier "FUN_00064d8c") (argument_list "(2)" (( "(") (number_literal "2") () ")"))) (; ";")) (expression_statement "puVar19 = (undefined1 *)0x0;" (assignment_expression "puVar19 = (undefined1 *)0x0" (identifier "puVar19") (= "=") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "local_2f0 = PTR_DAT_00131178;" (assignment_expression "local_2f0 = PTR_DAT_00131178" (identifier "local_2f0") (= "=") (identifier "PTR_DAT_00131178")) (; ";")) (expression_statement "unaff_s7 = (code *)(PTR_LAB_00131738 + 0x4d8c);" (assignment_expression "unaff_s7 = (code *)(PTR_LAB_00131738 + 0x4d8c)" (identifier "unaff_s7") (= "=") (cast_expression "(code *)(PTR_LAB_00131738 + 0x4d8c)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00131738 + 0x4d8c)" (( "(") (binary_expression "PTR_LAB_00131738 + 0x4d8c" (identifier "PTR_LAB_00131738") (+ "+") (number_literal "0x4d8c")) () ")")))) (; ";")) (expression_statement "local_2e4 = PTR_FUN_001311a4;" (assignment_expression "local_2e4 = PTR_FUN_001311a4" (identifier "local_2e4") (= "=") (identifier "PTR_FUN_001311a4")) (; ";")) (expression_statement "local_2fc = (code *)(PTR_LAB_00131738 + 0x5590);" (assignment_expression "local_2fc = (code *)(PTR_LAB_00131738 + 0x5590)" (identifier "local_2fc") (= "=") (cast_expression "(code *)(PTR_LAB_00131738 + 0x5590)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00131738 + 0x5590)" (( "(") (binary_expression "PTR_LAB_00131738 + 0x5590" (identifier "PTR_LAB_00131738") (+ "+") (number_literal "0x5590")) () ")")))) (; ";")) (expression_statement "local_2ec = (code *)(PTR_LAB_00131738 + 0x496c);" (assignment_expression "local_2ec = (code *)(PTR_LAB_00131738 + 0x496c)" (identifier "local_2ec") (= "=") (cast_expression "(code *)(PTR_LAB_00131738 + 0x496c)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00131738 + 0x496c)" (( "(") (binary_expression "PTR_LAB_00131738 + 0x496c" (identifier "PTR_LAB_00131738") (+ "+") (number_literal "0x496c")) () ")")))) (; ";")) (expression_statement "puVar12 = (undefined1 *)0x0;" (assignment_expression "puVar12 = (undefined1 *)0x0" (identifier "puVar12") (= "=") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "unaff_s0 = puVar12;" (assignment_expression "unaff_s0 = puVar12" (identifier "unaff_s0") (= "=") (identifier "puVar12")) (; ";")) (expression_statement "puVar21 = puVar12;" (assignment_expression "puVar21 = puVar12" (identifier "puVar21") (= "=") (identifier "puVar12")) (; ";")) (labeled_statement "LAB_000662f4:\n  puVar20 = puVar21;" (statement_identifier "LAB_000662f4") (: ":") (expression_statement "puVar20 = puVar21;" (assignment_expression "puVar20 = puVar21" (identifier "puVar20") (= "=") (identifier "puVar21")) (; ";"))) (expression_statement "unaff_s4 = unaff_s0;" (assignment_expression "unaff_s4 = unaff_s0" (identifier "unaff_s4") (= "=") (identifier "unaff_s0")) (; ";")) (expression_statement "FUN_0006a0c0(auStack_2b0,*(undefined4 *)(local_2f0 + 0x1004));" (call_expression "FUN_0006a0c0(auStack_2b0,*(undefined4 *)(local_2f0 + 0x1004))" (identifier "FUN_0006a0c0") (argument_list "(auStack_2b0,*(undefined4 *)(local_2f0 + 0x1004))" (( "(") (identifier "auStack_2b0") (, ",") (pointer_expression "*(undefined4 *)(local_2f0 + 0x1004)" (* "*") (cast_expression "(undefined4 *)(local_2f0 + 0x1004)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_2f0 + 0x1004)" (( "(") (binary_expression "local_2f0 + 0x1004" (identifier "local_2f0") (+ "+") (number_literal "0x1004")) () ")")))) () ")"))) (; ";")) (expression_statement "iVar8 = (int)puVar20 - (int)puVar19;" (assignment_expression "iVar8 = (int)puVar20 - (int)puVar19" (identifier "iVar8") (= "=") (binary_expression "(int)puVar20 - (int)puVar19" (cast_expression "(int)puVar20" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar20")) (- "-") (cast_expression "(int)puVar19" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar19")))) (; ";")) (expression_statement "unaff_s0 = unaff_s4;" (assignment_expression "unaff_s0 = unaff_s4" (identifier "unaff_s0") (= "=") (identifier "unaff_s4")) (; ";")) (if_statement "if (iVar8 < 1) {\nLAB_00066418:\n    puVar19 = (undefined1 *)\n              FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                           PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                           PTR_bb_common_bufsiz1_0013136c + 0x200);\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    if (puVar19 == (undefined1 *)0x0) {\n      if (unaff_s3 != (undefined4 *)0x0) {\n        *unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);\n        *(undefined *)(unaff_s3 + 1) = puVar18[0x204];\n        *(undefined *)((int)unaff_s3 + 5) = puVar18[0x205];\n      }\n      if ((byte)PTR_DAT_00131178[0x23de] < 6) {\n                    \n                    \n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))\n                            ();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n  }\n  else {\n    iVar11 = (*(code *)PTR_FUN_001317c0)();\n    if (iVar8 < 0x20c49b) {\n      iVar8 = iVar8 * 1000;\n    }\n    else {\n      iVar8 = 0x7fffffff;\n    }\n    iVar8 = (*(code *)PTR_poll_00132060)(auStack_2b0,2,iVar8);\n    puVar21 = puVar20;\n    if (iVar8 < 0) {\n      if (**(int **)PTR_DAT_001311d8 != 4) {\n        iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x5488);\n        goto LAB_00066410;\n      }\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }\nLAB_00066410:\n    if (iVar8 == 0) goto LAB_00066418;\n    iVar8 = FUN_0006a140();\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    if (iVar8 == 0x10) {\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2894);\n      bVar2 = PTR_DAT_00131178[0x23de];\n      if (bVar2 < 7) {\n                    \n                    \n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = puVar12;\n      puVar21 = puVar12;\n      if (bVar2 == 5) {\n        if ((int)puVar20 < 0x3d) {\n          if (0x3b < (int)puVar20) goto LAB_0006666c;\n        }\n        else {\n          puVar20 = (undefined1 *)0x3c;\nLAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);\n          puVar19 = (undefined1 *)0x0;\n          if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }\n        }\n        PTR_DAT_00131178[0x23de] = 4;\n        (*unaff_s7)(2);\n        if ((int)puVar20 < 1) {\n          (*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4);\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n          PTR_DAT_00131178[0x23de] = 0;\n          puVar18 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar18[0x24d] = 0;\n          puVar19 = (undefined1 *)0x0;\n          puVar21 = puVar20;\n        }\n        else {\n          (*local_2ec)(local_2f8,0);\n          puVar19 = (undefined1 *)0x0;\n          unaff_s0 = unaff_s4;\n          puVar21 = (undefined1 *)((int)puVar20 >> 1);\n        }\n      }\n      goto LAB_000662f4;\n    }\n    if (iVar8 == 0x11) {\n      FUN_00065bb0(local_2b8,uVar22);\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n    if (iVar8 == 0xf) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x287c);\n      goto LAB_00066938;\n    }\n    if (local_2a2 == 0) goto LAB_000662f4;\n    if (PTR_DAT_00131178[0x23df] == '\x01') {\n      iVar8 = FUN_00069990(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }\n    else {\n      iVar8 = FUN_00064ae0(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }\n    if (iVar8 == -1) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2868);\n      (*(code *)PTR_sleep_0013211c)(local_2c0);\n      (*unaff_s7)((int)(char)PTR_DAT_00131178[0x23df]);\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }\n    iVar13 = (*(code *)PTR_FUN_001317c0)();\n    puVar19 = puVar19 + (iVar13 - iVar11);\n    if ((((iVar8 < 0) || (local_29c != local_2f8)) || (local_29e != '\x06')) ||\n       (iVar8 = (*(code *)PTR_memcmp_0013212c)(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)\n       , iVar8 != 0)) goto LAB_000662f4;\n    pcVar14 = (char *)FUN_0006a9b8(auStack_2a0,0x35);\n    uVar9 = local_2b8;\n    if (pcVar14 == (char *)0x0) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2844);\n      goto LAB_000662f4;\n    }\n    iVar8 = (int)(char)PTR_DAT_00131178[0x23de];\n    puVar20 = (undefined1 *)0x0;\n    if (iVar8 != 1) {\n      if (iVar8 < 2) {\n        if ((iVar8 == 0) && (*pcVar14 == '\x02')) {\n          local_2b8 = 0;\n          puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36);\n          if (puVar15 == (uint *)0x0) {\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }\n          else {\n            local_2b8 = *puVar15;\n          }\n          PTR_DAT_00131178[0x23de] = 1;\n          puVar19 = (undefined1 *)0x0;\n          uVar22 = local_290;\n          unaff_s0 = puVar20;\n          puVar21 = puVar20;\n        }\n        goto LAB_000662f4;\n      }\n      if (2 < (iVar8 - 3U & 0xff)) goto LAB_000662f4;\n    }\n    if (*pcVar14 != '\x05') {\n      if ((*pcVar14 == '\x06') &&\n         ((local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)))))) {\n        (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x2778);\n        (*local_2fc)(auStack_2a0,PTR_FUN_001311a4 + -0x276c);\n        if (PTR_DAT_00131178[0x23de] != '\x01') {\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n        }\n        (*unaff_s7)(2);\n        (*(code *)PTR_sleep_0013211c)(3);\n        PTR_DAT_00131178[0x23de] = 0;\n        puVar18 = PTR_bb_common_bufsiz1_0013136c;\n        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n        puVar18[0x24d] = 0;\n        puVar19 = (undefined1 *)0x0;\n        uVar22 = 0;\n        unaff_s0 = puVar20;\n        puVar21 = puVar20;\n      }\n      goto LAB_000662f4;\n    }\n    puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x33);\n    if (puVar15 == (uint *)0x0) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2800);\n      local_2b4 = 0xe10;\n    }\n    else {\n      local_2b4 = *puVar15;\n      if (local_2b4 < 0x7a) {\n        local_2b4 = 0x7a;\n      }\n    }\n    if (((int)(uVar6 << 9) < 0) &&\n       (iVar8 = FUN_0006a564(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7),\n       iVar8 == 0)) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x27d4);\n      FUN_00064864(local_2b8,local_290);\n      if (PTR_DAT_00131178[0x23de] != '\x01') {\n        (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n      }\n      (*unaff_s7)(2);\n      PTR_DAT_00131178[0x23de] = 0;\n      puVar18 = PTR_bb_common_bufsiz1_0013136c;\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      puVar19 = (undefined1 *)0x0;\n      uVar22 = 0;\n      unaff_s0 = (undefined1 *)0x0;\n      puVar21 = local_2c4;\n      goto LAB_000662f4;\n    }\n    uVar10 = (*(code *)PTR_inet_ntoa_00132140)(local_290);\n    uVar9 = local_2b4;\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x279c,uVar10,local_2b4);\n    uVar22 = local_290;\n    iVar8 = (*(code *)PTR_FUN_001317c0)();\n    if (PTR_DAT_00131178[0x23de] == '\x01') {\n      puVar18 = PTR_FUN_001311a4 + -0x2978;\n    }\n    else {\n      puVar18 = PTR_FUN_001311a4 + -0x2884;\n    }\n    (*local_2fc)(auStack_2a0,puVar18);\n    iVar11 = (*(code *)PTR_FUN_001317c0)();\n    puVar19 = (undefined1 *)(iVar11 - iVar8);\n    puVar21 = (undefined1 *)(uVar9 >> 1);\n    if (puVar21 < puVar19) {\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = puVar20;\n    }\n    PTR_DAT_00131178[0x23de] = 2;\n    (*unaff_s7)(0);\n    if ((uVar6 & 0x100) == 0) {\n      if ((int)(uVar6 << 0xc) < 0) {\n        uVar6 = uVar6 & 0xffffffbf;\n      }\n      else {\n        FUN_000643f4();\n        uVar6 = uVar6 & 0xffd7ffbf | 0x80000;\n      }\n      goto LAB_000662f4;\n    }\n  }" (if "if") (parenthesized_expression "(iVar8 < 1)" (( "(") (binary_expression "iVar8 < 1" (identifier "iVar8") (< "<") (number_literal "1")) () ")")) (compound_statement "{\nLAB_00066418:\n    puVar19 = (undefined1 *)\n              FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                           PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                           PTR_bb_common_bufsiz1_0013136c + 0x200);\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    if (puVar19 == (undefined1 *)0x0) {\n      if (unaff_s3 != (undefined4 *)0x0) {\n        *unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);\n        *(undefined *)(unaff_s3 + 1) = puVar18[0x204];\n        *(undefined *)((int)unaff_s3 + 5) = puVar18[0x205];\n      }\n      if ((byte)PTR_DAT_00131178[0x23de] < 6) {\n                    \n                    \n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))\n                            ();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n  }" ({ "{") (labeled_statement "LAB_00066418:\n    puVar19 = (undefined1 *)\n              FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                           PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                           PTR_bb_common_bufsiz1_0013136c + 0x200);" (statement_identifier "LAB_00066418") (: ":") (expression_statement "puVar19 = (undefined1 *)\n              FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                           PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                           PTR_bb_common_bufsiz1_0013136c + 0x200);" (assignment_expression "puVar19 = (undefined1 *)\n              FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                           PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                           PTR_bb_common_bufsiz1_0013136c + 0x200)" (identifier "puVar19") (= "=") (cast_expression "(undefined1 *)\n              FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                           PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                           PTR_bb_common_bufsiz1_0013136c + 0x200)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                           PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                           PTR_bb_common_bufsiz1_0013136c + 0x200)" (identifier "FUN_0006a1c0") (argument_list "(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),\n                           PTR_bb_common_bufsiz1_0013136c + 0x208,0,\n                           PTR_bb_common_bufsiz1_0013136c + 0x200)" (( "(") (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c)" (* "*") (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x22c)" (( "(") (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x22c" (identifier "PTR_bb_common_bufsiz1_0013136c") (+ "+") (number_literal "0x22c")) () ")")))) (, ",") (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x208" (identifier "PTR_bb_common_bufsiz1_0013136c") (+ "+") (number_literal "0x208")) (, ",") (number_literal "0") (, ",") (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x200" (identifier "PTR_bb_common_bufsiz1_0013136c") (+ "+") (number_literal "0x200")) () ")"))))) (; ";"))) (expression_statement "puVar18 = PTR_bb_common_bufsiz1_0013136c;" (assignment_expression "puVar18 = PTR_bb_common_bufsiz1_0013136c" (identifier "puVar18") (= "=") (identifier "PTR_bb_common_bufsiz1_0013136c")) (; ";")) (if_statement "if (puVar19 == (undefined1 *)0x0) {\n      if (unaff_s3 != (undefined4 *)0x0) {\n        *unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);\n        *(undefined *)(unaff_s3 + 1) = puVar18[0x204];\n        *(undefined *)((int)unaff_s3 + 5) = puVar18[0x205];\n      }\n      if ((byte)PTR_DAT_00131178[0x23de] < 6) {\n                    \n                    \n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))\n                            ();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }" (if "if") (parenthesized_expression "(puVar19 == (undefined1 *)0x0)" (( "(") (binary_expression "puVar19 == (undefined1 *)0x0" (identifier "puVar19") (== "==") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      if (unaff_s3 != (undefined4 *)0x0) {\n        *unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);\n        *(undefined *)(unaff_s3 + 1) = puVar18[0x204];\n        *(undefined *)((int)unaff_s3 + 5) = puVar18[0x205];\n      }\n      if ((byte)PTR_DAT_00131178[0x23de] < 6) {\n                    \n                    \n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))\n                            ();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }" ({ "{") (if_statement "if (unaff_s3 != (undefined4 *)0x0) {\n        *unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);\n        *(undefined *)(unaff_s3 + 1) = puVar18[0x204];\n        *(undefined *)((int)unaff_s3 + 5) = puVar18[0x205];\n      }" (if "if") (parenthesized_expression "(unaff_s3 != (undefined4 *)0x0)" (( "(") (binary_expression "unaff_s3 != (undefined4 *)0x0" (identifier "unaff_s3") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        *unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);\n        *(undefined *)(unaff_s3 + 1) = puVar18[0x204];\n        *(undefined *)((int)unaff_s3 + 5) = puVar18[0x205];\n      }" ({ "{") (expression_statement "*unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);" (assignment_expression "*unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200)" (pointer_expression "*unaff_s3" (* "*") (identifier "unaff_s3")) (= "=") (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200)" (* "*") (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x200)" (( "(") (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x200" (identifier "PTR_bb_common_bufsiz1_0013136c") (+ "+") (number_literal "0x200")) () ")"))))) (; ";")) (expression_statement "*(undefined *)(unaff_s3 + 1) = puVar18[0x204];" (assignment_expression "*(undefined *)(unaff_s3 + 1) = puVar18[0x204]" (pointer_expression "*(undefined *)(unaff_s3 + 1)" (* "*") (cast_expression "(undefined *)(unaff_s3 + 1)" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s3 + 1)" (( "(") (binary_expression "unaff_s3 + 1" (identifier "unaff_s3") (+ "+") (number_literal "1")) () ")")))) (= "=") (subscript_expression "puVar18[0x204]" (identifier "puVar18") ([ "[") (number_literal "0x204") (] "]"))) (; ";")) (expression_statement "*(undefined *)((int)unaff_s3 + 5) = puVar18[0x205];" (assignment_expression "*(undefined *)((int)unaff_s3 + 5) = puVar18[0x205]" (pointer_expression "*(undefined *)((int)unaff_s3 + 5)" (* "*") (cast_expression "(undefined *)((int)unaff_s3 + 5)" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)unaff_s3 + 5)" (( "(") (binary_expression "(int)unaff_s3 + 5" (cast_expression "(int)unaff_s3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "unaff_s3")) (+ "+") (number_literal "5")) () ")")))) (= "=") (subscript_expression "puVar18[0x205]" (identifier "puVar18") ([ "[") (number_literal "0x205") (] "]"))) (; ";")) (} "}"))) (if_statement "if ((byte)PTR_DAT_00131178[0x23de] < 6) {\n                    \n                    \n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))\n                            ();\n        return puVar12;\n      }" (if "if") (parenthesized_expression "((byte)PTR_DAT_00131178[0x23de] < 6)" (( "(") (binary_expression "(byte)PTR_DAT_00131178[0x23de] < 6" (cast_expression "(byte)PTR_DAT_00131178[0x23de]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "PTR_DAT_00131178[0x23de]" (identifier "PTR_DAT_00131178") ([ "[") (number_literal "0x23de") (] "]"))) (< "<") (number_literal "6")) () ")")) (compound_statement "{\n                    \n                    \n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))\n                            ();\n        return puVar12;\n      }" ({ "{") (expression_statement "puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))\n                            ();" (assignment_expression "puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))\n                            ()" (identifier "puVar12") (= "=") (cast_expression "(undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))\n                            ()" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))\n                            ()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))" (( "(") (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768))" (* "*") (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768))" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768))" (( "(") (binary_expression "&_gp_1 + *(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)" (pointer_expression "&_gp_1" (& "&") (identifier "_gp_1")) (+ "+") (pointer_expression "*(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)" (* "*") (cast_expression "(int *)(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)" (( "(") (binary_expression "PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768" (binary_expression "PTR_FUN_001311a4 +\n                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4" (identifier "PTR_FUN_001311a4") (+ "+") (binary_expression "(uint)(byte)PTR_DAT_00131178[0x23de] * 4" (cast_expression "(uint)(byte)PTR_DAT_00131178[0x23de]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (cast_expression "(byte)PTR_DAT_00131178[0x23de]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "PTR_DAT_00131178[0x23de]" (identifier "PTR_DAT_00131178") ([ "[") (number_literal "0x23de") (] "]")))) (* "*") (number_literal "4"))) (+ "+") (number_literal "-0x2768")) () ")"))))) () ")")))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (return_statement "return puVar12;" (return "return") (identifier "puVar12") (; ";")) (} "}"))) (expression_statement "puVar19 = (undefined1 *)0x0;" (assignment_expression "puVar19 = (undefined1 *)0x0" (identifier "puVar19") (= "=") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "puVar21 = (undefined1 *)0x7fffffff;" (assignment_expression "puVar21 = (undefined1 *)0x7fffffff" (identifier "puVar21") (= "=") (cast_expression "(undefined1 *)0x7fffffff" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x7fffffff"))) (; ";")) (goto_statement "goto LAB_000662f4;" (goto "goto") (statement_identifier "LAB_000662f4") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    iVar11 = (*(code *)PTR_FUN_001317c0)();\n    if (iVar8 < 0x20c49b) {\n      iVar8 = iVar8 * 1000;\n    }\n    else {\n      iVar8 = 0x7fffffff;\n    }\n    iVar8 = (*(code *)PTR_poll_00132060)(auStack_2b0,2,iVar8);\n    puVar21 = puVar20;\n    if (iVar8 < 0) {\n      if (**(int **)PTR_DAT_001311d8 != 4) {\n        iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x5488);\n        goto LAB_00066410;\n      }\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }\nLAB_00066410:\n    if (iVar8 == 0) goto LAB_00066418;\n    iVar8 = FUN_0006a140();\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    if (iVar8 == 0x10) {\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2894);\n      bVar2 = PTR_DAT_00131178[0x23de];\n      if (bVar2 < 7) {\n                    \n                    \n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = puVar12;\n      puVar21 = puVar12;\n      if (bVar2 == 5) {\n        if ((int)puVar20 < 0x3d) {\n          if (0x3b < (int)puVar20) goto LAB_0006666c;\n        }\n        else {\n          puVar20 = (undefined1 *)0x3c;\nLAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);\n          puVar19 = (undefined1 *)0x0;\n          if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }\n        }\n        PTR_DAT_00131178[0x23de] = 4;\n        (*unaff_s7)(2);\n        if ((int)puVar20 < 1) {\n          (*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4);\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n          PTR_DAT_00131178[0x23de] = 0;\n          puVar18 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar18[0x24d] = 0;\n          puVar19 = (undefined1 *)0x0;\n          puVar21 = puVar20;\n        }\n        else {\n          (*local_2ec)(local_2f8,0);\n          puVar19 = (undefined1 *)0x0;\n          unaff_s0 = unaff_s4;\n          puVar21 = (undefined1 *)((int)puVar20 >> 1);\n        }\n      }\n      goto LAB_000662f4;\n    }\n    if (iVar8 == 0x11) {\n      FUN_00065bb0(local_2b8,uVar22);\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n    if (iVar8 == 0xf) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x287c);\n      goto LAB_00066938;\n    }\n    if (local_2a2 == 0) goto LAB_000662f4;\n    if (PTR_DAT_00131178[0x23df] == '\x01') {\n      iVar8 = FUN_00069990(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }\n    else {\n      iVar8 = FUN_00064ae0(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }\n    if (iVar8 == -1) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2868);\n      (*(code *)PTR_sleep_0013211c)(local_2c0);\n      (*unaff_s7)((int)(char)PTR_DAT_00131178[0x23df]);\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }\n    iVar13 = (*(code *)PTR_FUN_001317c0)();\n    puVar19 = puVar19 + (iVar13 - iVar11);\n    if ((((iVar8 < 0) || (local_29c != local_2f8)) || (local_29e != '\x06')) ||\n       (iVar8 = (*(code *)PTR_memcmp_0013212c)(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)\n       , iVar8 != 0)) goto LAB_000662f4;\n    pcVar14 = (char *)FUN_0006a9b8(auStack_2a0,0x35);\n    uVar9 = local_2b8;\n    if (pcVar14 == (char *)0x0) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2844);\n      goto LAB_000662f4;\n    }\n    iVar8 = (int)(char)PTR_DAT_00131178[0x23de];\n    puVar20 = (undefined1 *)0x0;\n    if (iVar8 != 1) {\n      if (iVar8 < 2) {\n        if ((iVar8 == 0) && (*pcVar14 == '\x02')) {\n          local_2b8 = 0;\n          puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36);\n          if (puVar15 == (uint *)0x0) {\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }\n          else {\n            local_2b8 = *puVar15;\n          }\n          PTR_DAT_00131178[0x23de] = 1;\n          puVar19 = (undefined1 *)0x0;\n          uVar22 = local_290;\n          unaff_s0 = puVar20;\n          puVar21 = puVar20;\n        }\n        goto LAB_000662f4;\n      }\n      if (2 < (iVar8 - 3U & 0xff)) goto LAB_000662f4;\n    }\n    if (*pcVar14 != '\x05') {\n      if ((*pcVar14 == '\x06') &&\n         ((local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)))))) {\n        (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x2778);\n        (*local_2fc)(auStack_2a0,PTR_FUN_001311a4 + -0x276c);\n        if (PTR_DAT_00131178[0x23de] != '\x01') {\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n        }\n        (*unaff_s7)(2);\n        (*(code *)PTR_sleep_0013211c)(3);\n        PTR_DAT_00131178[0x23de] = 0;\n        puVar18 = PTR_bb_common_bufsiz1_0013136c;\n        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n        puVar18[0x24d] = 0;\n        puVar19 = (undefined1 *)0x0;\n        uVar22 = 0;\n        unaff_s0 = puVar20;\n        puVar21 = puVar20;\n      }\n      goto LAB_000662f4;\n    }\n    puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x33);\n    if (puVar15 == (uint *)0x0) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2800);\n      local_2b4 = 0xe10;\n    }\n    else {\n      local_2b4 = *puVar15;\n      if (local_2b4 < 0x7a) {\n        local_2b4 = 0x7a;\n      }\n    }\n    if (((int)(uVar6 << 9) < 0) &&\n       (iVar8 = FUN_0006a564(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7),\n       iVar8 == 0)) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x27d4);\n      FUN_00064864(local_2b8,local_290);\n      if (PTR_DAT_00131178[0x23de] != '\x01') {\n        (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n      }\n      (*unaff_s7)(2);\n      PTR_DAT_00131178[0x23de] = 0;\n      puVar18 = PTR_bb_common_bufsiz1_0013136c;\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      puVar19 = (undefined1 *)0x0;\n      uVar22 = 0;\n      unaff_s0 = (undefined1 *)0x0;\n      puVar21 = local_2c4;\n      goto LAB_000662f4;\n    }\n    uVar10 = (*(code *)PTR_inet_ntoa_00132140)(local_290);\n    uVar9 = local_2b4;\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x279c,uVar10,local_2b4);\n    uVar22 = local_290;\n    iVar8 = (*(code *)PTR_FUN_001317c0)();\n    if (PTR_DAT_00131178[0x23de] == '\x01') {\n      puVar18 = PTR_FUN_001311a4 + -0x2978;\n    }\n    else {\n      puVar18 = PTR_FUN_001311a4 + -0x2884;\n    }\n    (*local_2fc)(auStack_2a0,puVar18);\n    iVar11 = (*(code *)PTR_FUN_001317c0)();\n    puVar19 = (undefined1 *)(iVar11 - iVar8);\n    puVar21 = (undefined1 *)(uVar9 >> 1);\n    if (puVar21 < puVar19) {\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = puVar20;\n    }\n    PTR_DAT_00131178[0x23de] = 2;\n    (*unaff_s7)(0);\n    if ((uVar6 & 0x100) == 0) {\n      if ((int)(uVar6 << 0xc) < 0) {\n        uVar6 = uVar6 & 0xffffffbf;\n      }\n      else {\n        FUN_000643f4();\n        uVar6 = uVar6 & 0xffd7ffbf | 0x80000;\n      }\n      goto LAB_000662f4;\n    }\n  }" (else "else") (compound_statement "{\n    iVar11 = (*(code *)PTR_FUN_001317c0)();\n    if (iVar8 < 0x20c49b) {\n      iVar8 = iVar8 * 1000;\n    }\n    else {\n      iVar8 = 0x7fffffff;\n    }\n    iVar8 = (*(code *)PTR_poll_00132060)(auStack_2b0,2,iVar8);\n    puVar21 = puVar20;\n    if (iVar8 < 0) {\n      if (**(int **)PTR_DAT_001311d8 != 4) {\n        iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x5488);\n        goto LAB_00066410;\n      }\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }\nLAB_00066410:\n    if (iVar8 == 0) goto LAB_00066418;\n    iVar8 = FUN_0006a140();\n    puVar18 = PTR_bb_common_bufsiz1_0013136c;\n    if (iVar8 == 0x10) {\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2894);\n      bVar2 = PTR_DAT_00131178[0x23de];\n      if (bVar2 < 7) {\n                    \n                    \n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = puVar12;\n      puVar21 = puVar12;\n      if (bVar2 == 5) {\n        if ((int)puVar20 < 0x3d) {\n          if (0x3b < (int)puVar20) goto LAB_0006666c;\n        }\n        else {\n          puVar20 = (undefined1 *)0x3c;\nLAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);\n          puVar19 = (undefined1 *)0x0;\n          if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }\n        }\n        PTR_DAT_00131178[0x23de] = 4;\n        (*unaff_s7)(2);\n        if ((int)puVar20 < 1) {\n          (*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4);\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n          PTR_DAT_00131178[0x23de] = 0;\n          puVar18 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar18[0x24d] = 0;\n          puVar19 = (undefined1 *)0x0;\n          puVar21 = puVar20;\n        }\n        else {\n          (*local_2ec)(local_2f8,0);\n          puVar19 = (undefined1 *)0x0;\n          unaff_s0 = unaff_s4;\n          puVar21 = (undefined1 *)((int)puVar20 >> 1);\n        }\n      }\n      goto LAB_000662f4;\n    }\n    if (iVar8 == 0x11) {\n      FUN_00065bb0(local_2b8,uVar22);\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }\n    if (iVar8 == 0xf) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x287c);\n      goto LAB_00066938;\n    }\n    if (local_2a2 == 0) goto LAB_000662f4;\n    if (PTR_DAT_00131178[0x23df] == '\x01') {\n      iVar8 = FUN_00069990(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }\n    else {\n      iVar8 = FUN_00064ae0(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }\n    if (iVar8 == -1) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2868);\n      (*(code *)PTR_sleep_0013211c)(local_2c0);\n      (*unaff_s7)((int)(char)PTR_DAT_00131178[0x23df]);\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }\n    iVar13 = (*(code *)PTR_FUN_001317c0)();\n    puVar19 = puVar19 + (iVar13 - iVar11);\n    if ((((iVar8 < 0) || (local_29c != local_2f8)) || (local_29e != '\x06')) ||\n       (iVar8 = (*(code *)PTR_memcmp_0013212c)(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)\n       , iVar8 != 0)) goto LAB_000662f4;\n    pcVar14 = (char *)FUN_0006a9b8(auStack_2a0,0x35);\n    uVar9 = local_2b8;\n    if (pcVar14 == (char *)0x0) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2844);\n      goto LAB_000662f4;\n    }\n    iVar8 = (int)(char)PTR_DAT_00131178[0x23de];\n    puVar20 = (undefined1 *)0x0;\n    if (iVar8 != 1) {\n      if (iVar8 < 2) {\n        if ((iVar8 == 0) && (*pcVar14 == '\x02')) {\n          local_2b8 = 0;\n          puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36);\n          if (puVar15 == (uint *)0x0) {\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }\n          else {\n            local_2b8 = *puVar15;\n          }\n          PTR_DAT_00131178[0x23de] = 1;\n          puVar19 = (undefined1 *)0x0;\n          uVar22 = local_290;\n          unaff_s0 = puVar20;\n          puVar21 = puVar20;\n        }\n        goto LAB_000662f4;\n      }\n      if (2 < (iVar8 - 3U & 0xff)) goto LAB_000662f4;\n    }\n    if (*pcVar14 != '\x05') {\n      if ((*pcVar14 == '\x06') &&\n         ((local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)))))) {\n        (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x2778);\n        (*local_2fc)(auStack_2a0,PTR_FUN_001311a4 + -0x276c);\n        if (PTR_DAT_00131178[0x23de] != '\x01') {\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n        }\n        (*unaff_s7)(2);\n        (*(code *)PTR_sleep_0013211c)(3);\n        PTR_DAT_00131178[0x23de] = 0;\n        puVar18 = PTR_bb_common_bufsiz1_0013136c;\n        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n        puVar18[0x24d] = 0;\n        puVar19 = (undefined1 *)0x0;\n        uVar22 = 0;\n        unaff_s0 = puVar20;\n        puVar21 = puVar20;\n      }\n      goto LAB_000662f4;\n    }\n    puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x33);\n    if (puVar15 == (uint *)0x0) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2800);\n      local_2b4 = 0xe10;\n    }\n    else {\n      local_2b4 = *puVar15;\n      if (local_2b4 < 0x7a) {\n        local_2b4 = 0x7a;\n      }\n    }\n    if (((int)(uVar6 << 9) < 0) &&\n       (iVar8 = FUN_0006a564(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7),\n       iVar8 == 0)) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x27d4);\n      FUN_00064864(local_2b8,local_290);\n      if (PTR_DAT_00131178[0x23de] != '\x01') {\n        (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n      }\n      (*unaff_s7)(2);\n      PTR_DAT_00131178[0x23de] = 0;\n      puVar18 = PTR_bb_common_bufsiz1_0013136c;\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      puVar19 = (undefined1 *)0x0;\n      uVar22 = 0;\n      unaff_s0 = (undefined1 *)0x0;\n      puVar21 = local_2c4;\n      goto LAB_000662f4;\n    }\n    uVar10 = (*(code *)PTR_inet_ntoa_00132140)(local_290);\n    uVar9 = local_2b4;\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x279c,uVar10,local_2b4);\n    uVar22 = local_290;\n    iVar8 = (*(code *)PTR_FUN_001317c0)();\n    if (PTR_DAT_00131178[0x23de] == '\x01') {\n      puVar18 = PTR_FUN_001311a4 + -0x2978;\n    }\n    else {\n      puVar18 = PTR_FUN_001311a4 + -0x2884;\n    }\n    (*local_2fc)(auStack_2a0,puVar18);\n    iVar11 = (*(code *)PTR_FUN_001317c0)();\n    puVar19 = (undefined1 *)(iVar11 - iVar8);\n    puVar21 = (undefined1 *)(uVar9 >> 1);\n    if (puVar21 < puVar19) {\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = puVar20;\n    }\n    PTR_DAT_00131178[0x23de] = 2;\n    (*unaff_s7)(0);\n    if ((uVar6 & 0x100) == 0) {\n      if ((int)(uVar6 << 0xc) < 0) {\n        uVar6 = uVar6 & 0xffffffbf;\n      }\n      else {\n        FUN_000643f4();\n        uVar6 = uVar6 & 0xffd7ffbf | 0x80000;\n      }\n      goto LAB_000662f4;\n    }\n  }" ({ "{") (expression_statement "iVar11 = (*(code *)PTR_FUN_001317c0)();" (assignment_expression "iVar11 = (*(code *)PTR_FUN_001317c0)()" (identifier "iVar11") (= "=") (call_expression "(*(code *)PTR_FUN_001317c0)()" (parenthesized_expression "(*(code *)PTR_FUN_001317c0)" (( "(") (pointer_expression "*(code *)PTR_FUN_001317c0" (* "*") (cast_expression "(code *)PTR_FUN_001317c0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_001317c0"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar8 < 0x20c49b) {\n      iVar8 = iVar8 * 1000;\n    }\n    else {\n      iVar8 = 0x7fffffff;\n    }" (if "if") (parenthesized_expression "(iVar8 < 0x20c49b)" (( "(") (binary_expression "iVar8 < 0x20c49b" (identifier "iVar8") (< "<") (number_literal "0x20c49b")) () ")")) (compound_statement "{\n      iVar8 = iVar8 * 1000;\n    }" ({ "{") (expression_statement "iVar8 = iVar8 * 1000;" (assignment_expression "iVar8 = iVar8 * 1000" (identifier "iVar8") (= "=") (binary_expression "iVar8 * 1000" (identifier "iVar8") (* "*") (number_literal "1000"))) (; ";")) (} "}")) (else_clause "else {\n      iVar8 = 0x7fffffff;\n    }" (else "else") (compound_statement "{\n      iVar8 = 0x7fffffff;\n    }" ({ "{") (expression_statement "iVar8 = 0x7fffffff;" (assignment_expression "iVar8 = 0x7fffffff" (identifier "iVar8") (= "=") (number_literal "0x7fffffff")) (; ";")) (} "}")))) (expression_statement "iVar8 = (*(code *)PTR_poll_00132060)(auStack_2b0,2,iVar8);" (assignment_expression "iVar8 = (*(code *)PTR_poll_00132060)(auStack_2b0,2,iVar8)" (identifier "iVar8") (= "=") (call_expression "(*(code *)PTR_poll_00132060)(auStack_2b0,2,iVar8)" (parenthesized_expression "(*(code *)PTR_poll_00132060)" (( "(") (pointer_expression "*(code *)PTR_poll_00132060" (* "*") (cast_expression "(code *)PTR_poll_00132060" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_poll_00132060"))) () ")")) (argument_list "(auStack_2b0,2,iVar8)" (( "(") (identifier "auStack_2b0") (, ",") (number_literal "2") (, ",") (identifier "iVar8") () ")")))) (; ";")) (expression_statement "puVar21 = puVar20;" (assignment_expression "puVar21 = puVar20" (identifier "puVar21") (= "=") (identifier "puVar20")) (; ";")) (if_statement "if (iVar8 < 0) {\n      if (**(int **)PTR_DAT_001311d8 != 4) {\n        iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x5488);\n        goto LAB_00066410;\n      }\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }" (if "if") (parenthesized_expression "(iVar8 < 0)" (( "(") (binary_expression "iVar8 < 0" (identifier "iVar8") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      if (**(int **)PTR_DAT_001311d8 != 4) {\n        iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x5488);\n        goto LAB_00066410;\n      }\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }" ({ "{") (if_statement "if (**(int **)PTR_DAT_001311d8 != 4) {\n        iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x5488);\n        goto LAB_00066410;\n      }" (if "if") (parenthesized_expression "(**(int **)PTR_DAT_001311d8 != 4)" (( "(") (binary_expression "**(int **)PTR_DAT_001311d8 != 4" (pointer_expression "**(int **)PTR_DAT_001311d8" (* "*") (pointer_expression "*(int **)PTR_DAT_001311d8" (* "*") (cast_expression "(int **)PTR_DAT_001311d8" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_DAT_001311d8")))) (!= "!=") (number_literal "4")) () ")")) (compound_statement "{\n        iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x5488);\n        goto LAB_00066410;\n      }" ({ "{") (expression_statement "iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x5488);" (assignment_expression "iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x5488)" (identifier "iVar8") (= "=") (call_expression "(*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x5488)" (parenthesized_expression "(*(code *)PTR_FUN_001311f4)" (( "(") (pointer_expression "*(code *)PTR_FUN_001311f4" (* "*") (cast_expression "(code *)PTR_FUN_001311f4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_001311f4"))) () ")")) (argument_list "(PTR_FUN_001311a4 + -0x5488)" (( "(") (binary_expression "PTR_FUN_001311a4 + -0x5488" (identifier "PTR_FUN_001311a4") (+ "+") (number_literal "-0x5488")) () ")")))) (; ";")) (goto_statement "goto LAB_00066410;" (goto "goto") (statement_identifier "LAB_00066410") (; ";")) (} "}"))) (expression_statement "iVar8 = (*(code *)PTR_FUN_001317c0)();" (assignment_expression "iVar8 = (*(code *)PTR_FUN_001317c0)()" (identifier "iVar8") (= "=") (call_expression "(*(code *)PTR_FUN_001317c0)()" (parenthesized_expression "(*(code *)PTR_FUN_001317c0)" (( "(") (pointer_expression "*(code *)PTR_FUN_001317c0" (* "*") (cast_expression "(code *)PTR_FUN_001317c0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_001317c0"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar19 = puVar19 + (iVar8 - iVar11);" (assignment_expression "puVar19 = puVar19 + (iVar8 - iVar11)" (identifier "puVar19") (= "=") (binary_expression "puVar19 + (iVar8 - iVar11)" (identifier "puVar19") (+ "+") (parenthesized_expression "(iVar8 - iVar11)" (( "(") (binary_expression "iVar8 - iVar11" (identifier "iVar8") (- "-") (identifier "iVar11")) () ")")))) (; ";")) (goto_statement "goto LAB_000662f4;" (goto "goto") (statement_identifier "LAB_000662f4") (; ";")) (} "}"))) (labeled_statement "LAB_00066410:\n    if (iVar8 == 0) goto LAB_00066418;" (statement_identifier "LAB_00066410") (: ":") (if_statement "if (iVar8 == 0) goto LAB_00066418;" (if "if") (parenthesized_expression "(iVar8 == 0)" (( "(") (binary_expression "iVar8 == 0" (identifier "iVar8") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00066418;" (goto "goto") (statement_identifier "LAB_00066418") (; ";")))) (expression_statement "iVar8 = FUN_0006a140();" (assignment_expression "iVar8 = FUN_0006a140()" (identifier "iVar8") (= "=") (call_expression "FUN_0006a140()" (identifier "FUN_0006a140") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar18 = PTR_bb_common_bufsiz1_0013136c;" (assignment_expression "puVar18 = PTR_bb_common_bufsiz1_0013136c" (identifier "puVar18") (= "=") (identifier "PTR_bb_common_bufsiz1_0013136c")) (; ";")) (if_statement "if (iVar8 == 0x10) {\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2894);\n      bVar2 = PTR_DAT_00131178[0x23de];\n      if (bVar2 < 7) {\n                    \n                    \n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = puVar12;\n      puVar21 = puVar12;\n      if (bVar2 == 5) {\n        if ((int)puVar20 < 0x3d) {\n          if (0x3b < (int)puVar20) goto LAB_0006666c;\n        }\n        else {\n          puVar20 = (undefined1 *)0x3c;\nLAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);\n          puVar19 = (undefined1 *)0x0;\n          if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }\n        }\n        PTR_DAT_00131178[0x23de] = 4;\n        (*unaff_s7)(2);\n        if ((int)puVar20 < 1) {\n          (*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4);\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n          PTR_DAT_00131178[0x23de] = 0;\n          puVar18 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar18[0x24d] = 0;\n          puVar19 = (undefined1 *)0x0;\n          puVar21 = puVar20;\n        }\n        else {\n          (*local_2ec)(local_2f8,0);\n          puVar19 = (undefined1 *)0x0;\n          unaff_s0 = unaff_s4;\n          puVar21 = (undefined1 *)((int)puVar20 >> 1);\n        }\n      }\n      goto LAB_000662f4;\n    }" (if "if") (parenthesized_expression "(iVar8 == 0x10)" (( "(") (binary_expression "iVar8 == 0x10" (identifier "iVar8") (== "==") (number_literal "0x10")) () ")")) (compound_statement "{\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2894);\n      bVar2 = PTR_DAT_00131178[0x23de];\n      if (bVar2 < 7) {\n                    \n                    \n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))();\n        return puVar12;\n      }\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = puVar12;\n      puVar21 = puVar12;\n      if (bVar2 == 5) {\n        if ((int)puVar20 < 0x3d) {\n          if (0x3b < (int)puVar20) goto LAB_0006666c;\n        }\n        else {\n          puVar20 = (undefined1 *)0x3c;\nLAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);\n          puVar19 = (undefined1 *)0x0;\n          if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }\n        }\n        PTR_DAT_00131178[0x23de] = 4;\n        (*unaff_s7)(2);\n        if ((int)puVar20 < 1) {\n          (*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4);\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n          PTR_DAT_00131178[0x23de] = 0;\n          puVar18 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar18[0x24d] = 0;\n          puVar19 = (undefined1 *)0x0;\n          puVar21 = puVar20;\n        }\n        else {\n          (*local_2ec)(local_2f8,0);\n          puVar19 = (undefined1 *)0x0;\n          unaff_s0 = unaff_s4;\n          puVar21 = (undefined1 *)((int)puVar20 >> 1);\n        }\n      }\n      goto LAB_000662f4;\n    }" ({ "{") (expression_statement "PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;" (assignment_expression "PTR_bb_common_bufsiz1_0013136c[0x24c] = 0" (subscript_expression "PTR_bb_common_bufsiz1_0013136c[0x24c]" (identifier "PTR_bb_common_bufsiz1_0013136c") ([ "[") (number_literal "0x24c") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar18[0x24d] = 0;" (assignment_expression "puVar18[0x24d] = 0" (subscript_expression "puVar18[0x24d]" (identifier "puVar18") ([ "[") (number_literal "0x24d") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2894);" (call_expression "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2894)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" (( "(") (pointer_expression "*(code *)PTR_FUN_001311d0" (* "*") (cast_expression "(code *)PTR_FUN_001311d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_001311d0"))) () ")")) (argument_list "(PTR_FUN_001311a4 + -0x2894)" (( "(") (binary_expression "PTR_FUN_001311a4 + -0x2894" (identifier "PTR_FUN_001311a4") (+ "+") (number_literal "-0x2894")) () ")"))) (; ";")) (expression_statement "bVar2 = PTR_DAT_00131178[0x23de];" (assignment_expression "bVar2 = PTR_DAT_00131178[0x23de]" (identifier "bVar2") (= "=") (subscript_expression "PTR_DAT_00131178[0x23de]" (identifier "PTR_DAT_00131178") ([ "[") (number_literal "0x23de") (] "]"))) (; ";")) (if_statement "if (bVar2 < 7) {\n                    \n                    \n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))();\n        return puVar12;\n      }" (if "if") (parenthesized_expression "(bVar2 < 7)" (( "(") (binary_expression "bVar2 < 7" (identifier "bVar2") (< "<") (number_literal "7")) () ")")) (compound_statement "{\n                    \n                    \n        puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))();\n        return puVar12;\n      }" ({ "{") (expression_statement "puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))();" (assignment_expression "puVar12 = (undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))()" (identifier "puVar12") (= "=") (cast_expression "(undefined1 *)\n                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))()" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))" (( "(") (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750))" (* "*") (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750))" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750))" (( "(") (binary_expression "&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)" (pointer_expression "&_gp_1" (& "&") (identifier "_gp_1")) (+ "+") (pointer_expression "*(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)" (* "*") (cast_expression "(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)" (( "(") (binary_expression "PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750" (binary_expression "PTR_FUN_001311a4 + (uint)bVar2 * 4" (identifier "PTR_FUN_001311a4") (+ "+") (binary_expression "(uint)bVar2 * 4" (cast_expression "(uint)bVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar2")) (* "*") (number_literal "4"))) (+ "+") (number_literal "-0x2750")) () ")"))))) () ")")))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (return_statement "return puVar12;" (return "return") (identifier "puVar12") (; ";")) (} "}"))) (expression_statement "puVar19 = (undefined1 *)0x0;" (assignment_expression "puVar19 = (undefined1 *)0x0" (identifier "puVar19") (= "=") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "unaff_s0 = puVar12;" (assignment_expression "unaff_s0 = puVar12" (identifier "unaff_s0") (= "=") (identifier "puVar12")) (; ";")) (expression_statement "puVar21 = puVar12;" (assignment_expression "puVar21 = puVar12" (identifier "puVar21") (= "=") (identifier "puVar12")) (; ";")) (if_statement "if (bVar2 == 5) {\n        if ((int)puVar20 < 0x3d) {\n          if (0x3b < (int)puVar20) goto LAB_0006666c;\n        }\n        else {\n          puVar20 = (undefined1 *)0x3c;\nLAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);\n          puVar19 = (undefined1 *)0x0;\n          if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }\n        }\n        PTR_DAT_00131178[0x23de] = 4;\n        (*unaff_s7)(2);\n        if ((int)puVar20 < 1) {\n          (*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4);\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n          PTR_DAT_00131178[0x23de] = 0;\n          puVar18 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar18[0x24d] = 0;\n          puVar19 = (undefined1 *)0x0;\n          puVar21 = puVar20;\n        }\n        else {\n          (*local_2ec)(local_2f8,0);\n          puVar19 = (undefined1 *)0x0;\n          unaff_s0 = unaff_s4;\n          puVar21 = (undefined1 *)((int)puVar20 >> 1);\n        }\n      }" (if "if") (parenthesized_expression "(bVar2 == 5)" (( "(") (binary_expression "bVar2 == 5" (identifier "bVar2") (== "==") (number_literal "5")) () ")")) (compound_statement "{\n        if ((int)puVar20 < 0x3d) {\n          if (0x3b < (int)puVar20) goto LAB_0006666c;\n        }\n        else {\n          puVar20 = (undefined1 *)0x3c;\nLAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);\n          puVar19 = (undefined1 *)0x0;\n          if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }\n        }\n        PTR_DAT_00131178[0x23de] = 4;\n        (*unaff_s7)(2);\n        if ((int)puVar20 < 1) {\n          (*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4);\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n          PTR_DAT_00131178[0x23de] = 0;\n          puVar18 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar18[0x24d] = 0;\n          puVar19 = (undefined1 *)0x0;\n          puVar21 = puVar20;\n        }\n        else {\n          (*local_2ec)(local_2f8,0);\n          puVar19 = (undefined1 *)0x0;\n          unaff_s0 = unaff_s4;\n          puVar21 = (undefined1 *)((int)puVar20 >> 1);\n        }\n      }" ({ "{") (if_statement "if ((int)puVar20 < 0x3d) {\n          if (0x3b < (int)puVar20) goto LAB_0006666c;\n        }\n        else {\n          puVar20 = (undefined1 *)0x3c;\nLAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);\n          puVar19 = (undefined1 *)0x0;\n          if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }\n        }" (if "if") (parenthesized_expression "((int)puVar20 < 0x3d)" (( "(") (binary_expression "(int)puVar20 < 0x3d" (cast_expression "(int)puVar20" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar20")) (< "<") (number_literal "0x3d")) () ")")) (compound_statement "{\n          if (0x3b < (int)puVar20) goto LAB_0006666c;\n        }" ({ "{") (if_statement "if (0x3b < (int)puVar20) goto LAB_0006666c;" (if "if") (parenthesized_expression "(0x3b < (int)puVar20)" (( "(") (binary_expression "0x3b < (int)puVar20" (number_literal "0x3b") (< "<") (cast_expression "(int)puVar20" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar20"))) () ")")) (goto_statement "goto LAB_0006666c;" (goto "goto") (statement_identifier "LAB_0006666c") (; ";"))) (} "}")) (else_clause "else {\n          puVar20 = (undefined1 *)0x3c;\nLAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);\n          puVar19 = (undefined1 *)0x0;\n          if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }\n        }" (else "else") (compound_statement "{\n          puVar20 = (undefined1 *)0x3c;\nLAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);\n          puVar19 = (undefined1 *)0x0;\n          if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }\n        }" ({ "{") (expression_statement "puVar20 = (undefined1 *)0x3c;" (assignment_expression "puVar20 = (undefined1 *)0x3c" (identifier "puVar20") (= "=") (cast_expression "(undefined1 *)0x3c" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x3c"))) (; ";")) (labeled_statement "LAB_0006666c:\n          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);" (statement_identifier "LAB_0006666c") (: ":") (expression_statement "iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);" (assignment_expression "iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22)" (identifier "iVar8") (= "=") (call_expression "(*local_2ec)(local_2f8,local_2b8,uVar22)" (parenthesized_expression "(*local_2ec)" (( "(") (pointer_expression "*local_2ec" (* "*") (identifier "local_2ec")) () ")")) (argument_list "(local_2f8,local_2b8,uVar22)" (( "(") (identifier "local_2f8") (, ",") (identifier "local_2b8") (, ",") (identifier "uVar22") () ")")))) (; ";"))) (expression_statement "puVar19 = (undefined1 *)0x0;" (assignment_expression "puVar19 = (undefined1 *)0x0" (identifier "puVar19") (= "=") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (if_statement "if (-1 < iVar8) {\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }" (if "if") (parenthesized_expression "(-1 < iVar8)" (( "(") (binary_expression "-1 < iVar8" (number_literal "-1") (< "<") (identifier "iVar8")) () ")")) (compound_statement "{\n            unaff_s0 = unaff_s4;\n            puVar21 = (undefined1 *)((int)puVar20 >> 1);\n            goto LAB_000662f4;\n          }" ({ "{") (expression_statement "unaff_s0 = unaff_s4;" (assignment_expression "unaff_s0 = unaff_s4" (identifier "unaff_s0") (= "=") (identifier "unaff_s4")) (; ";")) (expression_statement "puVar21 = (undefined1 *)((int)puVar20 >> 1);" (assignment_expression "puVar21 = (undefined1 *)((int)puVar20 >> 1)" (identifier "puVar21") (= "=") (cast_expression "(undefined1 *)((int)puVar20 >> 1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar20 >> 1)" (( "(") (binary_expression "(int)puVar20 >> 1" (cast_expression "(int)puVar20" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar20")) (>> ">>") (number_literal "1")) () ")")))) (; ";")) (goto_statement "goto LAB_000662f4;" (goto "goto") (statement_identifier "LAB_000662f4") (; ";")) (} "}"))) (} "}")))) (expression_statement "PTR_DAT_00131178[0x23de] = 4;" (assignment_expression "PTR_DAT_00131178[0x23de] = 4" (subscript_expression "PTR_DAT_00131178[0x23de]" (identifier "PTR_DAT_00131178") ([ "[") (number_literal "0x23de") (] "]")) (= "=") (number_literal "4")) (; ";")) (expression_statement "(*unaff_s7)(2);" (call_expression "(*unaff_s7)(2)" (parenthesized_expression "(*unaff_s7)" (( "(") (pointer_expression "*unaff_s7" (* "*") (identifier "unaff_s7")) () ")")) (argument_list "(2)" (( "(") (number_literal "2") () ")"))) (; ";")) (if_statement "if ((int)puVar20 < 1) {\n          (*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4);\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n          PTR_DAT_00131178[0x23de] = 0;\n          puVar18 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar18[0x24d] = 0;\n          puVar19 = (undefined1 *)0x0;\n          puVar21 = puVar20;\n        }\n        else {\n          (*local_2ec)(local_2f8,0);\n          puVar19 = (undefined1 *)0x0;\n          unaff_s0 = unaff_s4;\n          puVar21 = (undefined1 *)((int)puVar20 >> 1);\n        }" (if "if") (parenthesized_expression "((int)puVar20 < 1)" (( "(") (binary_expression "(int)puVar20 < 1" (cast_expression "(int)puVar20" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar20")) (< "<") (number_literal "1")) () ")")) (compound_statement "{\n          (*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4);\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n          PTR_DAT_00131178[0x23de] = 0;\n          puVar18 = PTR_bb_common_bufsiz1_0013136c;\n          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n          puVar18[0x24d] = 0;\n          puVar19 = (undefined1 *)0x0;\n          puVar21 = puVar20;\n        }" ({ "{") (expression_statement "(*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4);" (call_expression "(*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" (( "(") (pointer_expression "*(code *)PTR_FUN_001311d0" (* "*") (cast_expression "(code *)PTR_FUN_001311d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_001311d0"))) () ")")) (argument_list "(local_2e4 + -0x28b4)" (( "(") (binary_expression "local_2e4 + -0x28b4" (identifier "local_2e4") (+ "+") (number_literal "-0x28b4")) () ")"))) (; ";")) (expression_statement "(*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);" (call_expression "(*local_2fc)(0,PTR_FUN_001311a4 + -0x2984)" (parenthesized_expression "(*local_2fc)" (( "(") (pointer_expression "*local_2fc" (* "*") (identifier "local_2fc")) () ")")) (argument_list "(0,PTR_FUN_001311a4 + -0x2984)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_FUN_001311a4 + -0x2984" (identifier "PTR_FUN_001311a4") (+ "+") (number_literal "-0x2984")) () ")"))) (; ";")) (expression_statement "PTR_DAT_00131178[0x23de] = 0;" (assignment_expression "PTR_DAT_00131178[0x23de] = 0" (subscript_expression "PTR_DAT_00131178[0x23de]" (identifier "PTR_DAT_00131178") ([ "[") (number_literal "0x23de") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar18 = PTR_bb_common_bufsiz1_0013136c;" (assignment_expression "puVar18 = PTR_bb_common_bufsiz1_0013136c" (identifier "puVar18") (= "=") (identifier "PTR_bb_common_bufsiz1_0013136c")) (; ";")) (expression_statement "PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;" (assignment_expression "PTR_bb_common_bufsiz1_0013136c[0x24c] = 0" (subscript_expression "PTR_bb_common_bufsiz1_0013136c[0x24c]" (identifier "PTR_bb_common_bufsiz1_0013136c") ([ "[") (number_literal "0x24c") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar18[0x24d] = 0;" (assignment_expression "puVar18[0x24d] = 0" (subscript_expression "puVar18[0x24d]" (identifier "puVar18") ([ "[") (number_literal "0x24d") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar19 = (undefined1 *)0x0;" (assignment_expression "puVar19 = (undefined1 *)0x0" (identifier "puVar19") (= "=") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "puVar21 = puVar20;" (assignment_expression "puVar21 = puVar20" (identifier "puVar21") (= "=") (identifier "puVar20")) (; ";")) (} "}")) (else_clause "else {\n          (*local_2ec)(local_2f8,0);\n          puVar19 = (undefined1 *)0x0;\n          unaff_s0 = unaff_s4;\n          puVar21 = (undefined1 *)((int)puVar20 >> 1);\n        }" (else "else") (compound_statement "{\n          (*local_2ec)(local_2f8,0);\n          puVar19 = (undefined1 *)0x0;\n          unaff_s0 = unaff_s4;\n          puVar21 = (undefined1 *)((int)puVar20 >> 1);\n        }" ({ "{") (expression_statement "(*local_2ec)(local_2f8,0);" (call_expression "(*local_2ec)(local_2f8,0)" (parenthesized_expression "(*local_2ec)" (( "(") (pointer_expression "*local_2ec" (* "*") (identifier "local_2ec")) () ")")) (argument_list "(local_2f8,0)" (( "(") (identifier "local_2f8") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "puVar19 = (undefined1 *)0x0;" (assignment_expression "puVar19 = (undefined1 *)0x0" (identifier "puVar19") (= "=") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "unaff_s0 = unaff_s4;" (assignment_expression "unaff_s0 = unaff_s4" (identifier "unaff_s0") (= "=") (identifier "unaff_s4")) (; ";")) (expression_statement "puVar21 = (undefined1 *)((int)puVar20 >> 1);" (assignment_expression "puVar21 = (undefined1 *)((int)puVar20 >> 1)" (identifier "puVar21") (= "=") (cast_expression "(undefined1 *)((int)puVar20 >> 1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar20 >> 1)" (( "(") (binary_expression "(int)puVar20 >> 1" (cast_expression "(int)puVar20" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar20")) (>> ">>") (number_literal "1")) () ")")))) (; ";")) (} "}")))) (} "}"))) (goto_statement "goto LAB_000662f4;" (goto "goto") (statement_identifier "LAB_000662f4") (; ";")) (} "}"))) (if_statement "if (iVar8 == 0x11) {\n      FUN_00065bb0(local_2b8,uVar22);\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }" (if "if") (parenthesized_expression "(iVar8 == 0x11)" (( "(") (binary_expression "iVar8 == 0x11" (identifier "iVar8") (== "==") (number_literal "0x11")) () ")")) (compound_statement "{\n      FUN_00065bb0(local_2b8,uVar22);\n      puVar21 = (undefined1 *)0x7fffffff;\n      goto LAB_000662f4;\n    }" ({ "{") (expression_statement "FUN_00065bb0(local_2b8,uVar22);" (call_expression "FUN_00065bb0(local_2b8,uVar22)" (identifier "FUN_00065bb0") (argument_list "(local_2b8,uVar22)" (( "(") (identifier "local_2b8") (, ",") (identifier "uVar22") () ")"))) (; ";")) (expression_statement "puVar21 = (undefined1 *)0x7fffffff;" (assignment_expression "puVar21 = (undefined1 *)0x7fffffff" (identifier "puVar21") (= "=") (cast_expression "(undefined1 *)0x7fffffff" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x7fffffff"))) (; ";")) (goto_statement "goto LAB_000662f4;" (goto "goto") (statement_identifier "LAB_000662f4") (; ";")) (} "}"))) (if_statement "if (iVar8 == 0xf) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x287c);\n      goto LAB_00066938;\n    }" (if "if") (parenthesized_expression "(iVar8 == 0xf)" (( "(") (binary_expression "iVar8 == 0xf" (identifier "iVar8") (== "==") (number_literal "0xf")) () ")")) (compound_statement "{\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x287c);\n      goto LAB_00066938;\n    }" ({ "{") (expression_statement "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x287c);" (call_expression "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x287c)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" (( "(") (pointer_expression "*(code *)PTR_FUN_001311d0" (* "*") (cast_expression "(code *)PTR_FUN_001311d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_001311d0"))) () ")")) (argument_list "(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x287c)" (( "(") (binary_expression "PTR_FUN_001311a4 + -0x2874" (identifier "PTR_FUN_001311a4") (+ "+") (number_literal "-0x2874")) (, ",") (binary_expression "PTR_FUN_001311a4 + -0x287c" (identifier "PTR_FUN_001311a4") (+ "+") (number_literal "-0x287c")) () ")"))) (; ";")) (goto_statement "goto LAB_00066938;" (goto "goto") (statement_identifier "LAB_00066938") (; ";")) (} "}"))) (if_statement "if (local_2a2 == 0) goto LAB_000662f4;" (if "if") (parenthesized_expression "(local_2a2 == 0)" (( "(") (binary_expression "local_2a2 == 0" (identifier "local_2a2") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_000662f4;" (goto "goto") (statement_identifier "LAB_000662f4") (; ";"))) (if_statement "if (PTR_DAT_00131178[0x23df] == '\x01') {\n      iVar8 = FUN_00069990(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }\n    else {\n      iVar8 = FUN_00064ae0(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }" (if "if") (parenthesized_expression "(PTR_DAT_00131178[0x23df] == '\x01')" (( "(") (binary_expression "PTR_DAT_00131178[0x23df] == '\x01'" (subscript_expression "PTR_DAT_00131178[0x23df]" (identifier "PTR_DAT_00131178") ([ "[") (number_literal "0x23df") (] "]")) (== "==") (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'"))) () ")")) (compound_statement "{\n      iVar8 = FUN_00069990(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }" ({ "{") (expression_statement "iVar8 = FUN_00069990(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));" (assignment_expression "iVar8 = FUN_00069990(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004))" (identifier "iVar8") (= "=") (call_expression "FUN_00069990(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004))" (identifier "FUN_00069990") (argument_list "(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004))" (( "(") (identifier "auStack_2a0") (, ",") (pointer_expression "*(undefined4 *)(local_2f0 + 0x1004)" (* "*") (cast_expression "(undefined4 *)(local_2f0 + 0x1004)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_2f0 + 0x1004)" (( "(") (binary_expression "local_2f0 + 0x1004" (identifier "local_2f0") (+ "+") (number_literal "0x1004")) () ")")))) () ")")))) (; ";")) (} "}")) (else_clause "else {\n      iVar8 = FUN_00064ae0(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }" (else "else") (compound_statement "{\n      iVar8 = FUN_00064ae0(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));\n    }" ({ "{") (expression_statement "iVar8 = FUN_00064ae0(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));" (assignment_expression "iVar8 = FUN_00064ae0(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004))" (identifier "iVar8") (= "=") (call_expression "FUN_00064ae0(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004))" (identifier "FUN_00064ae0") (argument_list "(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004))" (( "(") (identifier "auStack_2a0") (, ",") (pointer_expression "*(undefined4 *)(local_2f0 + 0x1004)" (* "*") (cast_expression "(undefined4 *)(local_2f0 + 0x1004)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_2f0 + 0x1004)" (( "(") (binary_expression "local_2f0 + 0x1004" (identifier "local_2f0") (+ "+") (number_literal "0x1004")) () ")")))) () ")")))) (; ";")) (} "}")))) (if_statement "if (iVar8 == -1) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2868);\n      (*(code *)PTR_sleep_0013211c)(local_2c0);\n      (*unaff_s7)((int)(char)PTR_DAT_00131178[0x23df]);\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }" (if "if") (parenthesized_expression "(iVar8 == -1)" (( "(") (binary_expression "iVar8 == -1" (identifier "iVar8") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2868);\n      (*(code *)PTR_sleep_0013211c)(local_2c0);\n      (*unaff_s7)((int)(char)PTR_DAT_00131178[0x23df]);\n      iVar8 = (*(code *)PTR_FUN_001317c0)();\n      puVar19 = puVar19 + (iVar8 - iVar11);\n      goto LAB_000662f4;\n    }" ({ "{") (expression_statement "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2868);" (call_expression "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2868)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" (( "(") (pointer_expression "*(code *)PTR_FUN_001311d0" (* "*") (cast_expression "(code *)PTR_FUN_001311d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_001311d0"))) () ")")) (argument_list "(PTR_FUN_001311a4 + -0x2868)" (( "(") (binary_expression "PTR_FUN_001311a4 + -0x2868" (identifier "PTR_FUN_001311a4") (+ "+") (number_literal "-0x2868")) () ")"))) (; ";")) (expression_statement "(*(code *)PTR_sleep_0013211c)(local_2c0);" (call_expression "(*(code *)PTR_sleep_0013211c)(local_2c0)" (parenthesized_expression "(*(code *)PTR_sleep_0013211c)" (( "(") (pointer_expression "*(code *)PTR_sleep_0013211c" (* "*") (cast_expression "(code *)PTR_sleep_0013211c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sleep_0013211c"))) () ")")) (argument_list "(local_2c0)" (( "(") (identifier "local_2c0") () ")"))) (; ";")) (expression_statement "(*unaff_s7)((int)(char)PTR_DAT_00131178[0x23df]);" (call_expression "(*unaff_s7)((int)(char)PTR_DAT_00131178[0x23df])" (parenthesized_expression "(*unaff_s7)" (( "(") (pointer_expression "*unaff_s7" (* "*") (identifier "unaff_s7")) () ")")) (argument_list "((int)(char)PTR_DAT_00131178[0x23df])" (( "(") (cast_expression "(int)(char)PTR_DAT_00131178[0x23df]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(char)PTR_DAT_00131178[0x23df]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "PTR_DAT_00131178[0x23df]" (identifier "PTR_DAT_00131178") ([ "[") (number_literal "0x23df") (] "]")))) () ")"))) (; ";")) (expression_statement "iVar8 = (*(code *)PTR_FUN_001317c0)();" (assignment_expression "iVar8 = (*(code *)PTR_FUN_001317c0)()" (identifier "iVar8") (= "=") (call_expression "(*(code *)PTR_FUN_001317c0)()" (parenthesized_expression "(*(code *)PTR_FUN_001317c0)" (( "(") (pointer_expression "*(code *)PTR_FUN_001317c0" (* "*") (cast_expression "(code *)PTR_FUN_001317c0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_001317c0"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar19 = puVar19 + (iVar8 - iVar11);" (assignment_expression "puVar19 = puVar19 + (iVar8 - iVar11)" (identifier "puVar19") (= "=") (binary_expression "puVar19 + (iVar8 - iVar11)" (identifier "puVar19") (+ "+") (parenthesized_expression "(iVar8 - iVar11)" (( "(") (binary_expression "iVar8 - iVar11" (identifier "iVar8") (- "-") (identifier "iVar11")) () ")")))) (; ";")) (goto_statement "goto LAB_000662f4;" (goto "goto") (statement_identifier "LAB_000662f4") (; ";")) (} "}"))) (expression_statement "iVar13 = (*(code *)PTR_FUN_001317c0)();" (assignment_expression "iVar13 = (*(code *)PTR_FUN_001317c0)()" (identifier "iVar13") (= "=") (call_expression "(*(code *)PTR_FUN_001317c0)()" (parenthesized_expression "(*(code *)PTR_FUN_001317c0)" (( "(") (pointer_expression "*(code *)PTR_FUN_001317c0" (* "*") (cast_expression "(code *)PTR_FUN_001317c0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_001317c0"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar19 = puVar19 + (iVar13 - iVar11);" (assignment_expression "puVar19 = puVar19 + (iVar13 - iVar11)" (identifier "puVar19") (= "=") (binary_expression "puVar19 + (iVar13 - iVar11)" (identifier "puVar19") (+ "+") (parenthesized_expression "(iVar13 - iVar11)" (( "(") (binary_expression "iVar13 - iVar11" (identifier "iVar13") (- "-") (identifier "iVar11")) () ")")))) (; ";")) (if_statement "if ((((iVar8 < 0) || (local_29c != local_2f8)) || (local_29e != '\x06')) ||\n       (iVar8 = (*(code *)PTR_memcmp_0013212c)(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)\n       , iVar8 != 0)) goto LAB_000662f4;" (if "if") (parenthesized_expression "((((iVar8 < 0) || (local_29c != local_2f8)) || (local_29e != '\x06')) ||\n       (iVar8 = (*(code *)PTR_memcmp_0013212c)(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)\n       , iVar8 != 0))" (( "(") (binary_expression "(((iVar8 < 0) || (local_29c != local_2f8)) || (local_29e != '\x06')) ||\n       (iVar8 = (*(code *)PTR_memcmp_0013212c)(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)\n       , iVar8 != 0)" (parenthesized_expression "(((iVar8 < 0) || (local_29c != local_2f8)) || (local_29e != '\x06'))" (( "(") (binary_expression "((iVar8 < 0) || (local_29c != local_2f8)) || (local_29e != '\x06')" (parenthesized_expression "((iVar8 < 0) || (local_29c != local_2f8))" (( "(") (binary_expression "(iVar8 < 0) || (local_29c != local_2f8)" (parenthesized_expression "(iVar8 < 0)" (( "(") (binary_expression "iVar8 < 0" (identifier "iVar8") (< "<") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(local_29c != local_2f8)" (( "(") (binary_expression "local_29c != local_2f8" (identifier "local_29c") (!= "!=") (identifier "local_2f8")) () ")"))) () ")")) (|| "||") (parenthesized_expression "(local_29e != '\x06')" (( "(") (binary_expression "local_29e != '\x06'" (identifier "local_29e") (!= "!=") (char_literal "'\x06'" (' "'") (escape_sequence "\x06") (' "'"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "(iVar8 = (*(code *)PTR_memcmp_0013212c)(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)\n       , iVar8 != 0)" (( "(") (comma_expression "iVar8 = (*(code *)PTR_memcmp_0013212c)(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)\n       , iVar8 != 0" (assignment_expression "iVar8 = (*(code *)PTR_memcmp_0013212c)(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)" (identifier "iVar8") (= "=") (call_expression "(*(code *)PTR_memcmp_0013212c)(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)" (parenthesized_expression "(*(code *)PTR_memcmp_0013212c)" (( "(") (pointer_expression "*(code *)PTR_memcmp_0013212c" (* "*") (cast_expression "(code *)PTR_memcmp_0013212c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memcmp_0013212c"))) () ")")) (argument_list "(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)" (( "(") (identifier "auStack_284") (, ",") (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x200" (identifier "PTR_bb_common_bufsiz1_0013136c") (+ "+") (number_literal "0x200")) (, ",") (number_literal "6") () ")")))) (, ",") (binary_expression "iVar8 != 0" (identifier "iVar8") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (goto_statement "goto LAB_000662f4;" (goto "goto") (statement_identifier "LAB_000662f4") (; ";"))) (expression_statement "pcVar14 = (char *)FUN_0006a9b8(auStack_2a0,0x35);" (assignment_expression "pcVar14 = (char *)FUN_0006a9b8(auStack_2a0,0x35)" (identifier "pcVar14") (= "=") (cast_expression "(char *)FUN_0006a9b8(auStack_2a0,0x35)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0006a9b8(auStack_2a0,0x35)" (identifier "FUN_0006a9b8") (argument_list "(auStack_2a0,0x35)" (( "(") (identifier "auStack_2a0") (, ",") (number_literal "0x35") () ")"))))) (; ";")) (expression_statement "uVar9 = local_2b8;" (assignment_expression "uVar9 = local_2b8" (identifier "uVar9") (= "=") (identifier "local_2b8")) (; ";")) (if_statement "if (pcVar14 == (char *)0x0) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2844);\n      goto LAB_000662f4;\n    }" (if "if") (parenthesized_expression "(pcVar14 == (char *)0x0)" (( "(") (binary_expression "pcVar14 == (char *)0x0" (identifier "pcVar14") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2844);\n      goto LAB_000662f4;\n    }" ({ "{") (expression_statement "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2844);" (call_expression "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2844)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" (( "(") (pointer_expression "*(code *)PTR_FUN_001311d0" (* "*") (cast_expression "(code *)PTR_FUN_001311d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_001311d0"))) () ")")) (argument_list "(PTR_FUN_001311a4 + -0x2844)" (( "(") (binary_expression "PTR_FUN_001311a4 + -0x2844" (identifier "PTR_FUN_001311a4") (+ "+") (number_literal "-0x2844")) () ")"))) (; ";")) (goto_statement "goto LAB_000662f4;" (goto "goto") (statement_identifier "LAB_000662f4") (; ";")) (} "}"))) (expression_statement "iVar8 = (int)(char)PTR_DAT_00131178[0x23de];" (assignment_expression "iVar8 = (int)(char)PTR_DAT_00131178[0x23de]" (identifier "iVar8") (= "=") (cast_expression "(int)(char)PTR_DAT_00131178[0x23de]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(char)PTR_DAT_00131178[0x23de]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "PTR_DAT_00131178[0x23de]" (identifier "PTR_DAT_00131178") ([ "[") (number_literal "0x23de") (] "]"))))) (; ";")) (expression_statement "puVar20 = (undefined1 *)0x0;" (assignment_expression "puVar20 = (undefined1 *)0x0" (identifier "puVar20") (= "=") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (if_statement "if (iVar8 != 1) {\n      if (iVar8 < 2) {\n        if ((iVar8 == 0) && (*pcVar14 == '\x02')) {\n          local_2b8 = 0;\n          puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36);\n          if (puVar15 == (uint *)0x0) {\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }\n          else {\n            local_2b8 = *puVar15;\n          }\n          PTR_DAT_00131178[0x23de] = 1;\n          puVar19 = (undefined1 *)0x0;\n          uVar22 = local_290;\n          unaff_s0 = puVar20;\n          puVar21 = puVar20;\n        }\n        goto LAB_000662f4;\n      }\n      if (2 < (iVar8 - 3U & 0xff)) goto LAB_000662f4;\n    }" (if "if") (parenthesized_expression "(iVar8 != 1)" (( "(") (binary_expression "iVar8 != 1" (identifier "iVar8") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n      if (iVar8 < 2) {\n        if ((iVar8 == 0) && (*pcVar14 == '\x02')) {\n          local_2b8 = 0;\n          puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36);\n          if (puVar15 == (uint *)0x0) {\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }\n          else {\n            local_2b8 = *puVar15;\n          }\n          PTR_DAT_00131178[0x23de] = 1;\n          puVar19 = (undefined1 *)0x0;\n          uVar22 = local_290;\n          unaff_s0 = puVar20;\n          puVar21 = puVar20;\n        }\n        goto LAB_000662f4;\n      }\n      if (2 < (iVar8 - 3U & 0xff)) goto LAB_000662f4;\n    }" ({ "{") (if_statement "if (iVar8 < 2) {\n        if ((iVar8 == 0) && (*pcVar14 == '\x02')) {\n          local_2b8 = 0;\n          puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36);\n          if (puVar15 == (uint *)0x0) {\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }\n          else {\n            local_2b8 = *puVar15;\n          }\n          PTR_DAT_00131178[0x23de] = 1;\n          puVar19 = (undefined1 *)0x0;\n          uVar22 = local_290;\n          unaff_s0 = puVar20;\n          puVar21 = puVar20;\n        }\n        goto LAB_000662f4;\n      }" (if "if") (parenthesized_expression "(iVar8 < 2)" (( "(") (binary_expression "iVar8 < 2" (identifier "iVar8") (< "<") (number_literal "2")) () ")")) (compound_statement "{\n        if ((iVar8 == 0) && (*pcVar14 == '\x02')) {\n          local_2b8 = 0;\n          puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36);\n          if (puVar15 == (uint *)0x0) {\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }\n          else {\n            local_2b8 = *puVar15;\n          }\n          PTR_DAT_00131178[0x23de] = 1;\n          puVar19 = (undefined1 *)0x0;\n          uVar22 = local_290;\n          unaff_s0 = puVar20;\n          puVar21 = puVar20;\n        }\n        goto LAB_000662f4;\n      }" ({ "{") (if_statement "if ((iVar8 == 0) && (*pcVar14 == '\x02')) {\n          local_2b8 = 0;\n          puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36);\n          if (puVar15 == (uint *)0x0) {\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }\n          else {\n            local_2b8 = *puVar15;\n          }\n          PTR_DAT_00131178[0x23de] = 1;\n          puVar19 = (undefined1 *)0x0;\n          uVar22 = local_290;\n          unaff_s0 = puVar20;\n          puVar21 = puVar20;\n        }" (if "if") (parenthesized_expression "((iVar8 == 0) && (*pcVar14 == '\x02'))" (( "(") (binary_expression "(iVar8 == 0) && (*pcVar14 == '\x02')" (parenthesized_expression "(iVar8 == 0)" (( "(") (binary_expression "iVar8 == 0" (identifier "iVar8") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*pcVar14 == '\x02')" (( "(") (binary_expression "*pcVar14 == '\x02'" (pointer_expression "*pcVar14" (* "*") (identifier "pcVar14")) (== "==") (char_literal "'\x02'" (' "'") (escape_sequence "\x02") (' "'"))) () ")"))) () ")")) (compound_statement "{\n          local_2b8 = 0;\n          puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36);\n          if (puVar15 == (uint *)0x0) {\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }\n          else {\n            local_2b8 = *puVar15;\n          }\n          PTR_DAT_00131178[0x23de] = 1;\n          puVar19 = (undefined1 *)0x0;\n          uVar22 = local_290;\n          unaff_s0 = puVar20;\n          puVar21 = puVar20;\n        }" ({ "{") (expression_statement "local_2b8 = 0;" (assignment_expression "local_2b8 = 0" (identifier "local_2b8") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36);" (assignment_expression "puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36)" (identifier "puVar15") (= "=") (cast_expression "(uint *)FUN_0006aac8(auStack_2a0,0x36)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0006aac8(auStack_2a0,0x36)" (identifier "FUN_0006aac8") (argument_list "(auStack_2a0,0x36)" (( "(") (identifier "auStack_2a0") (, ",") (number_literal "0x36") () ")"))))) (; ";")) (if_statement "if (puVar15 == (uint *)0x0) {\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }\n          else {\n            local_2b8 = *puVar15;\n          }" (if "if") (parenthesized_expression "(puVar15 == (uint *)0x0)" (( "(") (binary_expression "puVar15 == (uint *)0x0" (identifier "puVar15") (== "==") (cast_expression "(uint *)0x0" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);\n          }" ({ "{") (expression_statement "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);" (call_expression "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" (( "(") (pointer_expression "*(code *)PTR_FUN_001311d0" (* "*") (cast_expression "(code *)PTR_FUN_001311d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_001311d0"))) () ")")) (argument_list "(PTR_FUN_001311a4 + -0x281c)" (( "(") (binary_expression "PTR_FUN_001311a4 + -0x281c" (identifier "PTR_FUN_001311a4") (+ "+") (number_literal "-0x281c")) () ")"))) (; ";")) (} "}")) (else_clause "else {\n            local_2b8 = *puVar15;\n          }" (else "else") (compound_statement "{\n            local_2b8 = *puVar15;\n          }" ({ "{") (expression_statement "local_2b8 = *puVar15;" (assignment_expression "local_2b8 = *puVar15" (identifier "local_2b8") (= "=") (pointer_expression "*puVar15" (* "*") (identifier "puVar15"))) (; ";")) (} "}")))) (expression_statement "PTR_DAT_00131178[0x23de] = 1;" (assignment_expression "PTR_DAT_00131178[0x23de] = 1" (subscript_expression "PTR_DAT_00131178[0x23de]" (identifier "PTR_DAT_00131178") ([ "[") (number_literal "0x23de") (] "]")) (= "=") (number_literal "1")) (; ";")) (expression_statement "puVar19 = (undefined1 *)0x0;" (assignment_expression "puVar19 = (undefined1 *)0x0" (identifier "puVar19") (= "=") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "uVar22 = local_290;" (assignment_expression "uVar22 = local_290" (identifier "uVar22") (= "=") (identifier "local_290")) (; ";")) (expression_statement "unaff_s0 = puVar20;" (assignment_expression "unaff_s0 = puVar20" (identifier "unaff_s0") (= "=") (identifier "puVar20")) (; ";")) (expression_statement "puVar21 = puVar20;" (assignment_expression "puVar21 = puVar20" (identifier "puVar21") (= "=") (identifier "puVar20")) (; ";")) (} "}"))) (goto_statement "goto LAB_000662f4;" (goto "goto") (statement_identifier "LAB_000662f4") (; ";")) (} "}"))) (if_statement "if (2 < (iVar8 - 3U & 0xff)) goto LAB_000662f4;" (if "if") (parenthesized_expression "(2 < (iVar8 - 3U & 0xff))" (( "(") (binary_expression "2 < (iVar8 - 3U & 0xff)" (number_literal "2") (< "<") (parenthesized_expression "(iVar8 - 3U & 0xff)" (( "(") (binary_expression "iVar8 - 3U & 0xff" (binary_expression "iVar8 - 3U" (identifier "iVar8") (- "-") (number_literal "3U")) (& "&") (number_literal "0xff")) () ")"))) () ")")) (goto_statement "goto LAB_000662f4;" (goto "goto") (statement_identifier "LAB_000662f4") (; ";"))) (} "}"))) (if_statement "if (*pcVar14 != '\x05') {\n      if ((*pcVar14 == '\x06') &&\n         ((local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)))))) {\n        (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x2778);\n        (*local_2fc)(auStack_2a0,PTR_FUN_001311a4 + -0x276c);\n        if (PTR_DAT_00131178[0x23de] != '\x01') {\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n        }\n        (*unaff_s7)(2);\n        (*(code *)PTR_sleep_0013211c)(3);\n        PTR_DAT_00131178[0x23de] = 0;\n        puVar18 = PTR_bb_common_bufsiz1_0013136c;\n        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n        puVar18[0x24d] = 0;\n        puVar19 = (undefined1 *)0x0;\n        uVar22 = 0;\n        unaff_s0 = puVar20;\n        puVar21 = puVar20;\n      }\n      goto LAB_000662f4;\n    }" (if "if") (parenthesized_expression "(*pcVar14 != '\x05')" (( "(") (binary_expression "*pcVar14 != '\x05'" (pointer_expression "*pcVar14" (* "*") (identifier "pcVar14")) (!= "!=") (char_literal "'\x05'" (' "'") (escape_sequence "\x05") (' "'"))) () ")")) (compound_statement "{\n      if ((*pcVar14 == '\x06') &&\n         ((local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)))))) {\n        (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x2778);\n        (*local_2fc)(auStack_2a0,PTR_FUN_001311a4 + -0x276c);\n        if (PTR_DAT_00131178[0x23de] != '\x01') {\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n        }\n        (*unaff_s7)(2);\n        (*(code *)PTR_sleep_0013211c)(3);\n        PTR_DAT_00131178[0x23de] = 0;\n        puVar18 = PTR_bb_common_bufsiz1_0013136c;\n        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n        puVar18[0x24d] = 0;\n        puVar19 = (undefined1 *)0x0;\n        uVar22 = 0;\n        unaff_s0 = puVar20;\n        puVar21 = puVar20;\n      }\n      goto LAB_000662f4;\n    }" ({ "{") (if_statement "if ((*pcVar14 == '\x06') &&\n         ((local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)))))) {\n        (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x2778);\n        (*local_2fc)(auStack_2a0,PTR_FUN_001311a4 + -0x276c);\n        if (PTR_DAT_00131178[0x23de] != '\x01') {\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n        }\n        (*unaff_s7)(2);\n        (*(code *)PTR_sleep_0013211c)(3);\n        PTR_DAT_00131178[0x23de] = 0;\n        puVar18 = PTR_bb_common_bufsiz1_0013136c;\n        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n        puVar18[0x24d] = 0;\n        puVar19 = (undefined1 *)0x0;\n        uVar22 = 0;\n        unaff_s0 = puVar20;\n        puVar21 = puVar20;\n      }" (if "if") (parenthesized_expression "((*pcVar14 == '\x06') &&\n         ((local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4))))))" (( "(") (binary_expression "(*pcVar14 == '\x06') &&\n         ((local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)))))" (parenthesized_expression "(*pcVar14 == '\x06')" (( "(") (binary_expression "*pcVar14 == '\x06'" (pointer_expression "*pcVar14" (* "*") (identifier "pcVar14")) (== "==") (char_literal "'\x06'" (' "'") (escape_sequence "\x06") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "((local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)))))" (( "(") (parenthesized_expression "(local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4))))" (( "(") (binary_expression "local_2b8 == 0 ||\n          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)))" (binary_expression "local_2b8 == 0" (identifier "local_2b8") (== "==") (number_literal "0")) (|| "||") (parenthesized_expression "((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)))" (( "(") (parenthesized_expression "(puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4))" (( "(") (comma_expression "puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)" (assignment_expression "puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36)" (identifier "puVar15") (= "=") (cast_expression "(uint *)FUN_0006aac8(auStack_2a0,0x36)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0006aac8(auStack_2a0,0x36)" (identifier "FUN_0006aac8") (argument_list "(auStack_2a0,0x36)" (( "(") (identifier "auStack_2a0") (, ",") (number_literal "0x36") () ")"))))) (, ",") (binary_expression "puVar15 != (uint *)0x0 &&\n           (local_2b4 = *puVar15, uVar9 == local_2b4)" (binary_expression "puVar15 != (uint *)0x0" (identifier "puVar15") (!= "!=") (cast_expression "(uint *)0x0" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (&& "&&") (parenthesized_expression "(local_2b4 = *puVar15, uVar9 == local_2b4)" (( "(") (comma_expression "local_2b4 = *puVar15, uVar9 == local_2b4" (assignment_expression "local_2b4 = *puVar15" (identifier "local_2b4") (= "=") (pointer_expression "*puVar15" (* "*") (identifier "puVar15"))) (, ",") (binary_expression "uVar9 == local_2b4" (identifier "uVar9") (== "==") (identifier "local_2b4"))) () ")")))) () ")")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n        (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x2778);\n        (*local_2fc)(auStack_2a0,PTR_FUN_001311a4 + -0x276c);\n        if (PTR_DAT_00131178[0x23de] != '\x01') {\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n        }\n        (*unaff_s7)(2);\n        (*(code *)PTR_sleep_0013211c)(3);\n        PTR_DAT_00131178[0x23de] = 0;\n        puVar18 = PTR_bb_common_bufsiz1_0013136c;\n        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n        puVar18[0x24d] = 0;\n        puVar19 = (undefined1 *)0x0;\n        uVar22 = 0;\n        unaff_s0 = puVar20;\n        puVar21 = puVar20;\n      }" ({ "{") (expression_statement "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x2778);" (call_expression "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x2778)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" (( "(") (pointer_expression "*(code *)PTR_FUN_001311d0" (* "*") (cast_expression "(code *)PTR_FUN_001311d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_001311d0"))) () ")")) (argument_list "(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x2778)" (( "(") (binary_expression "PTR_FUN_001311a4 + -0x2874" (identifier "PTR_FUN_001311a4") (+ "+") (number_literal "-0x2874")) (, ",") (binary_expression "PTR_FUN_001311a4 + -0x2778" (identifier "PTR_FUN_001311a4") (+ "+") (number_literal "-0x2778")) () ")"))) (; ";")) (expression_statement "(*local_2fc)(auStack_2a0,PTR_FUN_001311a4 + -0x276c);" (call_expression "(*local_2fc)(auStack_2a0,PTR_FUN_001311a4 + -0x276c)" (parenthesized_expression "(*local_2fc)" (( "(") (pointer_expression "*local_2fc" (* "*") (identifier "local_2fc")) () ")")) (argument_list "(auStack_2a0,PTR_FUN_001311a4 + -0x276c)" (( "(") (identifier "auStack_2a0") (, ",") (binary_expression "PTR_FUN_001311a4 + -0x276c" (identifier "PTR_FUN_001311a4") (+ "+") (number_literal "-0x276c")) () ")"))) (; ";")) (if_statement "if (PTR_DAT_00131178[0x23de] != '\x01') {\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n        }" (if "if") (parenthesized_expression "(PTR_DAT_00131178[0x23de] != '\x01')" (( "(") (binary_expression "PTR_DAT_00131178[0x23de] != '\x01'" (subscript_expression "PTR_DAT_00131178[0x23de]" (identifier "PTR_DAT_00131178") ([ "[") (number_literal "0x23de") (] "]")) (!= "!=") (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'"))) () ")")) (compound_statement "{\n          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n        }" ({ "{") (expression_statement "(*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);" (call_expression "(*local_2fc)(0,PTR_FUN_001311a4 + -0x2984)" (parenthesized_expression "(*local_2fc)" (( "(") (pointer_expression "*local_2fc" (* "*") (identifier "local_2fc")) () ")")) (argument_list "(0,PTR_FUN_001311a4 + -0x2984)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_FUN_001311a4 + -0x2984" (identifier "PTR_FUN_001311a4") (+ "+") (number_literal "-0x2984")) () ")"))) (; ";")) (} "}"))) (expression_statement "(*unaff_s7)(2);" (call_expression "(*unaff_s7)(2)" (parenthesized_expression "(*unaff_s7)" (( "(") (pointer_expression "*unaff_s7" (* "*") (identifier "unaff_s7")) () ")")) (argument_list "(2)" (( "(") (number_literal "2") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_sleep_0013211c)(3);" (call_expression "(*(code *)PTR_sleep_0013211c)(3)" (parenthesized_expression "(*(code *)PTR_sleep_0013211c)" (( "(") (pointer_expression "*(code *)PTR_sleep_0013211c" (* "*") (cast_expression "(code *)PTR_sleep_0013211c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sleep_0013211c"))) () ")")) (argument_list "(3)" (( "(") (number_literal "3") () ")"))) (; ";")) (expression_statement "PTR_DAT_00131178[0x23de] = 0;" (assignment_expression "PTR_DAT_00131178[0x23de] = 0" (subscript_expression "PTR_DAT_00131178[0x23de]" (identifier "PTR_DAT_00131178") ([ "[") (number_literal "0x23de") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar18 = PTR_bb_common_bufsiz1_0013136c;" (assignment_expression "puVar18 = PTR_bb_common_bufsiz1_0013136c" (identifier "puVar18") (= "=") (identifier "PTR_bb_common_bufsiz1_0013136c")) (; ";")) (expression_statement "PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;" (assignment_expression "PTR_bb_common_bufsiz1_0013136c[0x24c] = 0" (subscript_expression "PTR_bb_common_bufsiz1_0013136c[0x24c]" (identifier "PTR_bb_common_bufsiz1_0013136c") ([ "[") (number_literal "0x24c") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar18[0x24d] = 0;" (assignment_expression "puVar18[0x24d] = 0" (subscript_expression "puVar18[0x24d]" (identifier "puVar18") ([ "[") (number_literal "0x24d") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar19 = (undefined1 *)0x0;" (assignment_expression "puVar19 = (undefined1 *)0x0" (identifier "puVar19") (= "=") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "uVar22 = 0;" (assignment_expression "uVar22 = 0" (identifier "uVar22") (= "=") (number_literal "0")) (; ";")) (expression_statement "unaff_s0 = puVar20;" (assignment_expression "unaff_s0 = puVar20" (identifier "unaff_s0") (= "=") (identifier "puVar20")) (; ";")) (expression_statement "puVar21 = puVar20;" (assignment_expression "puVar21 = puVar20" (identifier "puVar21") (= "=") (identifier "puVar20")) (; ";")) (} "}"))) (goto_statement "goto LAB_000662f4;" (goto "goto") (statement_identifier "LAB_000662f4") (; ";")) (} "}"))) (expression_statement "puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x33);" (assignment_expression "puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x33)" (identifier "puVar15") (= "=") (cast_expression "(uint *)FUN_0006aac8(auStack_2a0,0x33)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0006aac8(auStack_2a0,0x33)" (identifier "FUN_0006aac8") (argument_list "(auStack_2a0,0x33)" (( "(") (identifier "auStack_2a0") (, ",") (number_literal "0x33") () ")"))))) (; ";")) (if_statement "if (puVar15 == (uint *)0x0) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2800);\n      local_2b4 = 0xe10;\n    }\n    else {\n      local_2b4 = *puVar15;\n      if (local_2b4 < 0x7a) {\n        local_2b4 = 0x7a;\n      }\n    }" (if "if") (parenthesized_expression "(puVar15 == (uint *)0x0)" (( "(") (binary_expression "puVar15 == (uint *)0x0" (identifier "puVar15") (== "==") (cast_expression "(uint *)0x0" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2800);\n      local_2b4 = 0xe10;\n    }" ({ "{") (expression_statement "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2800);" (call_expression "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2800)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" (( "(") (pointer_expression "*(code *)PTR_FUN_001311d0" (* "*") (cast_expression "(code *)PTR_FUN_001311d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_001311d0"))) () ")")) (argument_list "(PTR_FUN_001311a4 + -0x2800)" (( "(") (binary_expression "PTR_FUN_001311a4 + -0x2800" (identifier "PTR_FUN_001311a4") (+ "+") (number_literal "-0x2800")) () ")"))) (; ";")) (expression_statement "local_2b4 = 0xe10;" (assignment_expression "local_2b4 = 0xe10" (identifier "local_2b4") (= "=") (number_literal "0xe10")) (; ";")) (} "}")) (else_clause "else {\n      local_2b4 = *puVar15;\n      if (local_2b4 < 0x7a) {\n        local_2b4 = 0x7a;\n      }\n    }" (else "else") (compound_statement "{\n      local_2b4 = *puVar15;\n      if (local_2b4 < 0x7a) {\n        local_2b4 = 0x7a;\n      }\n    }" ({ "{") (expression_statement "local_2b4 = *puVar15;" (assignment_expression "local_2b4 = *puVar15" (identifier "local_2b4") (= "=") (pointer_expression "*puVar15" (* "*") (identifier "puVar15"))) (; ";")) (if_statement "if (local_2b4 < 0x7a) {\n        local_2b4 = 0x7a;\n      }" (if "if") (parenthesized_expression "(local_2b4 < 0x7a)" (( "(") (binary_expression "local_2b4 < 0x7a" (identifier "local_2b4") (< "<") (number_literal "0x7a")) () ")")) (compound_statement "{\n        local_2b4 = 0x7a;\n      }" ({ "{") (expression_statement "local_2b4 = 0x7a;" (assignment_expression "local_2b4 = 0x7a" (identifier "local_2b4") (= "=") (number_literal "0x7a")) (; ";")) (} "}"))) (} "}")))) (if_statement "if (((int)(uVar6 << 9) < 0) &&\n       (iVar8 = FUN_0006a564(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7),\n       iVar8 == 0)) {\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x27d4);\n      FUN_00064864(local_2b8,local_290);\n      if (PTR_DAT_00131178[0x23de] != '\x01') {\n        (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n      }\n      (*unaff_s7)(2);\n      PTR_DAT_00131178[0x23de] = 0;\n      puVar18 = PTR_bb_common_bufsiz1_0013136c;\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      puVar19 = (undefined1 *)0x0;\n      uVar22 = 0;\n      unaff_s0 = (undefined1 *)0x0;\n      puVar21 = local_2c4;\n      goto LAB_000662f4;\n    }" (if "if") (parenthesized_expression "(((int)(uVar6 << 9) < 0) &&\n       (iVar8 = FUN_0006a564(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7),\n       iVar8 == 0))" (( "(") (binary_expression "((int)(uVar6 << 9) < 0) &&\n       (iVar8 = FUN_0006a564(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7),\n       iVar8 == 0)" (parenthesized_expression "((int)(uVar6 << 9) < 0)" (( "(") (binary_expression "(int)(uVar6 << 9) < 0" (cast_expression "(int)(uVar6 << 9)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uVar6 << 9)" (( "(") (binary_expression "uVar6 << 9" (identifier "uVar6") (<< "<<") (number_literal "9")) () ")"))) (< "<") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar8 = FUN_0006a564(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7),\n       iVar8 == 0)" (( "(") (comma_expression "iVar8 = FUN_0006a564(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7),\n       iVar8 == 0" (assignment_expression "iVar8 = FUN_0006a564(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7)" (identifier "iVar8") (= "=") (call_expression "FUN_0006a564(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7)" (identifier "FUN_0006a564") (argument_list "(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,\n                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7)" (( "(") (identifier "local_290") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x200" (identifier "PTR_bb_common_bufsiz1_0013136c") (+ "+") (number_literal "0x200")) (, ",") (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c)" (* "*") (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x22c)" (( "(") (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x22c" (identifier "PTR_bb_common_bufsiz1_0013136c") (+ "+") (number_literal "0x22c")) () ")")))) (, ",") (identifier "uVar7") () ")")))) (, ",") (binary_expression "iVar8 == 0" (identifier "iVar8") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x27d4);\n      FUN_00064864(local_2b8,local_290);\n      if (PTR_DAT_00131178[0x23de] != '\x01') {\n        (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n      }\n      (*unaff_s7)(2);\n      PTR_DAT_00131178[0x23de] = 0;\n      puVar18 = PTR_bb_common_bufsiz1_0013136c;\n      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;\n      puVar18[0x24d] = 0;\n      puVar19 = (undefined1 *)0x0;\n      uVar22 = 0;\n      unaff_s0 = (undefined1 *)0x0;\n      puVar21 = local_2c4;\n      goto LAB_000662f4;\n    }" ({ "{") (expression_statement "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x27d4);" (call_expression "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x27d4)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" (( "(") (pointer_expression "*(code *)PTR_FUN_001311d0" (* "*") (cast_expression "(code *)PTR_FUN_001311d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_001311d0"))) () ")")) (argument_list "(PTR_FUN_001311a4 + -0x27d4)" (( "(") (binary_expression "PTR_FUN_001311a4 + -0x27d4" (identifier "PTR_FUN_001311a4") (+ "+") (number_literal "-0x27d4")) () ")"))) (; ";")) (expression_statement "FUN_00064864(local_2b8,local_290);" (call_expression "FUN_00064864(local_2b8,local_290)" (identifier "FUN_00064864") (argument_list "(local_2b8,local_290)" (( "(") (identifier "local_2b8") (, ",") (identifier "local_290") () ")"))) (; ";")) (if_statement "if (PTR_DAT_00131178[0x23de] != '\x01') {\n        (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n      }" (if "if") (parenthesized_expression "(PTR_DAT_00131178[0x23de] != '\x01')" (( "(") (binary_expression "PTR_DAT_00131178[0x23de] != '\x01'" (subscript_expression "PTR_DAT_00131178[0x23de]" (identifier "PTR_DAT_00131178") ([ "[") (number_literal "0x23de") (] "]")) (!= "!=") (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'"))) () ")")) (compound_statement "{\n        (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);\n      }" ({ "{") (expression_statement "(*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);" (call_expression "(*local_2fc)(0,PTR_FUN_001311a4 + -0x2984)" (parenthesized_expression "(*local_2fc)" (( "(") (pointer_expression "*local_2fc" (* "*") (identifier "local_2fc")) () ")")) (argument_list "(0,PTR_FUN_001311a4 + -0x2984)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_FUN_001311a4 + -0x2984" (identifier "PTR_FUN_001311a4") (+ "+") (number_literal "-0x2984")) () ")"))) (; ";")) (} "}"))) (expression_statement "(*unaff_s7)(2);" (call_expression "(*unaff_s7)(2)" (parenthesized_expression "(*unaff_s7)" (( "(") (pointer_expression "*unaff_s7" (* "*") (identifier "unaff_s7")) () ")")) (argument_list "(2)" (( "(") (number_literal "2") () ")"))) (; ";")) (expression_statement "PTR_DAT_00131178[0x23de] = 0;" (assignment_expression "PTR_DAT_00131178[0x23de] = 0" (subscript_expression "PTR_DAT_00131178[0x23de]" (identifier "PTR_DAT_00131178") ([ "[") (number_literal "0x23de") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar18 = PTR_bb_common_bufsiz1_0013136c;" (assignment_expression "puVar18 = PTR_bb_common_bufsiz1_0013136c" (identifier "puVar18") (= "=") (identifier "PTR_bb_common_bufsiz1_0013136c")) (; ";")) (expression_statement "PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;" (assignment_expression "PTR_bb_common_bufsiz1_0013136c[0x24c] = 0" (subscript_expression "PTR_bb_common_bufsiz1_0013136c[0x24c]" (identifier "PTR_bb_common_bufsiz1_0013136c") ([ "[") (number_literal "0x24c") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar18[0x24d] = 0;" (assignment_expression "puVar18[0x24d] = 0" (subscript_expression "puVar18[0x24d]" (identifier "puVar18") ([ "[") (number_literal "0x24d") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar19 = (undefined1 *)0x0;" (assignment_expression "puVar19 = (undefined1 *)0x0" (identifier "puVar19") (= "=") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "uVar22 = 0;" (assignment_expression "uVar22 = 0" (identifier "uVar22") (= "=") (number_literal "0")) (; ";")) (expression_statement "unaff_s0 = (undefined1 *)0x0;" (assignment_expression "unaff_s0 = (undefined1 *)0x0" (identifier "unaff_s0") (= "=") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "puVar21 = local_2c4;" (assignment_expression "puVar21 = local_2c4" (identifier "puVar21") (= "=") (identifier "local_2c4")) (; ";")) (goto_statement "goto LAB_000662f4;" (goto "goto") (statement_identifier "LAB_000662f4") (; ";")) (} "}"))) (expression_statement "uVar10 = (*(code *)PTR_inet_ntoa_00132140)(local_290);" (assignment_expression "uVar10 = (*(code *)PTR_inet_ntoa_00132140)(local_290)" (identifier "uVar10") (= "=") (call_expression "(*(code *)PTR_inet_ntoa_00132140)(local_290)" (parenthesized_expression "(*(code *)PTR_inet_ntoa_00132140)" (( "(") (pointer_expression "*(code *)PTR_inet_ntoa_00132140" (* "*") (cast_expression "(code *)PTR_inet_ntoa_00132140" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_inet_ntoa_00132140"))) () ")")) (argument_list "(local_290)" (( "(") (identifier "local_290") () ")")))) (; ";")) (expression_statement "uVar9 = local_2b4;" (assignment_expression "uVar9 = local_2b4" (identifier "uVar9") (= "=") (identifier "local_2b4")) (; ";")) (expression_statement "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x279c,uVar10,local_2b4);" (call_expression "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x279c,uVar10,local_2b4)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" (( "(") (pointer_expression "*(code *)PTR_FUN_001311d0" (* "*") (cast_expression "(code *)PTR_FUN_001311d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_001311d0"))) () ")")) (argument_list "(PTR_FUN_001311a4 + -0x279c,uVar10,local_2b4)" (( "(") (binary_expression "PTR_FUN_001311a4 + -0x279c" (identifier "PTR_FUN_001311a4") (+ "+") (number_literal "-0x279c")) (, ",") (identifier "uVar10") (, ",") (identifier "local_2b4") () ")"))) (; ";")) (expression_statement "uVar22 = local_290;" (assignment_expression "uVar22 = local_290" (identifier "uVar22") (= "=") (identifier "local_290")) (; ";")) (expression_statement "iVar8 = (*(code *)PTR_FUN_001317c0)();" (assignment_expression "iVar8 = (*(code *)PTR_FUN_001317c0)()" (identifier "iVar8") (= "=") (call_expression "(*(code *)PTR_FUN_001317c0)()" (parenthesized_expression "(*(code *)PTR_FUN_001317c0)" (( "(") (pointer_expression "*(code *)PTR_FUN_001317c0" (* "*") (cast_expression "(code *)PTR_FUN_001317c0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_001317c0"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (PTR_DAT_00131178[0x23de] == '\x01') {\n      puVar18 = PTR_FUN_001311a4 + -0x2978;\n    }\n    else {\n      puVar18 = PTR_FUN_001311a4 + -0x2884;\n    }" (if "if") (parenthesized_expression "(PTR_DAT_00131178[0x23de] == '\x01')" (( "(") (binary_expression "PTR_DAT_00131178[0x23de] == '\x01'" (subscript_expression "PTR_DAT_00131178[0x23de]" (identifier "PTR_DAT_00131178") ([ "[") (number_literal "0x23de") (] "]")) (== "==") (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'"))) () ")")) (compound_statement "{\n      puVar18 = PTR_FUN_001311a4 + -0x2978;\n    }" ({ "{") (expression_statement "puVar18 = PTR_FUN_001311a4 + -0x2978;" (assignment_expression "puVar18 = PTR_FUN_001311a4 + -0x2978" (identifier "puVar18") (= "=") (binary_expression "PTR_FUN_001311a4 + -0x2978" (identifier "PTR_FUN_001311a4") (+ "+") (number_literal "-0x2978"))) (; ";")) (} "}")) (else_clause "else {\n      puVar18 = PTR_FUN_001311a4 + -0x2884;\n    }" (else "else") (compound_statement "{\n      puVar18 = PTR_FUN_001311a4 + -0x2884;\n    }" ({ "{") (expression_statement "puVar18 = PTR_FUN_001311a4 + -0x2884;" (assignment_expression "puVar18 = PTR_FUN_001311a4 + -0x2884" (identifier "puVar18") (= "=") (binary_expression "PTR_FUN_001311a4 + -0x2884" (identifier "PTR_FUN_001311a4") (+ "+") (number_literal "-0x2884"))) (; ";")) (} "}")))) (expression_statement "(*local_2fc)(auStack_2a0,puVar18);" (call_expression "(*local_2fc)(auStack_2a0,puVar18)" (parenthesized_expression "(*local_2fc)" (( "(") (pointer_expression "*local_2fc" (* "*") (identifier "local_2fc")) () ")")) (argument_list "(auStack_2a0,puVar18)" (( "(") (identifier "auStack_2a0") (, ",") (identifier "puVar18") () ")"))) (; ";")) (expression_statement "iVar11 = (*(code *)PTR_FUN_001317c0)();" (assignment_expression "iVar11 = (*(code *)PTR_FUN_001317c0)()" (identifier "iVar11") (= "=") (call_expression "(*(code *)PTR_FUN_001317c0)()" (parenthesized_expression "(*(code *)PTR_FUN_001317c0)" (( "(") (pointer_expression "*(code *)PTR_FUN_001317c0" (* "*") (cast_expression "(code *)PTR_FUN_001317c0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_001317c0"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar19 = (undefined1 *)(iVar11 - iVar8);" (assignment_expression "puVar19 = (undefined1 *)(iVar11 - iVar8)" (identifier "puVar19") (= "=") (cast_expression "(undefined1 *)(iVar11 - iVar8)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 - iVar8)" (( "(") (binary_expression "iVar11 - iVar8" (identifier "iVar11") (- "-") (identifier "iVar8")) () ")")))) (; ";")) (expression_statement "puVar21 = (undefined1 *)(uVar9 >> 1);" (assignment_expression "puVar21 = (undefined1 *)(uVar9 >> 1)" (identifier "puVar21") (= "=") (cast_expression "(undefined1 *)(uVar9 >> 1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar9 >> 1)" (( "(") (binary_expression "uVar9 >> 1" (identifier "uVar9") (>> ">>") (number_literal "1")) () ")")))) (; ";")) (if_statement "if (puVar21 < puVar19) {\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = puVar20;\n    }" (if "if") (parenthesized_expression "(puVar21 < puVar19)" (( "(") (binary_expression "puVar21 < puVar19" (identifier "puVar21") (< "<") (identifier "puVar19")) () ")")) (compound_statement "{\n      puVar19 = (undefined1 *)0x0;\n      puVar21 = puVar20;\n    }" ({ "{") (expression_statement "puVar19 = (undefined1 *)0x0;" (assignment_expression "puVar19 = (undefined1 *)0x0" (identifier "puVar19") (= "=") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "puVar21 = puVar20;" (assignment_expression "puVar21 = puVar20" (identifier "puVar21") (= "=") (identifier "puVar20")) (; ";")) (} "}"))) (expression_statement "PTR_DAT_00131178[0x23de] = 2;" (assignment_expression "PTR_DAT_00131178[0x23de] = 2" (subscript_expression "PTR_DAT_00131178[0x23de]" (identifier "PTR_DAT_00131178") ([ "[") (number_literal "0x23de") (] "]")) (= "=") (number_literal "2")) (; ";")) (expression_statement "(*unaff_s7)(0);" (call_expression "(*unaff_s7)(0)" (parenthesized_expression "(*unaff_s7)" (( "(") (pointer_expression "*unaff_s7" (* "*") (identifier "unaff_s7")) () ")")) (argument_list "(0)" (( "(") (number_literal "0") () ")"))) (; ";")) (if_statement "if ((uVar6 & 0x100) == 0) {\n      if ((int)(uVar6 << 0xc) < 0) {\n        uVar6 = uVar6 & 0xffffffbf;\n      }\n      else {\n        FUN_000643f4();\n        uVar6 = uVar6 & 0xffd7ffbf | 0x80000;\n      }\n      goto LAB_000662f4;\n    }" (if "if") (parenthesized_expression "((uVar6 & 0x100) == 0)" (( "(") (binary_expression "(uVar6 & 0x100) == 0" (parenthesized_expression "(uVar6 & 0x100)" (( "(") (binary_expression "uVar6 & 0x100" (identifier "uVar6") (& "&") (number_literal "0x100")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if ((int)(uVar6 << 0xc) < 0) {\n        uVar6 = uVar6 & 0xffffffbf;\n      }\n      else {\n        FUN_000643f4();\n        uVar6 = uVar6 & 0xffd7ffbf | 0x80000;\n      }\n      goto LAB_000662f4;\n    }" ({ "{") (if_statement "if ((int)(uVar6 << 0xc) < 0) {\n        uVar6 = uVar6 & 0xffffffbf;\n      }\n      else {\n        FUN_000643f4();\n        uVar6 = uVar6 & 0xffd7ffbf | 0x80000;\n      }" (if "if") (parenthesized_expression "((int)(uVar6 << 0xc) < 0)" (( "(") (binary_expression "(int)(uVar6 << 0xc) < 0" (cast_expression "(int)(uVar6 << 0xc)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uVar6 << 0xc)" (( "(") (binary_expression "uVar6 << 0xc" (identifier "uVar6") (<< "<<") (number_literal "0xc")) () ")"))) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        uVar6 = uVar6 & 0xffffffbf;\n      }" ({ "{") (expression_statement "uVar6 = uVar6 & 0xffffffbf;" (assignment_expression "uVar6 = uVar6 & 0xffffffbf" (identifier "uVar6") (= "=") (binary_expression "uVar6 & 0xffffffbf" (identifier "uVar6") (& "&") (number_literal "0xffffffbf"))) (; ";")) (} "}")) (else_clause "else {\n        FUN_000643f4();\n        uVar6 = uVar6 & 0xffd7ffbf | 0x80000;\n      }" (else "else") (compound_statement "{\n        FUN_000643f4();\n        uVar6 = uVar6 & 0xffd7ffbf | 0x80000;\n      }" ({ "{") (expression_statement "FUN_000643f4();" (call_expression "FUN_000643f4()" (identifier "FUN_000643f4") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar6 = uVar6 & 0xffd7ffbf | 0x80000;" (assignment_expression "uVar6 = uVar6 & 0xffd7ffbf | 0x80000" (identifier "uVar6") (= "=") (binary_expression "uVar6 & 0xffd7ffbf | 0x80000" (binary_expression "uVar6 & 0xffd7ffbf" (identifier "uVar6") (& "&") (number_literal "0xffd7ffbf")) (| "|") (number_literal "0x80000"))) (; ";")) (} "}")))) (goto_statement "goto LAB_000662f4;" (goto "goto") (statement_identifier "LAB_000662f4") (; ";")) (} "}"))) (} "}")))) (labeled_statement "LAB_00066938:\n  uVar6 = uVar6 & 0x200;" (statement_identifier "LAB_00066938") (: ":") (expression_statement "uVar6 = uVar6 & 0x200;" (assignment_expression "uVar6 = uVar6 & 0x200" (identifier "uVar6") (= "=") (binary_expression "uVar6 & 0x200" (identifier "uVar6") (& "&") (number_literal "0x200"))) (; ";"))) (expression_statement "unaff_s0 = puVar19;" (assignment_expression "unaff_s0 = puVar19" (identifier "unaff_s0") (= "=") (identifier "puVar19")) (; ";")) (if_statement "if (uVar6 != 0) {\n    FUN_00065bb0(local_2b8,uVar22);\n  }" (if "if") (parenthesized_expression "(uVar6 != 0)" (( "(") (binary_expression "uVar6 != 0" (identifier "uVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00065bb0(local_2b8,uVar22);\n  }" ({ "{") (expression_statement "FUN_00065bb0(local_2b8,uVar22);" (call_expression "FUN_00065bb0(local_2b8,uVar22)" (identifier "FUN_00065bb0") (argument_list "(local_2b8,uVar22)" (( "(") (identifier "local_2b8") (, ",") (identifier "uVar22") () ")"))) (; ";")) (} "}"))) (while_statement "while( true ) {\n    if (*PTR_DAT_00131434 != '\0') {\n      (*(code *)PTR_unlink_001320a8)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));\n    }\nLAB_0006654c:\n    if (local_2c == *(int *)PTR___stack_chk_guard_00132164) {\n      return puVar12;\n    }\n    (*(code *)PTR___stack_chk_fail_001320e4)();\n    if ((int)unaff_s4 < 3) {\n      FUN_00064724(local_2f8,local_2b8);\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = unaff_s4 + 1;\n      puVar21 = local_2c0;\n      goto LAB_000662f4;\n    }\n    (*unaff_s7)(2);\n    PTR_DAT_00131178[0x23de] = 0;\n    (*local_2fc)(0,PTR_FUN_001311a4 + -0x28f4);\n    if ((int)(uVar6 << 10) < 0) break;\n    if ((uVar6 & 0x40) == 0) goto LAB_00066624;\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x28c8);\n    puVar12 = &DAT_00000001;\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    if (*PTR_DAT_00131434 != '\0') {\n      (*(code *)PTR_unlink_001320a8)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));\n    }\nLAB_0006654c:\n    if (local_2c == *(int *)PTR___stack_chk_guard_00132164) {\n      return puVar12;\n    }\n    (*(code *)PTR___stack_chk_fail_001320e4)();\n    if ((int)unaff_s4 < 3) {\n      FUN_00064724(local_2f8,local_2b8);\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = unaff_s4 + 1;\n      puVar21 = local_2c0;\n      goto LAB_000662f4;\n    }\n    (*unaff_s7)(2);\n    PTR_DAT_00131178[0x23de] = 0;\n    (*local_2fc)(0,PTR_FUN_001311a4 + -0x28f4);\n    if ((int)(uVar6 << 10) < 0) break;\n    if ((uVar6 & 0x40) == 0) goto LAB_00066624;\n    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x28c8);\n    puVar12 = &DAT_00000001;\n  }" ({ "{") (if_statement "if (*PTR_DAT_00131434 != '\0') {\n      (*(code *)PTR_unlink_001320a8)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));\n    }" (if "if") (parenthesized_expression "(*PTR_DAT_00131434 != '\0')" (( "(") (binary_expression "*PTR_DAT_00131434 != '\0'" (pointer_expression "*PTR_DAT_00131434" (* "*") (identifier "PTR_DAT_00131434")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      (*(code *)PTR_unlink_001320a8)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));\n    }" ({ "{") (expression_statement "(*(code *)PTR_unlink_001320a8)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));" (call_expression "(*(code *)PTR_unlink_001320a8)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230))" (parenthesized_expression "(*(code *)PTR_unlink_001320a8)" (( "(") (pointer_expression "*(code *)PTR_unlink_001320a8" (* "*") (cast_expression "(code *)PTR_unlink_001320a8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_unlink_001320a8"))) () ")")) (argument_list "(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230))" (( "(") (pointer_expression "*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230)" (* "*") (cast_expression "(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_bb_common_bufsiz1_0013136c + 0x230)" (( "(") (binary_expression "PTR_bb_common_bufsiz1_0013136c + 0x230" (identifier "PTR_bb_common_bufsiz1_0013136c") (+ "+") (number_literal "0x230")) () ")")))) () ")"))) (; ";")) (} "}"))) (labeled_statement "LAB_0006654c:\n    if (local_2c == *(int *)PTR___stack_chk_guard_00132164) {\n      return puVar12;\n    }" (statement_identifier "LAB_0006654c") (: ":") (if_statement "if (local_2c == *(int *)PTR___stack_chk_guard_00132164) {\n      return puVar12;\n    }" (if "if") (parenthesized_expression "(local_2c == *(int *)PTR___stack_chk_guard_00132164)" (( "(") (binary_expression "local_2c == *(int *)PTR___stack_chk_guard_00132164" (identifier "local_2c") (== "==") (pointer_expression "*(int *)PTR___stack_chk_guard_00132164" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_00132164" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_00132164")))) () ")")) (compound_statement "{\n      return puVar12;\n    }" ({ "{") (return_statement "return puVar12;" (return "return") (identifier "puVar12") (; ";")) (} "}")))) (expression_statement "(*(code *)PTR___stack_chk_fail_001320e4)();" (call_expression "(*(code *)PTR___stack_chk_fail_001320e4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_001320e4)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_001320e4" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_001320e4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_001320e4"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if ((int)unaff_s4 < 3) {\n      FUN_00064724(local_2f8,local_2b8);\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = unaff_s4 + 1;\n      puVar21 = local_2c0;\n      goto LAB_000662f4;\n    }" (if "if") (parenthesized_expression "((int)unaff_s4 < 3)" (( "(") (binary_expression "(int)unaff_s4 < 3" (cast_expression "(int)unaff_s4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "unaff_s4")) (< "<") (number_literal "3")) () ")")) (compound_statement "{\n      FUN_00064724(local_2f8,local_2b8);\n      puVar19 = (undefined1 *)0x0;\n      unaff_s0 = unaff_s4 + 1;\n      puVar21 = local_2c0;\n      goto LAB_000662f4;\n    }" ({ "{") (expression_statement "FUN_00064724(local_2f8,local_2b8);" (call_expression "FUN_00064724(local_2f8,local_2b8)" (identifier "FUN_00064724") (argument_list "(local_2f8,local_2b8)" (( "(") (identifier "local_2f8") (, ",") (identifier "local_2b8") () ")"))) (; ";")) (expression_statement "puVar19 = (undefined1 *)0x0;" (assignment_expression "puVar19 = (undefined1 *)0x0" (identifier "puVar19") (= "=") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "unaff_s0 = unaff_s4 + 1;" (assignment_expression "unaff_s0 = unaff_s4 + 1" (identifier "unaff_s0") (= "=") (binary_expression "unaff_s4 + 1" (identifier "unaff_s4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar21 = local_2c0;" (assignment_expression "puVar21 = local_2c0" (identifier "puVar21") (= "=") (identifier "local_2c0")) (; ";")) (goto_statement "goto LAB_000662f4;" (goto "goto") (statement_identifier "LAB_000662f4") (; ";")) (} "}"))) (expression_statement "(*unaff_s7)(2);" (call_expression "(*unaff_s7)(2)" (parenthesized_expression "(*unaff_s7)" (( "(") (pointer_expression "*unaff_s7" (* "*") (identifier "unaff_s7")) () ")")) (argument_list "(2)" (( "(") (number_literal "2") () ")"))) (; ";")) (expression_statement "PTR_DAT_00131178[0x23de] = 0;" (assignment_expression "PTR_DAT_00131178[0x23de] = 0" (subscript_expression "PTR_DAT_00131178[0x23de]" (identifier "PTR_DAT_00131178") ([ "[") (number_literal "0x23de") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "(*local_2fc)(0,PTR_FUN_001311a4 + -0x28f4);" (call_expression "(*local_2fc)(0,PTR_FUN_001311a4 + -0x28f4)" (parenthesized_expression "(*local_2fc)" (( "(") (pointer_expression "*local_2fc" (* "*") (identifier "local_2fc")) () ")")) (argument_list "(0,PTR_FUN_001311a4 + -0x28f4)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_FUN_001311a4 + -0x28f4" (identifier "PTR_FUN_001311a4") (+ "+") (number_literal "-0x28f4")) () ")"))) (; ";")) (if_statement "if ((int)(uVar6 << 10) < 0) break;" (if "if") (parenthesized_expression "((int)(uVar6 << 10) < 0)" (( "(") (binary_expression "(int)(uVar6 << 10) < 0" (cast_expression "(int)(uVar6 << 10)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uVar6 << 10)" (( "(") (binary_expression "uVar6 << 10" (identifier "uVar6") (<< "<<") (number_literal "10")) () ")"))) (< "<") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (if_statement "if ((uVar6 & 0x40) == 0) goto LAB_00066624;" (if "if") (parenthesized_expression "((uVar6 & 0x40) == 0)" (( "(") (binary_expression "(uVar6 & 0x40) == 0" (parenthesized_expression "(uVar6 & 0x40)" (( "(") (binary_expression "uVar6 & 0x40" (identifier "uVar6") (& "&") (number_literal "0x40")) () ")")) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00066624;" (goto "goto") (statement_identifier "LAB_00066624") (; ";"))) (expression_statement "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x28c8);" (call_expression "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x28c8)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" (( "(") (pointer_expression "*(code *)PTR_FUN_001311d0" (* "*") (cast_expression "(code *)PTR_FUN_001311d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_001311d0"))) () ")")) (argument_list "(PTR_FUN_001311a4 + -0x28c8)" (( "(") (binary_expression "PTR_FUN_001311a4 + -0x28c8" (identifier "PTR_FUN_001311a4") (+ "+") (number_literal "-0x28c8")) () ")"))) (; ";")) (expression_statement "puVar12 = &DAT_00000001;" (assignment_expression "puVar12 = &DAT_00000001" (identifier "puVar12") (= "=") (pointer_expression "&DAT_00000001" (& "&") (identifier "DAT_00000001"))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x28e8);" (call_expression "(*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x28e8)" (parenthesized_expression "(*(code *)PTR_FUN_001311d0)" (( "(") (pointer_expression "*(code *)PTR_FUN_001311d0" (* "*") (cast_expression "(code *)PTR_FUN_001311d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_001311d0"))) () ")")) (argument_list "(PTR_FUN_001311a4 + -0x28e8)" (( "(") (binary_expression "PTR_FUN_001311a4 + -0x28e8" (identifier "PTR_FUN_001311a4") (+ "+") (number_literal "-0x28e8")) () ")"))) (; ";")) (expression_statement "FUN_000643f4();" (call_expression "FUN_000643f4()" (identifier "FUN_000643f4") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar6 = uVar6 & 0xffd7ffff | 0x80000;" (assignment_expression "uVar6 = uVar6 & 0xffd7ffff | 0x80000" (identifier "uVar6") (= "=") (binary_expression "uVar6 & 0xffd7ffff | 0x80000" (binary_expression "uVar6 & 0xffd7ffff" (identifier "uVar6") (& "&") (number_literal "0xffd7ffff")) (| "|") (number_literal "0x80000"))) (; ";")) (labeled_statement "LAB_00066624:\n  puVar19 = (undefined1 *)0x0;" (statement_identifier "LAB_00066624") (: ":") (expression_statement "puVar19 = (undefined1 *)0x0;" (assignment_expression "puVar19 = (undefined1 *)0x0" (identifier "puVar19") (= "=") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";"))) (expression_statement "puVar21 = local_2c4;" (assignment_expression "puVar21 = local_2c4" (identifier "puVar21") (= "=") (identifier "local_2c4")) (; ";")) (goto_statement "goto LAB_000662f4;" (goto "goto") (statement_identifier "LAB_000662f4") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator 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: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_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 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 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: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (pointer_expression argument: (identifier)) (binary_expression left: (identifier) right: (number_literal)) (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier) (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: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier) (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: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier)))) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (binary_expression left: (number_literal) right: (identifier)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal)))) right: (number_literal)))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (number_literal))) right: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (number_literal) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (number_literal) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (subscript_expression argument: (identifier) index: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (number_literal)))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (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: (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: (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: (subscript_expression argument: (identifier) index: (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: (subscript_expression argument: (identifier) index: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier) (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: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) (number_literal) (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) 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: (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: (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (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: (subscript_expression argument: (identifier) index: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (subscript_expression argument: (identifier) index: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal)))) right: (number_literal))) right: (number_literal)))))))))) arguments: (argument_list))))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (goto_statement label: (statement_identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list)))) (if_statement condition: (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))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier)))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (goto_statement label: (statement_identifier)))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))) right: (number_literal)))))))))) arguments: (argument_list))))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) consequence: (goto_statement label: (statement_identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier) (identifier) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) 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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))))) (goto_statement label: (statement_identifier))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) 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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))))))))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal))))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (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)))))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (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 (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type)) value: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) right: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (number_literal)))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))))) consequence: (goto_statement label: (statement_identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (parenthesized_expression (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal))))) right: (binary_expression left: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))) right: (binary_expression left: (identifier) right: (identifier))))))))))))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (identifier)))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list)))) (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: (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)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) 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))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))))))) (goto_statement label: (statement_identifier))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_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 (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) consequence: (compound_statement (return_statement (identifier))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (goto_statement label: (statement_identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal))) consequence: (break_statement)) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (goto_statement label: (statement_identifier)))))

undefined1 * MASKED(undefined4 param_1,undefined4 param_2)

{
  byte *pbVar1;
  byte bVar2;
  undefined *puVar3;
  undefined *puVar4;
  undefined *puVar5;
  uint uVar6;
  undefined4 uVar7;
  int iVar8;
  uint uVar9;
  undefined4 uVar10;
  int iVar11;
  undefined1 *puVar12;
  int iVar13;
  char *pcVar14;
  uint *puVar15;
  uint uVar16;
  undefined4 extraout_v1;
  byte *pbVar17;
  undefined *puVar18;
  undefined1 *unaff_s0;
  undefined1 *puVar19;
  undefined1 *puVar20;
  undefined1 *puVar21;
  undefined4 *unaff_s3;
  undefined1 *unaff_s4;
  uint uVar22;
  code *unaff_s7;
  code *local_2fc;
  int local_2f8;
  undefined *local_2f0;
  code *local_2ec;
  undefined *local_2e4;
  char *local_2e0;
  undefined4 local_2dc;
  undefined4 local_2d8;
  undefined4 local_2d4;
  undefined *local_2d0;
  int local_2cc;
  int local_2c8;
  undefined *local_2c4;
  undefined *local_2c0;
  undefined4 local_2bc;
  uint local_2b8;
  uint local_2b4;
  undefined1 auStack_2b0 [14];
  short local_2a2;
  undefined1 auStack_2a0 [2];
  char local_29e;
  int local_29c;
  uint local_290;
  undefined1 auStack_284 [600];
  int local_2c;
  
  puVar18 = PTR_bb_common_bufsiz1_0013136c;
  local_2c = *(int *)PTR___stack_chk_guard_00132164;
  local_2d0 = PTR_FUN_001311a4 + -0x2970;
  local_2cc = 0;
  local_2c8 = 0;
  local_2c4 = (undefined1 *)0x14;
  local_2c0 = (undefined1 *)0x3;
  local_2bc = 3;
  *(undefined **)(PTR_bb_common_bufsiz1_0013136c + 0x22c) = PTR_FUN_001311a4 + -0x6598;
  *(undefined **)(puVar18 + 0x234) = PTR_FUN_001311a4 + -0x2968;
  local_2e0 = PTR_FUN_001311a4 + -0x294c;
  uVar6 = (*(code *)PTR_FUN_00131314)
                    (param_2,PTR_LAB_0013118c + 0x5970,PTR_DAT_001311dc + -0x227c,&local_2e0,
                     &local_2dc,&local_2dc,&local_2d8,puVar18 + 0x22c,puVar18 + 0x230,&local_2d4,
                     puVar18 + 0x234,&local_2c0,&local_2bc,&local_2c4,&local_2cc,&local_2c8,
                     &local_2d0);
  if ((uVar6 & 0xc) != 0) {
    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x293c);
    uVar7 = FUN_00064458(0xc,local_2dc,0);
    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x244) = uVar7;
  }
  if ((uVar6 & 0x10) != 0) {
    iVar8 = FUN_00064458(0x51,local_2d8,3);
    *(int *)(PTR_bb_common_bufsiz1_0013136c + 0x248) = iVar8;
    *(undefined1 *)(iVar8 + 2) = 1;
  }
  uVar22 = uVar6 & 0x400;
  if (uVar22 != 0) {
    uVar22 = (*(code *)PTR_inet_addr_00131d0c)(local_2d4);
  }
  uVar7 = (*(code *)PTR_FUN_001313c8)(local_2d0);
  puVar5 = PTR_FUN_001317ec;
  puVar4 = PTR_FUN_00131300;
  puVar3 = PTR_FUN_00131244;
  puVar18 = PTR_DAT_001311d8;
  if (local_2cc != 0) {
    do {
      unaff_s0 = (undefined1 *)(*(code *)puVar3)(&local_2cc);
      uVar9 = (*(code *)puVar4)(unaff_s0,0,0);
      if ((**(int **)puVar18 != 0) || (uVar16 = uVar9 >> 3, 0xfe < uVar9)) {
        iVar8 = FUN_0006a8c4(unaff_s0,PTR_DAT_001317d8);
        uVar9 = (uint)(byte)PTR_DAT_001317dc[iVar8 * 2 + 1];
        uVar16 = (uint)((byte)PTR_DAT_001317dc[iVar8 * 2 + 1] >> 3);
      }
      PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c] =
           (byte)(1 << (uVar9 & 7)) | PTR_bb_common_bufsiz1_0013136c[uVar16 + 0x20c];
      unaff_s3 = (undefined4 *)puVar4;
      unaff_s4 = puVar3;
      unaff_s7 = (code *)puVar5;
    } while (local_2cc != 0);
  }
  puVar18 = PTR_bb_common_bufsiz1_0013136c;
  if (-1 < (int)(uVar6 << 0xe)) {
    bVar2 = PTR_DAT_001317dc[1];
    pbVar17 = PTR_DAT_001317dc;
    while (bVar2 != 0) {
      if ((*pbVar17 & 0x10) != 0) {
        puVar18[(bVar2 >> 3) + 0x20c] = (byte)(1 << (bVar2 & 7)) | puVar18[(bVar2 >> 3) + 0x20c];
      }
      pbVar1 = pbVar17 + 3;
      pbVar17 = pbVar17 + 2;
      bVar2 = *pbVar1;
    }
  }
  puVar3 = PTR_FUN_001312b8;
  puVar18 = PTR_FUN_00131244;
  if (local_2c8 != 0) {
    unaff_s7 = (code *)(PTR_bb_common_bufsiz1_0013136c + 0x238);
    do {
      uVar10 = (*(code *)puVar18)(&local_2c8);
      unaff_s0 = (undefined1 *)(*(code *)puVar3)(uVar10);
      FUN_0006b074(unaff_s0,unaff_s7,PTR_DAT_001317dc,PTR_DAT_001317d8);
      (*(code *)PTR_free_00132180)(unaff_s0);
      unaff_s3 = (undefined4 *)puVar3;
      unaff_s4 = puVar18;
    } while (local_2c8 != 0);
  }
  iVar8 = FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),
                       PTR_bb_common_bufsiz1_0013136c + 0x208,0,
                       PTR_bb_common_bufsiz1_0013136c + 0x200);
  if (iVar8 != 0) {
    puVar12 = &DAT_00000001;
    goto LAB_0006654c;
  }
  unaff_s3 = (undefined4 *)0x0;
  if (((uVar6 & 1) == 0) &&
     (iVar8 = FUN_0006ace8(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x238),0x3d), iVar8 == 0
     )) {
    iVar8 = FUN_00064458(0x3d,PTR_FUN_001311a4 + -0x3208,7);
    puVar18 = PTR_bb_common_bufsiz1_0013136c;
    *(int *)(PTR_bb_common_bufsiz1_0013136c + 0x23c) = iVar8;
    *(undefined1 *)(iVar8 + 2) = 1;
    iVar8 = *(int *)(puVar18 + 0x23c);
    unaff_s3 = (undefined4 *)(iVar8 + 3);
    *unaff_s3 = *(undefined4 *)(puVar18 + 0x200);
    *(undefined *)(iVar8 + 7) = puVar18[0x204];
    *(undefined *)(iVar8 + 8) = puVar18[0x205];
  }
  if (*local_2e0 != '\0') {
    uVar10 = FUN_00064458(0x3c,local_2e0,0);
    *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x240) = uVar10;
  }
  if ((uVar6 & 0x4000) != 0) {
    (*(code *)PTR_openlog_00131d98)(*(undefined4 *)PTR_DAT_001311ac,1,0x18);
    *PTR_DAT_00131250 = *PTR_DAT_00131250 | 2;
  }
  (*(code *)PTR_FUN_001316b8)();
  (*(code *)PTR_FUN_00131440)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));
  (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2908);
  FUN_00069ff0();
  (*(code *)PTR_FUN_001312bc)();
  (*(code *)PTR_srand_00131f84)(extraout_v1);
  PTR_DAT_00131178[0x23de] = 0;
  FUN_00065590(0,PTR_FUN_001311a4 + -0x2984);
  FUN_00064d8c(2);
  puVar19 = (undefined1 *)0x0;
  local_2f0 = PTR_DAT_00131178;
  unaff_s7 = (code *)(PTR_LAB_00131738 + 0x4d8c);
  local_2e4 = PTR_FUN_001311a4;
  local_2fc = (code *)(PTR_LAB_00131738 + 0x5590);
  local_2ec = (code *)(PTR_LAB_00131738 + 0x496c);
  puVar12 = (undefined1 *)0x0;
  unaff_s0 = puVar12;
  puVar21 = puVar12;
LAB_000662f4:
  puVar20 = puVar21;
  unaff_s4 = unaff_s0;
  FUN_0006a0c0(auStack_2b0,*(undefined4 *)(local_2f0 + 0x1004));
  iVar8 = (int)puVar20 - (int)puVar19;
  unaff_s0 = unaff_s4;
  if (iVar8 < 1) {
LAB_00066418:
    puVar19 = (undefined1 *)
              FUN_0006a1c0(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),
                           PTR_bb_common_bufsiz1_0013136c + 0x208,0,
                           PTR_bb_common_bufsiz1_0013136c + 0x200);
    puVar18 = PTR_bb_common_bufsiz1_0013136c;
    if (puVar19 == (undefined1 *)0x0) {
      if (unaff_s3 != (undefined4 *)0x0) {
        *unaff_s3 = *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x200);
        *(undefined *)(unaff_s3 + 1) = puVar18[0x204];
        *(undefined *)((int)unaff_s3 + 5) = puVar18[0x205];
      }
      if ((byte)PTR_DAT_00131178[0x23de] < 6) {
                    /* WARNING: Could not recover jumptable at 0x000664a0. Too many branches */
                    /* WARNING: Treating indirect jump as call */
        puVar12 = (undefined1 *)
                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 +
                                              (uint)(byte)PTR_DAT_00131178[0x23de] * 4 + -0x2768)))
                            ();
        return puVar12;
      }
      puVar19 = (undefined1 *)0x0;
      puVar21 = (undefined1 *)0x7fffffff;
      goto LAB_000662f4;
    }
  }
  else {
    iVar11 = (*(code *)PTR_FUN_001317c0)();
    if (iVar8 < 0x20c49b) {
      iVar8 = iVar8 * 1000;
    }
    else {
      iVar8 = 0x7fffffff;
    }
    iVar8 = (*(code *)PTR_poll_00132060)(auStack_2b0,2,iVar8);
    puVar21 = puVar20;
    if (iVar8 < 0) {
      if (**(int **)PTR_DAT_001311d8 != 4) {
        iVar8 = (*(code *)PTR_FUN_001311f4)(PTR_FUN_001311a4 + -0x5488);
        goto LAB_00066410;
      }
      iVar8 = (*(code *)PTR_FUN_001317c0)();
      puVar19 = puVar19 + (iVar8 - iVar11);
      goto LAB_000662f4;
    }
LAB_00066410:
    if (iVar8 == 0) goto LAB_00066418;
    iVar8 = FUN_0006a140();
    puVar18 = PTR_bb_common_bufsiz1_0013136c;
    if (iVar8 == 0x10) {
      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;
      puVar18[0x24d] = 0;
      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2894);
      bVar2 = PTR_DAT_00131178[0x23de];
      if (bVar2 < 7) {
                    /* WARNING: Could not recover jumptable at 0x00066854. Too many branches */
                    /* WARNING: Treating indirect jump as call */
        puVar12 = (undefined1 *)
                  (*(code *)(&_gp_1 + *(int *)(PTR_FUN_001311a4 + (uint)bVar2 * 4 + -0x2750)))();
        return puVar12;
      }
      puVar19 = (undefined1 *)0x0;
      unaff_s0 = puVar12;
      puVar21 = puVar12;
      if (bVar2 == 5) {
        if ((int)puVar20 < 0x3d) {
          if (0x3b < (int)puVar20) goto LAB_0006666c;
        }
        else {
          puVar20 = (undefined1 *)0x3c;
LAB_0006666c:
          iVar8 = (*local_2ec)(local_2f8,local_2b8,uVar22);
          puVar19 = (undefined1 *)0x0;
          if (-1 < iVar8) {
            unaff_s0 = unaff_s4;
            puVar21 = (undefined1 *)((int)puVar20 >> 1);
            goto LAB_000662f4;
          }
        }
        PTR_DAT_00131178[0x23de] = 4;
        (*unaff_s7)(2);
        if ((int)puVar20 < 1) {
          (*(code *)PTR_FUN_001311d0)(local_2e4 + -0x28b4);
          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);
          PTR_DAT_00131178[0x23de] = 0;
          puVar18 = PTR_bb_common_bufsiz1_0013136c;
          PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;
          puVar18[0x24d] = 0;
          puVar19 = (undefined1 *)0x0;
          puVar21 = puVar20;
        }
        else {
          (*local_2ec)(local_2f8,0);
          puVar19 = (undefined1 *)0x0;
          unaff_s0 = unaff_s4;
          puVar21 = (undefined1 *)((int)puVar20 >> 1);
        }
      }
      goto LAB_000662f4;
    }
    if (iVar8 == 0x11) {
      FUN_00065bb0(local_2b8,uVar22);
      puVar21 = (undefined1 *)0x7fffffff;
      goto LAB_000662f4;
    }
    if (iVar8 == 0xf) {
      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x287c);
      goto LAB_00066938;
    }
    if (local_2a2 == 0) goto LAB_000662f4;
    if (PTR_DAT_00131178[0x23df] == '\x01') {
      iVar8 = FUN_00069990(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));
    }
    else {
      iVar8 = FUN_00064ae0(auStack_2a0,*(undefined4 *)(local_2f0 + 0x1004));
    }
    if (iVar8 == -1) {
      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2868);
      (*(code *)PTR_sleep_0013211c)(local_2c0);
      (*unaff_s7)((int)(char)PTR_DAT_00131178[0x23df]);
      iVar8 = (*(code *)PTR_FUN_001317c0)();
      puVar19 = puVar19 + (iVar8 - iVar11);
      goto LAB_000662f4;
    }
    iVar13 = (*(code *)PTR_FUN_001317c0)();
    puVar19 = puVar19 + (iVar13 - iVar11);
    if ((((iVar8 < 0) || (local_29c != local_2f8)) || (local_29e != '\x06')) ||
       (iVar8 = (*(code *)PTR_memcmp_0013212c)(auStack_284,PTR_bb_common_bufsiz1_0013136c + 0x200,6)
       , iVar8 != 0)) goto LAB_000662f4;
    pcVar14 = (char *)FUN_0006a9b8(auStack_2a0,0x35);
    uVar9 = local_2b8;
    if (pcVar14 == (char *)0x0) {
      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2844);
      goto LAB_000662f4;
    }
    iVar8 = (int)(char)PTR_DAT_00131178[0x23de];
    puVar20 = (undefined1 *)0x0;
    if (iVar8 != 1) {
      if (iVar8 < 2) {
        if ((iVar8 == 0) && (*pcVar14 == '\x02')) {
          local_2b8 = 0;
          puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36);
          if (puVar15 == (uint *)0x0) {
            (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x281c);
          }
          else {
            local_2b8 = *puVar15;
          }
          PTR_DAT_00131178[0x23de] = 1;
          puVar19 = (undefined1 *)0x0;
          uVar22 = local_290;
          unaff_s0 = puVar20;
          puVar21 = puVar20;
        }
        goto LAB_000662f4;
      }
      if (2 < (iVar8 - 3U & 0xff)) goto LAB_000662f4;
    }
    if (*pcVar14 != '\x05') {
      if ((*pcVar14 == '\x06') &&
         ((local_2b8 == 0 ||
          ((puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x36), puVar15 != (uint *)0x0 &&
           (local_2b4 = *puVar15, uVar9 == local_2b4)))))) {
        (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2874,PTR_FUN_001311a4 + -0x2778);
        (*local_2fc)(auStack_2a0,PTR_FUN_001311a4 + -0x276c);
        if (PTR_DAT_00131178[0x23de] != '\x01') {
          (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);
        }
        (*unaff_s7)(2);
        (*(code *)PTR_sleep_0013211c)(3);
        PTR_DAT_00131178[0x23de] = 0;
        puVar18 = PTR_bb_common_bufsiz1_0013136c;
        PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;
        puVar18[0x24d] = 0;
        puVar19 = (undefined1 *)0x0;
        uVar22 = 0;
        unaff_s0 = puVar20;
        puVar21 = puVar20;
      }
      goto LAB_000662f4;
    }
    puVar15 = (uint *)FUN_0006aac8(auStack_2a0,0x33);
    if (puVar15 == (uint *)0x0) {
      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x2800);
      local_2b4 = 0xe10;
    }
    else {
      local_2b4 = *puVar15;
      if (local_2b4 < 0x7a) {
        local_2b4 = 0x7a;
      }
    }
    if (((int)(uVar6 << 9) < 0) &&
       (iVar8 = FUN_0006a564(local_290,0,0,PTR_bb_common_bufsiz1_0013136c + 0x200,
                             *(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x22c),uVar7),
       iVar8 == 0)) {
      (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x27d4);
      FUN_00064864(local_2b8,local_290);
      if (PTR_DAT_00131178[0x23de] != '\x01') {
        (*local_2fc)(0,PTR_FUN_001311a4 + -0x2984);
      }
      (*unaff_s7)(2);
      PTR_DAT_00131178[0x23de] = 0;
      puVar18 = PTR_bb_common_bufsiz1_0013136c;
      PTR_bb_common_bufsiz1_0013136c[0x24c] = 0;
      puVar18[0x24d] = 0;
      puVar19 = (undefined1 *)0x0;
      uVar22 = 0;
      unaff_s0 = (undefined1 *)0x0;
      puVar21 = local_2c4;
      goto LAB_000662f4;
    }
    uVar10 = (*(code *)PTR_inet_ntoa_00132140)(local_290);
    uVar9 = local_2b4;
    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x279c,uVar10,local_2b4);
    uVar22 = local_290;
    iVar8 = (*(code *)PTR_FUN_001317c0)();
    if (PTR_DAT_00131178[0x23de] == '\x01') {
      puVar18 = PTR_FUN_001311a4 + -0x2978;
    }
    else {
      puVar18 = PTR_FUN_001311a4 + -0x2884;
    }
    (*local_2fc)(auStack_2a0,puVar18);
    iVar11 = (*(code *)PTR_FUN_001317c0)();
    puVar19 = (undefined1 *)(iVar11 - iVar8);
    puVar21 = (undefined1 *)(uVar9 >> 1);
    if (puVar21 < puVar19) {
      puVar19 = (undefined1 *)0x0;
      puVar21 = puVar20;
    }
    PTR_DAT_00131178[0x23de] = 2;
    (*unaff_s7)(0);
    if ((uVar6 & 0x100) == 0) {
      if ((int)(uVar6 << 0xc) < 0) {
        uVar6 = uVar6 & 0xffffffbf;
      }
      else {
        FUN_000643f4();
        uVar6 = uVar6 & 0xffd7ffbf | 0x80000;
      }
      goto LAB_000662f4;
    }
  }
LAB_00066938:
  uVar6 = uVar6 & 0x200;
  unaff_s0 = puVar19;
  if (uVar6 != 0) {
    FUN_00065bb0(local_2b8,uVar22);
  }
  while( true ) {
    if (*PTR_DAT_00131434 != '\0') {
      (*(code *)PTR_unlink_001320a8)(*(undefined4 *)(PTR_bb_common_bufsiz1_0013136c + 0x230));
    }
LAB_0006654c:
    if (local_2c == *(int *)PTR___stack_chk_guard_00132164) {
      return puVar12;
    }
    (*(code *)PTR___stack_chk_fail_001320e4)();
    if ((int)unaff_s4 < 3) {
      FUN_00064724(local_2f8,local_2b8);
      puVar19 = (undefined1 *)0x0;
      unaff_s0 = unaff_s4 + 1;
      puVar21 = local_2c0;
      goto LAB_000662f4;
    }
    (*unaff_s7)(2);
    PTR_DAT_00131178[0x23de] = 0;
    (*local_2fc)(0,PTR_FUN_001311a4 + -0x28f4);
    if ((int)(uVar6 << 10) < 0) break;
    if ((uVar6 & 0x40) == 0) goto LAB_00066624;
    (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x28c8);
    puVar12 = &DAT_00000001;
  }
  (*(code *)PTR_FUN_001311d0)(PTR_FUN_001311a4 + -0x28e8);
  FUN_000643f4();
  uVar6 = uVar6 & 0xffd7ffff | 0x80000;
LAB_00066624:
  puVar19 = (undefined1 *)0x0;
  puVar21 = local_2c4;
  goto LAB_000662f4;
}

